instances_guest_attributes
Creates, updates, deletes, gets or lists a instances_guest_attributes
resource.
Overview
Name | instances_guest_attributes |
Type | Resource |
Id | google.compute.instances_guest_attributes |
Fields
Name | Datatype | Description |
---|---|---|
kind | string | [Output Only] Type of the resource. Always compute#guestAttributes for guest attributes entry. |
queryPath | string | The path to be queried. This can be the default namespace ('') or a nested namespace ('\/') or a specified key ('\/\'). |
queryValue | object | Array of guest attribute namespace/key/value tuples. |
selfLink | string | [Output Only] Server-defined URL for this resource. |
variableKey | string | The key to search for. |
variableValue | string | [Output Only] The value found for the requested key. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get_guest_attributes | SELECT | instance, project, zone | Returns the specified guest attributes entry. |
SELECT
examples
Returns the specified guest attributes entry.
SELECT
kind,
queryPath,
queryValue,
selfLink,
variableKey,
variableValue
FROM google.compute.instances_guest_attributes
WHERE instance = '{{ instance }}'
AND project = '{{ project }}'
AND zone = '{{ zone }}';