UsagesOperations Class

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through

SearchManagementClient's

<xref:usages> attribute.

Inheritance
builtins.object
UsagesOperations

Constructor

UsagesOperations(*args, **kwargs)

Methods

list_by_subscription

Gets a list of all Search quota usages in the given subscription.

list_by_subscription

Gets a list of all Search quota usages in the given subscription.

list_by_subscription(location: str, search_management_request_options: SearchManagementRequestOptions | None = None, **kwargs: Any) -> AsyncIterable[QuotaUsageResult]

Parameters

Name Description
location
Required
str

The unique location name for a Microsoft Azure geographic region. Required.

search_management_request_options
Required

Parameter group. Default value is None.

Keyword-Only Parameters

Name Description
cls

A custom type or function that will be passed the direct response

Returns

Type Description

An iterator like instance of either QuotaUsageResult or the result of cls(response)

Exceptions

Type Description
See also

Attributes

models

models = <module 'azure.mgmt.search.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.11.9\\x64\\Lib\\site-packages\\azure\\mgmt\\search\\models\\__init__.py'>