vw_accounts
Creates, updates, deletes, gets or lists a vw_accounts
resource.
Overview
Name | vw_accounts |
Type | View |
Id | azure_extras.video_indexer.vw_accounts |
Fields
See the SQL Definition (view DDL) for fields returned by this view.
SQL Definition
- Sqlite3
- Postgres
SELECT
location as location,
identity as identity,
systemData as system_data,
tags as tags,
JSON_EXTRACT(properties, '$.tenantId') as "tenant_id",
JSON_EXTRACT(properties, '$.accountId') as "account_id",
JSON_EXTRACT(properties, '$.accountName') as "account_name",
JSON_EXTRACT(properties, '$.storageServices') as "storage_services",
JSON_EXTRACT(properties, '$.totalSecondsIndexed') as "total_seconds_indexed",
JSON_EXTRACT(properties, '$.provisioningState') as "provisioning_state",
subscriptionId,
resourceGroupName,
accountName
FROM azure_extras.video_indexer.accounts
WHERE subscriptionId = 'replace-me';
SELECT
location as location,
identity as identity,
systemData as system_data,
tags as tags,
json_extract_path_text(properties, '$.tenantId') as "tenant_id",
json_extract_path_text(properties, '$.accountId') as "account_id",
json_extract_path_text(properties, '$.accountName') as "account_name",
json_extract_path_text(properties, '$.storageServices') as "storage_services",
json_extract_path_text(properties, '$.totalSecondsIndexed') as "total_seconds_indexed",
json_extract_path_text(properties, '$.provisioningState') as "provisioning_state",
subscriptionId,
resourceGroupName,
accountName
FROM azure_extras.video_indexer.accounts
WHERE subscriptionId = 'replace-me';