共用方式為


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

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

Applies to