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
|
@@ -405,21 +405,45 @@ export interface DescribeDBDiagEventResponse {
|
|
|
405
405
|
RequestId?: string;
|
|
406
406
|
}
|
|
407
407
|
/**
|
|
408
|
-
*
|
|
408
|
+
* DescribeSlowLogTopSqls请求参数结构体
|
|
409
409
|
*/
|
|
410
|
-
export interface
|
|
410
|
+
export interface DescribeSlowLogTopSqlsRequest {
|
|
411
411
|
/**
|
|
412
|
-
*
|
|
412
|
+
* 实例 ID 。
|
|
413
413
|
*/
|
|
414
|
-
|
|
414
|
+
InstanceId: string;
|
|
415
415
|
/**
|
|
416
|
-
*
|
|
416
|
+
* 开始时间,如“2019-09-10 12:13:14”。
|
|
417
417
|
*/
|
|
418
|
-
|
|
418
|
+
StartTime: string;
|
|
419
419
|
/**
|
|
420
|
-
*
|
|
420
|
+
* 截止时间,如“2019-09-11 10:13:14”,截止时间与开始时间的间隔小于7天。
|
|
421
421
|
*/
|
|
422
|
-
|
|
422
|
+
EndTime: string;
|
|
423
|
+
/**
|
|
424
|
+
* 排序键,目前支持 QueryTime,ExecTimes,RowsSent,LockTime以及RowsExamined 等排序键,默认为QueryTime。
|
|
425
|
+
*/
|
|
426
|
+
SortBy?: string;
|
|
427
|
+
/**
|
|
428
|
+
* 排序方式,支持ASC(升序)以及DESC(降序),默认为DESC。
|
|
429
|
+
*/
|
|
430
|
+
OrderBy?: string;
|
|
431
|
+
/**
|
|
432
|
+
* 返回数量,默认为20,最大值为100。
|
|
433
|
+
*/
|
|
434
|
+
Limit?: number;
|
|
435
|
+
/**
|
|
436
|
+
* 偏移量,默认为0。
|
|
437
|
+
*/
|
|
438
|
+
Offset?: number;
|
|
439
|
+
/**
|
|
440
|
+
* 数据库名称数组。
|
|
441
|
+
*/
|
|
442
|
+
SchemaList?: Array<SchemaItem>;
|
|
443
|
+
/**
|
|
444
|
+
* 服务产品类型,支持值包括: "mysql" - 云数据库 MySQL, "cynosdb" - 云数据库 CynosDB for MySQL,默认为"mysql"。
|
|
445
|
+
*/
|
|
446
|
+
Product?: string;
|
|
423
447
|
}
|
|
424
448
|
/**
|
|
425
449
|
* DescribeDBDiagReportTasks返回参数结构体
|
|
@@ -777,6 +801,15 @@ export interface DescribeProxySessionKillTasksRequest {
|
|
|
777
801
|
*/
|
|
778
802
|
Product: string;
|
|
779
803
|
}
|
|
804
|
+
/**
|
|
805
|
+
* ModifyAlarmPolicy返回参数结构体
|
|
806
|
+
*/
|
|
807
|
+
export interface ModifyAlarmPolicyResponse {
|
|
808
|
+
/**
|
|
809
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
810
|
+
*/
|
|
811
|
+
RequestId?: string;
|
|
812
|
+
}
|
|
780
813
|
/**
|
|
781
814
|
* CreateRedisBigKeyAnalysisTask请求参数结构体
|
|
782
815
|
*/
|
|
@@ -812,6 +845,23 @@ export interface DescribeMySqlProcessListResponse {
|
|
|
812
845
|
*/
|
|
813
846
|
RequestId?: string;
|
|
814
847
|
}
|
|
848
|
+
/**
|
|
849
|
+
* UpdateMonitorSwitch请求参数结构体
|
|
850
|
+
*/
|
|
851
|
+
export interface UpdateMonitorSwitchRequest {
|
|
852
|
+
/**
|
|
853
|
+
* 停止或重连Agent实例,支持值包括:"on" - 重连实例, "off" - 停止实例。
|
|
854
|
+
*/
|
|
855
|
+
Switch: string;
|
|
856
|
+
/**
|
|
857
|
+
* 实例ID。
|
|
858
|
+
*/
|
|
859
|
+
InstanceId: string;
|
|
860
|
+
/**
|
|
861
|
+
* 服务产品类型,仅支持 "dbbrain-mysql" - 自建MySQL。
|
|
862
|
+
*/
|
|
863
|
+
Product: string;
|
|
864
|
+
}
|
|
815
865
|
/**
|
|
816
866
|
* 实时会话访问来源详情。
|
|
817
867
|
*/
|
|
@@ -1012,6 +1062,40 @@ export interface DescribeDBSpaceStatusRequest {
|
|
|
1012
1062
|
*/
|
|
1013
1063
|
Product?: string;
|
|
1014
1064
|
}
|
|
1065
|
+
/**
|
|
1066
|
+
* 告警规则
|
|
1067
|
+
*/
|
|
1068
|
+
export interface AlarmsRules {
|
|
1069
|
+
/**
|
|
1070
|
+
* 间隔
|
|
1071
|
+
*/
|
|
1072
|
+
Interval: number;
|
|
1073
|
+
/**
|
|
1074
|
+
* 告警名
|
|
1075
|
+
*/
|
|
1076
|
+
Name: string;
|
|
1077
|
+
/**
|
|
1078
|
+
* 指标
|
|
1079
|
+
*/
|
|
1080
|
+
Metric: string;
|
|
1081
|
+
/**
|
|
1082
|
+
* 操作符
|
|
1083
|
+
*/
|
|
1084
|
+
Operator: string;
|
|
1085
|
+
/**
|
|
1086
|
+
* 等级
|
|
1087
|
+
fatal-致命
|
|
1088
|
+
critical-严重
|
|
1089
|
+
warning-告警
|
|
1090
|
+
information-通知
|
|
1091
|
+
|
|
1092
|
+
*/
|
|
1093
|
+
Severity: string;
|
|
1094
|
+
/**
|
|
1095
|
+
* 指标值
|
|
1096
|
+
*/
|
|
1097
|
+
Value?: number;
|
|
1098
|
+
}
|
|
1015
1099
|
/**
|
|
1016
1100
|
* 单位时间间隔内的慢日志统计
|
|
1017
1101
|
*/
|
|
@@ -1080,6 +1164,23 @@ export interface DescribeSlowLogsResponse {
|
|
|
1080
1164
|
*/
|
|
1081
1165
|
RequestId?: string;
|
|
1082
1166
|
}
|
|
1167
|
+
/**
|
|
1168
|
+
* UpdateAgentSwitch请求参数结构体
|
|
1169
|
+
*/
|
|
1170
|
+
export interface UpdateAgentSwitchRequest {
|
|
1171
|
+
/**
|
|
1172
|
+
* Agent标识。
|
|
1173
|
+
*/
|
|
1174
|
+
AgentId: string;
|
|
1175
|
+
/**
|
|
1176
|
+
* 停止或重连Agent,支持值包括:"on" - 重连Agent, "off" - 停止Agent。
|
|
1177
|
+
*/
|
|
1178
|
+
Switch: string;
|
|
1179
|
+
/**
|
|
1180
|
+
* 服务产品类型,仅支持 "dbbrain-mysql" - 自建MySQL。
|
|
1181
|
+
*/
|
|
1182
|
+
Product: string;
|
|
1183
|
+
}
|
|
1083
1184
|
/**
|
|
1084
1185
|
* DescribeSecurityAuditLogDownloadUrls请求参数结构体
|
|
1085
1186
|
*/
|
|
@@ -1172,41 +1273,13 @@ export interface CancelKillTaskRequest {
|
|
|
1172
1273
|
Product?: string;
|
|
1173
1274
|
}
|
|
1174
1275
|
/**
|
|
1175
|
-
*
|
|
1276
|
+
* 实例id
|
|
1176
1277
|
*/
|
|
1177
|
-
export interface
|
|
1278
|
+
export interface InstanceID {
|
|
1178
1279
|
/**
|
|
1179
|
-
*
|
|
1180
|
-
*/
|
|
1181
|
-
ID: string;
|
|
1182
|
-
/**
|
|
1183
|
-
* 线程的操作账号名。
|
|
1184
|
-
*/
|
|
1185
|
-
User: string;
|
|
1186
|
-
/**
|
|
1187
|
-
* 线程的操作主机地址。
|
|
1280
|
+
* 实例id
|
|
1188
1281
|
*/
|
|
1189
|
-
|
|
1190
|
-
/**
|
|
1191
|
-
* 线程的操作数据库。
|
|
1192
|
-
*/
|
|
1193
|
-
DB: string;
|
|
1194
|
-
/**
|
|
1195
|
-
* 线程的操作状态。
|
|
1196
|
-
*/
|
|
1197
|
-
State: string;
|
|
1198
|
-
/**
|
|
1199
|
-
* 线程的执行类型。
|
|
1200
|
-
*/
|
|
1201
|
-
Command: string;
|
|
1202
|
-
/**
|
|
1203
|
-
* 线程的操作时长,单位秒。
|
|
1204
|
-
*/
|
|
1205
|
-
Time: string;
|
|
1206
|
-
/**
|
|
1207
|
-
* 线程的操作语句。
|
|
1208
|
-
*/
|
|
1209
|
-
Info: string;
|
|
1282
|
+
InstanceId?: string;
|
|
1210
1283
|
}
|
|
1211
1284
|
/**
|
|
1212
1285
|
* DescribeDBDiagHistory请求参数结构体
|
|
@@ -1516,6 +1589,15 @@ export interface MailConfiguration {
|
|
|
1516
1589
|
*/
|
|
1517
1590
|
ContactGroup?: Array<number | bigint>;
|
|
1518
1591
|
}
|
|
1592
|
+
/**
|
|
1593
|
+
* UpdateAgentSwitch返回参数结构体
|
|
1594
|
+
*/
|
|
1595
|
+
export interface UpdateAgentSwitchResponse {
|
|
1596
|
+
/**
|
|
1597
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1598
|
+
*/
|
|
1599
|
+
RequestId?: string;
|
|
1600
|
+
}
|
|
1519
1601
|
/**
|
|
1520
1602
|
* VerifyUserAccount请求参数结构体
|
|
1521
1603
|
*/
|
|
@@ -1810,6 +1892,41 @@ export interface InstanceConfs {
|
|
|
1810
1892
|
*/
|
|
1811
1893
|
KeyDelimiters?: Array<string>;
|
|
1812
1894
|
}
|
|
1895
|
+
/**
|
|
1896
|
+
* 接收组信息
|
|
1897
|
+
*/
|
|
1898
|
+
export interface ReceiveInfo {
|
|
1899
|
+
/**
|
|
1900
|
+
* 接收组
|
|
1901
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1902
|
+
*/
|
|
1903
|
+
ReceiveGroup?: Array<number | bigint>;
|
|
1904
|
+
/**
|
|
1905
|
+
* 最后接收时间
|
|
1906
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1907
|
+
*/
|
|
1908
|
+
EndReceiveTime?: string;
|
|
1909
|
+
/**
|
|
1910
|
+
* 接收名
|
|
1911
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1912
|
+
*/
|
|
1913
|
+
ReceiveName?: string;
|
|
1914
|
+
/**
|
|
1915
|
+
* 推送渠道
|
|
1916
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1917
|
+
*/
|
|
1918
|
+
SendChannel?: Array<number | bigint>;
|
|
1919
|
+
/**
|
|
1920
|
+
* 开始时间
|
|
1921
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1922
|
+
*/
|
|
1923
|
+
StartReceiveTime?: string;
|
|
1924
|
+
/**
|
|
1925
|
+
* 接收用户列表
|
|
1926
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1927
|
+
*/
|
|
1928
|
+
ReceiveUin?: Array<ReceiveUin>;
|
|
1929
|
+
}
|
|
1813
1930
|
/**
|
|
1814
1931
|
* DescribeSqlTemplate返回参数结构体
|
|
1815
1932
|
*/
|
|
@@ -1887,21 +2004,37 @@ export interface DescribeDBDiagHistoryResponse {
|
|
|
1887
2004
|
RequestId?: string;
|
|
1888
2005
|
}
|
|
1889
2006
|
/**
|
|
1890
|
-
*
|
|
2007
|
+
* DescribeDiagDBInstances请求参数结构体
|
|
1891
2008
|
*/
|
|
1892
|
-
export interface
|
|
2009
|
+
export interface DescribeDiagDBInstancesRequest {
|
|
1893
2010
|
/**
|
|
1894
|
-
*
|
|
2011
|
+
* 是否是DBbrain支持的实例,固定传 true。
|
|
1895
2012
|
*/
|
|
1896
|
-
|
|
2013
|
+
IsSupported: boolean;
|
|
1897
2014
|
/**
|
|
1898
|
-
*
|
|
2015
|
+
* 服务产品类型,支持值包括:"mysql" - 云数据库 MySQL,"cynosdb" - 云数据库 TDSQL-C for MySQL,"dbbrain-mysql" - 自建 MySQL,默认为"mysql"。
|
|
1899
2016
|
*/
|
|
1900
|
-
|
|
2017
|
+
Product: string;
|
|
1901
2018
|
/**
|
|
1902
|
-
*
|
|
2019
|
+
* 分页参数,偏移量。
|
|
1903
2020
|
*/
|
|
1904
|
-
|
|
2021
|
+
Offset: number;
|
|
2022
|
+
/**
|
|
2023
|
+
* 分页参数,分页值,最大值为100。
|
|
2024
|
+
*/
|
|
2025
|
+
Limit: number;
|
|
2026
|
+
/**
|
|
2027
|
+
* 根据实例名称条件查询。
|
|
2028
|
+
*/
|
|
2029
|
+
InstanceNames?: Array<string>;
|
|
2030
|
+
/**
|
|
2031
|
+
* 根据实例ID条件查询。
|
|
2032
|
+
*/
|
|
2033
|
+
InstanceIds?: Array<string>;
|
|
2034
|
+
/**
|
|
2035
|
+
* 根据地域条件查询。
|
|
2036
|
+
*/
|
|
2037
|
+
Regions?: Array<string>;
|
|
1905
2038
|
}
|
|
1906
2039
|
/**
|
|
1907
2040
|
* ModifySqlFilters请求参数结构体
|
|
@@ -2085,6 +2218,21 @@ export interface InstanceBasicInfo {
|
|
|
2085
2218
|
*/
|
|
2086
2219
|
EngineVersion: string;
|
|
2087
2220
|
}
|
|
2221
|
+
/**
|
|
2222
|
+
* 接收用户
|
|
2223
|
+
*/
|
|
2224
|
+
export interface ReceiveUin {
|
|
2225
|
+
/**
|
|
2226
|
+
* 用户名
|
|
2227
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2228
|
+
*/
|
|
2229
|
+
UinName?: string;
|
|
2230
|
+
/**
|
|
2231
|
+
* 用户id
|
|
2232
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2233
|
+
*/
|
|
2234
|
+
Uin?: string;
|
|
2235
|
+
}
|
|
2088
2236
|
/**
|
|
2089
2237
|
* 库空间统计数据。
|
|
2090
2238
|
*/
|
|
@@ -2137,37 +2285,58 @@ export interface DescribeAllUserContactRequest {
|
|
|
2137
2285
|
Names?: Array<string>;
|
|
2138
2286
|
}
|
|
2139
2287
|
/**
|
|
2140
|
-
*
|
|
2288
|
+
* 关系型数据库线程
|
|
2141
2289
|
*/
|
|
2142
|
-
export interface
|
|
2290
|
+
export interface MySqlProcess {
|
|
2143
2291
|
/**
|
|
2144
|
-
*
|
|
2292
|
+
* 线程ID。
|
|
2145
2293
|
*/
|
|
2146
|
-
|
|
2294
|
+
ID: string;
|
|
2147
2295
|
/**
|
|
2148
|
-
*
|
|
2296
|
+
* 线程的操作账号名。
|
|
2149
2297
|
*/
|
|
2150
|
-
|
|
2298
|
+
User: string;
|
|
2151
2299
|
/**
|
|
2152
|
-
*
|
|
2300
|
+
* 线程的操作主机地址。
|
|
2153
2301
|
*/
|
|
2154
|
-
|
|
2302
|
+
Host: string;
|
|
2155
2303
|
/**
|
|
2156
|
-
*
|
|
2304
|
+
* 线程的操作数据库。
|
|
2157
2305
|
*/
|
|
2158
|
-
|
|
2306
|
+
DB: string;
|
|
2159
2307
|
/**
|
|
2160
|
-
*
|
|
2308
|
+
* 线程的操作状态。
|
|
2161
2309
|
*/
|
|
2162
|
-
|
|
2310
|
+
State: string;
|
|
2163
2311
|
/**
|
|
2164
|
-
*
|
|
2312
|
+
* 线程的执行类型。
|
|
2165
2313
|
*/
|
|
2166
|
-
|
|
2314
|
+
Command: string;
|
|
2167
2315
|
/**
|
|
2168
|
-
*
|
|
2316
|
+
* 线程的操作时长,单位秒。
|
|
2169
2317
|
*/
|
|
2170
|
-
|
|
2318
|
+
Time: string;
|
|
2319
|
+
/**
|
|
2320
|
+
* 线程的操作语句。
|
|
2321
|
+
*/
|
|
2322
|
+
Info: string;
|
|
2323
|
+
}
|
|
2324
|
+
/**
|
|
2325
|
+
* DescribeDBDiagEvent请求参数结构体
|
|
2326
|
+
*/
|
|
2327
|
+
export interface DescribeDBDiagEventRequest {
|
|
2328
|
+
/**
|
|
2329
|
+
* 实例 ID 。
|
|
2330
|
+
*/
|
|
2331
|
+
InstanceId: string;
|
|
2332
|
+
/**
|
|
2333
|
+
* 事件 ID 。通过“获取实例诊断历史DescribeDBDiagHistory”获取。
|
|
2334
|
+
*/
|
|
2335
|
+
EventId?: number;
|
|
2336
|
+
/**
|
|
2337
|
+
* 服务产品类型,支持值包括: "mysql" - 云数据库 MySQL, "cynosdb" - 云数据库 CynosDB for MySQL,默认为"mysql"。
|
|
2338
|
+
*/
|
|
2339
|
+
Product?: string;
|
|
2171
2340
|
}
|
|
2172
2341
|
/**
|
|
2173
2342
|
* DescribeNoPrimaryKeyTables请求参数结构体
|
|
@@ -2194,6 +2363,81 @@ export interface DescribeNoPrimaryKeyTablesRequest {
|
|
|
2194
2363
|
*/
|
|
2195
2364
|
Product?: string;
|
|
2196
2365
|
}
|
|
2366
|
+
/**
|
|
2367
|
+
* 通知模板
|
|
2368
|
+
*/
|
|
2369
|
+
export interface AlarmProfileList {
|
|
2370
|
+
/**
|
|
2371
|
+
* 0-不是 1-是
|
|
2372
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2373
|
+
*/
|
|
2374
|
+
IsWebHook?: number;
|
|
2375
|
+
/**
|
|
2376
|
+
* 接收告警用户数量
|
|
2377
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2378
|
+
*/
|
|
2379
|
+
ReceiveUinCount?: number;
|
|
2380
|
+
/**
|
|
2381
|
+
* 语言
|
|
2382
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2383
|
+
*/
|
|
2384
|
+
Lang?: string;
|
|
2385
|
+
/**
|
|
2386
|
+
* 模板类型
|
|
2387
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2388
|
+
*/
|
|
2389
|
+
TemplateType?: string;
|
|
2390
|
+
/**
|
|
2391
|
+
* 备注
|
|
2392
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2393
|
+
*/
|
|
2394
|
+
Remark?: string;
|
|
2395
|
+
/**
|
|
2396
|
+
* 接收组数量
|
|
2397
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2398
|
+
*/
|
|
2399
|
+
ReceiveGroupCount?: number;
|
|
2400
|
+
/**
|
|
2401
|
+
* 更新用户的uin
|
|
2402
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2403
|
+
*/
|
|
2404
|
+
UpdateUin?: number;
|
|
2405
|
+
/**
|
|
2406
|
+
* 接收类型
|
|
2407
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2408
|
+
*/
|
|
2409
|
+
ReceiveType?: Array<number | bigint>;
|
|
2410
|
+
/**
|
|
2411
|
+
* 接收用户信息
|
|
2412
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2413
|
+
*/
|
|
2414
|
+
ReceiveInfo?: Array<ReceiveInfo>;
|
|
2415
|
+
/**
|
|
2416
|
+
* 更新时间
|
|
2417
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2418
|
+
*/
|
|
2419
|
+
UpdateTime?: string;
|
|
2420
|
+
/**
|
|
2421
|
+
* 模板名
|
|
2422
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2423
|
+
*/
|
|
2424
|
+
TemplateName?: string;
|
|
2425
|
+
/**
|
|
2426
|
+
* 发送渠道
|
|
2427
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2428
|
+
*/
|
|
2429
|
+
SendChannel?: Array<number | bigint>;
|
|
2430
|
+
/**
|
|
2431
|
+
* 模板id
|
|
2432
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2433
|
+
*/
|
|
2434
|
+
TemplateId?: number;
|
|
2435
|
+
/**
|
|
2436
|
+
* webhook数量
|
|
2437
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2438
|
+
*/
|
|
2439
|
+
WebHookCount?: number;
|
|
2440
|
+
}
|
|
2197
2441
|
/**
|
|
2198
2442
|
* 查询实例列表,返回实例的相关信息的对象。
|
|
2199
2443
|
*/
|
|
@@ -2343,6 +2587,19 @@ export interface InstanceInfo {
|
|
|
2343
2587
|
*/
|
|
2344
2588
|
InstanceStatus?: string;
|
|
2345
2589
|
}
|
|
2590
|
+
/**
|
|
2591
|
+
* 通知模板
|
|
2592
|
+
*/
|
|
2593
|
+
export interface TemplateInfo {
|
|
2594
|
+
/**
|
|
2595
|
+
* 模板id
|
|
2596
|
+
*/
|
|
2597
|
+
TemplateId: string;
|
|
2598
|
+
/**
|
|
2599
|
+
* 模板名
|
|
2600
|
+
*/
|
|
2601
|
+
TemplateName: string;
|
|
2602
|
+
}
|
|
2346
2603
|
/**
|
|
2347
2604
|
* DescribeAuditInstanceList请求参数结构体
|
|
2348
2605
|
*/
|
|
@@ -2465,6 +2722,23 @@ export interface CreateSchedulerMailProfileResponse {
|
|
|
2465
2722
|
*/
|
|
2466
2723
|
RequestId?: string;
|
|
2467
2724
|
}
|
|
2725
|
+
/**
|
|
2726
|
+
* DescribeAlarmTemplate返回参数结构体
|
|
2727
|
+
*/
|
|
2728
|
+
export interface DescribeAlarmTemplateResponse {
|
|
2729
|
+
/**
|
|
2730
|
+
* 模板列表
|
|
2731
|
+
*/
|
|
2732
|
+
ProfileList?: Array<AlarmProfileList>;
|
|
2733
|
+
/**
|
|
2734
|
+
* 模板总数
|
|
2735
|
+
*/
|
|
2736
|
+
TotalCount?: number;
|
|
2737
|
+
/**
|
|
2738
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2739
|
+
*/
|
|
2740
|
+
RequestId?: string;
|
|
2741
|
+
}
|
|
2468
2742
|
/**
|
|
2469
2743
|
* DescribeTopSpaceSchemaTimeSeries请求参数结构体
|
|
2470
2744
|
*/
|
|
@@ -2520,45 +2794,21 @@ export interface ModifyAuditServiceRequest {
|
|
|
2520
2794
|
HotLogExpireDay: number;
|
|
2521
2795
|
}
|
|
2522
2796
|
/**
|
|
2523
|
-
*
|
|
2797
|
+
* DescribeDBDiagEvents返回参数结构体
|
|
2524
2798
|
*/
|
|
2525
|
-
export interface
|
|
2526
|
-
/**
|
|
2527
|
-
* 实例 ID 。
|
|
2528
|
-
*/
|
|
2529
|
-
InstanceId: string;
|
|
2530
|
-
/**
|
|
2531
|
-
* 开始时间,如“2019-09-10 12:13:14”。
|
|
2532
|
-
*/
|
|
2533
|
-
StartTime: string;
|
|
2534
|
-
/**
|
|
2535
|
-
* 截止时间,如“2019-09-11 10:13:14”,截止时间与开始时间的间隔小于7天。
|
|
2536
|
-
*/
|
|
2537
|
-
EndTime: string;
|
|
2538
|
-
/**
|
|
2539
|
-
* 排序键,目前支持 QueryTime,ExecTimes,RowsSent,LockTime以及RowsExamined 等排序键,默认为QueryTime。
|
|
2540
|
-
*/
|
|
2541
|
-
SortBy?: string;
|
|
2542
|
-
/**
|
|
2543
|
-
* 排序方式,支持ASC(升序)以及DESC(降序),默认为DESC。
|
|
2544
|
-
*/
|
|
2545
|
-
OrderBy?: string;
|
|
2546
|
-
/**
|
|
2547
|
-
* 返回数量,默认为20,最大值为100。
|
|
2548
|
-
*/
|
|
2549
|
-
Limit?: number;
|
|
2799
|
+
export interface DescribeDBDiagEventsResponse {
|
|
2550
2800
|
/**
|
|
2551
|
-
*
|
|
2801
|
+
* 诊断事件的总数目。
|
|
2552
2802
|
*/
|
|
2553
|
-
|
|
2803
|
+
TotalCount: number;
|
|
2554
2804
|
/**
|
|
2555
|
-
*
|
|
2805
|
+
* 诊断事件的列表。
|
|
2556
2806
|
*/
|
|
2557
|
-
|
|
2807
|
+
Items: Array<DiagHistoryEventItem>;
|
|
2558
2808
|
/**
|
|
2559
|
-
*
|
|
2809
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2560
2810
|
*/
|
|
2561
|
-
|
|
2811
|
+
RequestId?: string;
|
|
2562
2812
|
}
|
|
2563
2813
|
/**
|
|
2564
2814
|
* DescribeMailProfile返回参数结构体
|
|
@@ -2662,15 +2912,15 @@ export interface DescribeDiagDBInstancesResponse {
|
|
|
2662
2912
|
/**
|
|
2663
2913
|
* 实例总数。
|
|
2664
2914
|
*/
|
|
2665
|
-
TotalCount
|
|
2915
|
+
TotalCount?: number;
|
|
2666
2916
|
/**
|
|
2667
2917
|
* 全实例巡检状态:0:开启全实例巡检;1:未开启全实例巡检。
|
|
2668
2918
|
*/
|
|
2669
|
-
DbScanStatus
|
|
2919
|
+
DbScanStatus?: number;
|
|
2670
2920
|
/**
|
|
2671
2921
|
* 实例相关信息。
|
|
2672
2922
|
*/
|
|
2673
|
-
Items
|
|
2923
|
+
Items?: Array<InstanceInfo>;
|
|
2674
2924
|
/**
|
|
2675
2925
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2676
2926
|
*/
|
|
@@ -2867,6 +3117,28 @@ export interface AuditLogFile {
|
|
|
2867
3117
|
*/
|
|
2868
3118
|
FinishTime?: string;
|
|
2869
3119
|
}
|
|
3120
|
+
/**
|
|
3121
|
+
* DescribeAlarmTemplate请求参数结构体
|
|
3122
|
+
*/
|
|
3123
|
+
export interface DescribeAlarmTemplateRequest {
|
|
3124
|
+
/**
|
|
3125
|
+
* 搜索字段
|
|
3126
|
+
*/
|
|
3127
|
+
TemplateNameRegexp: string;
|
|
3128
|
+
/**
|
|
3129
|
+
* 返回限制长度
|
|
3130
|
+
*/
|
|
3131
|
+
Limit: number;
|
|
3132
|
+
/**
|
|
3133
|
+
* 偏置
|
|
3134
|
+
*/
|
|
3135
|
+
Offset: number;
|
|
3136
|
+
/**
|
|
3137
|
+
* mysql - mysql
|
|
3138
|
+
cynosdb - tdsql-c
|
|
3139
|
+
*/
|
|
3140
|
+
Product?: string;
|
|
3141
|
+
}
|
|
2870
3142
|
/**
|
|
2871
3143
|
* DescribeSlowLogTimeSeriesStats返回参数结构体
|
|
2872
3144
|
*/
|
|
@@ -2939,6 +3211,62 @@ export interface MonitorFloatMetric {
|
|
|
2939
3211
|
*/
|
|
2940
3212
|
Values: Array<number>;
|
|
2941
3213
|
}
|
|
3214
|
+
/**
|
|
3215
|
+
* ModifyAlarmPolicy请求参数结构体
|
|
3216
|
+
*/
|
|
3217
|
+
export interface ModifyAlarmPolicyRequest {
|
|
3218
|
+
/**
|
|
3219
|
+
* 类型
|
|
3220
|
+
*/
|
|
3221
|
+
ApplyType: string;
|
|
3222
|
+
/**
|
|
3223
|
+
* 开启策略
|
|
3224
|
+
*/
|
|
3225
|
+
Enable: number;
|
|
3226
|
+
/**
|
|
3227
|
+
* 列表
|
|
3228
|
+
*/
|
|
3229
|
+
InstanceIds: Array<InstanceID>;
|
|
3230
|
+
/**
|
|
3231
|
+
* User-动态关联该用户所有实例
|
|
3232
|
+
Instance-关联实例列表的实例
|
|
3233
|
+
*/
|
|
3234
|
+
NewProfileLevel: string;
|
|
3235
|
+
/**
|
|
3236
|
+
* 新策略名
|
|
3237
|
+
*/
|
|
3238
|
+
NewProfileName: string;
|
|
3239
|
+
/**
|
|
3240
|
+
* 旧策略名
|
|
3241
|
+
*/
|
|
3242
|
+
ProfileName: string;
|
|
3243
|
+
/**
|
|
3244
|
+
* 策略类型
|
|
3245
|
+
*/
|
|
3246
|
+
ProfileType: string;
|
|
3247
|
+
/**
|
|
3248
|
+
* 备注
|
|
3249
|
+
*/
|
|
3250
|
+
Remark: string;
|
|
3251
|
+
/**
|
|
3252
|
+
* 规则类型 0-快速,1-自定义 若值为0,则QuickRule不能为空,若值为1,则Rules 不能为空
|
|
3253
|
+
*/
|
|
3254
|
+
RuleType: number;
|
|
3255
|
+
/**
|
|
3256
|
+
* 接受模板
|
|
3257
|
+
*/
|
|
3258
|
+
TemplateInfo: Array<TemplateInfo>;
|
|
3259
|
+
/**
|
|
3260
|
+
* 快速规则 支持包括fatal-致命, critical-严重,
|
|
3261
|
+
warning-告警,
|
|
3262
|
+
information-通知
|
|
3263
|
+
*/
|
|
3264
|
+
QuickRule?: string;
|
|
3265
|
+
/**
|
|
3266
|
+
* 自定义规则
|
|
3267
|
+
*/
|
|
3268
|
+
Rules?: Array<AlarmsRules>;
|
|
3269
|
+
}
|
|
2942
3270
|
/**
|
|
2943
3271
|
* DescribeRedisTopKeyPrefixList返回参数结构体
|
|
2944
3272
|
*/
|
|
@@ -2974,6 +3302,15 @@ export interface DescribeAllUserGroupResponse {
|
|
|
2974
3302
|
*/
|
|
2975
3303
|
RequestId?: string;
|
|
2976
3304
|
}
|
|
3305
|
+
/**
|
|
3306
|
+
* UpdateMonitorSwitch返回参数结构体
|
|
3307
|
+
*/
|
|
3308
|
+
export interface UpdateMonitorSwitchResponse {
|
|
3309
|
+
/**
|
|
3310
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
3311
|
+
*/
|
|
3312
|
+
RequestId?: string;
|
|
3313
|
+
}
|
|
2977
3314
|
/**
|
|
2978
3315
|
* CreateAuditLogFile请求参数结构体
|
|
2979
3316
|
*/
|