usages
Creates, updates, deletes, gets or lists a usages resource.
Overview
| Name | usages |
| Type | Resource |
| Id | azure.network.usages |
Fields
The following fields are returned by SELECT queries:
- list
Request successful. The operation returns a list of Usage resources.
| Name | Datatype | Description |
|---|---|---|
id | string | Resource identifier. |
name | object | The name of the type of usage. |
currentValue | integer (int64) | The current value of the usage. |
limit | integer (int64) | The limit of usage. |
unit | string | An enum describing the unit of measurement. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list | select | location, subscriptionId | List network usages for a 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 location where resource usage is queried. |
subscriptionId | string (uuid) | The ID of the target subscription. The value must be an UUID. |
SELECT examples
- list
List network usages for a subscription.
SELECT
id,
name,
currentValue,
limit,
unit
FROM azure.network.usages
WHERE location = '{{ location }}' -- required
AND subscriptionId = '{{ subscriptionId }}' -- required
;