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_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) -> Iterable[QuotaUsageResult]
Parameters
Name | Description |
---|---|
location
Required
|
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'>
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Python