vw_accounts
Creates, updates, deletes, gets or lists a vw_accounts
resource.
Overview
Name | vw_accounts |
Type | View |
Id | azure.purview.vw_accounts |
Fields
See the SQL Definition (view DDL) for fields returned by this view.
SQL Definition
- Sqlite3
- Postgres
SELECT
id as id,
name as name,
location as location,
identity as identity,
systemData as system_data,
tags as tags,
type as type,
sku as sku,
JSON_EXTRACT(properties, '$.accountStatus') as "account_status",
JSON_EXTRACT(properties, '$.cloudConnectors') as "cloud_connectors",
JSON_EXTRACT(properties, '$.createdAt') as "created_at",
JSON_EXTRACT(properties, '$.createdBy') as "created_by",
JSON_EXTRACT(properties, '$.createdByObjectId') as "created_by_object_id",
JSON_EXTRACT(properties, '$.defaultDomain') as "default_domain",
JSON_EXTRACT(properties, '$.endpoints') as "endpoints",
JSON_EXTRACT(properties, '$.friendlyName') as "friendly_name",
JSON_EXTRACT(properties, '$.ingestionStorage') as "ingestion_storage",
JSON_EXTRACT(properties, '$.managedEventHubState') as "managed_event_hub_state",
JSON_EXTRACT(properties, '$.managedResourceGroupName') as "managed_resource_group_name",
JSON_EXTRACT(properties, '$.managedResources') as "managed_resources",
JSON_EXTRACT(properties, '$.managedResourcesPublicNetworkAccess') as "managed_resources_public_network_access",
JSON_EXTRACT(properties, '$.mergeInfo') as "merge_info",
JSON_EXTRACT(properties, '$.privateEndpointConnections') as "private_endpoint_connections",
JSON_EXTRACT(properties, '$.provisioningState') as "provisioning_state",
JSON_EXTRACT(properties, '$.publicNetworkAccess') as "public_network_access",
JSON_EXTRACT(properties, '$.tenantEndpointState') as "tenant_endpoint_state",
subscriptionId,
resourceGroupName,
accountName
FROM azure.purview.accounts
WHERE subscriptionId = 'replace-me';
SELECT
id as id,
name as name,
location as location,
identity as identity,
systemData as system_data,
tags as tags,
type as type,
sku as sku,
json_extract_path_text(properties, '$.accountStatus') as "account_status",
json_extract_path_text(properties, '$.cloudConnectors') as "cloud_connectors",
json_extract_path_text(properties, '$.createdAt') as "created_at",
json_extract_path_text(properties, '$.createdBy') as "created_by",
json_extract_path_text(properties, '$.createdByObjectId') as "created_by_object_id",
json_extract_path_text(properties, '$.defaultDomain') as "default_domain",
json_extract_path_text(properties, '$.endpoints') as "endpoints",
json_extract_path_text(properties, '$.friendlyName') as "friendly_name",
json_extract_path_text(properties, '$.ingestionStorage') as "ingestion_storage",
json_extract_path_text(properties, '$.managedEventHubState') as "managed_event_hub_state",
json_extract_path_text(properties, '$.managedResourceGroupName') as "managed_resource_group_name",
json_extract_path_text(properties, '$.managedResources') as "managed_resources",
json_extract_path_text(properties, '$.managedResourcesPublicNetworkAccess') as "managed_resources_public_network_access",
json_extract_path_text(properties, '$.mergeInfo') as "merge_info",
json_extract_path_text(properties, '$.privateEndpointConnections') as "private_endpoint_connections",
json_extract_path_text(properties, '$.provisioningState') as "provisioning_state",
json_extract_path_text(properties, '$.publicNetworkAccess') as "public_network_access",
json_extract_path_text(properties, '$.tenantEndpointState') as "tenant_endpoint_state",
subscriptionId,
resourceGroupName,
accountName
FROM azure.purview.accounts
WHERE subscriptionId = 'replace-me';