ResourceUsage Class

Output of check resource usage API.

Constructor

ResourceUsage(*args: Any, **kwargs: Any)

Variables

Name Description
resource_type
str

Resource type for which the usage is provided.

unit

Unit of the usage. e.g. count. "count"

current_value
int

Actual value of usage on the specified resource type.

limit
int

Quota of the specified resource type.

Attributes

current_value

Actual value of usage on the specified resource type.

current_value: int | None

limit

Quota of the specified resource type.

limit: int | None

resource_type

Resource type for which the usage is provided.

resource_type: str | None

unit

Unit of the usage. e.g. count. "count"

unit: str | _models.ResourceUsageUnit | None