vw_volumes
Creates, updates, deletes, gets or lists a vw_volumes
resource.
Overview
Name | vw_volumes |
Type | View |
Id | azure.container_storage.vw_volumes |
Fields
See the SQL Definition (view DDL) for fields returned by this view.
SQL Definition
- Sqlite3
- Postgres
SELECT
JSON_EXTRACT(properties, '$.provisioningState') as "provisioning_state",
JSON_EXTRACT(properties, '$.status') as "status",
JSON_EXTRACT(properties, '$.labels') as "labels",
JSON_EXTRACT(properties, '$.capacityGiB') as "capacity_gib",
JSON_EXTRACT(properties, '$.volumeType') as "volume_type",
subscriptionId,
resourceGroupName,
poolName,
volumeName
FROM azure.container_storage.volumes
WHERE subscriptionId = 'replace-me' AND resourceGroupName = 'replace-me' AND poolName = 'replace-me';
SELECT
json_extract_path_text(properties, '$.provisioningState') as "provisioning_state",
json_extract_path_text(properties, '$.status') as "status",
json_extract_path_text(properties, '$.labels') as "labels",
json_extract_path_text(properties, '$.capacityGiB') as "capacity_gib",
json_extract_path_text(properties, '$.volumeType') as "volume_type",
subscriptionId,
resourceGroupName,
poolName,
volumeName
FROM azure.container_storage.volumes
WHERE subscriptionId = 'replace-me' AND resourceGroupName = 'replace-me' AND poolName = 'replace-me';