Skip to main content

management_group_subscriptions

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

Overview

Namemanagement_group_subscriptions
TypeResource
Idazure.management_groups.management_group_subscriptions

Fields

SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.

Methods

NameAccessible byRequired ParamsDescription
createINSERTgroupId, subscriptionIdAssociates existing subscription with the management group.
deleteDELETEgroupId, subscriptionIdDe-associates subscription from the management group.

INSERT example

Use the following StackQL query and manifest file to create a new management_group_subscriptions resource.

/*+ create */
INSERT INTO azure.management_groups.management_group_subscriptions (
groupId,
subscriptionId
)
SELECT
'{{ groupId }}',
'{{ subscriptionId }}'
;

DELETE example

Deletes the specified management_group_subscriptions resource.

/*+ delete */
DELETE FROM azure.management_groups.management_group_subscriptions
WHERE groupId = '{{ groupId }}'
AND subscriptionId = '{{ subscriptionId }}';