RecoveryServicesVaultResource.GetUsagesByVaults(CancellationToken) 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.Pageable<Azure.ResourceManager.RecoveryServices.Models.VaultUsage> GetUsagesByVaults (System.Threading.CancellationToken cancellationToken = default);
abstract member GetUsagesByVaults : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.RecoveryServices.Models.VaultUsage>
override this.GetUsagesByVaults : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.RecoveryServices.Models.VaultUsage>
Public Overridable Function GetUsagesByVaults (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of VaultUsage)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to