vw_snapshot_policies
Creates, updates, deletes, gets or lists a vw_snapshot_policies
resource.
Overview
Name | vw_snapshot_policies |
Type | View |
Id | azure_isv.netapp.vw_snapshot_policies |
Fields
See the SQL Definition (view DDL) for fields returned by this view.
SQL Definition
- Sqlite3
- Postgres
SELECT
location as location,
tags as tags,
etag as etag,
JSON_EXTRACT(properties, '$.hourlySchedule') as "hourly_schedule",
JSON_EXTRACT(properties, '$.dailySchedule') as "daily_schedule",
JSON_EXTRACT(properties, '$.weeklySchedule') as "weekly_schedule",
JSON_EXTRACT(properties, '$.monthlySchedule') as "monthly_schedule",
JSON_EXTRACT(properties, '$.enabled') as "enabled",
JSON_EXTRACT(properties, '$.provisioningState') as "provisioning_state",
subscriptionId,
resourceGroupName,
accountName,
snapshotPolicyName
FROM azure_isv.netapp.snapshot_policies
WHERE subscriptionId = 'replace-me' AND resourceGroupName = 'replace-me' AND accountName = 'replace-me';
SELECT
location as location,
tags as tags,
etag as etag,
json_extract_path_text(properties, '$.hourlySchedule') as "hourly_schedule",
json_extract_path_text(properties, '$.dailySchedule') as "daily_schedule",
json_extract_path_text(properties, '$.weeklySchedule') as "weekly_schedule",
json_extract_path_text(properties, '$.monthlySchedule') as "monthly_schedule",
json_extract_path_text(properties, '$.enabled') as "enabled",
json_extract_path_text(properties, '$.provisioningState') as "provisioning_state",
subscriptionId,
resourceGroupName,
accountName,
snapshotPolicyName
FROM azure_isv.netapp.snapshot_policies
WHERE subscriptionId = 'replace-me' AND resourceGroupName = 'replace-me' AND accountName = 'replace-me';