Compartilhar via


ExpressRoutePortResource.GetExpressRoutePortAuthorization Método

Definição

Obtém a autorização especificada da porta de rota expressa especificada.

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

Parâmetros

authorizationName
String

O nome da autorização.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

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

authorizationName é nulo.

Aplica-se a