TopQueries Class
TopQueries.
Variables are only populated by the server, and will be ignored when sending a request.
- Inheritance
-
TopQueries
Constructor
TopQueries(*, queries: Optional[List[azure.mgmt.sql.models._models_py3.QueryStatisticsProperties]] = None, **kwargs)
Parameters
- queries
- list[QueryStatisticsProperties]
Required
List of top resource consuming queries with appropriate metric data.
Variables
- number_of_queries
- int
Requested number of top queries.
- aggregation_function
- str
Aggregation function used to calculate query metrics.
- observation_metric
- str
Metric used to rank queries.
- interval_type
- str or QueryTimeGrainType
Interval type (length). Possible values include: "PT1H", "P1D".
- start_time
- str
The start time for the metric (ISO-8601 format).
- end_time
- str
The end time for the metric (ISO-8601 format).
Feedback
Submit and view feedback for