Condividi tramite


RecoveryServicesVaultResource.GetUsagesByVaultsAsync Method

Definition

Fetches the usages of the vault.

  • Request Path: /Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/usages
  • Operation Id: Usages_ListByVaults
  • Default Api Version: 2023-04-01
public virtual Azure.AsyncPageable<Azure.ResourceManager.RecoveryServices.Models.VaultUsage> GetUsagesByVaultsAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetUsagesByVaultsAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.RecoveryServices.Models.VaultUsage>
override this.GetUsagesByVaultsAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.RecoveryServices.Models.VaultUsage>
Public Overridable Function GetUsagesByVaultsAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of VaultUsage)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

An async collection of VaultUsage that may take multiple service requests to iterate over.

Applies to