Compartilhar via


MockableComputeSubscriptionResource.GetProximityPlacementGroups Method

Definition

Lists all proximity placement groups in a subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Compute/proximityPlacementGroups
  • Operation Id: ProximityPlacementGroups_ListBySubscription
  • Default Api Version: 2024-07-01
  • Resource: ProximityPlacementGroupResource
public virtual Azure.Pageable<Azure.ResourceManager.Compute.ProximityPlacementGroupResource> GetProximityPlacementGroups (System.Threading.CancellationToken cancellationToken = default);
abstract member GetProximityPlacementGroups : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Compute.ProximityPlacementGroupResource>
override this.GetProximityPlacementGroups : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Compute.ProximityPlacementGroupResource>
Public Overridable Function GetProximityPlacementGroups (Optional cancellationToken As CancellationToken = Nothing) As Pageable(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