Usage Class
The usage data for a usage request.
- Inheritance
-
azure.mgmt.cognitiveservices._serialization.ModelUsage
Constructor
Usage(*, unit: str | _models.UnitType | None = None, name: _models.MetricName | None = None, quota_period: str | None = None, limit: float | None = None, current_value: float | None = None, next_reset_time: str | None = None, status: str | _models.QuotaUsageStatus | None = None, **kwargs: Any)
Keyword-Only Parameters
Name | Description |
---|---|
unit
|
The unit of the metric. Known values are: "Count", "Bytes", "Seconds", "Percent", "CountPerSecond", "BytesPerSecond", and "Milliseconds". |
name
|
The name information for the metric. |
quota_period
|
The quota period used to summarize the usage values. |
limit
|
Maximum value for this metric. |
current_value
|
Current value for this metric. |
next_reset_time
|
Next reset time for current quota. |
status
|
Cognitive Services account quota usage status. Known values are: "Included", "Blocked", "InOverage", and "Unknown". |
Variables
Name | Description |
---|---|
unit
|
The unit of the metric. Known values are: "Count", "Bytes", "Seconds", "Percent", "CountPerSecond", "BytesPerSecond", and "Milliseconds". |
name
|
The name information for the metric. |
quota_period
|
The quota period used to summarize the usage values. |
limit
|
Maximum value for this metric. |
current_value
|
Current value for this metric. |
next_reset_time
|
Next reset time for current quota. |
status
|
Cognitive Services account quota usage status. Known values are: "Included", "Blocked", "InOverage", and "Unknown". |
Azure SDK for Python
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for