Partilhar via


ExpressRoutePortCollection.Get(String, CancellationToken) Método

Definição

Recupera o recurso do ExpressRoutePort solicitado.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts/{expressRoutePortName}
  • Operação IdExpressRoutePorts_Get
public virtual Azure.Response<Azure.ResourceManager.Network.ExpressRoutePortResource> Get (string expressRoutePortName, System.Threading.CancellationToken cancellationToken = default);
abstract member Get : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Network.ExpressRoutePortResource>
override this.Get : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Network.ExpressRoutePortResource>
Public Overridable Function Get (expressRoutePortName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of ExpressRoutePortResource)

Parâmetros

expressRoutePortName
String

O nome de ExpressRoutePort.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

expressRoutePortName é uma cadeia de caracteres vazia e esperava-se que não estivesse vazia.

expressRoutePortName é nulo.

Aplica-se a