Share via


ArmDeploymentCollection.GetAll 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.Pageable<Azure.ResourceManager.Resources.ArmDeploymentResource> GetAll (string filter = default, int? top = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAll : string * Nullable<int> * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Resources.ArmDeploymentResource>
override this.GetAll : string * Nullable<int> * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Resources.ArmDeploymentResource>
Public Overridable Function GetAll (Optional filter As String = Nothing, Optional top As Nullable(Of Integer) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Pageable(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