Partilhar via


PeeringExtensions.GetPeeringLocationsAsync Método

Definição

Lista todos os locais de emparelhamento disponíveis para o tipo de emparelhamento especificado.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/providers/Microsoft.Peering/peeringLocations
  • Operação IdPeeringLocations_List
public static Azure.AsyncPageable<Azure.ResourceManager.Peering.Models.PeeringLocation> GetPeeringLocationsAsync (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 GetPeeringLocationsAsync : Azure.ResourceManager.Resources.SubscriptionResource * Azure.ResourceManager.Peering.Models.PeeringLocationsKind * Nullable<Azure.ResourceManager.Peering.Models.PeeringLocationsDirectPeeringType> * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Peering.Models.PeeringLocation>
<Extension()>
Public Function GetPeeringLocationsAsync (subscriptionResource As SubscriptionResource, kind As PeeringLocationsKind, Optional directPeeringType As Nullable(Of PeeringLocationsDirectPeeringType) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of PeeringLocation)

Parâmetros

subscriptionResource
SubscriptionResource

A SubscriptionResource instância em que o método será executado.

kind
PeeringLocationsKind

O tipo de emparelhamento.

directPeeringType
Nullable<PeeringLocationsDirectPeeringType>

O tipo de emparelhamento direto.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Uma coleção assíncrona de PeeringLocation que pode levar várias solicitações de serviço para iterar.

Aplica-se a