tencentcloud-sdk-nodejs-dbbrain 4.0.256 → 4.0.258
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 +407 -136
- package/package.json +1 -1
- package/products.md +23 -23
- package/src/services/dbbrain/v20210527/dbbrain_client.ts +14 -2
- package/src/services/dbbrain/v20210527/dbbrain_models.ts +100 -45
- package/tencentcloud/services/dbbrain/v20210527/dbbrain_client.d.ts +5 -1
- package/tencentcloud/services/dbbrain/v20210527/dbbrain_client.js +6 -0
- package/tencentcloud/services/dbbrain/v20210527/dbbrain_models.d.ts +85 -39
package/package.json
CHANGED
package/products.md
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
| afc | [定制建模](https://cloud.tencent.com/document/product/1029) | 2021-11-18 08:02:17 |
|
|
8
8
|
| ame | [正版曲库直通车](https://cloud.tencent.com/document/product/1155) | 2021-12-03 08:01:26 |
|
|
9
9
|
| ams | [音频内容检测](https://cloud.tencent.com/document/product/1219) | 2021-11-10 08:01:55 |
|
|
10
|
-
| antiddos | [DDoS 防护](https://cloud.tencent.com/document/product/1021) | 2021-12-
|
|
10
|
+
| antiddos | [DDoS 防护](https://cloud.tencent.com/document/product/1021) | 2021-12-15 08:02:37 |
|
|
11
11
|
| apcas | [汽车精准获客服务](https://cloud.tencent.com/document/product/1244) | 2021-11-10 08:02:02 |
|
|
12
12
|
| ape | [正版图库直通车](https://cloud.tencent.com/document/product/1181) | 2021-11-10 08:02:03 |
|
|
13
13
|
| api | [云 API](https://cloud.tencent.com/document/product/546) | 2021-04-25 10:09:57 |
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
| ba | [网站备案](https://cloud.tencent.com/document/product/243) | 2021-11-10 08:02:33 |
|
|
20
20
|
| batch | [批量计算](https://cloud.tencent.com/document/product/599) | 2021-11-10 08:02:34 |
|
|
21
21
|
| bda | [人体分析](https://cloud.tencent.com/document/product/1208) | 2021-12-07 08:02:49 |
|
|
22
|
-
| billing | [计费相关](https://cloud.tencent.com/document/product/555) | 2021-12-
|
|
22
|
+
| billing | [计费相关](https://cloud.tencent.com/document/product/555) | 2021-12-16 08:04:53 |
|
|
23
23
|
| bizlive | [商业直播](https://cloud.tencent.com/document/product) | 2020-03-10 01:08:07 |
|
|
24
24
|
| bm | [黑石物理服务器1.0](https://cloud.tencent.com/document/product/386) | 2021-11-10 08:02:45 |
|
|
25
25
|
| bmeip | [黑石弹性公网IP](https://cloud.tencent.com/document/product/1028) | 2021-11-10 08:02:52 |
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
| bmvpc | [黑石私有网络](https://cloud.tencent.com/document/product/1024) | 2021-11-10 08:03:01 |
|
|
28
28
|
| bri | [业务风险情报](https://cloud.tencent.com/document/product/1064) | 2021-01-07 08:02:40 |
|
|
29
29
|
| btoe | [区块链可信取证](https://cloud.tencent.com/document/product/1259) | 2021-11-10 08:03:08 |
|
|
30
|
-
| cam | [访问管理](https://cloud.tencent.com/document/product/598) | 2021-12-
|
|
30
|
+
| cam | [访问管理](https://cloud.tencent.com/document/product/598) | 2021-12-16 08:05:15 |
|
|
31
31
|
| captcha | [验证码](https://cloud.tencent.com/document/product/1110) | 2021-12-03 08:02:43 |
|
|
32
32
|
| cat | [云拨测](https://cloud.tencent.com/document/product/280) | 2021-12-14 08:06:08 |
|
|
33
33
|
| cbs | [云硬盘](https://cloud.tencent.com/document/product/362) | 2021-11-10 08:03:22 |
|
|
@@ -37,15 +37,15 @@
|
|
|
37
37
|
| cds | [数据安全审计](https://cloud.tencent.com/document/product/856) | 2021-11-10 08:03:57 |
|
|
38
38
|
| cfs | [文件存储](https://cloud.tencent.com/document/product/582) | 2021-12-06 08:02:54 |
|
|
39
39
|
| cfw | [云防火墙](https://cloud.tencent.com/document/product/1132) | 2021-12-01 08:04:35 |
|
|
40
|
-
| chdfs | [云 HDFS](https://cloud.tencent.com/document/product/1105) | 2021-12-
|
|
41
|
-
| cii | [智能保险助手](https://cloud.tencent.com/document/product/1368) | 2021-12-
|
|
40
|
+
| chdfs | [云 HDFS](https://cloud.tencent.com/document/product/1105) | 2021-12-15 08:04:46 |
|
|
41
|
+
| cii | [智能保险助手](https://cloud.tencent.com/document/product/1368) | 2021-12-16 08:06:21 |
|
|
42
42
|
| cim | [](https://cloud.tencent.com/document/product) | 2019-05-16 17:21:18 |
|
|
43
43
|
| cis | [](https://cloud.tencent.com/document/product) | 2018-06-07 15:01:42 |
|
|
44
44
|
| ckafka | [消息队列 Ckafka](https://cloud.tencent.com/document/product/597) | 2021-12-14 08:07:08 |
|
|
45
45
|
| clb | [负载均衡](https://cloud.tencent.com/document/product/214) | 2021-12-14 08:07:15 |
|
|
46
46
|
| cloudaudit | [云审计](https://cloud.tencent.com/document/product/629) | 2021-11-16 08:07:51 |
|
|
47
47
|
| cloudhsm | [云加密机](https://cloud.tencent.com/document/product/639) | 2021-11-10 08:04:28 |
|
|
48
|
-
| cls | [日志服务](https://cloud.tencent.com/document/product/614) | 2021-12-
|
|
48
|
+
| cls | [日志服务](https://cloud.tencent.com/document/product/614) | 2021-12-14 14:53:27 |
|
|
49
49
|
| cme | [多媒体创作引擎](https://cloud.tencent.com/document/product/1156) | 2021-12-14 08:07:36 |
|
|
50
50
|
| cmq | [消息队列 CMQ](https://cloud.tencent.com/document/product/406) | 2021-11-10 08:04:45 |
|
|
51
51
|
| cms | [内容安全](https://cloud.tencent.com/document/product) | 2020-10-29 08:03:08 |
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
| cws | [漏洞扫描服务](https://cloud.tencent.com/document/product) | 2019-11-22 12:16:15 |
|
|
57
57
|
| cynosdb | [云原生数据库 TDSQL-C](https://cloud.tencent.com/document/product/1003) | 2021-11-17 08:10:15 |
|
|
58
58
|
| dayu | [DDoS 高防包](https://cloud.tencent.com/document/product/1021) | 2021-11-10 08:05:47 |
|
|
59
|
-
| dbbrain | [数据库智能管家 DBbrain](https://cloud.tencent.com/document/product/1130) | 2021-
|
|
59
|
+
| dbbrain | [数据库智能管家 DBbrain](https://cloud.tencent.com/document/product/1130) | 2021-12-15 08:06:44 |
|
|
60
60
|
| dc | [专线接入](https://cloud.tencent.com/document/product/216) | 2021-11-10 08:06:00 |
|
|
61
61
|
| dcdb | [分布式数据库 TDSQL](https://cloud.tencent.com/document/product/557) | 2021-12-07 08:06:14 |
|
|
62
62
|
| dlc | [数据湖计算](https://cloud.tencent.com/document/product/1342) | 2021-11-10 08:06:10 |
|
|
@@ -69,13 +69,13 @@
|
|
|
69
69
|
| ecc | [英文作文批改](https://cloud.tencent.com/document/product/1076) | 2021-11-10 08:06:30 |
|
|
70
70
|
| ecdn | [全站加速网络](https://cloud.tencent.com/document/product/570) | 2021-12-02 08:06:56 |
|
|
71
71
|
| ecm | [边缘计算机器](https://cloud.tencent.com/document/product/1108) | 2021-12-06 08:05:41 |
|
|
72
|
-
| eiam | [数字身份管控平台(员工版)](https://cloud.tencent.com/document/product/1442) | 2021-12-
|
|
72
|
+
| eiam | [数字身份管控平台(员工版)](https://cloud.tencent.com/document/product/1442) | 2021-12-15 08:07:41 |
|
|
73
73
|
| eis | [企业集成服务](https://cloud.tencent.com/document/product/1270) | 2021-11-10 08:06:56 |
|
|
74
74
|
| emr | [弹性 MapReduce](https://cloud.tencent.com/document/product/589) | 2021-12-10 08:06:20 |
|
|
75
75
|
| es | [Elasticsearch Service](https://cloud.tencent.com/document/product/845) | 2021-11-10 08:07:00 |
|
|
76
76
|
| essbasic | [腾讯电子签(基础版)](https://cloud.tencent.com/document/product/1420) | 2021-11-10 08:07:03 |
|
|
77
77
|
| facefusion | [人脸融合](https://cloud.tencent.com/document/product/670) | 2021-11-18 08:08:10 |
|
|
78
|
-
| faceid | [人脸核身](https://cloud.tencent.com/document/product/1007) | 2021-12-
|
|
78
|
+
| faceid | [人脸核身](https://cloud.tencent.com/document/product/1007) | 2021-12-16 08:09:22 |
|
|
79
79
|
| fmu | [人脸试妆](https://cloud.tencent.com/document/product/1172) | 2021-12-14 08:10:17 |
|
|
80
80
|
| ft | [人像变换](https://cloud.tencent.com/document/product/1202) | 2021-12-08 08:10:45 |
|
|
81
81
|
| gaap | [全球应用加速](https://cloud.tencent.com/document/product/608) | 2021-12-03 08:06:49 |
|
|
@@ -95,11 +95,11 @@
|
|
|
95
95
|
| iotexplorer | [物联网开发平台](https://cloud.tencent.com/document/product/1081) | 2021-12-10 08:07:35 |
|
|
96
96
|
| iottid | [物联网设备身份认证](https://cloud.tencent.com/document/product/1086) | 2021-11-10 08:08:16 |
|
|
97
97
|
| iotvideo | [物联网智能视频服务](https://cloud.tencent.com/document/product/1131) | 2021-12-03 08:07:55 |
|
|
98
|
-
| iotvideoindustry | [物联网智能视频服务(行业版)](https://cloud.tencent.com/document/product/1361) | 2021-12-
|
|
98
|
+
| iotvideoindustry | [物联网智能视频服务(行业版)](https://cloud.tencent.com/document/product/1361) | 2021-12-16 08:10:46 |
|
|
99
99
|
| ivld | [视频智能标签](https://cloud.tencent.com/document/product/1509) | 2021-11-30 14:56:41 |
|
|
100
100
|
| kms | [密钥管理系统](https://cloud.tencent.com/document/product/573) | 2021-11-29 08:10:07 |
|
|
101
|
-
| lighthouse | [轻量应用服务器](https://cloud.tencent.com/document/product/1207) | 2021-12-
|
|
102
|
-
| live | [云直播](https://cloud.tencent.com/document/product/267) | 2021-12-
|
|
101
|
+
| lighthouse | [轻量应用服务器](https://cloud.tencent.com/document/product/1207) | 2021-12-16 08:11:07 |
|
|
102
|
+
| live | [云直播](https://cloud.tencent.com/document/product/267) | 2021-12-15 08:10:09 |
|
|
103
103
|
| lp | [登录保护](https://cloud.tencent.com/document/product/1190) | 2021-11-10 08:08:46 |
|
|
104
104
|
| mariadb | [云数据库 MariaDB](https://cloud.tencent.com/document/product/237) | 2021-11-26 08:11:04 |
|
|
105
105
|
| market | [云市场](https://cloud.tencent.com/document/product/306) | 2021-11-10 08:08:54 |
|
|
@@ -107,7 +107,7 @@
|
|
|
107
107
|
| mgobe | [游戏联机对战引擎](https://cloud.tencent.com/document/product/1038) | 2021-11-10 08:08:55 |
|
|
108
108
|
| mna | [移动网络加速](https://cloud.tencent.com/document/product/1385) | 2021-11-10 08:08:55 |
|
|
109
109
|
| mongodb | [云数据库 MongoDB](https://cloud.tencent.com/document/product/240) | 2021-12-14 08:12:21 |
|
|
110
|
-
| monitor | [云监控](https://cloud.tencent.com/document/product/248) | 2021-12-
|
|
110
|
+
| monitor | [云监控](https://cloud.tencent.com/document/product/248) | 2021-12-16 08:11:56 |
|
|
111
111
|
| mps | [视频处理](https://cloud.tencent.com/document/product/862) | 2021-11-24 08:11:23 |
|
|
112
112
|
| mrs | [医疗报告结构化](https://cloud.tencent.com/document/product/1314) | 2021-12-14 08:12:50 |
|
|
113
113
|
| ms | [移动应用安全](https://cloud.tencent.com/document/product) | 2020-06-05 08:13:52 |
|
|
@@ -116,7 +116,7 @@
|
|
|
116
116
|
| nlp | [自然语言处理](https://cloud.tencent.com/document/product/271) | 2021-11-10 08:09:23 |
|
|
117
117
|
| npp | [号码保护](https://cloud.tencent.com/document/product) | 2020-04-22 08:00:22 |
|
|
118
118
|
| oceanus | [流计算 Oceanus](https://cloud.tencent.com/document/product/849) | 2021-12-07 08:09:58 |
|
|
119
|
-
| ocr | [文字识别](https://cloud.tencent.com/document/product/866) | 2021-
|
|
119
|
+
| ocr | [文字识别](https://cloud.tencent.com/document/product/866) | 2021-12-16 08:12:30 |
|
|
120
120
|
| organization | [企业组织](https://cloud.tencent.com/document/product/850) | 2021-11-10 08:09:46 |
|
|
121
121
|
| partners | [渠道合作伙伴](https://cloud.tencent.com/document/product/563) | 2021-11-18 08:11:02 |
|
|
122
122
|
| pds | [私域安全](https://cloud.tencent.com/document/product/1473) | 2021-11-10 08:09:50 |
|
|
@@ -126,11 +126,11 @@
|
|
|
126
126
|
| redis | [云数据库 Redis](https://cloud.tencent.com/document/product/239) | 2021-12-07 13:09:58 |
|
|
127
127
|
| rkp | [风险探针](https://cloud.tencent.com/document/product/1169) | 2021-11-10 08:10:03 |
|
|
128
128
|
| rp | [注册保护](https://cloud.tencent.com/document/product/1191) | 2021-11-10 08:10:04 |
|
|
129
|
-
| rum | [前端性能监控](https://cloud.tencent.com/document/product/1464) | 2021-12-
|
|
129
|
+
| rum | [前端性能监控](https://cloud.tencent.com/document/product/1464) | 2021-12-16 08:13:07 |
|
|
130
130
|
| scf | [云函数](https://cloud.tencent.com/document/product/583) | 2021-12-13 08:12:48 |
|
|
131
131
|
| ses | [邮件推送](https://cloud.tencent.com/document/product/1288) | 2021-11-26 08:12:29 |
|
|
132
132
|
| smpn | [营销号码安全](https://cloud.tencent.com/document/product/1127) | 2021-11-10 08:10:15 |
|
|
133
|
-
| sms | [短信](https://cloud.tencent.com/document/product/382) | 2021-
|
|
133
|
+
| sms | [短信](https://cloud.tencent.com/document/product/382) | 2021-12-16 08:13:20 |
|
|
134
134
|
| soe | [智聆口语评测](https://cloud.tencent.com/document/product/884) | 2021-11-18 08:11:34 |
|
|
135
135
|
| solar | [智汇零售](https://cloud.tencent.com/document/product) | 2020-03-19 08:01:59 |
|
|
136
136
|
| sqlserver | [云数据库 SQL Server](https://cloud.tencent.com/document/product/238) | 2021-11-10 08:10:19 |
|
|
@@ -138,7 +138,7 @@
|
|
|
138
138
|
| ssl | [证书](https://cloud.tencent.com/document/product/400) | 2021-12-08 08:14:38 |
|
|
139
139
|
| sslpod | [SSL 证书监控](https://cloud.tencent.com/document/product/1084) | 2021-11-10 08:10:37 |
|
|
140
140
|
| ssm | [凭据管理系统](https://cloud.tencent.com/document/product/1140) | 2021-11-10 08:10:38 |
|
|
141
|
-
| sts | [安全凭证服务](https://cloud.tencent.com/document/product/1312) | 2021-
|
|
141
|
+
| sts | [安全凭证服务](https://cloud.tencent.com/document/product/1312) | 2021-12-16 08:13:48 |
|
|
142
142
|
| taf | [流量反欺诈](https://cloud.tencent.com/document/product/1031) | 2021-11-10 08:10:43 |
|
|
143
143
|
| tag | [标签](https://cloud.tencent.com/document/product/651) | 2021-11-10 08:10:44 |
|
|
144
144
|
| tat | [腾讯云自动化助手](https://cloud.tencent.com/document/product/1340) | 2021-12-09 08:10:32 |
|
|
@@ -156,21 +156,21 @@
|
|
|
156
156
|
| tdid | [分布式身份](https://cloud.tencent.com/document/product/1439) | 2021-11-10 08:11:24 |
|
|
157
157
|
| tdmq | [分布式消息队列](https://cloud.tencent.com/document/product/1179) | 2021-12-14 08:15:22 |
|
|
158
158
|
| tem | [弹性微服务](https://cloud.tencent.com/document/product/1371) | 2021-12-09 08:11:43 |
|
|
159
|
-
| thpc | [高性能计算平台](https://cloud.tencent.com/document/product/1527) | 2021-12-
|
|
159
|
+
| thpc | [高性能计算平台](https://cloud.tencent.com/document/product/1527) | 2021-12-16 08:15:07 |
|
|
160
160
|
| tia | [智能钛机器学习](https://cloud.tencent.com/document/product/851) | 2021-10-21 11:12:52 |
|
|
161
161
|
| tic | [腾讯云IaC平台](https://cloud.tencent.com/document/product/1213) | 2021-11-10 08:11:35 |
|
|
162
162
|
| ticm | [智能鉴黄](https://cloud.tencent.com/document/product/864) | 2021-01-07 08:08:15 |
|
|
163
163
|
| tics | [威胁情报云查服务](https://cloud.tencent.com/document/product/1013) | 2021-11-10 08:11:37 |
|
|
164
164
|
| tiems | [智能钛弹性模型服务](https://cloud.tencent.com/document/product/1120) | 2021-11-10 08:11:38 |
|
|
165
|
-
| tiia | [图像分析](https://cloud.tencent.com/document/product/865) | 2021-
|
|
165
|
+
| tiia | [图像分析](https://cloud.tencent.com/document/product/865) | 2021-12-16 08:15:16 |
|
|
166
166
|
| tione | [智能钛机器学习平台](https://cloud.tencent.com/document/product/851) | 2021-11-10 08:11:45 |
|
|
167
|
-
| tiw | [互动白板](https://cloud.tencent.com/document/product/1137) | 2021-12-
|
|
168
|
-
| tke | [容器服务](https://cloud.tencent.com/document/product/457) | 2021-12-
|
|
167
|
+
| tiw | [互动白板](https://cloud.tencent.com/document/product/1137) | 2021-12-15 08:14:01 |
|
|
168
|
+
| tke | [容器服务](https://cloud.tencent.com/document/product/457) | 2021-12-16 08:15:28 |
|
|
169
169
|
| tkgdq | [腾讯知识图谱数据查询](https://cloud.tencent.com/document/product) | 2020-03-10 00:51:44 |
|
|
170
170
|
| tms | [文本内容安全](https://cloud.tencent.com/document/product/1124) | 2021-11-10 08:12:05 |
|
|
171
171
|
| tmt | [机器翻译](https://cloud.tencent.com/document/product/551) | 2021-11-10 08:12:05 |
|
|
172
172
|
| trtc | [实时音视频](https://cloud.tencent.com/document/product/647) | 2021-11-11 11:09:51 |
|
|
173
|
-
| tse | [腾讯云微服务引擎](https://cloud.tencent.com/document/product/1364) | 2021-12-
|
|
173
|
+
| tse | [腾讯云微服务引擎](https://cloud.tencent.com/document/product/1364) | 2021-12-16 08:15:47 |
|
|
174
174
|
| tsf | [腾讯微服务平台 TSF](https://cloud.tencent.com/document/product/649) | 2021-11-30 08:13:08 |
|
|
175
175
|
| tsw | [腾讯微服务观测平台 TSW](https://cloud.tencent.com/document/product/1311) | 2021-11-10 08:12:32 |
|
|
176
176
|
| tts | [语音合成](https://cloud.tencent.com/document/product/1073) | 2021-11-10 08:12:33 |
|
|
@@ -178,7 +178,7 @@
|
|
|
178
178
|
| vm | [视频内容安全](https://cloud.tencent.com/document/product/1265) | 2021-11-10 08:12:36 |
|
|
179
179
|
| vms | [语音消息](https://cloud.tencent.com/document/product/1128) | 2021-11-10 08:12:38 |
|
|
180
180
|
| vod | [云点播](https://cloud.tencent.com/document/product/266) | 2021-12-13 08:15:55 |
|
|
181
|
-
| vpc | [私有网络](https://cloud.tencent.com/document/product/215) | 2021-12-
|
|
181
|
+
| vpc | [私有网络](https://cloud.tencent.com/document/product/215) | 2021-12-15 08:15:14 |
|
|
182
182
|
| waf | [Web 应用防火墙](https://cloud.tencent.com/document/product/627) | 2021-12-02 08:14:23 |
|
|
183
183
|
| wav | [企业微信汽车行业版](https://cloud.tencent.com/document/product/1318) | 2021-11-10 08:13:30 |
|
|
184
184
|
| wss | [SSL证书管理服务](https://cloud.tencent.com/document/product) | 2020-04-01 08:53:44 |
|
|
@@ -26,6 +26,7 @@ import {
|
|
|
26
26
|
InstanceConfs,
|
|
27
27
|
CreateSecurityAuditLogExportTaskRequest,
|
|
28
28
|
DescribeDBDiagEventResponse,
|
|
29
|
+
DescribeDBDiagEventsResponse,
|
|
29
30
|
DescribeDBDiagReportTasksResponse,
|
|
30
31
|
AddUserContactResponse,
|
|
31
32
|
ModifyDiagDBInstanceConfResponse,
|
|
@@ -41,12 +42,12 @@ import {
|
|
|
41
42
|
TimeSlice,
|
|
42
43
|
ModifyDiagDBInstanceConfRequest,
|
|
43
44
|
DescribeSecurityAuditLogDownloadUrlsRequest,
|
|
44
|
-
|
|
45
|
+
MySqlProcess,
|
|
45
46
|
CreateMailProfileResponse,
|
|
46
47
|
DescribeSlowLogTimeSeriesStatsRequest,
|
|
47
48
|
CreateDBDiagReportUrlResponse,
|
|
48
49
|
DescribeDBDiagHistoryRequest,
|
|
49
|
-
|
|
50
|
+
CreateDBDiagReportTaskResponse,
|
|
50
51
|
DiagHistoryEventItem,
|
|
51
52
|
SlowLogHost,
|
|
52
53
|
CreateMailProfileRequest,
|
|
@@ -93,6 +94,7 @@ import {
|
|
|
93
94
|
DescribeAllUserGroupResponse,
|
|
94
95
|
DescribeUserSqlAdviceResponse,
|
|
95
96
|
DescribeDBSpaceStatusResponse,
|
|
97
|
+
DescribeDBDiagEventsRequest,
|
|
96
98
|
GroupItem,
|
|
97
99
|
DescribeTopSpaceTableTimeSeriesRequest,
|
|
98
100
|
DescribeDBDiagReportTasksRequest,
|
|
@@ -186,6 +188,16 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
186
188
|
return this.request("DescribeAllUserGroup", req, cb)
|
|
187
189
|
}
|
|
188
190
|
|
|
191
|
+
/**
|
|
192
|
+
* 获取指定时间段内的诊断事件列表,支持依据风险等级、实例ID等条件过滤。
|
|
193
|
+
*/
|
|
194
|
+
async DescribeDBDiagEvents(
|
|
195
|
+
req: DescribeDBDiagEventsRequest,
|
|
196
|
+
cb?: (error: string, rep: DescribeDBDiagEventsResponse) => void
|
|
197
|
+
): Promise<DescribeDBDiagEventsResponse> {
|
|
198
|
+
return this.request("DescribeDBDiagEvents", req, cb)
|
|
199
|
+
}
|
|
200
|
+
|
|
189
201
|
/**
|
|
190
202
|
* 获取慢日志统计柱状图。
|
|
191
203
|
*/
|
|
@@ -306,6 +306,26 @@ export interface DescribeDBDiagEventResponse {
|
|
|
306
306
|
RequestId?: string
|
|
307
307
|
}
|
|
308
308
|
|
|
309
|
+
/**
|
|
310
|
+
* DescribeDBDiagEvents返回参数结构体
|
|
311
|
+
*/
|
|
312
|
+
export interface DescribeDBDiagEventsResponse {
|
|
313
|
+
/**
|
|
314
|
+
* 诊断事件的总数目。
|
|
315
|
+
*/
|
|
316
|
+
TotalCount: number
|
|
317
|
+
|
|
318
|
+
/**
|
|
319
|
+
* 诊断事件的列表。
|
|
320
|
+
*/
|
|
321
|
+
Items: Array<DiagHistoryEventItem>
|
|
322
|
+
|
|
323
|
+
/**
|
|
324
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
325
|
+
*/
|
|
326
|
+
RequestId?: string
|
|
327
|
+
}
|
|
328
|
+
|
|
309
329
|
/**
|
|
310
330
|
* DescribeDBDiagReportTasks返回参数结构体
|
|
311
331
|
*/
|
|
@@ -709,19 +729,48 @@ export interface DescribeSecurityAuditLogDownloadUrlsRequest {
|
|
|
709
729
|
}
|
|
710
730
|
|
|
711
731
|
/**
|
|
712
|
-
*
|
|
732
|
+
* 关系型数据库线程
|
|
713
733
|
*/
|
|
714
|
-
export interface
|
|
734
|
+
export interface MySqlProcess {
|
|
715
735
|
/**
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
AsyncRequestId: number
|
|
736
|
+
* 线程ID。
|
|
737
|
+
*/
|
|
738
|
+
ID: string
|
|
720
739
|
|
|
721
740
|
/**
|
|
722
|
-
*
|
|
741
|
+
* 线程的操作账号名。
|
|
723
742
|
*/
|
|
724
|
-
|
|
743
|
+
User: string
|
|
744
|
+
|
|
745
|
+
/**
|
|
746
|
+
* 线程的操作主机地址。
|
|
747
|
+
*/
|
|
748
|
+
Host: string
|
|
749
|
+
|
|
750
|
+
/**
|
|
751
|
+
* 线程的操作数据库。
|
|
752
|
+
*/
|
|
753
|
+
DB: string
|
|
754
|
+
|
|
755
|
+
/**
|
|
756
|
+
* 线程的操作状态。
|
|
757
|
+
*/
|
|
758
|
+
State: string
|
|
759
|
+
|
|
760
|
+
/**
|
|
761
|
+
* 线程的执行类型。
|
|
762
|
+
*/
|
|
763
|
+
Command: string
|
|
764
|
+
|
|
765
|
+
/**
|
|
766
|
+
* 线程的操作时长,单位秒。
|
|
767
|
+
*/
|
|
768
|
+
Time: string
|
|
769
|
+
|
|
770
|
+
/**
|
|
771
|
+
* 线程的操作语句。
|
|
772
|
+
*/
|
|
773
|
+
Info: string
|
|
725
774
|
}
|
|
726
775
|
|
|
727
776
|
/**
|
|
@@ -805,48 +854,19 @@ export interface DescribeDBDiagHistoryRequest {
|
|
|
805
854
|
}
|
|
806
855
|
|
|
807
856
|
/**
|
|
808
|
-
*
|
|
857
|
+
* CreateDBDiagReportTask返回参数结构体
|
|
809
858
|
*/
|
|
810
|
-
export interface
|
|
811
|
-
/**
|
|
812
|
-
* 线程ID。
|
|
813
|
-
*/
|
|
814
|
-
ID: string
|
|
815
|
-
|
|
816
|
-
/**
|
|
817
|
-
* 线程的操作账号名。
|
|
818
|
-
*/
|
|
819
|
-
User: string
|
|
820
|
-
|
|
821
|
-
/**
|
|
822
|
-
* 线程的操作主机地址。
|
|
823
|
-
*/
|
|
824
|
-
Host: string
|
|
825
|
-
|
|
826
|
-
/**
|
|
827
|
-
* 线程的操作数据库。
|
|
828
|
-
*/
|
|
829
|
-
DB: string
|
|
830
|
-
|
|
831
|
-
/**
|
|
832
|
-
* 线程的操作状态。
|
|
833
|
-
*/
|
|
834
|
-
State: string
|
|
835
|
-
|
|
836
|
-
/**
|
|
837
|
-
* 线程的执行类型。
|
|
838
|
-
*/
|
|
839
|
-
Command: string
|
|
840
|
-
|
|
859
|
+
export interface CreateDBDiagReportTaskResponse {
|
|
841
860
|
/**
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
861
|
+
* 异步任务的请求 ID,可使用此 ID 查询异步任务的执行结果。
|
|
862
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
863
|
+
*/
|
|
864
|
+
AsyncRequestId: number
|
|
845
865
|
|
|
846
866
|
/**
|
|
847
|
-
*
|
|
867
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
848
868
|
*/
|
|
849
|
-
|
|
869
|
+
RequestId?: string
|
|
850
870
|
}
|
|
851
871
|
|
|
852
872
|
/**
|
|
@@ -2177,6 +2197,41 @@ export interface DescribeDBSpaceStatusResponse {
|
|
|
2177
2197
|
RequestId?: string
|
|
2178
2198
|
}
|
|
2179
2199
|
|
|
2200
|
+
/**
|
|
2201
|
+
* DescribeDBDiagEvents请求参数结构体
|
|
2202
|
+
*/
|
|
2203
|
+
export interface DescribeDBDiagEventsRequest {
|
|
2204
|
+
/**
|
|
2205
|
+
* 开始时间,如“2021-05-27 00:00:00”,支持的最早查询时间为当前时间的前30天。
|
|
2206
|
+
*/
|
|
2207
|
+
StartTime: string
|
|
2208
|
+
|
|
2209
|
+
/**
|
|
2210
|
+
* 结束时间,如“2021-05-27 01:00:00”,结束时间与开始时间的间隔最大可为7天。
|
|
2211
|
+
*/
|
|
2212
|
+
EndTime: string
|
|
2213
|
+
|
|
2214
|
+
/**
|
|
2215
|
+
* 风险等级列表,取值按影响程度从高至低分别为:1 - 致命、2 -严重、3 - 告警、4 - 提示、5 -健康。
|
|
2216
|
+
*/
|
|
2217
|
+
Severities?: Array<number>
|
|
2218
|
+
|
|
2219
|
+
/**
|
|
2220
|
+
* 实例ID列表。
|
|
2221
|
+
*/
|
|
2222
|
+
InstanceIds?: Array<string>
|
|
2223
|
+
|
|
2224
|
+
/**
|
|
2225
|
+
* 偏移量,默认0。
|
|
2226
|
+
*/
|
|
2227
|
+
Offset?: number
|
|
2228
|
+
|
|
2229
|
+
/**
|
|
2230
|
+
* 返回数量,默认20,最大值为50。
|
|
2231
|
+
*/
|
|
2232
|
+
Limit?: number
|
|
2233
|
+
}
|
|
2234
|
+
|
|
2180
2235
|
/**
|
|
2181
2236
|
* 描述组信息。
|
|
2182
2237
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as TencentCloudCommon from "tencentcloud-sdk-nodejs-common";
|
|
2
|
-
import { CreateDBDiagReportTaskRequest, DescribeTopSpaceTablesRequest, CreateSecurityAuditLogExportTaskRequest, DescribeDBDiagEventResponse, DescribeDBDiagReportTasksResponse, AddUserContactResponse, ModifyDiagDBInstanceConfResponse, DescribeTopSpaceSchemaTimeSeriesResponse, DescribeMySqlProcessListResponse, DescribeTopSpaceTablesResponse, KillMySqlThreadsResponse, CreateSchedulerMailProfileRequest, DescribeDBSpaceStatusRequest, ModifyDiagDBInstanceConfRequest, DescribeSecurityAuditLogDownloadUrlsRequest,
|
|
2
|
+
import { CreateDBDiagReportTaskRequest, DescribeTopSpaceTablesRequest, CreateSecurityAuditLogExportTaskRequest, DescribeDBDiagEventResponse, DescribeDBDiagEventsResponse, DescribeDBDiagReportTasksResponse, AddUserContactResponse, ModifyDiagDBInstanceConfResponse, DescribeTopSpaceSchemaTimeSeriesResponse, DescribeMySqlProcessListResponse, DescribeTopSpaceTablesResponse, KillMySqlThreadsResponse, CreateSchedulerMailProfileRequest, DescribeDBSpaceStatusRequest, ModifyDiagDBInstanceConfRequest, DescribeSecurityAuditLogDownloadUrlsRequest, CreateMailProfileResponse, DescribeSlowLogTimeSeriesStatsRequest, CreateDBDiagReportUrlResponse, DescribeDBDiagHistoryRequest, CreateDBDiagReportTaskResponse, CreateMailProfileRequest, DescribeSlowLogUserHostStatsResponse, DescribeMailProfileRequest, DeleteSecurityAuditLogExportTasksResponse, KillMySqlThreadsRequest, CreateDBDiagReportUrlRequest, DescribeTopSpaceTableTimeSeriesResponse, DescribeDBDiagHistoryResponse, DescribeDBDiagEventRequest, DescribeAllUserContactResponse, AddUserContactRequest, DescribeAllUserContactRequest, DescribeDiagDBInstancesRequest, DescribeSecurityAuditLogExportTasksRequest, DeleteSecurityAuditLogExportTasksRequest, CreateSchedulerMailProfileResponse, DescribeTopSpaceSchemaTimeSeriesRequest, DescribeSlowLogTopSqlsRequest, DescribeMailProfileResponse, DescribeHealthScoreRequest, DescribeDiagDBInstancesResponse, DescribeAllUserGroupRequest, CreateSecurityAuditLogExportTaskResponse, DescribeSlowLogUserHostStatsRequest, DescribeTopSpaceSchemasResponse, DescribeSlowLogTimeSeriesStatsResponse, DescribeAllUserGroupResponse, DescribeUserSqlAdviceResponse, DescribeDBSpaceStatusResponse, DescribeDBDiagEventsRequest, DescribeTopSpaceTableTimeSeriesRequest, DescribeDBDiagReportTasksRequest, DescribeHealthScoreResponse, DescribeSecurityAuditLogExportTasksResponse, DescribeTopSpaceSchemasRequest, DescribeSlowLogTopSqlsResponse, DescribeUserSqlAdviceRequest, DescribeMySqlProcessListRequest, DescribeSecurityAuditLogDownloadUrlsResponse } from "./dbbrain_models";
|
|
3
3
|
/**
|
|
4
4
|
* dbbrain client
|
|
5
5
|
* @class
|
|
@@ -34,6 +34,10 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
34
34
|
* 获取邮件发送联系组的相关信息。
|
|
35
35
|
*/
|
|
36
36
|
DescribeAllUserGroup(req: DescribeAllUserGroupRequest, cb?: (error: string, rep: DescribeAllUserGroupResponse) => void): Promise<DescribeAllUserGroupResponse>;
|
|
37
|
+
/**
|
|
38
|
+
* 获取指定时间段内的诊断事件列表,支持依据风险等级、实例ID等条件过滤。
|
|
39
|
+
*/
|
|
40
|
+
DescribeDBDiagEvents(req: DescribeDBDiagEventsRequest, cb?: (error: string, rep: DescribeDBDiagEventsResponse) => void): Promise<DescribeDBDiagEventsResponse>;
|
|
37
41
|
/**
|
|
38
42
|
* 获取慢日志统计柱状图。
|
|
39
43
|
*/
|
|
@@ -69,6 +69,12 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
69
69
|
async DescribeAllUserGroup(req, cb) {
|
|
70
70
|
return this.request("DescribeAllUserGroup", req, cb);
|
|
71
71
|
}
|
|
72
|
+
/**
|
|
73
|
+
* 获取指定时间段内的诊断事件列表,支持依据风险等级、实例ID等条件过滤。
|
|
74
|
+
*/
|
|
75
|
+
async DescribeDBDiagEvents(req, cb) {
|
|
76
|
+
return this.request("DescribeDBDiagEvents", req, cb);
|
|
77
|
+
}
|
|
72
78
|
/**
|
|
73
79
|
* 获取慢日志统计柱状图。
|
|
74
80
|
*/
|
|
@@ -240,6 +240,23 @@ export interface DescribeDBDiagEventResponse {
|
|
|
240
240
|
*/
|
|
241
241
|
RequestId?: string;
|
|
242
242
|
}
|
|
243
|
+
/**
|
|
244
|
+
* DescribeDBDiagEvents返回参数结构体
|
|
245
|
+
*/
|
|
246
|
+
export interface DescribeDBDiagEventsResponse {
|
|
247
|
+
/**
|
|
248
|
+
* 诊断事件的总数目。
|
|
249
|
+
*/
|
|
250
|
+
TotalCount: number;
|
|
251
|
+
/**
|
|
252
|
+
* 诊断事件的列表。
|
|
253
|
+
*/
|
|
254
|
+
Items: Array<DiagHistoryEventItem>;
|
|
255
|
+
/**
|
|
256
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
257
|
+
*/
|
|
258
|
+
RequestId?: string;
|
|
259
|
+
}
|
|
243
260
|
/**
|
|
244
261
|
* DescribeDBDiagReportTasks返回参数结构体
|
|
245
262
|
*/
|
|
@@ -578,18 +595,41 @@ export interface DescribeSecurityAuditLogDownloadUrlsRequest {
|
|
|
578
595
|
Product: string;
|
|
579
596
|
}
|
|
580
597
|
/**
|
|
581
|
-
*
|
|
598
|
+
* 关系型数据库线程
|
|
582
599
|
*/
|
|
583
|
-
export interface
|
|
600
|
+
export interface MySqlProcess {
|
|
584
601
|
/**
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
AsyncRequestId: number;
|
|
602
|
+
* 线程ID。
|
|
603
|
+
*/
|
|
604
|
+
ID: string;
|
|
589
605
|
/**
|
|
590
|
-
*
|
|
606
|
+
* 线程的操作账号名。
|
|
591
607
|
*/
|
|
592
|
-
|
|
608
|
+
User: string;
|
|
609
|
+
/**
|
|
610
|
+
* 线程的操作主机地址。
|
|
611
|
+
*/
|
|
612
|
+
Host: string;
|
|
613
|
+
/**
|
|
614
|
+
* 线程的操作数据库。
|
|
615
|
+
*/
|
|
616
|
+
DB: string;
|
|
617
|
+
/**
|
|
618
|
+
* 线程的操作状态。
|
|
619
|
+
*/
|
|
620
|
+
State: string;
|
|
621
|
+
/**
|
|
622
|
+
* 线程的执行类型。
|
|
623
|
+
*/
|
|
624
|
+
Command: string;
|
|
625
|
+
/**
|
|
626
|
+
* 线程的操作时长,单位秒。
|
|
627
|
+
*/
|
|
628
|
+
Time: string;
|
|
629
|
+
/**
|
|
630
|
+
* 线程的操作语句。
|
|
631
|
+
*/
|
|
632
|
+
Info: string;
|
|
593
633
|
}
|
|
594
634
|
/**
|
|
595
635
|
* CreateMailProfile返回参数结构体
|
|
@@ -660,41 +700,18 @@ export interface DescribeDBDiagHistoryRequest {
|
|
|
660
700
|
Product?: string;
|
|
661
701
|
}
|
|
662
702
|
/**
|
|
663
|
-
*
|
|
703
|
+
* CreateDBDiagReportTask返回参数结构体
|
|
664
704
|
*/
|
|
665
|
-
export interface
|
|
666
|
-
/**
|
|
667
|
-
* 线程ID。
|
|
668
|
-
*/
|
|
669
|
-
ID: string;
|
|
670
|
-
/**
|
|
671
|
-
* 线程的操作账号名。
|
|
672
|
-
*/
|
|
673
|
-
User: string;
|
|
674
|
-
/**
|
|
675
|
-
* 线程的操作主机地址。
|
|
676
|
-
*/
|
|
677
|
-
Host: string;
|
|
678
|
-
/**
|
|
679
|
-
* 线程的操作数据库。
|
|
680
|
-
*/
|
|
681
|
-
DB: string;
|
|
682
|
-
/**
|
|
683
|
-
* 线程的操作状态。
|
|
684
|
-
*/
|
|
685
|
-
State: string;
|
|
686
|
-
/**
|
|
687
|
-
* 线程的执行类型。
|
|
688
|
-
*/
|
|
689
|
-
Command: string;
|
|
705
|
+
export interface CreateDBDiagReportTaskResponse {
|
|
690
706
|
/**
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
707
|
+
* 异步任务的请求 ID,可使用此 ID 查询异步任务的执行结果。
|
|
708
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
709
|
+
*/
|
|
710
|
+
AsyncRequestId: number;
|
|
694
711
|
/**
|
|
695
|
-
*
|
|
712
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
696
713
|
*/
|
|
697
|
-
|
|
714
|
+
RequestId?: string;
|
|
698
715
|
}
|
|
699
716
|
/**
|
|
700
717
|
* 实例诊断历史事件
|
|
@@ -1807,6 +1824,35 @@ export interface DescribeDBSpaceStatusResponse {
|
|
|
1807
1824
|
*/
|
|
1808
1825
|
RequestId?: string;
|
|
1809
1826
|
}
|
|
1827
|
+
/**
|
|
1828
|
+
* DescribeDBDiagEvents请求参数结构体
|
|
1829
|
+
*/
|
|
1830
|
+
export interface DescribeDBDiagEventsRequest {
|
|
1831
|
+
/**
|
|
1832
|
+
* 开始时间,如“2021-05-27 00:00:00”,支持的最早查询时间为当前时间的前30天。
|
|
1833
|
+
*/
|
|
1834
|
+
StartTime: string;
|
|
1835
|
+
/**
|
|
1836
|
+
* 结束时间,如“2021-05-27 01:00:00”,结束时间与开始时间的间隔最大可为7天。
|
|
1837
|
+
*/
|
|
1838
|
+
EndTime: string;
|
|
1839
|
+
/**
|
|
1840
|
+
* 风险等级列表,取值按影响程度从高至低分别为:1 - 致命、2 -严重、3 - 告警、4 - 提示、5 -健康。
|
|
1841
|
+
*/
|
|
1842
|
+
Severities?: Array<number>;
|
|
1843
|
+
/**
|
|
1844
|
+
* 实例ID列表。
|
|
1845
|
+
*/
|
|
1846
|
+
InstanceIds?: Array<string>;
|
|
1847
|
+
/**
|
|
1848
|
+
* 偏移量,默认0。
|
|
1849
|
+
*/
|
|
1850
|
+
Offset?: number;
|
|
1851
|
+
/**
|
|
1852
|
+
* 返回数量,默认20,最大值为50。
|
|
1853
|
+
*/
|
|
1854
|
+
Limit?: number;
|
|
1855
|
+
}
|
|
1810
1856
|
/**
|
|
1811
1857
|
* 描述组信息。
|
|
1812
1858
|
*/
|