usages
Creates, updates, deletes, gets or lists a usages resource.
Overview
| Name | usages |
| Type | Resource |
| Id | azure.dev_center.usages |
Fields
The following fields are returned by SELECT queries:
- list_by_location
The request was successful; a list of usages is returned
| Name | Datatype | Description |
|---|---|---|
id | string | The fully qualified arm resource id. |
name | object | The name. |
currentValue | integer (int64) | The current usage. |
limit | integer (int64) | The limit integer. |
unit | string | The unit details. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list_by_location | select | subscriptionId, location | 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 |
subscriptionId | string | The ID of the target subscription. |
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.dev_center.usages
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND location = '{{ location }}' -- required
;