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:

The usage information was returned.

NameDatatypeDescription
nameobjectNaming information for this resource type.
currentValueinteger (int32)The current usage of this resource.
limitinteger (int32)The 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
listselectsubscriptionId, locationGets 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 name of the region to query for usage information.
subscriptionIdstring (uuid)The ID of the target subscription. The value must be an UUID.

SELECT examples

Gets the quantity used and quota limit for resources

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