TopQueryStatisticsClient Interface

public interface TopQueryStatisticsClient

An instance of this class provides access to all the operations defined in TopQueryStatisticsClient.

Method Summary

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

Retrieve the query statistic for specified identifier.

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

Retrieve the query statistic for specified identifier.

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

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

abstract PagedIterable<QueryStatisticInner> 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 QueryStatisticInner 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 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 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 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