Skip to main content

usages

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

Overview

Nameusages
TypeResource
Idazure.compute.usages

Fields

NameDatatypeDescription
nameobjectThe Usage Names.
currentValueintegerThe current usage of the resource.
limitintegerThe maximum permitted usage of the resource.
unitstringAn enum describing the unit of usage measurement.

Methods

NameAccessible byRequired ParamsDescription
listSELECTlocation, subscriptionIdGets, for the specified location, the current compute resource usage information as well as the limits for compute resources under the subscription.

SELECT examples

Gets, for the specified location, the current compute resource usage information as well as the limits for compute resources under the subscription.

SELECT
name,
currentValue,
limit,
unit
FROM azure.compute.usages
WHERE location = '{{ location }}'
AND subscriptionId = '{{ subscriptionId }}';