Freigeben über


PeeringExtensions.GetPeeringLocations Methode

Definition

Listet alle verfügbaren Peeringspeicherorte für die angegebene Peeringart auf.

  • Anforderungspfad/abonnements/{subscriptionId}/providers/Microsoft.Peering/peeringLocations
  • Vorgangs-IdPeeringLocations_List
public static Azure.Pageable<Azure.ResourceManager.Peering.Models.PeeringLocation> GetPeeringLocations (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.ResourceManager.Peering.Models.PeeringLocationsKind kind, Azure.ResourceManager.Peering.Models.PeeringLocationsDirectPeeringType? directPeeringType = default, System.Threading.CancellationToken cancellationToken = default);
static member GetPeeringLocations : Azure.ResourceManager.Resources.SubscriptionResource * Azure.ResourceManager.Peering.Models.PeeringLocationsKind * Nullable<Azure.ResourceManager.Peering.Models.PeeringLocationsDirectPeeringType> * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Peering.Models.PeeringLocation>
<Extension()>
Public Function GetPeeringLocations (subscriptionResource As SubscriptionResource, kind As PeeringLocationsKind, Optional directPeeringType As Nullable(Of PeeringLocationsDirectPeeringType) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of PeeringLocation)

Parameter

subscriptionResource
SubscriptionResource

Der SubscriptionResource instance die -Methode ausgeführt wird.

kind
PeeringLocationsKind

Die Art des Peerings.

directPeeringType
Nullable<PeeringLocationsDirectPeeringType>

Der Typ des direkten Peerings.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Eine Sammlung von PeeringLocation , die mehrere Dienstanforderungen durchlaufen kann.

Gilt für: