Compartilhar via


NetworkExtensions.GetExpressRouteGateways Método

Definição

Sobrecargas

GetExpressRouteGateways(ResourceGroupResource)

Obtém uma coleção de ExpressRouteGatewayResources no ResourceGroupResource.

GetExpressRouteGateways(SubscriptionResource, CancellationToken)

Lista os gateways do ExpressRoute em uma determinada assinatura.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/providers/Microsoft.Network/expressRouteGateways
  • IdExpressRouteGateways_ListBySubscription de operação

GetExpressRouteGateways(ResourceGroupResource)

Obtém uma coleção de ExpressRouteGatewayResources no ResourceGroupResource.

public static Azure.ResourceManager.Network.ExpressRouteGatewayCollection GetExpressRouteGateways (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource);
static member GetExpressRouteGateways : Azure.ResourceManager.Resources.ResourceGroupResource -> Azure.ResourceManager.Network.ExpressRouteGatewayCollection
<Extension()>
Public Function GetExpressRouteGateways (resourceGroupResource As ResourceGroupResource) As ExpressRouteGatewayCollection

Parâmetros

resourceGroupResource
ResourceGroupResource

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

Retornos

Um objeto que representa a coleção de ExpressRouteGatewayResources e suas operações em um ExpressRouteGatewayResource.

Aplica-se a

GetExpressRouteGateways(SubscriptionResource, CancellationToken)

Lista os gateways do ExpressRoute em uma determinada assinatura.

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

Parâmetros

subscriptionResource
SubscriptionResource

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

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

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

Aplica-se a