Usage Class

Describes Storage Resource Usage.

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

Inheritance
Usage

Constructor

Usage(*, unit: Union[str, azure.mgmt.storage.v2015_06_15.models._storage_management_enums.UsageUnit], current_value: int, limit: int, name: azure.mgmt.storage.v2015_06_15.models._models_py3.UsageName, **kwargs)

Variables

unit
str or UsageUnit

Required. The unit of measurement. Possible values include: "Count", "Bytes", "Seconds", "Percent", "CountsPerSecond", "BytesPerSecond".

current_value
int

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

limit
int

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

name
UsageName

Required. The name of the type of usage.