vw_management_group_subscriptions_subscriptions
Creates, updates, deletes, gets or lists a vw_management_group_subscriptions_subscriptions
resource.
Overview
Name | vw_management_group_subscriptions_subscriptions |
Type | View |
Id | azure.management_groups.vw_management_group_subscriptions_subscriptions |
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, '$.tenant') as "tenant",
JSON_EXTRACT(properties, '$.displayName') as "display_name",
JSON_EXTRACT(properties, '$.parent') as "parent",
JSON_EXTRACT(properties, '$.state') as "state",
groupId,
subscriptionId
FROM azure.management_groups.management_group_subscriptions_subscriptions
WHERE groupId = 'replace-me' AND subscriptionId = 'replace-me';
SELECT
id as id,
name as name,
type as type,
json_extract_path_text(properties, '$.tenant') as "tenant",
json_extract_path_text(properties, '$.displayName') as "display_name",
json_extract_path_text(properties, '$.parent') as "parent",
json_extract_path_text(properties, '$.state') as "state",
groupId,
subscriptionId
FROM azure.management_groups.management_group_subscriptions_subscriptions
WHERE groupId = 'replace-me' AND subscriptionId = 'replace-me';