az deployment operation sub

Manage deployment operations at subscription scope.

Commands

Name Description Type Status
az deployment operation sub list

List deployment operations at subscription scope.

Core Preview
az deployment operation sub show

Show a deployment operation at subscription scope.

Core Preview

az deployment operation sub list

Preview

List deployment operations at subscription scope.

List every operation of a subscription-scoped Azure Resource Manager deployment, mirroring az deployment operation sub list. --name (required, alias -n) is the deployment name and --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 sub list --name
                                 [--profile]
                                 [--subscription-id]

Examples

List the operations of a subscription-scoped deployment

az deployment operation sub list --name myDeployment

List operations in an explicit subscription

az deployment operation sub list -n myDeployment --subscription-id 00000000-0000-0000-0000-000000000000

Required Parameters

--name -n

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.

--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 sub show

Preview

Show a deployment operation at subscription scope.

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

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

Examples

Show a single operation of a subscription-scoped deployment

az deployment operation sub show --name myDeployment --operation-ids 0123456789012345678

Show several operations at once

az deployment operation sub show -n myDeployment --operation-ids 0123456789012345678 9876543210987654321

Required Parameters

--name -n

The deployment name.

--operation-ids

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.

--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.