net_app_resource_usages
Creates, updates, deletes, gets or lists a net_app_resource_usages resource.
Overview
| Name | net_app_resource_usages |
| Type | Resource |
| Id | azure.netapp.net_app_resource_usages |
Fields
The following fields are returned by SELECT queries:
- get
- list
| Name | Datatype | Description |
|---|---|---|
id | string | The id of the usage. |
name | object | The name of the usage. |
currentValue | integer | The current usage value for the subscription. |
limit | integer | The limit of the usage. |
unit | string | The unit of the usage. |
| Name | Datatype | Description |
|---|---|---|
id | string | The id of the usage. |
name | object | The name of the usage. |
currentValue | integer | The current usage value for the subscription. |
limit | integer | The limit of the usage. |
unit | string | The unit of the usage. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | location, usage_type, subscription_id | Get specific type of usage. Get current subscription usage of the specific type. | |
list | select | location, subscription_id | Get usages. Get current subscription usages. |
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 name of the Azure region. Required. |
subscription_id | string | |
usage_type | string | The type of usage. Required. |
SELECT examples
- get
- list
Get specific type of usage. Get current subscription usage of the specific type.
SELECT
id,
name,
currentValue,
limit,
unit
FROM azure.netapp.net_app_resource_usages
WHERE location = '{{ location }}' -- required
AND usage_type = '{{ usage_type }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;
Get usages. Get current subscription usages.
SELECT
id,
name,
currentValue,
limit,
unit
FROM azure.netapp.net_app_resource_usages
WHERE location = '{{ location }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;