VirtualRoutersOperationsExtensions.ListAsync Method

Definition

Gets all the Virtual Routers in a subscription.

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Network.Models.VirtualRouter>> ListAsync (this Microsoft.Azure.Management.Network.IVirtualRoutersOperations operations, System.Threading.CancellationToken cancellationToken = default);
static member ListAsync : Microsoft.Azure.Management.Network.IVirtualRoutersOperations * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Network.Models.VirtualRouter>>
<Extension()>
Public Function ListAsync (operations As IVirtualRoutersOperations, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of VirtualRouter))

Parameters

operations
IVirtualRoutersOperations

The operations group for this extension method.

cancellationToken
System.Threading.CancellationToken

The cancellation token.

Returns

System.Threading.Tasks.Task<IPage<VirtualRouter>>

Applies to