tencentcloud-sdk-nodejs-waf 4.0.691 → 4.0.692
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 +218 -0
- package/SERVICE_CHANGELOG.md +288 -230
- package/package.json +1 -1
- package/products.md +19 -19
- package/src/services/waf/v20180125/waf_client.ts +20 -8
- package/src/services/waf/v20180125/waf_models.ts +122 -52
- package/tencentcloud/services/waf/v20180125/waf_client.d.ts +13 -9
- package/tencentcloud/services/waf/v20180125/waf_client.js +14 -8
- package/tencentcloud/services/waf/v20180125/waf_models.d.ts +120 -52
package/package.json
CHANGED
package/products.md
CHANGED
|
@@ -39,11 +39,11 @@
|
|
|
39
39
|
| car | [应用云渲染](https://cloud.tencent.com/document/product/1547) | 2023-08-23 01:10:00 |
|
|
40
40
|
| casb | [云访问安全代理](https://cloud.tencent.com/document/product/1303) | 2022-12-26 10:53:16 |
|
|
41
41
|
| cat | [云拨测](https://cloud.tencent.com/document/product/280) | 2023-05-18 01:07:39 |
|
|
42
|
-
| cbs | [云硬盘](https://cloud.tencent.com/document/product/362) | 2023-09-
|
|
42
|
+
| cbs | [云硬盘](https://cloud.tencent.com/document/product/362) | 2023-09-20 01:08:08 |
|
|
43
43
|
| ccc | [云联络中心](https://cloud.tencent.com/document/product/679) | 2023-09-15 01:15:34 |
|
|
44
44
|
| cdb | [云数据库 MySQL](https://cloud.tencent.com/document/product/236) | 2023-09-14 01:15:30 |
|
|
45
45
|
| cdc | [本地专用集群](https://cloud.tencent.com/document/product/1346) | 2023-09-12 01:18:51 |
|
|
46
|
-
| cdn | [内容分发网络 CDN](https://cloud.tencent.com/document/product/228) | 2023-09-
|
|
46
|
+
| cdn | [内容分发网络 CDN](https://cloud.tencent.com/document/product/228) | 2023-09-20 01:08:50 |
|
|
47
47
|
| cds | [T-Sec-数据安全审计(DSA)](https://cloud.tencent.com/document/product/856) | 2023-08-17 01:43:06 |
|
|
48
48
|
| cdwch | [云数据仓库 ClickHouse](https://cloud.tencent.com/document/product/1299) | 2023-09-08 01:20:53 |
|
|
49
49
|
| cfg | [混沌演练平台](https://cloud.tencent.com/document/product/1500) | 2023-09-05 02:02:52 |
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
| cim | [](https://cloud.tencent.com/document/product) | 2019-05-16 17:21:18 |
|
|
56
56
|
| cis | [](https://cloud.tencent.com/document/product) | 2018-06-07 15:01:42 |
|
|
57
57
|
| ckafka | [消息队列 CKafka](https://cloud.tencent.com/document/product/597) | 2023-09-14 01:21:26 |
|
|
58
|
-
| clb | [负载均衡](https://cloud.tencent.com/document/product/214) | 2023-09-
|
|
58
|
+
| clb | [负载均衡](https://cloud.tencent.com/document/product/214) | 2023-09-20 01:13:18 |
|
|
59
59
|
| cloudaudit | [云审计](https://cloud.tencent.com/document/product/629) | 2023-05-18 01:13:28 |
|
|
60
60
|
| cloudhsm | [云加密机](https://cloud.tencent.com/document/product/639) | 2023-08-17 01:57:08 |
|
|
61
61
|
| cloudstudio | [Cloud Studio(云端 IDE)](https://cloud.tencent.com/document/product/1039) | 2023-08-03 01:03:28 |
|
|
@@ -67,11 +67,11 @@
|
|
|
67
67
|
| cr | [金融联络机器人](https://cloud.tencent.com/document/product/656) | 2021-02-24 08:03:24 |
|
|
68
68
|
| csip | [云安全一体化平台](https://cloud.tencent.com/document/product/664) | 2023-09-12 01:32:51 |
|
|
69
69
|
| csxg | [5G入云服务](https://cloud.tencent.com/document/product/1687) | 2023-05-19 11:26:14 |
|
|
70
|
-
| cvm | [云服务器](https://cloud.tencent.com/document/product/213) | 2023-09-
|
|
71
|
-
| cwp | [主机安全](https://cloud.tencent.com/document/product/296) | 2023-
|
|
70
|
+
| cvm | [云服务器](https://cloud.tencent.com/document/product/213) | 2023-09-20 01:15:08 |
|
|
71
|
+
| cwp | [主机安全](https://cloud.tencent.com/document/product/296) | 2023-09-20 01:15:27 |
|
|
72
72
|
| cws | [漏洞扫描服务](https://cloud.tencent.com/document/product) | 2019-11-22 12:16:15 |
|
|
73
|
-
| cynosdb | [TDSQL-C MySQL 版](https://cloud.tencent.com/document/product/1003) | 2023-09-
|
|
74
|
-
| dasb | [T-Sec-堡垒机(BH)](https://cloud.tencent.com/document/product/1025) | 2023-
|
|
73
|
+
| cynosdb | [TDSQL-C MySQL 版](https://cloud.tencent.com/document/product/1003) | 2023-09-20 01:32:40 |
|
|
74
|
+
| dasb | [T-Sec-堡垒机(BH)](https://cloud.tencent.com/document/product/1025) | 2023-09-20 01:33:17 |
|
|
75
75
|
| dataintegration | [数据接入平台](https://cloud.tencent.com/document/product/1591) | 2022-07-26 15:32:15 |
|
|
76
76
|
| dayu | [DDoS 高防包](https://cloud.tencent.com/document/product/1021) | 2023-05-18 01:20:11 |
|
|
77
77
|
| dbbrain | [数据库智能管家 DBbrain](https://cloud.tencent.com/document/product/1130) | 2023-09-05 03:38:32 |
|
|
@@ -80,7 +80,7 @@
|
|
|
80
80
|
| dcdb | [TDSQL MySQL 版](https://cloud.tencent.com/document/product/557) | 2023-09-05 03:42:53 |
|
|
81
81
|
| dlc | [数据湖计算 DLC](https://cloud.tencent.com/document/product/1342) | 2023-09-19 01:12:56 |
|
|
82
82
|
| dnspod | [DNSPod](https://cloud.tencent.com/document/product/1427) | 2023-09-12 01:43:38 |
|
|
83
|
-
| domain | [域名注册](https://cloud.tencent.com/document/product/242) | 2023-
|
|
83
|
+
| domain | [域名注册](https://cloud.tencent.com/document/product/242) | 2023-09-20 01:34:26 |
|
|
84
84
|
| drm | [数字版权管理](https://cloud.tencent.com/document/product/1000) | 2023-08-17 02:59:36 |
|
|
85
85
|
| ds | [文档服务](https://cloud.tencent.com/document/product/869) | 2023-08-17 02:59:40 |
|
|
86
86
|
| dsgc | [数据安全中心](https://cloud.tencent.com/document/product/1087) | 2023-09-19 01:13:28 |
|
|
@@ -94,8 +94,8 @@
|
|
|
94
94
|
| eis | [数据连接器](https://cloud.tencent.com/document/product/1270) | 2023-08-10 01:17:44 |
|
|
95
95
|
| emr | [弹性 MapReduce](https://cloud.tencent.com/document/product/589) | 2023-08-17 03:08:06 |
|
|
96
96
|
| es | [Elasticsearch Service](https://cloud.tencent.com/document/product/845) | 2023-09-15 01:48:20 |
|
|
97
|
-
| ess | [腾讯电子签企业版](https://cloud.tencent.com/document/product/1323) | 2023-09-
|
|
98
|
-
| essbasic | [腾讯电子签(基础版)](https://cloud.tencent.com/document/product/1420) | 2023-09-
|
|
97
|
+
| ess | [腾讯电子签企业版](https://cloud.tencent.com/document/product/1323) | 2023-09-20 01:35:54 |
|
|
98
|
+
| essbasic | [腾讯电子签(基础版)](https://cloud.tencent.com/document/product/1420) | 2023-09-20 01:36:35 |
|
|
99
99
|
| facefusion | [人脸融合](https://cloud.tencent.com/document/product/670) | 2023-09-18 01:48:33 |
|
|
100
100
|
| faceid | [人脸核身](https://cloud.tencent.com/document/product/1007) | 2023-09-19 01:15:41 |
|
|
101
101
|
| fmu | [人脸试妆](https://cloud.tencent.com/document/product/1172) | 2023-08-17 03:12:49 |
|
|
@@ -109,7 +109,7 @@
|
|
|
109
109
|
| habo | [](https://cloud.tencent.com/document/product) | 2019-05-09 19:37:22 |
|
|
110
110
|
| hasim | [高可用物联网卡](https://cloud.tencent.com/document/product/1482) | 2023-05-18 01:29:47 |
|
|
111
111
|
| hcm | [数学作业批改](https://cloud.tencent.com/document/product/1004) | 2023-08-17 03:18:40 |
|
|
112
|
-
| iai | [人脸识别](https://cloud.tencent.com/document/product/867) | 2023-09-
|
|
112
|
+
| iai | [人脸识别](https://cloud.tencent.com/document/product/867) | 2023-09-20 01:37:34 |
|
|
113
113
|
| ic | [图片瘦身](https://cloud.tencent.com/document/product/636) | 2023-03-02 01:23:21 |
|
|
114
114
|
| icr | [对话机器人](https://cloud.tencent.com/document/product/1268) | 2023-05-18 01:30:40 |
|
|
115
115
|
| ie | [智能编辑](https://cloud.tencent.com/document/product/1186) | 2023-08-17 03:20:18 |
|
|
@@ -123,11 +123,11 @@
|
|
|
123
123
|
| iotvideo | [物联网智能视频服务](https://cloud.tencent.com/document/product/1131) | 2023-08-30 01:17:01 |
|
|
124
124
|
| iotvideoindustry | [物联网智能视频服务(行业版)](https://cloud.tencent.com/document/product/1361) | 2023-08-17 03:44:44 |
|
|
125
125
|
| irp | [智能推荐平台](https://cloud.tencent.com/document/product/1541) | 2023-08-22 01:15:07 |
|
|
126
|
-
| iss | [智能视图计算平台](https://cloud.tencent.com/document/product/1344) | 2023-09-
|
|
126
|
+
| iss | [智能视图计算平台](https://cloud.tencent.com/document/product/1344) | 2023-09-19 17:35:39 |
|
|
127
127
|
| ivld | [媒体智能标签](https://cloud.tencent.com/document/product/1509) | 2023-05-18 01:35:21 |
|
|
128
128
|
| keewidb | [云数据库 KeeWiDB](https://cloud.tencent.com/document/product/1520) | 2023-07-19 01:29:34 |
|
|
129
129
|
| kms | [密钥管理系统](https://cloud.tencent.com/document/product/573) | 2023-08-17 03:51:31 |
|
|
130
|
-
| lcic | [低代码互动课堂](https://cloud.tencent.com/document/product/1639) | 2023-09-
|
|
130
|
+
| lcic | [低代码互动课堂](https://cloud.tencent.com/document/product/1639) | 2023-09-20 01:39:40 |
|
|
131
131
|
| lighthouse | [轻量应用服务器](https://cloud.tencent.com/document/product/1207) | 2023-09-15 02:04:15 |
|
|
132
132
|
| live | [云直播CSS](https://cloud.tencent.com/document/product/267) | 2023-09-18 02:01:47 |
|
|
133
133
|
| lowcode | [云开发低码](https://cloud.tencent.com/document/product/1301) | 2022-04-04 06:56:51 |
|
|
@@ -141,7 +141,7 @@
|
|
|
141
141
|
| mna | [多网聚合加速](https://cloud.tencent.com/document/product/1385) | 2023-08-30 01:19:09 |
|
|
142
142
|
| mongodb | [云数据库 MongoDB](https://cloud.tencent.com/document/product/240) | 2023-09-15 02:08:53 |
|
|
143
143
|
| monitor | [腾讯云可观测平台](https://cloud.tencent.com/document/product/248) | 2023-09-15 02:09:24 |
|
|
144
|
-
| mps | [媒体处理](https://cloud.tencent.com/document/product/862) | 2023-09-
|
|
144
|
+
| mps | [媒体处理](https://cloud.tencent.com/document/product/862) | 2023-09-20 01:41:08 |
|
|
145
145
|
| mrs | [医疗报告结构化](https://cloud.tencent.com/document/product/1314) | 2023-09-13 02:09:08 |
|
|
146
146
|
| ms | [移动应用安全](https://cloud.tencent.com/document/product/283) | 2023-08-30 01:19:55 |
|
|
147
147
|
| msp | [迁移服务平台](https://cloud.tencent.com/document/product/659) | 2023-08-17 04:18:22 |
|
|
@@ -151,7 +151,7 @@
|
|
|
151
151
|
| oceanus | [流计算 Oceanus](https://cloud.tencent.com/document/product/849) | 2023-09-06 02:10:27 |
|
|
152
152
|
| ocr | [文字识别](https://cloud.tencent.com/document/product/866) | 2023-09-14 02:09:03 |
|
|
153
153
|
| omics | [腾讯健康组学平台](https://cloud.tencent.com/document/product/1643) | 2023-09-18 02:11:06 |
|
|
154
|
-
| organization | [集团账号管理](https://cloud.tencent.com/document/product/850) | 2023-09-19
|
|
154
|
+
| organization | [集团账号管理](https://cloud.tencent.com/document/product/850) | 2023-09-19 14:35:45 |
|
|
155
155
|
| partners | [渠道合作伙伴](https://cloud.tencent.com/document/product/563) | 2023-08-17 04:23:46 |
|
|
156
156
|
| pds | [私域安全](https://cloud.tencent.com/document/product/1473) | 2023-05-18 01:44:14 |
|
|
157
157
|
| postgres | [云数据库 PostgreSQL](https://cloud.tencent.com/document/product/409) | 2023-09-15 02:17:12 |
|
|
@@ -196,10 +196,10 @@
|
|
|
196
196
|
| tcss | [容器安全服务](https://cloud.tencent.com/document/product/1285) | 2023-09-14 02:23:36 |
|
|
197
197
|
| tdcpg | [TDSQL-C PostgreSQL 版](https://cloud.tencent.com/document/product/1556) | 2023-06-21 01:36:25 |
|
|
198
198
|
| tdid | [分布式身份](https://cloud.tencent.com/document/product/1439) | 2023-07-24 01:49:20 |
|
|
199
|
-
| tdmq | [消息队列 TDMQ](https://cloud.tencent.com/document/product/1179) | 2023-09-
|
|
199
|
+
| tdmq | [消息队列 TDMQ](https://cloud.tencent.com/document/product/1179) | 2023-09-20 01:45:44 |
|
|
200
200
|
| tds | [设备安全](https://cloud.tencent.com/document/product/1628) | 2023-05-18 01:55:50 |
|
|
201
201
|
| tem | [弹性微服务](https://cloud.tencent.com/document/product/1371) | 2023-08-30 01:25:15 |
|
|
202
|
-
| teo | [边缘安全加速平台](https://cloud.tencent.com/document/product/1552) | 2023-09-
|
|
202
|
+
| teo | [边缘安全加速平台](https://cloud.tencent.com/document/product/1552) | 2023-09-20 01:47:29 |
|
|
203
203
|
| thpc | [高性能计算平台](https://cloud.tencent.com/document/product/1527) | 2023-09-14 02:31:21 |
|
|
204
204
|
| tia | [智能钛机器学习](https://cloud.tencent.com/document/product/851) | 2021-10-21 11:12:52 |
|
|
205
205
|
| tic | [资源编排 TIC](https://cloud.tencent.com/document/product/1213) | 2023-08-17 05:26:08 |
|
|
@@ -218,7 +218,7 @@
|
|
|
218
218
|
| trocket | [消息队列 RocketMQ 版](https://cloud.tencent.com/document/product/1493) | 2023-09-19 01:28:01 |
|
|
219
219
|
| trp | [T-Sec-安心平台(RP)](https://cloud.tencent.com/document/product/1458) | 2023-08-15 01:44:16 |
|
|
220
220
|
| trro | [远程实时操控](https://cloud.tencent.com/document/product/1584) | 2023-07-18 01:53:24 |
|
|
221
|
-
| trtc | [实时音视频](https://cloud.tencent.com/document/product/647) | 2023-09-
|
|
221
|
+
| trtc | [实时音视频](https://cloud.tencent.com/document/product/647) | 2023-09-20 01:50:48 |
|
|
222
222
|
| tse | [微服务引擎 TSE](https://cloud.tencent.com/document/product/1364) | 2023-09-18 02:36:04 |
|
|
223
223
|
| tsf | [微服务平台 TSF](https://cloud.tencent.com/document/product/649) | 2023-09-12 02:52:20 |
|
|
224
224
|
| tsw | [微服务观测平台 TSW](https://cloud.tencent.com/document/product/1311) | 2023-05-18 02:04:00 |
|
|
@@ -229,7 +229,7 @@
|
|
|
229
229
|
| vod | [云点播](https://cloud.tencent.com/document/product/266) | 2023-09-18 02:39:47 |
|
|
230
230
|
| vpc | [私有网络](https://cloud.tencent.com/document/product/215) | 2023-09-18 02:43:01 |
|
|
231
231
|
| vrs | [声音复刻](https://cloud.tencent.com/document/product/1283) | 2023-07-18 01:58:58 |
|
|
232
|
-
| waf | [Web 应用防火墙](https://cloud.tencent.com/document/product/627) | 2023-09-
|
|
232
|
+
| waf | [Web 应用防火墙](https://cloud.tencent.com/document/product/627) | 2023-09-20 01:52:55 |
|
|
233
233
|
| wav | [企业微信汽车行业版](https://cloud.tencent.com/document/product/1318) | 2023-07-18 01:59:28 |
|
|
234
234
|
| wedata | [数据开发治理平台 WeData](https://cloud.tencent.com/document/product/1267) | 2023-08-31 01:29:16 |
|
|
235
235
|
| weilingwith | [微瓴同业开放平台](https://cloud.tencent.com/document/product/1693) | 2023-09-12 09:30:48 |
|
|
@@ -36,6 +36,7 @@ import {
|
|
|
36
36
|
DomainPackageNew,
|
|
37
37
|
DescribeCustomWhiteRuleResponse,
|
|
38
38
|
AccessLogItems,
|
|
39
|
+
SwitchElasticModeRequest,
|
|
39
40
|
ModifyInstanceNameRequest,
|
|
40
41
|
DescribePeakValueResponse,
|
|
41
42
|
HostDel,
|
|
@@ -121,6 +122,7 @@ import {
|
|
|
121
122
|
CreateHostResponse,
|
|
122
123
|
IpAccessControlItem,
|
|
123
124
|
DeleteHostResponse,
|
|
125
|
+
SwitchElasticModeResponse,
|
|
124
126
|
FreshAntiFakeUrlResponse,
|
|
125
127
|
ModifyBotStatusRequest,
|
|
126
128
|
DeleteSpartaProtectionRequest,
|
|
@@ -321,7 +323,7 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
321
323
|
}
|
|
322
324
|
|
|
323
325
|
/**
|
|
324
|
-
* 获取一个
|
|
326
|
+
* 获取一个clbwaf域名详情
|
|
325
327
|
*/
|
|
326
328
|
async DescribeDomainDetailsClb(
|
|
327
329
|
req: DescribeDomainDetailsClbRequest,
|
|
@@ -746,6 +748,16 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
746
748
|
return this.request("ModifyCustomWhiteRule", req, cb)
|
|
747
749
|
}
|
|
748
750
|
|
|
751
|
+
/**
|
|
752
|
+
* 切换弹性的开关
|
|
753
|
+
*/
|
|
754
|
+
async SwitchElasticMode(
|
|
755
|
+
req: SwitchElasticModeRequest,
|
|
756
|
+
cb?: (error: string, rep: SwitchElasticModeResponse) => void
|
|
757
|
+
): Promise<SwitchElasticModeResponse> {
|
|
758
|
+
return this.request("SwitchElasticMode", req, cb)
|
|
759
|
+
}
|
|
760
|
+
|
|
749
761
|
/**
|
|
750
762
|
* 修改实例的自动续费开关
|
|
751
763
|
*/
|
|
@@ -757,7 +769,7 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
757
769
|
}
|
|
758
770
|
|
|
759
771
|
/**
|
|
760
|
-
* 查询单个
|
|
772
|
+
* 查询单个saaswaf域名详情
|
|
761
773
|
*/
|
|
762
774
|
async DescribeDomainDetailsSaas(
|
|
763
775
|
req: DescribeDomainDetailsSaasRequest,
|
|
@@ -850,7 +862,7 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
850
862
|
}
|
|
851
863
|
|
|
852
864
|
/**
|
|
853
|
-
* 添加
|
|
865
|
+
* 添加SaaS型WAF防护域名
|
|
854
866
|
*/
|
|
855
867
|
async AddSpartaProtection(
|
|
856
868
|
req: AddSpartaProtectionRequest,
|
|
@@ -910,7 +922,7 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
910
922
|
}
|
|
911
923
|
|
|
912
924
|
/**
|
|
913
|
-
*
|
|
925
|
+
* Saas型WAF接入查询加密套件信息
|
|
914
926
|
*/
|
|
915
927
|
async DescribeCiphersDetail(
|
|
916
928
|
req?: DescribeCiphersDetailRequest,
|
|
@@ -1060,7 +1072,7 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
1060
1072
|
}
|
|
1061
1073
|
|
|
1062
1074
|
/**
|
|
1063
|
-
*
|
|
1075
|
+
* Saas型WAF删除防护域名
|
|
1064
1076
|
*/
|
|
1065
1077
|
async DeleteSpartaProtection(
|
|
1066
1078
|
req: DeleteSpartaProtectionRequest,
|
|
@@ -1310,7 +1322,7 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
1310
1322
|
}
|
|
1311
1323
|
|
|
1312
1324
|
/**
|
|
1313
|
-
*
|
|
1325
|
+
* 获取Saas型WAF防护端口列表
|
|
1314
1326
|
*/
|
|
1315
1327
|
async DescribePorts(
|
|
1316
1328
|
req: DescribePortsRequest,
|
|
@@ -1370,7 +1382,7 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
1370
1382
|
}
|
|
1371
1383
|
|
|
1372
1384
|
/**
|
|
1373
|
-
* clb-waf
|
|
1385
|
+
* clb-waf中添加防护域名
|
|
1374
1386
|
*/
|
|
1375
1387
|
async CreateHost(
|
|
1376
1388
|
req: CreateHostRequest,
|
|
@@ -1410,7 +1422,7 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
1410
1422
|
}
|
|
1411
1423
|
|
|
1412
1424
|
/**
|
|
1413
|
-
*
|
|
1425
|
+
* 切换ipv6开关
|
|
1414
1426
|
*/
|
|
1415
1427
|
async ModifyDomainIpv6Status(
|
|
1416
1428
|
req: ModifyDomainIpv6StatusRequest,
|
|
@@ -417,6 +417,24 @@ export interface AccessLogItems {
|
|
|
417
417
|
Data: Array<AccessLogItem>
|
|
418
418
|
}
|
|
419
419
|
|
|
420
|
+
/**
|
|
421
|
+
* SwitchElasticMode请求参数结构体
|
|
422
|
+
*/
|
|
423
|
+
export interface SwitchElasticModeRequest {
|
|
424
|
+
/**
|
|
425
|
+
* 版本,只能是sparta-waf, clb-waf, cdn-waf
|
|
426
|
+
*/
|
|
427
|
+
Edition: string
|
|
428
|
+
/**
|
|
429
|
+
* 0代表关闭,1代表打开
|
|
430
|
+
*/
|
|
431
|
+
Mode: number
|
|
432
|
+
/**
|
|
433
|
+
* 实例id
|
|
434
|
+
*/
|
|
435
|
+
InstanceID?: string
|
|
436
|
+
}
|
|
437
|
+
|
|
420
438
|
/**
|
|
421
439
|
* ModifyInstanceName请求参数结构体
|
|
422
440
|
*/
|
|
@@ -1368,7 +1386,7 @@ export interface DescribeUserCdcClbWafRegionsResponse {
|
|
|
1368
1386
|
* CdcRegion的类型描述
|
|
1369
1387
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1370
1388
|
*/
|
|
1371
|
-
Data
|
|
1389
|
+
Data?: Array<CdcRegion>
|
|
1372
1390
|
/**
|
|
1373
1391
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1374
1392
|
*/
|
|
@@ -1544,7 +1562,7 @@ export interface DescribeUserClbWafRegionsResponse {
|
|
|
1544
1562
|
* 地域(标准的ap-格式)列表
|
|
1545
1563
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1546
1564
|
*/
|
|
1547
|
-
Data
|
|
1565
|
+
Data?: Array<string>
|
|
1548
1566
|
/**
|
|
1549
1567
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1550
1568
|
*/
|
|
@@ -2022,6 +2040,16 @@ export interface DeleteHostResponse {
|
|
|
2022
2040
|
RequestId?: string
|
|
2023
2041
|
}
|
|
2024
2042
|
|
|
2043
|
+
/**
|
|
2044
|
+
* SwitchElasticMode返回参数结构体
|
|
2045
|
+
*/
|
|
2046
|
+
export interface SwitchElasticModeResponse {
|
|
2047
|
+
/**
|
|
2048
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2049
|
+
*/
|
|
2050
|
+
RequestId?: string
|
|
2051
|
+
}
|
|
2052
|
+
|
|
2025
2053
|
/**
|
|
2026
2054
|
* FreshAntiFakeUrl返回参数结构体
|
|
2027
2055
|
*/
|
|
@@ -2075,7 +2103,7 @@ export interface DeleteSpartaProtectionRequest {
|
|
|
2075
2103
|
*/
|
|
2076
2104
|
Domains: Array<string>
|
|
2077
2105
|
/**
|
|
2078
|
-
*
|
|
2106
|
+
* 实例类型
|
|
2079
2107
|
*/
|
|
2080
2108
|
Edition?: string
|
|
2081
2109
|
/**
|
|
@@ -2543,47 +2571,67 @@ export interface SpartaProtectionPort {
|
|
|
2543
2571
|
*/
|
|
2544
2572
|
export interface AddSpartaProtectionRequest {
|
|
2545
2573
|
/**
|
|
2546
|
-
*
|
|
2574
|
+
* 需要防护的域名
|
|
2547
2575
|
*/
|
|
2548
2576
|
Domain: string
|
|
2549
2577
|
/**
|
|
2550
|
-
*
|
|
2578
|
+
* 证书类型。
|
|
2579
|
+
0:仅配置HTTP监听端口,没有证书
|
|
2580
|
+
1:证书来源为自有证书
|
|
2581
|
+
2:证书来源为托管证书
|
|
2551
2582
|
*/
|
|
2552
2583
|
CertType: number
|
|
2553
2584
|
/**
|
|
2554
|
-
*
|
|
2585
|
+
* waf前是否部署有七层代理服务。
|
|
2586
|
+
0:没有部署代理服务
|
|
2587
|
+
1:有部署代理服务,waf将使用XFF获取客户端IP
|
|
2588
|
+
2:有部署代理服务,waf将使用remote_addr获取客户端IP
|
|
2589
|
+
3:有部署代理服务,waf将使用ip_headers中的自定义header获取客户端IP
|
|
2555
2590
|
*/
|
|
2556
2591
|
IsCdn: number
|
|
2557
2592
|
/**
|
|
2558
|
-
*
|
|
2593
|
+
* 回源类型。
|
|
2594
|
+
0:通过IP回源
|
|
2595
|
+
1:通过域名回源
|
|
2559
2596
|
*/
|
|
2560
2597
|
UpstreamType: number
|
|
2561
2598
|
/**
|
|
2562
|
-
* 是否开启WebSocket
|
|
2599
|
+
* 是否开启WebSocket支持。
|
|
2600
|
+
0:关闭
|
|
2601
|
+
1:开启
|
|
2563
2602
|
*/
|
|
2564
2603
|
IsWebsocket: number
|
|
2565
2604
|
/**
|
|
2566
|
-
*
|
|
2605
|
+
* 回源负载均衡策略。
|
|
2606
|
+
0:轮询
|
|
2607
|
+
1:IP hash
|
|
2608
|
+
2:加权轮询
|
|
2567
2609
|
*/
|
|
2568
2610
|
LoadBalance: string
|
|
2569
2611
|
/**
|
|
2570
|
-
*
|
|
2612
|
+
* CertType为1时,需要填充此参数,表示自有证书的证书链
|
|
2571
2613
|
*/
|
|
2572
2614
|
Cert?: string
|
|
2573
2615
|
/**
|
|
2574
|
-
* CertType
|
|
2616
|
+
* CertType为1时,需要填充此参数,表示自有证书的私钥
|
|
2575
2617
|
*/
|
|
2576
2618
|
PrivateKey?: string
|
|
2577
2619
|
/**
|
|
2578
|
-
* CertType
|
|
2620
|
+
* CertType为2时,需要填充此参数,表示腾讯云SSL平台托管的证书id
|
|
2579
2621
|
*/
|
|
2580
2622
|
SSLId?: string
|
|
2581
2623
|
/**
|
|
2582
|
-
* Waf的资源ID
|
|
2624
|
+
* 待废弃,可不填。Waf的资源ID。
|
|
2583
2625
|
*/
|
|
2584
2626
|
ResourceId?: string
|
|
2585
2627
|
/**
|
|
2586
|
-
*
|
|
2628
|
+
* IsCdn为3时,需要填此参数,表示自定义header
|
|
2629
|
+
*/
|
|
2630
|
+
IpHeaders?: Array<string>
|
|
2631
|
+
/**
|
|
2632
|
+
* 服务配置有HTTPS端口时,HTTPS的回源协议。
|
|
2633
|
+
http:使用http协议回源,和HttpsUpstreamPort配合使用
|
|
2634
|
+
https:使用https协议回源
|
|
2587
2635
|
*/
|
|
2588
2636
|
UpstreamScheme?: string
|
|
2589
2637
|
/**
|
|
@@ -2591,55 +2639,71 @@ export interface AddSpartaProtectionRequest {
|
|
|
2591
2639
|
*/
|
|
2592
2640
|
HttpsUpstreamPort?: string
|
|
2593
2641
|
/**
|
|
2594
|
-
*
|
|
2642
|
+
* 待废弃,可不填。是否开启灰度,0表示不开启灰度。
|
|
2595
2643
|
*/
|
|
2596
2644
|
IsGray?: number
|
|
2597
2645
|
/**
|
|
2598
|
-
*
|
|
2646
|
+
* 待废弃,可不填。灰度的地区
|
|
2599
2647
|
*/
|
|
2600
2648
|
GrayAreas?: Array<string>
|
|
2601
2649
|
/**
|
|
2602
|
-
*
|
|
2650
|
+
* 是否开启HTTP强制跳转到HTTPS。
|
|
2651
|
+
0:不强制跳转
|
|
2652
|
+
1:开启强制跳转
|
|
2653
|
+
*/
|
|
2654
|
+
HttpsRewrite?: number
|
|
2655
|
+
/**
|
|
2656
|
+
* 域名回源时的回源域名。UpstreamType为1时,需要填充此字段
|
|
2603
2657
|
*/
|
|
2604
2658
|
UpstreamDomain?: string
|
|
2605
2659
|
/**
|
|
2606
|
-
* UpstreamType
|
|
2660
|
+
* IP回源时的回源IP列表。UpstreamType为0时,需要填充此字段
|
|
2607
2661
|
*/
|
|
2608
2662
|
SrcList?: Array<string>
|
|
2609
2663
|
/**
|
|
2610
|
-
* 是否开启HTTP2
|
|
2664
|
+
* 是否开启HTTP2,需要开启HTTPS协议支持。
|
|
2665
|
+
0:关闭
|
|
2666
|
+
1:开启
|
|
2611
2667
|
*/
|
|
2612
2668
|
IsHttp2?: number
|
|
2613
2669
|
/**
|
|
2614
|
-
*
|
|
2615
|
-
|
|
2616
|
-
|
|
2617
|
-
|
|
2618
|
-
|
|
2670
|
+
* 服务端口列表配置。
|
|
2671
|
+
NginxServerId:新增域名时填'0'
|
|
2672
|
+
Port:监听端口号
|
|
2673
|
+
Protocol:端口协议
|
|
2674
|
+
UpstreamPort:与Port相同
|
|
2675
|
+
UpstreamProtocol:与Protocol相同
|
|
2619
2676
|
*/
|
|
2620
2677
|
Ports?: Array<PortItem>
|
|
2621
2678
|
/**
|
|
2622
|
-
* WAF
|
|
2679
|
+
* 待废弃,可不填。WAF实例类型。
|
|
2680
|
+
sparta-waf:SAAS型WAF
|
|
2681
|
+
clb-waf:负载均衡型WAF
|
|
2682
|
+
cdn-waf:CDN上的Web防护能力
|
|
2623
2683
|
*/
|
|
2624
2684
|
Edition?: string
|
|
2625
2685
|
/**
|
|
2626
|
-
*
|
|
2686
|
+
* 是否开启长连接。
|
|
2687
|
+
0: 短连接
|
|
2688
|
+
1: 长连接
|
|
2627
2689
|
*/
|
|
2628
2690
|
IsKeepAlive?: string
|
|
2629
2691
|
/**
|
|
2630
|
-
*
|
|
2692
|
+
* 域名所属实例id
|
|
2631
2693
|
*/
|
|
2632
2694
|
InstanceID?: string
|
|
2633
2695
|
/**
|
|
2634
|
-
* anycast IP类型开关: 0 普通IP 1 Anycast IP
|
|
2696
|
+
* 待废弃,目前填0即可。anycast IP类型开关: 0 普通IP 1 Anycast IP
|
|
2635
2697
|
*/
|
|
2636
2698
|
Anycast?: number
|
|
2637
2699
|
/**
|
|
2638
|
-
*
|
|
2700
|
+
* 回源IP列表各IP的权重,和SrcList一一对应。当且仅当UpstreamType为0,并且SrcList有多个IP,并且LoadBalance为2时需要填写,否则填 []
|
|
2639
2701
|
*/
|
|
2640
2702
|
Weights?: Array<number | bigint>
|
|
2641
2703
|
/**
|
|
2642
|
-
*
|
|
2704
|
+
* 是否开启主动健康检测。
|
|
2705
|
+
0:不开启
|
|
2706
|
+
1:开启
|
|
2643
2707
|
*/
|
|
2644
2708
|
ActiveCheck?: number
|
|
2645
2709
|
/**
|
|
@@ -2647,35 +2711,41 @@ export interface AddSpartaProtectionRequest {
|
|
|
2647
2711
|
*/
|
|
2648
2712
|
TLSVersion?: number
|
|
2649
2713
|
/**
|
|
2650
|
-
*
|
|
2714
|
+
* 加密套件模板。
|
|
2715
|
+
0:不支持选择,使用默认模版
|
|
2716
|
+
1:通用型模版
|
|
2717
|
+
2:安全型模版
|
|
2718
|
+
3:自定义模版
|
|
2651
2719
|
*/
|
|
2652
|
-
|
|
2720
|
+
CipherTemplate?: number
|
|
2653
2721
|
/**
|
|
2654
|
-
*
|
|
2722
|
+
* 自定义的加密套件列表。CipherTemplate为3时需要填此字段,表示自定义的加密套件,值通过DescribeCiphersDetail接口获取。
|
|
2655
2723
|
*/
|
|
2656
|
-
|
|
2724
|
+
Ciphers?: Array<number | bigint>
|
|
2657
2725
|
/**
|
|
2658
|
-
* 300s
|
|
2726
|
+
* WAF与源站的读超时时间,默认300s。
|
|
2659
2727
|
*/
|
|
2660
2728
|
ProxyReadTimeout?: number
|
|
2661
2729
|
/**
|
|
2662
|
-
* 300s
|
|
2730
|
+
* WAF与源站的写超时时间,默认300s。
|
|
2663
2731
|
*/
|
|
2664
2732
|
ProxySendTimeout?: number
|
|
2665
2733
|
/**
|
|
2666
|
-
*
|
|
2734
|
+
* WAF回源时的SNI类型。
|
|
2735
|
+
0:关闭SNI,不配置client_hello中的server_name
|
|
2736
|
+
1:开启SNI,client_hello中的server_name为防护域名
|
|
2737
|
+
2:开启SNI,SNI为域名回源时的源站域名
|
|
2738
|
+
3:开启SNI,SNI为自定义域名
|
|
2667
2739
|
*/
|
|
2668
2740
|
SniType?: number
|
|
2669
2741
|
/**
|
|
2670
|
-
* SniType
|
|
2742
|
+
* SniType为3时,需要填此参数,表示自定义的SNI;
|
|
2671
2743
|
*/
|
|
2672
2744
|
SniHost?: string
|
|
2673
2745
|
/**
|
|
2674
|
-
*
|
|
2675
|
-
|
|
2676
|
-
|
|
2677
|
-
/**
|
|
2678
|
-
* 0:关闭xff重置;1:开启xff重置
|
|
2746
|
+
* 是否开启XFF重置。
|
|
2747
|
+
0:关闭
|
|
2748
|
+
1:开启
|
|
2679
2749
|
*/
|
|
2680
2750
|
XFFReset?: number
|
|
2681
2751
|
}
|
|
@@ -2904,11 +2974,11 @@ export interface DescribePortsResponse {
|
|
|
2904
2974
|
/**
|
|
2905
2975
|
* http端口列表
|
|
2906
2976
|
*/
|
|
2907
|
-
HttpPorts
|
|
2977
|
+
HttpPorts?: Array<string>
|
|
2908
2978
|
/**
|
|
2909
2979
|
* https端口列表
|
|
2910
2980
|
*/
|
|
2911
|
-
HttpsPorts
|
|
2981
|
+
HttpsPorts?: Array<string>
|
|
2912
2982
|
/**
|
|
2913
2983
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2914
2984
|
*/
|
|
@@ -3014,7 +3084,7 @@ export interface ModifyDomainIpv6StatusResponse {
|
|
|
3014
3084
|
/**
|
|
3015
3085
|
* 返回的状态 (0: 操作失败 1:操作成功 2:企业版以上不支持 3:企业版以下不支持 )
|
|
3016
3086
|
*/
|
|
3017
|
-
Ipv6Status
|
|
3087
|
+
Ipv6Status?: number
|
|
3018
3088
|
/**
|
|
3019
3089
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
3020
3090
|
*/
|
|
@@ -3227,14 +3297,14 @@ export interface DescribeAntiInfoLeakRulesRequest {
|
|
|
3227
3297
|
* DescribePorts请求参数结构体
|
|
3228
3298
|
*/
|
|
3229
3299
|
export interface DescribePortsRequest {
|
|
3230
|
-
/**
|
|
3231
|
-
* 版本
|
|
3232
|
-
*/
|
|
3233
|
-
Edition?: string
|
|
3234
3300
|
/**
|
|
3235
3301
|
* 实例ID
|
|
3236
3302
|
*/
|
|
3237
3303
|
InstanceID?: string
|
|
3304
|
+
/**
|
|
3305
|
+
* 实例类型
|
|
3306
|
+
*/
|
|
3307
|
+
Edition?: string
|
|
3238
3308
|
}
|
|
3239
3309
|
|
|
3240
3310
|
/**
|
|
@@ -3364,7 +3434,7 @@ export interface DescribeCiphersDetailResponse {
|
|
|
3364
3434
|
* 加密套件信息
|
|
3365
3435
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
3366
3436
|
*/
|
|
3367
|
-
Ciphers
|
|
3437
|
+
Ciphers?: Array<TLSCiphers>
|
|
3368
3438
|
/**
|
|
3369
3439
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
3370
3440
|
*/
|
|
@@ -4025,7 +4095,7 @@ export interface DescribeDomainDetailsClbResponse {
|
|
|
4025
4095
|
/**
|
|
4026
4096
|
* clb域名详情
|
|
4027
4097
|
*/
|
|
4028
|
-
DomainsClbPartInfo
|
|
4098
|
+
DomainsClbPartInfo?: ClbDomainsInfo
|
|
4029
4099
|
/**
|
|
4030
4100
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
4031
4101
|
*/
|