Aracılığıyla paylaş


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
CancellationToken

The cancellation token.

Returns

Applies to