instance_details
Creates, updates, deletes, gets or lists a instance_details
resource.
Overview
Name | instance_details |
Type | Resource |
Id | google.osconfig.instance_details |
Fields
Name | Datatype | Description |
---|---|---|
name | string | The instance name in the form projects/*/zones/*/instances/* |
attemptCount | string | The number of times the agent that the agent attempts to apply the patch. |
failureReason | string | If the patch fails, this field provides the reason. |
instanceSystemId | string | The unique identifier for the instance. This identifier is defined by the server. |
state | string | Current state of instance patch. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
list | SELECT | patchJobsId, projectsId | Get a list of instance details for a given patch job. |
SELECT
examples
Get a list of instance details for a given patch job.
SELECT
name,
attemptCount,
failureReason,
instanceSystemId,
state
FROM google.osconfig.instance_details
WHERE patchJobsId = '{{ patchJobsId }}'
AND projectsId = '{{ projectsId }}';