az account management-group subscription
Subscription operations for Management Groups.
Name | Description | Type | Status |
---|---|---|---|
az account management-group subscription add |
Add a subscription to a management group. |
Core | GA |
az account management-group subscription remove |
Remove an existing subscription from a management group. |
Core | GA |
az account management-group subscription show |
Show the details of a subscription under a known management group. |
Core | GA |
az account management-group subscription show-sub-under-mg |
Get the subscription under a management group. |
Core | GA |
Add a subscription to a management group.
az account management-group subscription add --name
--subscription
Add a subscription to a management group.
az account management-group subscription add --name GroupName --subscription Subscription
Name of the management group.
Subscription Id or Name.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
Remove an existing subscription from a management group.
az account management-group subscription remove --name
--subscription
Remove an existing subscription from a management group.
az account management-group subscription remove --name GroupName --subscription Subscription
Name of the management group.
Subscription Id or Name.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
Show the details of a subscription under a known management group.
az account management-group subscription show --name
--subscription
Show the details of a subscription under a known management group.
az account management-group subscription show --name GroupName --subscription Subscription
Name of the management group.
Subscription Id or Name.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
Get the subscription under a management group.
az account management-group subscription show-sub-under-mg --name
Get the subscription under a management group.
az account management-group subscription show-sub-under-mg --name GroupName
Name of the management group.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
Azure CLI feedback
Azure CLI is an open source project. Select a link to provide feedback: