Skip to main content

accounts_usages

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

Overview

Nameaccounts_usages
TypeResource
Idazure.cognitive_services.accounts_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
listSELECTaccountName, resourceGroupName, subscriptionIdGet usages for the requested Cognitive Services account

SELECT examples

Get usages for the requested Cognitive Services account

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