Usage Class
Describes Compute Resource Usage.
Variables are only populated by the server, and will be ignored when sending a request.
All required parameters must be populated in order to send to server.
- Inheritance
-
azure.mgmt.compute._serialization.ModelUsage
Constructor
Usage(*, current_value: int, limit: int, name: _models.UsageName, **kwargs: Any)
Keyword-Only Parameters
Name | Description |
---|---|
current_value
|
The current usage of the resource. Required. |
limit
|
The maximum permitted usage of the resource. Required. |
name
|
The name of the type of usage. Required. |
Variables
Name | Description |
---|---|
unit
|
An enum describing the unit of usage measurement. Required. Default value is "Count". |
current_value
|
The current usage of the resource. Required. |
limit
|
The maximum permitted usage of the resource. Required. |
name
|
The name of the type of usage. Required. |
Attributes
unit
unit = 'Count'
Zusammenarbeit auf GitHub
Die Quelle für diesen Inhalt finden Sie auf GitHub, wo Sie auch Issues und Pull Requests erstellen und überprüfen können. Weitere Informationen finden Sie in unserem Leitfaden für Mitwirkende.
Azure SDK for Python