Skip to main content

vw_accounts

Creates, updates, deletes, gets or lists a vw_accounts resource.

Overview

Namevw_accounts
TypeView
Idazure.data_lake_store.vw_accounts

Fields

See the SQL Definition (view DDL) for fields returned by this view.

SQL Definition

SELECT
id as id,
name as name,
location as location,
type as type,
tags as tags,
identity as identity,
JSON_EXTRACT(properties, '$.accountId') as "account_id",
JSON_EXTRACT(properties, '$.provisioningState') as "provisioning_state",
JSON_EXTRACT(properties, '$.state') as "state",
JSON_EXTRACT(properties, '$.creationTime') as "creation_time",
JSON_EXTRACT(properties, '$.lastModifiedTime') as "last_modified_time",
JSON_EXTRACT(properties, '$.endpoint') as "endpoint",
JSON_EXTRACT(properties, '$.defaultGroup') as "default_group",
JSON_EXTRACT(properties, '$.encryptionConfig') as "encryption_config",
JSON_EXTRACT(properties, '$.encryptionState') as "encryption_state",
JSON_EXTRACT(properties, '$.encryptionProvisioningState') as "encryption_provisioning_state",
JSON_EXTRACT(properties, '$.firewallRules') as "firewall_rules",
JSON_EXTRACT(properties, '$.virtualNetworkRules') as "virtual_network_rules",
JSON_EXTRACT(properties, '$.firewallState') as "firewall_state",
JSON_EXTRACT(properties, '$.firewallAllowAzureIps') as "firewall_allow_azure_ips",
JSON_EXTRACT(properties, '$.trustedIdProviders') as "trusted_id_providers",
JSON_EXTRACT(properties, '$.trustedIdProviderState') as "trusted_id_provider_state",
JSON_EXTRACT(properties, '$.newTier') as "new_tier",
JSON_EXTRACT(properties, '$.currentTier') as "current_tier",
subscriptionId,
resourceGroupName,
accountName
FROM azure.data_lake_store.accounts
WHERE subscriptionId = 'replace-me';