NetworkExtensions.GetExpressRouteGateways Method

Definition

Overloads

Name Description
GetExpressRouteGateways(ResourceGroupResource)

Gets a collection of ExpressRouteGateways in the ResourceGroupResource<item> Mocking. To mock this method, please mock GetExpressRouteGateways() instead. </item>

GetExpressRouteGateways(SubscriptionResource, CancellationToken)

Invokes the GetExpressRouteGateways compatibility operation.

GetExpressRouteGateways(ResourceGroupResource)

Source:
NetworkExtensions.cs
Source:
NetworkExtensions.cs

Gets a collection of ExpressRouteGateways in the ResourceGroupResource<item> Mocking. To mock this method, please mock GetExpressRouteGateways() instead. </item>

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

Parameters

resourceGroupResource
ResourceGroupResource

The ResourceGroupResource the method will execute against.

Returns

An object representing collection of ExpressRouteGateways and their operations over a ExpressRouteGatewayResource.

Exceptions

resourceGroupResource is null.

Applies to

GetExpressRouteGateways(SubscriptionResource, CancellationToken)

Source:
NetworkExtensions.PagingCompatibility.cs
Source:
NetworkExtensions.cs

Invokes the GetExpressRouteGateways compatibility operation.

public static Azure.Pageable<Azure.ResourceManager.Network.ExpressRouteGatewayResource> GetExpressRouteGateways(this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken);
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, cancellationToken As CancellationToken) As Pageable(Of ExpressRouteGatewayResource)
<Extension()>
Public Function GetExpressRouteGateways (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of ExpressRouteGatewayResource)

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Exceptions

subscriptionResource is null.

Applies to