vw_inventory_items
Creates, updates, deletes, gets or lists a vw_inventory_items
resource.
Overview
Name | vw_inventory_items |
Type | View |
Id | azure_isv.connected_vsphere.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, '$.moRefId') as "mo_ref_id",
JSON_EXTRACT(properties, '$.moName') as "mo_name",
JSON_EXTRACT(properties, '$.provisioningState') as "provisioning_state",
subscriptionId,
resourceGroupName,
vcenterName,
inventoryItemName
FROM azure_isv.connected_vsphere.inventory_items
WHERE subscriptionId = 'replace-me' AND resourceGroupName = 'replace-me' AND vcenterName = '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, '$.moRefId') as "mo_ref_id",
json_extract_path_text(properties, '$.moName') as "mo_name",
json_extract_path_text(properties, '$.provisioningState') as "provisioning_state",
subscriptionId,
resourceGroupName,
vcenterName,
inventoryItemName
FROM azure_isv.connected_vsphere.inventory_items
WHERE subscriptionId = 'replace-me' AND resourceGroupName = 'replace-me' AND vcenterName = 'replace-me';