Share via


VirtualRouterPeeringCollection.GetAll(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.Pageable<Azure.ResourceManager.Network.VirtualRouterPeeringResource> GetAll (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Network.VirtualRouterPeeringResource>
override this.GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Network.VirtualRouterPeeringResource>
Public Overridable Function GetAll (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of VirtualRouterPeeringResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to