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 |
Gets the current usage count and the limit for the resources under the subscription. |
list_by_location |
Gets the current usage count and the limit for the resources of the location under the subscription. |
list
Gets the current usage count and the limit for the resources under the subscription.
list(**kwargs: Any) -> Iterable[Usage]
Returns
Type | Description |
---|---|
An iterator like instance of either Usage or the result of cls(response) |
Exceptions
Type | Description |
---|---|
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) -> Iterable[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_03_01_preview.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.11.9\\x64\\Lib\\site-packages\\azure\\mgmt\\storage\\v2018_03_01_preview\\models\\__init__.py'>
Azure SDK for Python