你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
UsagesOperations Class
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
<xref:usages> attribute.
- Inheritance
-
builtins.objectUsagesOperations
Constructor
UsagesOperations(*args, **kwargs)
Methods
list_by_location |
Gets the current usage count and the limit for the resources of the location under the subscription. |
list_by_location
Gets the current usage count and the limit for the resources of the location under the subscription.
list_by_location(location: str, **kwargs: Any) -> AsyncIterable[Usage]
Parameters
Name | Description |
---|---|
location
Required
|
The location of the Azure Storage resource. 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.storage.v2018_07_01.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.11.9\\x64\\Lib\\site-packages\\azure\\mgmt\\storage\\v2018_07_01\\models\\__init__.py'>