vw_kusto_pool_database_principal_assignments
Creates, updates, deletes, gets or lists a vw_kusto_pool_database_principal_assignments
resource.
Overview
Name | vw_kusto_pool_database_principal_assignments |
Type | View |
Id | azure.synapse.vw_kusto_pool_database_principal_assignments |
Fields
See the SQL Definition (view DDL) for fields returned by this view.
SQL Definition
- Sqlite3
- Postgres
SELECT
systemData as system_data,
JSON_EXTRACT(properties, '$.principalId') as "principal_id",
JSON_EXTRACT(properties, '$.role') as "role",
JSON_EXTRACT(properties, '$.tenantId') as "tenant_id",
JSON_EXTRACT(properties, '$.principalType') as "principal_type",
JSON_EXTRACT(properties, '$.tenantName') as "tenant_name",
JSON_EXTRACT(properties, '$.principalName') as "principal_name",
JSON_EXTRACT(properties, '$.provisioningState') as "provisioning_state",
JSON_EXTRACT(properties, '$.aadObjectId') as "aad_object_id",
subscriptionId,
resourceGroupName,
workspaceName,
kustoPoolName,
databaseName,
principalAssignmentName
FROM azure.synapse.kusto_pool_database_principal_assignments
WHERE subscriptionId = 'replace-me' AND resourceGroupName = 'replace-me' AND workspaceName = 'replace-me' AND kustoPoolName = 'replace-me' AND databaseName = 'replace-me';
SELECT
systemData as system_data,
json_extract_path_text(properties, '$.principalId') as "principal_id",
json_extract_path_text(properties, '$.role') as "role",
json_extract_path_text(properties, '$.tenantId') as "tenant_id",
json_extract_path_text(properties, '$.principalType') as "principal_type",
json_extract_path_text(properties, '$.tenantName') as "tenant_name",
json_extract_path_text(properties, '$.principalName') as "principal_name",
json_extract_path_text(properties, '$.provisioningState') as "provisioning_state",
json_extract_path_text(properties, '$.aadObjectId') as "aad_object_id",
subscriptionId,
resourceGroupName,
workspaceName,
kustoPoolName,
databaseName,
principalAssignmentName
FROM azure.synapse.kusto_pool_database_principal_assignments
WHERE subscriptionId = 'replace-me' AND resourceGroupName = 'replace-me' AND workspaceName = 'replace-me' AND kustoPoolName = 'replace-me' AND databaseName = 'replace-me';