Usage クラス
使用状況要求の使用状況データ。
- 継承
-
azure.mgmt.cognitiveservices._serialization.ModelUsage
コンストラクター
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 パラメータ
名前 | 説明 |
---|---|
unit
|
メトリックの単位。 既知の値は、"Count"、"Bytes"、"Seconds"、"Percent"、"CountPerSecond"、"BytesPerSecond"、および "Milliseconds" です。 |
name
|
メトリックの名前情報。 |
quota_period
|
使用量の値を集計するために使用されるクォータ期間。 |
limit
|
このメトリックの最大値。 |
current_value
|
このメトリックの現在の値。 |
next_reset_time
|
現在のクォータの次のリセット時刻。 |
status
|
str または
QuotaUsageStatus
Cognitive Services アカウントクォータの使用状況。 既知の値は、"Included"、"Blocked"、"InOverage"、"Unknown" です。 |
変数
名前 | 説明 |
---|---|
unit
|
メトリックの単位。 既知の値は、"Count"、"Bytes"、"Seconds"、"Percent"、"CountPerSecond"、"BytesPerSecond"、および "Milliseconds" です。 |
name
|
メトリックの名前情報。 |
quota_period
|
使用量の値を集計するために使用されるクォータ期間。 |
limit
|
このメトリックの最大値。 |
current_value
|
このメトリックの現在の値。 |
next_reset_time
|
現在のクォータの次のリセット時刻。 |
status
|
str または
QuotaUsageStatus
Cognitive Services アカウントクォータの使用状況。 既知の値は、"Included"、"Blocked"、"InOverage"、"Unknown" です。 |
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
Azure SDK for Python