ResourceUsage Class

Output of check resource usage API.

Variables are only populated by the server, and will be ignored when sending a request.

Inheritance
ResourceUsage

Constructor

ResourceUsage(**kwargs)

Variables

resource_type
str

Resource type for which the usage is provided.

unit
str

Unit of the usage. e.g. Count.

current_value
int

Actual value of usage on the specified resource type.

limit
int

Quota of the specified resource type.