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.Fluent.Models.VaultInner>> ListByResourceGroupAsync (this Microsoft.Azure.Management.KeyVault.Fluent.IVaultsOperations operations, string resourceGroupName, int? top = default, System.Threading.CancellationToken cancellationToken = default);
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>>
<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 VaultInner))

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