tencentcloud-sdk-nodejs 4.0.683 → 4.0.684
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 +196 -0
- package/SERVICE_CHANGELOG.md +271 -54
- package/package.json +1 -1
- package/products.md +10 -10
- package/src/common/sdk_version.ts +1 -1
- package/src/services/cdwch/v20200915/cdwch_client.ts +27 -15
- package/src/services/cdwch/v20200915/cdwch_models.ts +70 -46
- package/src/services/cfw/v20190904/cfw_client.ts +711 -456
- package/src/services/cfw/v20190904/cfw_models.ts +1815 -305
- package/src/services/eb/v20210416/eb_client.ts +110 -59
- package/src/services/eb/v20210416/eb_models.ts +917 -780
- package/src/services/ess/v20201111/ess_client.ts +40 -16
- package/src/services/ess/v20201111/ess_models.ts +301 -177
- package/src/services/facefusion/v20181201/facefusion_client.ts +4 -2
- package/src/services/iai/v20180301/iai_models.ts +13 -13
- package/src/services/iai/v20200303/iai_models.ts +15 -15
- package/src/services/trocket/v20230308/trocket_client.ts +68 -17
- package/src/services/trocket/v20230308/trocket_models.ts +371 -35
- package/src/services/trtc/v20190722/trtc_models.ts +1 -1
- package/src/services/waf/v20180125/waf_client.ts +25 -38
- package/src/services/waf/v20180125/waf_models.ts +45 -73
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/cdwch/v20200915/cdwch_client.d.ts +9 -5
- package/tencentcloud/services/cdwch/v20200915/cdwch_client.js +12 -6
- package/tencentcloud/services/cdwch/v20200915/cdwch_models.d.ts +68 -46
- package/tencentcloud/services/cfw/v20190904/cfw_client.d.ts +227 -147
- package/tencentcloud/services/cfw/v20190904/cfw_client.js +336 -216
- package/tencentcloud/services/cfw/v20190904/cfw_models.d.ts +1815 -360
- package/tencentcloud/services/eb/v20210416/eb_client.d.ts +17 -1
- package/tencentcloud/services/eb/v20210416/eb_client.js +24 -0
- package/tencentcloud/services/eb/v20210416/eb_models.d.ts +896 -770
- package/tencentcloud/services/ess/v20201111/ess_client.d.ts +36 -12
- package/tencentcloud/services/ess/v20201111/ess_client.js +36 -12
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +301 -177
- package/tencentcloud/services/facefusion/v20181201/facefusion_client.d.ts +3 -1
- package/tencentcloud/services/facefusion/v20181201/facefusion_client.js +3 -1
- package/tencentcloud/services/iai/v20180301/iai_models.d.ts +13 -13
- package/tencentcloud/services/iai/v20200303/iai_models.d.ts +15 -15
- package/tencentcloud/services/trocket/v20230308/trocket_client.d.ts +24 -8
- package/tencentcloud/services/trocket/v20230308/trocket_client.js +33 -9
- package/tencentcloud/services/trocket/v20230308/trocket_models.d.ts +359 -34
- package/tencentcloud/services/trtc/v20190722/trtc_models.d.ts +1 -1
- package/tencentcloud/services/waf/v20180125/waf_client.d.ts +9 -13
- package/tencentcloud/services/waf/v20180125/waf_client.js +12 -18
- package/tencentcloud/services/waf/v20180125/waf_models.d.ts +43 -68
- package/test/cdwch.v20200915.test.js +14 -4
- package/test/cfw.v20190904.test.js +340 -140
- package/test/eb.v20210416.test.js +40 -0
- package/test/trocket.v20230308.test.js +42 -2
- package/test/waf.v20180125.test.js +14 -24
|
@@ -28,10 +28,10 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
28
28
|
super("cfw.tencentcloudapi.com", "2019-09-04", clientConfig);
|
|
29
29
|
}
|
|
30
30
|
/**
|
|
31
|
-
*
|
|
31
|
+
* 删除VPC间规则
|
|
32
32
|
*/
|
|
33
|
-
async
|
|
34
|
-
return this.request("
|
|
33
|
+
async RemoveVpcAcRule(req, cb) {
|
|
34
|
+
return this.request("RemoveVpcAcRule", req, cb);
|
|
35
35
|
}
|
|
36
36
|
/**
|
|
37
37
|
* 中止安全组规则下发
|
|
@@ -40,152 +40,183 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
40
40
|
return this.request("StopSecurityGroupRuleDispatch", req, cb);
|
|
41
41
|
}
|
|
42
42
|
/**
|
|
43
|
-
*
|
|
43
|
+
* VPC防火墙(组)开关列表
|
|
44
44
|
*/
|
|
45
|
-
async
|
|
46
|
-
return this.request("
|
|
45
|
+
async DescribeVpcFwGroupSwitch(req, cb) {
|
|
46
|
+
return this.request("DescribeVpcFwGroupSwitch", req, cb);
|
|
47
47
|
}
|
|
48
48
|
/**
|
|
49
|
-
*
|
|
49
|
+
* 启用停用VPC间规则或Nat边界规则
|
|
50
|
+
VPC间规则需指定EdgeId。Nat边界规则需指定地域Region与Direction。
|
|
50
51
|
*/
|
|
51
|
-
async
|
|
52
|
-
return this.request("
|
|
52
|
+
async ModifyEWRuleStatus(req, cb) {
|
|
53
|
+
return this.request("ModifyEWRuleStatus", req, cb);
|
|
53
54
|
}
|
|
54
55
|
/**
|
|
55
|
-
*
|
|
56
|
+
* ModifyResourceGroup-资产中心资产组信息修改
|
|
57
|
+
|
|
56
58
|
|
|
57
59
|
*/
|
|
58
|
-
async
|
|
59
|
-
return this.request("
|
|
60
|
+
async ModifyResourceGroup(req, cb) {
|
|
61
|
+
return this.request("ModifyResourceGroup", req, cb);
|
|
60
62
|
}
|
|
61
63
|
/**
|
|
62
|
-
*
|
|
64
|
+
* DescribeResourceGroupNew资产中心资产树信息
|
|
63
65
|
*/
|
|
64
|
-
async
|
|
65
|
-
return this.request("
|
|
66
|
+
async DescribeResourceGroupNew(req, cb) {
|
|
67
|
+
return this.request("DescribeResourceGroupNew", req, cb);
|
|
66
68
|
}
|
|
67
69
|
/**
|
|
68
|
-
*
|
|
70
|
+
* 编辑VPC间防火墙(防火墙组)
|
|
69
71
|
*/
|
|
70
|
-
async
|
|
71
|
-
return this.request("
|
|
72
|
+
async ModifyVpcFwGroup(req, cb) {
|
|
73
|
+
return this.request("ModifyVpcFwGroup", req, cb);
|
|
72
74
|
}
|
|
73
75
|
/**
|
|
74
|
-
*
|
|
76
|
+
* 删除防火墙(组),或者删除其中实例
|
|
75
77
|
*/
|
|
76
|
-
async
|
|
77
|
-
return this.request("
|
|
78
|
+
async DeleteVpcFwGroup(req, cb) {
|
|
79
|
+
return this.request("DeleteVpcFwGroup", req, cb);
|
|
78
80
|
}
|
|
79
81
|
/**
|
|
80
|
-
*
|
|
82
|
+
* 添加VPC内网间规则
|
|
81
83
|
*/
|
|
82
|
-
async
|
|
83
|
-
return this.request("
|
|
84
|
+
async AddVpcAcRule(req, cb) {
|
|
85
|
+
return this.request("AddVpcAcRule", req, cb);
|
|
84
86
|
}
|
|
85
87
|
/**
|
|
86
|
-
*
|
|
88
|
+
* 创建新企业安全组规则
|
|
87
89
|
*/
|
|
88
|
-
async
|
|
89
|
-
return this.request("
|
|
90
|
+
async AddEnterpriseSecurityGroupRules(req, cb) {
|
|
91
|
+
return this.request("AddEnterpriseSecurityGroupRules", req, cb);
|
|
90
92
|
}
|
|
91
93
|
/**
|
|
92
|
-
*
|
|
93
|
-
|
|
94
|
+
* 查询规则表状态
|
|
95
|
+
*/
|
|
96
|
+
async DescribeTableStatus(req, cb) {
|
|
97
|
+
return this.request("DescribeTableStatus", req, cb);
|
|
98
|
+
}
|
|
99
|
+
/**
|
|
100
|
+
* 企业安全组规则快速排序
|
|
101
|
+
*/
|
|
102
|
+
async ModifySecurityGroupSequenceRules(req, cb) {
|
|
103
|
+
return this.request("ModifySecurityGroupSequenceRules", req, cb);
|
|
104
|
+
}
|
|
105
|
+
/**
|
|
106
|
+
* 删除新企业安全组规则
|
|
107
|
+
*/
|
|
108
|
+
async RemoveEnterpriseSecurityGroupRule(req, cb) {
|
|
109
|
+
return this.request("RemoveEnterpriseSecurityGroupRule", req, cb);
|
|
110
|
+
}
|
|
111
|
+
/**
|
|
112
|
+
* NAT防火墙规则快速排序
|
|
113
|
+
*/
|
|
114
|
+
async ModifyNatSequenceRules(req, cb) {
|
|
115
|
+
return this.request("ModifyNatSequenceRules", req, cb);
|
|
116
|
+
}
|
|
117
|
+
/**
|
|
118
|
+
* 删除防火墙实例
|
|
119
|
+
*/
|
|
120
|
+
async DeleteVpcInstance(req, cb) {
|
|
121
|
+
return this.request("DeleteVpcInstance", req, cb);
|
|
122
|
+
}
|
|
123
|
+
/**
|
|
124
|
+
* DescribeUnHandleEventTabList 告警中心伪攻击链事件未处置接口
|
|
94
125
|
|
|
95
126
|
*/
|
|
96
|
-
async
|
|
97
|
-
return this.request("
|
|
127
|
+
async DescribeUnHandleEventTabList(req, cb) {
|
|
128
|
+
return this.request("DescribeUnHandleEventTabList", req, cb);
|
|
98
129
|
}
|
|
99
130
|
/**
|
|
100
|
-
*
|
|
131
|
+
* 创建NAT防火墙实例(Region参数必填)
|
|
101
132
|
*/
|
|
102
|
-
async
|
|
103
|
-
return this.request("
|
|
133
|
+
async CreateNatFwInstance(req, cb) {
|
|
134
|
+
return this.request("CreateNatFwInstance", req, cb);
|
|
104
135
|
}
|
|
105
136
|
/**
|
|
106
|
-
*
|
|
137
|
+
* ModifyBlockTop取消置顶接口
|
|
107
138
|
*/
|
|
108
|
-
async
|
|
109
|
-
return this.request("
|
|
139
|
+
async ModifyBlockTop(req, cb) {
|
|
140
|
+
return this.request("ModifyBlockTop", req, cb);
|
|
110
141
|
}
|
|
111
142
|
/**
|
|
112
|
-
*
|
|
143
|
+
* 删除互联网边界访问控制规则
|
|
113
144
|
*/
|
|
114
|
-
async
|
|
115
|
-
return this.request("
|
|
145
|
+
async RemoveAclRule(req, cb) {
|
|
146
|
+
return this.request("RemoveAclRule", req, cb);
|
|
116
147
|
}
|
|
117
148
|
/**
|
|
118
|
-
*
|
|
119
|
-
VPC间规则需指定EdgeId。Nat边界规则需指定地域Region与Direction。
|
|
149
|
+
* 批量添加入侵防御封禁列表、放通列表规则
|
|
120
150
|
*/
|
|
121
|
-
async
|
|
122
|
-
return this.request("
|
|
151
|
+
async CreateBlockIgnoreRuleList(req, cb) {
|
|
152
|
+
return this.request("CreateBlockIgnoreRuleList", req, cb);
|
|
123
153
|
}
|
|
124
154
|
/**
|
|
125
|
-
*
|
|
155
|
+
* 修改边界防火墙开关(旁路、串行)
|
|
126
156
|
*/
|
|
127
|
-
async
|
|
128
|
-
return this.request("
|
|
157
|
+
async ModifyEdgeIpSwitch(req, cb) {
|
|
158
|
+
return this.request("ModifyEdgeIpSwitch", req, cb);
|
|
129
159
|
}
|
|
130
160
|
/**
|
|
131
|
-
*
|
|
161
|
+
* DescribeBlockByIpTimesList 告警中心阻断IP折线图
|
|
162
|
+
|
|
132
163
|
*/
|
|
133
|
-
async
|
|
134
|
-
return this.request("
|
|
164
|
+
async DescribeBlockByIpTimesList(req, cb) {
|
|
165
|
+
return this.request("DescribeBlockByIpTimesList", req, cb);
|
|
135
166
|
}
|
|
136
167
|
/**
|
|
137
|
-
*
|
|
168
|
+
* 查询新版安全组下发进度
|
|
138
169
|
*/
|
|
139
|
-
async
|
|
140
|
-
return this.request("
|
|
170
|
+
async DescribeEnterpriseSGRuleProgress(req, cb) {
|
|
171
|
+
return this.request("DescribeEnterpriseSGRuleProgress", req, cb);
|
|
141
172
|
}
|
|
142
173
|
/**
|
|
143
|
-
*
|
|
174
|
+
* 获取当前用户接入nat防火墙的所有子网数及natfw实例个数
|
|
144
175
|
*/
|
|
145
|
-
async
|
|
146
|
-
return this.request("
|
|
176
|
+
async DescribeNatFwInfoCount(req, cb) {
|
|
177
|
+
return this.request("DescribeNatFwInfoCount", req, cb);
|
|
147
178
|
}
|
|
148
179
|
/**
|
|
149
|
-
*
|
|
180
|
+
* 展示当前natfw 实例对应的vpc dns开关
|
|
150
181
|
*/
|
|
151
|
-
async
|
|
152
|
-
return this.request("
|
|
182
|
+
async DescribeNatFwVpcDnsLst(req, cb) {
|
|
183
|
+
return this.request("DescribeNatFwVpcDnsLst", req, cb);
|
|
153
184
|
}
|
|
154
185
|
/**
|
|
155
|
-
*
|
|
186
|
+
* 编辑单条入侵防御封禁列表、放通列表规则
|
|
156
187
|
*/
|
|
157
|
-
async
|
|
158
|
-
return this.request("
|
|
188
|
+
async ModifyBlockIgnoreRule(req, cb) {
|
|
189
|
+
return this.request("ModifyBlockIgnoreRule", req, cb);
|
|
159
190
|
}
|
|
160
191
|
/**
|
|
161
|
-
*
|
|
192
|
+
* 查询互联网边界访问控制列表
|
|
162
193
|
*/
|
|
163
|
-
async
|
|
164
|
-
return this.request("
|
|
194
|
+
async DescribeAclRule(req, cb) {
|
|
195
|
+
return this.request("DescribeAclRule", req, cb);
|
|
165
196
|
}
|
|
166
197
|
/**
|
|
167
|
-
*
|
|
198
|
+
* 编辑单条安全组规则
|
|
168
199
|
*/
|
|
169
|
-
async
|
|
170
|
-
return this.request("
|
|
200
|
+
async ModifySecurityGroupRule(req, cb) {
|
|
201
|
+
return this.request("ModifySecurityGroupRule", req, cb);
|
|
171
202
|
}
|
|
172
203
|
/**
|
|
173
|
-
*
|
|
204
|
+
* 全部删除规则
|
|
174
205
|
*/
|
|
175
|
-
async
|
|
176
|
-
return this.request("
|
|
206
|
+
async DeleteAllAccessControlRule(req, cb) {
|
|
207
|
+
return this.request("DeleteAllAccessControlRule", req, cb);
|
|
177
208
|
}
|
|
178
209
|
/**
|
|
179
|
-
*
|
|
210
|
+
* 查询安全组规则列表
|
|
180
211
|
*/
|
|
181
|
-
async
|
|
182
|
-
return this.request("
|
|
212
|
+
async DescribeSecurityGroupList(req, cb) {
|
|
213
|
+
return this.request("DescribeSecurityGroupList", req, cb);
|
|
183
214
|
}
|
|
184
215
|
/**
|
|
185
|
-
*
|
|
216
|
+
* 修改内网间访问控制规则
|
|
186
217
|
*/
|
|
187
|
-
async
|
|
188
|
-
return this.request("
|
|
218
|
+
async ModifyVpcAcRule(req, cb) {
|
|
219
|
+
return this.request("ModifyVpcAcRule", req, cb);
|
|
189
220
|
}
|
|
190
221
|
/**
|
|
191
222
|
* 销毁防火墙实例
|
|
@@ -200,95 +231,128 @@ VPC间规则需指定EdgeId。Nat边界规则需指定地域Region与Direction
|
|
|
200
231
|
return this.request("CreateSecurityGroupRules", req, cb);
|
|
201
232
|
}
|
|
202
233
|
/**
|
|
203
|
-
*
|
|
234
|
+
* 获取入侵防御按钮列表
|
|
204
235
|
*/
|
|
205
|
-
async
|
|
206
|
-
return this.request("
|
|
236
|
+
async DescribeDefenseSwitch(req, cb) {
|
|
237
|
+
return this.request("DescribeDefenseSwitch", req, cb);
|
|
207
238
|
}
|
|
208
239
|
/**
|
|
209
|
-
*
|
|
240
|
+
* 获取租户所有VPC防火墙(组)及VPC防火墙实例卡片信息
|
|
210
241
|
*/
|
|
211
|
-
async
|
|
212
|
-
return this.request("
|
|
242
|
+
async DescribeFwGroupInstanceInfo(req, cb) {
|
|
243
|
+
return this.request("DescribeFwGroupInstanceInfo", req, cb);
|
|
213
244
|
}
|
|
214
245
|
/**
|
|
215
|
-
*
|
|
246
|
+
* nat 防火墙VPC DNS 开关切换
|
|
216
247
|
*/
|
|
217
|
-
async
|
|
218
|
-
return this.request("
|
|
248
|
+
async ModifyNatFwVpcDnsSwitch(req, cb) {
|
|
249
|
+
return this.request("ModifyNatFwVpcDnsSwitch", req, cb);
|
|
219
250
|
}
|
|
220
251
|
/**
|
|
221
|
-
*
|
|
252
|
+
* 启用停用单条企业安全组规则
|
|
222
253
|
*/
|
|
223
|
-
async
|
|
224
|
-
return this.request("
|
|
254
|
+
async ModifySecurityGroupItemRuleStatus(req, cb) {
|
|
255
|
+
return this.request("ModifySecurityGroupItemRuleStatus", req, cb);
|
|
225
256
|
}
|
|
226
257
|
/**
|
|
227
|
-
*
|
|
258
|
+
* GetNatFwInstanceWithRegion 获取租户新增运维的NAT实例,带上地域
|
|
228
259
|
*/
|
|
229
|
-
async
|
|
230
|
-
return this.request("
|
|
260
|
+
async DescribeNatFwInstanceWithRegion(req, cb) {
|
|
261
|
+
return this.request("DescribeNatFwInstanceWithRegion", req, cb);
|
|
231
262
|
}
|
|
232
263
|
/**
|
|
233
|
-
*
|
|
264
|
+
* DescribeSourceAsset-查询资产组全部资产信息
|
|
234
265
|
|
|
235
266
|
*/
|
|
236
|
-
async
|
|
237
|
-
return this.request("
|
|
267
|
+
async DescribeSourceAsset(req, cb) {
|
|
268
|
+
return this.request("DescribeSourceAsset", req, cb);
|
|
238
269
|
}
|
|
239
270
|
/**
|
|
240
|
-
*
|
|
271
|
+
* DeleteResourceGroup-资产中心资产组删除
|
|
241
272
|
*/
|
|
242
|
-
async
|
|
243
|
-
return this.request("
|
|
273
|
+
async DeleteResourceGroup(req, cb) {
|
|
274
|
+
return this.request("DeleteResourceGroup", req, cb);
|
|
244
275
|
}
|
|
245
276
|
/**
|
|
246
|
-
*
|
|
277
|
+
* 删除互联网边界规则
|
|
247
278
|
*/
|
|
248
|
-
async
|
|
249
|
-
return this.request("
|
|
279
|
+
async RemoveAcRule(req, cb) {
|
|
280
|
+
return this.request("RemoveAcRule", req, cb);
|
|
250
281
|
}
|
|
251
282
|
/**
|
|
252
|
-
*
|
|
283
|
+
* vpc间规则快速排序
|
|
253
284
|
*/
|
|
254
|
-
async
|
|
255
|
-
return this.request("
|
|
285
|
+
async ModifyVpcFwSequenceRules(req, cb) {
|
|
286
|
+
return this.request("ModifyVpcFwSequenceRules", req, cb);
|
|
256
287
|
}
|
|
257
288
|
/**
|
|
258
|
-
*
|
|
289
|
+
* 查询内网间访问控制列表
|
|
259
290
|
*/
|
|
260
|
-
async
|
|
261
|
-
return this.request("
|
|
291
|
+
async DescribeVpcAcRule(req, cb) {
|
|
292
|
+
return this.request("DescribeVpcAcRule", req, cb);
|
|
262
293
|
}
|
|
263
294
|
/**
|
|
264
|
-
*
|
|
295
|
+
* 编辑新企业安全组规则
|
|
265
296
|
*/
|
|
266
|
-
async
|
|
267
|
-
return this.request("
|
|
297
|
+
async ModifyEnterpriseSecurityGroupRule(req, cb) {
|
|
298
|
+
return this.request("ModifyEnterpriseSecurityGroupRule", req, cb);
|
|
268
299
|
}
|
|
269
300
|
/**
|
|
270
|
-
*
|
|
301
|
+
* 添加互联网边界访问控制规则
|
|
271
302
|
*/
|
|
272
|
-
async
|
|
273
|
-
return this.request("
|
|
303
|
+
async AddAclRule(req, cb) {
|
|
304
|
+
return this.request("AddAclRule", req, cb);
|
|
274
305
|
}
|
|
275
306
|
/**
|
|
276
|
-
*
|
|
307
|
+
* 修改NAT访问控制规则
|
|
277
308
|
*/
|
|
278
|
-
async
|
|
279
|
-
return this.request("
|
|
309
|
+
async ModifyNatAcRule(req, cb) {
|
|
310
|
+
return this.request("ModifyNatAcRule", req, cb);
|
|
280
311
|
}
|
|
281
312
|
/**
|
|
282
|
-
*
|
|
313
|
+
* 删除规则
|
|
283
314
|
*/
|
|
284
|
-
async
|
|
285
|
-
return this.request("
|
|
315
|
+
async DeleteSecurityGroupRule(req, cb) {
|
|
316
|
+
return this.request("DeleteSecurityGroupRule", req, cb);
|
|
286
317
|
}
|
|
287
318
|
/**
|
|
288
|
-
*
|
|
319
|
+
* 防火墙开关列表
|
|
289
320
|
*/
|
|
290
|
-
async
|
|
291
|
-
return this.request("
|
|
321
|
+
async DescribeSwitchLists(req, cb) {
|
|
322
|
+
return this.request("DescribeSwitchLists", req, cb);
|
|
323
|
+
}
|
|
324
|
+
/**
|
|
325
|
+
* 单个修改互联网边界防火墙开关
|
|
326
|
+
*/
|
|
327
|
+
async ModifyPublicIPSwitchStatus(req, cb) {
|
|
328
|
+
return this.request("ModifyPublicIPSwitchStatus", req, cb);
|
|
329
|
+
}
|
|
330
|
+
/**
|
|
331
|
+
* 修改规则表状态
|
|
332
|
+
*/
|
|
333
|
+
async ModifyTableStatus(req, cb) {
|
|
334
|
+
return this.request("ModifyTableStatus", req, cb);
|
|
335
|
+
}
|
|
336
|
+
/**
|
|
337
|
+
* 支持对封禁列表、放通列表如下操作:
|
|
338
|
+
批量增加封禁IP、放通IP/域名
|
|
339
|
+
批量删除封禁IP、放通IP/域名
|
|
340
|
+
批量修改封禁IP、放通IP/域名生效事件
|
|
341
|
+
*/
|
|
342
|
+
async ModifyBlockIgnoreList(req, cb) {
|
|
343
|
+
return this.request("ModifyBlockIgnoreList", req, cb);
|
|
344
|
+
}
|
|
345
|
+
/**
|
|
346
|
+
* 创建、选择vpc
|
|
347
|
+
*/
|
|
348
|
+
async CreateChooseVpcs(req, cb) {
|
|
349
|
+
return this.request("CreateChooseVpcs", req, cb);
|
|
350
|
+
}
|
|
351
|
+
/**
|
|
352
|
+
* 资产扫描
|
|
353
|
+
*/
|
|
354
|
+
async ModifyAssetScan(req, cb) {
|
|
355
|
+
return this.request("ModifyAssetScan", req, cb);
|
|
292
356
|
}
|
|
293
357
|
/**
|
|
294
358
|
* 删除地址模板规则
|
|
@@ -297,29 +361,52 @@ VPC间规则需指定EdgeId。Nat边界规则需指定地域Region与Direction
|
|
|
297
361
|
return this.request("DeleteAddressTemplate", req, cb);
|
|
298
362
|
}
|
|
299
363
|
/**
|
|
300
|
-
*
|
|
364
|
+
* 修改规则执行顺序
|
|
301
365
|
*/
|
|
302
|
-
async
|
|
303
|
-
return this.request("
|
|
366
|
+
async ModifySequenceRules(req, cb) {
|
|
367
|
+
return this.request("ModifySequenceRules", req, cb);
|
|
304
368
|
}
|
|
305
369
|
/**
|
|
306
|
-
*
|
|
307
|
-
|
|
370
|
+
* 添加互联网边界规则
|
|
308
371
|
*/
|
|
309
|
-
async
|
|
310
|
-
return this.request("
|
|
372
|
+
async AddAcRule(req, cb) {
|
|
373
|
+
return this.request("AddAcRule", req, cb);
|
|
311
374
|
}
|
|
312
375
|
/**
|
|
313
|
-
*
|
|
376
|
+
* 互联网边界规则快速排序
|
|
314
377
|
*/
|
|
315
|
-
async
|
|
316
|
-
return this.request("
|
|
378
|
+
async ModifySequenceAclRules(req, cb) {
|
|
379
|
+
return this.request("ModifySequenceAclRules", req, cb);
|
|
317
380
|
}
|
|
318
381
|
/**
|
|
319
|
-
*
|
|
382
|
+
* 查询规则列表概况
|
|
320
383
|
*/
|
|
321
|
-
async
|
|
322
|
-
return this.request("
|
|
384
|
+
async DescribeRuleOverview(req, cb) {
|
|
385
|
+
return this.request("DescribeRuleOverview", req, cb);
|
|
386
|
+
}
|
|
387
|
+
/**
|
|
388
|
+
* ip防护状态查询
|
|
389
|
+
*/
|
|
390
|
+
async DescribeIPStatusList(req, cb) {
|
|
391
|
+
return this.request("DescribeIPStatusList", req, cb);
|
|
392
|
+
}
|
|
393
|
+
/**
|
|
394
|
+
* 查询新企业安全组规则
|
|
395
|
+
*/
|
|
396
|
+
async DescribeEnterpriseSecurityGroupRule(req, cb) {
|
|
397
|
+
return this.request("DescribeEnterpriseSecurityGroupRule", req, cb);
|
|
398
|
+
}
|
|
399
|
+
/**
|
|
400
|
+
* 修改防火墙(组)开关(支持单点模式、多点模式、全互通模式)
|
|
401
|
+
*/
|
|
402
|
+
async ModifyFwGroupSwitch(req, cb) {
|
|
403
|
+
return this.request("ModifyFwGroupSwitch", req, cb);
|
|
404
|
+
}
|
|
405
|
+
/**
|
|
406
|
+
* 日志审计日志查询
|
|
407
|
+
*/
|
|
408
|
+
async DescribeLogs(req, cb) {
|
|
409
|
+
return this.request("DescribeLogs", req, cb);
|
|
323
410
|
}
|
|
324
411
|
/**
|
|
325
412
|
* 配置防火墙Dnat规则
|
|
@@ -334,159 +421,192 @@ VPC间规则需指定EdgeId。Nat边界规则需指定地域Region与Direction
|
|
|
334
421
|
return this.request("ModifyAllRuleStatus", req, cb);
|
|
335
422
|
}
|
|
336
423
|
/**
|
|
337
|
-
*
|
|
424
|
+
* 批量删除入侵防御封禁列表、放通列表规则
|
|
338
425
|
*/
|
|
339
|
-
async
|
|
340
|
-
return this.request("
|
|
426
|
+
async DeleteBlockIgnoreRuleList(req, cb) {
|
|
427
|
+
return this.request("DeleteBlockIgnoreRuleList", req, cb);
|
|
341
428
|
}
|
|
342
429
|
/**
|
|
343
|
-
*
|
|
430
|
+
* 设置防火墙实例弹性公网ip,目前仅支持新增模式的防火墙实例
|
|
344
431
|
*/
|
|
345
|
-
async
|
|
346
|
-
return this.request("
|
|
432
|
+
async SetNatFwEip(req, cb) {
|
|
433
|
+
return this.request("SetNatFwEip", req, cb);
|
|
347
434
|
}
|
|
348
435
|
/**
|
|
349
|
-
*
|
|
436
|
+
* 修改互联网边界访问控制规则
|
|
350
437
|
*/
|
|
351
|
-
async
|
|
352
|
-
return this.request("
|
|
438
|
+
async ModifyAclRule(req, cb) {
|
|
439
|
+
return this.request("ModifyAclRule", req, cb);
|
|
353
440
|
}
|
|
354
441
|
/**
|
|
355
|
-
*
|
|
442
|
+
* 查询防火墙弹性公网IP
|
|
356
443
|
*/
|
|
357
|
-
async
|
|
358
|
-
return this.request("
|
|
444
|
+
async DescribeCfwEips(req, cb) {
|
|
445
|
+
return this.request("DescribeCfwEips", req, cb);
|
|
359
446
|
}
|
|
360
447
|
/**
|
|
361
|
-
*
|
|
362
|
-
批量增加封禁IP、放通IP/域名
|
|
363
|
-
批量删除封禁IP、放通IP/域名
|
|
364
|
-
批量修改封禁IP、放通IP/域名生效事件
|
|
448
|
+
* 查询入侵防御放通封禁列表
|
|
365
449
|
*/
|
|
366
|
-
async
|
|
367
|
-
return this.request("
|
|
450
|
+
async DescribeBlockIgnoreList(req, cb) {
|
|
451
|
+
return this.request("DescribeBlockIgnoreList", req, cb);
|
|
368
452
|
}
|
|
369
453
|
/**
|
|
370
|
-
*
|
|
454
|
+
* 删除NAT访问控制规则
|
|
371
455
|
*/
|
|
372
|
-
async
|
|
373
|
-
return this.request("
|
|
456
|
+
async RemoveNatAcRule(req, cb) {
|
|
457
|
+
return this.request("RemoveNatAcRule", req, cb);
|
|
374
458
|
}
|
|
375
459
|
/**
|
|
376
|
-
*
|
|
460
|
+
* 访问控制列表
|
|
377
461
|
*/
|
|
378
|
-
async
|
|
379
|
-
return this.request("
|
|
462
|
+
async DescribeAcLists(req, cb) {
|
|
463
|
+
return this.request("DescribeAcLists", req, cb);
|
|
380
464
|
}
|
|
381
465
|
/**
|
|
382
|
-
*
|
|
466
|
+
* 防火墙垂直扩容
|
|
383
467
|
*/
|
|
384
|
-
async
|
|
385
|
-
return this.request("
|
|
468
|
+
async ExpandCfwVertical(req, cb) {
|
|
469
|
+
return this.request("ExpandCfwVertical", req, cb);
|
|
386
470
|
}
|
|
387
471
|
/**
|
|
388
|
-
*
|
|
472
|
+
* 创建VPC间防火墙(防火墙组)
|
|
389
473
|
*/
|
|
390
|
-
async
|
|
391
|
-
return this.request("
|
|
474
|
+
async CreateVpcFwGroup(req, cb) {
|
|
475
|
+
return this.request("CreateVpcFwGroup", req, cb);
|
|
392
476
|
}
|
|
393
477
|
/**
|
|
394
|
-
*
|
|
478
|
+
* 互联网边界防火墙一键开关
|
|
395
479
|
*/
|
|
396
|
-
async
|
|
397
|
-
return this.request("
|
|
480
|
+
async ModifyAllPublicIPSwitchStatus(req, cb) {
|
|
481
|
+
return this.request("ModifyAllPublicIPSwitchStatus", req, cb);
|
|
398
482
|
}
|
|
399
483
|
/**
|
|
400
|
-
*
|
|
484
|
+
* 获取安全组关联实例列表
|
|
401
485
|
*/
|
|
402
|
-
async
|
|
403
|
-
return this.request("
|
|
486
|
+
async DescribeAssociatedInstanceList(req, cb) {
|
|
487
|
+
return this.request("DescribeAssociatedInstanceList", req, cb);
|
|
404
488
|
}
|
|
405
489
|
/**
|
|
406
|
-
*
|
|
490
|
+
* 删除规则
|
|
407
491
|
*/
|
|
408
|
-
async
|
|
409
|
-
return this.request("
|
|
492
|
+
async DeleteAcRule(req, cb) {
|
|
493
|
+
return this.request("DeleteAcRule", req, cb);
|
|
410
494
|
}
|
|
411
495
|
/**
|
|
412
|
-
*
|
|
496
|
+
* 查询NAT访问控制列表
|
|
413
497
|
*/
|
|
414
|
-
async
|
|
415
|
-
return this.request("
|
|
498
|
+
async DescribeNatAcRule(req, cb) {
|
|
499
|
+
return this.request("DescribeNatAcRule", req, cb);
|
|
416
500
|
}
|
|
417
501
|
/**
|
|
418
|
-
*
|
|
502
|
+
* DescribeNatFwInstance 获取租户所有NAT实例
|
|
419
503
|
*/
|
|
420
|
-
async
|
|
421
|
-
return this.request("
|
|
504
|
+
async DescribeNatFwInstance(req, cb) {
|
|
505
|
+
return this.request("DescribeNatFwInstance", req, cb);
|
|
422
506
|
}
|
|
423
507
|
/**
|
|
424
|
-
*
|
|
508
|
+
* 创建暴露数据库白名单规则
|
|
425
509
|
*/
|
|
426
|
-
async
|
|
427
|
-
return this.request("
|
|
510
|
+
async CreateDatabaseWhiteListRules(req, cb) {
|
|
511
|
+
return this.request("CreateDatabaseWhiteListRules", req, cb);
|
|
428
512
|
}
|
|
429
513
|
/**
|
|
430
|
-
*
|
|
514
|
+
* 创建防火墙实例和接入域名(Region参数必填)
|
|
431
515
|
*/
|
|
432
|
-
async
|
|
433
|
-
return this.request("
|
|
516
|
+
async CreateNatFwInstanceWithDomain(req, cb) {
|
|
517
|
+
return this.request("CreateNatFwInstanceWithDomain", req, cb);
|
|
434
518
|
}
|
|
435
519
|
/**
|
|
436
|
-
*
|
|
520
|
+
* 创建访问控制规则
|
|
521
|
+
*/
|
|
522
|
+
async CreateAcRules(req, cb) {
|
|
523
|
+
return this.request("CreateAcRules", req, cb);
|
|
524
|
+
}
|
|
525
|
+
/**
|
|
526
|
+
* 修改NAT防火墙开关
|
|
527
|
+
*/
|
|
528
|
+
async ModifyNatFwSwitch(req, cb) {
|
|
529
|
+
return this.request("ModifyNatFwSwitch", req, cb);
|
|
530
|
+
}
|
|
531
|
+
/**
|
|
532
|
+
* DescribeTLogInfo告警中心概况
|
|
437
533
|
|
|
438
534
|
*/
|
|
439
|
-
async
|
|
440
|
-
return this.request("
|
|
535
|
+
async DescribeTLogInfo(req, cb) {
|
|
536
|
+
return this.request("DescribeTLogInfo", req, cb);
|
|
441
537
|
}
|
|
442
538
|
/**
|
|
443
|
-
*
|
|
539
|
+
* 同步资产-互联网&VPC(新)
|
|
444
540
|
*/
|
|
445
|
-
async
|
|
446
|
-
return this.request("
|
|
541
|
+
async ModifyRunSyncAsset(req, cb) {
|
|
542
|
+
return this.request("ModifyRunSyncAsset", req, cb);
|
|
447
543
|
}
|
|
448
544
|
/**
|
|
449
|
-
*
|
|
545
|
+
* VPC防火墙一键开关
|
|
450
546
|
*/
|
|
451
|
-
async
|
|
452
|
-
return this.request("
|
|
547
|
+
async ModifyAllVPCSwitchStatus(req, cb) {
|
|
548
|
+
return this.request("ModifyAllVPCSwitchStatus", req, cb);
|
|
453
549
|
}
|
|
454
550
|
/**
|
|
455
|
-
*
|
|
551
|
+
* DescribeGuideScanInfo新手引导扫描接口信息
|
|
456
552
|
*/
|
|
457
|
-
async
|
|
458
|
-
return this.request("
|
|
553
|
+
async DescribeGuideScanInfo(req, cb) {
|
|
554
|
+
return this.request("DescribeGuideScanInfo", req, cb);
|
|
459
555
|
}
|
|
460
556
|
/**
|
|
461
|
-
*
|
|
557
|
+
* GetNatInstance 获取租户所有NAT实例及实例卡片信息
|
|
462
558
|
*/
|
|
463
|
-
async
|
|
464
|
-
return this.request("
|
|
559
|
+
async DescribeNatFwInstancesInfo(req, cb) {
|
|
560
|
+
return this.request("DescribeNatFwInstancesInfo", req, cb);
|
|
465
561
|
}
|
|
466
562
|
/**
|
|
467
|
-
*
|
|
563
|
+
* 防火墙实例重新选择vpc或nat
|
|
468
564
|
*/
|
|
469
|
-
async
|
|
470
|
-
return this.request("
|
|
565
|
+
async ModifyNatFwReSelect(req, cb) {
|
|
566
|
+
return this.request("ModifyNatFwReSelect", req, cb);
|
|
471
567
|
}
|
|
472
568
|
/**
|
|
473
|
-
*
|
|
569
|
+
* 日志存储设置,可以修改存储时间和清空日志
|
|
474
570
|
*/
|
|
475
|
-
async
|
|
476
|
-
return this.request("
|
|
571
|
+
async ModifyStorageSetting(req, cb) {
|
|
572
|
+
return this.request("ModifyStorageSetting", req, cb);
|
|
477
573
|
}
|
|
478
574
|
/**
|
|
479
|
-
*
|
|
575
|
+
* DescribeResourceGroup资产中心资产树信息
|
|
480
576
|
*/
|
|
481
|
-
async
|
|
482
|
-
return this.request("
|
|
577
|
+
async DescribeResourceGroup(req, cb) {
|
|
578
|
+
return this.request("DescribeResourceGroup", req, cb);
|
|
483
579
|
}
|
|
484
580
|
/**
|
|
485
|
-
*
|
|
581
|
+
* 修改规则
|
|
582
|
+
*/
|
|
583
|
+
async ModifyAcRule(req, cb) {
|
|
584
|
+
return this.request("ModifyAcRule", req, cb);
|
|
585
|
+
}
|
|
586
|
+
/**
|
|
587
|
+
* 修改企业安全组下发状态
|
|
588
|
+
*/
|
|
589
|
+
async ModifyEnterpriseSecurityDispatchStatus(req, cb) {
|
|
590
|
+
return this.request("ModifyEnterpriseSecurityDispatchStatus", req, cb);
|
|
591
|
+
}
|
|
592
|
+
/**
|
|
593
|
+
* DescribeTLogIpList告警中心IP柱形图
|
|
486
594
|
|
|
487
595
|
*/
|
|
488
|
-
async
|
|
489
|
-
return this.request("
|
|
596
|
+
async DescribeTLogIpList(req, cb) {
|
|
597
|
+
return this.request("DescribeTLogIpList", req, cb);
|
|
598
|
+
}
|
|
599
|
+
/**
|
|
600
|
+
* 创建地址模板规则
|
|
601
|
+
*/
|
|
602
|
+
async CreateAddressTemplate(req, cb) {
|
|
603
|
+
return this.request("CreateAddressTemplate", req, cb);
|
|
604
|
+
}
|
|
605
|
+
/**
|
|
606
|
+
* 添加nat访问控制规则(地域必填)
|
|
607
|
+
*/
|
|
608
|
+
async AddNatAcRule(req, cb) {
|
|
609
|
+
return this.request("AddNatAcRule", req, cb);
|
|
490
610
|
}
|
|
491
611
|
/**
|
|
492
612
|
* DescribeBlockStaticList 告警中心柱形图
|
|
@@ -496,10 +616,10 @@ VPC间规则需指定EdgeId。Nat边界规则需指定地域Region与Direction
|
|
|
496
616
|
return this.request("DescribeBlockStaticList", req, cb);
|
|
497
617
|
}
|
|
498
618
|
/**
|
|
499
|
-
*
|
|
619
|
+
* 串行防火墙IP开关列表
|
|
500
620
|
*/
|
|
501
|
-
async
|
|
502
|
-
return this.request("
|
|
621
|
+
async DescribeFwEdgeIps(req, cb) {
|
|
622
|
+
return this.request("DescribeFwEdgeIps", req, cb);
|
|
503
623
|
}
|
|
504
624
|
}
|
|
505
625
|
exports.Client = Client;
|