Skip to main content

usages

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

Overview

Nameusages
TypeResource
Idazure.network.usages

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringResource identifier.
nameobjectThe name of the type of usage. Required.
currentValueintegerThe current value of the usage. Required.
limitintegerThe limit of usage. Required.
unitstringAn enum describing the unit of measurement. Required. "Count" (Count)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectlocation, subscription_idList 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.

NameDatatypeDescription
locationstringThe location name. Required.
subscription_idstring

SELECT examples

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
;