Usage interface
The usage data for a usage request.
Properties
| current |
Current value for this metric. |
| id | Fully qualified resource ID for the usage. Ex - /subscriptions/{subscriptionId}/providers/Microsoft.CognitiveServices/locations/{location}/usages/{usageName} |
| limit | Maximum value for this metric. |
| name | The name information for the metric. |
| next |
Next reset time for current quota. |
| quota |
The quota period used to summarize the usage values. |
| scope |
The scope identifier of the quota usage. |
| scope |
The scope type of the quota usage. |
| status | Cognitive Services account quota usage status. |
| type | The type of the usage resource. E.g. "Microsoft.CognitiveServices/locations/usages" |
| unit | The unit of the metric. |
Property Details
currentValue
Current value for this metric.
currentValue?: number
Property Value
number
id
Fully qualified resource ID for the usage. Ex - /subscriptions/{subscriptionId}/providers/Microsoft.CognitiveServices/locations/{location}/usages/{usageName}
id?: string
Property Value
string
limit
Maximum value for this metric.
limit?: number
Property Value
number
name
nextResetTime
Next reset time for current quota.
nextResetTime?: string
Property Value
string
quotaPeriod
The quota period used to summarize the usage values.
quotaPeriod?: string
Property Value
string
scopeId
The scope identifier of the quota usage.
scopeId?: string
Property Value
string
scopeType
The scope type of the quota usage.
scopeType?: string
Property Value
string
status
Cognitive Services account quota usage status.
status?: string
Property Value
string
type
The type of the usage resource. E.g. "Microsoft.CognitiveServices/locations/usages"
type?: string
Property Value
string
unit
The unit of the metric.
unit?: string
Property Value
string