Skip to main content

asc_usages

Creates, updates, deletes, gets or lists an asc_usages resource.

Overview

Nameasc_usages
TypeResource
Idazure.storage_cache.asc_usages

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
nameobjectNaming information for this resource type.
currentValueintegerThe current usage of this resource.
limitintegerThe limit (quota) for this resource.
unitstringUnit that the limit and usages are expressed in, such as 'Count'.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectlocation, subscription_idGets the quantity used and quota limit for resources.

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

Gets the quantity used and quota limit for resources.

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