/* * 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 { WaitStatistic, WaitStatisticsInput, WaitStatisticsListByServerOptionalParams, WaitStatisticsGetOptionalParams, WaitStatisticsGetResponse } from "../models"; /// /** Interface representing a WaitStatistics. */ export interface WaitStatistics { /** * Retrieve wait statistics for specified aggregation window. * @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 wait statistics. * @param options The options parameters. */ listByServer( resourceGroupName: string, serverName: string, parameters: WaitStatisticsInput, options?: WaitStatisticsListByServerOptionalParams ): PagedAsyncIterableIterator; /** * Retrieve wait statistics for specified identifier. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param serverName The name of the server. * @param waitStatisticsId The Wait Statistic identifier. * @param options The options parameters. */ get( resourceGroupName: string, serverName: string, waitStatisticsId: string, options?: WaitStatisticsGetOptionalParams ): Promise; }