vw_inventory_items
Creates, updates, deletes, gets or lists a vw_inventory_items
resource.
Overview
Name | vw_inventory_items |
Type | View |
Id | azure.system_center_vm_manager.vw_inventory_items |
Fields
See the SQL Definition (view DDL) for fields returned by this view.
SQL Definition
- Sqlite3
- Postgres
SELECT
kind as kind,
JSON_EXTRACT(properties, '$.inventoryType') as "inventory_type",
JSON_EXTRACT(properties, '$.managedResourceId') as "managed_resource_id",
JSON_EXTRACT(properties, '$.uuid') as "uuid",
JSON_EXTRACT(properties, '$.inventoryItemName') as "inventory_item_name",
JSON_EXTRACT(properties, '$.provisioningState') as "provisioning_state",
subscriptionId,
resourceGroupName,
vmmServerName,
inventoryItemResourceName
FROM azure.system_center_vm_manager.inventory_items
WHERE subscriptionId = 'replace-me' AND resourceGroupName = 'replace-me' AND vmmServerName = 'replace-me';
SELECT
kind as kind,
json_extract_path_text(properties, '$.inventoryType') as "inventory_type",
json_extract_path_text(properties, '$.managedResourceId') as "managed_resource_id",
json_extract_path_text(properties, '$.uuid') as "uuid",
json_extract_path_text(properties, '$.inventoryItemName') as "inventory_item_name",
json_extract_path_text(properties, '$.provisioningState') as "provisioning_state",
subscriptionId,
resourceGroupName,
vmmServerName,
inventoryItemResourceName
FROM azure.system_center_vm_manager.inventory_items
WHERE subscriptionId = 'replace-me' AND resourceGroupName = 'replace-me' AND vmmServerName = 'replace-me';