1. Packages
  2. Packages
  3. Scaleway
  4. API Docs
  5. getContainer
Viewing docs for Scaleway v1.49.0
published on Thursday, May 14, 2026 by pulumiverse
scaleway logo
Viewing docs for Scaleway v1.49.0
published on Thursday, May 14, 2026 by pulumiverse
    Deprecated: scaleway.index/getcontainer.getContainer has been deprecated in favor of scaleway.containers/getcontainer.getContainer

    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 name argument 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 dictionary
    data "scaleway_getcontainer" "name" {
        # arguments
    }

    The following arguments are supported:

    NamespaceId string
    ContainerId string
    Name string
    ProjectId string
    Region string
    (Defaults to provider region) The region in which the container was created.
    NamespaceId string
    ContainerId string
    Name string
    ProjectId 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.
    namespaceId String
    containerId String
    name String
    projectId String
    region String
    (Defaults to provider region) The region in which the container was created.
    namespaceId string
    containerId string
    name string
    projectId 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.
    namespaceId String
    containerId String
    name String
    projectId 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.
    CpuLimit int
    The amount of vCPU computing resources to allocate to each container.
    CronStatus string
    The cron status of the container.
    Deploy bool
    Description string
    The description of the container.
    DomainName string
    The native domain name of the container
    EnvironmentVariables Dictionary<string, string>
    The environment variables of the container.
    ErrorMessage string
    The error message of the container.
    HealthChecks List<Pulumiverse.Scaleway.Outputs.GetContainerHealthCheck>
    (Deprecated) Health check configuration block of the container.
    HttpOption string
    (Deprecated) Allows both HTTP and HTTPS (enabled) or redirect HTTP to HTTPS (redirected). Defaults to enabled.
    HttpsConnectionsOnly bool
    Allows both HTTP and HTTPS (false) or redirect HTTP to HTTPS (true). Defaults to false.
    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)
    LivenessProbes List<Pulumiverse.Scaleway.Outputs.GetContainerLivenessProbe>
    Defines how to check if the container is running.
    LocalStorageLimit int
    (Deprecated) Local storage limit of the container (in MB)
    LocalStorageLimitBytes int
    Local storage limit of the container (in bytes).
    MaxScale int
    The maximum number of instances this container can scale to.
    MemoryLimit int
    (Deprecated) The memory resources in MB to allocate to each container.
    MemoryLimitBytes int
    The memory resources in bytes to allocate to each container.
    MinScale int
    The minimum number of container instances running continuously.
    NamespaceId 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.
    PrivateNetworkId string
    The ID of the Private Network the container is connected to.
    Protocol string
    The communication protocol http1 or h2c. Defaults to http1.
    PublicEndpoint string
    The native domain name of the container
    RegistryImage string
    (Deprecated) The registry image address (e.g., rg.fr-par.scw.cloud/$NAMESPACE/$IMAGE)
    RegistrySha256 string
    Sandbox string
    Execution environment of the container.
    ScalingOptions List<Pulumiverse.Scaleway.Outputs.GetContainerScalingOption>
    Configuration block used to decide when to scale up or down. Possible values:
    SecretEnvironmentVariables Dictionary<string, string>
    The secret environment variables of the container.
    StartupProbes List<Pulumiverse.Scaleway.Outputs.GetContainerStartupProbe>
    Status string
    The container status.
    Tags 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 300 seconds.
    ContainerId string
    Name string
    ProjectId 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.
    CpuLimit int
    The amount of vCPU computing resources to allocate to each container.
    CronStatus string
    The cron status of the container.
    Deploy bool
    Description string
    The description of the container.
    DomainName string
    The native domain name of the container
    EnvironmentVariables map[string]string
    The environment variables of the container.
    ErrorMessage string
    The error message of the container.
    HealthChecks []GetContainerHealthCheck
    (Deprecated) Health check configuration block of the container.
    HttpOption string
    (Deprecated) Allows both HTTP and HTTPS (enabled) or redirect HTTP to HTTPS (redirected). Defaults to enabled.
    HttpsConnectionsOnly bool
    Allows both HTTP and HTTPS (false) or redirect HTTP to HTTPS (true). Defaults to false.
    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)
    LivenessProbes []GetContainerLivenessProbe
    Defines how to check if the container is running.
    LocalStorageLimit int
    (Deprecated) Local storage limit of the container (in MB)
    LocalStorageLimitBytes int
    Local storage limit of the container (in bytes).
    MaxScale int
    The maximum number of instances this container can scale to.
    MemoryLimit int
    (Deprecated) The memory resources in MB to allocate to each container.
    MemoryLimitBytes int
    The memory resources in bytes to allocate to each container.
    MinScale int
    The minimum number of container instances running continuously.
    NamespaceId 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.
    PrivateNetworkId string
    The ID of the Private Network the container is connected to.
    Protocol string
    The communication protocol http1 or h2c. Defaults to http1.
    PublicEndpoint string
    The native domain name of the container
    RegistryImage string
    (Deprecated) The registry image address (e.g., rg.fr-par.scw.cloud/$NAMESPACE/$IMAGE)
    RegistrySha256 string
    Sandbox string
    Execution environment of the container.
    ScalingOptions []GetContainerScalingOption
    Configuration block used to decide when to scale up or down. Possible values:
    SecretEnvironmentVariables map[string]string
    The secret environment variables of the container.
    StartupProbes []GetContainerStartupProbe
    Status string
    The container status.
    Tags []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 300 seconds.
    ContainerId string
    Name string
    ProjectId 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 to enabled.
    https_connections_only bool
    Allows both HTTP and HTTPS (false) or redirect HTTP to HTTPS (true). Defaults to false.
    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_limit number
    (Deprecated) Local storage limit of the container (in MB)
    local_storage_limit_bytes number
    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_bytes number
    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_id string
    The ID of the Private Network the container is connected to.
    protocol string
    The communication protocol http1 or h2c. Defaults to http1.
    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_variables map(string)
    The secret environment variables of the container.
    startup_probes list(object)
    status string
    The container status.
    tags 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 300 seconds.
    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.
    cpuLimit Integer
    The amount of vCPU computing resources to allocate to each container.
    cronStatus String
    The cron status of the container.
    deploy Boolean
    description String
    The description of the container.
    domainName String
    The native domain name of the container
    environmentVariables Map<String,String>
    The environment variables of the container.
    errorMessage String
    The error message of the container.
    healthChecks List<GetContainerHealthCheck>
    (Deprecated) Health check configuration block of the container.
    httpOption String
    (Deprecated) Allows both HTTP and HTTPS (enabled) or redirect HTTP to HTTPS (redirected). Defaults to enabled.
    httpsConnectionsOnly Boolean
    Allows both HTTP and HTTPS (false) or redirect HTTP to HTTPS (true). Defaults to false.
    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)
    livenessProbes List<GetContainerLivenessProbe>
    Defines how to check if the container is running.
    localStorageLimit Integer
    (Deprecated) Local storage limit of the container (in MB)
    localStorageLimitBytes Integer
    Local storage limit of the container (in bytes).
    maxScale Integer
    The maximum number of instances this container can scale to.
    memoryLimit Integer
    (Deprecated) The memory resources in MB to allocate to each container.
    memoryLimitBytes Integer
    The memory resources in bytes to allocate to each container.
    minScale Integer
    The minimum number of container instances running continuously.
    namespaceId 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.
    privateNetworkId String
    The ID of the Private Network the container is connected to.
    protocol String
    The communication protocol http1 or h2c. Defaults to http1.
    publicEndpoint String
    The native domain name of the container
    registryImage String
    (Deprecated) The registry image address (e.g., rg.fr-par.scw.cloud/$NAMESPACE/$IMAGE)
    registrySha256 String
    sandbox String
    Execution environment of the container.
    scalingOptions List<GetContainerScalingOption>
    Configuration block used to decide when to scale up or down. Possible values:
    secretEnvironmentVariables Map<String,String>
    The secret environment variables of the container.
    startupProbes List<GetContainerStartupProbe>
    status String
    The container status.
    tags 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 300 seconds.
    containerId String
    name String
    projectId 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.
    cpuLimit number
    The amount of vCPU computing resources to allocate to each container.
    cronStatus string
    The cron status of the container.
    deploy boolean
    description string
    The description of the container.
    domainName string
    The native domain name of the container
    environmentVariables {[key: string]: string}
    The environment variables of the container.
    errorMessage string
    The error message of the container.
    healthChecks GetContainerHealthCheck[]
    (Deprecated) Health check configuration block of the container.
    httpOption string
    (Deprecated) Allows both HTTP and HTTPS (enabled) or redirect HTTP to HTTPS (redirected). Defaults to enabled.
    httpsConnectionsOnly boolean
    Allows both HTTP and HTTPS (false) or redirect HTTP to HTTPS (true). Defaults to false.
    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)
    livenessProbes GetContainerLivenessProbe[]
    Defines how to check if the container is running.
    localStorageLimit number
    (Deprecated) Local storage limit of the container (in MB)
    localStorageLimitBytes number
    Local storage limit of the container (in bytes).
    maxScale number
    The maximum number of instances this container can scale to.
    memoryLimit number
    (Deprecated) The memory resources in MB to allocate to each container.
    memoryLimitBytes number
    The memory resources in bytes to allocate to each container.
    minScale number
    The minimum number of container instances running continuously.
    namespaceId 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.
    privateNetworkId string
    The ID of the Private Network the container is connected to.
    protocol string
    The communication protocol http1 or h2c. Defaults to http1.
    publicEndpoint string
    The native domain name of the container
    registryImage string
    (Deprecated) The registry image address (e.g., rg.fr-par.scw.cloud/$NAMESPACE/$IMAGE)
    registrySha256 string
    sandbox string
    Execution environment of the container.
    scalingOptions GetContainerScalingOption[]
    Configuration block used to decide when to scale up or down. Possible values:
    secretEnvironmentVariables {[key: string]: string}
    The secret environment variables of the container.
    startupProbes GetContainerStartupProbe[]
    status string
    The container status.
    tags 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 300 seconds.
    containerId string
    name string
    projectId 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[GetContainerHealthCheck]
    (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 to enabled.
    https_connections_only bool
    Allows both HTTP and HTTPS (false) or redirect HTTP to HTTPS (true). Defaults to false.
    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[GetContainerLivenessProbe]
    Defines how to check if the container is running.
    local_storage_limit int
    (Deprecated) Local storage limit of the container (in MB)
    local_storage_limit_bytes int
    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_bytes int
    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_id str
    The ID of the Private Network the container is connected to.
    protocol str
    The communication protocol http1 or h2c. Defaults to http1.
    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[GetContainerScalingOption]
    Configuration block used to decide when to scale up or down. Possible values:
    secret_environment_variables Mapping[str, str]
    The secret environment variables of the container.
    startup_probes Sequence[GetContainerStartupProbe]
    status str
    The container status.
    tags 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 300 seconds.
    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.
    cpuLimit Number
    The amount of vCPU computing resources to allocate to each container.
    cronStatus String
    The cron status of the container.
    deploy Boolean
    description String
    The description of the container.
    domainName String
    The native domain name of the container
    environmentVariables Map<String>
    The environment variables of the container.
    errorMessage String
    The error message of the container.
    healthChecks List<Property Map>
    (Deprecated) Health check configuration block of the container.
    httpOption String
    (Deprecated) Allows both HTTP and HTTPS (enabled) or redirect HTTP to HTTPS (redirected). Defaults to enabled.
    httpsConnectionsOnly Boolean
    Allows both HTTP and HTTPS (false) or redirect HTTP to HTTPS (true). Defaults to false.
    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)
    livenessProbes List<Property Map>
    Defines how to check if the container is running.
    localStorageLimit Number
    (Deprecated) Local storage limit of the container (in MB)
    localStorageLimitBytes Number
    Local storage limit of the container (in bytes).
    maxScale Number
    The maximum number of instances this container can scale to.
    memoryLimit Number
    (Deprecated) The memory resources in MB to allocate to each container.
    memoryLimitBytes Number
    The memory resources in bytes to allocate to each container.
    minScale Number
    The minimum number of container instances running continuously.
    namespaceId 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.
    privateNetworkId String
    The ID of the Private Network the container is connected to.
    protocol String
    The communication protocol http1 or h2c. Defaults to http1.
    publicEndpoint String
    The native domain name of the container
    registryImage String
    (Deprecated) The registry image address (e.g., rg.fr-par.scw.cloud/$NAMESPACE/$IMAGE)
    registrySha256 String
    sandbox String
    Execution environment of the container.
    scalingOptions List<Property Map>
    Configuration block used to decide when to scale up or down. Possible values:
    secretEnvironmentVariables Map<String>
    The secret environment variables of the container.
    startupProbes List<Property Map>
    status String
    The container status.
    tags 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 300 seconds.
    containerId String
    name String
    projectId String
    region String
    (Defaults to provider region) The region in which the container was created.

    Supporting Types

    GetContainerHealthCheck

    FailureThreshold int
    Number of consecutive failures before considering the container has to be restarted.
    Https List<Pulumiverse.Scaleway.Inputs.GetContainerHealthCheckHttp>
    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.
    FailureThreshold int
    Number of consecutive failures before considering the container has to be restarted.
    Https []GetContainerHealthCheckHttp
    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.
    failureThreshold Integer
    Number of consecutive failures before considering the container has to be restarted.
    https List<GetContainerHealthCheckHttp>
    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.
    failureThreshold number
    Number of consecutive failures before considering the container has to be restarted.
    https GetContainerHealthCheckHttp[]
    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[GetContainerHealthCheckHttp]
    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.
    failureThreshold 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

    FailureThreshold int
    Number of consecutive failures before considering the container has to be restarted.
    Https List<Pulumiverse.Scaleway.Inputs.GetContainerLivenessProbeHttp>
    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 300 seconds.
    FailureThreshold int
    Number of consecutive failures before considering the container has to be restarted.
    Https []GetContainerLivenessProbeHttp
    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 300 seconds.
    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 300 seconds.
    failureThreshold Integer
    Number of consecutive failures before considering the container has to be restarted.
    https List<GetContainerLivenessProbeHttp>
    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 300 seconds.
    failureThreshold number
    Number of consecutive failures before considering the container has to be restarted.
    https GetContainerLivenessProbeHttp[]
    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 300 seconds.
    failure_threshold int
    Number of consecutive failures before considering the container has to be restarted.
    https Sequence[GetContainerLivenessProbeHttp]
    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 300 seconds.
    failureThreshold 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 300 seconds.

    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

    ConcurrentRequestsThreshold int
    Scale depending on the number of concurrent requests being processed per container instance.
    CpuUsageThreshold int
    Scale depending on the CPU usage of a container instance.
    MemoryUsageThreshold int
    Scale depending on the memory usage of a container instance.
    ConcurrentRequestsThreshold int
    Scale depending on the number of concurrent requests being processed per container instance.
    CpuUsageThreshold int
    Scale depending on the CPU usage of a container instance.
    MemoryUsageThreshold int
    Scale depending on the memory usage of a container instance.
    concurrent_requests_threshold number
    Scale depending on the number of concurrent requests being processed per container instance.
    cpu_usage_threshold number
    Scale depending on the CPU usage of a container instance.
    memory_usage_threshold number
    Scale depending on the memory usage of a container instance.
    concurrentRequestsThreshold Integer
    Scale depending on the number of concurrent requests being processed per container instance.
    cpuUsageThreshold Integer
    Scale depending on the CPU usage of a container instance.
    memoryUsageThreshold Integer
    Scale depending on the memory usage of a container instance.
    concurrentRequestsThreshold number
    Scale depending on the number of concurrent requests being processed per container instance.
    cpuUsageThreshold number
    Scale depending on the CPU usage of a container instance.
    memoryUsageThreshold number
    Scale depending on the memory usage of a container instance.
    concurrent_requests_threshold int
    Scale depending on the number of concurrent requests being processed per container instance.
    cpu_usage_threshold int
    Scale depending on the CPU usage of a container instance.
    memory_usage_threshold int
    Scale depending on the memory usage of a container instance.
    concurrentRequestsThreshold Number
    Scale depending on the number of concurrent requests being processed per container instance.
    cpuUsageThreshold Number
    Scale depending on the CPU usage of a container instance.
    memoryUsageThreshold Number
    Scale depending on the memory usage of a container instance.

    GetContainerStartupProbe

    FailureThreshold int
    Number of consecutive failures before considering the container has to be restarted.
    Https List<Pulumiverse.Scaleway.Inputs.GetContainerStartupProbeHttp>
    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 300 seconds.
    FailureThreshold int
    Number of consecutive failures before considering the container has to be restarted.
    Https []GetContainerStartupProbeHttp
    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 300 seconds.
    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 300 seconds.
    failureThreshold Integer
    Number of consecutive failures before considering the container has to be restarted.
    https List<GetContainerStartupProbeHttp>
    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 300 seconds.
    failureThreshold number
    Number of consecutive failures before considering the container has to be restarted.
    https GetContainerStartupProbeHttp[]
    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 300 seconds.
    failure_threshold int
    Number of consecutive failures before considering the container has to be restarted.
    https Sequence[GetContainerStartupProbeHttp]
    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 300 seconds.
    failureThreshold 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 300 seconds.

    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 scaleway Terraform Provider.
    scaleway logo
    Viewing docs for Scaleway v1.49.0
    published on Thursday, May 14, 2026 by pulumiverse
      Try Pulumi Cloud free. Your team will thank you.