management_group_subscriptions_subscriptions
Creates, updates, deletes, gets or lists a management_group_subscriptions_subscriptions
resource.
Overview
Name | management_group_subscriptions_subscriptions |
Type | Resource |
Id | azure.management_groups.management_group_subscriptions_subscriptions |
Fields
- vw_management_group_subscriptions_subscriptions
- management_group_subscriptions_subscriptions
Name | Datatype | Description |
---|---|---|
id | text | The fully qualified ID for the subscription. For example, /providers/Microsoft.Management/managementGroups/0000000-0000-0000-0000-000000000000/subscriptions/0000000-0000-0000-0000-000000000001 |
name | text | The stringified id of the subscription. For example, 00000000-0000-0000-0000-000000000000 |
display_name | text | field from the properties object |
groupId | text | field from the properties object |
parent | text | field from the properties object |
state | text | field from the properties object |
subscriptionId | text | field from the properties object |
tenant | text | field from the properties object |
type | text | The type of the resource. For example, Microsoft.Management/managementGroups/subscriptions |
Name | Datatype | Description |
---|---|---|
id | string | The fully qualified ID for the subscription. For example, /providers/Microsoft.Management/managementGroups/0000000-0000-0000-0000-000000000000/subscriptions/0000000-0000-0000-0000-000000000001 |
name | string | The stringified id of the subscription. For example, 00000000-0000-0000-0000-000000000000 |
properties | object | The generic properties of subscription under a management group. |
type | string | The type of the resource. For example, Microsoft.Management/managementGroups/subscriptions |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | groupId, subscriptionId | Retrieves details about given subscription which is associated with the management group. |
SELECT
examples
Retrieves details about given subscription which is associated with the management group.
- vw_management_group_subscriptions_subscriptions
- management_group_subscriptions_subscriptions
SELECT
id,
name,
display_name,
groupId,
parent,
state,
subscriptionId,
tenant,
type
FROM azure.management_groups.vw_management_group_subscriptions_subscriptions
WHERE groupId = '{{ groupId }}'
AND subscriptionId = '{{ subscriptionId }}';
SELECT
id,
name,
properties,
type
FROM azure.management_groups.management_group_subscriptions_subscriptions
WHERE groupId = '{{ groupId }}'
AND subscriptionId = '{{ subscriptionId }}';