Partilhar via


NetworkExtensions.GetExpressRoutePortsLocation 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 Azure.Response<Azure.ResourceManager.Network.ExpressRoutePortsLocationResource> GetExpressRoutePortsLocation (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, string locationName, System.Threading.CancellationToken cancellationToken = default);
static member GetExpressRoutePortsLocation : Azure.ResourceManager.Resources.SubscriptionResource * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Network.ExpressRoutePortsLocationResource>
<Extension()>
Public Function GetExpressRoutePortsLocation (subscriptionResource As SubscriptionResource, locationName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of ExpressRoutePortsLocationResource)

Parâmetros

subscriptionResource
SubscriptionResource

A SubscriptionResource instância em que 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 esperava-se que não estivesse vazia.

locationName é nulo.

Aplica-se a