tencentcloud-sdk-nodejs-dbbrain 4.0.679 → 4.0.681
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +478 -0
- package/SERVICE_CHANGELOG.md +556 -76
- package/package.json +1 -1
- package/products.md +29 -29
- package/src/services/dbbrain/v20210527/dbbrain_client.ts +65 -11
- package/src/services/dbbrain/v20210527/dbbrain_models.ts +450 -99
- package/tencentcloud/services/dbbrain/v20210527/dbbrain_client.d.ts +19 -3
- package/tencentcloud/services/dbbrain/v20210527/dbbrain_client.js +27 -3
- package/tencentcloud/services/dbbrain/v20210527/dbbrain_models.d.ts +436 -99
|
@@ -437,21 +437,45 @@ export interface DescribeDBDiagEventResponse {
|
|
|
437
437
|
}
|
|
438
438
|
|
|
439
439
|
/**
|
|
440
|
-
*
|
|
440
|
+
* DescribeSlowLogTopSqls请求参数结构体
|
|
441
441
|
*/
|
|
442
|
-
export interface
|
|
442
|
+
export interface DescribeSlowLogTopSqlsRequest {
|
|
443
443
|
/**
|
|
444
|
-
*
|
|
444
|
+
* 实例 ID 。
|
|
445
445
|
*/
|
|
446
|
-
|
|
446
|
+
InstanceId: string
|
|
447
447
|
/**
|
|
448
|
-
*
|
|
448
|
+
* 开始时间,如“2019-09-10 12:13:14”。
|
|
449
449
|
*/
|
|
450
|
-
|
|
450
|
+
StartTime: string
|
|
451
451
|
/**
|
|
452
|
-
*
|
|
452
|
+
* 截止时间,如“2019-09-11 10:13:14”,截止时间与开始时间的间隔小于7天。
|
|
453
453
|
*/
|
|
454
|
-
|
|
454
|
+
EndTime: string
|
|
455
|
+
/**
|
|
456
|
+
* 排序键,目前支持 QueryTime,ExecTimes,RowsSent,LockTime以及RowsExamined 等排序键,默认为QueryTime。
|
|
457
|
+
*/
|
|
458
|
+
SortBy?: string
|
|
459
|
+
/**
|
|
460
|
+
* 排序方式,支持ASC(升序)以及DESC(降序),默认为DESC。
|
|
461
|
+
*/
|
|
462
|
+
OrderBy?: string
|
|
463
|
+
/**
|
|
464
|
+
* 返回数量,默认为20,最大值为100。
|
|
465
|
+
*/
|
|
466
|
+
Limit?: number
|
|
467
|
+
/**
|
|
468
|
+
* 偏移量,默认为0。
|
|
469
|
+
*/
|
|
470
|
+
Offset?: number
|
|
471
|
+
/**
|
|
472
|
+
* 数据库名称数组。
|
|
473
|
+
*/
|
|
474
|
+
SchemaList?: Array<SchemaItem>
|
|
475
|
+
/**
|
|
476
|
+
* 服务产品类型,支持值包括: "mysql" - 云数据库 MySQL, "cynosdb" - 云数据库 CynosDB for MySQL,默认为"mysql"。
|
|
477
|
+
*/
|
|
478
|
+
Product?: string
|
|
455
479
|
}
|
|
456
480
|
|
|
457
481
|
/**
|
|
@@ -823,6 +847,16 @@ export interface DescribeProxySessionKillTasksRequest {
|
|
|
823
847
|
Product: string
|
|
824
848
|
}
|
|
825
849
|
|
|
850
|
+
/**
|
|
851
|
+
* ModifyAlarmPolicy返回参数结构体
|
|
852
|
+
*/
|
|
853
|
+
export interface ModifyAlarmPolicyResponse {
|
|
854
|
+
/**
|
|
855
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
856
|
+
*/
|
|
857
|
+
RequestId?: string
|
|
858
|
+
}
|
|
859
|
+
|
|
826
860
|
/**
|
|
827
861
|
* CreateRedisBigKeyAnalysisTask请求参数结构体
|
|
828
862
|
*/
|
|
@@ -860,6 +894,24 @@ export interface DescribeMySqlProcessListResponse {
|
|
|
860
894
|
RequestId?: string
|
|
861
895
|
}
|
|
862
896
|
|
|
897
|
+
/**
|
|
898
|
+
* UpdateMonitorSwitch请求参数结构体
|
|
899
|
+
*/
|
|
900
|
+
export interface UpdateMonitorSwitchRequest {
|
|
901
|
+
/**
|
|
902
|
+
* 停止或重连Agent实例,支持值包括:"on" - 重连实例, "off" - 停止实例。
|
|
903
|
+
*/
|
|
904
|
+
Switch: string
|
|
905
|
+
/**
|
|
906
|
+
* 实例ID。
|
|
907
|
+
*/
|
|
908
|
+
InstanceId: string
|
|
909
|
+
/**
|
|
910
|
+
* 服务产品类型,仅支持 "dbbrain-mysql" - 自建MySQL。
|
|
911
|
+
*/
|
|
912
|
+
Product: string
|
|
913
|
+
}
|
|
914
|
+
|
|
863
915
|
/**
|
|
864
916
|
* 实时会话访问来源详情。
|
|
865
917
|
*/
|
|
@@ -1070,6 +1122,41 @@ export interface DescribeDBSpaceStatusRequest {
|
|
|
1070
1122
|
Product?: string
|
|
1071
1123
|
}
|
|
1072
1124
|
|
|
1125
|
+
/**
|
|
1126
|
+
* 告警规则
|
|
1127
|
+
*/
|
|
1128
|
+
export interface AlarmsRules {
|
|
1129
|
+
/**
|
|
1130
|
+
* 间隔
|
|
1131
|
+
*/
|
|
1132
|
+
Interval: number
|
|
1133
|
+
/**
|
|
1134
|
+
* 告警名
|
|
1135
|
+
*/
|
|
1136
|
+
Name: string
|
|
1137
|
+
/**
|
|
1138
|
+
* 指标
|
|
1139
|
+
*/
|
|
1140
|
+
Metric: string
|
|
1141
|
+
/**
|
|
1142
|
+
* 操作符
|
|
1143
|
+
*/
|
|
1144
|
+
Operator: string
|
|
1145
|
+
/**
|
|
1146
|
+
* 等级
|
|
1147
|
+
fatal-致命
|
|
1148
|
+
critical-严重
|
|
1149
|
+
warning-告警
|
|
1150
|
+
information-通知
|
|
1151
|
+
|
|
1152
|
+
*/
|
|
1153
|
+
Severity: string
|
|
1154
|
+
/**
|
|
1155
|
+
* 指标值
|
|
1156
|
+
*/
|
|
1157
|
+
Value?: number
|
|
1158
|
+
}
|
|
1159
|
+
|
|
1073
1160
|
/**
|
|
1074
1161
|
* 单位时间间隔内的慢日志统计
|
|
1075
1162
|
*/
|
|
@@ -1142,6 +1229,24 @@ export interface DescribeSlowLogsResponse {
|
|
|
1142
1229
|
RequestId?: string
|
|
1143
1230
|
}
|
|
1144
1231
|
|
|
1232
|
+
/**
|
|
1233
|
+
* UpdateAgentSwitch请求参数结构体
|
|
1234
|
+
*/
|
|
1235
|
+
export interface UpdateAgentSwitchRequest {
|
|
1236
|
+
/**
|
|
1237
|
+
* Agent标识。
|
|
1238
|
+
*/
|
|
1239
|
+
AgentId: string
|
|
1240
|
+
/**
|
|
1241
|
+
* 停止或重连Agent,支持值包括:"on" - 重连Agent, "off" - 停止Agent。
|
|
1242
|
+
*/
|
|
1243
|
+
Switch: string
|
|
1244
|
+
/**
|
|
1245
|
+
* 服务产品类型,仅支持 "dbbrain-mysql" - 自建MySQL。
|
|
1246
|
+
*/
|
|
1247
|
+
Product: string
|
|
1248
|
+
}
|
|
1249
|
+
|
|
1145
1250
|
/**
|
|
1146
1251
|
* DescribeSecurityAuditLogDownloadUrls请求参数结构体
|
|
1147
1252
|
*/
|
|
@@ -1240,41 +1345,13 @@ export interface CancelKillTaskRequest {
|
|
|
1240
1345
|
}
|
|
1241
1346
|
|
|
1242
1347
|
/**
|
|
1243
|
-
*
|
|
1348
|
+
* 实例id
|
|
1244
1349
|
*/
|
|
1245
|
-
export interface
|
|
1246
|
-
/**
|
|
1247
|
-
* 线程ID。
|
|
1248
|
-
*/
|
|
1249
|
-
ID: string
|
|
1250
|
-
/**
|
|
1251
|
-
* 线程的操作账号名。
|
|
1252
|
-
*/
|
|
1253
|
-
User: string
|
|
1254
|
-
/**
|
|
1255
|
-
* 线程的操作主机地址。
|
|
1256
|
-
*/
|
|
1257
|
-
Host: string
|
|
1258
|
-
/**
|
|
1259
|
-
* 线程的操作数据库。
|
|
1260
|
-
*/
|
|
1261
|
-
DB: string
|
|
1262
|
-
/**
|
|
1263
|
-
* 线程的操作状态。
|
|
1264
|
-
*/
|
|
1265
|
-
State: string
|
|
1266
|
-
/**
|
|
1267
|
-
* 线程的执行类型。
|
|
1268
|
-
*/
|
|
1269
|
-
Command: string
|
|
1350
|
+
export interface InstanceID {
|
|
1270
1351
|
/**
|
|
1271
|
-
*
|
|
1352
|
+
* 实例id
|
|
1272
1353
|
*/
|
|
1273
|
-
|
|
1274
|
-
/**
|
|
1275
|
-
* 线程的操作语句。
|
|
1276
|
-
*/
|
|
1277
|
-
Info: string
|
|
1354
|
+
InstanceId?: string
|
|
1278
1355
|
}
|
|
1279
1356
|
|
|
1280
1357
|
/**
|
|
@@ -1600,6 +1677,16 @@ export interface MailConfiguration {
|
|
|
1600
1677
|
ContactGroup?: Array<number | bigint>
|
|
1601
1678
|
}
|
|
1602
1679
|
|
|
1680
|
+
/**
|
|
1681
|
+
* UpdateAgentSwitch返回参数结构体
|
|
1682
|
+
*/
|
|
1683
|
+
export interface UpdateAgentSwitchResponse {
|
|
1684
|
+
/**
|
|
1685
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1686
|
+
*/
|
|
1687
|
+
RequestId?: string
|
|
1688
|
+
}
|
|
1689
|
+
|
|
1603
1690
|
/**
|
|
1604
1691
|
* VerifyUserAccount请求参数结构体
|
|
1605
1692
|
*/
|
|
@@ -1907,6 +1994,42 @@ export interface InstanceConfs {
|
|
|
1907
1994
|
KeyDelimiters?: Array<string>
|
|
1908
1995
|
}
|
|
1909
1996
|
|
|
1997
|
+
/**
|
|
1998
|
+
* 接收组信息
|
|
1999
|
+
*/
|
|
2000
|
+
export interface ReceiveInfo {
|
|
2001
|
+
/**
|
|
2002
|
+
* 接收组
|
|
2003
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2004
|
+
*/
|
|
2005
|
+
ReceiveGroup?: Array<number | bigint>
|
|
2006
|
+
/**
|
|
2007
|
+
* 最后接收时间
|
|
2008
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2009
|
+
*/
|
|
2010
|
+
EndReceiveTime?: string
|
|
2011
|
+
/**
|
|
2012
|
+
* 接收名
|
|
2013
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2014
|
+
*/
|
|
2015
|
+
ReceiveName?: string
|
|
2016
|
+
/**
|
|
2017
|
+
* 推送渠道
|
|
2018
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2019
|
+
*/
|
|
2020
|
+
SendChannel?: Array<number | bigint>
|
|
2021
|
+
/**
|
|
2022
|
+
* 开始时间
|
|
2023
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2024
|
+
*/
|
|
2025
|
+
StartReceiveTime?: string
|
|
2026
|
+
/**
|
|
2027
|
+
* 接收用户列表
|
|
2028
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2029
|
+
*/
|
|
2030
|
+
ReceiveUin?: Array<ReceiveUin>
|
|
2031
|
+
}
|
|
2032
|
+
|
|
1910
2033
|
/**
|
|
1911
2034
|
* DescribeSqlTemplate返回参数结构体
|
|
1912
2035
|
*/
|
|
@@ -1988,21 +2111,37 @@ export interface DescribeDBDiagHistoryResponse {
|
|
|
1988
2111
|
}
|
|
1989
2112
|
|
|
1990
2113
|
/**
|
|
1991
|
-
*
|
|
2114
|
+
* DescribeDiagDBInstances请求参数结构体
|
|
1992
2115
|
*/
|
|
1993
|
-
export interface
|
|
2116
|
+
export interface DescribeDiagDBInstancesRequest {
|
|
1994
2117
|
/**
|
|
1995
|
-
*
|
|
2118
|
+
* 是否是DBbrain支持的实例,固定传 true。
|
|
1996
2119
|
*/
|
|
1997
|
-
|
|
2120
|
+
IsSupported: boolean
|
|
1998
2121
|
/**
|
|
1999
|
-
*
|
|
2122
|
+
* 服务产品类型,支持值包括:"mysql" - 云数据库 MySQL,"cynosdb" - 云数据库 TDSQL-C for MySQL,"dbbrain-mysql" - 自建 MySQL,默认为"mysql"。
|
|
2000
2123
|
*/
|
|
2001
|
-
|
|
2124
|
+
Product: string
|
|
2002
2125
|
/**
|
|
2003
|
-
*
|
|
2126
|
+
* 分页参数,偏移量。
|
|
2004
2127
|
*/
|
|
2005
|
-
|
|
2128
|
+
Offset: number
|
|
2129
|
+
/**
|
|
2130
|
+
* 分页参数,分页值,最大值为100。
|
|
2131
|
+
*/
|
|
2132
|
+
Limit: number
|
|
2133
|
+
/**
|
|
2134
|
+
* 根据实例名称条件查询。
|
|
2135
|
+
*/
|
|
2136
|
+
InstanceNames?: Array<string>
|
|
2137
|
+
/**
|
|
2138
|
+
* 根据实例ID条件查询。
|
|
2139
|
+
*/
|
|
2140
|
+
InstanceIds?: Array<string>
|
|
2141
|
+
/**
|
|
2142
|
+
* 根据地域条件查询。
|
|
2143
|
+
*/
|
|
2144
|
+
Regions?: Array<string>
|
|
2006
2145
|
}
|
|
2007
2146
|
|
|
2008
2147
|
/**
|
|
@@ -2195,6 +2334,22 @@ export interface InstanceBasicInfo {
|
|
|
2195
2334
|
EngineVersion: string
|
|
2196
2335
|
}
|
|
2197
2336
|
|
|
2337
|
+
/**
|
|
2338
|
+
* 接收用户
|
|
2339
|
+
*/
|
|
2340
|
+
export interface ReceiveUin {
|
|
2341
|
+
/**
|
|
2342
|
+
* 用户名
|
|
2343
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2344
|
+
*/
|
|
2345
|
+
UinName?: string
|
|
2346
|
+
/**
|
|
2347
|
+
* 用户id
|
|
2348
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2349
|
+
*/
|
|
2350
|
+
Uin?: string
|
|
2351
|
+
}
|
|
2352
|
+
|
|
2198
2353
|
/**
|
|
2199
2354
|
* 库空间统计数据。
|
|
2200
2355
|
*/
|
|
@@ -2249,37 +2404,59 @@ export interface DescribeAllUserContactRequest {
|
|
|
2249
2404
|
}
|
|
2250
2405
|
|
|
2251
2406
|
/**
|
|
2252
|
-
*
|
|
2407
|
+
* 关系型数据库线程
|
|
2253
2408
|
*/
|
|
2254
|
-
export interface
|
|
2409
|
+
export interface MySqlProcess {
|
|
2255
2410
|
/**
|
|
2256
|
-
*
|
|
2411
|
+
* 线程ID。
|
|
2257
2412
|
*/
|
|
2258
|
-
|
|
2413
|
+
ID: string
|
|
2259
2414
|
/**
|
|
2260
|
-
*
|
|
2415
|
+
* 线程的操作账号名。
|
|
2261
2416
|
*/
|
|
2262
|
-
|
|
2417
|
+
User: string
|
|
2263
2418
|
/**
|
|
2264
|
-
*
|
|
2419
|
+
* 线程的操作主机地址。
|
|
2265
2420
|
*/
|
|
2266
|
-
|
|
2421
|
+
Host: string
|
|
2267
2422
|
/**
|
|
2268
|
-
*
|
|
2423
|
+
* 线程的操作数据库。
|
|
2269
2424
|
*/
|
|
2270
|
-
|
|
2425
|
+
DB: string
|
|
2271
2426
|
/**
|
|
2272
|
-
*
|
|
2427
|
+
* 线程的操作状态。
|
|
2273
2428
|
*/
|
|
2274
|
-
|
|
2429
|
+
State: string
|
|
2275
2430
|
/**
|
|
2276
|
-
*
|
|
2431
|
+
* 线程的执行类型。
|
|
2277
2432
|
*/
|
|
2278
|
-
|
|
2433
|
+
Command: string
|
|
2279
2434
|
/**
|
|
2280
|
-
*
|
|
2435
|
+
* 线程的操作时长,单位秒。
|
|
2281
2436
|
*/
|
|
2282
|
-
|
|
2437
|
+
Time: string
|
|
2438
|
+
/**
|
|
2439
|
+
* 线程的操作语句。
|
|
2440
|
+
*/
|
|
2441
|
+
Info: string
|
|
2442
|
+
}
|
|
2443
|
+
|
|
2444
|
+
/**
|
|
2445
|
+
* DescribeDBDiagEvent请求参数结构体
|
|
2446
|
+
*/
|
|
2447
|
+
export interface DescribeDBDiagEventRequest {
|
|
2448
|
+
/**
|
|
2449
|
+
* 实例 ID 。
|
|
2450
|
+
*/
|
|
2451
|
+
InstanceId: string
|
|
2452
|
+
/**
|
|
2453
|
+
* 事件 ID 。通过“获取实例诊断历史DescribeDBDiagHistory”获取。
|
|
2454
|
+
*/
|
|
2455
|
+
EventId?: number
|
|
2456
|
+
/**
|
|
2457
|
+
* 服务产品类型,支持值包括: "mysql" - 云数据库 MySQL, "cynosdb" - 云数据库 CynosDB for MySQL,默认为"mysql"。
|
|
2458
|
+
*/
|
|
2459
|
+
Product?: string
|
|
2283
2460
|
}
|
|
2284
2461
|
|
|
2285
2462
|
/**
|
|
@@ -2308,6 +2485,82 @@ export interface DescribeNoPrimaryKeyTablesRequest {
|
|
|
2308
2485
|
Product?: string
|
|
2309
2486
|
}
|
|
2310
2487
|
|
|
2488
|
+
/**
|
|
2489
|
+
* 通知模板
|
|
2490
|
+
*/
|
|
2491
|
+
export interface AlarmProfileList {
|
|
2492
|
+
/**
|
|
2493
|
+
* 0-不是 1-是
|
|
2494
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2495
|
+
*/
|
|
2496
|
+
IsWebHook?: number
|
|
2497
|
+
/**
|
|
2498
|
+
* 接收告警用户数量
|
|
2499
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2500
|
+
*/
|
|
2501
|
+
ReceiveUinCount?: number
|
|
2502
|
+
/**
|
|
2503
|
+
* 语言
|
|
2504
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2505
|
+
*/
|
|
2506
|
+
Lang?: string
|
|
2507
|
+
/**
|
|
2508
|
+
* 模板类型
|
|
2509
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2510
|
+
*/
|
|
2511
|
+
TemplateType?: string
|
|
2512
|
+
/**
|
|
2513
|
+
* 备注
|
|
2514
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2515
|
+
*/
|
|
2516
|
+
Remark?: string
|
|
2517
|
+
/**
|
|
2518
|
+
* 接收组数量
|
|
2519
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2520
|
+
*/
|
|
2521
|
+
ReceiveGroupCount?: number
|
|
2522
|
+
/**
|
|
2523
|
+
* 更新用户的uin
|
|
2524
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2525
|
+
*/
|
|
2526
|
+
UpdateUin?: number
|
|
2527
|
+
/**
|
|
2528
|
+
* 接收类型
|
|
2529
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2530
|
+
*/
|
|
2531
|
+
ReceiveType?: Array<number | bigint>
|
|
2532
|
+
/**
|
|
2533
|
+
* 接收用户信息
|
|
2534
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2535
|
+
*/
|
|
2536
|
+
ReceiveInfo?: Array<ReceiveInfo>
|
|
2537
|
+
/**
|
|
2538
|
+
* 更新时间
|
|
2539
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2540
|
+
*/
|
|
2541
|
+
UpdateTime?: string
|
|
2542
|
+
/**
|
|
2543
|
+
* 模板名
|
|
2544
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2545
|
+
*/
|
|
2546
|
+
TemplateName?: string
|
|
2547
|
+
/**
|
|
2548
|
+
* 发送渠道
|
|
2549
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2550
|
+
*/
|
|
2551
|
+
SendChannel?: Array<number | bigint>
|
|
2552
|
+
/**
|
|
2553
|
+
* 模板id
|
|
2554
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2555
|
+
*/
|
|
2556
|
+
TemplateId?: number
|
|
2557
|
+
/**
|
|
2558
|
+
* webhook数量
|
|
2559
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2560
|
+
*/
|
|
2561
|
+
WebHookCount?: number
|
|
2562
|
+
}
|
|
2563
|
+
|
|
2311
2564
|
/**
|
|
2312
2565
|
* 查询实例列表,返回实例的相关信息的对象。
|
|
2313
2566
|
*/
|
|
@@ -2458,6 +2711,20 @@ export interface InstanceInfo {
|
|
|
2458
2711
|
InstanceStatus?: string
|
|
2459
2712
|
}
|
|
2460
2713
|
|
|
2714
|
+
/**
|
|
2715
|
+
* 通知模板
|
|
2716
|
+
*/
|
|
2717
|
+
export interface TemplateInfo {
|
|
2718
|
+
/**
|
|
2719
|
+
* 模板id
|
|
2720
|
+
*/
|
|
2721
|
+
TemplateId: string
|
|
2722
|
+
/**
|
|
2723
|
+
* 模板名
|
|
2724
|
+
*/
|
|
2725
|
+
TemplateName: string
|
|
2726
|
+
}
|
|
2727
|
+
|
|
2461
2728
|
/**
|
|
2462
2729
|
* DescribeAuditInstanceList请求参数结构体
|
|
2463
2730
|
*/
|
|
@@ -2586,6 +2853,24 @@ export interface CreateSchedulerMailProfileResponse {
|
|
|
2586
2853
|
RequestId?: string
|
|
2587
2854
|
}
|
|
2588
2855
|
|
|
2856
|
+
/**
|
|
2857
|
+
* DescribeAlarmTemplate返回参数结构体
|
|
2858
|
+
*/
|
|
2859
|
+
export interface DescribeAlarmTemplateResponse {
|
|
2860
|
+
/**
|
|
2861
|
+
* 模板列表
|
|
2862
|
+
*/
|
|
2863
|
+
ProfileList?: Array<AlarmProfileList>
|
|
2864
|
+
/**
|
|
2865
|
+
* 模板总数
|
|
2866
|
+
*/
|
|
2867
|
+
TotalCount?: number
|
|
2868
|
+
/**
|
|
2869
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2870
|
+
*/
|
|
2871
|
+
RequestId?: string
|
|
2872
|
+
}
|
|
2873
|
+
|
|
2589
2874
|
/**
|
|
2590
2875
|
* DescribeTopSpaceSchemaTimeSeries请求参数结构体
|
|
2591
2876
|
*/
|
|
@@ -2643,45 +2928,21 @@ export interface ModifyAuditServiceRequest {
|
|
|
2643
2928
|
}
|
|
2644
2929
|
|
|
2645
2930
|
/**
|
|
2646
|
-
*
|
|
2931
|
+
* DescribeDBDiagEvents返回参数结构体
|
|
2647
2932
|
*/
|
|
2648
|
-
export interface
|
|
2649
|
-
/**
|
|
2650
|
-
* 实例 ID 。
|
|
2651
|
-
*/
|
|
2652
|
-
InstanceId: string
|
|
2653
|
-
/**
|
|
2654
|
-
* 开始时间,如“2019-09-10 12:13:14”。
|
|
2655
|
-
*/
|
|
2656
|
-
StartTime: string
|
|
2657
|
-
/**
|
|
2658
|
-
* 截止时间,如“2019-09-11 10:13:14”,截止时间与开始时间的间隔小于7天。
|
|
2659
|
-
*/
|
|
2660
|
-
EndTime: string
|
|
2661
|
-
/**
|
|
2662
|
-
* 排序键,目前支持 QueryTime,ExecTimes,RowsSent,LockTime以及RowsExamined 等排序键,默认为QueryTime。
|
|
2663
|
-
*/
|
|
2664
|
-
SortBy?: string
|
|
2665
|
-
/**
|
|
2666
|
-
* 排序方式,支持ASC(升序)以及DESC(降序),默认为DESC。
|
|
2667
|
-
*/
|
|
2668
|
-
OrderBy?: string
|
|
2669
|
-
/**
|
|
2670
|
-
* 返回数量,默认为20,最大值为100。
|
|
2671
|
-
*/
|
|
2672
|
-
Limit?: number
|
|
2933
|
+
export interface DescribeDBDiagEventsResponse {
|
|
2673
2934
|
/**
|
|
2674
|
-
*
|
|
2935
|
+
* 诊断事件的总数目。
|
|
2675
2936
|
*/
|
|
2676
|
-
|
|
2937
|
+
TotalCount: number
|
|
2677
2938
|
/**
|
|
2678
|
-
*
|
|
2939
|
+
* 诊断事件的列表。
|
|
2679
2940
|
*/
|
|
2680
|
-
|
|
2941
|
+
Items: Array<DiagHistoryEventItem>
|
|
2681
2942
|
/**
|
|
2682
|
-
*
|
|
2943
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2683
2944
|
*/
|
|
2684
|
-
|
|
2945
|
+
RequestId?: string
|
|
2685
2946
|
}
|
|
2686
2947
|
|
|
2687
2948
|
/**
|
|
@@ -2791,15 +3052,15 @@ export interface DescribeDiagDBInstancesResponse {
|
|
|
2791
3052
|
/**
|
|
2792
3053
|
* 实例总数。
|
|
2793
3054
|
*/
|
|
2794
|
-
TotalCount
|
|
3055
|
+
TotalCount?: number
|
|
2795
3056
|
/**
|
|
2796
3057
|
* 全实例巡检状态:0:开启全实例巡检;1:未开启全实例巡检。
|
|
2797
3058
|
*/
|
|
2798
|
-
DbScanStatus
|
|
3059
|
+
DbScanStatus?: number
|
|
2799
3060
|
/**
|
|
2800
3061
|
* 实例相关信息。
|
|
2801
3062
|
*/
|
|
2802
|
-
Items
|
|
3063
|
+
Items?: Array<InstanceInfo>
|
|
2803
3064
|
/**
|
|
2804
3065
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2805
3066
|
*/
|
|
@@ -3006,6 +3267,29 @@ export interface AuditLogFile {
|
|
|
3006
3267
|
FinishTime?: string
|
|
3007
3268
|
}
|
|
3008
3269
|
|
|
3270
|
+
/**
|
|
3271
|
+
* DescribeAlarmTemplate请求参数结构体
|
|
3272
|
+
*/
|
|
3273
|
+
export interface DescribeAlarmTemplateRequest {
|
|
3274
|
+
/**
|
|
3275
|
+
* 搜索字段
|
|
3276
|
+
*/
|
|
3277
|
+
TemplateNameRegexp: string
|
|
3278
|
+
/**
|
|
3279
|
+
* 返回限制长度
|
|
3280
|
+
*/
|
|
3281
|
+
Limit: number
|
|
3282
|
+
/**
|
|
3283
|
+
* 偏置
|
|
3284
|
+
*/
|
|
3285
|
+
Offset: number
|
|
3286
|
+
/**
|
|
3287
|
+
* mysql - mysql
|
|
3288
|
+
cynosdb - tdsql-c
|
|
3289
|
+
*/
|
|
3290
|
+
Product?: string
|
|
3291
|
+
}
|
|
3292
|
+
|
|
3009
3293
|
/**
|
|
3010
3294
|
* DescribeSlowLogTimeSeriesStats返回参数结构体
|
|
3011
3295
|
*/
|
|
@@ -3081,6 +3365,63 @@ export interface MonitorFloatMetric {
|
|
|
3081
3365
|
Values: Array<number>
|
|
3082
3366
|
}
|
|
3083
3367
|
|
|
3368
|
+
/**
|
|
3369
|
+
* ModifyAlarmPolicy请求参数结构体
|
|
3370
|
+
*/
|
|
3371
|
+
export interface ModifyAlarmPolicyRequest {
|
|
3372
|
+
/**
|
|
3373
|
+
* 类型
|
|
3374
|
+
*/
|
|
3375
|
+
ApplyType: string
|
|
3376
|
+
/**
|
|
3377
|
+
* 开启策略
|
|
3378
|
+
*/
|
|
3379
|
+
Enable: number
|
|
3380
|
+
/**
|
|
3381
|
+
* 列表
|
|
3382
|
+
*/
|
|
3383
|
+
InstanceIds: Array<InstanceID>
|
|
3384
|
+
/**
|
|
3385
|
+
* User-动态关联该用户所有实例
|
|
3386
|
+
Instance-关联实例列表的实例
|
|
3387
|
+
*/
|
|
3388
|
+
NewProfileLevel: string
|
|
3389
|
+
/**
|
|
3390
|
+
* 新策略名
|
|
3391
|
+
*/
|
|
3392
|
+
NewProfileName: string
|
|
3393
|
+
/**
|
|
3394
|
+
* 旧策略名
|
|
3395
|
+
*/
|
|
3396
|
+
ProfileName: string
|
|
3397
|
+
/**
|
|
3398
|
+
* 策略类型
|
|
3399
|
+
*/
|
|
3400
|
+
ProfileType: string
|
|
3401
|
+
/**
|
|
3402
|
+
* 备注
|
|
3403
|
+
*/
|
|
3404
|
+
Remark: string
|
|
3405
|
+
/**
|
|
3406
|
+
* 规则类型 0-快速,1-自定义 若值为0,则QuickRule不能为空,若值为1,则Rules 不能为空
|
|
3407
|
+
*/
|
|
3408
|
+
RuleType: number
|
|
3409
|
+
/**
|
|
3410
|
+
* 接受模板
|
|
3411
|
+
*/
|
|
3412
|
+
TemplateInfo: Array<TemplateInfo>
|
|
3413
|
+
/**
|
|
3414
|
+
* 快速规则 支持包括fatal-致命, critical-严重,
|
|
3415
|
+
warning-告警,
|
|
3416
|
+
information-通知
|
|
3417
|
+
*/
|
|
3418
|
+
QuickRule?: string
|
|
3419
|
+
/**
|
|
3420
|
+
* 自定义规则
|
|
3421
|
+
*/
|
|
3422
|
+
Rules?: Array<AlarmsRules>
|
|
3423
|
+
}
|
|
3424
|
+
|
|
3084
3425
|
/**
|
|
3085
3426
|
* DescribeRedisTopKeyPrefixList返回参数结构体
|
|
3086
3427
|
*/
|
|
@@ -3118,6 +3459,16 @@ export interface DescribeAllUserGroupResponse {
|
|
|
3118
3459
|
RequestId?: string
|
|
3119
3460
|
}
|
|
3120
3461
|
|
|
3462
|
+
/**
|
|
3463
|
+
* UpdateMonitorSwitch返回参数结构体
|
|
3464
|
+
*/
|
|
3465
|
+
export interface UpdateMonitorSwitchResponse {
|
|
3466
|
+
/**
|
|
3467
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
3468
|
+
*/
|
|
3469
|
+
RequestId?: string
|
|
3470
|
+
}
|
|
3471
|
+
|
|
3121
3472
|
/**
|
|
3122
3473
|
* CreateAuditLogFile请求参数结构体
|
|
3123
3474
|
*/
|