usages
Creates, updates, deletes, gets or lists a usages
resource.
Overview
Name | usages |
Type | Resource |
Id | azure.cognitive_services.usages |
Fields
Name | Datatype | Description |
---|---|---|
name | object | A metric name. |
currentValue | number | Current value for this metric. |
limit | number | Maximum value for this metric. |
nextResetTime | string | Next reset time for current quota. |
quotaPeriod | string | The quota period used to summarize the usage values. |
status | string | Cognitive Services account quota usage status. |
unit | string | The unit of the metric. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
list | SELECT | location, subscriptionId | Get 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 }}';