tencentcloud-sdk-nodejs-waf 4.0.903 → 4.0.904
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/package.json
CHANGED
package/products.md
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
| afc | [定制建模](https://cloud.tencent.com/document/product/1029) | 2024-05-31 01:07:25 |
|
|
9
9
|
| aiart | [大模型图像创作引擎](https://cloud.tencent.com/document/product/1668) | 2024-07-11 01:07:23 |
|
|
10
10
|
| ame | [正版曲库直通车](https://cloud.tencent.com/document/product/1155) | 2023-08-17 01:06:14 |
|
|
11
|
-
| ams | [音频内容安全](https://cloud.tencent.com/document/product/1219) | 2024-
|
|
11
|
+
| ams | [音频内容安全](https://cloud.tencent.com/document/product/1219) | 2024-07-25 01:07:49 |
|
|
12
12
|
| anicloud | [动效素材服务](https://cloud.tencent.com/document/product/1641) | 2023-05-18 01:01:53 |
|
|
13
13
|
| antiddos | [T-Sec-DDoS防护(Anti-DDoS)](https://cloud.tencent.com/document/product/297) | 2024-06-04 01:07:52 |
|
|
14
14
|
| apcas | [汽车精准获客服务](https://cloud.tencent.com/document/product/1244) | 2022-04-04 06:05:36 |
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
| car | [应用云渲染](https://cloud.tencent.com/document/product/1547) | 2024-06-19 01:14:59 |
|
|
40
40
|
| cat | [云拨测](https://cloud.tencent.com/document/product/280) | 2024-06-14 01:17:35 |
|
|
41
41
|
| cbs | [云硬盘](https://cloud.tencent.com/document/product/362) | 2024-07-22 01:14:47 |
|
|
42
|
-
| ccc | [云联络中心](https://cloud.tencent.com/document/product/679) | 2024-07-
|
|
42
|
+
| ccc | [云联络中心](https://cloud.tencent.com/document/product/679) | 2024-07-25 01:15:18 |
|
|
43
43
|
| cdb | [云数据库 MySQL](https://cloud.tencent.com/document/product/236) | 2024-07-23 01:10:42 |
|
|
44
44
|
| cdc | [本地专用集群](https://cloud.tencent.com/document/product/1346) | 2024-07-17 01:09:51 |
|
|
45
45
|
| cdn | [内容分发网络 CDN](https://cloud.tencent.com/document/product/228) | 2024-07-10 01:10:02 |
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
| cdz | [专属可用区](https://cloud.tencent.com/document/product/1629) | 2024-07-15 09:37:14 |
|
|
51
51
|
| cfg | [混沌演练平台](https://cloud.tencent.com/document/product/1500) | 2024-07-19 01:20:33 |
|
|
52
52
|
| cfs | [文件存储](https://cloud.tencent.com/document/product/582) | 2024-04-26 01:10:32 |
|
|
53
|
-
| cfw | [云防火墙](https://cloud.tencent.com/document/product/1132) | 2024-
|
|
53
|
+
| cfw | [云防火墙](https://cloud.tencent.com/document/product/1132) | 2024-07-25 01:19:29 |
|
|
54
54
|
| chdfs | [云 HDFS](https://cloud.tencent.com/document/product/1105) | 2024-03-20 01:10:55 |
|
|
55
55
|
| ciam | [账号风控平台](https://cloud.tencent.com/document/product/1441) | 2024-06-17 01:21:02 |
|
|
56
56
|
| cii | [智能保险助手](https://cloud.tencent.com/document/product/1368) | 2023-05-18 01:12:07 |
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
| cloudaudit | [操作审计](https://cloud.tencent.com/document/product/629) | 2024-01-15 01:09:37 |
|
|
63
63
|
| cloudhsm | [云加密机](https://cloud.tencent.com/document/product/639) | 2024-03-20 01:11:31 |
|
|
64
64
|
| cloudstudio | [Cloud Studio(云端 IDE)](https://cloud.tencent.com/document/product/1039) | 2024-05-29 01:21:54 |
|
|
65
|
-
| cls | [日志服务](https://cloud.tencent.com/document/product/614) | 2024-07-
|
|
65
|
+
| cls | [日志服务](https://cloud.tencent.com/document/product/614) | 2024-07-25 01:22:39 |
|
|
66
66
|
| cme | [多媒体创作引擎](https://cloud.tencent.com/document/product/1156) | 2024-03-20 01:12:05 |
|
|
67
67
|
| cmq | [消息队列 CMQ](https://cloud.tencent.com/document/product/406) | 2024-06-21 01:24:31 |
|
|
68
68
|
| cms | [内容安全](https://cloud.tencent.com/document/product/669) | 2024-06-20 01:24:47 |
|
|
@@ -78,7 +78,7 @@
|
|
|
78
78
|
| dasb | [运维安全中心(堡垒机)](https://cloud.tencent.com/document/product/1025) | 2024-07-16 01:13:41 |
|
|
79
79
|
| dataintegration | [数据接入平台](https://cloud.tencent.com/document/product/1591) | 2022-07-26 15:32:15 |
|
|
80
80
|
| dayu | [DDoS 高防包](https://cloud.tencent.com/document/product/1021) | 2023-05-18 01:20:11 |
|
|
81
|
-
| dbbrain | [数据库智能管家 DBbrain](https://cloud.tencent.com/document/product/1130) | 2024-07-
|
|
81
|
+
| dbbrain | [数据库智能管家 DBbrain](https://cloud.tencent.com/document/product/1130) | 2024-07-25 01:31:31 |
|
|
82
82
|
| dbdc | [云数据库独享集群](https://cloud.tencent.com/document/product/1322) | 2024-07-08 01:12:54 |
|
|
83
83
|
| dc | [专线接入](https://cloud.tencent.com/document/product/216) | 2024-07-15 01:09:18 |
|
|
84
84
|
| dcdb | [TDSQL MySQL 版](https://cloud.tencent.com/document/product/557) | 2024-07-11 01:14:04 |
|
|
@@ -98,8 +98,8 @@
|
|
|
98
98
|
| eis | [数据连接器](https://cloud.tencent.com/document/product/1270) | 2023-08-10 01:17:44 |
|
|
99
99
|
| emr | [弹性 MapReduce](https://cloud.tencent.com/document/product/589) | 2024-07-09 01:14:34 |
|
|
100
100
|
| es | [Elasticsearch Service](https://cloud.tencent.com/document/product/845) | 2024-07-22 01:39:08 |
|
|
101
|
-
| ess | [腾讯电子签企业版](https://cloud.tencent.com/document/product/1323) | 2024-07-
|
|
102
|
-
| essbasic | [腾讯电子签(基础版)](https://cloud.tencent.com/document/product/1420) | 2024-07-
|
|
101
|
+
| ess | [腾讯电子签企业版](https://cloud.tencent.com/document/product/1323) | 2024-07-25 01:39:56 |
|
|
102
|
+
| essbasic | [腾讯电子签(基础版)](https://cloud.tencent.com/document/product/1420) | 2024-07-25 01:40:54 |
|
|
103
103
|
| facefusion | [人脸融合](https://cloud.tencent.com/document/product/670) | 2024-07-16 01:16:45 |
|
|
104
104
|
| faceid | [人脸核身](https://cloud.tencent.com/document/product/1007) | 2024-07-19 01:47:20 |
|
|
105
105
|
| fmu | [人脸试妆](https://cloud.tencent.com/document/product/1172) | 2024-07-05 01:10:44 |
|
|
@@ -114,7 +114,7 @@
|
|
|
114
114
|
| hai | [高性能应用服务](https://cloud.tencent.com/document/product/1721) | 2024-05-29 01:43:09 |
|
|
115
115
|
| hasim | [高可用物联网卡](https://cloud.tencent.com/document/product/1482) | 2023-05-18 01:29:47 |
|
|
116
116
|
| hcm | [数学作业批改](https://cloud.tencent.com/document/product/1004) | 2024-05-09 01:16:27 |
|
|
117
|
-
| hunyuan | [腾讯混元大模型](https://cloud.tencent.com/document/product/1729) | 2024-07-
|
|
117
|
+
| hunyuan | [腾讯混元大模型](https://cloud.tencent.com/document/product/1729) | 2024-07-25 01:43:50 |
|
|
118
118
|
| iai | [人脸识别](https://cloud.tencent.com/document/product/867) | 2024-03-20 01:17:43 |
|
|
119
119
|
| ic | [图片瘦身](https://cloud.tencent.com/document/product/636) | 2023-03-02 01:23:21 |
|
|
120
120
|
| icr | [对话机器人](https://cloud.tencent.com/document/product/1268) | 2024-04-22 01:17:48 |
|
|
@@ -147,8 +147,8 @@
|
|
|
147
147
|
| mgobe | [游戏联机对战引擎](https://cloud.tencent.com/document/product/1038) | 2022-07-08 06:11:32 |
|
|
148
148
|
| mmps | [小程序安全](https://cloud.tencent.com/document/product/1223) | 2024-07-02 01:19:41 |
|
|
149
149
|
| mna | [多网聚合加速](https://cloud.tencent.com/document/product/1385) | 2024-07-22 01:55:24 |
|
|
150
|
-
| mongodb | [云数据库 MongoDB](https://cloud.tencent.com/document/product/240) | 2024-07-
|
|
151
|
-
| monitor | [腾讯云可观测平台](https://cloud.tencent.com/document/product/248) | 2024-07-
|
|
150
|
+
| mongodb | [云数据库 MongoDB](https://cloud.tencent.com/document/product/240) | 2024-07-25 01:56:02 |
|
|
151
|
+
| monitor | [腾讯云可观测平台](https://cloud.tencent.com/document/product/248) | 2024-07-25 01:56:32 |
|
|
152
152
|
| mps | [媒体处理](https://cloud.tencent.com/document/product/862) | 2024-07-24 01:56:46 |
|
|
153
153
|
| mrs | [医疗报告结构化](https://cloud.tencent.com/document/product/1314) | 2024-06-14 02:16:42 |
|
|
154
154
|
| ms | [移动应用安全](https://cloud.tencent.com/document/product/283) | 2024-06-05 02:02:03 |
|
|
@@ -157,7 +157,7 @@
|
|
|
157
157
|
| nlp | [NLP 服务](https://cloud.tencent.com/document/product/271) | 2024-05-07 01:22:11 |
|
|
158
158
|
| npp | [号码保护](https://cloud.tencent.com/document/product) | 2020-04-22 08:00:22 |
|
|
159
159
|
| oceanus | [流计算 Oceanus](https://cloud.tencent.com/document/product/849) | 2024-07-23 01:53:12 |
|
|
160
|
-
| ocr | [文字识别](https://cloud.tencent.com/document/product/866) | 2024-07-
|
|
160
|
+
| ocr | [文字识别](https://cloud.tencent.com/document/product/866) | 2024-07-25 02:00:21 |
|
|
161
161
|
| omics | [腾讯健康组学平台](https://cloud.tencent.com/document/product/1643) | 2024-06-13 02:11:33 |
|
|
162
162
|
| organization | [集团账号管理](https://cloud.tencent.com/document/product/850) | 2024-07-12 01:22:08 |
|
|
163
163
|
| partners | [渠道合作伙伴](https://cloud.tencent.com/document/product/563) | 2024-06-26 01:21:35 |
|
|
@@ -166,7 +166,7 @@
|
|
|
166
166
|
| privatedns | [私有域解析 Private DNS](https://cloud.tencent.com/document/product/1338) | 2024-06-18 02:05:02 |
|
|
167
167
|
| pts | [云压测](https://cloud.tencent.com/document/product/1484) | 2024-06-20 02:06:03 |
|
|
168
168
|
| rce | [全栈式风控引擎](https://cloud.tencent.com/document/product/1343) | 2024-07-23 01:57:03 |
|
|
169
|
-
| redis | [云数据库Redis](https://cloud.tencent.com/document/product/239) | 2024-07-
|
|
169
|
+
| redis | [云数据库Redis](https://cloud.tencent.com/document/product/239) | 2024-07-25 02:03:53 |
|
|
170
170
|
| region | [地域管理系统](https://cloud.tencent.com/document/product/1596) | 2024-04-22 01:23:34 |
|
|
171
171
|
| rkp | [风险探针](https://cloud.tencent.com/document/product/1169) | 2023-12-25 00:16:39 |
|
|
172
172
|
| rp | [注册保护](https://cloud.tencent.com/document/product/1191) | 2022-04-04 07:04:06 |
|
|
@@ -227,7 +227,7 @@
|
|
|
227
227
|
| trocket | [消息队列 RocketMQ 版](https://cloud.tencent.com/document/product/1493) | 2024-07-05 01:19:38 |
|
|
228
228
|
| trp | [T-Sec-安心平台(RP)](https://cloud.tencent.com/document/product/1458) | 2024-06-06 02:42:14 |
|
|
229
229
|
| trro | [远程实时操控](https://cloud.tencent.com/document/product/1584) | 2024-06-21 02:25:01 |
|
|
230
|
-
| trtc | [实时音视频](https://cloud.tencent.com/document/product/647) | 2024-07-
|
|
230
|
+
| trtc | [实时音视频](https://cloud.tencent.com/document/product/647) | 2024-07-25 02:22:11 |
|
|
231
231
|
| tse | [微服务引擎](https://cloud.tencent.com/document/product/1364) | 2024-07-10 01:27:48 |
|
|
232
232
|
| tsf | [微服务平台 TSF](https://cloud.tencent.com/document/product/649) | 2024-07-11 01:28:05 |
|
|
233
233
|
| tsi | [腾讯同传系统](https://cloud.tencent.com/document/product/1399) | 2024-07-17 01:28:37 |
|
|
@@ -240,12 +240,12 @@
|
|
|
240
240
|
| vm | [视频内容安全](https://cloud.tencent.com/document/product/1265) | 2024-06-06 02:47:30 |
|
|
241
241
|
| vms | [语音消息](https://cloud.tencent.com/document/product/1128) | 2024-03-20 01:30:13 |
|
|
242
242
|
| vod | [云点播](https://cloud.tencent.com/document/product/266) | 2024-07-23 11:34:10 |
|
|
243
|
-
| vpc | [私有网络](https://cloud.tencent.com/document/product/215) | 2024-07-
|
|
243
|
+
| vpc | [私有网络](https://cloud.tencent.com/document/product/215) | 2024-07-25 02:28:03 |
|
|
244
244
|
| vrs | [声音复刻](https://cloud.tencent.com/document/product/1283) | 2024-04-02 01:27:45 |
|
|
245
245
|
| vtc | [视频转译](https://cloud.tencent.com/document/product/1769) | 2024-06-07 02:52:58 |
|
|
246
|
-
| waf | [Web 应用防火墙](https://cloud.tencent.com/document/product/627) | 2024-07-
|
|
246
|
+
| waf | [Web 应用防火墙](https://cloud.tencent.com/document/product/627) | 2024-07-25 02:30:39 |
|
|
247
247
|
| wav | [企业微信汽车行业版](https://cloud.tencent.com/document/product/1318) | 2024-03-20 01:32:09 |
|
|
248
|
-
| wedata | [数据开发治理平台 WeData](https://cloud.tencent.com/document/product/1267) | 2024-07-
|
|
248
|
+
| wedata | [数据开发治理平台 WeData](https://cloud.tencent.com/document/product/1267) | 2024-07-25 02:32:09 |
|
|
249
249
|
| weilingwith | [微瓴同业开放平台](https://cloud.tencent.com/document/product/1693) | 2024-05-15 01:38:36 |
|
|
250
250
|
| wss | [SSL证书管理服务](https://cloud.tencent.com/document/product) | 2020-04-01 08:53:44 |
|
|
251
251
|
| yinsuda | [音速达直播音乐版权引擎](https://cloud.tencent.com/document/product/1592) | 2024-06-05 02:38:46 |
|
|
@@ -2056,10 +2056,7 @@ export interface ModifySpartaProtectionRequest {
|
|
|
2056
2056
|
*/
|
|
2057
2057
|
InstanceID: string
|
|
2058
2058
|
/**
|
|
2059
|
-
*
|
|
2060
|
-
0:仅配置HTTP监听端口,没有证书
|
|
2061
|
-
1:证书来源为自有证书
|
|
2062
|
-
2:证书来源为托管证书
|
|
2059
|
+
* 证书类型。0:仅配置HTTP监听端口,没有证书1:证书来源为自有证书2:证书来源为托管证书
|
|
2063
2060
|
*/
|
|
2064
2061
|
CertType?: number
|
|
2065
2062
|
/**
|
|
@@ -2075,11 +2072,7 @@ export interface ModifySpartaProtectionRequest {
|
|
|
2075
2072
|
*/
|
|
2076
2073
|
SSLId?: string
|
|
2077
2074
|
/**
|
|
2078
|
-
*
|
|
2079
|
-
0:没有部署代理服务
|
|
2080
|
-
1:有部署代理服务,waf将使用XFF获取客户端IP
|
|
2081
|
-
2:有部署代理服务,waf将使用remote_addr获取客户端IP
|
|
2082
|
-
3:有部署代理服务,waf将使用ip_headers中的自定义header获取客户端IP
|
|
2075
|
+
* waf前是否部署有七层代理服务。0:没有部署代理服务1:有部署代理服务,waf将使用XFF获取客户端IP2:有部署代理服务,waf将使用remote_addr获取客户端IP3:有部署代理服务,waf将使用ip_headers中的自定义header获取客户端IP
|
|
2083
2076
|
*/
|
|
2084
2077
|
IsCdn?: number
|
|
2085
2078
|
/**
|
|
@@ -2093,15 +2086,11 @@ https:使用https协议回源
|
|
|
2093
2086
|
*/
|
|
2094
2087
|
HttpsUpstreamPort?: string
|
|
2095
2088
|
/**
|
|
2096
|
-
*
|
|
2097
|
-
0:不强制跳转
|
|
2098
|
-
1:开启强制跳转
|
|
2089
|
+
* 是否开启HTTP强制跳转到HTTPS。0:不强制跳转1:开启强制跳转
|
|
2099
2090
|
*/
|
|
2100
2091
|
HttpsRewrite?: number
|
|
2101
2092
|
/**
|
|
2102
|
-
*
|
|
2103
|
-
0:通过IP回源
|
|
2104
|
-
1:通过域名回源
|
|
2093
|
+
* 回源类型。0:通过IP回源1:通过域名回源
|
|
2105
2094
|
*/
|
|
2106
2095
|
UpstreamType?: number
|
|
2107
2096
|
/**
|
|
@@ -2113,22 +2102,15 @@ https:使用https协议回源
|
|
|
2113
2102
|
*/
|
|
2114
2103
|
SrcList?: Array<string>
|
|
2115
2104
|
/**
|
|
2116
|
-
*
|
|
2117
|
-
0:关闭
|
|
2118
|
-
1:开启
|
|
2105
|
+
* 是否开启HTTP2,需要开启HTTPS协议支持。0:关闭1:开启
|
|
2119
2106
|
*/
|
|
2120
2107
|
IsHttp2?: number
|
|
2121
2108
|
/**
|
|
2122
|
-
*
|
|
2123
|
-
0:关闭
|
|
2124
|
-
1:开启
|
|
2109
|
+
* 是否开启WebSocket支持。0:关闭1:开启
|
|
2125
2110
|
*/
|
|
2126
2111
|
IsWebsocket?: number
|
|
2127
2112
|
/**
|
|
2128
|
-
*
|
|
2129
|
-
0:轮询
|
|
2130
|
-
1:IP hash
|
|
2131
|
-
2:加权轮询
|
|
2113
|
+
* 回源负载均衡策略。0:轮询1:IP hash2:加权轮询
|
|
2132
2114
|
*/
|
|
2133
2115
|
LoadBalance?: number
|
|
2134
2116
|
/**
|
|
@@ -2140,17 +2122,15 @@ https:使用https协议回源
|
|
|
2140
2122
|
*/
|
|
2141
2123
|
Edition?: string
|
|
2142
2124
|
/**
|
|
2143
|
-
*
|
|
2125
|
+
* 端口信息,可通过DescribeDomains接口获取具体参数信息。
|
|
2144
2126
|
*/
|
|
2145
2127
|
Ports?: Array<SpartaProtectionPort>
|
|
2146
2128
|
/**
|
|
2147
|
-
*
|
|
2148
|
-
0: 短连接
|
|
2149
|
-
1: 长连接
|
|
2129
|
+
* 是否开启长连接。0: 短连接1: 长连接
|
|
2150
2130
|
*/
|
|
2151
2131
|
IsKeepAlive?: string
|
|
2152
2132
|
/**
|
|
2153
|
-
*
|
|
2133
|
+
* 待废弃。目前填0即可。anycast IP类型开关: 0 普通IP 1 Anycast IP
|
|
2154
2134
|
*/
|
|
2155
2135
|
Anycast?: number
|
|
2156
2136
|
/**
|
|
@@ -2158,9 +2138,7 @@ https:使用https协议回源
|
|
|
2158
2138
|
*/
|
|
2159
2139
|
Weights?: Array<number | bigint>
|
|
2160
2140
|
/**
|
|
2161
|
-
*
|
|
2162
|
-
0:不开启
|
|
2163
|
-
1:开启
|
|
2141
|
+
* 是否开启主动健康检测。0:不开启1:开启
|
|
2164
2142
|
*/
|
|
2165
2143
|
ActiveCheck?: number
|
|
2166
2144
|
/**
|
|
@@ -2172,11 +2150,7 @@ https:使用https协议回源
|
|
|
2172
2150
|
*/
|
|
2173
2151
|
Ciphers?: Array<number | bigint>
|
|
2174
2152
|
/**
|
|
2175
|
-
*
|
|
2176
|
-
0:不支持选择,使用默认模板
|
|
2177
|
-
1:通用型模板
|
|
2178
|
-
2:安全型模板
|
|
2179
|
-
3:自定义模板
|
|
2153
|
+
* 加密套件模板。0:不支持选择,使用默认模板 1:通用型模板 2:安全型模板3:自定义模板
|
|
2180
2154
|
*/
|
|
2181
2155
|
CipherTemplate?: number
|
|
2182
2156
|
/**
|
|
@@ -2204,9 +2178,7 @@ https:使用https协议回源
|
|
|
2204
2178
|
*/
|
|
2205
2179
|
IpHeaders?: Array<string>
|
|
2206
2180
|
/**
|
|
2207
|
-
*
|
|
2208
|
-
0:关闭
|
|
2209
|
-
1:开启
|
|
2181
|
+
* 是否开启XFF重置。0:关闭1:开启
|
|
2210
2182
|
*/
|
|
2211
2183
|
XFFReset?: number
|
|
2212
2184
|
/**
|
|
@@ -1960,10 +1960,7 @@ export interface ModifySpartaProtectionRequest {
|
|
|
1960
1960
|
*/
|
|
1961
1961
|
InstanceID: string;
|
|
1962
1962
|
/**
|
|
1963
|
-
*
|
|
1964
|
-
0:仅配置HTTP监听端口,没有证书
|
|
1965
|
-
1:证书来源为自有证书
|
|
1966
|
-
2:证书来源为托管证书
|
|
1963
|
+
* 证书类型。0:仅配置HTTP监听端口,没有证书1:证书来源为自有证书2:证书来源为托管证书
|
|
1967
1964
|
*/
|
|
1968
1965
|
CertType?: number;
|
|
1969
1966
|
/**
|
|
@@ -1979,11 +1976,7 @@ export interface ModifySpartaProtectionRequest {
|
|
|
1979
1976
|
*/
|
|
1980
1977
|
SSLId?: string;
|
|
1981
1978
|
/**
|
|
1982
|
-
*
|
|
1983
|
-
0:没有部署代理服务
|
|
1984
|
-
1:有部署代理服务,waf将使用XFF获取客户端IP
|
|
1985
|
-
2:有部署代理服务,waf将使用remote_addr获取客户端IP
|
|
1986
|
-
3:有部署代理服务,waf将使用ip_headers中的自定义header获取客户端IP
|
|
1979
|
+
* waf前是否部署有七层代理服务。0:没有部署代理服务1:有部署代理服务,waf将使用XFF获取客户端IP2:有部署代理服务,waf将使用remote_addr获取客户端IP3:有部署代理服务,waf将使用ip_headers中的自定义header获取客户端IP
|
|
1987
1980
|
*/
|
|
1988
1981
|
IsCdn?: number;
|
|
1989
1982
|
/**
|
|
@@ -1997,15 +1990,11 @@ export interface ModifySpartaProtectionRequest {
|
|
|
1997
1990
|
*/
|
|
1998
1991
|
HttpsUpstreamPort?: string;
|
|
1999
1992
|
/**
|
|
2000
|
-
*
|
|
2001
|
-
0:不强制跳转
|
|
2002
|
-
1:开启强制跳转
|
|
1993
|
+
* 是否开启HTTP强制跳转到HTTPS。0:不强制跳转1:开启强制跳转
|
|
2003
1994
|
*/
|
|
2004
1995
|
HttpsRewrite?: number;
|
|
2005
1996
|
/**
|
|
2006
|
-
*
|
|
2007
|
-
0:通过IP回源
|
|
2008
|
-
1:通过域名回源
|
|
1997
|
+
* 回源类型。0:通过IP回源1:通过域名回源
|
|
2009
1998
|
*/
|
|
2010
1999
|
UpstreamType?: number;
|
|
2011
2000
|
/**
|
|
@@ -2017,22 +2006,15 @@ export interface ModifySpartaProtectionRequest {
|
|
|
2017
2006
|
*/
|
|
2018
2007
|
SrcList?: Array<string>;
|
|
2019
2008
|
/**
|
|
2020
|
-
*
|
|
2021
|
-
0:关闭
|
|
2022
|
-
1:开启
|
|
2009
|
+
* 是否开启HTTP2,需要开启HTTPS协议支持。0:关闭1:开启
|
|
2023
2010
|
*/
|
|
2024
2011
|
IsHttp2?: number;
|
|
2025
2012
|
/**
|
|
2026
|
-
*
|
|
2027
|
-
0:关闭
|
|
2028
|
-
1:开启
|
|
2013
|
+
* 是否开启WebSocket支持。0:关闭1:开启
|
|
2029
2014
|
*/
|
|
2030
2015
|
IsWebsocket?: number;
|
|
2031
2016
|
/**
|
|
2032
|
-
*
|
|
2033
|
-
0:轮询
|
|
2034
|
-
1:IP hash
|
|
2035
|
-
2:加权轮询
|
|
2017
|
+
* 回源负载均衡策略。0:轮询1:IP hash2:加权轮询
|
|
2036
2018
|
*/
|
|
2037
2019
|
LoadBalance?: number;
|
|
2038
2020
|
/**
|
|
@@ -2044,17 +2026,15 @@ export interface ModifySpartaProtectionRequest {
|
|
|
2044
2026
|
*/
|
|
2045
2027
|
Edition?: string;
|
|
2046
2028
|
/**
|
|
2047
|
-
*
|
|
2029
|
+
* 端口信息,可通过DescribeDomains接口获取具体参数信息。
|
|
2048
2030
|
*/
|
|
2049
2031
|
Ports?: Array<SpartaProtectionPort>;
|
|
2050
2032
|
/**
|
|
2051
|
-
*
|
|
2052
|
-
0: 短连接
|
|
2053
|
-
1: 长连接
|
|
2033
|
+
* 是否开启长连接。0: 短连接1: 长连接
|
|
2054
2034
|
*/
|
|
2055
2035
|
IsKeepAlive?: string;
|
|
2056
2036
|
/**
|
|
2057
|
-
*
|
|
2037
|
+
* 待废弃。目前填0即可。anycast IP类型开关: 0 普通IP 1 Anycast IP
|
|
2058
2038
|
*/
|
|
2059
2039
|
Anycast?: number;
|
|
2060
2040
|
/**
|
|
@@ -2062,9 +2042,7 @@ export interface ModifySpartaProtectionRequest {
|
|
|
2062
2042
|
*/
|
|
2063
2043
|
Weights?: Array<number | bigint>;
|
|
2064
2044
|
/**
|
|
2065
|
-
*
|
|
2066
|
-
0:不开启
|
|
2067
|
-
1:开启
|
|
2045
|
+
* 是否开启主动健康检测。0:不开启1:开启
|
|
2068
2046
|
*/
|
|
2069
2047
|
ActiveCheck?: number;
|
|
2070
2048
|
/**
|
|
@@ -2076,11 +2054,7 @@ export interface ModifySpartaProtectionRequest {
|
|
|
2076
2054
|
*/
|
|
2077
2055
|
Ciphers?: Array<number | bigint>;
|
|
2078
2056
|
/**
|
|
2079
|
-
*
|
|
2080
|
-
0:不支持选择,使用默认模板
|
|
2081
|
-
1:通用型模板
|
|
2082
|
-
2:安全型模板
|
|
2083
|
-
3:自定义模板
|
|
2057
|
+
* 加密套件模板。0:不支持选择,使用默认模板 1:通用型模板 2:安全型模板3:自定义模板
|
|
2084
2058
|
*/
|
|
2085
2059
|
CipherTemplate?: number;
|
|
2086
2060
|
/**
|
|
@@ -2108,9 +2082,7 @@ export interface ModifySpartaProtectionRequest {
|
|
|
2108
2082
|
*/
|
|
2109
2083
|
IpHeaders?: Array<string>;
|
|
2110
2084
|
/**
|
|
2111
|
-
*
|
|
2112
|
-
0:关闭
|
|
2113
|
-
1:开启
|
|
2085
|
+
* 是否开启XFF重置。0:关闭1:开启
|
|
2114
2086
|
*/
|
|
2115
2087
|
XFFReset?: number;
|
|
2116
2088
|
/**
|