TopQueryStatistics interface
Interface representing a TopQueryStatistics.
Methods
get(string, string, string, Top |
Retrieve the query statistic for specified identifier. |
list |
Retrieve the Query-Store top queries for specified metric and aggregation. |
Method Details
get(string, string, string, TopQueryStatisticsGetOptionalParams)
Retrieve the query statistic for specified identifier.
function get(resourceGroupName: string, serverName: string, queryStatisticId: string, options?: TopQueryStatisticsGetOptionalParams): Promise<QueryStatistic>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- serverName
-
string
The name of the server.
- queryStatisticId
-
string
The Query Statistic identifier.
The options parameters.
Returns
Promise<QueryStatistic>
listByServer(string, string, TopQueryStatisticsInput, TopQueryStatisticsListByServerOptionalParams)
Retrieve the Query-Store top queries for specified metric and aggregation.
function listByServer(resourceGroupName: string, serverName: string, parameters: TopQueryStatisticsInput, options?: TopQueryStatisticsListByServerOptionalParams): PagedAsyncIterableIterator<QueryStatistic, QueryStatistic[], PageSettings>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- serverName
-
string
The name of the server.
- parameters
- TopQueryStatisticsInput
The required parameters for retrieving top query statistics.
The options parameters.