az deployment operation mg
Manage deployment operations at management group scope.
Commands
| Name | Description | Type | Status |
|---|---|---|---|
| az deployment operation mg list |
List deployment operations at management group scope. |
Core | Preview |
| az deployment operation mg show |
Show a deployment operation at management group scope. |
Core | Preview |
az deployment operation mg list
List deployment operations at management group scope.
List every operation of a management-group-scoped Azure Resource Manager deployment, mirroring az deployment operation mg list. --management-group-id (required, alias -m) is the management group that contains the deployment and --name (required, alias -n) is the deployment name. Each operation reports its provisioning operation and state, timestamp, duration, status code and message, target resource, and the captured HTTP request and response. All result pages are retrieved and returned as a single array.
az deployment operation mg list --management-group-id
--name
[--profile]
Examples
List the operations of a management-group-scoped deployment
az deployment operation mg list --management-group-id myManagementGroup --name myDeployment
List operations using short flags
az deployment operation mg list -m myManagementGroup -n myDeployment
Required Parameters
The management group id.
The deployment 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.
Use the named profile for this command (overrides the active profile).
Global Parameters
Increase logging verbosity to show all debug logs.
Show help for the command or group and exit.
Bypass the extension discovery cache and reload extensions from disk.
Output format.
| Property | Value |
|---|---|
| Default value: | json |
| Accepted values: | json, jsonc, table, tsv, yaml, yamlc |
JMESPath query string to filter/project the command result before rendering.
az deployment operation mg show
Show a deployment operation at management group scope.
Get one or more operations of a management-group-scoped Azure Resource Manager deployment, mirroring az deployment operation mg show. --management-group-id (required, alias -m) is the management group that contains the deployment, --name (required, alias -n) is the deployment name, and --operation-ids (required) is a space-separated list of operation ids to retrieve. Each id is fetched individually and the results are returned as a single array. Operation ids come from az deployment operation mg list.
az deployment operation mg show --management-group-id
--name
--operation-ids
[--profile]
Examples
Show a single operation of a management-group-scoped deployment
az deployment operation mg show --management-group-id myManagementGroup --name myDeployment --operation-ids 0123456789012345678
Show several operations at once
az deployment operation mg show -m myManagementGroup -n myDeployment --operation-ids 0123456789012345678 9876543210987654321
Required Parameters
The management group id.
The deployment name.
A space-separated list of operation ids to show.
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
Use the named profile for this command (overrides the active profile).
Global Parameters
Increase logging verbosity to show all debug logs.
Show help for the command or group and exit.
Bypass the extension discovery cache and reload extensions from disk.
Output format.
| Property | Value |
|---|---|
| Default value: | json |
| Accepted values: | json, jsonc, table, tsv, yaml, yamlc |
JMESPath query string to filter/project the command result before rendering.