Skip to main content

usages

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

Overview

Nameusages
TypeResource
Idazure.cognitive_services.usages

Fields

NameDatatypeDescription
nameobjectA metric name.
currentValuenumberCurrent value for this metric.
limitnumberMaximum value for this metric.
nextResetTimestringNext reset time for current quota.
quotaPeriodstringThe quota period used to summarize the usage values.
statusstringCognitive Services account quota usage status.
unitstringThe unit of the metric.

Methods

NameAccessible byRequired ParamsDescription
listSELECTlocation, subscriptionIdGet usages for the requested subscription

SELECT examples

Get usages for the requested subscription

SELECT
name,
currentValue,
limit,
nextResetTime,
quotaPeriod,
status,
unit
FROM azure.cognitive_services.usages
WHERE location = '{{ location }}'
AND subscriptionId = '{{ subscriptionId }}';