Get ContainerInstance

get

/20210415/containerInstances/{container_instance_id}

Gets information about the specified container instance.

Request

Supported Media Types
Path Parameters
Header Parameters
  • Unique Oracle-assigned identifier for the request. Provide this request OCID if you need to contact Oracle about this request.
Back to Top

Response

Supported Media Types

200 Response

Retrieves the container instance with the given ID.
Headers
  • For optimistic concurrency control. See `if-match`.
  • Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Body ()
Root Schema : ContainerInstance
Type: object
A container instance to host containers. If you delete a container instance, the record remains visible for a short period of time before being permanently removed.
Show Source
Nested Schema : containers
Type: array
The containers on the container instance.
Show Source
Nested Schema : definedTags
Type: object
Additional Properties Allowed
Show Source
Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace": {"bar-key": "value"}}`.
Nested Schema : ContainerDnsConfig
Type: object
DNS settings for containers.
Show Source
Nested Schema : freeformTags
Type: object
Additional Properties Allowed
Show Source
Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
Nested Schema : imagePullSecrets
Type: array
The image pulls secrets so you can access private registry to pull container images.
Show Source
Nested Schema : ContainerInstanceSecurityContext
Type: object
Discriminator: securityContextType
Security context for all containers in a container instance.
Show Source
Nested Schema : ContainerInstanceShapeConfig
Type: object
The shape configuration for a container instance. The shape configuration determines the resources thats are available to the container instance and its containers.
Show Source
Nested Schema : systemTags
Type: object
Additional Properties Allowed
Show Source
Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`.
Nested Schema : vnics
Type: array
The virtual networks available to the containers in the container instance.
Show Source
Nested Schema : volumes
Type: array
A volume is a directory with data that is accessible across multiple containers in a container instance.
Show Source
  • ContainerVolume
    Discriminator: volumeType
    A volume represents a directory with data that is accessible across multiple containers in a container instance.
Nested Schema : ContainerInstanceContainer
Type: object
A container on a container instance.
Show Source
Nested Schema : additionalProperties
Type: object
Additional Properties Allowed
Show Source
Key-value pair representing predefined tags' keys and values scoped to a namespace. Example: `{"bar-key": "value"}`.
Nested Schema : additionalProperties
Type: object
The value of the tag. Only string, integer, and boolean types are supported.
Nested Schema : nameservers
Type: array
IP address of the name server..
Show Source
Nested Schema : options
Type: array
Options allows certain internal resolver variables to be modified.
Show Source
Nested Schema : searches
Type: array
Search list for hostname lookup.
Show Source
Nested Schema : ImagePullSecret
Type: object
Discriminator: secretType
The image pull secrets for accessing private registry to pull images for containers
Show Source
Nested Schema : additionalProperties
Type: object
Additional Properties Allowed
Show Source
Key-value pair representing system tags' keys and values scoped to a namespace. Example: `{"bar-key": "value"}`
Nested Schema : additionalProperties
Type: object
The value of the tag. Only string, integer, and boolean types are supported.
Nested Schema : ContainerVnic
Type: object
An interface to a virtual network available to containers on a container instance.
Show Source
  • The identifier of the virtual network interface card (VNIC) over which the containers accessing this network can communicate with the larger virtual cloud network.
Nested Schema : ContainerVolume
Type: object
Discriminator: volumeType
A volume represents a directory with data that is accessible across multiple containers in a container instance.
Show Source

400 Response

Bad Request
Headers
  • Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Body ()
Root Schema : Error
Type: object
The properties that define an error.
Show Source
  • A short error code that defines the error, meant for programmatic parsing. See [API Errors](https://docs.us-phoenix-1.oraclecloud.com/Content/API/References/apierrors.htm).
  • A human-readable error string.

401 Response

Unauthorized
Headers
  • Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Body ()
Root Schema : Error
Type: object
The properties that define an error.
Show Source
  • A short error code that defines the error, meant for programmatic parsing. See [API Errors](https://docs.us-phoenix-1.oraclecloud.com/Content/API/References/apierrors.htm).
  • A human-readable error string.

404 Response

Not Found
Headers
  • Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Body ()
Root Schema : Error
Type: object
The properties that define an error.
Show Source
  • A short error code that defines the error, meant for programmatic parsing. See [API Errors](https://docs.us-phoenix-1.oraclecloud.com/Content/API/References/apierrors.htm).
  • A human-readable error string.

429 Response

Too Many Requests
Headers
  • Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Body ()
Root Schema : Error
Type: object
The properties that define an error.
Show Source
  • A short error code that defines the error, meant for programmatic parsing. See [API Errors](https://docs.us-phoenix-1.oraclecloud.com/Content/API/References/apierrors.htm).
  • A human-readable error string.

500 Response

Internal Server Error
Headers
  • Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Body ()
Root Schema : Error
Type: object
The properties that define an error.
Show Source
  • A short error code that defines the error, meant for programmatic parsing. See [API Errors](https://docs.us-phoenix-1.oraclecloud.com/Content/API/References/apierrors.htm).
  • A human-readable error string.

Default Response

Unknown Error
Headers
  • Unique Oracle-assigned identifier for the request. If you must contact Oracle about a particular request, then provide the request identifier.
Body ()
Root Schema : Error
Type: object
The properties that define an error.
Show Source
  • A short error code that defines the error, meant for programmatic parsing. See [API Errors](https://docs.us-phoenix-1.oraclecloud.com/Content/API/References/apierrors.htm).
  • A human-readable error string.
Back to Top