Skip to main content

usages

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

Overview

Nameusages
TypeResource
Idazure.devcenter.usages

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringThe fully qualified arm resource id.
nameobjectThe name.
currentValueintegerThe current usage.
limitintegerThe limit integer.
unitstringThe unit details. "Count"

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_by_locationselectlocation, subscription_idLists the current usages and limits in this location for the provided 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 Azure region. Required.
subscription_idstring

SELECT examples

Lists the current usages and limits in this location for the provided subscription.

SELECT
id,
name,
currentValue,
limit,
unit
FROM azure.devcenter.usages
WHERE location = '{{ location }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;