usages
Creates, updates, deletes, gets or lists a usages resource.
Overview
| Name | usages |
| Type | Resource |
| Id | azure.devcenter.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 | Lists the current usages and limits in this location for the provided subscription. |
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 Azure region. Required. |
subscription_id | string |
SELECT examples
- list_by_location
Lists the current usages and limits in this location for the provided subscription.
SELECT
id,
name,
currentValue,
limit,
unit
FROM azure.devcenter.usages
WHERE location = '{{ location }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;