tencentcloud-sdk-nodejs 4.0.256 → 4.0.257
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 +334 -109
- package/package.json +1 -1
- package/products.md +12 -12
- package/src/common/sdk_version.ts +1 -1
- package/src/services/antiddos/v20200309/antiddos_models.ts +15 -0
- package/src/services/cam/v20190116/cam_models.ts +1 -1
- package/src/services/cii/v20210408/cii_models.ts +6 -6
- package/src/services/cls/v20201016/cls_client.ts +6 -6
- package/src/services/cls/v20201016/cls_models.ts +1 -1
- package/src/services/dbbrain/v20210527/dbbrain_client.ts +14 -2
- package/src/services/dbbrain/v20210527/dbbrain_models.ts +100 -45
- package/src/services/eiam/v20210420/eiam_client.ts +230 -65
- package/src/services/eiam/v20210420/eiam_models.ts +1582 -816
- package/src/services/iotvideoindustry/v20201201/iotvideoindustry_client.ts +374 -56
- package/src/services/iotvideoindustry/v20201201/iotvideoindustry_models.ts +1526 -397
- package/src/services/live/v20180801/live_models.ts +12 -1
- package/src/services/thpc/v20211109/thpc_client.ts +2 -1
- package/src/services/thpc/v20211109/thpc_models.ts +29 -4
- package/src/services/tiw/v20190919/tiw_models.ts +2 -6
- package/src/services/vpc/v20170312/vpc_models.ts +15 -1
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/antiddos/v20200309/antiddos_models.d.ts +12 -0
- package/tencentcloud/services/cam/v20190116/cam_models.d.ts +1 -1
- package/tencentcloud/services/cii/v20210408/cii_models.d.ts +6 -6
- package/tencentcloud/services/cls/v20201016/cls_client.d.ts +6 -6
- package/tencentcloud/services/cls/v20201016/cls_client.js +6 -6
- package/tencentcloud/services/cls/v20201016/cls_models.d.ts +1 -1
- 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 +83 -37
- package/tencentcloud/services/eiam/v20210420/eiam_client.d.ts +57 -5
- package/tencentcloud/services/eiam/v20210420/eiam_client.js +84 -6
- package/tencentcloud/services/eiam/v20210420/eiam_models.d.ts +1348 -693
- package/tencentcloud/services/iotvideoindustry/v20201201/iotvideoindustry_client.d.ts +119 -15
- package/tencentcloud/services/iotvideoindustry/v20201201/iotvideoindustry_client.js +177 -21
- package/tencentcloud/services/iotvideoindustry/v20201201/iotvideoindustry_models.d.ts +1191 -221
- package/tencentcloud/services/live/v20180801/live_models.d.ts +11 -1
- package/tencentcloud/services/thpc/v20211109/thpc_models.d.ts +25 -4
- package/tencentcloud/services/tiw/v20190919/tiw_models.d.ts +2 -6
- package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +14 -1
- package/test/dbbrain.v20210527.test.js +10 -0
- package/test/eiam.v20210420.test.js +134 -4
- package/test/iotvideoindustry.v20201201.test.js +274 -14
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 |
|
|
@@ -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-15 08:03:42 |
|
|
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-15 08:04:50 |
|
|
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,7 +69,7 @@
|
|
|
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 |
|
|
@@ -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-15 08:09:30 |
|
|
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
101
|
| lighthouse | [轻量应用服务器](https://cloud.tencent.com/document/product/1207) | 2021-12-09 08:07:48 |
|
|
102
|
-
| live | [云直播](https://cloud.tencent.com/document/product/267) | 2021-12-
|
|
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 |
|
|
@@ -156,7 +156,7 @@
|
|
|
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-15 08:13:47 |
|
|
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 |
|
|
@@ -164,7 +164,7 @@
|
|
|
164
164
|
| tiems | [智能钛弹性模型服务](https://cloud.tencent.com/document/product/1120) | 2021-11-10 08:11:38 |
|
|
165
165
|
| tiia | [图像分析](https://cloud.tencent.com/document/product/865) | 2021-11-10 08:11:42 |
|
|
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-
|
|
167
|
+
| tiw | [互动白板](https://cloud.tencent.com/document/product/1137) | 2021-12-15 08:14:01 |
|
|
168
168
|
| tke | [容器服务](https://cloud.tencent.com/document/product/457) | 2021-12-09 08:12:05 |
|
|
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 |
|
|
@@ -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 |
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export const sdkVersion = "4.0.
|
|
1
|
+
export const sdkVersion = "4.0.257"
|
|
@@ -369,6 +369,16 @@ export interface DescribeListBGPInstancesRequest {
|
|
|
369
369
|
* 按照线路搜索, 1: BGP; 2: 三网
|
|
370
370
|
*/
|
|
371
371
|
FilterLine?: number
|
|
372
|
+
|
|
373
|
+
/**
|
|
374
|
+
* 状态搜索,idle:允许中;attacking:攻击中;blocking:封堵中
|
|
375
|
+
*/
|
|
376
|
+
FilterStatus?: string
|
|
377
|
+
|
|
378
|
+
/**
|
|
379
|
+
* 高防包绑定状态搜索,bounding:绑定中; failed:绑定失败
|
|
380
|
+
*/
|
|
381
|
+
FilterBoundStatus?: string
|
|
372
382
|
}
|
|
373
383
|
|
|
374
384
|
/**
|
|
@@ -628,6 +638,11 @@ export interface DescribeListBGPIPInstancesRequest {
|
|
|
628
638
|
* 是否只获取安全加速实例。填写时,只能填写1或者0。当填写1时,表示返回安全加速实例。当填写0时,表示返回非安全加速实例。
|
|
629
639
|
*/
|
|
630
640
|
FilterDamDDoSStatus?: number
|
|
641
|
+
|
|
642
|
+
/**
|
|
643
|
+
* 获取特定状态的资源,运行中填idle,攻击中填attacking,封堵中填blocking
|
|
644
|
+
*/
|
|
645
|
+
FilterStatus?: string
|
|
631
646
|
}
|
|
632
647
|
|
|
633
648
|
/**
|
|
@@ -142,7 +142,7 @@ export interface DescribeStructCompareDataRequest {
|
|
|
142
142
|
*/
|
|
143
143
|
export interface InsuranceResult {
|
|
144
144
|
/**
|
|
145
|
-
*
|
|
145
|
+
* 险种:CriticalDiseaseInsurance(重疾险);LifeInsurance(寿险);AccidentInsurance(意外险);MedicalInsurance(医疗险)
|
|
146
146
|
*/
|
|
147
147
|
InsuranceType: string
|
|
148
148
|
|
|
@@ -191,7 +191,7 @@ export interface PerStructDifference {
|
|
|
191
191
|
SubTaskId: string
|
|
192
192
|
|
|
193
193
|
/**
|
|
194
|
-
*
|
|
194
|
+
* 任务类型:HealthReport(体检报告); BUltraReport(B超报告);MedCheckReport(检查报告);LaboratoryReport(检验报告); PathologyReport(病理报告);AdmissionReport(入院记录);DischargeReport(出院记录); DischargeSummary(出院小结);DiagnosisReport(诊断证明); MedicalRecordFront(病案首页);OperationReport(手术记录);OutpatientMedicalRecord(门诊病历)
|
|
195
195
|
*/
|
|
196
196
|
TaskType: string
|
|
197
197
|
|
|
@@ -339,7 +339,7 @@ export interface ReviewDataTaskInfo {
|
|
|
339
339
|
TaskName: string
|
|
340
340
|
|
|
341
341
|
/**
|
|
342
|
-
*
|
|
342
|
+
* 任务类型:HealthReport(体检报告); BUltraReport(B超报告);MedCheckReport(检查报告);LaboratoryReport(检验报告); PathologyReport(病理报告);AdmissionReport(入院记录);DischargeReport(出院记录); DischargeSummary(出院小结);DiagnosisReport(诊断证明); MedicalRecordFront(病案首页);OperationReport(手术记录);OutpatientMedicalRecord(门诊病历)
|
|
343
343
|
*/
|
|
344
344
|
TaskType: string
|
|
345
345
|
}
|
|
@@ -681,12 +681,12 @@ export interface CreateUnderwriteTaskByIdResponse {
|
|
|
681
681
|
*/
|
|
682
682
|
export interface StructureResultObject {
|
|
683
683
|
/**
|
|
684
|
-
* 0
|
|
684
|
+
* 0表示正常返回;1代表结果未生成;2代表任务执行失败
|
|
685
685
|
*/
|
|
686
686
|
Code: number
|
|
687
687
|
|
|
688
688
|
/**
|
|
689
|
-
*
|
|
689
|
+
* 报告类型:HealthReport(体检报告); BUltraReport(B超报告);MedCheckReport(检查报告);LaboratoryReport(检验报告); PathologyReport(病理报告);AdmissionReport(入院记录);DischargeReport(出院记录); DischargeSummary(出院小结);DiagnosisReport(诊断证明); MedicalRecordFront(病案首页);OperationReport(手术记录);OutpatientMedicalRecord(门诊病历)
|
|
690
690
|
*/
|
|
691
691
|
TaskType: string
|
|
692
692
|
|
|
@@ -706,7 +706,7 @@ export interface StructureResultObject {
|
|
|
706
706
|
*/
|
|
707
707
|
export interface CreateStructureTaskInfo {
|
|
708
708
|
/**
|
|
709
|
-
*
|
|
709
|
+
* 任务类型:HealthReport(体检报告); BUltraReport(B超报告);MedCheckReport(检查报告);LaboratoryReport(检验报告); PathologyReport(病理报告);AdmissionReport(入院记录);DischargeReport(出院记录); DischargeSummary(出院小结);DiagnosisReport(诊断证明); MedicalRecordFront(病案首页);OperationReport(手术记录);OutpatientMedicalRecord(门诊病历)
|
|
710
710
|
*/
|
|
711
711
|
TaskType: string
|
|
712
712
|
|
|
@@ -356,7 +356,7 @@ export class Client extends AbstractClient {
|
|
|
356
356
|
}
|
|
357
357
|
|
|
358
358
|
/**
|
|
359
|
-
*
|
|
359
|
+
* 该接口用户创建通知渠道组。
|
|
360
360
|
*/
|
|
361
361
|
async CreateAlarmNotice(
|
|
362
362
|
req: CreateAlarmNoticeRequest,
|
|
@@ -456,7 +456,7 @@ export class Client extends AbstractClient {
|
|
|
456
456
|
}
|
|
457
457
|
|
|
458
458
|
/**
|
|
459
|
-
*
|
|
459
|
+
* 本接口用于获取告警策略列表。
|
|
460
460
|
*/
|
|
461
461
|
async DescribeAlarms(
|
|
462
462
|
req: DescribeAlarmsRequest,
|
|
@@ -476,7 +476,7 @@ export class Client extends AbstractClient {
|
|
|
476
476
|
}
|
|
477
477
|
|
|
478
478
|
/**
|
|
479
|
-
*
|
|
479
|
+
* 该接口用于获取通知渠道组列表
|
|
480
480
|
*/
|
|
481
481
|
async DescribeAlarmNotices(
|
|
482
482
|
req: DescribeAlarmNoticesRequest,
|
|
@@ -506,7 +506,7 @@ export class Client extends AbstractClient {
|
|
|
506
506
|
}
|
|
507
507
|
|
|
508
508
|
/**
|
|
509
|
-
*
|
|
509
|
+
* 该接口用于删除通知渠道组
|
|
510
510
|
*/
|
|
511
511
|
async DeleteAlarmNotice(
|
|
512
512
|
req: DeleteAlarmNoticeRequest,
|
|
@@ -527,7 +527,7 @@ export class Client extends AbstractClient {
|
|
|
527
527
|
}
|
|
528
528
|
|
|
529
529
|
/**
|
|
530
|
-
*
|
|
530
|
+
* 该接口用于修改通知渠道组
|
|
531
531
|
*/
|
|
532
532
|
async ModifyAlarmNotice(
|
|
533
533
|
req: ModifyAlarmNoticeRequest,
|
|
@@ -537,7 +537,7 @@ export class Client extends AbstractClient {
|
|
|
537
537
|
}
|
|
538
538
|
|
|
539
539
|
/**
|
|
540
|
-
*
|
|
540
|
+
* 本接口用于搜索日志, 该接口除受默认接口请求频率限制外,针对单个日志主题,并发数不能超过15
|
|
541
541
|
*/
|
|
542
542
|
async SearchLog(
|
|
543
543
|
req: SearchLogRequest,
|
|
@@ -27,6 +27,7 @@ import {
|
|
|
27
27
|
InstanceConfs,
|
|
28
28
|
CreateSecurityAuditLogExportTaskRequest,
|
|
29
29
|
DescribeDBDiagEventResponse,
|
|
30
|
+
DescribeDBDiagEventsResponse,
|
|
30
31
|
DescribeDBDiagReportTasksResponse,
|
|
31
32
|
AddUserContactResponse,
|
|
32
33
|
ModifyDiagDBInstanceConfResponse,
|
|
@@ -42,12 +43,12 @@ import {
|
|
|
42
43
|
TimeSlice,
|
|
43
44
|
ModifyDiagDBInstanceConfRequest,
|
|
44
45
|
DescribeSecurityAuditLogDownloadUrlsRequest,
|
|
45
|
-
|
|
46
|
+
MySqlProcess,
|
|
46
47
|
CreateMailProfileResponse,
|
|
47
48
|
DescribeSlowLogTimeSeriesStatsRequest,
|
|
48
49
|
CreateDBDiagReportUrlResponse,
|
|
49
50
|
DescribeDBDiagHistoryRequest,
|
|
50
|
-
|
|
51
|
+
CreateDBDiagReportTaskResponse,
|
|
51
52
|
DiagHistoryEventItem,
|
|
52
53
|
SlowLogHost,
|
|
53
54
|
CreateMailProfileRequest,
|
|
@@ -94,6 +95,7 @@ import {
|
|
|
94
95
|
DescribeAllUserGroupResponse,
|
|
95
96
|
DescribeUserSqlAdviceResponse,
|
|
96
97
|
DescribeDBSpaceStatusResponse,
|
|
98
|
+
DescribeDBDiagEventsRequest,
|
|
97
99
|
GroupItem,
|
|
98
100
|
DescribeTopSpaceTableTimeSeriesRequest,
|
|
99
101
|
DescribeDBDiagReportTasksRequest,
|
|
@@ -187,6 +189,16 @@ export class Client extends AbstractClient {
|
|
|
187
189
|
return this.request("DescribeAllUserGroup", req, cb)
|
|
188
190
|
}
|
|
189
191
|
|
|
192
|
+
/**
|
|
193
|
+
* 获取指定时间段内的诊断事件列表,支持依据风险等级、实例ID等条件过滤。
|
|
194
|
+
*/
|
|
195
|
+
async DescribeDBDiagEvents(
|
|
196
|
+
req: DescribeDBDiagEventsRequest,
|
|
197
|
+
cb?: (error: string, rep: DescribeDBDiagEventsResponse) => void
|
|
198
|
+
): Promise<DescribeDBDiagEventsResponse> {
|
|
199
|
+
return this.request("DescribeDBDiagEvents", req, cb)
|
|
200
|
+
}
|
|
201
|
+
|
|
190
202
|
/**
|
|
191
203
|
* 获取慢日志统计柱状图。
|
|
192
204
|
*/
|
|
@@ -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
|
*/
|