共用方式為


MockableNetworkSubscriptionResource.GetExpressRouteGateways Method

Definition

Lists ExpressRoute gateways under a given subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteGateways
  • Operation Id: ExpressRouteGateways_ListBySubscription
  • Default Api Version: 2024-03-01
  • Resource: ExpressRouteGatewayResource
public virtual Azure.Pageable<Azure.ResourceManager.Network.ExpressRouteGatewayResource> GetExpressRouteGateways (System.Threading.CancellationToken cancellationToken = default);
abstract member GetExpressRouteGateways : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Network.ExpressRouteGatewayResource>
override this.GetExpressRouteGateways : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Network.ExpressRouteGatewayResource>
Public Overridable Function GetExpressRouteGateways (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of ExpressRouteGatewayResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

A collection of ExpressRouteGatewayResource that may take multiple service requests to iterate over.

Applies to