**Autogenerated function**
De-Associate subscription from management group
Args:
name(str): The identifier for this state.
management_group_id(str): management group unique id.
subscription_id: subscription unique id.
Returns:
Dict
Examples:
.. code-block:: sls
detach_subscription_from_mg_absent:
azure.subscription.attach_subscriptions.absent:
- name: value
- management_group_id: value
- subscription_id: value
**Autogenerated function**
Describe the resource in a way that can be recreated/managed with the corresponding "present" function
List all subscriptions with respective alias details
Returns:
Dict[str, Any]
Examples:
.. code-block:: sls
$ idem describe azure.subscription.attach_subscriptions
**Autogenerated function**
Create or update attached subscription to management group
Args:
name(str): The identifier for this state.
management_group_id(str): management group id to which subscription needs to be associated.
subscription_id: subscription unique id
resource_id: resource unique id
Returns:
Dict
Examples:
.. code-block:: sls
attach_subscription_to_mg_present:
azure.subscription.attach_subscriptions.present:
- name: value
- management_group_id: value
- subscription_id: value