accounts_usages
Creates, updates, deletes, gets or lists a accounts_usages
resource.
Overview
Name | accounts_usages |
Type | Resource |
Id | azure.cognitive_services.accounts_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 | accountName, resourceGroupName, subscriptionId | Get 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 }}';