ExpressRouteConnectionCollection.GetAsync(String, CancellationToken) Método

Definição

Obtém o ExpressRouteConnection especificado.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways/{expressRouteGatewayName}/expressRouteConnections/{connectionName}
  • IdExpressRouteConnections_Get de operação
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Network.ExpressRouteConnectionResource>> GetAsync (string connectionName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Network.ExpressRouteConnectionResource>>
override this.GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Network.ExpressRouteConnectionResource>>
Public Overridable Function GetAsync (connectionName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of 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 era esperado que não estivesse vazio.

connectionName é nulo.

Aplica-se a