az monitor action-group identity
Manage identities of the action-group.
Commands
Name | Description | Type | Status |
---|---|---|---|
az monitor action-group identity assign |
Assign the user or system managed identities. |
Core | GA |
az monitor action-group identity remove |
Remove the user or system managed identities. |
Core | GA |
az monitor action-group identity show |
Show the details of managed identities. |
Core | GA |
az monitor action-group identity assign
Assign the user or system managed identities.
az monitor action-group identity assign --action-group-name --name
--resource-group
[--mi-system-assigned --system-assigned]
[--mi-user-assigned --user-assigned]
Examples
Add a system assigned managed identity to an existing action group.
az monitor action-group identity assign --name ag --resource-group rg --system-assigned
Add a user assigned managed identity to an existing action group.
az monitor action-group identity assign --name ag --resource-group rg --user-assigned MyAssignedId
Add system assigned identity and a user assigned managed identity to an existing action group.
az monitor action-group identity assign --name ag --resource-group rg --system-assigned --user-assigned MyAssignedId
Required Parameters
The name of the action group.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
Set the system managed identity.
Property | Value |
---|---|
Parameter group: | ActionGroup.identity Arguments |
Set the user managed identities. Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.
Property | Value |
---|---|
Parameter group: | ActionGroup.identity Arguments |
Global Parameters
Increase logging verbosity to show all debug logs.
Property | Value |
---|---|
Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
Property | Value |
---|---|
Default value: | False |
Output format.
Property | Value |
---|---|
Default value: | json |
Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
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.
Property | Value |
---|---|
Default value: | False |
az monitor action-group identity remove
Remove the user or system managed identities.
az monitor action-group identity remove --action-group-name --name
--resource-group
[--mi-system-assigned --system-assigned]
[--mi-user-assigned --user-assigned]
[--yes]
Examples
Remove a system assigned managed identity from an existing action group.
az monitor action-group identity remove --name ag --resource-group rg --system-assigned
Remove a user assigned managed identity from an existing action group.
az monitor action-group identity remove --name ag --resource-group rg --user-assigned MyAssignedId
Remove all user assigned managed identities from an existing action group.
az monitor action-group identity remove --name ag --resource-group rg --user-assigned
Required Parameters
The name of the action group.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
Set the system managed identity.
Property | Value |
---|---|
Parameter group: | ActionGroup.identity Arguments |
Set the user managed identities. Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.
Property | Value |
---|---|
Parameter group: | ActionGroup.identity Arguments |
Do not prompt for confirmation.
Property | Value |
---|---|
Default value: | False |
Global Parameters
Increase logging verbosity to show all debug logs.
Property | Value |
---|---|
Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
Property | Value |
---|---|
Default value: | False |
Output format.
Property | Value |
---|---|
Default value: | json |
Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
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.
Property | Value |
---|---|
Default value: | False |
az monitor action-group identity show
Show the details of managed identities.
az monitor action-group identity show --action-group-name --name
--resource-group
Examples
Show the managed identities of an existing action group.
az monitor action-group identity show --name ag --resource-group rg
Required Parameters
The name of the action group.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Global Parameters
Increase logging verbosity to show all debug logs.
Property | Value |
---|---|
Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
Property | Value |
---|---|
Default value: | False |
Output format.
Property | Value |
---|---|
Default value: | json |
Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
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.
Property | Value |
---|---|
Default value: | False |