Compartilhar via


UsagesOperations Class

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through

NetworkManagementClient's

<xref:usages> attribute.

Inheritance
builtins.object
UsagesOperations

Constructor

UsagesOperations(*args, **kwargs)

Methods

list

List network usages for a subscription.

list

List network usages for a subscription.

list(location: str, **kwargs: Any) -> Iterable[Usage]

Parameters

Name Description
location
Required
str

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