Share via


VaultsOperationsExtensions.ListByResourceGroupAsync 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.Models.Vault>> ListByResourceGroupAsync (this Microsoft.Azure.Management.KeyVault.IVaultsOperations operations, string resourceGroupName, int? top = default, System.Threading.CancellationToken cancellationToken = default);
static member ListByResourceGroupAsync : Microsoft.Azure.Management.KeyVault.IVaultsOperations * string * Nullable<int> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.KeyVault.Models.Vault>>
<Extension()>
Public Function ListByResourceGroupAsync (operations As IVaultsOperations, resourceGroupName As String, Optional top As Nullable(Of Integer) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of Vault))

Parameters

operations
IVaultsOperations

The operations group for this extension method.

resourceGroupName
String

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

top
Nullable<Int32>

Maximum number of results to return.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to