Partilhar via


ExpressRouteGatewayResource.GetExpressRouteConnection Método

Definição

Obtém o ExpressRouteConnection especificado.

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

Parâmetros

connectionName
String

O nome da conexão do ExpressRoute.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

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

connectionName é nulo.

Aplica-se a