Share via


VaultsOperationsExtensions.ListAsync Method

Definition

The List operation gets information about the vaults associated with the subscription.

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.KeyVault.Models.Resource>> ListAsync (this Microsoft.Azure.Management.KeyVault.IVaultsOperations operations, int? top = default, System.Threading.CancellationToken cancellationToken = default);
static member ListAsync : Microsoft.Azure.Management.KeyVault.IVaultsOperations * Nullable<int> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.KeyVault.Models.Resource>>
<Extension()>
Public Function ListAsync (operations As IVaultsOperations, Optional top As Nullable(Of Integer) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of Resource))

Parameters

operations
IVaultsOperations

The operations group for this extension method.

top
Nullable<Int32>

Maximum number of results to return.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to