Partilhar via


ExpressRouteProviderPortCollection.GetAsync(String, CancellationToken) 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 virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Network.ExpressRouteProviderPortResource>> GetAsync (string providerport, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Network.ExpressRouteProviderPortResource>>
override this.GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Network.ExpressRouteProviderPortResource>>
Public Overridable Function GetAsync (providerport As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ExpressRouteProviderPortResource))

Parâmetros

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 esperava-se que não estivesse vazia.

providerport é nulo.

Aplica-se a