published on Thursday, May 14, 2026 by pulumiverse
published on Thursday, May 14, 2026 by pulumiverse
The scaleway.containers.Container data source is used to retrieve information about a Serverless Container.
Refer to the Serverless Containers product documentation and API documentation for more information.
For more information on the limitations of Serverless Containers, refer to the dedicated documentation.
Retrieve a Serverless Container
The following commands allow you to:
- retrieve a container by its name
- retrieve a container by its ID
import * as pulumi from "@pulumi/pulumi";
import * as scaleway from "@pulumiverse/scaleway";
const main = new scaleway.containers.Namespace("main", {});
const mainContainer = new scaleway.containers.Container("main", {
name: "test-container-data",
namespaceId: main.id,
});
// Get info by container name
const byName = scaleway.containers.getContainerOutput({
namespaceId: main.id,
name: mainContainer.name,
});
// Get info by container ID
const byId = scaleway.containers.getContainerOutput({
namespaceId: main.id,
containerId: mainContainer.id,
});
import pulumi
import pulumi_scaleway as scaleway
import pulumiverse_scaleway as scaleway
main = scaleway.containers.Namespace("main")
main_container = scaleway.containers.Container("main",
name="test-container-data",
namespace_id=main.id)
# Get info by container name
by_name = scaleway.containers.get_container_output(namespace_id=main.id,
name=main_container.name)
# Get info by container ID
by_id = scaleway.containers.get_container_output(namespace_id=main.id,
container_id=main_container.id)
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway/containers"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
main, err := containers.NewNamespace(ctx, "main", nil)
if err != nil {
return err
}
mainContainer, err := containers.NewContainer(ctx, "main", &containers.ContainerArgs{
Name: pulumi.String("test-container-data"),
NamespaceId: main.ID(),
})
if err != nil {
return err
}
// Get info by container name
_ = containers.LookupContainerOutput(ctx, containers.GetContainerOutputArgs{
NamespaceId: main.ID(),
Name: mainContainer.Name,
}, nil)
// Get info by container ID
_ = containers.LookupContainerOutput(ctx, containers.GetContainerOutputArgs{
NamespaceId: main.ID(),
ContainerId: mainContainer.ID(),
}, nil)
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Scaleway = Pulumiverse.Scaleway;
return await Deployment.RunAsync(() =>
{
var main = new Scaleway.Containers.Namespace("main");
var mainContainer = new Scaleway.Containers.Container("main", new()
{
Name = "test-container-data",
NamespaceId = main.Id,
});
// Get info by container name
var byName = Scaleway.Containers.GetContainer.Invoke(new()
{
NamespaceId = main.Id,
Name = mainContainer.Name,
});
// Get info by container ID
var byId = Scaleway.Containers.GetContainer.Invoke(new()
{
NamespaceId = main.Id,
ContainerId = mainContainer.Id,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.scaleway.containers.Namespace;
import com.pulumi.scaleway.containers.Container;
import com.pulumi.scaleway.containers.ContainerArgs;
import com.pulumi.scaleway.containers.ContainersFunctions;
import com.pulumi.scaleway.containers.inputs.GetContainerArgs;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var main = new Namespace("main");
var mainContainer = new Container("mainContainer", ContainerArgs.builder()
.name("test-container-data")
.namespaceId(main.id())
.build());
// Get info by container name
final var byName = ContainersFunctions.getContainer(GetContainerArgs.builder()
.namespaceId(main.id())
.name(mainContainer.name())
.build());
// Get info by container ID
final var byId = ContainersFunctions.getContainer(GetContainerArgs.builder()
.namespaceId(main.id())
.containerId(mainContainer.id())
.build());
}
}
resources:
main:
type: scaleway:containers:Namespace
mainContainer:
type: scaleway:containers:Container
name: main
properties:
name: test-container-data
namespaceId: ${main.id}
variables:
# Get info by container name
byName:
fn::invoke:
function: scaleway:containers:getContainer
arguments:
namespaceId: ${main.id}
name: ${mainContainer.name}
# Get info by container ID
byId:
fn::invoke:
function: scaleway:containers:getContainer
arguments:
namespaceId: ${main.id}
containerId: ${mainContainer.id}
Example coming soon!
Arguments reference
This section lists the arguments that you can provide to the scaleway.containers.Container data source to filter and retrieve the desired namespace. Each argument has a specific purpose:
name- (Required) The unique name of the container.namespaceId- (Required) The container namespace ID of the container.projectId- (Optional) The unique identifier of the project with which the container is associated.
Important Updating the
nameargument will recreate the container.
Using getContainer
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getContainer(args: GetContainerArgs, opts?: InvokeOptions): Promise<GetContainerResult>
function getContainerOutput(args: GetContainerOutputArgs, opts?: InvokeOptions): Output<GetContainerResult>def get_container(container_id: Optional[str] = None,
name: Optional[str] = None,
namespace_id: Optional[str] = None,
project_id: Optional[str] = None,
region: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetContainerResult
def get_container_output(container_id: pulumi.Input[Optional[str]] = None,
name: pulumi.Input[Optional[str]] = None,
namespace_id: pulumi.Input[Optional[str]] = None,
project_id: pulumi.Input[Optional[str]] = None,
region: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetContainerResult]func LookupContainer(ctx *Context, args *LookupContainerArgs, opts ...InvokeOption) (*LookupContainerResult, error)
func LookupContainerOutput(ctx *Context, args *LookupContainerOutputArgs, opts ...InvokeOption) LookupContainerResultOutput> Note: This function is named LookupContainer in the Go SDK.
public static class GetContainer
{
public static Task<GetContainerResult> InvokeAsync(GetContainerArgs args, InvokeOptions? opts = null)
public static Output<GetContainerResult> Invoke(GetContainerInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetContainerResult> getContainer(GetContainerArgs args, InvokeOptions options)
public static Output<GetContainerResult> getContainer(GetContainerArgs args, InvokeOptions options)
fn::invoke:
function: scaleway:index/getContainer:getContainer
arguments:
# arguments dictionarydata "scaleway_getcontainer" "name" {
# arguments
}The following arguments are supported:
- Namespace
Id string - Container
Id string - Name string
- Project
Id string - Region string
- (Defaults to provider
region) The region in which the container was created.
- Namespace
Id string - Container
Id string - Name string
- Project
Id string - Region string
- (Defaults to provider
region) The region in which the container was created.
- namespace_
id string - container_
id string - name string
- project_
id string - region string
- (Defaults to provider
region) The region in which the container was created.
- namespace
Id String - container
Id String - name String
- project
Id String - region String
- (Defaults to provider
region) The region in which the container was created.
- namespace
Id string - container
Id string - name string
- project
Id string - region string
- (Defaults to provider
region) The region in which the container was created.
- namespace_
id str - container_
id str - name str
- project_
id str - region str
- (Defaults to provider
region) The region in which the container was created.
- namespace
Id String - container
Id String - name String
- project
Id String - region String
- (Defaults to provider
region) The region in which the container was created.
getContainer Result
The following output properties are available:
- Args List<string>
- Arguments passed to the command specified in the "command" field. These override the default arguments from the container image, and behave like command-line parameters.
- Commands List<string>
- Command executed when the container starts. This overrides the default command defined in the container image. This is usually the main executable, or entry point script to run.
- Cpu
Limit int - The amount of vCPU computing resources to allocate to each container.
- Cron
Status string - The cron status of the container.
- Deploy bool
- Description string
- The description of the container.
- Domain
Name string - The native domain name of the container
- Environment
Variables Dictionary<string, string> - The environment variables of the container.
- Error
Message string - The error message of the container.
- Health
Checks List<Pulumiverse.Scaleway. Outputs. Get Container Health Check> - (Deprecated) Health check configuration block of the container.
- Http
Option string - (Deprecated) Allows both HTTP and HTTPS (
enabled) or redirect HTTP to HTTPS (redirected). Defaults toenabled. - Https
Connections boolOnly - Allows both HTTP and HTTPS (
false) or redirect HTTP to HTTPS (true). Defaults tofalse. - Id string
- The provider-assigned unique ID for this managed resource.
- Image string
- The image address (e.g.,
rg.fr-par.scw.cloud/$NAMESPACE/$IMAGE) - Liveness
Probes List<Pulumiverse.Scaleway. Outputs. Get Container Liveness Probe> - Defines how to check if the container is running.
- Local
Storage intLimit - (Deprecated) Local storage limit of the container (in MB)
- Local
Storage intLimit Bytes - Local storage limit of the container (in bytes).
- Max
Scale int - The maximum number of instances this container can scale to.
- Memory
Limit int - (Deprecated) The memory resources in MB to allocate to each container.
- Memory
Limit intBytes - The memory resources in bytes to allocate to each container.
- Min
Scale int - The minimum number of container instances running continuously.
- Namespace
Id string - Port int
- The port to expose the container.
- Privacy string
- The privacy type defines the way to authenticate to your container. Please check our dedicated section.
- Private
Network stringId - The ID of the Private Network the container is connected to.
- Protocol string
- The communication protocol
http1orh2c. Defaults tohttp1. - Public
Endpoint string - The native domain name of the container
- Registry
Image string - (Deprecated) The registry image address (e.g.,
rg.fr-par.scw.cloud/$NAMESPACE/$IMAGE) - Registry
Sha256 string - Sandbox string
- Execution environment of the container.
- Scaling
Options List<Pulumiverse.Scaleway. Outputs. Get Container Scaling Option> - Configuration block used to decide when to scale up or down. Possible values:
- Secret
Environment Dictionary<string, string>Variables - The secret environment variables of the container.
- Startup
Probes List<Pulumiverse.Scaleway. Outputs. Get Container Startup Probe> - Status string
- The container status.
- List<string>
- The list of tags associated with the container.
- Timeout int
- The maximum amount of time in seconds your container can spend processing a request before being stopped. Default to
300seconds. - Container
Id string - Name string
- Project
Id string - Region string
- (Defaults to provider
region) The region in which the container was created.
- Args []string
- Arguments passed to the command specified in the "command" field. These override the default arguments from the container image, and behave like command-line parameters.
- Commands []string
- Command executed when the container starts. This overrides the default command defined in the container image. This is usually the main executable, or entry point script to run.
- Cpu
Limit int - The amount of vCPU computing resources to allocate to each container.
- Cron
Status string - The cron status of the container.
- Deploy bool
- Description string
- The description of the container.
- Domain
Name string - The native domain name of the container
- Environment
Variables map[string]string - The environment variables of the container.
- Error
Message string - The error message of the container.
- Health
Checks []GetContainer Health Check - (Deprecated) Health check configuration block of the container.
- Http
Option string - (Deprecated) Allows both HTTP and HTTPS (
enabled) or redirect HTTP to HTTPS (redirected). Defaults toenabled. - Https
Connections boolOnly - Allows both HTTP and HTTPS (
false) or redirect HTTP to HTTPS (true). Defaults tofalse. - Id string
- The provider-assigned unique ID for this managed resource.
- Image string
- The image address (e.g.,
rg.fr-par.scw.cloud/$NAMESPACE/$IMAGE) - Liveness
Probes []GetContainer Liveness Probe - Defines how to check if the container is running.
- Local
Storage intLimit - (Deprecated) Local storage limit of the container (in MB)
- Local
Storage intLimit Bytes - Local storage limit of the container (in bytes).
- Max
Scale int - The maximum number of instances this container can scale to.
- Memory
Limit int - (Deprecated) The memory resources in MB to allocate to each container.
- Memory
Limit intBytes - The memory resources in bytes to allocate to each container.
- Min
Scale int - The minimum number of container instances running continuously.
- Namespace
Id string - Port int
- The port to expose the container.
- Privacy string
- The privacy type defines the way to authenticate to your container. Please check our dedicated section.
- Private
Network stringId - The ID of the Private Network the container is connected to.
- Protocol string
- The communication protocol
http1orh2c. Defaults tohttp1. - Public
Endpoint string - The native domain name of the container
- Registry
Image string - (Deprecated) The registry image address (e.g.,
rg.fr-par.scw.cloud/$NAMESPACE/$IMAGE) - Registry
Sha256 string - Sandbox string
- Execution environment of the container.
- Scaling
Options []GetContainer Scaling Option - Configuration block used to decide when to scale up or down. Possible values:
- Secret
Environment map[string]stringVariables - The secret environment variables of the container.
- Startup
Probes []GetContainer Startup Probe - Status string
- The container status.
- []string
- The list of tags associated with the container.
- Timeout int
- The maximum amount of time in seconds your container can spend processing a request before being stopped. Default to
300seconds. - Container
Id string - Name string
- Project
Id string - Region string
- (Defaults to provider
region) The region in which the container was created.
- args list(string)
- Arguments passed to the command specified in the "command" field. These override the default arguments from the container image, and behave like command-line parameters.
- commands list(string)
- Command executed when the container starts. This overrides the default command defined in the container image. This is usually the main executable, or entry point script to run.
- cpu_
limit number - The amount of vCPU computing resources to allocate to each container.
- cron_
status string - The cron status of the container.
- deploy bool
- description string
- The description of the container.
- domain_
name string - The native domain name of the container
- environment_
variables map(string) - The environment variables of the container.
- error_
message string - The error message of the container.
- health_
checks list(object) - (Deprecated) Health check configuration block of the container.
- http_
option string - (Deprecated) Allows both HTTP and HTTPS (
enabled) or redirect HTTP to HTTPS (redirected). Defaults toenabled. - https_
connections_ boolonly - Allows both HTTP and HTTPS (
false) or redirect HTTP to HTTPS (true). Defaults tofalse. - id string
- The provider-assigned unique ID for this managed resource.
- image string
- The image address (e.g.,
rg.fr-par.scw.cloud/$NAMESPACE/$IMAGE) - liveness_
probes list(object) - Defines how to check if the container is running.
- local_
storage_ numberlimit - (Deprecated) Local storage limit of the container (in MB)
- local_
storage_ numberlimit_ bytes - Local storage limit of the container (in bytes).
- max_
scale number - The maximum number of instances this container can scale to.
- memory_
limit number - (Deprecated) The memory resources in MB to allocate to each container.
- memory_
limit_ numberbytes - The memory resources in bytes to allocate to each container.
- min_
scale number - The minimum number of container instances running continuously.
- namespace_
id string - port number
- The port to expose the container.
- privacy string
- The privacy type defines the way to authenticate to your container. Please check our dedicated section.
- private_
network_ stringid - The ID of the Private Network the container is connected to.
- protocol string
- The communication protocol
http1orh2c. Defaults tohttp1. - public_
endpoint string - The native domain name of the container
- registry_
image string - (Deprecated) The registry image address (e.g.,
rg.fr-par.scw.cloud/$NAMESPACE/$IMAGE) - registry_
sha256 string - sandbox string
- Execution environment of the container.
- scaling_
options list(object) - Configuration block used to decide when to scale up or down. Possible values:
- secret_
environment_ map(string)variables - The secret environment variables of the container.
- startup_
probes list(object) - status string
- The container status.
- list(string)
- The list of tags associated with the container.
- timeout number
- The maximum amount of time in seconds your container can spend processing a request before being stopped. Default to
300seconds. - container_
id string - name string
- project_
id string - region string
- (Defaults to provider
region) The region in which the container was created.
- args List<String>
- Arguments passed to the command specified in the "command" field. These override the default arguments from the container image, and behave like command-line parameters.
- commands List<String>
- Command executed when the container starts. This overrides the default command defined in the container image. This is usually the main executable, or entry point script to run.
- cpu
Limit Integer - The amount of vCPU computing resources to allocate to each container.
- cron
Status String - The cron status of the container.
- deploy Boolean
- description String
- The description of the container.
- domain
Name String - The native domain name of the container
- environment
Variables Map<String,String> - The environment variables of the container.
- error
Message String - The error message of the container.
- health
Checks List<GetContainer Health Check> - (Deprecated) Health check configuration block of the container.
- http
Option String - (Deprecated) Allows both HTTP and HTTPS (
enabled) or redirect HTTP to HTTPS (redirected). Defaults toenabled. - https
Connections BooleanOnly - Allows both HTTP and HTTPS (
false) or redirect HTTP to HTTPS (true). Defaults tofalse. - id String
- The provider-assigned unique ID for this managed resource.
- image String
- The image address (e.g.,
rg.fr-par.scw.cloud/$NAMESPACE/$IMAGE) - liveness
Probes List<GetContainer Liveness Probe> - Defines how to check if the container is running.
- local
Storage IntegerLimit - (Deprecated) Local storage limit of the container (in MB)
- local
Storage IntegerLimit Bytes - Local storage limit of the container (in bytes).
- max
Scale Integer - The maximum number of instances this container can scale to.
- memory
Limit Integer - (Deprecated) The memory resources in MB to allocate to each container.
- memory
Limit IntegerBytes - The memory resources in bytes to allocate to each container.
- min
Scale Integer - The minimum number of container instances running continuously.
- namespace
Id String - port Integer
- The port to expose the container.
- privacy String
- The privacy type defines the way to authenticate to your container. Please check our dedicated section.
- private
Network StringId - The ID of the Private Network the container is connected to.
- protocol String
- The communication protocol
http1orh2c. Defaults tohttp1. - public
Endpoint String - The native domain name of the container
- registry
Image String - (Deprecated) The registry image address (e.g.,
rg.fr-par.scw.cloud/$NAMESPACE/$IMAGE) - registry
Sha256 String - sandbox String
- Execution environment of the container.
- scaling
Options List<GetContainer Scaling Option> - Configuration block used to decide when to scale up or down. Possible values:
- secret
Environment Map<String,String>Variables - The secret environment variables of the container.
- startup
Probes List<GetContainer Startup Probe> - status String
- The container status.
- List<String>
- The list of tags associated with the container.
- timeout Integer
- The maximum amount of time in seconds your container can spend processing a request before being stopped. Default to
300seconds. - container
Id String - name String
- project
Id String - region String
- (Defaults to provider
region) The region in which the container was created.
- args string[]
- Arguments passed to the command specified in the "command" field. These override the default arguments from the container image, and behave like command-line parameters.
- commands string[]
- Command executed when the container starts. This overrides the default command defined in the container image. This is usually the main executable, or entry point script to run.
- cpu
Limit number - The amount of vCPU computing resources to allocate to each container.
- cron
Status string - The cron status of the container.
- deploy boolean
- description string
- The description of the container.
- domain
Name string - The native domain name of the container
- environment
Variables {[key: string]: string} - The environment variables of the container.
- error
Message string - The error message of the container.
- health
Checks GetContainer Health Check[] - (Deprecated) Health check configuration block of the container.
- http
Option string - (Deprecated) Allows both HTTP and HTTPS (
enabled) or redirect HTTP to HTTPS (redirected). Defaults toenabled. - https
Connections booleanOnly - Allows both HTTP and HTTPS (
false) or redirect HTTP to HTTPS (true). Defaults tofalse. - id string
- The provider-assigned unique ID for this managed resource.
- image string
- The image address (e.g.,
rg.fr-par.scw.cloud/$NAMESPACE/$IMAGE) - liveness
Probes GetContainer Liveness Probe[] - Defines how to check if the container is running.
- local
Storage numberLimit - (Deprecated) Local storage limit of the container (in MB)
- local
Storage numberLimit Bytes - Local storage limit of the container (in bytes).
- max
Scale number - The maximum number of instances this container can scale to.
- memory
Limit number - (Deprecated) The memory resources in MB to allocate to each container.
- memory
Limit numberBytes - The memory resources in bytes to allocate to each container.
- min
Scale number - The minimum number of container instances running continuously.
- namespace
Id string - port number
- The port to expose the container.
- privacy string
- The privacy type defines the way to authenticate to your container. Please check our dedicated section.
- private
Network stringId - The ID of the Private Network the container is connected to.
- protocol string
- The communication protocol
http1orh2c. Defaults tohttp1. - public
Endpoint string - The native domain name of the container
- registry
Image string - (Deprecated) The registry image address (e.g.,
rg.fr-par.scw.cloud/$NAMESPACE/$IMAGE) - registry
Sha256 string - sandbox string
- Execution environment of the container.
- scaling
Options GetContainer Scaling Option[] - Configuration block used to decide when to scale up or down. Possible values:
- secret
Environment {[key: string]: string}Variables - The secret environment variables of the container.
- startup
Probes GetContainer Startup Probe[] - status string
- The container status.
- string[]
- The list of tags associated with the container.
- timeout number
- The maximum amount of time in seconds your container can spend processing a request before being stopped. Default to
300seconds. - container
Id string - name string
- project
Id string - region string
- (Defaults to provider
region) The region in which the container was created.
- args Sequence[str]
- Arguments passed to the command specified in the "command" field. These override the default arguments from the container image, and behave like command-line parameters.
- commands Sequence[str]
- Command executed when the container starts. This overrides the default command defined in the container image. This is usually the main executable, or entry point script to run.
- cpu_
limit int - The amount of vCPU computing resources to allocate to each container.
- cron_
status str - The cron status of the container.
- deploy bool
- description str
- The description of the container.
- domain_
name str - The native domain name of the container
- environment_
variables Mapping[str, str] - The environment variables of the container.
- error_
message str - The error message of the container.
- health_
checks Sequence[GetContainer Health Check] - (Deprecated) Health check configuration block of the container.
- http_
option str - (Deprecated) Allows both HTTP and HTTPS (
enabled) or redirect HTTP to HTTPS (redirected). Defaults toenabled. - https_
connections_ boolonly - Allows both HTTP and HTTPS (
false) or redirect HTTP to HTTPS (true). Defaults tofalse. - id str
- The provider-assigned unique ID for this managed resource.
- image str
- The image address (e.g.,
rg.fr-par.scw.cloud/$NAMESPACE/$IMAGE) - liveness_
probes Sequence[GetContainer Liveness Probe] - Defines how to check if the container is running.
- local_
storage_ intlimit - (Deprecated) Local storage limit of the container (in MB)
- local_
storage_ intlimit_ bytes - Local storage limit of the container (in bytes).
- max_
scale int - The maximum number of instances this container can scale to.
- memory_
limit int - (Deprecated) The memory resources in MB to allocate to each container.
- memory_
limit_ intbytes - The memory resources in bytes to allocate to each container.
- min_
scale int - The minimum number of container instances running continuously.
- namespace_
id str - port int
- The port to expose the container.
- privacy str
- The privacy type defines the way to authenticate to your container. Please check our dedicated section.
- private_
network_ strid - The ID of the Private Network the container is connected to.
- protocol str
- The communication protocol
http1orh2c. Defaults tohttp1. - public_
endpoint str - The native domain name of the container
- registry_
image str - (Deprecated) The registry image address (e.g.,
rg.fr-par.scw.cloud/$NAMESPACE/$IMAGE) - registry_
sha256 str - sandbox str
- Execution environment of the container.
- scaling_
options Sequence[GetContainer Scaling Option] - Configuration block used to decide when to scale up or down. Possible values:
- secret_
environment_ Mapping[str, str]variables - The secret environment variables of the container.
- startup_
probes Sequence[GetContainer Startup Probe] - status str
- The container status.
- Sequence[str]
- The list of tags associated with the container.
- timeout int
- The maximum amount of time in seconds your container can spend processing a request before being stopped. Default to
300seconds. - container_
id str - name str
- project_
id str - region str
- (Defaults to provider
region) The region in which the container was created.
- args List<String>
- Arguments passed to the command specified in the "command" field. These override the default arguments from the container image, and behave like command-line parameters.
- commands List<String>
- Command executed when the container starts. This overrides the default command defined in the container image. This is usually the main executable, or entry point script to run.
- cpu
Limit Number - The amount of vCPU computing resources to allocate to each container.
- cron
Status String - The cron status of the container.
- deploy Boolean
- description String
- The description of the container.
- domain
Name String - The native domain name of the container
- environment
Variables Map<String> - The environment variables of the container.
- error
Message String - The error message of the container.
- health
Checks List<Property Map> - (Deprecated) Health check configuration block of the container.
- http
Option String - (Deprecated) Allows both HTTP and HTTPS (
enabled) or redirect HTTP to HTTPS (redirected). Defaults toenabled. - https
Connections BooleanOnly - Allows both HTTP and HTTPS (
false) or redirect HTTP to HTTPS (true). Defaults tofalse. - id String
- The provider-assigned unique ID for this managed resource.
- image String
- The image address (e.g.,
rg.fr-par.scw.cloud/$NAMESPACE/$IMAGE) - liveness
Probes List<Property Map> - Defines how to check if the container is running.
- local
Storage NumberLimit - (Deprecated) Local storage limit of the container (in MB)
- local
Storage NumberLimit Bytes - Local storage limit of the container (in bytes).
- max
Scale Number - The maximum number of instances this container can scale to.
- memory
Limit Number - (Deprecated) The memory resources in MB to allocate to each container.
- memory
Limit NumberBytes - The memory resources in bytes to allocate to each container.
- min
Scale Number - The minimum number of container instances running continuously.
- namespace
Id String - port Number
- The port to expose the container.
- privacy String
- The privacy type defines the way to authenticate to your container. Please check our dedicated section.
- private
Network StringId - The ID of the Private Network the container is connected to.
- protocol String
- The communication protocol
http1orh2c. Defaults tohttp1. - public
Endpoint String - The native domain name of the container
- registry
Image String - (Deprecated) The registry image address (e.g.,
rg.fr-par.scw.cloud/$NAMESPACE/$IMAGE) - registry
Sha256 String - sandbox String
- Execution environment of the container.
- scaling
Options List<Property Map> - Configuration block used to decide when to scale up or down. Possible values:
- secret
Environment Map<String>Variables - The secret environment variables of the container.
- startup
Probes List<Property Map> - status String
- The container status.
- List<String>
- The list of tags associated with the container.
- timeout Number
- The maximum amount of time in seconds your container can spend processing a request before being stopped. Default to
300seconds. - container
Id String - name String
- project
Id String - region String
- (Defaults to provider
region) The region in which the container was created.
Supporting Types
GetContainerHealthCheck
- Failure
Threshold int - Number of consecutive failures before considering the container has to be restarted.
- Https
List<Pulumiverse.
Scaleway. Inputs. Get Container Health Check Http> - Perform HTTP check on the container with the specified path.
- Interval string
- Time interval between checks (in duration notation, e.g. "30s").
- Tcp bool
- When set to
true, performs TCP checks on the container.
- Failure
Threshold int - Number of consecutive failures before considering the container has to be restarted.
- Https
[]Get
Container Health Check Http - Perform HTTP check on the container with the specified path.
- Interval string
- Time interval between checks (in duration notation, e.g. "30s").
- Tcp bool
- When set to
true, performs TCP checks on the container.
- failure_
threshold number - Number of consecutive failures before considering the container has to be restarted.
- https list(object)
- Perform HTTP check on the container with the specified path.
- interval string
- Time interval between checks (in duration notation, e.g. "30s").
- tcp bool
- When set to
true, performs TCP checks on the container.
- failure
Threshold Integer - Number of consecutive failures before considering the container has to be restarted.
- https
List<Get
Container Health Check Http> - Perform HTTP check on the container with the specified path.
- interval String
- Time interval between checks (in duration notation, e.g. "30s").
- tcp Boolean
- When set to
true, performs TCP checks on the container.
- failure
Threshold number - Number of consecutive failures before considering the container has to be restarted.
- https
Get
Container Health Check Http[] - Perform HTTP check on the container with the specified path.
- interval string
- Time interval between checks (in duration notation, e.g. "30s").
- tcp boolean
- When set to
true, performs TCP checks on the container.
- failure_
threshold int - Number of consecutive failures before considering the container has to be restarted.
- https
Sequence[Get
Container Health Check Http] - Perform HTTP check on the container with the specified path.
- interval str
- Time interval between checks (in duration notation, e.g. "30s").
- tcp bool
- When set to
true, performs TCP checks on the container.
- failure
Threshold Number - Number of consecutive failures before considering the container has to be restarted.
- https List<Property Map>
- Perform HTTP check on the container with the specified path.
- interval String
- Time interval between checks (in duration notation, e.g. "30s").
- tcp Boolean
- When set to
true, performs TCP checks on the container.
GetContainerHealthCheckHttp
- Path string
- Path to use for the HTTP health check.
- Path string
- Path to use for the HTTP health check.
- path string
- Path to use for the HTTP health check.
- path String
- Path to use for the HTTP health check.
- path string
- Path to use for the HTTP health check.
- path str
- Path to use for the HTTP health check.
- path String
- Path to use for the HTTP health check.
GetContainerLivenessProbe
- Failure
Threshold int - Number of consecutive failures before considering the container has to be restarted.
- Https
List<Pulumiverse.
Scaleway. Inputs. Get Container Liveness Probe Http> - Perform HTTP check on the container with the specified path.
- Interval string
- Time interval between checks (in duration notation, e.g. "30s").
- Tcp bool
- When set to
true, performs TCP checks on the container. - Timeout string
- The maximum amount of time in seconds your container can spend processing a request before being stopped. Default to
300seconds.
- Failure
Threshold int - Number of consecutive failures before considering the container has to be restarted.
- Https
[]Get
Container Liveness Probe Http - Perform HTTP check on the container with the specified path.
- Interval string
- Time interval between checks (in duration notation, e.g. "30s").
- Tcp bool
- When set to
true, performs TCP checks on the container. - Timeout string
- The maximum amount of time in seconds your container can spend processing a request before being stopped. Default to
300seconds.
- failure_
threshold number - Number of consecutive failures before considering the container has to be restarted.
- https list(object)
- Perform HTTP check on the container with the specified path.
- interval string
- Time interval between checks (in duration notation, e.g. "30s").
- tcp bool
- When set to
true, performs TCP checks on the container. - timeout string
- The maximum amount of time in seconds your container can spend processing a request before being stopped. Default to
300seconds.
- failure
Threshold Integer - Number of consecutive failures before considering the container has to be restarted.
- https
List<Get
Container Liveness Probe Http> - Perform HTTP check on the container with the specified path.
- interval String
- Time interval between checks (in duration notation, e.g. "30s").
- tcp Boolean
- When set to
true, performs TCP checks on the container. - timeout String
- The maximum amount of time in seconds your container can spend processing a request before being stopped. Default to
300seconds.
- failure
Threshold number - Number of consecutive failures before considering the container has to be restarted.
- https
Get
Container Liveness Probe Http[] - Perform HTTP check on the container with the specified path.
- interval string
- Time interval between checks (in duration notation, e.g. "30s").
- tcp boolean
- When set to
true, performs TCP checks on the container. - timeout string
- The maximum amount of time in seconds your container can spend processing a request before being stopped. Default to
300seconds.
- failure_
threshold int - Number of consecutive failures before considering the container has to be restarted.
- https
Sequence[Get
Container Liveness Probe Http] - Perform HTTP check on the container with the specified path.
- interval str
- Time interval between checks (in duration notation, e.g. "30s").
- tcp bool
- When set to
true, performs TCP checks on the container. - timeout str
- The maximum amount of time in seconds your container can spend processing a request before being stopped. Default to
300seconds.
- failure
Threshold Number - Number of consecutive failures before considering the container has to be restarted.
- https List<Property Map>
- Perform HTTP check on the container with the specified path.
- interval String
- Time interval between checks (in duration notation, e.g. "30s").
- tcp Boolean
- When set to
true, performs TCP checks on the container. - timeout String
- The maximum amount of time in seconds your container can spend processing a request before being stopped. Default to
300seconds.
GetContainerLivenessProbeHttp
- Path string
- Path to use for the HTTP health check.
- Path string
- Path to use for the HTTP health check.
- path string
- Path to use for the HTTP health check.
- path String
- Path to use for the HTTP health check.
- path string
- Path to use for the HTTP health check.
- path str
- Path to use for the HTTP health check.
- path String
- Path to use for the HTTP health check.
GetContainerScalingOption
- Concurrent
Requests intThreshold - Scale depending on the number of concurrent requests being processed per container instance.
- Cpu
Usage intThreshold - Scale depending on the CPU usage of a container instance.
- Memory
Usage intThreshold - Scale depending on the memory usage of a container instance.
- Concurrent
Requests intThreshold - Scale depending on the number of concurrent requests being processed per container instance.
- Cpu
Usage intThreshold - Scale depending on the CPU usage of a container instance.
- Memory
Usage intThreshold - Scale depending on the memory usage of a container instance.
- concurrent_
requests_ numberthreshold - Scale depending on the number of concurrent requests being processed per container instance.
- cpu_
usage_ numberthreshold - Scale depending on the CPU usage of a container instance.
- memory_
usage_ numberthreshold - Scale depending on the memory usage of a container instance.
- concurrent
Requests IntegerThreshold - Scale depending on the number of concurrent requests being processed per container instance.
- cpu
Usage IntegerThreshold - Scale depending on the CPU usage of a container instance.
- memory
Usage IntegerThreshold - Scale depending on the memory usage of a container instance.
- concurrent
Requests numberThreshold - Scale depending on the number of concurrent requests being processed per container instance.
- cpu
Usage numberThreshold - Scale depending on the CPU usage of a container instance.
- memory
Usage numberThreshold - Scale depending on the memory usage of a container instance.
- concurrent_
requests_ intthreshold - Scale depending on the number of concurrent requests being processed per container instance.
- cpu_
usage_ intthreshold - Scale depending on the CPU usage of a container instance.
- memory_
usage_ intthreshold - Scale depending on the memory usage of a container instance.
- concurrent
Requests NumberThreshold - Scale depending on the number of concurrent requests being processed per container instance.
- cpu
Usage NumberThreshold - Scale depending on the CPU usage of a container instance.
- memory
Usage NumberThreshold - Scale depending on the memory usage of a container instance.
GetContainerStartupProbe
- Failure
Threshold int - Number of consecutive failures before considering the container has to be restarted.
- Https
List<Pulumiverse.
Scaleway. Inputs. Get Container Startup Probe Http> - Perform HTTP check on the container with the specified path.
- Interval string
- Time interval between checks (in duration notation, e.g. "30s").
- Tcp bool
- When set to
true, performs TCP checks on the container. - Timeout string
- The maximum amount of time in seconds your container can spend processing a request before being stopped. Default to
300seconds.
- Failure
Threshold int - Number of consecutive failures before considering the container has to be restarted.
- Https
[]Get
Container Startup Probe Http - Perform HTTP check on the container with the specified path.
- Interval string
- Time interval between checks (in duration notation, e.g. "30s").
- Tcp bool
- When set to
true, performs TCP checks on the container. - Timeout string
- The maximum amount of time in seconds your container can spend processing a request before being stopped. Default to
300seconds.
- failure_
threshold number - Number of consecutive failures before considering the container has to be restarted.
- https list(object)
- Perform HTTP check on the container with the specified path.
- interval string
- Time interval between checks (in duration notation, e.g. "30s").
- tcp bool
- When set to
true, performs TCP checks on the container. - timeout string
- The maximum amount of time in seconds your container can spend processing a request before being stopped. Default to
300seconds.
- failure
Threshold Integer - Number of consecutive failures before considering the container has to be restarted.
- https
List<Get
Container Startup Probe Http> - Perform HTTP check on the container with the specified path.
- interval String
- Time interval between checks (in duration notation, e.g. "30s").
- tcp Boolean
- When set to
true, performs TCP checks on the container. - timeout String
- The maximum amount of time in seconds your container can spend processing a request before being stopped. Default to
300seconds.
- failure
Threshold number - Number of consecutive failures before considering the container has to be restarted.
- https
Get
Container Startup Probe Http[] - Perform HTTP check on the container with the specified path.
- interval string
- Time interval between checks (in duration notation, e.g. "30s").
- tcp boolean
- When set to
true, performs TCP checks on the container. - timeout string
- The maximum amount of time in seconds your container can spend processing a request before being stopped. Default to
300seconds.
- failure_
threshold int - Number of consecutive failures before considering the container has to be restarted.
- https
Sequence[Get
Container Startup Probe Http] - Perform HTTP check on the container with the specified path.
- interval str
- Time interval between checks (in duration notation, e.g. "30s").
- tcp bool
- When set to
true, performs TCP checks on the container. - timeout str
- The maximum amount of time in seconds your container can spend processing a request before being stopped. Default to
300seconds.
- failure
Threshold Number - Number of consecutive failures before considering the container has to be restarted.
- https List<Property Map>
- Perform HTTP check on the container with the specified path.
- interval String
- Time interval between checks (in duration notation, e.g. "30s").
- tcp Boolean
- When set to
true, performs TCP checks on the container. - timeout String
- The maximum amount of time in seconds your container can spend processing a request before being stopped. Default to
300seconds.
GetContainerStartupProbeHttp
- Path string
- Path to use for the HTTP health check.
- Path string
- Path to use for the HTTP health check.
- path string
- Path to use for the HTTP health check.
- path String
- Path to use for the HTTP health check.
- path string
- Path to use for the HTTP health check.
- path str
- Path to use for the HTTP health check.
- path String
- Path to use for the HTTP health check.
Package Details
- Repository
- scaleway pulumiverse/pulumi-scaleway
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
scalewayTerraform Provider.
published on Thursday, May 14, 2026 by pulumiverse
