Skip to main content

Scaleway Serverless Containers

@sntxrr/scaleway-serverless-containersv2026.07.19.1· 6d agoMODELS
01README

Manage a Scaleway Serverless Container — sync state, create, update, delete, and redeploy a container, and discover containers and namespaces in a region, via the Serverless Containers API with X-Auth-Token auth.

02Models1
@sntxrr/scaleway-serverless-containersv2026.07.19.1scaleway_serverless_containers.ts

Global Arguments

ArgumentTypeDescription
secretKeystringScaleway API secret key. Wire with ${{ vault.get(scaleway, SCW_SECRET_KEY) }}.
projectIdstringScaleway Project ID that owns the container and namespaces.
regionstringRegion, e.g. fr-par, nl-ams, pl-waw.
containerId?stringID of the Serverless Container this model manages. Optional — `create`
namespaceId?stringNamespace ID that owns the container. Required for create; optional list filter.
endpoint?stringOverride the API host. Defaults to https://api.scaleway.com.
fn sync()
Fetch the container's current state (GetContainer).
fn create(name: string, registryImage?: string, port?: number, minScale?: number, maxScale?: number, memoryLimit?: number, cpuLimit?: number, privacy?: string, environmentVariables?: record, description?: string)
Provision a new container in a namespace (CreateContainer) and snapshot it.
ArgumentTypeDescription
namestringName of the new container.
registryImage?stringRegistry image reference to run, e.g. rg.fr-par.scw.cloud/ns/app:latest.
port?numberPort the container listens on. Optional; API default applies.
minScale?numberMinimum number of container instances. Optional.
maxScale?numberMaximum number of container instances. Optional.
memoryLimit?numberMemory limit in MB. Optional; API default applies.
cpuLimit?numberCPU limit in mvCPU. Optional; API default applies.
privacy?stringPrivacy setting: public or private. Optional; API default applies.
environmentVariables?recordNon-secret environment variables to inject into the container.
description?stringHuman-readable description of the container.
fn update(registryImage?: string, port?: number, minScale?: number, maxScale?: number, memoryLimit?: number, cpuLimit?: number, privacy?: string, environmentVariables?: record, description?: string)
Mutate a container's mutable fields (UpdateContainer).
ArgumentTypeDescription
registryImage?stringNew registry image reference to run.
port?numberNew listen port.
minScale?numberNew minimum instance count.
maxScale?numberNew maximum instance count.
memoryLimit?numberNew memory limit in MB.
cpuLimit?numberNew CPU limit in mvCPU.
privacy?stringNew privacy setting.
environmentVariables?recordReplacement set of non-secret environment variables.
description?stringNew description.
fn delete()
Deprovision the container (DeleteContainer).
fn action()
Redeploy the container so configuration changes take effect (RedeployContainer).
fn list()
Discover all containers in the region (factory).

Resources

container(infinite)— Snapshot of the Serverless Container's state
namespace(infinite)— Snapshot of a Serverless Containers namespace's state
03Previous Versions1
2026.07.18.1
04Stats
A
100 / 100
Downloads
0
Archive size
13.3 KB
  • Has README or module doc2/2earned
  • README has a code example1/1earned
  • README is substantive1/1earned
  • Most symbols documented1/1earned
  • No slow types (deprecated)1/1earned
  • Dependencies pass trust audit2/2earned
  • Has description1/1earned
  • Platform support declared (or universal)2/2earned
  • License declared1/1earned
  • Verified public repository2/2earned
05Platforms
06Labels