Compartilhar via


NetworkExtensions.GetExpressRouteProviderPort Método

Definição

Recupera detalhes de uma porta do provedor.

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

Parâmetros

subscriptionResource
SubscriptionResource

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

providerport
String

O nome da porta do provedor.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

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

providerport é nulo.

Aplica-se a