Share via


BackupUsageSummariesOperationsExtensions.ListAsync Method

Definition

Fetches the backup management usage summaries of the vault.

public static System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<Microsoft.Azure.Management.RecoveryServices.Backup.Models.BackupManagementUsage>> ListAsync (this Microsoft.Azure.Management.RecoveryServices.Backup.IBackupUsageSummariesOperations operations, string vaultName, string resourceGroupName, Microsoft.Rest.Azure.OData.ODataQuery<Microsoft.Azure.Management.RecoveryServices.Backup.Models.BMSBackupSummariesQueryObject> odataQuery = default, string skipToken = default, System.Threading.CancellationToken cancellationToken = default);
static member ListAsync : Microsoft.Azure.Management.RecoveryServices.Backup.IBackupUsageSummariesOperations * string * string * Microsoft.Rest.Azure.OData.ODataQuery<Microsoft.Azure.Management.RecoveryServices.Backup.Models.BMSBackupSummariesQueryObject> * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<seq<Microsoft.Azure.Management.RecoveryServices.Backup.Models.BackupManagementUsage>>
<Extension()>
Public Function ListAsync (operations As IBackupUsageSummariesOperations, vaultName As String, resourceGroupName As String, Optional odataQuery As ODataQuery(Of BMSBackupSummariesQueryObject) = Nothing, Optional skipToken As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IEnumerable(Of BackupManagementUsage))

Parameters

operations
IBackupUsageSummariesOperations

The operations group for this extension method.

vaultName
String

The name of the recovery services vault.

resourceGroupName
String

The name of the resource group where the recovery services vault is present.

odataQuery
ODataQuery<BMSBackupSummariesQueryObject>

OData parameters to apply to the operation.

skipToken
String

skipToken Filter.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to