tencentcloud-sdk-nodejs 4.0.241 → 4.0.242
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 +168 -16
- package/package.json +1 -1
- package/products.md +7 -7
- package/src/common/sdk_version.ts +1 -1
- package/src/services/antiddos/v20200309/antiddos_client.ts +13 -0
- package/src/services/antiddos/v20200309/antiddos_models.ts +161 -0
- package/src/services/as/v20180419/as_models.ts +18 -9
- package/src/services/billing/v20180709/billing_models.ts +13 -1
- package/src/services/cii/v20210408/cii_client.ts +15 -0
- package/src/services/cii/v20210408/cii_models.ts +31 -0
- package/src/services/cvm/v20170312/cvm_models.ts +1 -0
- package/src/services/faceid/v20180301/faceid_models.ts +45 -14
- package/src/services/iotvideo/v20201215/iotvideo_models.ts +10 -0
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/antiddos/v20200309/antiddos_client.d.ts +5 -1
- package/tencentcloud/services/antiddos/v20200309/antiddos_client.js +6 -0
- package/tencentcloud/services/antiddos/v20200309/antiddos_models.d.ts +132 -0
- package/tencentcloud/services/as/v20180419/as_models.d.ts +17 -8
- package/tencentcloud/services/billing/v20180709/billing_models.d.ts +11 -1
- package/tencentcloud/services/cii/v20210408/cii_client.d.ts +5 -1
- package/tencentcloud/services/cii/v20210408/cii_client.js +9 -0
- package/tencentcloud/services/cii/v20210408/cii_models.d.ts +27 -0
- package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +1 -0
- package/tencentcloud/services/faceid/v20180301/faceid_models.d.ts +42 -14
- package/tencentcloud/services/iotvideo/v20201215/iotvideo_models.d.ts +8 -0
- package/test/antiddos.v20200309.test.js +10 -0
- package/test/cii.v20210408.test.js +10 -0
package/CHANGELOG.md
CHANGED
|
@@ -2,35 +2,52 @@
|
|
|
2
2
|
|
|
3
3
|
## DDoS 防护(antiddos) 版本:2020-03-09
|
|
4
4
|
|
|
5
|
-
### 第
|
|
5
|
+
### 第 14 次发布
|
|
6
6
|
|
|
7
|
-
发布时间:2021-11-
|
|
7
|
+
发布时间:2021-11-23 08:02:33
|
|
8
8
|
|
|
9
9
|
本次发布包含了以下内容:
|
|
10
10
|
|
|
11
11
|
改善已有的文档。
|
|
12
12
|
|
|
13
|
-
|
|
13
|
+
新增接口:
|
|
14
14
|
|
|
15
|
-
* [
|
|
15
|
+
* [ModifyNewDomainRules](https://cloud.tencent.com/document/api/1021/64631)
|
|
16
16
|
|
|
17
|
-
|
|
17
|
+
新增数据结构:
|
|
18
18
|
|
|
19
|
+
* [NewL7RuleEntry](https://cloud.tencent.com/document/api/1021/57582#NewL7RuleEntry)
|
|
19
20
|
|
|
20
|
-
修改数据结构:
|
|
21
21
|
|
|
22
|
-
* [BGPIPInstance](https://cloud.tencent.com/document/api/1021/57582#BGPIPInstance)
|
|
23
22
|
|
|
24
|
-
|
|
23
|
+
## 计费相关(billing) 版本:2018-07-09
|
|
25
24
|
|
|
25
|
+
### 第 29 次发布
|
|
26
26
|
|
|
27
|
+
发布时间:2021-11-23 08:03:19
|
|
27
28
|
|
|
29
|
+
本次发布包含了以下内容:
|
|
28
30
|
|
|
29
|
-
|
|
31
|
+
改善已有的文档。
|
|
30
32
|
|
|
31
|
-
|
|
33
|
+
修改接口:
|
|
32
34
|
|
|
33
|
-
|
|
35
|
+
* [DescribeBillDetail](https://cloud.tencent.com/document/api/555/19182)
|
|
36
|
+
|
|
37
|
+
* 新增入参:BusinessCode
|
|
38
|
+
|
|
39
|
+
* [DescribeBillResourceSummary](https://cloud.tencent.com/document/api/555/19181)
|
|
40
|
+
|
|
41
|
+
* 新增入参:BusinessCode
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
## 智能保险助手(cii) 版本:2021-04-08
|
|
47
|
+
|
|
48
|
+
### 第 7 次发布
|
|
49
|
+
|
|
50
|
+
发布时间:2021-11-23 08:04:46
|
|
34
51
|
|
|
35
52
|
本次发布包含了以下内容:
|
|
36
53
|
|
|
@@ -38,11 +55,61 @@
|
|
|
38
55
|
|
|
39
56
|
新增接口:
|
|
40
57
|
|
|
41
|
-
* [
|
|
58
|
+
* [UploadMedicalFile](https://cloud.tencent.com/document/api/1368/64633)
|
|
42
59
|
|
|
43
|
-
新增数据结构:
|
|
44
60
|
|
|
45
|
-
|
|
61
|
+
|
|
62
|
+
## 智能保险助手(cii) 版本:2020-12-10
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
## 人脸核身(faceid) 版本:2018-03-01
|
|
67
|
+
|
|
68
|
+
### 第 33 次发布
|
|
69
|
+
|
|
70
|
+
发布时间:2021-11-23 08:07:49
|
|
71
|
+
|
|
72
|
+
本次发布包含了以下内容:
|
|
73
|
+
|
|
74
|
+
改善已有的文档。
|
|
75
|
+
|
|
76
|
+
修改接口:
|
|
77
|
+
|
|
78
|
+
* [LivenessCompare](https://cloud.tencent.com/document/api/1007/31819)
|
|
79
|
+
|
|
80
|
+
* 新增入参:ImageUrl, VideoUrl
|
|
81
|
+
|
|
82
|
+
* <font color="#dd0000">**修改入参**:</font>ImageBase64, VideoBase64
|
|
83
|
+
|
|
84
|
+
* [LivenessRecognition](https://cloud.tencent.com/document/api/1007/31818)
|
|
85
|
+
|
|
86
|
+
* 新增入参:VideoUrl
|
|
87
|
+
|
|
88
|
+
* <font color="#dd0000">**修改入参**:</font>VideoBase64
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
## 物联网智能视频服务(iotvideo) 版本:2020-12-15
|
|
94
|
+
|
|
95
|
+
### 第 14 次发布
|
|
96
|
+
|
|
97
|
+
发布时间:2021-11-23 08:09:04
|
|
98
|
+
|
|
99
|
+
本次发布包含了以下内容:
|
|
100
|
+
|
|
101
|
+
改善已有的文档。
|
|
102
|
+
|
|
103
|
+
修改接口:
|
|
104
|
+
|
|
105
|
+
* [ResetCloudStorage](https://cloud.tencent.com/document/api/1131/53958)
|
|
106
|
+
|
|
107
|
+
* 新增入参:ChannelId, UserId
|
|
108
|
+
|
|
109
|
+
|
|
110
|
+
|
|
111
|
+
|
|
112
|
+
## 物联网智能视频服务(iotvideo) 版本:2019-11-26
|
|
46
113
|
|
|
47
114
|
|
|
48
115
|
|
|
@@ -965,6 +1032,22 @@
|
|
|
965
1032
|
|
|
966
1033
|
## DDoS 防护(antiddos) 版本:2020-03-09
|
|
967
1034
|
|
|
1035
|
+
### 第 14 次发布
|
|
1036
|
+
|
|
1037
|
+
发布时间:2021-11-23 08:02:33
|
|
1038
|
+
|
|
1039
|
+
本次发布包含了以下内容:
|
|
1040
|
+
|
|
1041
|
+
改善已有的文档。
|
|
1042
|
+
|
|
1043
|
+
新增接口:
|
|
1044
|
+
|
|
1045
|
+
* [[ModifyNewDomainRules](https://cloud.tencent.com/document/api/1021/64631)](https://cloud.tencent.com/document/api/#/#)
|
|
1046
|
+
|
|
1047
|
+
新增数据结构:
|
|
1048
|
+
|
|
1049
|
+
* [[NewL7RuleEntry](https://cloud.tencent.com/document/api/1021/57582#NewL7RuleEntry)](https://cloud.tencent.com/document/api/1021/57582#[NewL7RuleEntry](https://cloud.tencent.com/document/api/1021/57582#NewL7RuleEntry))
|
|
1050
|
+
|
|
968
1051
|
### 第 13 次发布
|
|
969
1052
|
|
|
970
1053
|
发布时间:2021-11-22 08:01:25
|
|
@@ -4454,6 +4537,25 @@
|
|
|
4454
4537
|
|
|
4455
4538
|
## 计费相关(billing) 版本:2018-07-09
|
|
4456
4539
|
|
|
4540
|
+
### 第 29 次发布
|
|
4541
|
+
|
|
4542
|
+
发布时间:2021-11-23 08:03:19
|
|
4543
|
+
|
|
4544
|
+
本次发布包含了以下内容:
|
|
4545
|
+
|
|
4546
|
+
改善已有的文档。
|
|
4547
|
+
|
|
4548
|
+
修改接口:
|
|
4549
|
+
|
|
4550
|
+
* [DescribeBillDetail](https://cloud.tencent.com/document/api/555/19182)
|
|
4551
|
+
|
|
4552
|
+
* 新增入参:BusinessCode
|
|
4553
|
+
|
|
4554
|
+
* [DescribeBillResourceSummary](https://cloud.tencent.com/document/api/555/19181)
|
|
4555
|
+
|
|
4556
|
+
* 新增入参:BusinessCode
|
|
4557
|
+
|
|
4558
|
+
|
|
4457
4559
|
### 第 28 次发布
|
|
4458
4560
|
|
|
4459
4561
|
发布时间:2021-10-13 08:03:28
|
|
@@ -12460,6 +12562,18 @@
|
|
|
12460
12562
|
|
|
12461
12563
|
## 智能保险助手(cii) 版本:2021-04-08
|
|
12462
12564
|
|
|
12565
|
+
### 第 7 次发布
|
|
12566
|
+
|
|
12567
|
+
发布时间:2021-11-23 08:04:46
|
|
12568
|
+
|
|
12569
|
+
本次发布包含了以下内容:
|
|
12570
|
+
|
|
12571
|
+
改善已有的文档。
|
|
12572
|
+
|
|
12573
|
+
新增接口:
|
|
12574
|
+
|
|
12575
|
+
* [[UploadMedicalFile](https://cloud.tencent.com/document/api/1368/64633)](https://cloud.tencent.com/document/api/#/#)
|
|
12576
|
+
|
|
12463
12577
|
### 第 6 次发布
|
|
12464
12578
|
|
|
12465
12579
|
发布时间:2021-09-30 08:02:25
|
|
@@ -27364,6 +27478,29 @@
|
|
|
27364
27478
|
|
|
27365
27479
|
## 人脸核身(faceid) 版本:2018-03-01
|
|
27366
27480
|
|
|
27481
|
+
### 第 33 次发布
|
|
27482
|
+
|
|
27483
|
+
发布时间:2021-11-23 08:07:49
|
|
27484
|
+
|
|
27485
|
+
本次发布包含了以下内容:
|
|
27486
|
+
|
|
27487
|
+
改善已有的文档。
|
|
27488
|
+
|
|
27489
|
+
修改接口:
|
|
27490
|
+
|
|
27491
|
+
* [LivenessCompare](https://cloud.tencent.com/document/api/1007/31819)
|
|
27492
|
+
|
|
27493
|
+
* 新增入参:ImageUrl, VideoUrl
|
|
27494
|
+
|
|
27495
|
+
* <font color="#dd0000">**修改入参**:</font>ImageBase64, VideoBase64
|
|
27496
|
+
|
|
27497
|
+
* [LivenessRecognition](https://cloud.tencent.com/document/api/1007/31818)
|
|
27498
|
+
|
|
27499
|
+
* 新增入参:VideoUrl
|
|
27500
|
+
|
|
27501
|
+
* <font color="#dd0000">**修改入参**:</font>VideoBase64
|
|
27502
|
+
|
|
27503
|
+
|
|
27367
27504
|
### 第 32 次发布
|
|
27368
27505
|
|
|
27369
27506
|
发布时间:2021-10-29 08:05:31
|
|
@@ -33744,6 +33881,21 @@
|
|
|
33744
33881
|
|
|
33745
33882
|
## 物联网智能视频服务(iotvideo) 版本:2020-12-15
|
|
33746
33883
|
|
|
33884
|
+
### 第 14 次发布
|
|
33885
|
+
|
|
33886
|
+
发布时间:2021-11-23 08:09:04
|
|
33887
|
+
|
|
33888
|
+
本次发布包含了以下内容:
|
|
33889
|
+
|
|
33890
|
+
改善已有的文档。
|
|
33891
|
+
|
|
33892
|
+
修改接口:
|
|
33893
|
+
|
|
33894
|
+
* [ResetCloudStorage](https://cloud.tencent.com/document/api/1131/53958)
|
|
33895
|
+
|
|
33896
|
+
* 新增入参:ChannelId, UserId
|
|
33897
|
+
|
|
33898
|
+
|
|
33747
33899
|
### 第 13 次发布
|
|
33748
33900
|
|
|
33749
33901
|
发布时间:2021-11-19 08:11:51
|
|
@@ -46287,11 +46439,11 @@
|
|
|
46287
46439
|
|
|
46288
46440
|
新增接口:
|
|
46289
46441
|
|
|
46290
|
-
* [
|
|
46442
|
+
* [DescribeSocAlertDetails](https://cloud.tencent.com/document/api/664/64537)
|
|
46291
46443
|
|
|
46292
46444
|
新增数据结构:
|
|
46293
46445
|
|
|
46294
|
-
* [
|
|
46446
|
+
* [AlertDetail](https://cloud.tencent.com/document/api/664/51406#AlertDetail)
|
|
46295
46447
|
|
|
46296
46448
|
### 第 5 次发布
|
|
46297
46449
|
|
package/package.json
CHANGED
package/products.md
CHANGED
|
@@ -7,18 +7,18 @@
|
|
|
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-11-10 08:01:52 |
|
|
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-11-
|
|
10
|
+
| antiddos | [DDoS 防护](https://cloud.tencent.com/document/product/1021) | 2021-11-23 08:02:33 |
|
|
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 |
|
|
14
14
|
| apigateway | [API网关](https://cloud.tencent.com/document/product/628) | 2021-11-22 08:01:36 |
|
|
15
|
-
| as | [弹性伸缩](https://cloud.tencent.com/document/product/377) | 2021-11-
|
|
15
|
+
| as | [弹性伸缩](https://cloud.tencent.com/document/product/377) | 2021-11-23 08:02:56 |
|
|
16
16
|
| asr | [语音识别](https://cloud.tencent.com/document/product/1093) | 2021-11-10 08:02:28 |
|
|
17
17
|
| asw | [应用与服务编排工作流](https://cloud.tencent.com/document/product/1272) | 2021-11-10 08:02:31 |
|
|
18
18
|
| ba | [网站备案](https://cloud.tencent.com/document/product/243) | 2021-11-10 08:02:33 |
|
|
19
19
|
| batch | [批量计算](https://cloud.tencent.com/document/product/599) | 2021-11-10 08:02:34 |
|
|
20
20
|
| bda | [人体分析](https://cloud.tencent.com/document/product/1208) | 2021-11-10 08:02:39 |
|
|
21
|
-
| billing | [计费相关](https://cloud.tencent.com/document/product/555) | 2021-11-
|
|
21
|
+
| billing | [计费相关](https://cloud.tencent.com/document/product/555) | 2021-11-23 08:03:19 |
|
|
22
22
|
| bizlive | [商业直播](https://cloud.tencent.com/document/product) | 2020-03-10 01:08:07 |
|
|
23
23
|
| bm | [黑石物理服务器1.0](https://cloud.tencent.com/document/product/386) | 2021-11-10 08:02:45 |
|
|
24
24
|
| bmeip | [黑石弹性公网IP](https://cloud.tencent.com/document/product/1028) | 2021-11-10 08:02:52 |
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
| cfs | [文件存储](https://cloud.tencent.com/document/product/582) | 2021-11-17 08:07:53 |
|
|
38
38
|
| cfw | [云防火墙](https://cloud.tencent.com/document/product/1132) | 2021-11-18 08:04:19 |
|
|
39
39
|
| chdfs | [云 HDFS](https://cloud.tencent.com/document/product/1105) | 2021-11-10 08:04:08 |
|
|
40
|
-
| cii | [智能保险助手](https://cloud.tencent.com/document/product/1368) | 2021-11-
|
|
40
|
+
| cii | [智能保险助手](https://cloud.tencent.com/document/product/1368) | 2021-11-23 08:04:46 |
|
|
41
41
|
| cim | [](https://cloud.tencent.com/document/product) | 2019-05-16 17:21:18 |
|
|
42
42
|
| cis | [](https://cloud.tencent.com/document/product) | 2018-06-07 15:01:42 |
|
|
43
43
|
| ckafka | [消息队列 Ckafka](https://cloud.tencent.com/document/product/597) | 2021-11-10 08:04:10 |
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
| cms | [内容安全](https://cloud.tencent.com/document/product) | 2020-10-29 08:03:08 |
|
|
51
51
|
| cpdp | [企业收付平台](https://cloud.tencent.com/document/product/1122) | 2021-11-17 08:08:58 |
|
|
52
52
|
| cr | [金融联络机器人](https://cloud.tencent.com/document/product/656) | 2021-02-24 08:03:24 |
|
|
53
|
-
| cvm | [云服务器](https://cloud.tencent.com/document/product/213) | 2021-11-
|
|
53
|
+
| cvm | [云服务器](https://cloud.tencent.com/document/product/213) | 2021-11-23 08:05:45 |
|
|
54
54
|
| cwp | [主机安全](https://cloud.tencent.com/document/product/296) | 2021-11-22 08:04:43 |
|
|
55
55
|
| cws | [漏洞扫描服务](https://cloud.tencent.com/document/product) | 2019-11-22 12:16:15 |
|
|
56
56
|
| cynosdb | [云原生数据库 TDSQL-C](https://cloud.tencent.com/document/product/1003) | 2021-11-17 08:10:15 |
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
| es | [Elasticsearch Service](https://cloud.tencent.com/document/product/845) | 2021-11-10 08:07:00 |
|
|
75
75
|
| essbasic | [腾讯电子签(基础版)](https://cloud.tencent.com/document/product/1420) | 2021-11-10 08:07:03 |
|
|
76
76
|
| facefusion | [人脸融合](https://cloud.tencent.com/document/product/670) | 2021-11-18 08:08:10 |
|
|
77
|
-
| faceid | [人脸核身](https://cloud.tencent.com/document/product/1007) | 2021-11-
|
|
77
|
+
| faceid | [人脸核身](https://cloud.tencent.com/document/product/1007) | 2021-11-23 08:07:49 |
|
|
78
78
|
| fmu | [人脸试妆](https://cloud.tencent.com/document/product/1172) | 2021-11-10 08:07:11 |
|
|
79
79
|
| ft | [人像变换](https://cloud.tencent.com/document/product/1202) | 2021-11-10 08:07:13 |
|
|
80
80
|
| gaap | [全球应用加速](https://cloud.tencent.com/document/product/608) | 2021-11-10 08:07:14 |
|
|
@@ -93,7 +93,7 @@
|
|
|
93
93
|
| iotcloud | [物联网通信](https://cloud.tencent.com/document/product/634) | 2021-07-21 08:06:35 |
|
|
94
94
|
| iotexplorer | [物联网开发平台](https://cloud.tencent.com/document/product/1081) | 2021-11-10 08:08:03 |
|
|
95
95
|
| iottid | [物联网设备身份认证](https://cloud.tencent.com/document/product/1086) | 2021-11-10 08:08:16 |
|
|
96
|
-
| iotvideo | [物联网智能视频服务](https://cloud.tencent.com/document/product/1131) | 2021-11-
|
|
96
|
+
| iotvideo | [物联网智能视频服务](https://cloud.tencent.com/document/product/1131) | 2021-11-23 08:09:04 |
|
|
97
97
|
| iotvideoindustry | [物联网智能视频服务(行业版)](https://cloud.tencent.com/document/product/1361) | 2021-11-19 08:12:04 |
|
|
98
98
|
| kms | [密钥管理系统](https://cloud.tencent.com/document/product/573) | 2021-11-10 08:08:25 |
|
|
99
99
|
| lighthouse | [轻量应用服务器](https://cloud.tencent.com/document/product/1207) | 2021-10-20 08:12:10 |
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export const sdkVersion = "4.0.
|
|
1
|
+
export const sdkVersion = "4.0.242"
|
|
@@ -32,6 +32,7 @@ import {
|
|
|
32
32
|
DescribeL7RulesBySSLCertIdResponse,
|
|
33
33
|
DescribeListDDoSSpeedLimitConfigRequest,
|
|
34
34
|
InstanceRelation,
|
|
35
|
+
ModifyNewDomainRulesRequest,
|
|
35
36
|
DescribeListProtocolBlockConfigResponse,
|
|
36
37
|
DescribeListBGPInstancesRequest,
|
|
37
38
|
KeyValue,
|
|
@@ -44,6 +45,7 @@ import {
|
|
|
44
45
|
DescribeDefaultAlarmThresholdResponse,
|
|
45
46
|
CreateDDoSAIRequest,
|
|
46
47
|
DescribeListProtectThresholdConfigRequest,
|
|
48
|
+
ModifyNewDomainRulesResponse,
|
|
47
49
|
CreateWaterPrintConfigResponse,
|
|
48
50
|
DescribeListBGPIPInstancesRequest,
|
|
49
51
|
StaticPackRelation,
|
|
@@ -131,6 +133,7 @@ import {
|
|
|
131
133
|
AssociateDDoSEipLoadBalancerResponse,
|
|
132
134
|
CreateBlackWhiteIpListRequest,
|
|
133
135
|
DescribeBizTrendResponse,
|
|
136
|
+
NewL7RuleEntry,
|
|
134
137
|
CreateBoundIPResponse,
|
|
135
138
|
SpeedValue,
|
|
136
139
|
SwitchWaterPrintConfigRequest,
|
|
@@ -303,6 +306,16 @@ export class Client extends AbstractClient {
|
|
|
303
306
|
return this.request("DescribeListBlackWhiteIpList", req, cb)
|
|
304
307
|
}
|
|
305
308
|
|
|
309
|
+
/**
|
|
310
|
+
* 修改7层转发规则
|
|
311
|
+
*/
|
|
312
|
+
async ModifyNewDomainRules(
|
|
313
|
+
req: ModifyNewDomainRulesRequest,
|
|
314
|
+
cb?: (error: string, rep: ModifyNewDomainRulesResponse) => void
|
|
315
|
+
): Promise<ModifyNewDomainRulesResponse> {
|
|
316
|
+
return this.request("ModifyNewDomainRules", req, cb)
|
|
317
|
+
}
|
|
318
|
+
|
|
306
319
|
/**
|
|
307
320
|
* 获取DDoS防护的区域封禁配置列表
|
|
308
321
|
*/
|
|
@@ -291,6 +291,26 @@ export interface InstanceRelation {
|
|
|
291
291
|
InstanceId: string
|
|
292
292
|
}
|
|
293
293
|
|
|
294
|
+
/**
|
|
295
|
+
* ModifyNewDomainRules请求参数结构体
|
|
296
|
+
*/
|
|
297
|
+
export interface ModifyNewDomainRulesRequest {
|
|
298
|
+
/**
|
|
299
|
+
* 大禹子产品代号(bgpip表示高防IP)
|
|
300
|
+
*/
|
|
301
|
+
Business: string
|
|
302
|
+
|
|
303
|
+
/**
|
|
304
|
+
* 资源ID
|
|
305
|
+
*/
|
|
306
|
+
Id: string
|
|
307
|
+
|
|
308
|
+
/**
|
|
309
|
+
* 域名转发规则
|
|
310
|
+
*/
|
|
311
|
+
Rule: NewL7RuleEntry
|
|
312
|
+
}
|
|
313
|
+
|
|
294
314
|
/**
|
|
295
315
|
* DescribeListProtocolBlockConfig返回参数结构体
|
|
296
316
|
*/
|
|
@@ -524,6 +544,21 @@ export interface DescribeListProtectThresholdConfigRequest {
|
|
|
524
544
|
FilterProtocol?: string
|
|
525
545
|
}
|
|
526
546
|
|
|
547
|
+
/**
|
|
548
|
+
* ModifyNewDomainRules返回参数结构体
|
|
549
|
+
*/
|
|
550
|
+
export interface ModifyNewDomainRulesResponse {
|
|
551
|
+
/**
|
|
552
|
+
* 成功码
|
|
553
|
+
*/
|
|
554
|
+
Success: SuccessCode
|
|
555
|
+
|
|
556
|
+
/**
|
|
557
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
558
|
+
*/
|
|
559
|
+
RequestId?: string
|
|
560
|
+
}
|
|
561
|
+
|
|
527
562
|
/**
|
|
528
563
|
* CreateWaterPrintConfig返回参数结构体
|
|
529
564
|
*/
|
|
@@ -2449,6 +2484,132 @@ export interface DescribeBizTrendResponse {
|
|
|
2449
2484
|
RequestId?: string
|
|
2450
2485
|
}
|
|
2451
2486
|
|
|
2487
|
+
/**
|
|
2488
|
+
* L7规则
|
|
2489
|
+
*/
|
|
2490
|
+
export interface NewL7RuleEntry {
|
|
2491
|
+
/**
|
|
2492
|
+
* 会话保持时间,单位秒
|
|
2493
|
+
*/
|
|
2494
|
+
KeepTime: number
|
|
2495
|
+
|
|
2496
|
+
/**
|
|
2497
|
+
* 负载均衡方式,取值[1(加权轮询)]
|
|
2498
|
+
*/
|
|
2499
|
+
LbType: number
|
|
2500
|
+
|
|
2501
|
+
/**
|
|
2502
|
+
* 回源列表
|
|
2503
|
+
*/
|
|
2504
|
+
SourceList: Array<L4RuleSource>
|
|
2505
|
+
|
|
2506
|
+
/**
|
|
2507
|
+
* 会话保持开关,取值[0(会话保持关闭),1(会话保持开启)]
|
|
2508
|
+
*/
|
|
2509
|
+
KeepEnable: number
|
|
2510
|
+
|
|
2511
|
+
/**
|
|
2512
|
+
* 转发域名
|
|
2513
|
+
*/
|
|
2514
|
+
Domain: string
|
|
2515
|
+
|
|
2516
|
+
/**
|
|
2517
|
+
* 转发协议,取值[http, https]
|
|
2518
|
+
*/
|
|
2519
|
+
Protocol: string
|
|
2520
|
+
|
|
2521
|
+
/**
|
|
2522
|
+
* 回源方式,取值[1(域名回源),2(IP回源)]
|
|
2523
|
+
*/
|
|
2524
|
+
SourceType: number
|
|
2525
|
+
|
|
2526
|
+
/**
|
|
2527
|
+
* 是否开启Https协议使用Http回源,取值[0(关闭), 1(开启)],不填写默认是关闭
|
|
2528
|
+
*/
|
|
2529
|
+
HttpsToHttpEnable?: number
|
|
2530
|
+
|
|
2531
|
+
/**
|
|
2532
|
+
* 规则状态,取值[0(规则配置成功),1(规则配置生效中),2(规则配置失败),3(规则删除生效中),5(规则删除失败),6(规则等待配置),7(规则等待删除),8(规则待配置证书)]
|
|
2533
|
+
*/
|
|
2534
|
+
Status?: number
|
|
2535
|
+
|
|
2536
|
+
/**
|
|
2537
|
+
* HTTPS协议的CC防护等级
|
|
2538
|
+
*/
|
|
2539
|
+
CCLevel?: string
|
|
2540
|
+
|
|
2541
|
+
/**
|
|
2542
|
+
* HTTPS协议的CC防护状态,取值[0(关闭), 1(开启)]
|
|
2543
|
+
*/
|
|
2544
|
+
CCEnable?: number
|
|
2545
|
+
|
|
2546
|
+
/**
|
|
2547
|
+
* HTTPS协议的CC防护阈值
|
|
2548
|
+
*/
|
|
2549
|
+
CCThreshold?: number
|
|
2550
|
+
|
|
2551
|
+
/**
|
|
2552
|
+
* 区域码
|
|
2553
|
+
*/
|
|
2554
|
+
Region?: number
|
|
2555
|
+
|
|
2556
|
+
/**
|
|
2557
|
+
* 规则描述
|
|
2558
|
+
*/
|
|
2559
|
+
RuleName?: string
|
|
2560
|
+
|
|
2561
|
+
/**
|
|
2562
|
+
* 当证书来源为自有证书时,此字段必须填写证书内容;(因已不再支持自有证书,此字段已弃用,请不用填写此字段)
|
|
2563
|
+
*/
|
|
2564
|
+
Cert?: string
|
|
2565
|
+
|
|
2566
|
+
/**
|
|
2567
|
+
* 修改时间
|
|
2568
|
+
*/
|
|
2569
|
+
ModifyTime?: string
|
|
2570
|
+
|
|
2571
|
+
/**
|
|
2572
|
+
* 规则ID,当添加新规则时可以不用填写此字段;当修改或者删除规则时需要填写此字段;
|
|
2573
|
+
*/
|
|
2574
|
+
RuleId?: string
|
|
2575
|
+
|
|
2576
|
+
/**
|
|
2577
|
+
* 资源Ip
|
|
2578
|
+
*/
|
|
2579
|
+
Ip?: string
|
|
2580
|
+
|
|
2581
|
+
/**
|
|
2582
|
+
* 当证书来源为自有证书时,此字段必须填写证书密钥;(因已不再支持自有证书,此字段已弃用,请不用填写此字段)
|
|
2583
|
+
*/
|
|
2584
|
+
PrivateKey?: string
|
|
2585
|
+
|
|
2586
|
+
/**
|
|
2587
|
+
* 证书来源,当转发协议为https时必须填,取值[2(腾讯云托管证书)],当转发协议为http时也可以填0
|
|
2588
|
+
*/
|
|
2589
|
+
CertType?: number
|
|
2590
|
+
|
|
2591
|
+
/**
|
|
2592
|
+
* 接入端口值
|
|
2593
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2594
|
+
*/
|
|
2595
|
+
VirtualPort?: number
|
|
2596
|
+
|
|
2597
|
+
/**
|
|
2598
|
+
* cc防护状态,取值[0(关闭), 1(开启)]
|
|
2599
|
+
*/
|
|
2600
|
+
CCStatus?: number
|
|
2601
|
+
|
|
2602
|
+
/**
|
|
2603
|
+
* 当证书来源为腾讯云托管证书时,此字段必须填写托管证书ID
|
|
2604
|
+
*/
|
|
2605
|
+
SSLId?: string
|
|
2606
|
+
|
|
2607
|
+
/**
|
|
2608
|
+
* 资源Id
|
|
2609
|
+
*/
|
|
2610
|
+
Id?: string
|
|
2611
|
+
}
|
|
2612
|
+
|
|
2452
2613
|
/**
|
|
2453
2614
|
* CreateBoundIP返回参数结构体
|
|
2454
2615
|
*/
|
|
@@ -1515,17 +1515,24 @@ export interface CreateNotificationConfigurationRequest {
|
|
|
1515
1515
|
NotificationUserGroupIds?: Array<string>
|
|
1516
1516
|
|
|
1517
1517
|
/**
|
|
1518
|
-
|
|
1519
|
-
|
|
1518
|
+
* 通知接收端类型,取值如下
|
|
1519
|
+
<br><li>USER_GROUP:用户组
|
|
1520
|
+
<br><li>CMQ_QUEUE:CMQ 队列
|
|
1521
|
+
<br><li>CMQ_TOPIC:CMQ 主题
|
|
1522
|
+
<br><li>TDMQ_CMQ_TOPIC:TDMQ CMQ 主题
|
|
1523
|
+
<br><li>TDMQ_CMQ_QUEUE:TDMQ CMQ 队列
|
|
1524
|
+
|
|
1525
|
+
默认值为:`USER_GROUP`。
|
|
1526
|
+
*/
|
|
1520
1527
|
TargetType?: string
|
|
1521
1528
|
|
|
1522
1529
|
/**
|
|
1523
|
-
* CMQ 队列名称,如 TargetType 取值为 `CMQ_QUEUE
|
|
1530
|
+
* CMQ 队列名称,如 TargetType 取值为 `CMQ_QUEUE` 或 `TDMQ_CMQ_QUEUE` 时,该字段必填。
|
|
1524
1531
|
*/
|
|
1525
1532
|
QueueName?: string
|
|
1526
1533
|
|
|
1527
1534
|
/**
|
|
1528
|
-
* CMQ 主题名称,如 TargetType 取值为 `CMQ_TOPIC
|
|
1535
|
+
* CMQ 主题名称,如 TargetType 取值为 `CMQ_TOPIC` 或 `TDMQ_CMQ_TOPIC` 时,该字段必填。
|
|
1529
1536
|
*/
|
|
1530
1537
|
TopicName?: string
|
|
1531
1538
|
}
|
|
@@ -1576,12 +1583,12 @@ export interface ModifyNotificationConfigurationRequest {
|
|
|
1576
1583
|
NotificationUserGroupIds?: Array<string>
|
|
1577
1584
|
|
|
1578
1585
|
/**
|
|
1579
|
-
* CMQ 队列名。
|
|
1586
|
+
* CMQ 队列或 TDMQ CMQ 队列名。
|
|
1580
1587
|
*/
|
|
1581
1588
|
QueueName?: string
|
|
1582
1589
|
|
|
1583
1590
|
/**
|
|
1584
|
-
* CMQ 主题名。
|
|
1591
|
+
* CMQ 主题或 TDMQ CMQ 主题名。
|
|
1585
1592
|
*/
|
|
1586
1593
|
TopicName?: string
|
|
1587
1594
|
}
|
|
@@ -2918,19 +2925,21 @@ export interface DescribeLaunchConfigurationsRequest {
|
|
|
2918
2925
|
*/
|
|
2919
2926
|
export interface NotificationTarget {
|
|
2920
2927
|
/**
|
|
2921
|
-
* 目标类型,取值范围包括`CMQ_QUEUE`、`CMQ_TOPIC`。
|
|
2928
|
+
* 目标类型,取值范围包括`CMQ_QUEUE`、`CMQ_TOPIC`、`TDMQ_CMQ_QUEUE`、`TDMQ_CMQ_TOPIC`。
|
|
2922
2929
|
<li> CMQ_QUEUE,指腾讯云消息队列-队列模型。</li>
|
|
2923
2930
|
<li> CMQ_TOPIC,指腾讯云消息队列-主题模型。</li>
|
|
2931
|
+
<li> TDMQ_CMQ_QUEUE,指腾讯云 TDMQ 消息队列-队列模型。</li>
|
|
2932
|
+
<li> TDMQ_CMQ_TOPIC,指腾讯云 TDMQ 消息队列-主题模型。</li>
|
|
2924
2933
|
*/
|
|
2925
2934
|
TargetType: string
|
|
2926
2935
|
|
|
2927
2936
|
/**
|
|
2928
|
-
* 队列名称,如果`TargetType`取值为`CMQ_QUEUE`,则本字段必填。
|
|
2937
|
+
* 队列名称,如果`TargetType`取值为`CMQ_QUEUE` 或 `TDMQ_CMQ_QUEUE`,则本字段必填。
|
|
2929
2938
|
*/
|
|
2930
2939
|
QueueName?: string
|
|
2931
2940
|
|
|
2932
2941
|
/**
|
|
2933
|
-
* 主题名称,如果`TargetType`取值为`CMQ_TOPIC`,则本字段必填。
|
|
2942
|
+
* 主题名称,如果`TargetType`取值为`CMQ_TOPIC` 或 `TDMQ_CMQ_TOPIC`,则本字段必填。
|
|
2934
2943
|
*/
|
|
2935
2944
|
TopicName?: string
|
|
2936
2945
|
}
|
|
@@ -1061,7 +1061,7 @@ export interface DescribeBillDetailRequest {
|
|
|
1061
1061
|
NeedRecordNum?: number
|
|
1062
1062
|
|
|
1063
1063
|
/**
|
|
1064
|
-
*
|
|
1064
|
+
* 已废弃参数,未开放
|
|
1065
1065
|
*/
|
|
1066
1066
|
ProductCode?: string
|
|
1067
1067
|
|
|
@@ -1084,6 +1084,12 @@ export interface DescribeBillDetailRequest {
|
|
|
1084
1084
|
* 项目ID:资源所属项目ID
|
|
1085
1085
|
*/
|
|
1086
1086
|
ProjectId?: number
|
|
1087
|
+
|
|
1088
|
+
/**
|
|
1089
|
+
* 商品名称代码
|
|
1090
|
+
备注:如需获取当月使用过的BusinessCode,请调用API:<a href="https://cloud.tencent.com/document/product/555/35761">获取产品汇总费用分布</a>
|
|
1091
|
+
*/
|
|
1092
|
+
BusinessCode?: string
|
|
1087
1093
|
}
|
|
1088
1094
|
|
|
1089
1095
|
/**
|
|
@@ -1878,6 +1884,12 @@ export interface DescribeBillResourceSummaryRequest {
|
|
|
1878
1884
|
* 付费模式 prePay/postPay
|
|
1879
1885
|
*/
|
|
1880
1886
|
PayMode?: string
|
|
1887
|
+
|
|
1888
|
+
/**
|
|
1889
|
+
* 商品名称代码
|
|
1890
|
+
备注:如需获取当月使用过的BusinessCode,请调用API:<a href="https://cloud.tencent.com/document/product/555/35761">获取产品汇总费用分布</a>
|
|
1891
|
+
*/
|
|
1892
|
+
BusinessCode?: string
|
|
1881
1893
|
}
|
|
1882
1894
|
|
|
1883
1895
|
/**
|
|
@@ -26,6 +26,7 @@ import {
|
|
|
26
26
|
InsuranceResult,
|
|
27
27
|
DescribeStructureDifferenceResponse,
|
|
28
28
|
PerStructDifference,
|
|
29
|
+
UploadMedicalFileRequest,
|
|
29
30
|
CompareMetricsData,
|
|
30
31
|
DescribeMachineUnderwriteRequest,
|
|
31
32
|
ReviewDataTaskInfo,
|
|
@@ -44,6 +45,7 @@ import {
|
|
|
44
45
|
StructureResultObject,
|
|
45
46
|
CreateStructureTaskInfo,
|
|
46
47
|
DescribeStructureDifferenceRequest,
|
|
48
|
+
UploadMedicalFileResponse,
|
|
47
49
|
StructureModifyItem,
|
|
48
50
|
} from "./cii_models"
|
|
49
51
|
|
|
@@ -76,6 +78,19 @@ export class Client extends AbstractClient {
|
|
|
76
78
|
return this.request("DescribeStructureTaskResult", req, cb)
|
|
77
79
|
}
|
|
78
80
|
|
|
81
|
+
/**
|
|
82
|
+
* 上传医疗影像文件,可以用来做结构化。
|
|
83
|
+
*/
|
|
84
|
+
async UploadMedicalFile(
|
|
85
|
+
req: UploadMedicalFileRequest,
|
|
86
|
+
cb?: (error: string, rep: UploadMedicalFileResponse) => void
|
|
87
|
+
): Promise<UploadMedicalFileResponse> {
|
|
88
|
+
let options = {
|
|
89
|
+
multipart: true,
|
|
90
|
+
}
|
|
91
|
+
return this.request("UploadMedicalFile", req, cb)
|
|
92
|
+
}
|
|
93
|
+
|
|
79
94
|
/**
|
|
80
95
|
* 本接口(CreateUnderwriteTaskById)用于根据结构化任务ID创建核保任务
|
|
81
96
|
*/
|