Usage Class

Describes Compute Resource Usage.

Constructor

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

Variables

Name Description
unit
str

An enum describing the unit of usage measurement. Required. Default value is "Count".

current_value
int

The current usage of the resource. Required.

limit
int

The maximum permitted usage of the resource. Required.

name

The name of the type of usage. Required.

Attributes

current_value

The current usage of the resource. Required.

current_value: int

limit

The maximum permitted usage of the resource. Required.

limit: int

name

The name of the type of usage. Required.

name: _models.UsageName

unit

An enum describing the unit of usage measurement. Required. Default value is "Count".

unit: Literal['Count']