Usage Class

Describes Storage Resource Usage.

All required parameters must be populated in order to send to server.

Inheritance
azure.mgmt.storage._serialization.Model
Usage

Constructor

Usage(*, unit: str | _models.UsageUnit, current_value: int, limit: int, name: _models.UsageName, **kwargs: Any)

Keyword-Only Parameters

Name Description
unit

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

current_value
int

The current count of the allocated resources in the subscription. Required.

limit
int

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

name

The name of the type of usage. Required.

Variables

Name Description
unit

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

current_value
int

The current count of the allocated resources in the subscription. Required.

limit
int

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

name

The name of the type of usage. Required.