VaultOperationsExtensions.ListByResourceGroupAsync(IVaultOperations, String, Int32, CustomRequestHeaders) Method

Definition

Gets information of the backup vaults associated with resource group.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.BackupServices.Models.AzureBackupVaultListResponse> ListByResourceGroupAsync (this Microsoft.Azure.Management.BackupServices.IVaultOperations operations, string resourceGroupName, int top, Microsoft.Azure.Management.BackupServices.Models.CustomRequestHeaders customRequestHeaders);
static member ListByResourceGroupAsync : Microsoft.Azure.Management.BackupServices.IVaultOperations * string * int * Microsoft.Azure.Management.BackupServices.Models.CustomRequestHeaders -> System.Threading.Tasks.Task<Microsoft.Azure.Management.BackupServices.Models.AzureBackupVaultListResponse>

Parameters

operations
IVaultOperations

Reference to the Microsoft.Azure.Management.BackupServices.IVaultOperations.

resourceGroupName
System.String

Optional. An optional argument which specifies the name of the resource group that constrains the set of vaults that are returned.

top
System.Int32

Required. Maximum number of results to return.

customRequestHeaders
CustomRequestHeaders

Optional. Request header parameters.

Returns

System.Threading.Tasks.Task<AzureBackupVaultListResponse>

List of vaults

Applies to