Condividi tramite


ArmDeploymentCollection.GetAllAsync Method

Definition

Get all the deployments at the given scope.

  • Request Path: /{scope}/providers/Microsoft.Resources/deployments
  • Operation Id: Deployments_ListAtScope
  • Default Api Version: 2024-03-01
  • Resource: ArmDeploymentResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.Resources.ArmDeploymentResource> GetAllAsync (string filter = default, int? top = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : string * Nullable<int> * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Resources.ArmDeploymentResource>
override this.GetAllAsync : string * Nullable<int> * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Resources.ArmDeploymentResource>
Public Overridable Function GetAllAsync (Optional filter As String = Nothing, Optional top As Nullable(Of Integer) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of ArmDeploymentResource)

Parameters

filter
String

The filter to apply on the operation. For example, you can use $filter=provisioningState eq '{state}'.

top
Nullable<Int32>

The number of results to get. If null is passed, returns all deployments.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to