/*
* Copyright (c) Microsoft Corporation.
* Licensed under the MIT License.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
*/
import { PagedAsyncIterableIterator } from "@azure/core-paging";
import {
QueryStatistic,
TopQueryStatisticsInput,
TopQueryStatisticsListByServerOptionalParams,
TopQueryStatisticsGetOptionalParams,
TopQueryStatisticsGetResponse
} from "../models";
///
/** Interface representing a TopQueryStatistics. */
export interface TopQueryStatistics {
/**
* Retrieve the Query-Store top queries for specified metric and aggregation.
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param serverName The name of the server.
* @param parameters The required parameters for retrieving top query statistics.
* @param options The options parameters.
*/
listByServer(
resourceGroupName: string,
serverName: string,
parameters: TopQueryStatisticsInput,
options?: TopQueryStatisticsListByServerOptionalParams
): PagedAsyncIterableIterator;
/**
* Retrieve the query statistic for specified identifier.
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param serverName The name of the server.
* @param queryStatisticId The Query Statistic identifier.
* @param options The options parameters.
*/
get(
resourceGroupName: string,
serverName: string,
queryStatisticId: string,
options?: TopQueryStatisticsGetOptionalParams
): Promise;
}