Compartilhar via


NetworkExtensions.GetExpressRouteGatewaysAsync Método

Definição

Lista gateways do ExpressRoute em uma determinada assinatura.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/providers/Microsoft.Network/expressRouteGateways
  • Operação IdExpressRouteGateways_ListBySubscription
public static Azure.AsyncPageable<Azure.ResourceManager.Network.ExpressRouteGatewayResource> GetExpressRouteGatewaysAsync (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member GetExpressRouteGatewaysAsync : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Network.ExpressRouteGatewayResource>
<Extension()>
Public Function GetExpressRouteGatewaysAsync (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of ExpressRouteGatewayResource)

Parâmetros

subscriptionResource
SubscriptionResource

A SubscriptionResource instância em que o método será executado.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Uma coleção assíncrona de ExpressRouteGatewayResource que pode levar várias solicitações de serviço para iterar.

Aplica-se a