Usage クラス

使用状況要求の使用状況データ。

継承
azure.mgmt.cognitiveservices._serialization.Model
Usage

コンストラクター

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
str または UnitType

メトリックの単位。 既知の値は、"Count"、"Bytes"、"Seconds"、"Percent"、"CountPerSecond"、"BytesPerSecond"、および "Milliseconds" です。

name

メトリックの名前情報。

quota_period
str

使用量の値を集計するために使用されるクォータ期間。

limit

このメトリックの最大値。

current_value

このメトリックの現在の値。

next_reset_time
str

現在のクォータの次のリセット時刻。

status
str または QuotaUsageStatus

Cognitive Services アカウントクォータの使用状況。 既知の値は、"Included"、"Blocked"、"InOverage"、"Unknown" です。

変数

名前 説明
unit
str または UnitType

メトリックの単位。 既知の値は、"Count"、"Bytes"、"Seconds"、"Percent"、"CountPerSecond"、"BytesPerSecond"、および "Milliseconds" です。

name

メトリックの名前情報。

quota_period
str

使用量の値を集計するために使用されるクォータ期間。

limit

このメトリックの最大値。

current_value

このメトリックの現在の値。

next_reset_time
str

現在のクォータの次のリセット時刻。

status
str または QuotaUsageStatus

Cognitive Services アカウントクォータの使用状況。 既知の値は、"Included"、"Blocked"、"InOverage"、"Unknown" です。