vw_access_policies
Creates, updates, deletes, gets or lists a vw_access_policies
resource.
Overview
Name | vw_access_policies |
Type | View |
Id | azure.time_series_insights.vw_access_policies |
Fields
See the SQL Definition (view DDL) for fields returned by this view.
SQL Definition
- Sqlite3
- Postgres
SELECT
id as id,
name as name,
type as type,
JSON_EXTRACT(properties, '$.principalObjectId') as "principal_object_id",
JSON_EXTRACT(properties, '$.description') as "description",
JSON_EXTRACT(properties, '$.roles') as "roles",
subscriptionId,
resourceGroupName,
environmentName,
accessPolicyName
FROM azure.time_series_insights.access_policies
WHERE subscriptionId = 'replace-me' AND resourceGroupName = 'replace-me' AND environmentName = 'replace-me';
SELECT
id as id,
name as name,
type as type,
json_extract_path_text(properties, '$.principalObjectId') as "principal_object_id",
json_extract_path_text(properties, '$.description') as "description",
json_extract_path_text(properties, '$.roles') as "roles",
subscriptionId,
resourceGroupName,
environmentName,
accessPolicyName
FROM azure.time_series_insights.access_policies
WHERE subscriptionId = 'replace-me' AND resourceGroupName = 'replace-me' AND environmentName = 'replace-me';