TopQueryStatisticsOperations Class
TopQueryStatisticsOperations operations.
You should not instantiate this class directly. Instead, you should create a Client instance that instantiates it for you and attaches it as an attribute.
- Inheritance
-
builtins.objectTopQueryStatisticsOperations
Constructor
TopQueryStatisticsOperations(client, config, serializer, deserializer)
Parameters
- client
Client for service requests.
- config
Configuration of service client.
- serializer
An object model serializer.
- deserializer
An object model deserializer.
Variables
- models
Alias to model classes used in this operation group.
Methods
| get |
Retrieve the query statistic for specified identifier. |
| list_by_server |
Retrieve the Query-Store top queries for specified metric and aggregation. |
get
Retrieve the query statistic for specified identifier.
get(resource_group_name: str, server_name: str, query_statistic_id: str, **kwargs: Any) -> azure.mgmt.rdbms.mysql.models._models_py3.QueryStatistic
Parameters
- cls
- callable
A custom type or function that will be passed the direct response
Returns
QueryStatistic, or the result of cls(response)
Return type
Exceptions
list_by_server
Retrieve the Query-Store top queries for specified metric and aggregation.
list_by_server(resource_group_name: str, server_name: str, parameters: azure.mgmt.rdbms.mysql.models._models_py3.TopQueryStatisticsInput, **kwargs: Any) -> Iterable[azure.mgmt.rdbms.mysql.models._models_py3.TopQueryStatisticsResultList]
Parameters
- parameters
- TopQueryStatisticsInput
The required parameters for retrieving top query statistics.
- cls
- callable
A custom type or function that will be passed the direct response
Returns
An iterator like instance of either TopQueryStatisticsResultList or the result of cls(response)
Return type
Exceptions
Attributes
models
models = <module 'azure.mgmt.rdbms.mysql.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.9.13\\x64\\lib\\site-packages\\azure\\mgmt\\rdbms\\mysql\\models\\__init__.py'>
Feedback
Submit and view feedback for