az deployment operation group

Manage deployment operations at resource group scope.

Commands

Name Description Type Status
az deployment operation group list

List deployment operations at resource group scope.

Core Preview
az deployment operation group show

Show a deployment operation at resource group scope.

Core Preview

az deployment operation group list

Preview

List deployment operations at resource group scope.

List every operation of a resource-group-scoped Azure Resource Manager deployment, mirroring az deployment operation group list. --resource-group (required, alias -g) is the resource group that contains the deployment and --name (required, alias -n) is the deployment name. --subscription-id (optional) selects the subscription, defaulting to the active profile's subscription. 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 group list --name
                                   --resource-group
                                   [--profile]
                                   [--subscription-id]

Examples

List the operations of a resource-group deployment

az deployment operation group list --resource-group myResourceGroup --name myDeployment

List operations using short flags

az deployment operation group list -g myResourceGroup -n myDeployment

Required Parameters

--name -n

The deployment name.

--resource-group -g

The name of the resource group.

Optional Parameters

The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.

--profile

Use the named profile for this command (overrides the active profile).

--subscription-id

Azure Subscription Id. Defaults to the active profile's subscription.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h -help -? --?

Show help for the command or group and exit.

--no-cache

Bypass the extension discovery cache and reload extensions from disk.

--output -o

Output format.

Property Value
Default value: json
Accepted values: json, jsonc, table, tsv, yaml, yamlc
--query

JMESPath query string to filter/project the command result before rendering.

az deployment operation group show

Preview

Show a deployment operation at resource group scope.

Get one or more operations of a resource-group-scoped Azure Resource Manager deployment, mirroring az deployment operation group show. --resource-group (required, alias -g) is the resource 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 group list. --subscription-id (optional) selects the subscription, defaulting to the active profile's subscription.

az deployment operation group show --name
                                   --operation-ids
                                   --resource-group
                                   [--profile]
                                   [--subscription-id]

Examples

Show a single operation of a resource-group deployment

az deployment operation group show --resource-group myResourceGroup --name myDeployment --operation-ids 0123456789012345678

Show several operations at once

az deployment operation group show -g myResourceGroup -n myDeployment --operation-ids 0123456789012345678 9876543210987654321

Find the failing operations, then inspect them

az deployment operation group list -g myResourceGroup -n myDeployment --query "[?properties.provisioningState=='Failed'].operationId"
az deployment operation group show -g myResourceGroup -n myDeployment --operation-ids 0123456789012345678

Required Parameters

--name -n

The deployment name.

--operation-ids

A space-separated list of operation ids to show.

--resource-group -g

The name of the resource group.

Optional Parameters

The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.

--profile

Use the named profile for this command (overrides the active profile).

--subscription-id

Azure Subscription Id. Defaults to the active profile's subscription.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h -help -? --?

Show help for the command or group and exit.

--no-cache

Bypass the extension discovery cache and reload extensions from disk.

--output -o

Output format.

Property Value
Default value: json
Accepted values: json, jsonc, table, tsv, yaml, yamlc
--query

JMESPath query string to filter/project the command result before rendering.