Skip to main content

get_usages_in_location

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

Overview

Nameget_usages_in_location
TypeResource
Idazure.web.get_usages_in_location

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
nameobjectQuota name.
currentValueintegerThe current value of the resource counter.
limitintegerThe resource limit.
nextResetTimestring (date-time)Next reset time for the resource counter.
unitstringUnits of measurement for the quota resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectlocation, subscription_idLists subscription core usages for all skus used in a location, for a given type of quota. List usages in cores for all skus used by a subscription in a given location, for a specific quota type.

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

Lists subscription core usages for all skus used in a location, for a given type of quota. List usages in cores for all skus used by a subscription in a given location, for a specific quota type.

SELECT
name,
currentValue,
limit,
nextResetTime,
unit
FROM azure.web.get_usages_in_location
WHERE location = '{{ location }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;