TopQueryStatistics Interface

public interface TopQueryStatistics

Resource collection API of TopQueryStatistics.

Method Summary

Modifier and Type Method and Description
abstract QueryStatistic get(String resourceGroupName, String serverName, String queryStatisticId)

Retrieve the query statistic for specified identifier.

abstract Response<QueryStatistic> getWithResponse(String resourceGroupName, String serverName, String queryStatisticId, Context context)

Retrieve the query statistic for specified identifier.

abstract PagedIterable<QueryStatistic> listByServer(String resourceGroupName, String serverName, TopQueryStatisticsInput parameters)

Retrieve the Query-Store top queries for specified metric and aggregation.

abstract PagedIterable<QueryStatistic> listByServer(String resourceGroupName, String serverName, TopQueryStatisticsInput parameters, Context context)

Retrieve the Query-Store top queries for specified metric and aggregation.

Method Details

get

public abstract QueryStatistic get(String resourceGroupName, String serverName, String queryStatisticId)

Retrieve the query statistic for specified identifier.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
serverName - The name of the server.
queryStatisticId - The Query Statistic identifier.

Returns:

represents a Query Statistic.

getWithResponse

public abstract Response<QueryStatistic> getWithResponse(String resourceGroupName, String serverName, String queryStatisticId, Context context)

Retrieve the query statistic for specified identifier.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
serverName - The name of the server.
queryStatisticId - The Query Statistic identifier.
context - The context to associate with this operation.

Returns:

represents a Query Statistic along with Response<T>.

listByServer

public abstract PagedIterable<QueryStatistic> listByServer(String resourceGroupName, String serverName, TopQueryStatisticsInput parameters)

Retrieve the Query-Store top queries for specified metric and aggregation.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
serverName - The name of the server.
parameters - The required parameters for retrieving top query statistics.

Returns:

a list of query statistics.

listByServer

public abstract PagedIterable<QueryStatistic> listByServer(String resourceGroupName, String serverName, TopQueryStatisticsInput parameters, Context context)

Retrieve the Query-Store top queries for specified metric and aggregation.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
serverName - The name of the server.
parameters - The required parameters for retrieving top query statistics.
context - The context to associate with this operation.

Returns:

a list of query statistics.

Applies to