management_group_subscriptions
Creates, updates, deletes, gets or lists a management_group_subscriptions
resource.
Overview
Name | management_group_subscriptions |
Type | Resource |
Id | azure.management_groups.management_group_subscriptions |
Fields
SELECT
not supported for this resource, use SHOW METHODS
to view available operations for the resource.
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
create | INSERT | groupId, subscriptionId | Associates existing subscription with the management group. |
delete | DELETE | groupId, subscriptionId | De-associates subscription from the management group. |
INSERT
example
Use the following StackQL query and manifest file to create a new management_group_subscriptions
resource.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure.management_groups.management_group_subscriptions (
groupId,
subscriptionId
)
SELECT
'{{ groupId }}',
'{{ subscriptionId }}'
;
- name: your_resource_model_name
props: []
DELETE
example
Deletes the specified management_group_subscriptions
resource.
/*+ delete */
DELETE FROM azure.management_groups.management_group_subscriptions
WHERE groupId = '{{ groupId }}'
AND subscriptionId = '{{ subscriptionId }}';