Usage Class
Describes Storage Resource Usage.
All required parameters must be populated in order to send to server.
- Inheritance
-
azure.mgmt.storage._serialization.ModelUsage
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
|
The current count of the allocated resources in the subscription. Required. |
limit
|
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
|
The current count of the allocated resources in the subscription. Required. |
limit
|
The maximum count of the resources that can be allocated in the subscription. Required. |
name
|
The name of the type of usage. Required. |
Azure SDK for Python