Skip to main content

instance_details

Creates, updates, deletes, gets or lists a instance_details resource.

Overview

Nameinstance_details
TypeResource
Idgoogle.osconfig.instance_details

Fields

NameDatatypeDescription
namestringThe instance name in the form projects/*/zones/*/instances/*
attemptCountstringThe number of times the agent that the agent attempts to apply the patch.
failureReasonstringIf the patch fails, this field provides the reason.
instanceSystemIdstringThe unique identifier for the instance. This identifier is defined by the server.
statestringCurrent state of instance patch.

Methods

NameAccessible byRequired ParamsDescription
listSELECTpatchJobsId, projectsIdGet 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 }}';