Skip to main content

usages

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

Overview

Nameusages
TypeResource
Idazure.lab_services.usages

Fields

NameDatatypeDescription
idstringThe fully qualified arm resource id.
nameobjectThe Usage Names.
currentValueintegerThe current usage.
limitintegerThe limit integer.
unitstringThe unit details.

Methods

NameAccessible byRequired ParamsDescription
list_by_locationSELECTlocation, subscriptionIdReturns list of usage per SKU family for the specified subscription in the specified region.

SELECT examples

Returns list of usage per SKU family for the specified subscription in the specified region.

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