inventories
Creates, updates, deletes, gets or lists a inventories
resource.
Overview
Name | inventories |
Type | Resource |
Id | google.osconfig.inventories |
Fields
Name | Datatype | Description |
---|---|---|
name | string | Output only. The Inventory API resource name. Format: projects/{project_number}/locations/{location}/instances/{instance_id}/inventory |
items | object | Inventory items related to the VM keyed by an opaque unique identifier for each inventory item. The identifier is unique to each distinct and addressable inventory item and will change, when there is a new package version. |
osInfo | object | Operating system information for the VM. |
updateTime | string | Output only. Timestamp of the last reported inventory for the VM. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
list | SELECT | instancesId, locationsId, projectsId | List inventory data for all VM instances in the specified zone. |
SELECT
examples
List inventory data for all VM instances in the specified zone.
SELECT
name,
items,
osInfo,
updateTime
FROM google.osconfig.inventories
WHERE instancesId = '{{ instancesId }}'
AND locationsId = '{{ locationsId }}'
AND projectsId = '{{ projectsId }}';