ExpressRouteCrossConnectionPeeringCollection.GetAllAsync Method

Definition

Gets all peerings in a specified ExpressRouteCrossConnection. Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}/peerings Operation Id: ExpressRouteCrossConnectionPeerings_List

public virtual Azure.AsyncPageable<Azure.ResourceManager.Network.ExpressRouteCrossConnectionPeeringResource> GetAllAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Network.ExpressRouteCrossConnectionPeeringResource>
override this.GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Network.ExpressRouteCrossConnectionPeeringResource>
Public Overridable Function GetAllAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of ExpressRouteCrossConnectionPeeringResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

AsyncPageable<ExpressRouteCrossConnectionPeeringResource>

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

Applies to