Usage Class

Describes Storage Resource Usage.

Constructor

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

Variables

Name Description
unit

Gets the unit of measurement. Known values are: "Count", "Bytes", "Seconds", "Percent", "CountsPerSecond", and "BytesPerSecond".

current_value
int

Gets the current count of the allocated resources in the subscription.

limit
int

Gets the maximum count of the resources that can be allocated in the subscription.

name

Gets the name of the type of usage.

Attributes

current_value

Gets the current count of the allocated resources in the subscription.

current_value: int | None

limit

Gets the maximum count of the resources that can be allocated in the subscription.

limit: int | None

name

Gets the name of the type of usage.

name: _models.UsageName | None

unit

"Count", "Bytes", "Seconds", "Percent", "CountsPerSecond", and "BytesPerSecond".

unit: str | _models.UsageUnit | None