usages
Creates, updates, deletes, gets or lists a usages resource.
Overview
| Name | usages |
| Type | Resource |
| Id | azure_extras.lab_services.usages |
Fields
The following fields are returned by SELECT queries:
- list_by_location
| Name | Datatype | Description |
|---|---|---|
id | string | The fully qualified arm resource id. |
name | object | The name. |
currentValue | integer | The current usage. |
limit | integer | The limit integer. |
unit | string | The unit details. "Count" |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list_by_location | select | location, subscription_id | $filter | Gets the list of usages. Returns list of usage per SKU family for the specified subscription in the specified region. |
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 |
|---|---|---|
location | string | The location name. Required. |
subscription_id | string | |
$filter | string | The filter to apply to the operation. Default value is None. |
SELECT examples
- list_by_location
Gets the list of usages. Returns list of usage per SKU family for the specified subscription in the specified region.
SELECT
id,
name,
currentValue,
limit,
unit
FROM azure_extras.lab_services.usages
WHERE location = '{{ location }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
AND $filter = '{{ $filter }}'
;