UpdateContainerRequest: {
    containerId: string;
    cpuLimit?: number;
    description?: string;
    environmentVariables?: Record<string, string>;
    healthCheck?: Container.v1beta1.ContainerHealthCheckSpec;
    httpOption?: ContainerHttpOption;
    localStorageLimit?: number;
    maxConcurrency?: number;
    maxScale?: number;
    memoryLimit?: number;
    minScale?: number;
    port?: number;
    privacy?: ContainerPrivacy;
    protocol?: ContainerProtocol;
    redeploy?: boolean;
    region?: Region;
    registryImage?: string;
    sandbox?: ContainerSandbox;
    scalingOption?: Container.v1beta1.ContainerScalingOption;
    secretEnvironmentVariables?: Container.v1beta1.Secret[];
    timeout?: string;
}

Type declaration

  • containerId: string

    UUID of the container to update.

  • OptionalcpuLimit?: number

    CPU limit of the container in mvCPU.

  • Optionaldescription?: string

    Description of the container.

  • OptionalenvironmentVariables?: Record<string, string>

    Environment variables of the container.

  • OptionalhealthCheck?: Container.v1beta1.ContainerHealthCheckSpec

    Health check configuration of the container.

  • OptionalhttpOption?: ContainerHttpOption

    Possible values:

    • Redirected: Responds to HTTP request with a 301 redirect to ask the clients to use HTTPS.
    • Enabled: Serve both HTTP and HTTPS traffic.
  • OptionallocalStorageLimit?: number

    Local storage limit of the container (in MB).

  • OptionalmaxConcurrency?: number

    Number of maximum concurrent executions of the container.

  • OptionalmaxScale?: number

    Maximum number of instances to scale the container to.

  • OptionalmemoryLimit?: number

    Memory limit of the container in MB.

  • OptionalminScale?: number

    Minimum number of instances to scale the container to.

  • Optionalport?: number
  • Optionalprivacy?: ContainerPrivacy

    Privacy settings of the container.

  • Optionalprotocol?: ContainerProtocol
  • Optionalredeploy?: boolean

    Defines whether to redeploy failed containers.

  • Optionalregion?: Region

    Region to target. If none is passed will use default region from the config.

  • OptionalregistryImage?: string

    Name of the registry image (e.g. "rg.fr-par.scw.cloud/something/image:tag").

  • Optionalsandbox?: ContainerSandbox

    Execution environment of the container.

  • OptionalscalingOption?: Container.v1beta1.ContainerScalingOption

    Possible values:

    • Concurrent_requests_threshold: Scale depending on the number of concurrent requests being processed per container instance.
    • Cpu_usage_threshold: Scale depending on the CPU usage of a container instance.
    • Memory_usage_threshold: Scale depending on the memory usage of a container instance.
  • OptionalsecretEnvironmentVariables?: Container.v1beta1.Secret[]
  • Optionaltimeout?: string

    Processing time limit for the container.