vw_accounts
Creates, updates, deletes, gets or lists a vw_accounts
resource.
Overview
Name | vw_accounts |
Type | View |
Id | azure.automation.vw_accounts |
Fields
See the SQL Definition (view DDL) for fields returned by this view.
SQL Definition
- Sqlite3
- Postgres
SELECT
location as location,
etag as etag,
identity as identity,
systemData as system_data,
tags as tags,
JSON_EXTRACT(properties, '$.sku') as "sku",
JSON_EXTRACT(properties, '$.lastModifiedBy') as "last_modified_by",
JSON_EXTRACT(properties, '$.state') as "state",
JSON_EXTRACT(properties, '$.creationTime') as "creation_time",
JSON_EXTRACT(properties, '$.lastModifiedTime') as "last_modified_time",
JSON_EXTRACT(properties, '$.description') as "description",
JSON_EXTRACT(properties, '$.encryption') as "encryption",
JSON_EXTRACT(properties, '$.privateEndpointConnections') as "private_endpoint_connections",
JSON_EXTRACT(properties, '$.publicNetworkAccess') as "public_network_access",
JSON_EXTRACT(properties, '$.disableLocalAuth') as "disable_local_auth",
JSON_EXTRACT(properties, '$.automationHybridServiceUrl') as "automation_hybrid_service_url",
subscriptionId,
resourceGroupName,
automationAccountName
FROM azure.automation.accounts
WHERE subscriptionId = 'replace-me';
SELECT
location as location,
etag as etag,
identity as identity,
systemData as system_data,
tags as tags,
json_extract_path_text(properties, '$.sku') as "sku",
json_extract_path_text(properties, '$.lastModifiedBy') as "last_modified_by",
json_extract_path_text(properties, '$.state') as "state",
json_extract_path_text(properties, '$.creationTime') as "creation_time",
json_extract_path_text(properties, '$.lastModifiedTime') as "last_modified_time",
json_extract_path_text(properties, '$.description') as "description",
json_extract_path_text(properties, '$.encryption') as "encryption",
json_extract_path_text(properties, '$.privateEndpointConnections') as "private_endpoint_connections",
json_extract_path_text(properties, '$.publicNetworkAccess') as "public_network_access",
json_extract_path_text(properties, '$.disableLocalAuth') as "disable_local_auth",
json_extract_path_text(properties, '$.automationHybridServiceUrl') as "automation_hybrid_service_url",
subscriptionId,
resourceGroupName,
automationAccountName
FROM azure.automation.accounts
WHERE subscriptionId = 'replace-me';