TopQueryStatistics interface

Interface representing a TopQueryStatistics.

Methods

get(string, string, string, TopQueryStatisticsGetOptionalParams)

Retrieve the query statistic for specified identifier.

listByServer(string, string, TopQueryStatisticsInput, TopQueryStatisticsListByServerOptionalParams)

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.

options
TopQueryStatisticsGetOptionalParams

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.

options
TopQueryStatisticsListByServerOptionalParams

The options parameters.

Returns