A Container Group Instance represents a running instance of a container group on a specific machine. It provides information about the execution state, readiness, and version of the deployed container group.
Properties
| Name | Type | Required | Description |
|---|---|---|---|
| id | String | ✅ | The container group instance identifier. |
| machineId | String | ✅ | The container group machine identifier. |
| state | TheContainerGroupInstanceState | ✅ | The state of the container group instance |
| updateTime | String | ✅ | The UTC timestamp when the container group instance last changed its state. This helps track the lifecycle and state transitions of the instance. |
| version | Long | ✅ | The version of the container group definition currently running on this instance. Used to track deployment and update progress across the container group fleet. |
| cpuPercent | Double | ❌ | The percentage of CPU used by this container group instance. This is updated every minute. |
| cpuUsage | Long | ❌ | The total CPU usage in seconds for this container group instance. This is updated every minute. |
| cpuUsageTotal | Long | ❌ | The total CPU usage in seconds for this container group instance since it was started. This is updated every minute. |
| deletionCost | Long | ❌ | The cost of deleting the container group instance |
| memoryUsageMb | Double | ❌ | The memory usage in MB for this container group instance. This is updated every minute. |
| memoryUsagePercent | Double | ❌ | The percentage of memory used by this container group instance. This is updated every minute. |
| pullingProgress | Double | ❌ | The progress percentage of pulling the container image. This is only relevant when the instance state is 'downloading'. |
| ready | Boolean | ❌ | Indicates whether the container group instance is currently passing its readiness checks and is able to receive traffic or perform its intended function. If no readiness probe is defined, this will be true once the instance is fully started. |
| sshHostKeyFingerprint | String | ❌ | The SSH host key fingerprint of the container group instance |
| sshIp | String | ❌ | The SSH IP address of the container group instance |
| sshPort | Long | ❌ | The SSH port of the container group instance |
| started | Boolean | ❌ | Indicates whether the container group instance has successfully completed its startup sequence and passed any configured startup probes. This will always be true when no startup probe is defined for the container group. |