WaitStatistics interface
表示 WaitStatistics 的接口。
方法
get(string, string, string, Wait |
检索指定标识符的等待统计信息。 |
list |
检索指定聚合窗口的等待统计信息。 |
方法详细信息
get(string, string, string, WaitStatisticsGetOptionalParams)
检索指定标识符的等待统计信息。
function get(resourceGroupName: string, serverName: string, waitStatisticsId: string, options?: WaitStatisticsGetOptionalParams): Promise<WaitStatistic>
参数
- resourceGroupName
-
string
资源组的名称。 名称不区分大小写。
- serverName
-
string
服务器的名称。
- waitStatisticsId
-
string
等待统计信息标识符。
- options
- WaitStatisticsGetOptionalParams
选项参数。
返回
Promise<WaitStatistic>
listByServer(string, string, WaitStatisticsInput, WaitStatisticsListByServerOptionalParams)
检索指定聚合窗口的等待统计信息。
function listByServer(resourceGroupName: string, serverName: string, parameters: WaitStatisticsInput, options?: WaitStatisticsListByServerOptionalParams): PagedAsyncIterableIterator<WaitStatistic, WaitStatistic[], PageSettings>
参数
- resourceGroupName
-
string
资源组的名称。 名称不区分大小写。
- serverName
-
string
服务器的名称。
- parameters
- WaitStatisticsInput
检索等待统计信息所需的参数。
选项参数。