Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace CreateContainerInstanceDetails

Information to create a container instance.

Properties

availabilityDomain

availabilityDomain: string

The availability domain where the container instance runs.

compartmentId

compartmentId: string

The compartment OCID.

Optional containerRestartPolicy

containerRestartPolicy: undefined | string

Container restart policy

containers

containers: Array<CreateContainerDetails>

The containers to create on this container instance.

Optional definedTags

definedTags: undefined | object

Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {@code {"foo-namespace": {"bar-key": "value"}}}.

Optional displayName

displayName: undefined | string

A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. If you don't provide a name, a name is generated automatically.

Optional dnsConfig

dnsConfig: model.CreateContainerDnsConfigDetails

Optional faultDomain

faultDomain: undefined | string

The fault domain where the container instance runs.

Optional freeformTags

freeformTags: undefined | object

Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {@code {"bar-key": "value"}}

Optional gracefulShutdownTimeoutInSeconds

gracefulShutdownTimeoutInSeconds: undefined | number

The amount of time that processes in a container have to gracefully end when the container must be stopped. For example, when you delete a container instance. After the timeout is reached, the processes are sent a signal to be deleted. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.

Optional imagePullSecrets

The image pulls secrets so you can access private registry to pull container images.

shape

shape: string

The shape of the container instance. The shape determines the resources available to the container instance.

shapeConfig

vnics

The networks available to containers on this container instance.

Optional volumes

A volume is a directory with data that is accessible across multiple containers in a container instance.

You can attach up to 32 volumes to single container instance.

Functions

getDeserializedJsonObj

getJsonObj