ProximityPlacementGroupCollection.GetAllAsync(CancellationToken) Method

Definition

Lists all proximity placement groups in a resource group.

  • Request Path. : /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/proximityPlacementGroups.
  • Operation Id. : ProximityPlacementGroups_ListByResourceGroup.
  • Default Api Version. : 2026-03-01.
public virtual Azure.AsyncPageable<Azure.ResourceManager.Compute.ProximityPlacementGroupResource> GetAllAsync(System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Compute.ProximityPlacementGroupResource>
override this.GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Compute.ProximityPlacementGroupResource>
Public Overridable Function GetAllAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of ProximityPlacementGroupResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to