tencentcloud-sdk-nodejs 4.0.220 → 4.0.224
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 +970 -301
- package/README.md +2 -2
- package/package.json +1 -1
- package/products.md +35 -34
- package/src/common/sdk_version.ts +1 -1
- package/src/services/aa/v20200224/aa_models.ts +15 -22
- package/src/services/advisor/index.ts +5 -0
- package/src/services/advisor/v20200721/advisor_client.ts +58 -0
- package/src/services/advisor/v20200721/advisor_models.ts +197 -0
- package/src/services/advisor/v20200721/index.ts +6 -0
- package/src/services/as/v20180419/as_client.ts +31 -3
- package/src/services/as/v20180419/as_models.ts +49 -4
- package/src/services/cbs/v20170312/cbs_models.ts +35 -35
- package/src/services/cdb/v20170320/cdb_models.ts +5 -0
- package/src/services/cdn/v20180606/cdn_client.ts +105 -40
- package/src/services/cdn/v20180606/cdn_models.ts +844 -346
- package/src/services/cfw/v20190904/cfw_models.ts +1 -1
- package/src/services/clb/v20180317/clb_models.ts +20 -2
- package/src/services/cls/v20201016/cls_models.ts +17 -0
- package/src/services/cwp/v20180228/cwp_client.ts +33 -36
- package/src/services/cwp/v20180228/cwp_models.ts +253 -126
- package/src/services/cynosdb/v20190107/cynosdb_client.ts +20 -7
- package/src/services/cynosdb/v20190107/cynosdb_models.ts +74 -4
- package/src/services/ecm/v20190719/ecm_client.ts +42 -3
- package/src/services/ecm/v20190719/ecm_models.ts +286 -64
- package/src/services/eiam/v20210420/eiam_models.ts +1 -1
- package/src/services/essbasic/v20210526/essbasic_client.ts +14 -0
- package/src/services/essbasic/v20210526/essbasic_models.ts +81 -0
- package/src/services/faceid/v20180301/faceid_models.ts +7 -2
- package/src/services/index.ts +1 -0
- package/src/services/iotexplorer/v20190423/iotexplorer_models.ts +30 -6
- package/src/services/live/v20180801/live_client.ts +1 -1
- package/src/services/live/v20180801/live_models.ts +1 -0
- package/src/services/monitor/v20180724/monitor_models.ts +1 -1
- package/src/services/mps/v20190612/mps_models.ts +1 -2
- package/src/services/mrs/v20200910/mrs_client.ts +11 -7
- package/src/services/mrs/v20200910/mrs_models.ts +321 -97
- package/src/services/organization/v20210331/organization_client.ts +12 -0
- package/src/services/organization/v20210331/organization_models.ts +50 -0
- package/src/services/postgres/v20170312/postgres_client.ts +48 -8
- package/src/services/postgres/v20170312/postgres_models.ts +300 -12
- package/src/services/rce/v20201103/rce_client.ts +1 -0
- package/src/services/rce/v20201103/rce_models.ts +45 -97
- package/src/services/scf/v20180416/scf_client.ts +1 -0
- package/src/services/scf/v20180416/scf_models.ts +34 -0
- package/src/services/sms/v20210111/sms_models.ts +2 -2
- package/src/services/tcb/v20180608/tcb_client.ts +31 -5
- package/src/services/tcb/v20180608/tcb_models.ts +462 -189
- package/src/services/tcr/v20190924/tcr_models.ts +15 -0
- package/src/services/tdmq/v20200217/tdmq_client.ts +282 -71
- package/src/services/tdmq/v20200217/tdmq_models.ts +929 -139
- package/src/services/tse/v20201207/tse_client.ts +1 -0
- package/src/services/tse/v20201207/tse_models.ts +21 -0
- package/src/services/tsf/v20180326/tsf_client.ts +57 -32
- package/src/services/tsf/v20180326/tsf_models.ts +138 -52
- package/src/services/vpc/v20170312/vpc_client.ts +3 -1
- package/src/services/vpc/v20170312/vpc_models.ts +87 -23
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/aa/v20200224/aa_models.d.ts +13 -20
- package/tencentcloud/services/advisor/index.d.ts +6 -0
- package/tencentcloud/services/advisor/index.js +7 -0
- package/tencentcloud/services/advisor/v20200721/advisor_client.d.ts +18 -0
- package/tencentcloud/services/advisor/v20200721/advisor_client.js +43 -0
- package/tencentcloud/services/advisor/v20200721/advisor_models.d.ts +155 -0
- package/tencentcloud/services/advisor/v20200721/advisor_models.js +18 -0
- package/tencentcloud/services/advisor/v20200721/index.d.ts +6 -0
- package/tencentcloud/services/advisor/v20200721/index.js +9 -0
- package/tencentcloud/services/as/v20180419/as_client.d.ts +29 -1
- package/tencentcloud/services/as/v20180419/as_client.js +29 -1
- package/tencentcloud/services/as/v20180419/as_models.d.ts +40 -4
- package/tencentcloud/services/cbs/v20170312/cbs_models.d.ts +34 -34
- package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +4 -0
- package/tencentcloud/services/cdn/v20180606/cdn_client.d.ts +29 -9
- package/tencentcloud/services/cdn/v20180606/cdn_client.js +42 -12
- package/tencentcloud/services/cdn/v20180606/cdn_models.d.ts +731 -307
- package/tencentcloud/services/cfw/v20190904/cfw_models.d.ts +1 -1
- package/tencentcloud/services/clb/v20180317/clb_models.d.ts +16 -1
- package/tencentcloud/services/cls/v20201016/cls_models.d.ts +14 -0
- package/tencentcloud/services/cwp/v20180228/cwp_client.d.ts +11 -15
- package/tencentcloud/services/cwp/v20180228/cwp_client.js +15 -19
- package/tencentcloud/services/cwp/v20180228/cwp_models.d.ts +215 -107
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_client.d.ts +7 -3
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_client.js +9 -3
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +64 -4
- package/tencentcloud/services/ecm/v20190719/ecm_client.d.ts +13 -1
- package/tencentcloud/services/ecm/v20190719/ecm_client.js +18 -0
- package/tencentcloud/services/ecm/v20190719/ecm_models.d.ts +247 -55
- package/tencentcloud/services/eiam/v20210420/eiam_models.d.ts +1 -1
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.d.ts +5 -1
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.js +6 -0
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +70 -0
- package/tencentcloud/services/faceid/v20180301/faceid_models.d.ts +6 -2
- package/tencentcloud/services/index.d.ts +1 -0
- package/tencentcloud/services/index.js +2 -0
- package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_models.d.ts +26 -6
- package/tencentcloud/services/live/v20180801/live_client.d.ts +1 -1
- package/tencentcloud/services/live/v20180801/live_client.js +1 -1
- package/tencentcloud/services/live/v20180801/live_models.d.ts +1 -0
- package/tencentcloud/services/monitor/v20180724/monitor_models.d.ts +1 -1
- package/tencentcloud/services/mps/v20190612/mps_models.d.ts +1 -2
- package/tencentcloud/services/mrs/v20200910/mrs_client.d.ts +1 -1
- package/tencentcloud/services/mrs/v20200910/mrs_models.d.ts +275 -85
- package/tencentcloud/services/organization/v20210331/organization_client.d.ts +5 -1
- package/tencentcloud/services/organization/v20210331/organization_client.js +6 -0
- package/tencentcloud/services/organization/v20210331/organization_models.d.ts +42 -0
- package/tencentcloud/services/postgres/v20170312/postgres_client.d.ts +15 -3
- package/tencentcloud/services/postgres/v20170312/postgres_client.js +21 -3
- package/tencentcloud/services/postgres/v20170312/postgres_models.d.ts +258 -12
- package/tencentcloud/services/rce/v20201103/rce_models.d.ts +35 -91
- package/tencentcloud/services/scf/v20180416/scf_models.d.ts +29 -0
- package/tencentcloud/services/sms/v20210111/sms_models.d.ts +2 -2
- package/tencentcloud/services/tcb/v20180608/tcb_client.d.ts +9 -1
- package/tencentcloud/services/tcb/v20180608/tcb_client.js +12 -0
- package/tencentcloud/services/tcb/v20180608/tcb_models.d.ts +387 -157
- package/tencentcloud/services/tcr/v20190924/tcr_models.d.ts +12 -0
- package/tencentcloud/services/tdmq/v20200217/tdmq_client.d.ts +89 -21
- package/tencentcloud/services/tdmq/v20200217/tdmq_client.js +132 -30
- package/tencentcloud/services/tdmq/v20200217/tdmq_models.d.ts +804 -136
- package/tencentcloud/services/tse/v20201207/tse_models.d.ts +18 -0
- package/tencentcloud/services/tsf/v20180326/tsf_client.d.ts +19 -11
- package/tencentcloud/services/tsf/v20180326/tsf_client.js +27 -15
- package/tencentcloud/services/tsf/v20180326/tsf_models.d.ts +121 -47
- package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +76 -22
- package/test/advisor.v20200721.test.js +41 -0
- package/test/cdn.v20180606.test.js +58 -8
- package/test/cwp.v20180228.test.js +22 -22
- package/test/cynosdb.v20190107.test.js +12 -2
- package/test/ecm.v20190719.test.js +30 -0
- package/test/essbasic.v20210526.test.js +10 -0
- package/test/organization.v20210331.test.js +10 -0
- package/test/postgres.v20170312.test.js +32 -2
- package/test/tcb.v20180608.test.js +20 -0
- package/test/tdmq.v20200217.test.js +190 -20
- package/test/tsf.v20180326.test.js +36 -16
package/README.md
CHANGED
|
@@ -46,7 +46,7 @@ const clientConfig = {
|
|
|
46
46
|
region: "ap-shanghai",
|
|
47
47
|
// 可选配置实例
|
|
48
48
|
profile: {
|
|
49
|
-
signMethod: "
|
|
49
|
+
signMethod: "TC3-HMAC-SHA256", // 签名方法
|
|
50
50
|
httpProfile: {
|
|
51
51
|
reqMethod: "POST", // 请求方法
|
|
52
52
|
reqTimeout: 30, // 请求超时时间,默认60s
|
|
@@ -84,7 +84,7 @@ const clientConfig = {
|
|
|
84
84
|
region: "ap-shanghai",
|
|
85
85
|
// 可选配置实例
|
|
86
86
|
profile: {
|
|
87
|
-
signMethod: "
|
|
87
|
+
signMethod: "TC3-HMAC-SHA256", // 签名方法
|
|
88
88
|
httpProfile: {
|
|
89
89
|
reqMethod: "POST", // 请求方法
|
|
90
90
|
reqTimeout: 30, // 请求超时时间,默认60s
|
package/package.json
CHANGED
package/products.md
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
| 包名 | 产品中文名 | 更新时间 |
|
|
2
2
|
|-|-|-|
|
|
3
|
-
| aa | [活动防刷](https://cloud.tencent.com/document/product/1189) | 2021-
|
|
3
|
+
| aa | [活动防刷](https://cloud.tencent.com/document/product/1189) | 2021-10-28 08:01:28 |
|
|
4
4
|
| aai | [](https://cloud.tencent.com/document/product) | 2019-08-08 23:15:13 |
|
|
5
|
+
| advisor | [云顾问](https://cloud.tencent.com/document/product/1264) | 2021-10-20 16:41:59 |
|
|
5
6
|
| af | [借贷反欺诈](https://cloud.tencent.com/document/product/668) | 2021-09-16 08:02:22 |
|
|
6
7
|
| afc | [定制建模](https://cloud.tencent.com/document/product/1029) | 2021-09-16 08:02:20 |
|
|
7
8
|
| ame | [正版曲库直通车](https://cloud.tencent.com/document/product/1155) | 2021-10-13 08:02:42 |
|
|
@@ -11,12 +12,12 @@
|
|
|
11
12
|
| ape | [正版图库直通车](https://cloud.tencent.com/document/product/1181) | 2021-09-16 08:01:43 |
|
|
12
13
|
| api | [云 API](https://cloud.tencent.com/document/product/546) | 2021-04-25 10:09:57 |
|
|
13
14
|
| apigateway | [API网关](https://cloud.tencent.com/document/product/628) | 2021-09-29 08:00:45 |
|
|
14
|
-
| as | [弹性伸缩](https://cloud.tencent.com/document/product/377) | 2021-10-
|
|
15
|
+
| as | [弹性伸缩](https://cloud.tencent.com/document/product/377) | 2021-10-27 08:02:46 |
|
|
15
16
|
| asr | [语音识别](https://cloud.tencent.com/document/product/1093) | 2021-09-16 08:01:57 |
|
|
16
17
|
| asw | [应用与服务编排工作流](https://cloud.tencent.com/document/product/1272) | 2021-09-16 08:01:40 |
|
|
17
18
|
| ba | [网站备案](https://cloud.tencent.com/document/product/243) | 2021-09-16 08:01:39 |
|
|
18
19
|
| batch | [批量计算](https://cloud.tencent.com/document/product/599) | 2021-09-16 08:04:19 |
|
|
19
|
-
| bda | [人体分析](https://cloud.tencent.com/document/product/1208) | 2021-
|
|
20
|
+
| bda | [人体分析](https://cloud.tencent.com/document/product/1208) | 2021-10-27 08:03:06 |
|
|
20
21
|
| billing | [计费相关](https://cloud.tencent.com/document/product/555) | 2021-10-13 08:03:28 |
|
|
21
22
|
| bizlive | [商业直播](https://cloud.tencent.com/document/product) | 2020-03-10 01:08:07 |
|
|
22
23
|
| bm | [黑石物理服务器1.0](https://cloud.tencent.com/document/product/386) | 2021-09-16 08:04:30 |
|
|
@@ -28,36 +29,36 @@
|
|
|
28
29
|
| cam | [访问管理](https://cloud.tencent.com/document/product/598) | 2021-10-14 08:05:24 |
|
|
29
30
|
| captcha | [验证码](https://cloud.tencent.com/document/product/1110) | 2021-09-16 08:05:04 |
|
|
30
31
|
| cat | [云拨测](https://cloud.tencent.com/document/product/280) | 2021-09-16 08:03:51 |
|
|
31
|
-
| cbs | [云硬盘](https://cloud.tencent.com/document/product/362) | 2021-
|
|
32
|
+
| cbs | [云硬盘](https://cloud.tencent.com/document/product/362) | 2021-10-27 08:03:51 |
|
|
32
33
|
| ccc | [云呼叫中心](https://cloud.tencent.com/document/product/679) | 2021-09-16 08:02:05 |
|
|
33
|
-
| cdb | [云数据库 MySQL](https://cloud.tencent.com/document/product/236) | 2021-
|
|
34
|
-
| cdn | [内容分发网络](https://cloud.tencent.com/document/product/228) | 2021-10-
|
|
34
|
+
| cdb | [云数据库 MySQL](https://cloud.tencent.com/document/product/236) | 2021-10-21 11:16:58 |
|
|
35
|
+
| cdn | [内容分发网络](https://cloud.tencent.com/document/product/228) | 2021-10-21 11:18:54 |
|
|
35
36
|
| cds | [数据安全审计](https://cloud.tencent.com/document/product/856) | 2021-09-16 08:05:40 |
|
|
36
37
|
| cfs | [文件存储](https://cloud.tencent.com/document/product/582) | 2021-09-16 08:05:42 |
|
|
37
|
-
| cfw | [云防火墙](https://cloud.tencent.com/document/product/1132) | 2021-
|
|
38
|
+
| cfw | [云防火墙](https://cloud.tencent.com/document/product/1132) | 2021-10-27 08:04:17 |
|
|
38
39
|
| chdfs | [云 HDFS](https://cloud.tencent.com/document/product/1105) | 2021-09-16 08:05:46 |
|
|
39
40
|
| cii | [智能保险助手](https://cloud.tencent.com/document/product/1368) | 2021-09-30 08:02:25 |
|
|
40
41
|
| cim | [](https://cloud.tencent.com/document/product) | 2019-05-16 17:21:18 |
|
|
41
42
|
| cis | [](https://cloud.tencent.com/document/product) | 2018-06-07 15:01:42 |
|
|
42
43
|
| ckafka | [消息队列 Ckafka](https://cloud.tencent.com/document/product/597) | 2021-10-15 08:08:18 |
|
|
43
|
-
| clb | [负载均衡](https://cloud.tencent.com/document/product/214) | 2021-
|
|
44
|
+
| clb | [负载均衡](https://cloud.tencent.com/document/product/214) | 2021-10-26 08:06:08 |
|
|
44
45
|
| cloudaudit | [云审计](https://cloud.tencent.com/document/product/629) | 2021-09-16 08:14:35 |
|
|
45
46
|
| cloudhsm | [云加密机](https://cloud.tencent.com/document/product/639) | 2021-09-16 08:12:58 |
|
|
46
|
-
| cls | [日志服务](https://cloud.tencent.com/document/product/614) | 2021-10-
|
|
47
|
+
| cls | [日志服务](https://cloud.tencent.com/document/product/614) | 2021-10-27 08:04:57 |
|
|
47
48
|
| cme | [腾讯云剪](https://cloud.tencent.com/document/product/1156) | 2021-09-17 08:06:15 |
|
|
48
49
|
| cmq | [消息队列 CMQ](https://cloud.tencent.com/document/product/406) | 2021-09-16 08:03:08 |
|
|
49
50
|
| cms | [内容安全](https://cloud.tencent.com/document/product) | 2020-10-29 08:03:08 |
|
|
50
51
|
| cpdp | [企业收付平台](https://cloud.tencent.com/document/product/1122) | 2021-10-13 08:05:27 |
|
|
51
52
|
| cr | [金融联络机器人](https://cloud.tencent.com/document/product/656) | 2021-02-24 08:03:24 |
|
|
52
53
|
| cvm | [云服务器](https://cloud.tencent.com/document/product/213) | 2021-10-20 08:08:42 |
|
|
53
|
-
| cwp | [主机安全](https://cloud.tencent.com/document/product/296) | 2021-10-
|
|
54
|
+
| cwp | [主机安全](https://cloud.tencent.com/document/product/296) | 2021-10-28 08:04:53 |
|
|
54
55
|
| cws | [漏洞扫描服务](https://cloud.tencent.com/document/product) | 2019-11-22 12:16:15 |
|
|
55
|
-
| cynosdb | [云原生数据库 TDSQL-C](https://cloud.tencent.com/document/product/1003) | 2021-10-
|
|
56
|
+
| cynosdb | [云原生数据库 TDSQL-C](https://cloud.tencent.com/document/product/1003) | 2021-10-27 08:06:08 |
|
|
56
57
|
| dayu | [DDoS 高防包](https://cloud.tencent.com/document/product/1021) | 2021-09-16 08:06:18 |
|
|
57
58
|
| dbbrain | [数据库智能管家 DBbrain](https://cloud.tencent.com/document/product/1130) | 2021-09-16 08:06:32 |
|
|
58
59
|
| dc | [专线接入](https://cloud.tencent.com/document/product/216) | 2021-09-16 08:06:39 |
|
|
59
60
|
| dcdb | [分布式数据库 TDSQL](https://cloud.tencent.com/document/product/557) | 2021-09-23 08:07:35 |
|
|
60
|
-
| dlc | [数据湖计算](https://cloud.tencent.com/document/product/1342) | 2021-
|
|
61
|
+
| dlc | [数据湖计算](https://cloud.tencent.com/document/product/1342) | 2021-10-21 11:25:30 |
|
|
61
62
|
| dnspod | [DNSPod](https://cloud.tencent.com/document/product/1427) | 2021-09-16 08:00:42 |
|
|
62
63
|
| domain | [域名注册](https://cloud.tencent.com/document/product/242) | 2021-10-14 08:08:15 |
|
|
63
64
|
| drm | [数字版权管理](https://cloud.tencent.com/document/product/1000) | 2021-09-16 08:06:55 |
|
|
@@ -66,14 +67,14 @@
|
|
|
66
67
|
| dts | [数据传输服务](https://cloud.tencent.com/document/product/571) | 2021-09-16 08:07:00 |
|
|
67
68
|
| ecc | [英文作文批改](https://cloud.tencent.com/document/product/1076) | 2021-09-16 08:07:05 |
|
|
68
69
|
| ecdn | [全站加速网络](https://cloud.tencent.com/document/product/570) | 2021-10-13 08:06:59 |
|
|
69
|
-
| ecm | [边缘计算机器](https://cloud.tencent.com/document/product/1108) | 2021-10-
|
|
70
|
-
| eiam | [数字身份管控平台(员工版)](https://cloud.tencent.com/document/product/1442) | 2021-
|
|
70
|
+
| ecm | [边缘计算机器](https://cloud.tencent.com/document/product/1108) | 2021-10-27 08:07:01 |
|
|
71
|
+
| eiam | [数字身份管控平台(员工版)](https://cloud.tencent.com/document/product/1442) | 2021-10-22 08:10:22 |
|
|
71
72
|
| eis | [企业集成服务](https://cloud.tencent.com/document/product/1270) | 2021-09-16 08:00:40 |
|
|
72
73
|
| emr | [弹性 MapReduce](https://cloud.tencent.com/document/product/589) | 2021-09-16 08:07:07 |
|
|
73
74
|
| es | [Elasticsearch Service](https://cloud.tencent.com/document/product/845) | 2021-09-30 08:05:14 |
|
|
74
|
-
| essbasic | [腾讯电子签(基础版)](https://cloud.tencent.com/document/product/1420) | 2021-10-
|
|
75
|
+
| essbasic | [腾讯电子签(基础版)](https://cloud.tencent.com/document/product/1420) | 2021-10-25 08:05:49 |
|
|
75
76
|
| facefusion | [人脸融合](https://cloud.tencent.com/document/product/670) | 2021-09-16 08:07:14 |
|
|
76
|
-
| faceid | [人脸核身](https://cloud.tencent.com/document/product/1007) | 2021-10-
|
|
77
|
+
| faceid | [人脸核身](https://cloud.tencent.com/document/product/1007) | 2021-10-28 08:06:55 |
|
|
77
78
|
| fmu | [人脸试妆](https://cloud.tencent.com/document/product/1172) | 2021-09-24 09:57:29 |
|
|
78
79
|
| ft | [人像变换](https://cloud.tencent.com/document/product/1202) | 2021-09-24 09:57:31 |
|
|
79
80
|
| gaap | [全球应用加速](https://cloud.tencent.com/document/product/608) | 2021-10-18 08:07:19 |
|
|
@@ -90,13 +91,13 @@
|
|
|
90
91
|
| ims | [图片内容检测](https://cloud.tencent.com/document/product/1125) | 2021-09-16 08:01:45 |
|
|
91
92
|
| iot | [加速物联网套件](https://cloud.tencent.com/document/product/568) | 2021-09-16 08:07:49 |
|
|
92
93
|
| iotcloud | [物联网通信](https://cloud.tencent.com/document/product/634) | 2021-07-21 08:06:35 |
|
|
93
|
-
| iotexplorer | [物联网开发平台](https://cloud.tencent.com/document/product/1081) | 2021-10-
|
|
94
|
+
| iotexplorer | [物联网开发平台](https://cloud.tencent.com/document/product/1081) | 2021-10-28 08:08:02 |
|
|
94
95
|
| iottid | [物联网设备身份认证](https://cloud.tencent.com/document/product/1086) | 2021-09-16 08:08:06 |
|
|
95
96
|
| iotvideo | [物联网智能视频服务](https://cloud.tencent.com/document/product/1131) | 2021-09-16 08:03:15 |
|
|
96
97
|
| iotvideoindustry | [物联网智能视频服务(行业版)](https://cloud.tencent.com/document/product/1361) | 2021-09-16 08:01:15 |
|
|
97
98
|
| kms | [密钥管理系统](https://cloud.tencent.com/document/product/573) | 2021-09-16 08:08:09 |
|
|
98
99
|
| lighthouse | [轻量应用服务器](https://cloud.tencent.com/document/product/1207) | 2021-10-20 08:12:10 |
|
|
99
|
-
| live | [云直播](https://cloud.tencent.com/document/product/267) | 2021-10-
|
|
100
|
+
| live | [云直播](https://cloud.tencent.com/document/product/267) | 2021-10-21 11:29:49 |
|
|
100
101
|
| lp | [登录保护](https://cloud.tencent.com/document/product/1190) | 2021-09-16 08:02:23 |
|
|
101
102
|
| mariadb | [云数据库 MariaDB](https://cloud.tencent.com/document/product/237) | 2021-09-23 08:10:23 |
|
|
102
103
|
| market | [云市场](https://cloud.tencent.com/document/product/306) | 2021-09-16 08:00:25 |
|
|
@@ -104,9 +105,9 @@
|
|
|
104
105
|
| mgobe | [游戏联机对战引擎](https://cloud.tencent.com/document/product/1038) | 2021-09-16 08:01:53 |
|
|
105
106
|
| mna | [移动网络加速](https://cloud.tencent.com/document/product/1385) | 2021-10-11 08:07:22 |
|
|
106
107
|
| mongodb | [云数据库 MongoDB](https://cloud.tencent.com/document/product/240) | 2021-09-27 08:14:06 |
|
|
107
|
-
| monitor | [云监控](https://cloud.tencent.com/document/product/248) | 2021-
|
|
108
|
-
| mps | [视频处理](https://cloud.tencent.com/document/product/862) | 2021-10-
|
|
109
|
-
| mrs | [医疗报告结构化](https://cloud.tencent.com/document/product/1314) | 2021-
|
|
108
|
+
| monitor | [云监控](https://cloud.tencent.com/document/product/248) | 2021-10-28 08:09:09 |
|
|
109
|
+
| mps | [视频处理](https://cloud.tencent.com/document/product/862) | 2021-10-27 08:09:49 |
|
|
110
|
+
| mrs | [医疗报告结构化](https://cloud.tencent.com/document/product/1314) | 2021-10-21 11:32:09 |
|
|
110
111
|
| ms | [移动应用安全](https://cloud.tencent.com/document/product) | 2020-06-05 08:13:52 |
|
|
111
112
|
| msp | [迁移服务平台](https://cloud.tencent.com/document/product/659) | 2021-09-16 08:09:09 |
|
|
112
113
|
| mvj | [营销价值判断](https://cloud.tencent.com/document/product) | 2020-03-19 08:11:44 |
|
|
@@ -114,20 +115,20 @@
|
|
|
114
115
|
| npp | [号码保护](https://cloud.tencent.com/document/product) | 2020-04-22 08:00:22 |
|
|
115
116
|
| oceanus | [流计算 Oceanus](https://cloud.tencent.com/document/product/849) | 2021-09-24 10:00:20 |
|
|
116
117
|
| ocr | [文字识别](https://cloud.tencent.com/document/product/866) | 2021-10-13 08:10:08 |
|
|
117
|
-
| organization | [企业组织](https://cloud.tencent.com/document/product/850) | 2021-
|
|
118
|
+
| organization | [企业组织](https://cloud.tencent.com/document/product/850) | 2021-10-25 11:36:50 |
|
|
118
119
|
| partners | [渠道合作伙伴](https://cloud.tencent.com/document/product/563) | 2021-09-16 08:09:23 |
|
|
119
120
|
| pds | [私域安全](https://cloud.tencent.com/document/product/1473) | 2021-09-16 08:00:11 |
|
|
120
|
-
| postgres | [云数据库 PostgreSQL](https://cloud.tencent.com/document/product/409) | 2021-
|
|
121
|
+
| postgres | [云数据库 PostgreSQL](https://cloud.tencent.com/document/product/409) | 2021-10-26 08:11:42 |
|
|
121
122
|
| privatedns | [私有域解析 Private DNS](https://cloud.tencent.com/document/product/1338) | 2021-09-16 08:00:52 |
|
|
122
|
-
| rce | [全栈式风控引擎](https://cloud.tencent.com/document/product/1343) | 2021-
|
|
123
|
+
| rce | [全栈式风控引擎](https://cloud.tencent.com/document/product/1343) | 2021-10-27 08:10:34 |
|
|
123
124
|
| redis | [云数据库 Redis](https://cloud.tencent.com/document/product/239) | 2021-09-16 08:09:35 |
|
|
124
125
|
| rkp | [风险探针](https://cloud.tencent.com/document/product/1169) | 2021-09-16 08:13:45 |
|
|
125
126
|
| rp | [注册保护](https://cloud.tencent.com/document/product/1191) | 2021-09-16 08:02:24 |
|
|
126
127
|
| rum | [前端性能监控](https://cloud.tencent.com/document/product/1464) | 2021-09-27 08:15:19 |
|
|
127
|
-
| scf | [云函数](https://cloud.tencent.com/document/product/583) | 2021-10-
|
|
128
|
+
| scf | [云函数](https://cloud.tencent.com/document/product/583) | 2021-10-25 08:09:06 |
|
|
128
129
|
| ses | [邮件推送](https://cloud.tencent.com/document/product/1288) | 2021-09-16 08:14:21 |
|
|
129
130
|
| smpn | [营销号码安全](https://cloud.tencent.com/document/product/1127) | 2021-09-16 08:04:09 |
|
|
130
|
-
| sms | [短信](https://cloud.tencent.com/document/product/382) | 2021-
|
|
131
|
+
| sms | [短信](https://cloud.tencent.com/document/product/382) | 2021-10-27 08:10:57 |
|
|
131
132
|
| soe | [智聆口语评测](https://cloud.tencent.com/document/product/884) | 2021-09-16 08:09:52 |
|
|
132
133
|
| solar | [智汇零售](https://cloud.tencent.com/document/product) | 2020-03-19 08:01:59 |
|
|
133
134
|
| sqlserver | [云数据库 SQL Server](https://cloud.tencent.com/document/product/238) | 2021-10-15 08:14:17 |
|
|
@@ -144,14 +145,14 @@
|
|
|
144
145
|
| tbm | [](https://cloud.tencent.com/document/product) | 2019-03-29 14:49:11 |
|
|
145
146
|
| tbp | [腾讯智能对话平台](https://cloud.tencent.com/document/product/1060) | 2021-09-16 08:10:24 |
|
|
146
147
|
| tcaplusdb | [游戏数据库 TcaplusDB](https://cloud.tencent.com/document/product/596) | 2021-09-28 08:09:50 |
|
|
147
|
-
| tcb | [云开发 CloudBase](https://cloud.tencent.com/document/product/876) | 2021-
|
|
148
|
+
| tcb | [云开发 CloudBase](https://cloud.tencent.com/document/product/876) | 2021-10-26 08:13:05 |
|
|
148
149
|
| tcex | [腾讯云释义](https://cloud.tencent.com/document/product/1266) | 2021-09-16 08:01:55 |
|
|
149
150
|
| tci | [腾讯智学课堂分析](https://cloud.tencent.com/document/product) | 2020-08-24 08:06:03 |
|
|
150
|
-
| tcr | [容器镜像服务](https://cloud.tencent.com/document/product/1141) | 2021-10-
|
|
151
|
+
| tcr | [容器镜像服务](https://cloud.tencent.com/document/product/1141) | 2021-10-21 11:37:27 |
|
|
151
152
|
| tdid | [分布式身份](https://cloud.tencent.com/document/product/1439) | 2021-09-16 08:00:13 |
|
|
152
|
-
| tdmq | [分布式消息队列](https://cloud.tencent.com/document/product/1179) | 2021-10-
|
|
153
|
-
| tem | [弹性微服务](https://cloud.tencent.com/document/product/1371) | 2021-
|
|
154
|
-
| tia | [智能钛机器学习](https://cloud.tencent.com/document/product) |
|
|
153
|
+
| tdmq | [分布式消息队列](https://cloud.tencent.com/document/product/1179) | 2021-10-27 20:52:54 |
|
|
154
|
+
| tem | [弹性微服务](https://cloud.tencent.com/document/product/1371) | 2021-10-26 08:13:30 |
|
|
155
|
+
| tia | [智能钛机器学习](https://cloud.tencent.com/document/product/851) | 2021-10-21 11:12:52 |
|
|
155
156
|
| tic | [腾讯云IaC平台](https://cloud.tencent.com/document/product/1213) | 2021-09-16 08:01:33 |
|
|
156
157
|
| ticm | [智能鉴黄](https://cloud.tencent.com/document/product/864) | 2021-01-07 08:08:15 |
|
|
157
158
|
| tics | [威胁情报云查服务](https://cloud.tencent.com/document/product/1013) | 2021-09-16 08:10:45 |
|
|
@@ -164,15 +165,15 @@
|
|
|
164
165
|
| tms | [文本内容安全](https://cloud.tencent.com/document/product/1124) | 2021-09-16 08:02:16 |
|
|
165
166
|
| tmt | [机器翻译](https://cloud.tencent.com/document/product/551) | 2021-10-11 08:10:28 |
|
|
166
167
|
| trtc | [实时音视频](https://cloud.tencent.com/document/product/647) | 2021-10-15 08:16:00 |
|
|
167
|
-
| tse | [腾讯云微服务引擎](https://cloud.tencent.com/document/product/1364) | 2021-
|
|
168
|
-
| tsf | [腾讯微服务平台 TSF](https://cloud.tencent.com/document/product/649) | 2021-
|
|
168
|
+
| tse | [腾讯云微服务引擎](https://cloud.tencent.com/document/product/1364) | 2021-10-27 08:12:44 |
|
|
169
|
+
| tsf | [腾讯微服务平台 TSF](https://cloud.tencent.com/document/product/649) | 2021-10-27 08:12:46 |
|
|
169
170
|
| tsw | [腾讯微服务观测平台 TSW](https://cloud.tencent.com/document/product/1311) | 2021-09-16 08:14:31 |
|
|
170
171
|
| tts | [语音合成](https://cloud.tencent.com/document/product/1073) | 2021-09-16 08:11:28 |
|
|
171
172
|
| ump | [客流数字化平台](https://cloud.tencent.com/document/product/1320) | 2021-09-16 08:01:36 |
|
|
172
173
|
| vm | [视频内容安全](https://cloud.tencent.com/document/product/1265) | 2021-09-16 08:01:26 |
|
|
173
174
|
| vms | [语音消息](https://cloud.tencent.com/document/product/1128) | 2021-09-16 08:01:28 |
|
|
174
175
|
| vod | [云点播](https://cloud.tencent.com/document/product/266) | 2021-09-27 08:18:01 |
|
|
175
|
-
| vpc | [私有网络](https://cloud.tencent.com/document/product/215) | 2021-10-
|
|
176
|
+
| vpc | [私有网络](https://cloud.tencent.com/document/product/215) | 2021-10-27 08:13:36 |
|
|
176
177
|
| waf | [Web 应用防火墙](https://cloud.tencent.com/document/product/627) | 2021-09-16 08:14:32 |
|
|
177
178
|
| wav | [企业微信汽车行业版](https://cloud.tencent.com/document/product/1318) | 2021-09-30 08:11:50 |
|
|
178
179
|
| 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.224"
|
|
@@ -53,19 +53,19 @@ export interface QueryActivityAntiRushResponse {
|
|
|
53
53
|
* 操作时间戳,单位:秒。
|
|
54
54
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
55
55
|
*/
|
|
56
|
-
PostTime
|
|
56
|
+
PostTime: string
|
|
57
57
|
|
|
58
58
|
/**
|
|
59
59
|
* 用户操作的真实外网 IP。
|
|
60
60
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
61
61
|
*/
|
|
62
|
-
UserIp
|
|
62
|
+
UserIp: string
|
|
63
63
|
|
|
64
64
|
/**
|
|
65
65
|
* 0:表示无恶意。
|
|
66
66
|
1 - 4:恶意等级由低到高。
|
|
67
67
|
*/
|
|
68
|
-
Level
|
|
68
|
+
Level: number
|
|
69
69
|
|
|
70
70
|
/**
|
|
71
71
|
* 风险类型。
|
|
@@ -88,33 +88,32 @@ export interface QueryActivityAntiRushResponse {
|
|
|
88
88
|
205,非公网有效ip,传进来的IP地址为内网ip地址或者ip保留地址;
|
|
89
89
|
206,设备异常,该设备存在异常的使用行为
|
|
90
90
|
*/
|
|
91
|
-
RiskType
|
|
91
|
+
RiskType: Array<number>
|
|
92
92
|
|
|
93
93
|
/**
|
|
94
94
|
* accountType是QQ或微信开放账号时,用于标识QQ或微信用户登录后关联业务自身的账号ID
|
|
95
95
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
96
96
|
*/
|
|
97
|
-
AssociateAccount
|
|
97
|
+
AssociateAccount: string
|
|
98
98
|
|
|
99
99
|
/**
|
|
100
|
-
*
|
|
101
|
-
accountType不同对应不同的用户ID。如果是QQ或微信用户则填入对应的openId
|
|
100
|
+
* uid值
|
|
102
101
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
103
102
|
*/
|
|
104
|
-
Uid
|
|
103
|
+
Uid: string
|
|
105
104
|
|
|
106
105
|
/**
|
|
107
106
|
* 用户操作的目的ID
|
|
108
107
|
比如:点赞,该字段就是被点 赞的消息 id,如果是投票,就是被投号码的 ID
|
|
109
108
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
110
109
|
*/
|
|
111
|
-
RootId
|
|
110
|
+
RootId: string
|
|
112
111
|
|
|
113
112
|
/**
|
|
114
113
|
* 业务侧错误码。成功时返回Success,错误时返回具体业务错误原因。
|
|
115
114
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
116
115
|
*/
|
|
117
|
-
CodeDesc
|
|
116
|
+
CodeDesc: string
|
|
118
117
|
|
|
119
118
|
/**
|
|
120
119
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -626,17 +625,12 @@ export interface SponsorInfo {
|
|
|
626
625
|
*/
|
|
627
626
|
export interface QueryActivityAntiRushRequest {
|
|
628
627
|
/**
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
2:微信开放账号。
|
|
632
|
-
4:手机号。
|
|
633
|
-
0:其他。
|
|
634
|
-
10004:手机号 MD5。
|
|
635
|
-
*/
|
|
628
|
+
* 账号类型
|
|
629
|
+
*/
|
|
636
630
|
AccountType: string
|
|
637
631
|
|
|
638
632
|
/**
|
|
639
|
-
*
|
|
633
|
+
* uid值
|
|
640
634
|
*/
|
|
641
635
|
Uid: string
|
|
642
636
|
|
|
@@ -661,7 +655,7 @@ export interface QueryActivityAntiRushRequest {
|
|
|
661
655
|
NickName?: string
|
|
662
656
|
|
|
663
657
|
/**
|
|
664
|
-
*
|
|
658
|
+
* 手机号
|
|
665
659
|
*/
|
|
666
660
|
PhoneNumber?: string
|
|
667
661
|
|
|
@@ -790,9 +784,8 @@ export interface QueryActivityAntiRushRequest {
|
|
|
790
784
|
RandNum?: string
|
|
791
785
|
|
|
792
786
|
/**
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
*/
|
|
787
|
+
* token
|
|
788
|
+
*/
|
|
796
789
|
WxToken?: string
|
|
797
790
|
|
|
798
791
|
/**
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
/* eslint-disable @typescript-eslint/no-unused-vars */
|
|
2
|
+
/*
|
|
3
|
+
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
* you may not use this file except in compliance with the License.
|
|
7
|
+
* You may obtain a copy of the License at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* Unless required by applicable law or agreed to in writing,
|
|
12
|
+
* software distributed under the License is distributed on an
|
|
13
|
+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
14
|
+
* KIND, either express or implied. See the License for the
|
|
15
|
+
* specific language governing permissions and limitations
|
|
16
|
+
* under the License.
|
|
17
|
+
*/
|
|
18
|
+
import { AbstractClient } from "../../../common/abstract_client"
|
|
19
|
+
import { ClientConfig } from "../../../common/interface"
|
|
20
|
+
import {
|
|
21
|
+
DescribeStrategiesResponse,
|
|
22
|
+
DescribeTaskStrategyRisksRequest,
|
|
23
|
+
DescribeStrategie,
|
|
24
|
+
DescribeTaskStrategyRisksResponse,
|
|
25
|
+
RiskFieldsDesc,
|
|
26
|
+
DescribeStrategiesCondition,
|
|
27
|
+
DescribeStrategiesRequest,
|
|
28
|
+
} from "./advisor_models"
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* advisor client
|
|
32
|
+
* @class
|
|
33
|
+
*/
|
|
34
|
+
export class Client extends AbstractClient {
|
|
35
|
+
constructor(clientConfig: ClientConfig) {
|
|
36
|
+
super("advisor.tencentcloudapi.com", "2020-07-21", clientConfig)
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
/**
|
|
40
|
+
* 查询评估项风险实例列表
|
|
41
|
+
*/
|
|
42
|
+
async DescribeTaskStrategyRisks(
|
|
43
|
+
req: DescribeTaskStrategyRisksRequest,
|
|
44
|
+
cb?: (error: string, rep: DescribeTaskStrategyRisksResponse) => void
|
|
45
|
+
): Promise<DescribeTaskStrategyRisksResponse> {
|
|
46
|
+
return this.request("DescribeTaskStrategyRisks", req, cb)
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
/**
|
|
50
|
+
* 用于查询评估项的信息
|
|
51
|
+
*/
|
|
52
|
+
async DescribeStrategies(
|
|
53
|
+
req?: DescribeStrategiesRequest,
|
|
54
|
+
cb?: (error: string, rep: DescribeStrategiesResponse) => void
|
|
55
|
+
): Promise<DescribeStrategiesResponse> {
|
|
56
|
+
return this.request("DescribeStrategies", req, cb)
|
|
57
|
+
}
|
|
58
|
+
}
|
|
@@ -0,0 +1,197 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing,
|
|
11
|
+
* software distributed under the License is distributed on an
|
|
12
|
+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
13
|
+
* KIND, either express or implied. See the License for the
|
|
14
|
+
* specific language governing permissions and limitations
|
|
15
|
+
* under the License.
|
|
16
|
+
*/
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* DescribeStrategies返回参数结构体
|
|
20
|
+
*/
|
|
21
|
+
export interface DescribeStrategiesResponse {
|
|
22
|
+
/**
|
|
23
|
+
* 评估项列表
|
|
24
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
25
|
+
*/
|
|
26
|
+
Strategies: Array<DescribeStrategie>
|
|
27
|
+
|
|
28
|
+
/**
|
|
29
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
30
|
+
*/
|
|
31
|
+
RequestId?: string
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* DescribeTaskStrategyRisks请求参数结构体
|
|
36
|
+
*/
|
|
37
|
+
export interface DescribeTaskStrategyRisksRequest {
|
|
38
|
+
/**
|
|
39
|
+
* 评估项ID
|
|
40
|
+
*/
|
|
41
|
+
StrategyId: number
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* 限制数量,默认100
|
|
45
|
+
*/
|
|
46
|
+
Limit?: number
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* 偏移量,默认0
|
|
50
|
+
*/
|
|
51
|
+
Offset?: number
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
* 评估项信息
|
|
56
|
+
*/
|
|
57
|
+
export interface DescribeStrategie {
|
|
58
|
+
/**
|
|
59
|
+
* 评估项ID
|
|
60
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
61
|
+
*/
|
|
62
|
+
StrategyId: number
|
|
63
|
+
|
|
64
|
+
/**
|
|
65
|
+
* 评估项名称
|
|
66
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
67
|
+
*/
|
|
68
|
+
Name: string
|
|
69
|
+
|
|
70
|
+
/**
|
|
71
|
+
* 评估项描述
|
|
72
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
73
|
+
*/
|
|
74
|
+
Desc: string
|
|
75
|
+
|
|
76
|
+
/**
|
|
77
|
+
* 评估项对应产品ID
|
|
78
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
79
|
+
*/
|
|
80
|
+
Product: string
|
|
81
|
+
|
|
82
|
+
/**
|
|
83
|
+
* 评估项对应产品名称
|
|
84
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
85
|
+
*/
|
|
86
|
+
ProductDesc: string
|
|
87
|
+
|
|
88
|
+
/**
|
|
89
|
+
* 评估项优化建议
|
|
90
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
91
|
+
*/
|
|
92
|
+
Repair: string
|
|
93
|
+
|
|
94
|
+
/**
|
|
95
|
+
* 评估项类别ID
|
|
96
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
97
|
+
*/
|
|
98
|
+
GroupId: number
|
|
99
|
+
|
|
100
|
+
/**
|
|
101
|
+
* 评估项类别名称
|
|
102
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
103
|
+
*/
|
|
104
|
+
GroupName: string
|
|
105
|
+
|
|
106
|
+
/**
|
|
107
|
+
* 评估项风险列表
|
|
108
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
109
|
+
*/
|
|
110
|
+
Conditions: Array<DescribeStrategiesCondition>
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
/**
|
|
114
|
+
* DescribeTaskStrategyRisks返回参数结构体
|
|
115
|
+
*/
|
|
116
|
+
export interface DescribeTaskStrategyRisksResponse {
|
|
117
|
+
/**
|
|
118
|
+
* 根据此配置,匹配风险实例列表(Risks)对应字段,例如:
|
|
119
|
+
{"Response":{"RequestId":"111","RiskFieldsDesc":[{"Field":"InstanceId","FieldName":"ID","FieldType":"string","FieldDict":{}},{"Field":"InstanceName","FieldName":"名称","FieldType":"string","FieldDict":{}},{"Field":"InstanceState","FieldName":"状态","FieldType":"string","FieldDict":{"LAUNCH_FAILED":"创建失败","PENDING":"创建中","REBOOTING":"重启中","RUNNING":"运行中","SHUTDOWN":"停止待销毁","STARTING":"开机中","STOPPED":"关机","STOPPING":"关机中","TERMINATING":"销毁中"}},{"Field":"Zone","FieldName":"可用区","FieldType":"string","FieldDict":{}},{"Field":"PrivateIPAddresses","FieldName":"IP地址(内)","FieldType":"stringSlice","FieldDict":{}},{"Field":"PublicIPAddresses","FieldName":"IP地址(公)","FieldType":"stringSlice","FieldDict":{}},{"Field":"Tags","FieldName":"标签","FieldType":"tags","FieldDict":{}}],"RiskTotalCount":1,"Risks":[{"InstanceId":"ins-diha6wb3","InstanceName":"tke_cls-13rigq6t_worker","InstanceState":"RUNNING","PrivateIPAddresses":["1.0.0.1"],"PublicIPAddresses":null,"Tags":null,"Zone":"ap-beijing-1"}],"StrategyId":9}}
|
|
120
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
121
|
+
*/
|
|
122
|
+
RiskFieldsDesc: Array<RiskFieldsDesc>
|
|
123
|
+
|
|
124
|
+
/**
|
|
125
|
+
* 评估项ID
|
|
126
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
127
|
+
*/
|
|
128
|
+
StrategyId: number
|
|
129
|
+
|
|
130
|
+
/**
|
|
131
|
+
* 风险实例个数
|
|
132
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
133
|
+
*/
|
|
134
|
+
RiskTotalCount: number
|
|
135
|
+
|
|
136
|
+
/**
|
|
137
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
138
|
+
*/
|
|
139
|
+
RequestId?: string
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
/**
|
|
143
|
+
* 风险实例字段描述
|
|
144
|
+
*/
|
|
145
|
+
export interface RiskFieldsDesc {
|
|
146
|
+
/**
|
|
147
|
+
* 字段ID
|
|
148
|
+
*/
|
|
149
|
+
Field: string
|
|
150
|
+
|
|
151
|
+
/**
|
|
152
|
+
* 字段名称
|
|
153
|
+
*/
|
|
154
|
+
FieldName: string
|
|
155
|
+
|
|
156
|
+
/**
|
|
157
|
+
* 字段类型,
|
|
158
|
+
string: 字符串类型,例如"aa"
|
|
159
|
+
int: 整形,例如 111
|
|
160
|
+
stringSlice : 字符串数组类型,例如["a", "b"]
|
|
161
|
+
tags: 标签类型, 例如: [{"Key":"kkk","Value":"vvv"},{"Key":"kkk2","Value":"vvv2"}]
|
|
162
|
+
*/
|
|
163
|
+
FieldType: string
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
/**
|
|
167
|
+
* 评估项警告条件
|
|
168
|
+
*/
|
|
169
|
+
export interface DescribeStrategiesCondition {
|
|
170
|
+
/**
|
|
171
|
+
* 警告条件ID
|
|
172
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
173
|
+
*/
|
|
174
|
+
ConditionId: number
|
|
175
|
+
|
|
176
|
+
/**
|
|
177
|
+
* 警告级别,2:中风险,3:高风险
|
|
178
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
179
|
+
*/
|
|
180
|
+
Level: number
|
|
181
|
+
|
|
182
|
+
/**
|
|
183
|
+
* 警告级别描述
|
|
184
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
185
|
+
*/
|
|
186
|
+
LevelDesc: string
|
|
187
|
+
|
|
188
|
+
/**
|
|
189
|
+
* 警告条件描述
|
|
190
|
+
*/
|
|
191
|
+
Desc: string
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
/**
|
|
195
|
+
* DescribeStrategies请求参数结构体
|
|
196
|
+
*/
|
|
197
|
+
export type DescribeStrategiesRequest = null
|