Language

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. : 2025-04-01.
public virtual Azure.AsyncPageable<Azure.ResourceManager.Resources.Deployments.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.Deployments.ArmDeploymentResource>
override this.GetAllAsync : string * Nullable<int> * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Resources.Deployments.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

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

Applies to