Compartilhar via


ExpressRouteGatewayCollection.Get(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}
  • Operação IdExpressRouteGateways_Get
public virtual Azure.Response<Azure.ResourceManager.Network.ExpressRouteGatewayResource> Get (string expressRouteGatewayName, System.Threading.CancellationToken cancellationToken = default);
abstract member Get : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Network.ExpressRouteGatewayResource>
override this.Get : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Network.ExpressRouteGatewayResource>
Public Overridable Function Get (expressRouteGatewayName As String, Optional cancellationToken As CancellationToken = Nothing) As 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 esperava-se que não estivesse vazia.

expressRouteGatewayName é nulo.

Aplica-se a