共用方式為


MockableNetworkSubscriptionResource.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 virtual Azure.AsyncPageable<Azure.ResourceManager.Network.ExpressRouteCrossConnectionResource> GetExpressRouteCrossConnectionsAsync (string filter = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetExpressRouteCrossConnectionsAsync : string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Network.ExpressRouteCrossConnectionResource>
override this.GetExpressRouteCrossConnectionsAsync : string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Network.ExpressRouteCrossConnectionResource>
Public Overridable Function GetExpressRouteCrossConnectionsAsync (Optional filter As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of ExpressRouteCrossConnectionResource)

Parameters

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.

Applies to