- JSON representation
- InstanceHealth
- HealthState
- Scheduling
- ShutdownDetails
- LastAttempt
- PropertiesFromFlexibilityPolicy
A Managed Instance resource.
| JSON representation |
|---|
{ "name": string, "instance": string, "id": string, "instanceStatus": enum ( |
| Fields | |
|---|---|
name |
Output only. The name of the instance. The name always exists even if the instance has not yet been created. |
instance |
Output only. The URL of the instance. The URL can exist even if the instance has not yet been created. |
id |
Output only. The unique identifier for this resource. This field is empty when instance does not exist. |
instanceStatus |
Output only. The status of the instance. This field is empty when the instance does not exist. |
version |
Output only. Intended version of this instance. |
preservedStateFromPolicy |
Output only. Preserved state generated based on stateful policy for this instance. |
preservedStateFromConfig |
Output only. Preserved state applied from per-instance config for this instance. |
currentAction |
Output only. The current action that the managed instance group has scheduled for the instance. Possible values:
|
instanceHealth[] |
Output only. Health state of the instance per health-check. Available from 2026-03-01.. |
scheduling |
Output only. Information about the termination timestamp of the instance, if applicable. |
shutdownDetails |
Output only. Specifies the graceful shutdown details if the instance is in |
lastAttempt |
Output only. Information about the last attempt to create or delete the instance. |
propertiesFromFlexibilityPolicy |
Output only. Instance properties selected for this instance resulting from InstanceFlexibilityPolicy. |
InstanceHealth
| JSON representation |
|---|
{
"healthCheck": string,
"detailedHealthState": enum ( |
| Fields | |
|---|---|
healthCheck |
Output only. The URL for the health check that verifies whether the instance is healthy. |
detailedHealthState |
Output only. The current detailed instance health state. |
HealthState
| Enums | |
|---|---|
UNKNOWN |
The health checking system is aware of the instance but its health is not known at the moment. |
HEALTHY |
The instance is reachable i.e. a connection to the application health checking endpoint can be established, and conforms to the requirements defined by the health check. |
UNHEALTHY |
The instance is reachable, but does not conform to the requirements defined by the health check. |
DRAINING |
The instance is being drained. The existing connections to the instance have time to complete, but the new ones are being refused. |
TIMEOUT |
The instance is unreachable i.e. a connection to the application health checking endpoint cannot be established, or the server does not respond within the specified timeout. |
Scheduling
| JSON representation |
|---|
{ "terminationTimestamp": string, "gracefulShutdownTimestamp": string } |
| Fields | |
|---|---|
terminationTimestamp |
Output only. The timestamp at which the managed instance will be terminated. This is in RFC3339 text format. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
gracefulShutdownTimestamp |
Output only. The timestamp at which the underlying instance will be triggered for graceful shutdown if it is configured. This is in RFC3339 text format. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
ShutdownDetails
| JSON representation |
|---|
{
"requestTimestamp": string,
"maxDuration": {
object ( |
| Fields | |
|---|---|
requestTimestamp |
Output only. Past timestamp indicating the beginning of Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
maxDuration |
Output only. The duration for graceful shutdown. Only applicable when the instance is in |
LastAttempt
| JSON representation |
|---|
{ "errors": { "errors": [ { "code": string, "location": string, "message": string, "errorDetails": [ { "errorInfo": { object ( |
| Fields | |
|---|---|
errors |
Output only. Encountered errors during the last attempt to create or delete the instance. |
errors.errors[] |
Output only. The array of errors encountered while processing this operation. |
errors.errors[].code |
Output only. The error type identifier for this error. |
errors.errors[].location |
Output only. Indicates the field in the request that caused the error. This property is optional. |
errors.errors[].message |
Output only. An optional, human-readable error message. |
errors.errors[].errorDetails[] |
Output only. An optional list of messages that contain the error details. There is a set of defined message types to use for providing details.The syntax depends on the error code. For example, QuotaExceededInfo will have details when the error code is QUOTA_EXCEEDED. |
errors.errors[].errorDetails[].errorInfo |
|
errors.errors[].errorDetails[].quotaInfo |
|
errors.errors[].errorDetails[].help |
|
errors.errors[].errorDetails[].localizedMessage |
|
PropertiesFromFlexibilityPolicy
| JSON representation |
|---|
{ "machineType": string } |
| Fields | |
|---|---|
machineType |
Output only. The machine type to be used for this instance. |