Skip to main content

usages

Creates, updates, deletes, gets or lists a usages resource.

Overview

Nameusages
TypeResource
Idazure.recovery_services.usages

Fields

NameDatatypeDescription
nameobjectThe name of usage.
currentValueintegerCurrent value of usage.
limitintegerLimit of usage.
nextResetTimestringNext reset time of usage.
quotaPeriodstringQuota period of usage.
unitstringUnit of the usage.

Methods

NameAccessible byRequired ParamsDescription
list_by_vaultsSELECTresourceGroupName, subscriptionId, vaultNameFetches the usages of the vault.

SELECT examples

Fetches the usages of the vault.

SELECT
name,
currentValue,
limit,
nextResetTime,
quotaPeriod,
unit
FROM azure.recovery_services.usages
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND vaultName = '{{ vaultName }}';