Partilhar via


NetworkExtensions.GetExpressRouteGateway 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 static Azure.Response<Azure.ResourceManager.Network.ExpressRouteGatewayResource> GetExpressRouteGateway (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, string expressRouteGatewayName, System.Threading.CancellationToken cancellationToken = default);
static member GetExpressRouteGateway : Azure.ResourceManager.Resources.ResourceGroupResource * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Network.ExpressRouteGatewayResource>
<Extension()>
Public Function GetExpressRouteGateway (resourceGroupResource As ResourceGroupResource, expressRouteGatewayName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of ExpressRouteGatewayResource)

Parâmetros

resourceGroupResource
ResourceGroupResource

A ResourceGroupResource instância na qual o método será executado.

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