interface Container {
    cpuLimit: number;
    createdAt?: Date;
    description?: string;
    domainName: string;
    environmentVariables: Record<string, string>;
    errorMessage?: string;
    healthCheck?: Container.v1beta1.ContainerHealthCheckSpec;
    httpOption: ContainerHttpOption;
    id: string;
    localStorageLimit: number;
    maxConcurrency: number;
    maxScale: number;
    memoryLimit: number;
    minScale: number;
    name: string;
    namespaceId: string;
    port: number;
    privacy: ContainerPrivacy;
    protocol: ContainerProtocol;
    readyAt?: Date;
    region: Region;
    registryImage: string;
    sandbox: ContainerSandbox;
    scalingOption?: Container.v1beta1.ContainerScalingOption;
    secretEnvironmentVariables: Container.v1beta1.SecretHashedValue[];
    status: ContainerStatus;
    timeout?: string;
    updatedAt?: Date;
}

Properties

cpuLimit: number

CPU limit of the container in mvCPU.

createdAt?: Date

Creation date of the container.

description?: string

Description of the container.

domainName: string

Domain name attributed to the contaioner.

environmentVariables: Record<string, string>

Environment variables of the container.

errorMessage?: string

Last error message of the container.

Health check configuration of the container.

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.
id: string

UUID of the container.

localStorageLimit: number

Local storage limit of the container (in MB).

maxConcurrency: number

Number of maximum concurrent executions of the container.

maxScale: number

Maximum number of instances to scale the container to.

memoryLimit: number

Memory limit of the container in MB.

minScale: number

Minimum number of instances to scale the container to.

name: string

Name of the container.

namespaceId: string

UUID of the namespace the container belongs to.

port: number

Port the container listens on.

Privacy setting of the container.

Protocol the container uses.

readyAt?: Date

Last date when the container was successfully deployed and set to ready.

region: Region

Region in which the container will be deployed.

registryImage: string

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

Execution environment of the container.

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.
secretEnvironmentVariables: Container.v1beta1.SecretHashedValue[]

Secret environment variables of the container.

Status of the container.

timeout?: string

Processing time limit for the container.

updatedAt?: Date

Last update date of the container.