get_usages_in_location
Creates, updates, deletes, gets or lists a get_usages_in_location resource.
Overview
| Name | get_usages_in_location |
| Type | Resource |
| Id | azure.web.get_usages_in_location |
Fields
The following fields are returned by SELECT queries:
- list
| Name | Datatype | Description |
|---|---|---|
name | object | Quota name. |
currentValue | integer | The current value of the resource counter. |
limit | integer | The resource limit. |
nextResetTime | string (date-time) | Next reset time for the resource counter. |
unit | string | Units of measurement for the quota resource. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list | select | location, subscription_id | Lists subscription core usages for all skus used in a location, for a given type of quota. List usages in cores for all skus used by a subscription in a given location, for a specific quota type. |
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 |
SELECT examples
- list
Lists subscription core usages for all skus used in a location, for a given type of quota. List usages in cores for all skus used by a subscription in a given location, for a specific quota type.
SELECT
name,
currentValue,
limit,
nextResetTime,
unit
FROM azure.web.get_usages_in_location
WHERE location = '{{ location }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;