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
| Name | Datatype | Description |
|---|---|---|
id | string | Resource identifier. |
name | object | The name of the type of usage. Required. |
currentValue | integer | The current value of the usage. Required. |
limit | integer | The limit of usage. Required. |
unit | string | An enum describing the unit of measurement. Required. "Count" (Count) |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list | select | location, subscription_id | 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 name. Required. |
subscription_id | string |
SELECT examples
- list
List network usages for a subscription.
SELECT
id,
name,
currentValue,
limit,
unit
FROM azure.network.usages
WHERE location = '{{ location }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;