共用方式為


UsagesOperationsExtensions.ListByVaultsAsync Method

Definition

Fetches the usages of the vault.

public static System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<Microsoft.Azure.Management.RecoveryServices.Models.VaultUsage>> ListByVaultsAsync (this Microsoft.Azure.Management.RecoveryServices.IUsagesOperations operations, string resourceGroupName, string vaultName, System.Threading.CancellationToken cancellationToken = default);
static member ListByVaultsAsync : Microsoft.Azure.Management.RecoveryServices.IUsagesOperations * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<seq<Microsoft.Azure.Management.RecoveryServices.Models.VaultUsage>>
<Extension()>
Public Function ListByVaultsAsync (operations As IUsagesOperations, resourceGroupName As String, vaultName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IEnumerable(Of VaultUsage))

Parameters

operations
IUsagesOperations

The operations group for this extension method.

resourceGroupName
String

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

vaultName
String

The name of the recovery services vault.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to