Freigeben über


ComputeExtensions.GetProximityPlacementGroups Methode

Definition

Überlädt

GetProximityPlacementGroups(SubscriptionResource, CancellationToken)

Listet alle Näherungsplatzierungsgruppen in einem Abonnement auf.

  • Anfordern von Path/subscriptions/{subscriptionId}/providers/Microsoft.Compute/proximityPlacementGroups
  • Vorgang IdProximityPlacementGroups_ListBySubscription
GetProximityPlacementGroups(ResourceGroupResource)

Ruft eine Auflistung von ProximityPlacementGroupResources in resourceGroupResource ab.

GetProximityPlacementGroups(SubscriptionResource, CancellationToken)

Listet alle Näherungsplatzierungsgruppen in einem Abonnement auf.

  • Anfordern von Path/subscriptions/{subscriptionId}/providers/Microsoft.Compute/proximityPlacementGroups
  • Vorgang IdProximityPlacementGroups_ListBySubscription
public static Azure.Pageable<Azure.ResourceManager.Compute.ProximityPlacementGroupResource> GetProximityPlacementGroups (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member GetProximityPlacementGroups : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Compute.ProximityPlacementGroupResource>
<Extension()>
Public Function GetProximityPlacementGroups (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of ProximityPlacementGroupResource)

Parameter

subscriptionResource
SubscriptionResource

Der SubscriptionResource instance, für den die Methode ausgeführt wird.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Eine Sammlung von, bei der ProximityPlacementGroupResource möglicherweise mehrere Dienstanforderungen zum Durchlaufen verwendet werden.

Gilt für:

GetProximityPlacementGroups(ResourceGroupResource)

Ruft eine Auflistung von ProximityPlacementGroupResources in resourceGroupResource ab.

public static Azure.ResourceManager.Compute.ProximityPlacementGroupCollection GetProximityPlacementGroups (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource);
static member GetProximityPlacementGroups : Azure.ResourceManager.Resources.ResourceGroupResource -> Azure.ResourceManager.Compute.ProximityPlacementGroupCollection
<Extension()>
Public Function GetProximityPlacementGroups (resourceGroupResource As ResourceGroupResource) As ProximityPlacementGroupCollection

Parameter

resourceGroupResource
ResourceGroupResource

Der ResourceGroupResource instance, für den die Methode ausgeführt wird.

Gibt zurück

Ein Objekt, das die Auflistung von ProximityPlacementGroupResources und deren Vorgänge über eine ProximityPlacementGroupResource darstellt.

Gilt für: