Partilhar via


NetworkExtensions.GetExpressRoutePortsLocationAsync Método

Definição

Recupera um único local de emparelhamento do ExpressRoutePort, incluindo a lista de larguras de banda disponíveis no local de emparelhamento.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/providers/Microsoft.Network/ExpressRoutePortsLocations/{locationName}
  • Operação IdExpressRoutePortsLocations_Get
public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Network.ExpressRoutePortsLocationResource>> GetExpressRoutePortsLocationAsync (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, string locationName, System.Threading.CancellationToken cancellationToken = default);
static member GetExpressRoutePortsLocationAsync : Azure.ResourceManager.Resources.SubscriptionResource * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Network.ExpressRoutePortsLocationResource>>
<Extension()>
Public Function GetExpressRoutePortsLocationAsync (subscriptionResource As SubscriptionResource, locationName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ExpressRoutePortsLocationResource))

Parâmetros

subscriptionResource
SubscriptionResource

A SubscriptionResource instância na qual o método será executado.

locationName
String

Nome do local de emparelhamento do ExpressRoutePort solicitado.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

locationName é uma cadeia de caracteres vazia e era esperado que não estivesse vazio.

locationName é nulo.

Aplica-se a