Partager via


UsagesOperations Class

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through

StorageManagementClient's

<xref:usages> attribute.

Inheritance
builtins.object
UsagesOperations

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) -> Iterable[Usage]

Parameters

Name Description
location
Required
str

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.v2023_05_01.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.11.9\\x64\\Lib\\site-packages\\azure\\mgmt\\storage\\v2023_05_01\\models\\__init__.py'>