ContainerState

The container instance state.

AzureCloudContainer InstancesContainersMicrosoftServerless

Properties

Name Type Description
detailStatus string The human-readable status of the container instance state.
exitCode integer The container instance exit codes correspond to those from the `docker run` command.
finishTime string The date-time when the container instance state finished.
startTime string The date-time when the container instance state started.
state string The state of the container instance.
View JSON Schema on GitHub

JSON Schema

azure-container-instances-container-state-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/azure-container-instances/refs/heads/main/json-schema/azure-container-instances-container-state-schema.json",
  "title": "ContainerState",
  "description": "The container instance state.",
  "type": "object",
  "properties": {
    "detailStatus": {
      "description": "The human-readable status of the container instance state.",
      "type": "string"
    },
    "exitCode": {
      "description": "The container instance exit codes correspond to those from the `docker run` command.",
      "type": "integer"
    },
    "finishTime": {
      "description": "The date-time when the container instance state finished.",
      "format": "date-time",
      "type": "string"
    },
    "startTime": {
      "description": "The date-time when the container instance state started.",
      "format": "date-time",
      "type": "string"
    },
    "state": {
      "description": "The state of the container instance.",
      "type": "string"
    }
  }
}