Share via


NetworkExtensions.GetExpressRouteCrossConnectionsAsync Method

Definition

Retrieves all the ExpressRouteCrossConnections in a subscription.

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

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

filter
String

The filter to apply on the operation. For example, you can use $filter=name eq '{circuitServiceKey}'.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

An async collection of ExpressRouteCrossConnectionResource that may take multiple service requests to iterate over.

Exceptions

subscriptionResource is null.

Applies to