usage
Creates, updates, deletes, gets or lists a usage resource.
Overview
| Name | usage |
| Type | Resource |
| Id | azure_extras.testbase.usage |
Fields
The following fields are returned by SELECT queries:
- list
| Name | Datatype | Description |
|---|---|---|
id | string | Fully qualified ARM resource id. |
name | object | Localizable String object containing the name and a localized value. |
currentValue | integer | Current value for the usage quota. |
limit | integer | 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 | resource_group_name, test_base_account_name, subscription_id | $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 |
|---|---|---|
resource_group_name | string | The name of the resource group that contains the resource. Required. |
subscription_id | string | |
test_base_account_name | string | The resource name of the Test Base Account. Required. |
$filter | string | Odata filter. Default value is None. |
SELECT examples
- list
Lists the usage data of a Test Base Account.
SELECT
id,
name,
currentValue,
limit,
unit
FROM azure_extras.testbase.usage
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND test_base_account_name = '{{ test_base_account_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
AND $filter = '{{ $filter }}'
;