vw_deleted_accounts
Creates, updates, deletes, gets or lists a vw_deleted_accounts
resource.
Overview
Name | vw_deleted_accounts |
Type | View |
Id | azure.storage.vw_deleted_accounts |
Fields
See the SQL Definition (view DDL) for fields returned by this view.
SQL Definition
- Sqlite3
- Postgres
SELECT
JSON_EXTRACT(properties, '$.storageAccountResourceId') as "storage_account_resource_id",
JSON_EXTRACT(properties, '$.location') as "location",
JSON_EXTRACT(properties, '$.restoreReference') as "restore_reference",
JSON_EXTRACT(properties, '$.creationTime') as "creation_time",
JSON_EXTRACT(properties, '$.deletionTime') as "deletion_time",
subscriptionId,
location,
deletedAccountName
FROM azure.storage.deleted_accounts
WHERE subscriptionId = 'replace-me';
SELECT
json_extract_path_text(properties, '$.storageAccountResourceId') as "storage_account_resource_id",
json_extract_path_text(properties, '$.location') as "location",
json_extract_path_text(properties, '$.restoreReference') as "restore_reference",
json_extract_path_text(properties, '$.creationTime') as "creation_time",
json_extract_path_text(properties, '$.deletionTime') as "deletion_time",
subscriptionId,
location,
deletedAccountName
FROM azure.storage.deleted_accounts
WHERE subscriptionId = 'replace-me';