vw_snapshots
Creates, updates, deletes, gets or lists a vw_snapshots
resource.
Overview
Name | vw_snapshots |
Type | View |
Id | azure_isv.netapp.vw_snapshots |
Fields
See the SQL Definition (view DDL) for fields returned by this view.
SQL Definition
- Sqlite3
- Postgres
SELECT
location as location,
JSON_EXTRACT(properties, '$.snapshotId') as "snapshot_id",
JSON_EXTRACT(properties, '$.created') as "created",
JSON_EXTRACT(properties, '$.provisioningState') as "provisioning_state",
subscriptionId,
resourceGroupName,
accountName,
poolName,
volumeName,
snapshotName
FROM azure_isv.netapp.snapshots
WHERE subscriptionId = 'replace-me' AND resourceGroupName = 'replace-me' AND accountName = 'replace-me' AND poolName = 'replace-me' AND volumeName = 'replace-me';
SELECT
location as location,
json_extract_path_text(properties, '$.snapshotId') as "snapshot_id",
json_extract_path_text(properties, '$.created') as "created",
json_extract_path_text(properties, '$.provisioningState') as "provisioning_state",
subscriptionId,
resourceGroupName,
accountName,
poolName,
volumeName,
snapshotName
FROM azure_isv.netapp.snapshots
WHERE subscriptionId = 'replace-me' AND resourceGroupName = 'replace-me' AND accountName = 'replace-me' AND poolName = 'replace-me' AND volumeName = 'replace-me';