Resource: PatchJobInstanceDetails
Patch details for a VM instance. For more information about reviewing VM instance details, see Listing all VM instance details for a specific patch job .
| JSON representation |
|---|
{
"name"
:
string
,
"instanceSystemId"
:
string
,
"state"
:
enum (
|
| Fields | |
|---|---|
name
|
The instance name in the form |
instanceSystemId
|
The unique identifier for the instance. This identifier is defined by the server. |
state
|
Current state of instance patch. |
failureReason
|
If the patch fails, this field provides the reason. |
attemptCount
|
The number of times the agent that the agent attempts to apply the patch. |
PatchState
Patch state of an instance.
PATCH_STATE_UNSPECIFIED
PENDING
INACTIVE
NOTIFIED
STARTED
DOWNLOADING_PATCHES
APPLYING_PATCHES
REBOOTING
SUCCEEDED
SUCCEEDED_REBOOT_REQUIRED
FAILED
ACKED
TIMED_OUT
RUNNING_PRE_PATCH_STEP
RUNNING_POST_PATCH_STEP
NO_AGENT_DETECTED
SKIPPED
The instance was skipped during patching due to one of two reasons:
-
The instance runs Container-Optimized OS (COS), which cannot be patched.
-
The patch job's configuration prohibits patching on Managed Instance Groups (MIGs), and the instance is part of one.
Methods |
|
|---|---|
|
Get a list of instance details for a given patch job. |

