Skip to main content

usages

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

Overview

Nameusages
TypeResource
Idazure_extras.test_base.usages

Fields

The following fields are returned by SELECT queries:

The usage of the Test Base Account was returned.

NameDatatypeDescription
idstringFully qualified ARM resource id
nameobjectLocalizable String object containing the name and a localized value.
currentValueinteger (int64)Current value for the usage quota.
limitinteger (int64)The 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

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectsubscriptionId, resourceGroupName, testBaseAccountName$filterLists the usage data of a Test Base Account.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
resourceGroupNamestringThe name of the resource group. The name is case insensitive.
subscriptionIdstring (uuid)The ID of the target subscription. The value must be an UUID.
testBaseAccountNamestringThe resource name of the Test Base Account.
$filterstringOdata filter

SELECT examples

Lists the usage data of a Test Base Account.

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