Skip to main content

net_app_resource_usages

Creates, updates, deletes, gets or lists a net_app_resource_usages resource.

Overview

Namenet_app_resource_usages
TypeResource
Idazure.netapp.net_app_resource_usages

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringThe id of the usage.
nameobjectThe name of the usage.
currentValueintegerThe current usage value for the subscription.
limitintegerThe limit of the usage.
unitstringThe unit of the usage.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectlocation, usage_type, subscription_idGet specific type of usage. Get current subscription usage of the specific type.
listselectlocation, subscription_idGet 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.

NameDatatypeDescription
locationstringThe name of the Azure region. Required.
subscription_idstring
usage_typestringThe type of usage. Required.

SELECT examples

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
;