共用方式為


ArmDeploymentResource.GetDeploymentOperationsAsync Method

Definition

Gets all deployments operations for a deployment.

  • Request Path: /{scope}/providers/Microsoft.Resources/deployments/{deploymentName}/operations
  • Operation Id: DeploymentOperations_ListAtScope
  • Default Api Version: 2024-03-01
public virtual Azure.AsyncPageable<Azure.ResourceManager.Resources.Models.ArmDeploymentOperation> GetDeploymentOperationsAsync (int? top = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetDeploymentOperationsAsync : Nullable<int> * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Resources.Models.ArmDeploymentOperation>
override this.GetDeploymentOperationsAsync : Nullable<int> * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Resources.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

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

Applies to