Skip to main content

usages_in_locations

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

Overview

Nameusages_in_locations
TypeResource
Idazure.app_service.usages_in_locations

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
nameobjectQuota name.
currentValueinteger (int64)The current value of the resource counter.
limitinteger (int64)The 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, subscriptionIdList 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 name of the Azure region.
subscriptionIdstringYour Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000).

SELECT examples

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.app_service.usages_in_locations
WHERE location = '{{ location }}' -- required
AND subscriptionId = '{{ subscriptionId }}' -- required
;