Interface TopQueryStatistics
-
public interface TopQueryStatisticsResource collection API of TopQueryStatistics.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description QueryStatisticget(String resourceGroupName, String serverName, String queryStatisticId)Retrieve the query statistic for specified identifier.com.azure.core.http.rest.Response<QueryStatistic>getWithResponse(String resourceGroupName, String serverName, String queryStatisticId, com.azure.core.util.Context context)Retrieve the query statistic for specified identifier.com.azure.core.http.rest.PagedIterable<QueryStatistic>listByServer(String resourceGroupName, String serverName, TopQueryStatisticsInput parameters)Retrieve the Query-Store top queries for specified metric and aggregation.com.azure.core.http.rest.PagedIterable<QueryStatistic>listByServer(String resourceGroupName, String serverName, TopQueryStatisticsInput parameters, com.azure.core.util.Context context)Retrieve the Query-Store top queries for specified metric and aggregation.
-
-
-
Method Detail
-
get
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.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getWithResponse
com.azure.core.http.rest.Response<QueryStatistic> getWithResponse(String resourceGroupName, String serverName, String queryStatisticId, com.azure.core.util.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. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listByServer
com.azure.core.http.rest.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.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listByServer
com.azure.core.http.rest.PagedIterable<QueryStatistic> listByServer(String resourceGroupName, String serverName, TopQueryStatisticsInput parameters, com.azure.core.util.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.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
-