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