Share via


Deployment Operations - List

Gets all deployments operations for a deployment.

GET https://management.azure.com/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/deployments/{deploymentName}/operations?api-version=2025-04-01
GET https://management.azure.com/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/deployments/{deploymentName}/operations?$top={$top}&api-version=2025-04-01

URI Parameters

Name In Required Type Description
deploymentName
path True

string

minLength: 1
maxLength: 64
pattern: ^[-\w\._\(\)]+$

The name of the deployment.

resourceGroupName
path True

string

minLength: 1
maxLength: 90
pattern: ^[-\w\._\(\)]+$

The name of the resource group. The name is case insensitive.

subscriptionId
path True

string

The Microsoft Azure subscription ID.

api-version
query True

string

The API version to use for this operation.

$top
query

integer (int32)

The number of results to return.

Responses

Name Type Description
200 OK

DeploymentOperationsListResult

OK - Return an array of deployment operations.

Other Status Codes

CloudError

Error response describing why the operation failed.

Security

azure_auth

Azure Active Directory OAuth2 Flow

Type: oauth2
Flow: implicit
Authorization URL: https://login.microsoftonline.com/common/oauth2/authorize

Scopes

Name Description
user_impersonation impersonate your user account

Definitions

Name Description
CloudError

An error response for a resource management request.

DeploymentExtensionConfigItem
DeploymentExtensionDefinition
DeploymentOperation

Deployment operation information.

DeploymentOperationProperties

Deployment operation properties.

DeploymentOperationsListResult

List of deployment operations.

ErrorAdditionalInfo

The resource management error additional info.

ErrorResponse

Error Response

ExtensionConfigPropertyType
HttpMessage

HTTP message.

KeyVaultParameterReference

Azure Key Vault parameter reference.

KeyVaultReference

Azure Key Vault reference.

ProvisioningOperation

The name of the current provisioning operation.

StatusMessage

Operation status message object.

TargetResource

Target resource.

CloudError

An error response for a resource management request.

Name Type Description
error

ErrorResponse

Error Response
Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.)

DeploymentExtensionConfigItem

Name Type Description
keyVaultReference

KeyVaultParameterReference

The Azure Key Vault reference used to retrieve the secret value of the extension config property.

type

ExtensionConfigPropertyType

The value type of the extension config property.

value

The value of the extension config property.

DeploymentExtensionDefinition

Name Type Description
alias

string

The alias of the extension as defined in the deployment template.

config

<string,  DeploymentExtensionConfigItem>

The extension configuration.

configId

string

The extension configuration ID. It uniquely identifies a deployment control plane within an extension.

name

string

The extension name.

version

string

The extension version.

DeploymentOperation

Deployment operation information.

Name Type Description
id

string

Full deployment operation ID.

operationId

string

Deployment operation ID.

properties

DeploymentOperationProperties

Deployment properties.

DeploymentOperationProperties

Deployment operation properties.

Name Type Description
duration

string

The duration of the operation.

provisioningOperation

ProvisioningOperation

The name of the current provisioning operation.

provisioningState

string

The state of the provisioning.

request

HttpMessage

The HTTP request message.

response

HttpMessage

The HTTP response message.

serviceRequestId

string

Deployment operation service request id.

statusCode

string

Operation status code from the resource provider. This property may not be set if a response has not yet been received.

statusMessage

StatusMessage

Operation status message from the resource provider. This property is optional. It will only be provided if an error was received from the resource provider.

targetResource

TargetResource

The target resource.

timestamp

string (date-time)

The date and time of the operation.

DeploymentOperationsListResult

List of deployment operations.

Name Type Description
nextLink

string

The URL to use for getting the next set of results.

value

DeploymentOperation[]

An array of deployment operations.

ErrorAdditionalInfo

The resource management error additional info.

Name Type Description
info

object

The additional info.

type

string

The additional info type.

ErrorResponse

Error Response

Name Type Description
additionalInfo

ErrorAdditionalInfo[]

The error additional info.

code

string

The error code.

details

ErrorResponse[]

The error details.

message

string

The error message.

target

string

The error target.

ExtensionConfigPropertyType

Value Description
String

Property type representing a string value.

Int

Property type representing an integer value.

Bool

Property type representing a boolean value.

Array

Property type representing an array value.

Object

Property type representing an object value.

SecureString

Property type representing a secure string value.

SecureObject

Property type representing a secure object value.

HttpMessage

HTTP message.

Name Type Description
content

object

HTTP message content.

KeyVaultParameterReference

Azure Key Vault parameter reference.

Name Type Description
keyVault

KeyVaultReference

Azure Key Vault reference.

secretName

string

Azure Key Vault secret name.

secretVersion

string

Azure Key Vault secret version.

KeyVaultReference

Azure Key Vault reference.

Name Type Description
id

string

Azure Key Vault resource id.

ProvisioningOperation

The name of the current provisioning operation.

Value Description
NotSpecified

The provisioning operation is not specified.

Create

The provisioning operation is create.

Delete

The provisioning operation is delete.

Waiting

The provisioning operation is waiting.

AzureAsyncOperationWaiting

The provisioning operation is waiting Azure async operation.

ResourceCacheWaiting

The provisioning operation is waiting for resource cache.

Action

The provisioning operation is action.

Read

The provisioning operation is read.

EvaluateDeploymentOutput

The provisioning operation is evaluate output.

DeploymentCleanup

The provisioning operation is cleanup. This operation is part of the 'complete' mode deployment.

StatusMessage

Operation status message object.

Name Type Description
error

ErrorResponse

Error Response
The error reported by the operation.

status

string

Status of the deployment operation.

TargetResource

Target resource.

Name Type Description
apiVersion

string

The API version the resource was deployed with.

extension

DeploymentExtensionDefinition

The extension the resource was deployed with.

id

string

The Azure resource ID of the resource.

identifiers

object

The extensible resource identifiers.

resourceName

string

The name of the resource.

resourceType

string

The type of the resource.

symbolicName

string

The symbolic name of the resource as defined in the deployment template.