NetworkExtensions.GetExpressRouteCircuits Method

Definition

Overloads

GetExpressRouteCircuits(ResourceGroupResource)

Gets a collection of ExpressRouteCircuitResources in the ResourceGroupResource. MockingTo mock this method, please mock GetExpressRouteCircuits() instead.

GetExpressRouteCircuits(SubscriptionResource, CancellationToken)

Gets all the express route circuits in a subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteCircuits
  • Operation Id: ExpressRouteCircuits_ListAll
  • Default Api Version: 2024-03-01
  • Resource: ExpressRouteCircuitResource

GetExpressRouteCircuits(ResourceGroupResource)

Source:
NetworkExtensions.cs
Source:
NetworkExtensions.cs

Gets a collection of ExpressRouteCircuitResources in the ResourceGroupResource. MockingTo mock this method, please mock GetExpressRouteCircuits() instead.

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

Parameters

resourceGroupResource
ResourceGroupResource

The ResourceGroupResource instance the method will execute against.

Returns

An object representing collection of ExpressRouteCircuitResources and their operations over a ExpressRouteCircuitResource.

Exceptions

resourceGroupResource is null.

Applies to

GetExpressRouteCircuits(SubscriptionResource, CancellationToken)

Source:
NetworkExtensions.cs
Source:
NetworkExtensions.cs

Gets all the express route circuits in a subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteCircuits
  • Operation Id: ExpressRouteCircuits_ListAll
  • Default Api Version: 2024-03-01
  • Resource: ExpressRouteCircuitResource
public static Azure.Pageable<Azure.ResourceManager.Network.ExpressRouteCircuitResource> GetExpressRouteCircuits (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member GetExpressRouteCircuits : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Network.ExpressRouteCircuitResource>
<Extension()>
Public Function GetExpressRouteCircuits (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of ExpressRouteCircuitResource)

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Exceptions

subscriptionResource is null.

Applies to