UsageOperations Class
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
<xref:usage> attribute.
- Inheritance
-
builtins.objectUsageOperations
Constructor
UsageOperations(*args, **kwargs)
Methods
list |
Gets, for the specified location, the current compute resource usage information as well as the limits for compute resources under the subscription. |
list
Gets, for the specified location, the current compute resource usage information as well as the limits for compute resources under the subscription.
list(location: str, **kwargs: Any) -> Iterable[Usage]
Parameters
Name | Description |
---|---|
location
Required
|
The location for which resource usage is queried. Required. |
Returns
Type | Description |
---|---|
An iterator like instance of either Usage or the result of cls(response) |
Exceptions
Type | Description |
---|---|
Attributes
models
models = <module 'azure.mgmt.compute.v2021_04_01.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.11.9\\x64\\Lib\\site-packages\\azure\\mgmt\\compute\\v2021_04_01\\models\\__init__.py'>
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
Azure SDK for Python