Language

ArmDeploymentResource.GetDeploymentOperationsAsync Method

Definition

Gets all deployments operations for a deployment.

  • Request Path. : /{scope}/providers/Microsoft.Resources/deployments/{deploymentName}/operations.
  • Operation Id. : Deployments_DeploymentOperationsListAtScope.
  • Default Api Version. : 2025-04-01.
  • Resource. : ArmDeploymentResource.
public virtual Azure.AsyncPageable<Azure.ResourceManager.Resources.Deployments.Models.ArmDeploymentOperation> GetDeploymentOperationsAsync(int? top = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetDeploymentOperationsAsync : Nullable<int> * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Resources.Deployments.Models.ArmDeploymentOperation>
override this.GetDeploymentOperationsAsync : Nullable<int> * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Resources.Deployments.Models.ArmDeploymentOperation>
Public Overridable Function GetDeploymentOperationsAsync (Optional top As Nullable(Of Integer) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of ArmDeploymentOperation)

Parameters

top
Nullable<Int32>

The number of results to return.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

A collection of ArmDeploymentOperation that may take multiple service requests to iterate over.

Applies to