Skip to main content

management_group_subscriptions_subscriptions

Creates, updates, deletes, gets or lists a management_group_subscriptions_subscriptions resource.

Overview

Namemanagement_group_subscriptions_subscriptions
TypeResource
Idazure.management_groups.management_group_subscriptions_subscriptions

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringThe fully qualified ID for the subscription. For example, /providers/Microsoft.Management/managementGroups/0000000-0000-0000-0000-000000000000/subscriptions/0000000-0000-0000-0000-000000000001
namestringThe stringified id of the subscription. For example, 00000000-0000-0000-0000-000000000000
propertiesobjectThe generic properties of subscription under a management group. (title: Properties)
typestringThe type of the resource. For example, Microsoft.Management/managementGroups/subscriptions

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectgroupId, subscriptionIdCache-ControlRetrieves details about given subscription which is associated with the management group.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
groupIdstringManagement Group ID.
subscriptionIdstringSubscription ID.
Cache-ControlstringIndicates whether the request should utilize any caches. Populate the header with 'no-cache' value to bypass existing caches.

SELECT examples

Retrieves details about given subscription which is associated with the management group.

SELECT
id,
name,
properties,
type
FROM azure.management_groups.management_group_subscriptions_subscriptions
WHERE groupId = '{{ groupId }}' -- required
AND subscriptionId = '{{ subscriptionId }}' -- required
AND Cache-Control = '{{ Cache-Control }}'
;