Skip to main content

usages

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

Overview

Nameusages
TypeResource
Idazure_extras.test_base.usages

Fields

NameDatatypeDescription
idstringFully qualified ARM resource id
nameobjectLocalizable String object containing the name and a localized value.
currentValueintegerCurrent value for the usage quota.
limitintegerThe maximum permitted value for the usage quota. If there is no limit, this value will be -1.
unitstringRepresenting the units of the usage quota. Possible values are: Count, Bytes, Seconds, Percent, CountPerSecond, BytesPerSecond.

Methods

NameAccessible byRequired ParamsDescription
listSELECTresourceGroupName, subscriptionId, testBaseAccountNameLists the usage data of a Test Base Account.

SELECT examples

Lists the usage data of a Test Base Account.

SELECT
id,
name,
currentValue,
limit,
unit
FROM azure_extras.test_base.usages
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND testBaseAccountName = '{{ testBaseAccountName }}';