VaultsOperationsExtensions.ListByResourceGroupAsync(IVaultsOperations, String, Nullable<Int32>, CancellationToken) Method

Definition

The List operation gets information about the vaults associated with the subscription and within the specified resource group.

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.KeyVault.Fluent.Models.VaultInner>> ListByResourceGroupAsync (this Microsoft.Azure.Management.KeyVault.Fluent.IVaultsOperations operations, string resourceGroupName, Nullable<int> top = null, System.Threading.CancellationToken cancellationToken = null);
static member ListByResourceGroupAsync : Microsoft.Azure.Management.KeyVault.Fluent.IVaultsOperations * string * Nullable<int> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.KeyVault.Fluent.Models.VaultInner>>

Parameters

operations
IVaultsOperations

The operations group for this extension method.

resourceGroupName
System.String

The name of the Resource Group to which the vault belongs.

top
System.Nullable<System.Int32>

Maximum number of results to return.

cancellationToken
System.Threading.CancellationToken

The cancellation token.

Returns

System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<VaultInner>>

Applies to