Skip to main content

usages

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

Overview

Nameusages
TypeResource
Idazure.dev_center.usages

Fields

The following fields are returned by SELECT queries:

The request was successful; a list of usages is returned

NameDatatypeDescription
idstringThe fully qualified arm resource id.
nameobjectThe name.
currentValueinteger (int64)The current usage.
limitinteger (int64)The limit integer.
unitstringThe unit details.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_by_locationselectsubscriptionId, locationLists 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
subscriptionIdstringThe ID of the target subscription.

SELECT examples

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

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