Compartilhar via


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