Share via


VirtualRouterPeeringCollection.GetAllAsync(CancellationToken) Method

Definition

Lists all Virtual Router Peerings in a Virtual Router resource.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualRouters/{virtualRouterName}/peerings
  • Operation Id: VirtualRouterPeerings_List
  • Default Api Version: 2024-03-01
  • Resource: VirtualRouterPeeringResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.Network.VirtualRouterPeeringResource> GetAllAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Network.VirtualRouterPeeringResource>
override this.GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Network.VirtualRouterPeeringResource>
Public Overridable Function GetAllAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of VirtualRouterPeeringResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to