Compartilhar via


ExpressRouteGatewayCollection.GetAsync(String, CancellationToken) Método

Definição

Busca os detalhes de um gateway do ExpressRoute em um grupo de recursos.

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

Parâmetros

expressRouteGatewayName
String

O nome do gateway do ExpressRoute.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

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

expressRouteGatewayName é nulo.

Aplica-se a