usages
Creates, updates, deletes, gets or lists a usages
resource.
Overview
Name | usages |
Type | Resource |
Id | azure_extras.test_base.usages |
Fields
The following fields are returned by SELECT
queries:
- list
The usage of the Test Base Account was returned.
Name | Datatype | Description |
---|---|---|
id | string | Fully qualified ARM resource id |
name | object | Localizable String object containing the name and a localized value. |
currentValue | integer (int64) | Current value for the usage quota. |
limit | integer (int64) | The maximum permitted value for the usage quota. If there is no limit, this value will be -1. |
unit | string | Representing the units of the usage quota. Possible values are: Count, Bytes, Seconds, Percent, CountPerSecond, BytesPerSecond. |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
list | select | subscriptionId , resourceGroupName , testBaseAccountName | $filter | Lists 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.
Name | Datatype | Description |
---|---|---|
resourceGroupName | string | The name of the resource group. The name is case insensitive. |
subscriptionId | string (uuid) | The ID of the target subscription. The value must be an UUID. |
testBaseAccountName | string | The resource name of the Test Base Account. |
$filter | string | Odata filter |
SELECT
examples
- list
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 }}'
;