@alicloud/cloudfw20171207 1.2.4 → 1.2.6
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/dist/client.d.ts +992 -128
- package/dist/client.js +1961 -228
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +2606 -438
package/dist/client.js
CHANGED
|
@@ -287,6 +287,178 @@ class BatchCopyVpcFirewallControlPolicyResponse extends $tea.Model {
|
|
|
287
287
|
}
|
|
288
288
|
}
|
|
289
289
|
exports.BatchCopyVpcFirewallControlPolicyResponse = BatchCopyVpcFirewallControlPolicyResponse;
|
|
290
|
+
class CreateTrFirewallV2Request extends $tea.Model {
|
|
291
|
+
constructor(map) {
|
|
292
|
+
super(map);
|
|
293
|
+
}
|
|
294
|
+
static names() {
|
|
295
|
+
return {
|
|
296
|
+
cenId: 'CenId',
|
|
297
|
+
firewallDescription: 'FirewallDescription',
|
|
298
|
+
firewallName: 'FirewallName',
|
|
299
|
+
firewallSubnetCidr: 'FirewallSubnetCidr',
|
|
300
|
+
firewallVpcCidr: 'FirewallVpcCidr',
|
|
301
|
+
firewallVpcId: 'FirewallVpcId',
|
|
302
|
+
firewallVswitchId: 'FirewallVswitchId',
|
|
303
|
+
lang: 'Lang',
|
|
304
|
+
regionNo: 'RegionNo',
|
|
305
|
+
routeMode: 'RouteMode',
|
|
306
|
+
trAttachmentMasterCidr: 'TrAttachmentMasterCidr',
|
|
307
|
+
trAttachmentSlaveCidr: 'TrAttachmentSlaveCidr',
|
|
308
|
+
transitRouterId: 'TransitRouterId',
|
|
309
|
+
};
|
|
310
|
+
}
|
|
311
|
+
static types() {
|
|
312
|
+
return {
|
|
313
|
+
cenId: 'string',
|
|
314
|
+
firewallDescription: 'string',
|
|
315
|
+
firewallName: 'string',
|
|
316
|
+
firewallSubnetCidr: 'string',
|
|
317
|
+
firewallVpcCidr: 'string',
|
|
318
|
+
firewallVpcId: 'string',
|
|
319
|
+
firewallVswitchId: 'string',
|
|
320
|
+
lang: 'string',
|
|
321
|
+
regionNo: 'string',
|
|
322
|
+
routeMode: 'string',
|
|
323
|
+
trAttachmentMasterCidr: 'string',
|
|
324
|
+
trAttachmentSlaveCidr: 'string',
|
|
325
|
+
transitRouterId: 'string',
|
|
326
|
+
};
|
|
327
|
+
}
|
|
328
|
+
}
|
|
329
|
+
exports.CreateTrFirewallV2Request = CreateTrFirewallV2Request;
|
|
330
|
+
class CreateTrFirewallV2ResponseBody extends $tea.Model {
|
|
331
|
+
constructor(map) {
|
|
332
|
+
super(map);
|
|
333
|
+
}
|
|
334
|
+
static names() {
|
|
335
|
+
return {
|
|
336
|
+
firewallId: 'FirewallId',
|
|
337
|
+
requestId: 'RequestId',
|
|
338
|
+
};
|
|
339
|
+
}
|
|
340
|
+
static types() {
|
|
341
|
+
return {
|
|
342
|
+
firewallId: 'string',
|
|
343
|
+
requestId: 'string',
|
|
344
|
+
};
|
|
345
|
+
}
|
|
346
|
+
}
|
|
347
|
+
exports.CreateTrFirewallV2ResponseBody = CreateTrFirewallV2ResponseBody;
|
|
348
|
+
class CreateTrFirewallV2Response extends $tea.Model {
|
|
349
|
+
constructor(map) {
|
|
350
|
+
super(map);
|
|
351
|
+
}
|
|
352
|
+
static names() {
|
|
353
|
+
return {
|
|
354
|
+
headers: 'headers',
|
|
355
|
+
statusCode: 'statusCode',
|
|
356
|
+
body: 'body',
|
|
357
|
+
};
|
|
358
|
+
}
|
|
359
|
+
static types() {
|
|
360
|
+
return {
|
|
361
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
362
|
+
statusCode: 'number',
|
|
363
|
+
body: CreateTrFirewallV2ResponseBody,
|
|
364
|
+
};
|
|
365
|
+
}
|
|
366
|
+
}
|
|
367
|
+
exports.CreateTrFirewallV2Response = CreateTrFirewallV2Response;
|
|
368
|
+
class CreateTrFirewallV2RoutePolicyRequest extends $tea.Model {
|
|
369
|
+
constructor(map) {
|
|
370
|
+
super(map);
|
|
371
|
+
}
|
|
372
|
+
static names() {
|
|
373
|
+
return {
|
|
374
|
+
destCandidateList: 'DestCandidateList',
|
|
375
|
+
firewallId: 'FirewallId',
|
|
376
|
+
lang: 'Lang',
|
|
377
|
+
policyDescription: 'PolicyDescription',
|
|
378
|
+
policyName: 'PolicyName',
|
|
379
|
+
policyType: 'PolicyType',
|
|
380
|
+
srcCandidateList: 'SrcCandidateList',
|
|
381
|
+
};
|
|
382
|
+
}
|
|
383
|
+
static types() {
|
|
384
|
+
return {
|
|
385
|
+
destCandidateList: { 'type': 'array', 'itemType': CreateTrFirewallV2RoutePolicyRequestDestCandidateList },
|
|
386
|
+
firewallId: 'string',
|
|
387
|
+
lang: 'string',
|
|
388
|
+
policyDescription: 'string',
|
|
389
|
+
policyName: 'string',
|
|
390
|
+
policyType: 'string',
|
|
391
|
+
srcCandidateList: { 'type': 'array', 'itemType': CreateTrFirewallV2RoutePolicyRequestSrcCandidateList },
|
|
392
|
+
};
|
|
393
|
+
}
|
|
394
|
+
}
|
|
395
|
+
exports.CreateTrFirewallV2RoutePolicyRequest = CreateTrFirewallV2RoutePolicyRequest;
|
|
396
|
+
class CreateTrFirewallV2RoutePolicyShrinkRequest extends $tea.Model {
|
|
397
|
+
constructor(map) {
|
|
398
|
+
super(map);
|
|
399
|
+
}
|
|
400
|
+
static names() {
|
|
401
|
+
return {
|
|
402
|
+
destCandidateListShrink: 'DestCandidateList',
|
|
403
|
+
firewallId: 'FirewallId',
|
|
404
|
+
lang: 'Lang',
|
|
405
|
+
policyDescription: 'PolicyDescription',
|
|
406
|
+
policyName: 'PolicyName',
|
|
407
|
+
policyType: 'PolicyType',
|
|
408
|
+
srcCandidateListShrink: 'SrcCandidateList',
|
|
409
|
+
};
|
|
410
|
+
}
|
|
411
|
+
static types() {
|
|
412
|
+
return {
|
|
413
|
+
destCandidateListShrink: 'string',
|
|
414
|
+
firewallId: 'string',
|
|
415
|
+
lang: 'string',
|
|
416
|
+
policyDescription: 'string',
|
|
417
|
+
policyName: 'string',
|
|
418
|
+
policyType: 'string',
|
|
419
|
+
srcCandidateListShrink: 'string',
|
|
420
|
+
};
|
|
421
|
+
}
|
|
422
|
+
}
|
|
423
|
+
exports.CreateTrFirewallV2RoutePolicyShrinkRequest = CreateTrFirewallV2RoutePolicyShrinkRequest;
|
|
424
|
+
class CreateTrFirewallV2RoutePolicyResponseBody extends $tea.Model {
|
|
425
|
+
constructor(map) {
|
|
426
|
+
super(map);
|
|
427
|
+
}
|
|
428
|
+
static names() {
|
|
429
|
+
return {
|
|
430
|
+
requestId: 'RequestId',
|
|
431
|
+
trFirewallRoutePolicyId: 'TrFirewallRoutePolicyId',
|
|
432
|
+
};
|
|
433
|
+
}
|
|
434
|
+
static types() {
|
|
435
|
+
return {
|
|
436
|
+
requestId: 'string',
|
|
437
|
+
trFirewallRoutePolicyId: 'string',
|
|
438
|
+
};
|
|
439
|
+
}
|
|
440
|
+
}
|
|
441
|
+
exports.CreateTrFirewallV2RoutePolicyResponseBody = CreateTrFirewallV2RoutePolicyResponseBody;
|
|
442
|
+
class CreateTrFirewallV2RoutePolicyResponse extends $tea.Model {
|
|
443
|
+
constructor(map) {
|
|
444
|
+
super(map);
|
|
445
|
+
}
|
|
446
|
+
static names() {
|
|
447
|
+
return {
|
|
448
|
+
headers: 'headers',
|
|
449
|
+
statusCode: 'statusCode',
|
|
450
|
+
body: 'body',
|
|
451
|
+
};
|
|
452
|
+
}
|
|
453
|
+
static types() {
|
|
454
|
+
return {
|
|
455
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
456
|
+
statusCode: 'number',
|
|
457
|
+
body: CreateTrFirewallV2RoutePolicyResponseBody,
|
|
458
|
+
};
|
|
459
|
+
}
|
|
460
|
+
}
|
|
461
|
+
exports.CreateTrFirewallV2RoutePolicyResponse = CreateTrFirewallV2RoutePolicyResponse;
|
|
290
462
|
class CreateVpcFirewallCenConfigureRequest extends $tea.Model {
|
|
291
463
|
constructor(map) {
|
|
292
464
|
super(map);
|
|
@@ -625,6 +797,62 @@ class DeleteControlPolicyResponse extends $tea.Model {
|
|
|
625
797
|
}
|
|
626
798
|
}
|
|
627
799
|
exports.DeleteControlPolicyResponse = DeleteControlPolicyResponse;
|
|
800
|
+
class DeleteFirewallV2RoutePoliciesRequest extends $tea.Model {
|
|
801
|
+
constructor(map) {
|
|
802
|
+
super(map);
|
|
803
|
+
}
|
|
804
|
+
static names() {
|
|
805
|
+
return {
|
|
806
|
+
firewallId: 'FirewallId',
|
|
807
|
+
lang: 'Lang',
|
|
808
|
+
trFirewallRoutePolicyId: 'TrFirewallRoutePolicyId',
|
|
809
|
+
};
|
|
810
|
+
}
|
|
811
|
+
static types() {
|
|
812
|
+
return {
|
|
813
|
+
firewallId: 'string',
|
|
814
|
+
lang: 'string',
|
|
815
|
+
trFirewallRoutePolicyId: 'string',
|
|
816
|
+
};
|
|
817
|
+
}
|
|
818
|
+
}
|
|
819
|
+
exports.DeleteFirewallV2RoutePoliciesRequest = DeleteFirewallV2RoutePoliciesRequest;
|
|
820
|
+
class DeleteFirewallV2RoutePoliciesResponseBody extends $tea.Model {
|
|
821
|
+
constructor(map) {
|
|
822
|
+
super(map);
|
|
823
|
+
}
|
|
824
|
+
static names() {
|
|
825
|
+
return {
|
|
826
|
+
requestId: 'RequestId',
|
|
827
|
+
};
|
|
828
|
+
}
|
|
829
|
+
static types() {
|
|
830
|
+
return {
|
|
831
|
+
requestId: 'string',
|
|
832
|
+
};
|
|
833
|
+
}
|
|
834
|
+
}
|
|
835
|
+
exports.DeleteFirewallV2RoutePoliciesResponseBody = DeleteFirewallV2RoutePoliciesResponseBody;
|
|
836
|
+
class DeleteFirewallV2RoutePoliciesResponse extends $tea.Model {
|
|
837
|
+
constructor(map) {
|
|
838
|
+
super(map);
|
|
839
|
+
}
|
|
840
|
+
static names() {
|
|
841
|
+
return {
|
|
842
|
+
headers: 'headers',
|
|
843
|
+
statusCode: 'statusCode',
|
|
844
|
+
body: 'body',
|
|
845
|
+
};
|
|
846
|
+
}
|
|
847
|
+
static types() {
|
|
848
|
+
return {
|
|
849
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
850
|
+
statusCode: 'number',
|
|
851
|
+
body: DeleteFirewallV2RoutePoliciesResponseBody,
|
|
852
|
+
};
|
|
853
|
+
}
|
|
854
|
+
}
|
|
855
|
+
exports.DeleteFirewallV2RoutePoliciesResponse = DeleteFirewallV2RoutePoliciesResponse;
|
|
628
856
|
class DeleteInstanceMembersRequest extends $tea.Model {
|
|
629
857
|
constructor(map) {
|
|
630
858
|
super(map);
|
|
@@ -677,6 +905,60 @@ class DeleteInstanceMembersResponse extends $tea.Model {
|
|
|
677
905
|
}
|
|
678
906
|
}
|
|
679
907
|
exports.DeleteInstanceMembersResponse = DeleteInstanceMembersResponse;
|
|
908
|
+
class DeleteTrFirewallV2Request extends $tea.Model {
|
|
909
|
+
constructor(map) {
|
|
910
|
+
super(map);
|
|
911
|
+
}
|
|
912
|
+
static names() {
|
|
913
|
+
return {
|
|
914
|
+
firewallId: 'FirewallId',
|
|
915
|
+
lang: 'Lang',
|
|
916
|
+
};
|
|
917
|
+
}
|
|
918
|
+
static types() {
|
|
919
|
+
return {
|
|
920
|
+
firewallId: 'string',
|
|
921
|
+
lang: 'string',
|
|
922
|
+
};
|
|
923
|
+
}
|
|
924
|
+
}
|
|
925
|
+
exports.DeleteTrFirewallV2Request = DeleteTrFirewallV2Request;
|
|
926
|
+
class DeleteTrFirewallV2ResponseBody extends $tea.Model {
|
|
927
|
+
constructor(map) {
|
|
928
|
+
super(map);
|
|
929
|
+
}
|
|
930
|
+
static names() {
|
|
931
|
+
return {
|
|
932
|
+
requestId: 'RequestId',
|
|
933
|
+
};
|
|
934
|
+
}
|
|
935
|
+
static types() {
|
|
936
|
+
return {
|
|
937
|
+
requestId: 'string',
|
|
938
|
+
};
|
|
939
|
+
}
|
|
940
|
+
}
|
|
941
|
+
exports.DeleteTrFirewallV2ResponseBody = DeleteTrFirewallV2ResponseBody;
|
|
942
|
+
class DeleteTrFirewallV2Response extends $tea.Model {
|
|
943
|
+
constructor(map) {
|
|
944
|
+
super(map);
|
|
945
|
+
}
|
|
946
|
+
static names() {
|
|
947
|
+
return {
|
|
948
|
+
headers: 'headers',
|
|
949
|
+
statusCode: 'statusCode',
|
|
950
|
+
body: 'body',
|
|
951
|
+
};
|
|
952
|
+
}
|
|
953
|
+
static types() {
|
|
954
|
+
return {
|
|
955
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
956
|
+
statusCode: 'number',
|
|
957
|
+
body: DeleteTrFirewallV2ResponseBody,
|
|
958
|
+
};
|
|
959
|
+
}
|
|
960
|
+
}
|
|
961
|
+
exports.DeleteTrFirewallV2Response = DeleteTrFirewallV2Response;
|
|
680
962
|
class DeleteVpcFirewallCenConfigureRequest extends $tea.Model {
|
|
681
963
|
constructor(map) {
|
|
682
964
|
super(map);
|
|
@@ -1201,79 +1483,83 @@ class DescribeInstanceMembersResponse extends $tea.Model {
|
|
|
1201
1483
|
}
|
|
1202
1484
|
}
|
|
1203
1485
|
exports.DescribeInstanceMembersResponse = DescribeInstanceMembersResponse;
|
|
1204
|
-
class
|
|
1486
|
+
class DescribeInternetTrafficTrendRequest extends $tea.Model {
|
|
1205
1487
|
constructor(map) {
|
|
1206
1488
|
super(map);
|
|
1207
1489
|
}
|
|
1208
1490
|
static names() {
|
|
1209
1491
|
return {
|
|
1210
|
-
|
|
1211
|
-
assetsInstanceId: 'AssetsInstanceId',
|
|
1212
|
-
assetsInstanceName: 'AssetsInstanceName',
|
|
1213
|
-
currentPage: 'CurrentPage',
|
|
1492
|
+
direction: 'Direction',
|
|
1214
1493
|
endTime: 'EndTime',
|
|
1215
|
-
eventKey: 'EventKey',
|
|
1216
|
-
eventName: 'EventName',
|
|
1217
|
-
eventUuid: 'EventUuid',
|
|
1218
|
-
isIgnore: 'IsIgnore',
|
|
1219
1494
|
lang: 'Lang',
|
|
1220
|
-
|
|
1221
|
-
pageSize: 'PageSize',
|
|
1222
|
-
processStatusList: 'ProcessStatusList',
|
|
1223
|
-
riskLevel: 'RiskLevel',
|
|
1495
|
+
sourceCode: 'SourceCode',
|
|
1224
1496
|
sourceIp: 'SourceIp',
|
|
1497
|
+
srcPrivateIP: 'SrcPrivateIP',
|
|
1498
|
+
srcPublicIP: 'SrcPublicIP',
|
|
1225
1499
|
startTime: 'StartTime',
|
|
1500
|
+
trafficType: 'TrafficType',
|
|
1226
1501
|
};
|
|
1227
1502
|
}
|
|
1228
1503
|
static types() {
|
|
1229
1504
|
return {
|
|
1230
|
-
|
|
1231
|
-
assetsInstanceId: 'string',
|
|
1232
|
-
assetsInstanceName: 'string',
|
|
1233
|
-
currentPage: 'string',
|
|
1505
|
+
direction: 'string',
|
|
1234
1506
|
endTime: 'string',
|
|
1235
|
-
eventKey: 'string',
|
|
1236
|
-
eventName: 'string',
|
|
1237
|
-
eventUuid: 'string',
|
|
1238
|
-
isIgnore: 'string',
|
|
1239
1507
|
lang: 'string',
|
|
1240
|
-
|
|
1241
|
-
pageSize: 'string',
|
|
1242
|
-
processStatusList: { 'type': 'array', 'itemType': 'number' },
|
|
1243
|
-
riskLevel: { 'type': 'array', 'itemType': 'number' },
|
|
1508
|
+
sourceCode: 'string',
|
|
1244
1509
|
sourceIp: 'string',
|
|
1510
|
+
srcPrivateIP: 'string',
|
|
1511
|
+
srcPublicIP: 'string',
|
|
1245
1512
|
startTime: 'string',
|
|
1513
|
+
trafficType: 'string',
|
|
1246
1514
|
};
|
|
1247
1515
|
}
|
|
1248
1516
|
}
|
|
1249
|
-
exports.
|
|
1250
|
-
class
|
|
1517
|
+
exports.DescribeInternetTrafficTrendRequest = DescribeInternetTrafficTrendRequest;
|
|
1518
|
+
class DescribeInternetTrafficTrendResponseBody extends $tea.Model {
|
|
1251
1519
|
constructor(map) {
|
|
1252
1520
|
super(map);
|
|
1253
1521
|
}
|
|
1254
1522
|
static names() {
|
|
1255
1523
|
return {
|
|
1256
|
-
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
|
|
1524
|
+
avgInBps: 'AvgInBps',
|
|
1525
|
+
avgOutBps: 'AvgOutBps',
|
|
1526
|
+
avgSession: 'AvgSession',
|
|
1527
|
+
avgTotalBps: 'AvgTotalBps',
|
|
1528
|
+
dataList: 'DataList',
|
|
1529
|
+
maxBandwidthTime: 'MaxBandwidthTime',
|
|
1530
|
+
maxInBps: 'MaxInBps',
|
|
1531
|
+
maxOutBps: 'MaxOutBps',
|
|
1532
|
+
maxSession: 'MaxSession',
|
|
1533
|
+
maxTotalBps: 'MaxTotalBps',
|
|
1261
1534
|
requestId: 'RequestId',
|
|
1535
|
+
totalBytes: 'TotalBytes',
|
|
1536
|
+
totalInBytes: 'TotalInBytes',
|
|
1537
|
+
totalOutBytes: 'TotalOutBytes',
|
|
1538
|
+
totalSession: 'TotalSession',
|
|
1262
1539
|
};
|
|
1263
1540
|
}
|
|
1264
1541
|
static types() {
|
|
1265
1542
|
return {
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
|
|
1269
|
-
|
|
1270
|
-
|
|
1543
|
+
avgInBps: 'number',
|
|
1544
|
+
avgOutBps: 'number',
|
|
1545
|
+
avgSession: 'number',
|
|
1546
|
+
avgTotalBps: 'number',
|
|
1547
|
+
dataList: { 'type': 'array', 'itemType': DescribeInternetTrafficTrendResponseBodyDataList },
|
|
1548
|
+
maxBandwidthTime: 'number',
|
|
1549
|
+
maxInBps: 'number',
|
|
1550
|
+
maxOutBps: 'number',
|
|
1551
|
+
maxSession: 'number',
|
|
1552
|
+
maxTotalBps: 'number',
|
|
1271
1553
|
requestId: 'string',
|
|
1554
|
+
totalBytes: 'number',
|
|
1555
|
+
totalInBytes: 'number',
|
|
1556
|
+
totalOutBytes: 'number',
|
|
1557
|
+
totalSession: 'number',
|
|
1272
1558
|
};
|
|
1273
1559
|
}
|
|
1274
1560
|
}
|
|
1275
|
-
exports.
|
|
1276
|
-
class
|
|
1561
|
+
exports.DescribeInternetTrafficTrendResponseBody = DescribeInternetTrafficTrendResponseBody;
|
|
1562
|
+
class DescribeInternetTrafficTrendResponse extends $tea.Model {
|
|
1277
1563
|
constructor(map) {
|
|
1278
1564
|
super(map);
|
|
1279
1565
|
}
|
|
@@ -1288,23 +1574,115 @@ class DescribeInvadeEventListResponse extends $tea.Model {
|
|
|
1288
1574
|
return {
|
|
1289
1575
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1290
1576
|
statusCode: 'number',
|
|
1291
|
-
body:
|
|
1577
|
+
body: DescribeInternetTrafficTrendResponseBody,
|
|
1292
1578
|
};
|
|
1293
1579
|
}
|
|
1294
1580
|
}
|
|
1295
|
-
exports.
|
|
1296
|
-
class
|
|
1581
|
+
exports.DescribeInternetTrafficTrendResponse = DescribeInternetTrafficTrendResponse;
|
|
1582
|
+
class DescribeInvadeEventListRequest extends $tea.Model {
|
|
1297
1583
|
constructor(map) {
|
|
1298
1584
|
super(map);
|
|
1299
1585
|
}
|
|
1300
1586
|
static names() {
|
|
1301
1587
|
return {
|
|
1302
|
-
|
|
1303
|
-
|
|
1588
|
+
assetsIP: 'AssetsIP',
|
|
1589
|
+
assetsInstanceId: 'AssetsInstanceId',
|
|
1590
|
+
assetsInstanceName: 'AssetsInstanceName',
|
|
1304
1591
|
currentPage: 'CurrentPage',
|
|
1305
|
-
dstIP: 'DstIP',
|
|
1306
1592
|
endTime: 'EndTime',
|
|
1307
|
-
|
|
1593
|
+
eventKey: 'EventKey',
|
|
1594
|
+
eventName: 'EventName',
|
|
1595
|
+
eventUuid: 'EventUuid',
|
|
1596
|
+
isIgnore: 'IsIgnore',
|
|
1597
|
+
lang: 'Lang',
|
|
1598
|
+
memberUid: 'MemberUid',
|
|
1599
|
+
pageSize: 'PageSize',
|
|
1600
|
+
processStatusList: 'ProcessStatusList',
|
|
1601
|
+
riskLevel: 'RiskLevel',
|
|
1602
|
+
sourceIp: 'SourceIp',
|
|
1603
|
+
startTime: 'StartTime',
|
|
1604
|
+
};
|
|
1605
|
+
}
|
|
1606
|
+
static types() {
|
|
1607
|
+
return {
|
|
1608
|
+
assetsIP: 'string',
|
|
1609
|
+
assetsInstanceId: 'string',
|
|
1610
|
+
assetsInstanceName: 'string',
|
|
1611
|
+
currentPage: 'string',
|
|
1612
|
+
endTime: 'string',
|
|
1613
|
+
eventKey: 'string',
|
|
1614
|
+
eventName: 'string',
|
|
1615
|
+
eventUuid: 'string',
|
|
1616
|
+
isIgnore: 'string',
|
|
1617
|
+
lang: 'string',
|
|
1618
|
+
memberUid: 'number',
|
|
1619
|
+
pageSize: 'string',
|
|
1620
|
+
processStatusList: { 'type': 'array', 'itemType': 'number' },
|
|
1621
|
+
riskLevel: { 'type': 'array', 'itemType': 'number' },
|
|
1622
|
+
sourceIp: 'string',
|
|
1623
|
+
startTime: 'string',
|
|
1624
|
+
};
|
|
1625
|
+
}
|
|
1626
|
+
}
|
|
1627
|
+
exports.DescribeInvadeEventListRequest = DescribeInvadeEventListRequest;
|
|
1628
|
+
class DescribeInvadeEventListResponseBody extends $tea.Model {
|
|
1629
|
+
constructor(map) {
|
|
1630
|
+
super(map);
|
|
1631
|
+
}
|
|
1632
|
+
static names() {
|
|
1633
|
+
return {
|
|
1634
|
+
eventList: 'EventList',
|
|
1635
|
+
highLevelPercent: 'HighLevelPercent',
|
|
1636
|
+
lowLevelPercent: 'LowLevelPercent',
|
|
1637
|
+
middleLevelPercent: 'MiddleLevelPercent',
|
|
1638
|
+
pageInfo: 'PageInfo',
|
|
1639
|
+
requestId: 'RequestId',
|
|
1640
|
+
};
|
|
1641
|
+
}
|
|
1642
|
+
static types() {
|
|
1643
|
+
return {
|
|
1644
|
+
eventList: { 'type': 'array', 'itemType': DescribeInvadeEventListResponseBodyEventList },
|
|
1645
|
+
highLevelPercent: 'number',
|
|
1646
|
+
lowLevelPercent: 'number',
|
|
1647
|
+
middleLevelPercent: 'number',
|
|
1648
|
+
pageInfo: DescribeInvadeEventListResponseBodyPageInfo,
|
|
1649
|
+
requestId: 'string',
|
|
1650
|
+
};
|
|
1651
|
+
}
|
|
1652
|
+
}
|
|
1653
|
+
exports.DescribeInvadeEventListResponseBody = DescribeInvadeEventListResponseBody;
|
|
1654
|
+
class DescribeInvadeEventListResponse extends $tea.Model {
|
|
1655
|
+
constructor(map) {
|
|
1656
|
+
super(map);
|
|
1657
|
+
}
|
|
1658
|
+
static names() {
|
|
1659
|
+
return {
|
|
1660
|
+
headers: 'headers',
|
|
1661
|
+
statusCode: 'statusCode',
|
|
1662
|
+
body: 'body',
|
|
1663
|
+
};
|
|
1664
|
+
}
|
|
1665
|
+
static types() {
|
|
1666
|
+
return {
|
|
1667
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1668
|
+
statusCode: 'number',
|
|
1669
|
+
body: DescribeInvadeEventListResponseBody,
|
|
1670
|
+
};
|
|
1671
|
+
}
|
|
1672
|
+
}
|
|
1673
|
+
exports.DescribeInvadeEventListResponse = DescribeInvadeEventListResponse;
|
|
1674
|
+
class DescribeOutgoingDestinationIPRequest extends $tea.Model {
|
|
1675
|
+
constructor(map) {
|
|
1676
|
+
super(map);
|
|
1677
|
+
}
|
|
1678
|
+
static names() {
|
|
1679
|
+
return {
|
|
1680
|
+
applicationName: 'ApplicationName',
|
|
1681
|
+
categoryId: 'CategoryId',
|
|
1682
|
+
currentPage: 'CurrentPage',
|
|
1683
|
+
dstIP: 'DstIP',
|
|
1684
|
+
endTime: 'EndTime',
|
|
1685
|
+
lang: 'Lang',
|
|
1308
1686
|
order: 'Order',
|
|
1309
1687
|
pageSize: 'PageSize',
|
|
1310
1688
|
port: 'Port',
|
|
@@ -1475,19 +1853,379 @@ class DescribePolicyAdvancedConfigResponseBody extends $tea.Model {
|
|
|
1475
1853
|
}
|
|
1476
1854
|
static names() {
|
|
1477
1855
|
return {
|
|
1478
|
-
internetSwitch: 'InternetSwitch',
|
|
1856
|
+
internetSwitch: 'InternetSwitch',
|
|
1857
|
+
requestId: 'RequestId',
|
|
1858
|
+
};
|
|
1859
|
+
}
|
|
1860
|
+
static types() {
|
|
1861
|
+
return {
|
|
1862
|
+
internetSwitch: 'string',
|
|
1863
|
+
requestId: 'string',
|
|
1864
|
+
};
|
|
1865
|
+
}
|
|
1866
|
+
}
|
|
1867
|
+
exports.DescribePolicyAdvancedConfigResponseBody = DescribePolicyAdvancedConfigResponseBody;
|
|
1868
|
+
class DescribePolicyAdvancedConfigResponse extends $tea.Model {
|
|
1869
|
+
constructor(map) {
|
|
1870
|
+
super(map);
|
|
1871
|
+
}
|
|
1872
|
+
static names() {
|
|
1873
|
+
return {
|
|
1874
|
+
headers: 'headers',
|
|
1875
|
+
statusCode: 'statusCode',
|
|
1876
|
+
body: 'body',
|
|
1877
|
+
};
|
|
1878
|
+
}
|
|
1879
|
+
static types() {
|
|
1880
|
+
return {
|
|
1881
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1882
|
+
statusCode: 'number',
|
|
1883
|
+
body: DescribePolicyAdvancedConfigResponseBody,
|
|
1884
|
+
};
|
|
1885
|
+
}
|
|
1886
|
+
}
|
|
1887
|
+
exports.DescribePolicyAdvancedConfigResponse = DescribePolicyAdvancedConfigResponse;
|
|
1888
|
+
class DescribePolicyPriorUsedRequest extends $tea.Model {
|
|
1889
|
+
constructor(map) {
|
|
1890
|
+
super(map);
|
|
1891
|
+
}
|
|
1892
|
+
static names() {
|
|
1893
|
+
return {
|
|
1894
|
+
direction: 'Direction',
|
|
1895
|
+
ipVersion: 'IpVersion',
|
|
1896
|
+
lang: 'Lang',
|
|
1897
|
+
sourceIp: 'SourceIp',
|
|
1898
|
+
};
|
|
1899
|
+
}
|
|
1900
|
+
static types() {
|
|
1901
|
+
return {
|
|
1902
|
+
direction: 'string',
|
|
1903
|
+
ipVersion: 'string',
|
|
1904
|
+
lang: 'string',
|
|
1905
|
+
sourceIp: 'string',
|
|
1906
|
+
};
|
|
1907
|
+
}
|
|
1908
|
+
}
|
|
1909
|
+
exports.DescribePolicyPriorUsedRequest = DescribePolicyPriorUsedRequest;
|
|
1910
|
+
class DescribePolicyPriorUsedResponseBody extends $tea.Model {
|
|
1911
|
+
constructor(map) {
|
|
1912
|
+
super(map);
|
|
1913
|
+
}
|
|
1914
|
+
static names() {
|
|
1915
|
+
return {
|
|
1916
|
+
end: 'End',
|
|
1917
|
+
requestId: 'RequestId',
|
|
1918
|
+
start: 'Start',
|
|
1919
|
+
};
|
|
1920
|
+
}
|
|
1921
|
+
static types() {
|
|
1922
|
+
return {
|
|
1923
|
+
end: 'number',
|
|
1924
|
+
requestId: 'string',
|
|
1925
|
+
start: 'number',
|
|
1926
|
+
};
|
|
1927
|
+
}
|
|
1928
|
+
}
|
|
1929
|
+
exports.DescribePolicyPriorUsedResponseBody = DescribePolicyPriorUsedResponseBody;
|
|
1930
|
+
class DescribePolicyPriorUsedResponse extends $tea.Model {
|
|
1931
|
+
constructor(map) {
|
|
1932
|
+
super(map);
|
|
1933
|
+
}
|
|
1934
|
+
static names() {
|
|
1935
|
+
return {
|
|
1936
|
+
headers: 'headers',
|
|
1937
|
+
statusCode: 'statusCode',
|
|
1938
|
+
body: 'body',
|
|
1939
|
+
};
|
|
1940
|
+
}
|
|
1941
|
+
static types() {
|
|
1942
|
+
return {
|
|
1943
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1944
|
+
statusCode: 'number',
|
|
1945
|
+
body: DescribePolicyPriorUsedResponseBody,
|
|
1946
|
+
};
|
|
1947
|
+
}
|
|
1948
|
+
}
|
|
1949
|
+
exports.DescribePolicyPriorUsedResponse = DescribePolicyPriorUsedResponse;
|
|
1950
|
+
class DescribeRiskEventGroupRequest extends $tea.Model {
|
|
1951
|
+
constructor(map) {
|
|
1952
|
+
super(map);
|
|
1953
|
+
}
|
|
1954
|
+
static names() {
|
|
1955
|
+
return {
|
|
1956
|
+
attackApp: 'AttackApp',
|
|
1957
|
+
attackType: 'AttackType',
|
|
1958
|
+
buyVersion: 'BuyVersion',
|
|
1959
|
+
currentPage: 'CurrentPage',
|
|
1960
|
+
dataType: 'DataType',
|
|
1961
|
+
direction: 'Direction',
|
|
1962
|
+
dstIP: 'DstIP',
|
|
1963
|
+
dstNetworkInstanceId: 'DstNetworkInstanceId',
|
|
1964
|
+
endTime: 'EndTime',
|
|
1965
|
+
eventName: 'EventName',
|
|
1966
|
+
firewallType: 'FirewallType',
|
|
1967
|
+
lang: 'Lang',
|
|
1968
|
+
noLocation: 'NoLocation',
|
|
1969
|
+
order: 'Order',
|
|
1970
|
+
pageSize: 'PageSize',
|
|
1971
|
+
ruleResult: 'RuleResult',
|
|
1972
|
+
ruleSource: 'RuleSource',
|
|
1973
|
+
sort: 'Sort',
|
|
1974
|
+
srcIP: 'SrcIP',
|
|
1975
|
+
srcNetworkInstanceId: 'SrcNetworkInstanceId',
|
|
1976
|
+
startTime: 'StartTime',
|
|
1977
|
+
vulLevel: 'VulLevel',
|
|
1978
|
+
};
|
|
1979
|
+
}
|
|
1980
|
+
static types() {
|
|
1981
|
+
return {
|
|
1982
|
+
attackApp: { 'type': 'array', 'itemType': 'string' },
|
|
1983
|
+
attackType: 'string',
|
|
1984
|
+
buyVersion: 'number',
|
|
1985
|
+
currentPage: 'string',
|
|
1986
|
+
dataType: 'string',
|
|
1987
|
+
direction: 'string',
|
|
1988
|
+
dstIP: 'string',
|
|
1989
|
+
dstNetworkInstanceId: 'string',
|
|
1990
|
+
endTime: 'string',
|
|
1991
|
+
eventName: 'string',
|
|
1992
|
+
firewallType: 'string',
|
|
1993
|
+
lang: 'string',
|
|
1994
|
+
noLocation: 'string',
|
|
1995
|
+
order: 'string',
|
|
1996
|
+
pageSize: 'string',
|
|
1997
|
+
ruleResult: 'string',
|
|
1998
|
+
ruleSource: 'string',
|
|
1999
|
+
sort: 'string',
|
|
2000
|
+
srcIP: 'string',
|
|
2001
|
+
srcNetworkInstanceId: 'string',
|
|
2002
|
+
startTime: 'string',
|
|
2003
|
+
vulLevel: 'string',
|
|
2004
|
+
};
|
|
2005
|
+
}
|
|
2006
|
+
}
|
|
2007
|
+
exports.DescribeRiskEventGroupRequest = DescribeRiskEventGroupRequest;
|
|
2008
|
+
class DescribeRiskEventGroupResponseBody extends $tea.Model {
|
|
2009
|
+
constructor(map) {
|
|
2010
|
+
super(map);
|
|
2011
|
+
}
|
|
2012
|
+
static names() {
|
|
2013
|
+
return {
|
|
2014
|
+
dataList: 'DataList',
|
|
2015
|
+
requestId: 'RequestId',
|
|
2016
|
+
totalCount: 'TotalCount',
|
|
2017
|
+
};
|
|
2018
|
+
}
|
|
2019
|
+
static types() {
|
|
2020
|
+
return {
|
|
2021
|
+
dataList: { 'type': 'array', 'itemType': DescribeRiskEventGroupResponseBodyDataList },
|
|
2022
|
+
requestId: 'string',
|
|
2023
|
+
totalCount: 'number',
|
|
2024
|
+
};
|
|
2025
|
+
}
|
|
2026
|
+
}
|
|
2027
|
+
exports.DescribeRiskEventGroupResponseBody = DescribeRiskEventGroupResponseBody;
|
|
2028
|
+
class DescribeRiskEventGroupResponse extends $tea.Model {
|
|
2029
|
+
constructor(map) {
|
|
2030
|
+
super(map);
|
|
2031
|
+
}
|
|
2032
|
+
static names() {
|
|
2033
|
+
return {
|
|
2034
|
+
headers: 'headers',
|
|
2035
|
+
statusCode: 'statusCode',
|
|
2036
|
+
body: 'body',
|
|
2037
|
+
};
|
|
2038
|
+
}
|
|
2039
|
+
static types() {
|
|
2040
|
+
return {
|
|
2041
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2042
|
+
statusCode: 'number',
|
|
2043
|
+
body: DescribeRiskEventGroupResponseBody,
|
|
2044
|
+
};
|
|
2045
|
+
}
|
|
2046
|
+
}
|
|
2047
|
+
exports.DescribeRiskEventGroupResponse = DescribeRiskEventGroupResponse;
|
|
2048
|
+
class DescribeTrFirewallPolicyBackUpAssociationListRequest extends $tea.Model {
|
|
2049
|
+
constructor(map) {
|
|
2050
|
+
super(map);
|
|
2051
|
+
}
|
|
2052
|
+
static names() {
|
|
2053
|
+
return {
|
|
2054
|
+
firewallId: 'FirewallId',
|
|
2055
|
+
lang: 'Lang',
|
|
2056
|
+
trFirewallRoutePolicyId: 'TrFirewallRoutePolicyId',
|
|
2057
|
+
};
|
|
2058
|
+
}
|
|
2059
|
+
static types() {
|
|
2060
|
+
return {
|
|
2061
|
+
firewallId: 'string',
|
|
2062
|
+
lang: 'string',
|
|
2063
|
+
trFirewallRoutePolicyId: 'string',
|
|
2064
|
+
};
|
|
2065
|
+
}
|
|
2066
|
+
}
|
|
2067
|
+
exports.DescribeTrFirewallPolicyBackUpAssociationListRequest = DescribeTrFirewallPolicyBackUpAssociationListRequest;
|
|
2068
|
+
class DescribeTrFirewallPolicyBackUpAssociationListResponseBody extends $tea.Model {
|
|
2069
|
+
constructor(map) {
|
|
2070
|
+
super(map);
|
|
2071
|
+
}
|
|
2072
|
+
static names() {
|
|
2073
|
+
return {
|
|
2074
|
+
policyAssociationBackupConfigs: 'PolicyAssociationBackupConfigs',
|
|
2075
|
+
requestId: 'RequestId',
|
|
2076
|
+
};
|
|
2077
|
+
}
|
|
2078
|
+
static types() {
|
|
2079
|
+
return {
|
|
2080
|
+
policyAssociationBackupConfigs: { 'type': 'array', 'itemType': DescribeTrFirewallPolicyBackUpAssociationListResponseBodyPolicyAssociationBackupConfigs },
|
|
2081
|
+
requestId: 'string',
|
|
2082
|
+
};
|
|
2083
|
+
}
|
|
2084
|
+
}
|
|
2085
|
+
exports.DescribeTrFirewallPolicyBackUpAssociationListResponseBody = DescribeTrFirewallPolicyBackUpAssociationListResponseBody;
|
|
2086
|
+
class DescribeTrFirewallPolicyBackUpAssociationListResponse extends $tea.Model {
|
|
2087
|
+
constructor(map) {
|
|
2088
|
+
super(map);
|
|
2089
|
+
}
|
|
2090
|
+
static names() {
|
|
2091
|
+
return {
|
|
2092
|
+
headers: 'headers',
|
|
2093
|
+
statusCode: 'statusCode',
|
|
2094
|
+
body: 'body',
|
|
2095
|
+
};
|
|
2096
|
+
}
|
|
2097
|
+
static types() {
|
|
2098
|
+
return {
|
|
2099
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2100
|
+
statusCode: 'number',
|
|
2101
|
+
body: DescribeTrFirewallPolicyBackUpAssociationListResponseBody,
|
|
2102
|
+
};
|
|
2103
|
+
}
|
|
2104
|
+
}
|
|
2105
|
+
exports.DescribeTrFirewallPolicyBackUpAssociationListResponse = DescribeTrFirewallPolicyBackUpAssociationListResponse;
|
|
2106
|
+
class DescribeTrFirewallV2RoutePolicyListRequest extends $tea.Model {
|
|
2107
|
+
constructor(map) {
|
|
2108
|
+
super(map);
|
|
2109
|
+
}
|
|
2110
|
+
static names() {
|
|
2111
|
+
return {
|
|
2112
|
+
currentPage: 'CurrentPage',
|
|
2113
|
+
firewallId: 'FirewallId',
|
|
2114
|
+
lang: 'Lang',
|
|
2115
|
+
pageSize: 'PageSize',
|
|
2116
|
+
policyId: 'PolicyId',
|
|
2117
|
+
};
|
|
2118
|
+
}
|
|
2119
|
+
static types() {
|
|
2120
|
+
return {
|
|
2121
|
+
currentPage: 'number',
|
|
2122
|
+
firewallId: 'string',
|
|
2123
|
+
lang: 'string',
|
|
2124
|
+
pageSize: 'number',
|
|
2125
|
+
policyId: 'string',
|
|
2126
|
+
};
|
|
2127
|
+
}
|
|
2128
|
+
}
|
|
2129
|
+
exports.DescribeTrFirewallV2RoutePolicyListRequest = DescribeTrFirewallV2RoutePolicyListRequest;
|
|
2130
|
+
class DescribeTrFirewallV2RoutePolicyListResponseBody extends $tea.Model {
|
|
2131
|
+
constructor(map) {
|
|
2132
|
+
super(map);
|
|
2133
|
+
}
|
|
2134
|
+
static names() {
|
|
2135
|
+
return {
|
|
2136
|
+
requestId: 'RequestId',
|
|
2137
|
+
totalCount: 'TotalCount',
|
|
2138
|
+
trFirewallRoutePolicies: 'TrFirewallRoutePolicies',
|
|
2139
|
+
};
|
|
2140
|
+
}
|
|
2141
|
+
static types() {
|
|
2142
|
+
return {
|
|
2143
|
+
requestId: 'string',
|
|
2144
|
+
totalCount: 'string',
|
|
2145
|
+
trFirewallRoutePolicies: { 'type': 'array', 'itemType': DescribeTrFirewallV2RoutePolicyListResponseBodyTrFirewallRoutePolicies },
|
|
2146
|
+
};
|
|
2147
|
+
}
|
|
2148
|
+
}
|
|
2149
|
+
exports.DescribeTrFirewallV2RoutePolicyListResponseBody = DescribeTrFirewallV2RoutePolicyListResponseBody;
|
|
2150
|
+
class DescribeTrFirewallV2RoutePolicyListResponse extends $tea.Model {
|
|
2151
|
+
constructor(map) {
|
|
2152
|
+
super(map);
|
|
2153
|
+
}
|
|
2154
|
+
static names() {
|
|
2155
|
+
return {
|
|
2156
|
+
headers: 'headers',
|
|
2157
|
+
statusCode: 'statusCode',
|
|
2158
|
+
body: 'body',
|
|
2159
|
+
};
|
|
2160
|
+
}
|
|
2161
|
+
static types() {
|
|
2162
|
+
return {
|
|
2163
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2164
|
+
statusCode: 'number',
|
|
2165
|
+
body: DescribeTrFirewallV2RoutePolicyListResponseBody,
|
|
2166
|
+
};
|
|
2167
|
+
}
|
|
2168
|
+
}
|
|
2169
|
+
exports.DescribeTrFirewallV2RoutePolicyListResponse = DescribeTrFirewallV2RoutePolicyListResponse;
|
|
2170
|
+
class DescribeTrFirewallsV2DetailRequest extends $tea.Model {
|
|
2171
|
+
constructor(map) {
|
|
2172
|
+
super(map);
|
|
2173
|
+
}
|
|
2174
|
+
static names() {
|
|
2175
|
+
return {
|
|
2176
|
+
firewallId: 'FirewallId',
|
|
2177
|
+
lang: 'Lang',
|
|
2178
|
+
};
|
|
2179
|
+
}
|
|
2180
|
+
static types() {
|
|
2181
|
+
return {
|
|
2182
|
+
firewallId: 'string',
|
|
2183
|
+
lang: 'string',
|
|
2184
|
+
};
|
|
2185
|
+
}
|
|
2186
|
+
}
|
|
2187
|
+
exports.DescribeTrFirewallsV2DetailRequest = DescribeTrFirewallsV2DetailRequest;
|
|
2188
|
+
class DescribeTrFirewallsV2DetailResponseBody extends $tea.Model {
|
|
2189
|
+
constructor(map) {
|
|
2190
|
+
super(map);
|
|
2191
|
+
}
|
|
2192
|
+
static names() {
|
|
2193
|
+
return {
|
|
2194
|
+
cenId: 'CenId',
|
|
2195
|
+
firewallDescription: 'FirewallDescription',
|
|
2196
|
+
firewallEniId: 'FirewallEniId',
|
|
2197
|
+
firewallEniVpcId: 'FirewallEniVpcId',
|
|
2198
|
+
firewallEniVswitchId: 'FirewallEniVswitchId',
|
|
2199
|
+
firewallId: 'FirewallId',
|
|
2200
|
+
firewallName: 'FirewallName',
|
|
2201
|
+
firewallStatus: 'FirewallStatus',
|
|
2202
|
+
firewallSwitchStatus: 'FirewallSwitchStatus',
|
|
2203
|
+
regionNo: 'RegionNo',
|
|
1479
2204
|
requestId: 'RequestId',
|
|
2205
|
+
routeMode: 'RouteMode',
|
|
2206
|
+
transitRouterId: 'TransitRouterId',
|
|
1480
2207
|
};
|
|
1481
2208
|
}
|
|
1482
2209
|
static types() {
|
|
1483
2210
|
return {
|
|
1484
|
-
|
|
2211
|
+
cenId: 'string',
|
|
2212
|
+
firewallDescription: 'string',
|
|
2213
|
+
firewallEniId: 'string',
|
|
2214
|
+
firewallEniVpcId: 'string',
|
|
2215
|
+
firewallEniVswitchId: 'string',
|
|
2216
|
+
firewallId: 'string',
|
|
2217
|
+
firewallName: 'string',
|
|
2218
|
+
firewallStatus: 'string',
|
|
2219
|
+
firewallSwitchStatus: 'string',
|
|
2220
|
+
regionNo: 'string',
|
|
1485
2221
|
requestId: 'string',
|
|
2222
|
+
routeMode: 'string',
|
|
2223
|
+
transitRouterId: 'string',
|
|
1486
2224
|
};
|
|
1487
2225
|
}
|
|
1488
2226
|
}
|
|
1489
|
-
exports.
|
|
1490
|
-
class
|
|
2227
|
+
exports.DescribeTrFirewallsV2DetailResponseBody = DescribeTrFirewallsV2DetailResponseBody;
|
|
2228
|
+
class DescribeTrFirewallsV2DetailResponse extends $tea.Model {
|
|
1491
2229
|
constructor(map) {
|
|
1492
2230
|
super(map);
|
|
1493
2231
|
}
|
|
@@ -1502,54 +2240,68 @@ class DescribePolicyAdvancedConfigResponse extends $tea.Model {
|
|
|
1502
2240
|
return {
|
|
1503
2241
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1504
2242
|
statusCode: 'number',
|
|
1505
|
-
body:
|
|
2243
|
+
body: DescribeTrFirewallsV2DetailResponseBody,
|
|
1506
2244
|
};
|
|
1507
2245
|
}
|
|
1508
2246
|
}
|
|
1509
|
-
exports.
|
|
1510
|
-
class
|
|
2247
|
+
exports.DescribeTrFirewallsV2DetailResponse = DescribeTrFirewallsV2DetailResponse;
|
|
2248
|
+
class DescribeTrFirewallsV2ListRequest extends $tea.Model {
|
|
1511
2249
|
constructor(map) {
|
|
1512
2250
|
super(map);
|
|
1513
2251
|
}
|
|
1514
2252
|
static names() {
|
|
1515
2253
|
return {
|
|
1516
|
-
|
|
1517
|
-
|
|
2254
|
+
cenId: 'CenId',
|
|
2255
|
+
currentPage: 'CurrentPage',
|
|
2256
|
+
firewallId: 'FirewallId',
|
|
2257
|
+
firewallName: 'FirewallName',
|
|
2258
|
+
firewallSwitchStatus: 'FirewallSwitchStatus',
|
|
1518
2259
|
lang: 'Lang',
|
|
1519
|
-
|
|
2260
|
+
ownerId: 'OwnerId',
|
|
2261
|
+
pageSize: 'PageSize',
|
|
2262
|
+
regionNo: 'RegionNo',
|
|
2263
|
+
routeMode: 'RouteMode',
|
|
2264
|
+
transitRouterId: 'TransitRouterId',
|
|
1520
2265
|
};
|
|
1521
2266
|
}
|
|
1522
2267
|
static types() {
|
|
1523
2268
|
return {
|
|
1524
|
-
|
|
1525
|
-
|
|
2269
|
+
cenId: 'string',
|
|
2270
|
+
currentPage: 'number',
|
|
2271
|
+
firewallId: 'string',
|
|
2272
|
+
firewallName: 'string',
|
|
2273
|
+
firewallSwitchStatus: 'string',
|
|
1526
2274
|
lang: 'string',
|
|
1527
|
-
|
|
2275
|
+
ownerId: 'string',
|
|
2276
|
+
pageSize: 'number',
|
|
2277
|
+
regionNo: 'string',
|
|
2278
|
+
routeMode: 'string',
|
|
2279
|
+
transitRouterId: 'string',
|
|
1528
2280
|
};
|
|
1529
2281
|
}
|
|
1530
2282
|
}
|
|
1531
|
-
exports.
|
|
1532
|
-
class
|
|
2283
|
+
exports.DescribeTrFirewallsV2ListRequest = DescribeTrFirewallsV2ListRequest;
|
|
2284
|
+
class DescribeTrFirewallsV2ListResponseBody extends $tea.Model {
|
|
1533
2285
|
constructor(map) {
|
|
1534
2286
|
super(map);
|
|
1535
2287
|
}
|
|
1536
2288
|
static names() {
|
|
1537
2289
|
return {
|
|
1538
|
-
end: 'End',
|
|
1539
2290
|
requestId: 'RequestId',
|
|
1540
|
-
|
|
2291
|
+
totalCount: 'TotalCount',
|
|
2292
|
+
vpcTrFirewalls: 'VpcTrFirewalls',
|
|
1541
2293
|
};
|
|
1542
2294
|
}
|
|
1543
2295
|
static types() {
|
|
1544
2296
|
return {
|
|
1545
|
-
end: 'number',
|
|
1546
2297
|
requestId: 'string',
|
|
1547
|
-
|
|
2298
|
+
totalCount: 'string',
|
|
2299
|
+
vpcTrFirewalls: { 'type': 'array', 'itemType': DescribeTrFirewallsV2ListResponseBodyVpcTrFirewalls },
|
|
1548
2300
|
};
|
|
1549
2301
|
}
|
|
1550
2302
|
}
|
|
1551
|
-
exports.
|
|
1552
|
-
class
|
|
2303
|
+
exports.DescribeTrFirewallsV2ListResponseBody = DescribeTrFirewallsV2ListResponseBody;
|
|
2304
|
+
class DescribeTrFirewallsV2ListResponse extends $tea.Model {
|
|
1553
2305
|
constructor(map) {
|
|
1554
2306
|
super(map);
|
|
1555
2307
|
}
|
|
@@ -1564,90 +2316,54 @@ class DescribePolicyPriorUsedResponse extends $tea.Model {
|
|
|
1564
2316
|
return {
|
|
1565
2317
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1566
2318
|
statusCode: 'number',
|
|
1567
|
-
body:
|
|
2319
|
+
body: DescribeTrFirewallsV2ListResponseBody,
|
|
1568
2320
|
};
|
|
1569
2321
|
}
|
|
1570
2322
|
}
|
|
1571
|
-
exports.
|
|
1572
|
-
class
|
|
2323
|
+
exports.DescribeTrFirewallsV2ListResponse = DescribeTrFirewallsV2ListResponse;
|
|
2324
|
+
class DescribeTrFirewallsV2RouteListRequest extends $tea.Model {
|
|
1573
2325
|
constructor(map) {
|
|
1574
2326
|
super(map);
|
|
1575
2327
|
}
|
|
1576
2328
|
static names() {
|
|
1577
2329
|
return {
|
|
1578
|
-
attackApp: 'AttackApp',
|
|
1579
|
-
attackType: 'AttackType',
|
|
1580
|
-
buyVersion: 'BuyVersion',
|
|
1581
2330
|
currentPage: 'CurrentPage',
|
|
1582
|
-
|
|
1583
|
-
direction: 'Direction',
|
|
1584
|
-
dstIP: 'DstIP',
|
|
1585
|
-
dstNetworkInstanceId: 'DstNetworkInstanceId',
|
|
1586
|
-
endTime: 'EndTime',
|
|
1587
|
-
eventName: 'EventName',
|
|
1588
|
-
firewallType: 'FirewallType',
|
|
2331
|
+
firewallId: 'FirewallId',
|
|
1589
2332
|
lang: 'Lang',
|
|
1590
|
-
noLocation: 'NoLocation',
|
|
1591
|
-
order: 'Order',
|
|
1592
2333
|
pageSize: 'PageSize',
|
|
1593
|
-
|
|
1594
|
-
ruleSource: 'RuleSource',
|
|
1595
|
-
sort: 'Sort',
|
|
1596
|
-
srcIP: 'SrcIP',
|
|
1597
|
-
srcNetworkInstanceId: 'SrcNetworkInstanceId',
|
|
1598
|
-
startTime: 'StartTime',
|
|
1599
|
-
vulLevel: 'VulLevel',
|
|
2334
|
+
trFirewallRoutePolicyId: 'TrFirewallRoutePolicyId',
|
|
1600
2335
|
};
|
|
1601
2336
|
}
|
|
1602
2337
|
static types() {
|
|
1603
2338
|
return {
|
|
1604
|
-
attackApp: { 'type': 'array', 'itemType': 'string' },
|
|
1605
|
-
attackType: 'string',
|
|
1606
|
-
buyVersion: 'number',
|
|
1607
2339
|
currentPage: 'string',
|
|
1608
|
-
|
|
1609
|
-
direction: 'string',
|
|
1610
|
-
dstIP: 'string',
|
|
1611
|
-
dstNetworkInstanceId: 'string',
|
|
1612
|
-
endTime: 'string',
|
|
1613
|
-
eventName: 'string',
|
|
1614
|
-
firewallType: 'string',
|
|
2340
|
+
firewallId: 'string',
|
|
1615
2341
|
lang: 'string',
|
|
1616
|
-
noLocation: 'string',
|
|
1617
|
-
order: 'string',
|
|
1618
2342
|
pageSize: 'string',
|
|
1619
|
-
|
|
1620
|
-
ruleSource: 'string',
|
|
1621
|
-
sort: 'string',
|
|
1622
|
-
srcIP: 'string',
|
|
1623
|
-
srcNetworkInstanceId: 'string',
|
|
1624
|
-
startTime: 'string',
|
|
1625
|
-
vulLevel: 'string',
|
|
2343
|
+
trFirewallRoutePolicyId: 'string',
|
|
1626
2344
|
};
|
|
1627
2345
|
}
|
|
1628
2346
|
}
|
|
1629
|
-
exports.
|
|
1630
|
-
class
|
|
2347
|
+
exports.DescribeTrFirewallsV2RouteListRequest = DescribeTrFirewallsV2RouteListRequest;
|
|
2348
|
+
class DescribeTrFirewallsV2RouteListResponseBody extends $tea.Model {
|
|
1631
2349
|
constructor(map) {
|
|
1632
2350
|
super(map);
|
|
1633
2351
|
}
|
|
1634
2352
|
static names() {
|
|
1635
2353
|
return {
|
|
1636
|
-
|
|
2354
|
+
firewallRouteDetailList: 'FirewallRouteDetailList',
|
|
1637
2355
|
requestId: 'RequestId',
|
|
1638
|
-
totalCount: 'TotalCount',
|
|
1639
2356
|
};
|
|
1640
2357
|
}
|
|
1641
2358
|
static types() {
|
|
1642
2359
|
return {
|
|
1643
|
-
|
|
2360
|
+
firewallRouteDetailList: { 'type': 'array', 'itemType': DescribeTrFirewallsV2RouteListResponseBodyFirewallRouteDetailList },
|
|
1644
2361
|
requestId: 'string',
|
|
1645
|
-
totalCount: 'number',
|
|
1646
2362
|
};
|
|
1647
2363
|
}
|
|
1648
2364
|
}
|
|
1649
|
-
exports.
|
|
1650
|
-
class
|
|
2365
|
+
exports.DescribeTrFirewallsV2RouteListResponseBody = DescribeTrFirewallsV2RouteListResponseBody;
|
|
2366
|
+
class DescribeTrFirewallsV2RouteListResponse extends $tea.Model {
|
|
1651
2367
|
constructor(map) {
|
|
1652
2368
|
super(map);
|
|
1653
2369
|
}
|
|
@@ -1662,11 +2378,11 @@ class DescribeRiskEventGroupResponse extends $tea.Model {
|
|
|
1662
2378
|
return {
|
|
1663
2379
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1664
2380
|
statusCode: 'number',
|
|
1665
|
-
body:
|
|
2381
|
+
body: DescribeTrFirewallsV2RouteListResponseBody,
|
|
1666
2382
|
};
|
|
1667
2383
|
}
|
|
1668
2384
|
}
|
|
1669
|
-
exports.
|
|
2385
|
+
exports.DescribeTrFirewallsV2RouteListResponse = DescribeTrFirewallsV2RouteListResponse;
|
|
1670
2386
|
class DescribeUserAssetIPTrafficInfoRequest extends $tea.Model {
|
|
1671
2387
|
constructor(map) {
|
|
1672
2388
|
super(map);
|
|
@@ -2541,23 +3257,191 @@ class ModifyControlPolicyPositionRequest extends $tea.Model {
|
|
|
2541
3257
|
return {
|
|
2542
3258
|
direction: 'Direction',
|
|
2543
3259
|
lang: 'Lang',
|
|
2544
|
-
newOrder: 'NewOrder',
|
|
2545
|
-
oldOrder: 'OldOrder',
|
|
3260
|
+
newOrder: 'NewOrder',
|
|
3261
|
+
oldOrder: 'OldOrder',
|
|
3262
|
+
sourceIp: 'SourceIp',
|
|
3263
|
+
};
|
|
3264
|
+
}
|
|
3265
|
+
static types() {
|
|
3266
|
+
return {
|
|
3267
|
+
direction: 'string',
|
|
3268
|
+
lang: 'string',
|
|
3269
|
+
newOrder: 'string',
|
|
3270
|
+
oldOrder: 'string',
|
|
3271
|
+
sourceIp: 'string',
|
|
3272
|
+
};
|
|
3273
|
+
}
|
|
3274
|
+
}
|
|
3275
|
+
exports.ModifyControlPolicyPositionRequest = ModifyControlPolicyPositionRequest;
|
|
3276
|
+
class ModifyControlPolicyPositionResponseBody extends $tea.Model {
|
|
3277
|
+
constructor(map) {
|
|
3278
|
+
super(map);
|
|
3279
|
+
}
|
|
3280
|
+
static names() {
|
|
3281
|
+
return {
|
|
3282
|
+
requestId: 'RequestId',
|
|
3283
|
+
};
|
|
3284
|
+
}
|
|
3285
|
+
static types() {
|
|
3286
|
+
return {
|
|
3287
|
+
requestId: 'string',
|
|
3288
|
+
};
|
|
3289
|
+
}
|
|
3290
|
+
}
|
|
3291
|
+
exports.ModifyControlPolicyPositionResponseBody = ModifyControlPolicyPositionResponseBody;
|
|
3292
|
+
class ModifyControlPolicyPositionResponse extends $tea.Model {
|
|
3293
|
+
constructor(map) {
|
|
3294
|
+
super(map);
|
|
3295
|
+
}
|
|
3296
|
+
static names() {
|
|
3297
|
+
return {
|
|
3298
|
+
headers: 'headers',
|
|
3299
|
+
statusCode: 'statusCode',
|
|
3300
|
+
body: 'body',
|
|
3301
|
+
};
|
|
3302
|
+
}
|
|
3303
|
+
static types() {
|
|
3304
|
+
return {
|
|
3305
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3306
|
+
statusCode: 'number',
|
|
3307
|
+
body: ModifyControlPolicyPositionResponseBody,
|
|
3308
|
+
};
|
|
3309
|
+
}
|
|
3310
|
+
}
|
|
3311
|
+
exports.ModifyControlPolicyPositionResponse = ModifyControlPolicyPositionResponse;
|
|
3312
|
+
class ModifyFirewallV2RoutePolicySwitchRequest extends $tea.Model {
|
|
3313
|
+
constructor(map) {
|
|
3314
|
+
super(map);
|
|
3315
|
+
}
|
|
3316
|
+
static names() {
|
|
3317
|
+
return {
|
|
3318
|
+
firewallId: 'FirewallId',
|
|
3319
|
+
lang: 'Lang',
|
|
3320
|
+
shouldRecover: 'ShouldRecover',
|
|
3321
|
+
trFirewallRoutePolicyId: 'TrFirewallRoutePolicyId',
|
|
3322
|
+
trFirewallRoutePolicySwitchStatus: 'TrFirewallRoutePolicySwitchStatus',
|
|
3323
|
+
};
|
|
3324
|
+
}
|
|
3325
|
+
static types() {
|
|
3326
|
+
return {
|
|
3327
|
+
firewallId: 'string',
|
|
3328
|
+
lang: 'string',
|
|
3329
|
+
shouldRecover: 'string',
|
|
3330
|
+
trFirewallRoutePolicyId: 'string',
|
|
3331
|
+
trFirewallRoutePolicySwitchStatus: 'string',
|
|
3332
|
+
};
|
|
3333
|
+
}
|
|
3334
|
+
}
|
|
3335
|
+
exports.ModifyFirewallV2RoutePolicySwitchRequest = ModifyFirewallV2RoutePolicySwitchRequest;
|
|
3336
|
+
class ModifyFirewallV2RoutePolicySwitchResponseBody extends $tea.Model {
|
|
3337
|
+
constructor(map) {
|
|
3338
|
+
super(map);
|
|
3339
|
+
}
|
|
3340
|
+
static names() {
|
|
3341
|
+
return {
|
|
3342
|
+
requestId: 'RequestId',
|
|
3343
|
+
};
|
|
3344
|
+
}
|
|
3345
|
+
static types() {
|
|
3346
|
+
return {
|
|
3347
|
+
requestId: 'string',
|
|
3348
|
+
};
|
|
3349
|
+
}
|
|
3350
|
+
}
|
|
3351
|
+
exports.ModifyFirewallV2RoutePolicySwitchResponseBody = ModifyFirewallV2RoutePolicySwitchResponseBody;
|
|
3352
|
+
class ModifyFirewallV2RoutePolicySwitchResponse extends $tea.Model {
|
|
3353
|
+
constructor(map) {
|
|
3354
|
+
super(map);
|
|
3355
|
+
}
|
|
3356
|
+
static names() {
|
|
3357
|
+
return {
|
|
3358
|
+
headers: 'headers',
|
|
3359
|
+
statusCode: 'statusCode',
|
|
3360
|
+
body: 'body',
|
|
3361
|
+
};
|
|
3362
|
+
}
|
|
3363
|
+
static types() {
|
|
3364
|
+
return {
|
|
3365
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3366
|
+
statusCode: 'number',
|
|
3367
|
+
body: ModifyFirewallV2RoutePolicySwitchResponseBody,
|
|
3368
|
+
};
|
|
3369
|
+
}
|
|
3370
|
+
}
|
|
3371
|
+
exports.ModifyFirewallV2RoutePolicySwitchResponse = ModifyFirewallV2RoutePolicySwitchResponse;
|
|
3372
|
+
class ModifyInstanceMemberAttributesRequest extends $tea.Model {
|
|
3373
|
+
constructor(map) {
|
|
3374
|
+
super(map);
|
|
3375
|
+
}
|
|
3376
|
+
static names() {
|
|
3377
|
+
return {
|
|
3378
|
+
members: 'Members',
|
|
3379
|
+
};
|
|
3380
|
+
}
|
|
3381
|
+
static types() {
|
|
3382
|
+
return {
|
|
3383
|
+
members: { 'type': 'array', 'itemType': ModifyInstanceMemberAttributesRequestMembers },
|
|
3384
|
+
};
|
|
3385
|
+
}
|
|
3386
|
+
}
|
|
3387
|
+
exports.ModifyInstanceMemberAttributesRequest = ModifyInstanceMemberAttributesRequest;
|
|
3388
|
+
class ModifyInstanceMemberAttributesResponseBody extends $tea.Model {
|
|
3389
|
+
constructor(map) {
|
|
3390
|
+
super(map);
|
|
3391
|
+
}
|
|
3392
|
+
static names() {
|
|
3393
|
+
return {
|
|
3394
|
+
requestId: 'RequestId',
|
|
3395
|
+
};
|
|
3396
|
+
}
|
|
3397
|
+
static types() {
|
|
3398
|
+
return {
|
|
3399
|
+
requestId: 'string',
|
|
3400
|
+
};
|
|
3401
|
+
}
|
|
3402
|
+
}
|
|
3403
|
+
exports.ModifyInstanceMemberAttributesResponseBody = ModifyInstanceMemberAttributesResponseBody;
|
|
3404
|
+
class ModifyInstanceMemberAttributesResponse extends $tea.Model {
|
|
3405
|
+
constructor(map) {
|
|
3406
|
+
super(map);
|
|
3407
|
+
}
|
|
3408
|
+
static names() {
|
|
3409
|
+
return {
|
|
3410
|
+
headers: 'headers',
|
|
3411
|
+
statusCode: 'statusCode',
|
|
3412
|
+
body: 'body',
|
|
3413
|
+
};
|
|
3414
|
+
}
|
|
3415
|
+
static types() {
|
|
3416
|
+
return {
|
|
3417
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3418
|
+
statusCode: 'number',
|
|
3419
|
+
body: ModifyInstanceMemberAttributesResponseBody,
|
|
3420
|
+
};
|
|
3421
|
+
}
|
|
3422
|
+
}
|
|
3423
|
+
exports.ModifyInstanceMemberAttributesResponse = ModifyInstanceMemberAttributesResponse;
|
|
3424
|
+
class ModifyPolicyAdvancedConfigRequest extends $tea.Model {
|
|
3425
|
+
constructor(map) {
|
|
3426
|
+
super(map);
|
|
3427
|
+
}
|
|
3428
|
+
static names() {
|
|
3429
|
+
return {
|
|
3430
|
+
internetSwitch: 'InternetSwitch',
|
|
3431
|
+
lang: 'Lang',
|
|
2546
3432
|
sourceIp: 'SourceIp',
|
|
2547
3433
|
};
|
|
2548
3434
|
}
|
|
2549
3435
|
static types() {
|
|
2550
3436
|
return {
|
|
2551
|
-
|
|
3437
|
+
internetSwitch: 'string',
|
|
2552
3438
|
lang: 'string',
|
|
2553
|
-
newOrder: 'string',
|
|
2554
|
-
oldOrder: 'string',
|
|
2555
3439
|
sourceIp: 'string',
|
|
2556
3440
|
};
|
|
2557
3441
|
}
|
|
2558
3442
|
}
|
|
2559
|
-
exports.
|
|
2560
|
-
class
|
|
3443
|
+
exports.ModifyPolicyAdvancedConfigRequest = ModifyPolicyAdvancedConfigRequest;
|
|
3444
|
+
class ModifyPolicyAdvancedConfigResponseBody extends $tea.Model {
|
|
2561
3445
|
constructor(map) {
|
|
2562
3446
|
super(map);
|
|
2563
3447
|
}
|
|
@@ -2572,8 +3456,8 @@ class ModifyControlPolicyPositionResponseBody extends $tea.Model {
|
|
|
2572
3456
|
};
|
|
2573
3457
|
}
|
|
2574
3458
|
}
|
|
2575
|
-
exports.
|
|
2576
|
-
class
|
|
3459
|
+
exports.ModifyPolicyAdvancedConfigResponseBody = ModifyPolicyAdvancedConfigResponseBody;
|
|
3460
|
+
class ModifyPolicyAdvancedConfigResponse extends $tea.Model {
|
|
2577
3461
|
constructor(map) {
|
|
2578
3462
|
super(map);
|
|
2579
3463
|
}
|
|
@@ -2588,28 +3472,32 @@ class ModifyControlPolicyPositionResponse extends $tea.Model {
|
|
|
2588
3472
|
return {
|
|
2589
3473
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2590
3474
|
statusCode: 'number',
|
|
2591
|
-
body:
|
|
3475
|
+
body: ModifyPolicyAdvancedConfigResponseBody,
|
|
2592
3476
|
};
|
|
2593
3477
|
}
|
|
2594
3478
|
}
|
|
2595
|
-
exports.
|
|
2596
|
-
class
|
|
3479
|
+
exports.ModifyPolicyAdvancedConfigResponse = ModifyPolicyAdvancedConfigResponse;
|
|
3480
|
+
class ModifyTrFirewallV2ConfigurationRequest extends $tea.Model {
|
|
2597
3481
|
constructor(map) {
|
|
2598
3482
|
super(map);
|
|
2599
3483
|
}
|
|
2600
3484
|
static names() {
|
|
2601
3485
|
return {
|
|
2602
|
-
|
|
3486
|
+
firewallId: 'FirewallId',
|
|
3487
|
+
firewallName: 'FirewallName',
|
|
3488
|
+
lang: 'Lang',
|
|
2603
3489
|
};
|
|
2604
3490
|
}
|
|
2605
3491
|
static types() {
|
|
2606
3492
|
return {
|
|
2607
|
-
|
|
3493
|
+
firewallId: 'string',
|
|
3494
|
+
firewallName: 'string',
|
|
3495
|
+
lang: 'string',
|
|
2608
3496
|
};
|
|
2609
3497
|
}
|
|
2610
3498
|
}
|
|
2611
|
-
exports.
|
|
2612
|
-
class
|
|
3499
|
+
exports.ModifyTrFirewallV2ConfigurationRequest = ModifyTrFirewallV2ConfigurationRequest;
|
|
3500
|
+
class ModifyTrFirewallV2ConfigurationResponseBody extends $tea.Model {
|
|
2613
3501
|
constructor(map) {
|
|
2614
3502
|
super(map);
|
|
2615
3503
|
}
|
|
@@ -2624,8 +3512,8 @@ class ModifyInstanceMemberAttributesResponseBody extends $tea.Model {
|
|
|
2624
3512
|
};
|
|
2625
3513
|
}
|
|
2626
3514
|
}
|
|
2627
|
-
exports.
|
|
2628
|
-
class
|
|
3515
|
+
exports.ModifyTrFirewallV2ConfigurationResponseBody = ModifyTrFirewallV2ConfigurationResponseBody;
|
|
3516
|
+
class ModifyTrFirewallV2ConfigurationResponse extends $tea.Model {
|
|
2629
3517
|
constructor(map) {
|
|
2630
3518
|
super(map);
|
|
2631
3519
|
}
|
|
@@ -2640,48 +3528,78 @@ class ModifyInstanceMemberAttributesResponse extends $tea.Model {
|
|
|
2640
3528
|
return {
|
|
2641
3529
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2642
3530
|
statusCode: 'number',
|
|
2643
|
-
body:
|
|
3531
|
+
body: ModifyTrFirewallV2ConfigurationResponseBody,
|
|
2644
3532
|
};
|
|
2645
3533
|
}
|
|
2646
3534
|
}
|
|
2647
|
-
exports.
|
|
2648
|
-
class
|
|
3535
|
+
exports.ModifyTrFirewallV2ConfigurationResponse = ModifyTrFirewallV2ConfigurationResponse;
|
|
3536
|
+
class ModifyTrFirewallV2RoutePolicyScopeRequest extends $tea.Model {
|
|
2649
3537
|
constructor(map) {
|
|
2650
3538
|
super(map);
|
|
2651
3539
|
}
|
|
2652
3540
|
static names() {
|
|
2653
3541
|
return {
|
|
2654
|
-
|
|
3542
|
+
destCandidateList: 'DestCandidateList',
|
|
3543
|
+
firewallId: 'FirewallId',
|
|
2655
3544
|
lang: 'Lang',
|
|
2656
|
-
|
|
3545
|
+
srcCandidateList: 'SrcCandidateList',
|
|
3546
|
+
trFirewallRoutePolicyId: 'TrFirewallRoutePolicyId',
|
|
2657
3547
|
};
|
|
2658
3548
|
}
|
|
2659
3549
|
static types() {
|
|
2660
3550
|
return {
|
|
2661
|
-
|
|
3551
|
+
destCandidateList: { 'type': 'array', 'itemType': ModifyTrFirewallV2RoutePolicyScopeRequestDestCandidateList },
|
|
3552
|
+
firewallId: 'string',
|
|
2662
3553
|
lang: 'string',
|
|
2663
|
-
|
|
3554
|
+
srcCandidateList: { 'type': 'array', 'itemType': ModifyTrFirewallV2RoutePolicyScopeRequestSrcCandidateList },
|
|
3555
|
+
trFirewallRoutePolicyId: 'string',
|
|
2664
3556
|
};
|
|
2665
3557
|
}
|
|
2666
3558
|
}
|
|
2667
|
-
exports.
|
|
2668
|
-
class
|
|
3559
|
+
exports.ModifyTrFirewallV2RoutePolicyScopeRequest = ModifyTrFirewallV2RoutePolicyScopeRequest;
|
|
3560
|
+
class ModifyTrFirewallV2RoutePolicyScopeShrinkRequest extends $tea.Model {
|
|
3561
|
+
constructor(map) {
|
|
3562
|
+
super(map);
|
|
3563
|
+
}
|
|
3564
|
+
static names() {
|
|
3565
|
+
return {
|
|
3566
|
+
destCandidateListShrink: 'DestCandidateList',
|
|
3567
|
+
firewallId: 'FirewallId',
|
|
3568
|
+
lang: 'Lang',
|
|
3569
|
+
srcCandidateListShrink: 'SrcCandidateList',
|
|
3570
|
+
trFirewallRoutePolicyId: 'TrFirewallRoutePolicyId',
|
|
3571
|
+
};
|
|
3572
|
+
}
|
|
3573
|
+
static types() {
|
|
3574
|
+
return {
|
|
3575
|
+
destCandidateListShrink: 'string',
|
|
3576
|
+
firewallId: 'string',
|
|
3577
|
+
lang: 'string',
|
|
3578
|
+
srcCandidateListShrink: 'string',
|
|
3579
|
+
trFirewallRoutePolicyId: 'string',
|
|
3580
|
+
};
|
|
3581
|
+
}
|
|
3582
|
+
}
|
|
3583
|
+
exports.ModifyTrFirewallV2RoutePolicyScopeShrinkRequest = ModifyTrFirewallV2RoutePolicyScopeShrinkRequest;
|
|
3584
|
+
class ModifyTrFirewallV2RoutePolicyScopeResponseBody extends $tea.Model {
|
|
2669
3585
|
constructor(map) {
|
|
2670
3586
|
super(map);
|
|
2671
3587
|
}
|
|
2672
3588
|
static names() {
|
|
2673
3589
|
return {
|
|
2674
3590
|
requestId: 'RequestId',
|
|
3591
|
+
trFirewallRoutePolicyId: 'TrFirewallRoutePolicyId',
|
|
2675
3592
|
};
|
|
2676
3593
|
}
|
|
2677
3594
|
static types() {
|
|
2678
3595
|
return {
|
|
2679
3596
|
requestId: 'string',
|
|
3597
|
+
trFirewallRoutePolicyId: 'string',
|
|
2680
3598
|
};
|
|
2681
3599
|
}
|
|
2682
3600
|
}
|
|
2683
|
-
exports.
|
|
2684
|
-
class
|
|
3601
|
+
exports.ModifyTrFirewallV2RoutePolicyScopeResponseBody = ModifyTrFirewallV2RoutePolicyScopeResponseBody;
|
|
3602
|
+
class ModifyTrFirewallV2RoutePolicyScopeResponse extends $tea.Model {
|
|
2685
3603
|
constructor(map) {
|
|
2686
3604
|
super(map);
|
|
2687
3605
|
}
|
|
@@ -2696,11 +3614,11 @@ class ModifyPolicyAdvancedConfigResponse extends $tea.Model {
|
|
|
2696
3614
|
return {
|
|
2697
3615
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2698
3616
|
statusCode: 'number',
|
|
2699
|
-
body:
|
|
3617
|
+
body: ModifyTrFirewallV2RoutePolicyScopeResponseBody,
|
|
2700
3618
|
};
|
|
2701
3619
|
}
|
|
2702
3620
|
}
|
|
2703
|
-
exports.
|
|
3621
|
+
exports.ModifyTrFirewallV2RoutePolicyScopeResponse = ModifyTrFirewallV2RoutePolicyScopeResponse;
|
|
2704
3622
|
class ModifyVpcFirewallCenConfigureRequest extends $tea.Model {
|
|
2705
3623
|
constructor(map) {
|
|
2706
3624
|
super(map);
|
|
@@ -3461,6 +4379,42 @@ class AddInstanceMembersRequestMembers extends $tea.Model {
|
|
|
3461
4379
|
}
|
|
3462
4380
|
}
|
|
3463
4381
|
exports.AddInstanceMembersRequestMembers = AddInstanceMembersRequestMembers;
|
|
4382
|
+
class CreateTrFirewallV2RoutePolicyRequestDestCandidateList extends $tea.Model {
|
|
4383
|
+
constructor(map) {
|
|
4384
|
+
super(map);
|
|
4385
|
+
}
|
|
4386
|
+
static names() {
|
|
4387
|
+
return {
|
|
4388
|
+
candidateId: 'CandidateId',
|
|
4389
|
+
candidateType: 'CandidateType',
|
|
4390
|
+
};
|
|
4391
|
+
}
|
|
4392
|
+
static types() {
|
|
4393
|
+
return {
|
|
4394
|
+
candidateId: 'string',
|
|
4395
|
+
candidateType: 'string',
|
|
4396
|
+
};
|
|
4397
|
+
}
|
|
4398
|
+
}
|
|
4399
|
+
exports.CreateTrFirewallV2RoutePolicyRequestDestCandidateList = CreateTrFirewallV2RoutePolicyRequestDestCandidateList;
|
|
4400
|
+
class CreateTrFirewallV2RoutePolicyRequestSrcCandidateList extends $tea.Model {
|
|
4401
|
+
constructor(map) {
|
|
4402
|
+
super(map);
|
|
4403
|
+
}
|
|
4404
|
+
static names() {
|
|
4405
|
+
return {
|
|
4406
|
+
candidateId: 'CandidateId',
|
|
4407
|
+
candidateType: 'CandidateType',
|
|
4408
|
+
};
|
|
4409
|
+
}
|
|
4410
|
+
static types() {
|
|
4411
|
+
return {
|
|
4412
|
+
candidateId: 'string',
|
|
4413
|
+
candidateType: 'string',
|
|
4414
|
+
};
|
|
4415
|
+
}
|
|
4416
|
+
}
|
|
4417
|
+
exports.CreateTrFirewallV2RoutePolicyRequestSrcCandidateList = CreateTrFirewallV2RoutePolicyRequestSrcCandidateList;
|
|
3464
4418
|
class DescribeAddressBookResponseBodyAclsTagList extends $tea.Model {
|
|
3465
4419
|
constructor(map) {
|
|
3466
4420
|
super(map);
|
|
@@ -3707,6 +4661,38 @@ class DescribeInstanceMembersResponseBodyPageInfo extends $tea.Model {
|
|
|
3707
4661
|
}
|
|
3708
4662
|
}
|
|
3709
4663
|
exports.DescribeInstanceMembersResponseBodyPageInfo = DescribeInstanceMembersResponseBodyPageInfo;
|
|
4664
|
+
class DescribeInternetTrafficTrendResponseBodyDataList extends $tea.Model {
|
|
4665
|
+
constructor(map) {
|
|
4666
|
+
super(map);
|
|
4667
|
+
}
|
|
4668
|
+
static names() {
|
|
4669
|
+
return {
|
|
4670
|
+
inBps: 'InBps',
|
|
4671
|
+
inBytes: 'InBytes',
|
|
4672
|
+
inPps: 'InPps',
|
|
4673
|
+
newConn: 'NewConn',
|
|
4674
|
+
outBps: 'OutBps',
|
|
4675
|
+
outBytes: 'OutBytes',
|
|
4676
|
+
outPps: 'OutPps',
|
|
4677
|
+
sessionCount: 'SessionCount',
|
|
4678
|
+
time: 'Time',
|
|
4679
|
+
};
|
|
4680
|
+
}
|
|
4681
|
+
static types() {
|
|
4682
|
+
return {
|
|
4683
|
+
inBps: 'number',
|
|
4684
|
+
inBytes: 'number',
|
|
4685
|
+
inPps: 'number',
|
|
4686
|
+
newConn: 'number',
|
|
4687
|
+
outBps: 'number',
|
|
4688
|
+
outBytes: 'number',
|
|
4689
|
+
outPps: 'number',
|
|
4690
|
+
sessionCount: 'number',
|
|
4691
|
+
time: 'number',
|
|
4692
|
+
};
|
|
4693
|
+
}
|
|
4694
|
+
}
|
|
4695
|
+
exports.DescribeInternetTrafficTrendResponseBodyDataList = DescribeInternetTrafficTrendResponseBodyDataList;
|
|
3710
4696
|
class DescribeInvadeEventListResponseBodyEventList extends $tea.Model {
|
|
3711
4697
|
constructor(map) {
|
|
3712
4698
|
super(map);
|
|
@@ -4068,67 +5054,237 @@ class DescribeRiskEventGroupResponseBodyDataListVpcSrcInfo extends $tea.Model {
|
|
|
4068
5054
|
};
|
|
4069
5055
|
}
|
|
4070
5056
|
}
|
|
4071
|
-
exports.DescribeRiskEventGroupResponseBodyDataListVpcSrcInfo = DescribeRiskEventGroupResponseBodyDataListVpcSrcInfo;
|
|
4072
|
-
class DescribeRiskEventGroupResponseBodyDataList extends $tea.Model {
|
|
5057
|
+
exports.DescribeRiskEventGroupResponseBodyDataListVpcSrcInfo = DescribeRiskEventGroupResponseBodyDataListVpcSrcInfo;
|
|
5058
|
+
class DescribeRiskEventGroupResponseBodyDataList extends $tea.Model {
|
|
5059
|
+
constructor(map) {
|
|
5060
|
+
super(map);
|
|
5061
|
+
}
|
|
5062
|
+
static names() {
|
|
5063
|
+
return {
|
|
5064
|
+
attackApp: 'AttackApp',
|
|
5065
|
+
attackType: 'AttackType',
|
|
5066
|
+
description: 'Description',
|
|
5067
|
+
direction: 'Direction',
|
|
5068
|
+
dstIP: 'DstIP',
|
|
5069
|
+
eventCount: 'EventCount',
|
|
5070
|
+
eventId: 'EventId',
|
|
5071
|
+
eventName: 'EventName',
|
|
5072
|
+
firstEventTime: 'FirstEventTime',
|
|
5073
|
+
IPLocationInfo: 'IPLocationInfo',
|
|
5074
|
+
lastEventTime: 'LastEventTime',
|
|
5075
|
+
resourcePrivateIPList: 'ResourcePrivateIPList',
|
|
5076
|
+
resourceType: 'ResourceType',
|
|
5077
|
+
ruleId: 'RuleId',
|
|
5078
|
+
ruleResult: 'RuleResult',
|
|
5079
|
+
ruleSource: 'RuleSource',
|
|
5080
|
+
srcIP: 'SrcIP',
|
|
5081
|
+
srcIPTag: 'SrcIPTag',
|
|
5082
|
+
srcPrivateIPList: 'SrcPrivateIPList',
|
|
5083
|
+
tag: 'Tag',
|
|
5084
|
+
vpcDstInfo: 'VpcDstInfo',
|
|
5085
|
+
vpcSrcInfo: 'VpcSrcInfo',
|
|
5086
|
+
vulLevel: 'VulLevel',
|
|
5087
|
+
};
|
|
5088
|
+
}
|
|
5089
|
+
static types() {
|
|
5090
|
+
return {
|
|
5091
|
+
attackApp: 'string',
|
|
5092
|
+
attackType: 'number',
|
|
5093
|
+
description: 'string',
|
|
5094
|
+
direction: 'string',
|
|
5095
|
+
dstIP: 'string',
|
|
5096
|
+
eventCount: 'number',
|
|
5097
|
+
eventId: 'string',
|
|
5098
|
+
eventName: 'string',
|
|
5099
|
+
firstEventTime: 'number',
|
|
5100
|
+
IPLocationInfo: DescribeRiskEventGroupResponseBodyDataListIPLocationInfo,
|
|
5101
|
+
lastEventTime: 'number',
|
|
5102
|
+
resourcePrivateIPList: { 'type': 'array', 'itemType': DescribeRiskEventGroupResponseBodyDataListResourcePrivateIPList },
|
|
5103
|
+
resourceType: 'string',
|
|
5104
|
+
ruleId: 'string',
|
|
5105
|
+
ruleResult: 'number',
|
|
5106
|
+
ruleSource: 'number',
|
|
5107
|
+
srcIP: 'string',
|
|
5108
|
+
srcIPTag: 'string',
|
|
5109
|
+
srcPrivateIPList: { 'type': 'array', 'itemType': 'string' },
|
|
5110
|
+
tag: 'string',
|
|
5111
|
+
vpcDstInfo: DescribeRiskEventGroupResponseBodyDataListVpcDstInfo,
|
|
5112
|
+
vpcSrcInfo: DescribeRiskEventGroupResponseBodyDataListVpcSrcInfo,
|
|
5113
|
+
vulLevel: 'number',
|
|
5114
|
+
};
|
|
5115
|
+
}
|
|
5116
|
+
}
|
|
5117
|
+
exports.DescribeRiskEventGroupResponseBodyDataList = DescribeRiskEventGroupResponseBodyDataList;
|
|
5118
|
+
class DescribeTrFirewallPolicyBackUpAssociationListResponseBodyPolicyAssociationBackupConfigs extends $tea.Model {
|
|
5119
|
+
constructor(map) {
|
|
5120
|
+
super(map);
|
|
5121
|
+
}
|
|
5122
|
+
static names() {
|
|
5123
|
+
return {
|
|
5124
|
+
candidateId: 'CandidateId',
|
|
5125
|
+
candidateName: 'CandidateName',
|
|
5126
|
+
candidateType: 'CandidateType',
|
|
5127
|
+
currentRouteTableId: 'CurrentRouteTableId',
|
|
5128
|
+
originalRouteTableId: 'OriginalRouteTableId',
|
|
5129
|
+
};
|
|
5130
|
+
}
|
|
5131
|
+
static types() {
|
|
5132
|
+
return {
|
|
5133
|
+
candidateId: 'string',
|
|
5134
|
+
candidateName: 'string',
|
|
5135
|
+
candidateType: 'string',
|
|
5136
|
+
currentRouteTableId: 'string',
|
|
5137
|
+
originalRouteTableId: 'string',
|
|
5138
|
+
};
|
|
5139
|
+
}
|
|
5140
|
+
}
|
|
5141
|
+
exports.DescribeTrFirewallPolicyBackUpAssociationListResponseBodyPolicyAssociationBackupConfigs = DescribeTrFirewallPolicyBackUpAssociationListResponseBodyPolicyAssociationBackupConfigs;
|
|
5142
|
+
class DescribeTrFirewallV2RoutePolicyListResponseBodyTrFirewallRoutePoliciesDestCandidateList extends $tea.Model {
|
|
5143
|
+
constructor(map) {
|
|
5144
|
+
super(map);
|
|
5145
|
+
}
|
|
5146
|
+
static names() {
|
|
5147
|
+
return {
|
|
5148
|
+
candidateId: 'CandidateId',
|
|
5149
|
+
candidateType: 'CandidateType',
|
|
5150
|
+
};
|
|
5151
|
+
}
|
|
5152
|
+
static types() {
|
|
5153
|
+
return {
|
|
5154
|
+
candidateId: 'string',
|
|
5155
|
+
candidateType: 'string',
|
|
5156
|
+
};
|
|
5157
|
+
}
|
|
5158
|
+
}
|
|
5159
|
+
exports.DescribeTrFirewallV2RoutePolicyListResponseBodyTrFirewallRoutePoliciesDestCandidateList = DescribeTrFirewallV2RoutePolicyListResponseBodyTrFirewallRoutePoliciesDestCandidateList;
|
|
5160
|
+
class DescribeTrFirewallV2RoutePolicyListResponseBodyTrFirewallRoutePoliciesSrcCandidateList extends $tea.Model {
|
|
5161
|
+
constructor(map) {
|
|
5162
|
+
super(map);
|
|
5163
|
+
}
|
|
5164
|
+
static names() {
|
|
5165
|
+
return {
|
|
5166
|
+
candidateId: 'CandidateId',
|
|
5167
|
+
candidateType: 'CandidateType',
|
|
5168
|
+
};
|
|
5169
|
+
}
|
|
5170
|
+
static types() {
|
|
5171
|
+
return {
|
|
5172
|
+
candidateId: 'string',
|
|
5173
|
+
candidateType: 'string',
|
|
5174
|
+
};
|
|
5175
|
+
}
|
|
5176
|
+
}
|
|
5177
|
+
exports.DescribeTrFirewallV2RoutePolicyListResponseBodyTrFirewallRoutePoliciesSrcCandidateList = DescribeTrFirewallV2RoutePolicyListResponseBodyTrFirewallRoutePoliciesSrcCandidateList;
|
|
5178
|
+
class DescribeTrFirewallV2RoutePolicyListResponseBodyTrFirewallRoutePolicies extends $tea.Model {
|
|
5179
|
+
constructor(map) {
|
|
5180
|
+
super(map);
|
|
5181
|
+
}
|
|
5182
|
+
static names() {
|
|
5183
|
+
return {
|
|
5184
|
+
destCandidateList: 'DestCandidateList',
|
|
5185
|
+
policyDescription: 'PolicyDescription',
|
|
5186
|
+
policyName: 'PolicyName',
|
|
5187
|
+
policyStatus: 'PolicyStatus',
|
|
5188
|
+
policyType: 'PolicyType',
|
|
5189
|
+
srcCandidateList: 'SrcCandidateList',
|
|
5190
|
+
trFirewallRoutePolicyId: 'TrFirewallRoutePolicyId',
|
|
5191
|
+
};
|
|
5192
|
+
}
|
|
5193
|
+
static types() {
|
|
5194
|
+
return {
|
|
5195
|
+
destCandidateList: { 'type': 'array', 'itemType': DescribeTrFirewallV2RoutePolicyListResponseBodyTrFirewallRoutePoliciesDestCandidateList },
|
|
5196
|
+
policyDescription: 'string',
|
|
5197
|
+
policyName: 'string',
|
|
5198
|
+
policyStatus: 'string',
|
|
5199
|
+
policyType: 'string',
|
|
5200
|
+
srcCandidateList: { 'type': 'array', 'itemType': DescribeTrFirewallV2RoutePolicyListResponseBodyTrFirewallRoutePoliciesSrcCandidateList },
|
|
5201
|
+
trFirewallRoutePolicyId: 'string',
|
|
5202
|
+
};
|
|
5203
|
+
}
|
|
5204
|
+
}
|
|
5205
|
+
exports.DescribeTrFirewallV2RoutePolicyListResponseBodyTrFirewallRoutePolicies = DescribeTrFirewallV2RoutePolicyListResponseBodyTrFirewallRoutePolicies;
|
|
5206
|
+
class DescribeTrFirewallsV2ListResponseBodyVpcTrFirewallsIpsConfig extends $tea.Model {
|
|
5207
|
+
constructor(map) {
|
|
5208
|
+
super(map);
|
|
5209
|
+
}
|
|
5210
|
+
static names() {
|
|
5211
|
+
return {
|
|
5212
|
+
basicRules: 'BasicRules',
|
|
5213
|
+
enableAllPatch: 'EnableAllPatch',
|
|
5214
|
+
runMode: 'RunMode',
|
|
5215
|
+
};
|
|
5216
|
+
}
|
|
5217
|
+
static types() {
|
|
5218
|
+
return {
|
|
5219
|
+
basicRules: 'number',
|
|
5220
|
+
enableAllPatch: 'number',
|
|
5221
|
+
runMode: 'number',
|
|
5222
|
+
};
|
|
5223
|
+
}
|
|
5224
|
+
}
|
|
5225
|
+
exports.DescribeTrFirewallsV2ListResponseBodyVpcTrFirewallsIpsConfig = DescribeTrFirewallsV2ListResponseBodyVpcTrFirewallsIpsConfig;
|
|
5226
|
+
class DescribeTrFirewallsV2ListResponseBodyVpcTrFirewalls extends $tea.Model {
|
|
5227
|
+
constructor(map) {
|
|
5228
|
+
super(map);
|
|
5229
|
+
}
|
|
5230
|
+
static names() {
|
|
5231
|
+
return {
|
|
5232
|
+
cenId: 'CenId',
|
|
5233
|
+
cenName: 'CenName',
|
|
5234
|
+
firewallId: 'FirewallId',
|
|
5235
|
+
firewallSwitchStatus: 'FirewallSwitchStatus',
|
|
5236
|
+
ipsConfig: 'IpsConfig',
|
|
5237
|
+
ownerId: 'OwnerId',
|
|
5238
|
+
precheckStatus: 'PrecheckStatus',
|
|
5239
|
+
regionNo: 'RegionNo',
|
|
5240
|
+
regionStatus: 'RegionStatus',
|
|
5241
|
+
resultCode: 'ResultCode',
|
|
5242
|
+
routeMode: 'RouteMode',
|
|
5243
|
+
transitRouterId: 'TransitRouterId',
|
|
5244
|
+
vpcFirewallName: 'VpcFirewallName',
|
|
5245
|
+
};
|
|
5246
|
+
}
|
|
5247
|
+
static types() {
|
|
5248
|
+
return {
|
|
5249
|
+
cenId: 'string',
|
|
5250
|
+
cenName: 'string',
|
|
5251
|
+
firewallId: 'string',
|
|
5252
|
+
firewallSwitchStatus: 'string',
|
|
5253
|
+
ipsConfig: DescribeTrFirewallsV2ListResponseBodyVpcTrFirewallsIpsConfig,
|
|
5254
|
+
ownerId: 'number',
|
|
5255
|
+
precheckStatus: 'string',
|
|
5256
|
+
regionNo: 'string',
|
|
5257
|
+
regionStatus: 'string',
|
|
5258
|
+
resultCode: 'string',
|
|
5259
|
+
routeMode: 'string',
|
|
5260
|
+
transitRouterId: 'string',
|
|
5261
|
+
vpcFirewallName: 'string',
|
|
5262
|
+
};
|
|
5263
|
+
}
|
|
5264
|
+
}
|
|
5265
|
+
exports.DescribeTrFirewallsV2ListResponseBodyVpcTrFirewalls = DescribeTrFirewallsV2ListResponseBodyVpcTrFirewalls;
|
|
5266
|
+
class DescribeTrFirewallsV2RouteListResponseBodyFirewallRouteDetailList extends $tea.Model {
|
|
4073
5267
|
constructor(map) {
|
|
4074
5268
|
super(map);
|
|
4075
5269
|
}
|
|
4076
5270
|
static names() {
|
|
4077
5271
|
return {
|
|
4078
|
-
|
|
4079
|
-
|
|
4080
|
-
|
|
4081
|
-
|
|
4082
|
-
dstIP: 'DstIP',
|
|
4083
|
-
eventCount: 'EventCount',
|
|
4084
|
-
eventId: 'EventId',
|
|
4085
|
-
eventName: 'EventName',
|
|
4086
|
-
firstEventTime: 'FirstEventTime',
|
|
4087
|
-
IPLocationInfo: 'IPLocationInfo',
|
|
4088
|
-
lastEventTime: 'LastEventTime',
|
|
4089
|
-
resourcePrivateIPList: 'ResourcePrivateIPList',
|
|
4090
|
-
resourceType: 'ResourceType',
|
|
4091
|
-
ruleId: 'RuleId',
|
|
4092
|
-
ruleResult: 'RuleResult',
|
|
4093
|
-
ruleSource: 'RuleSource',
|
|
4094
|
-
srcIP: 'SrcIP',
|
|
4095
|
-
srcIPTag: 'SrcIPTag',
|
|
4096
|
-
srcPrivateIPList: 'SrcPrivateIPList',
|
|
4097
|
-
tag: 'Tag',
|
|
4098
|
-
vpcDstInfo: 'VpcDstInfo',
|
|
4099
|
-
vpcSrcInfo: 'VpcSrcInfo',
|
|
4100
|
-
vulLevel: 'VulLevel',
|
|
5272
|
+
trFirewallRouteDestination: 'TrFirewallRouteDestination',
|
|
5273
|
+
trFirewallRouteNexthop: 'TrFirewallRouteNexthop',
|
|
5274
|
+
trFirewallRoutePolicyId: 'TrFirewallRoutePolicyId',
|
|
5275
|
+
trFirewallRouteTableId: 'TrFirewallRouteTableId',
|
|
4101
5276
|
};
|
|
4102
5277
|
}
|
|
4103
5278
|
static types() {
|
|
4104
5279
|
return {
|
|
4105
|
-
|
|
4106
|
-
|
|
4107
|
-
|
|
4108
|
-
|
|
4109
|
-
dstIP: 'string',
|
|
4110
|
-
eventCount: 'number',
|
|
4111
|
-
eventId: 'string',
|
|
4112
|
-
eventName: 'string',
|
|
4113
|
-
firstEventTime: 'number',
|
|
4114
|
-
IPLocationInfo: DescribeRiskEventGroupResponseBodyDataListIPLocationInfo,
|
|
4115
|
-
lastEventTime: 'number',
|
|
4116
|
-
resourcePrivateIPList: { 'type': 'array', 'itemType': DescribeRiskEventGroupResponseBodyDataListResourcePrivateIPList },
|
|
4117
|
-
resourceType: 'string',
|
|
4118
|
-
ruleId: 'string',
|
|
4119
|
-
ruleResult: 'number',
|
|
4120
|
-
ruleSource: 'number',
|
|
4121
|
-
srcIP: 'string',
|
|
4122
|
-
srcIPTag: 'string',
|
|
4123
|
-
srcPrivateIPList: { 'type': 'array', 'itemType': 'string' },
|
|
4124
|
-
tag: 'string',
|
|
4125
|
-
vpcDstInfo: DescribeRiskEventGroupResponseBodyDataListVpcDstInfo,
|
|
4126
|
-
vpcSrcInfo: DescribeRiskEventGroupResponseBodyDataListVpcSrcInfo,
|
|
4127
|
-
vulLevel: 'number',
|
|
5280
|
+
trFirewallRouteDestination: 'string',
|
|
5281
|
+
trFirewallRouteNexthop: 'string',
|
|
5282
|
+
trFirewallRoutePolicyId: 'string',
|
|
5283
|
+
trFirewallRouteTableId: 'string',
|
|
4128
5284
|
};
|
|
4129
5285
|
}
|
|
4130
5286
|
}
|
|
4131
|
-
exports.
|
|
5287
|
+
exports.DescribeTrFirewallsV2RouteListResponseBodyFirewallRouteDetailList = DescribeTrFirewallsV2RouteListResponseBodyFirewallRouteDetailList;
|
|
4132
5288
|
class DescribeVpcFirewallAclGroupListResponseBodyAclGroupList extends $tea.Model {
|
|
4133
5289
|
constructor(map) {
|
|
4134
5290
|
super(map);
|
|
@@ -4879,6 +6035,42 @@ class ModifyInstanceMemberAttributesRequestMembers extends $tea.Model {
|
|
|
4879
6035
|
}
|
|
4880
6036
|
}
|
|
4881
6037
|
exports.ModifyInstanceMemberAttributesRequestMembers = ModifyInstanceMemberAttributesRequestMembers;
|
|
6038
|
+
class ModifyTrFirewallV2RoutePolicyScopeRequestDestCandidateList extends $tea.Model {
|
|
6039
|
+
constructor(map) {
|
|
6040
|
+
super(map);
|
|
6041
|
+
}
|
|
6042
|
+
static names() {
|
|
6043
|
+
return {
|
|
6044
|
+
candidateId: 'CandidateId',
|
|
6045
|
+
candidateType: 'CandidateType',
|
|
6046
|
+
};
|
|
6047
|
+
}
|
|
6048
|
+
static types() {
|
|
6049
|
+
return {
|
|
6050
|
+
candidateId: 'string',
|
|
6051
|
+
candidateType: 'string',
|
|
6052
|
+
};
|
|
6053
|
+
}
|
|
6054
|
+
}
|
|
6055
|
+
exports.ModifyTrFirewallV2RoutePolicyScopeRequestDestCandidateList = ModifyTrFirewallV2RoutePolicyScopeRequestDestCandidateList;
|
|
6056
|
+
class ModifyTrFirewallV2RoutePolicyScopeRequestSrcCandidateList extends $tea.Model {
|
|
6057
|
+
constructor(map) {
|
|
6058
|
+
super(map);
|
|
6059
|
+
}
|
|
6060
|
+
static names() {
|
|
6061
|
+
return {
|
|
6062
|
+
candidateId: 'CandidateId',
|
|
6063
|
+
candidateType: 'CandidateType',
|
|
6064
|
+
};
|
|
6065
|
+
}
|
|
6066
|
+
static types() {
|
|
6067
|
+
return {
|
|
6068
|
+
candidateId: 'string',
|
|
6069
|
+
candidateType: 'string',
|
|
6070
|
+
};
|
|
6071
|
+
}
|
|
6072
|
+
}
|
|
6073
|
+
exports.ModifyTrFirewallV2RoutePolicyScopeRequestSrcCandidateList = ModifyTrFirewallV2RoutePolicyScopeRequestSrcCandidateList;
|
|
4882
6074
|
class Client extends openapi_client_1.default {
|
|
4883
6075
|
constructor(config) {
|
|
4884
6076
|
super(config);
|
|
@@ -4967,7 +6159,7 @@ class Client extends openapi_client_1.default {
|
|
|
4967
6159
|
return await this.addAddressBookWithOptions(request, runtime);
|
|
4968
6160
|
}
|
|
4969
6161
|
/**
|
|
4970
|
-
* You can call the AddControlPolicy operation to create an access control policy to allow,
|
|
6162
|
+
* You can call the AddControlPolicy operation to create an access control policy to allow, block, or monitor traffic that reaches Cloud Firewall.
|
|
4971
6163
|
* ## Limits
|
|
4972
6164
|
* You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
4973
6165
|
*
|
|
@@ -5049,7 +6241,7 @@ class Client extends openapi_client_1.default {
|
|
|
5049
6241
|
return $tea.cast(await this.callApi(params, req, runtime), new AddControlPolicyResponse({}));
|
|
5050
6242
|
}
|
|
5051
6243
|
/**
|
|
5052
|
-
* You can call the AddControlPolicy operation to create an access control policy to allow,
|
|
6244
|
+
* You can call the AddControlPolicy operation to create an access control policy to allow, block, or monitor traffic that reaches Cloud Firewall.
|
|
5053
6245
|
* ## Limits
|
|
5054
6246
|
* You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
5055
6247
|
*
|
|
@@ -5161,6 +6353,120 @@ class Client extends openapi_client_1.default {
|
|
|
5161
6353
|
let runtime = new $Util.RuntimeOptions({});
|
|
5162
6354
|
return await this.batchCopyVpcFirewallControlPolicyWithOptions(request, runtime);
|
|
5163
6355
|
}
|
|
6356
|
+
async createTrFirewallV2WithOptions(request, runtime) {
|
|
6357
|
+
tea_util_1.default.validateModel(request);
|
|
6358
|
+
let query = {};
|
|
6359
|
+
if (!tea_util_1.default.isUnset(request.cenId)) {
|
|
6360
|
+
query["CenId"] = request.cenId;
|
|
6361
|
+
}
|
|
6362
|
+
if (!tea_util_1.default.isUnset(request.firewallDescription)) {
|
|
6363
|
+
query["FirewallDescription"] = request.firewallDescription;
|
|
6364
|
+
}
|
|
6365
|
+
if (!tea_util_1.default.isUnset(request.firewallName)) {
|
|
6366
|
+
query["FirewallName"] = request.firewallName;
|
|
6367
|
+
}
|
|
6368
|
+
if (!tea_util_1.default.isUnset(request.firewallSubnetCidr)) {
|
|
6369
|
+
query["FirewallSubnetCidr"] = request.firewallSubnetCidr;
|
|
6370
|
+
}
|
|
6371
|
+
if (!tea_util_1.default.isUnset(request.firewallVpcCidr)) {
|
|
6372
|
+
query["FirewallVpcCidr"] = request.firewallVpcCidr;
|
|
6373
|
+
}
|
|
6374
|
+
if (!tea_util_1.default.isUnset(request.firewallVpcId)) {
|
|
6375
|
+
query["FirewallVpcId"] = request.firewallVpcId;
|
|
6376
|
+
}
|
|
6377
|
+
if (!tea_util_1.default.isUnset(request.firewallVswitchId)) {
|
|
6378
|
+
query["FirewallVswitchId"] = request.firewallVswitchId;
|
|
6379
|
+
}
|
|
6380
|
+
if (!tea_util_1.default.isUnset(request.lang)) {
|
|
6381
|
+
query["Lang"] = request.lang;
|
|
6382
|
+
}
|
|
6383
|
+
if (!tea_util_1.default.isUnset(request.regionNo)) {
|
|
6384
|
+
query["RegionNo"] = request.regionNo;
|
|
6385
|
+
}
|
|
6386
|
+
if (!tea_util_1.default.isUnset(request.routeMode)) {
|
|
6387
|
+
query["RouteMode"] = request.routeMode;
|
|
6388
|
+
}
|
|
6389
|
+
if (!tea_util_1.default.isUnset(request.trAttachmentMasterCidr)) {
|
|
6390
|
+
query["TrAttachmentMasterCidr"] = request.trAttachmentMasterCidr;
|
|
6391
|
+
}
|
|
6392
|
+
if (!tea_util_1.default.isUnset(request.trAttachmentSlaveCidr)) {
|
|
6393
|
+
query["TrAttachmentSlaveCidr"] = request.trAttachmentSlaveCidr;
|
|
6394
|
+
}
|
|
6395
|
+
if (!tea_util_1.default.isUnset(request.transitRouterId)) {
|
|
6396
|
+
query["TransitRouterId"] = request.transitRouterId;
|
|
6397
|
+
}
|
|
6398
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
6399
|
+
query: openapi_util_1.default.query(query),
|
|
6400
|
+
});
|
|
6401
|
+
let params = new $OpenApi.Params({
|
|
6402
|
+
action: "CreateTrFirewallV2",
|
|
6403
|
+
version: "2017-12-07",
|
|
6404
|
+
protocol: "HTTPS",
|
|
6405
|
+
pathname: "/",
|
|
6406
|
+
method: "POST",
|
|
6407
|
+
authType: "AK",
|
|
6408
|
+
style: "RPC",
|
|
6409
|
+
reqBodyType: "formData",
|
|
6410
|
+
bodyType: "json",
|
|
6411
|
+
});
|
|
6412
|
+
return $tea.cast(await this.callApi(params, req, runtime), new CreateTrFirewallV2Response({}));
|
|
6413
|
+
}
|
|
6414
|
+
async createTrFirewallV2(request) {
|
|
6415
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
6416
|
+
return await this.createTrFirewallV2WithOptions(request, runtime);
|
|
6417
|
+
}
|
|
6418
|
+
async createTrFirewallV2RoutePolicyWithOptions(tmpReq, runtime) {
|
|
6419
|
+
tea_util_1.default.validateModel(tmpReq);
|
|
6420
|
+
let request = new CreateTrFirewallV2RoutePolicyShrinkRequest({});
|
|
6421
|
+
openapi_util_1.default.convert(tmpReq, request);
|
|
6422
|
+
if (!tea_util_1.default.isUnset(tmpReq.destCandidateList)) {
|
|
6423
|
+
request.destCandidateListShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpReq.destCandidateList, "DestCandidateList", "json");
|
|
6424
|
+
}
|
|
6425
|
+
if (!tea_util_1.default.isUnset(tmpReq.srcCandidateList)) {
|
|
6426
|
+
request.srcCandidateListShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpReq.srcCandidateList, "SrcCandidateList", "json");
|
|
6427
|
+
}
|
|
6428
|
+
let query = {};
|
|
6429
|
+
if (!tea_util_1.default.isUnset(request.destCandidateListShrink)) {
|
|
6430
|
+
query["DestCandidateList"] = request.destCandidateListShrink;
|
|
6431
|
+
}
|
|
6432
|
+
if (!tea_util_1.default.isUnset(request.firewallId)) {
|
|
6433
|
+
query["FirewallId"] = request.firewallId;
|
|
6434
|
+
}
|
|
6435
|
+
if (!tea_util_1.default.isUnset(request.lang)) {
|
|
6436
|
+
query["Lang"] = request.lang;
|
|
6437
|
+
}
|
|
6438
|
+
if (!tea_util_1.default.isUnset(request.policyDescription)) {
|
|
6439
|
+
query["PolicyDescription"] = request.policyDescription;
|
|
6440
|
+
}
|
|
6441
|
+
if (!tea_util_1.default.isUnset(request.policyName)) {
|
|
6442
|
+
query["PolicyName"] = request.policyName;
|
|
6443
|
+
}
|
|
6444
|
+
if (!tea_util_1.default.isUnset(request.policyType)) {
|
|
6445
|
+
query["PolicyType"] = request.policyType;
|
|
6446
|
+
}
|
|
6447
|
+
if (!tea_util_1.default.isUnset(request.srcCandidateListShrink)) {
|
|
6448
|
+
query["SrcCandidateList"] = request.srcCandidateListShrink;
|
|
6449
|
+
}
|
|
6450
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
6451
|
+
query: openapi_util_1.default.query(query),
|
|
6452
|
+
});
|
|
6453
|
+
let params = new $OpenApi.Params({
|
|
6454
|
+
action: "CreateTrFirewallV2RoutePolicy",
|
|
6455
|
+
version: "2017-12-07",
|
|
6456
|
+
protocol: "HTTPS",
|
|
6457
|
+
pathname: "/",
|
|
6458
|
+
method: "POST",
|
|
6459
|
+
authType: "AK",
|
|
6460
|
+
style: "RPC",
|
|
6461
|
+
reqBodyType: "formData",
|
|
6462
|
+
bodyType: "json",
|
|
6463
|
+
});
|
|
6464
|
+
return $tea.cast(await this.callApi(params, req, runtime), new CreateTrFirewallV2RoutePolicyResponse({}));
|
|
6465
|
+
}
|
|
6466
|
+
async createTrFirewallV2RoutePolicy(request) {
|
|
6467
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
6468
|
+
return await this.createTrFirewallV2RoutePolicyWithOptions(request, runtime);
|
|
6469
|
+
}
|
|
5164
6470
|
/**
|
|
5165
6471
|
* You can call the CreateVpcFirewallCenConfigure operation to create a VPC firewall. The VPC firewall protects mutual access traffic between a specified VPC and a network instance that is attached to a CEN instance. The network instance can be a VPC, a virtual border router (VBR), or a Cloud Connect Network (CCN) instance. The VPC firewall cannot protect mutual access traffic between VBRs, between CCN instances, or between VBRs and CCN instances. For more information, see [VPC firewall limits](~~172295~~).
|
|
5166
6472
|
* ## Limits
|
|
@@ -5484,6 +6790,38 @@ class Client extends openapi_client_1.default {
|
|
|
5484
6790
|
let runtime = new $Util.RuntimeOptions({});
|
|
5485
6791
|
return await this.deleteControlPolicyWithOptions(request, runtime);
|
|
5486
6792
|
}
|
|
6793
|
+
async deleteFirewallV2RoutePoliciesWithOptions(request, runtime) {
|
|
6794
|
+
tea_util_1.default.validateModel(request);
|
|
6795
|
+
let query = {};
|
|
6796
|
+
if (!tea_util_1.default.isUnset(request.firewallId)) {
|
|
6797
|
+
query["FirewallId"] = request.firewallId;
|
|
6798
|
+
}
|
|
6799
|
+
if (!tea_util_1.default.isUnset(request.lang)) {
|
|
6800
|
+
query["Lang"] = request.lang;
|
|
6801
|
+
}
|
|
6802
|
+
if (!tea_util_1.default.isUnset(request.trFirewallRoutePolicyId)) {
|
|
6803
|
+
query["TrFirewallRoutePolicyId"] = request.trFirewallRoutePolicyId;
|
|
6804
|
+
}
|
|
6805
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
6806
|
+
query: openapi_util_1.default.query(query),
|
|
6807
|
+
});
|
|
6808
|
+
let params = new $OpenApi.Params({
|
|
6809
|
+
action: "DeleteFirewallV2RoutePolicies",
|
|
6810
|
+
version: "2017-12-07",
|
|
6811
|
+
protocol: "HTTPS",
|
|
6812
|
+
pathname: "/",
|
|
6813
|
+
method: "POST",
|
|
6814
|
+
authType: "AK",
|
|
6815
|
+
style: "RPC",
|
|
6816
|
+
reqBodyType: "formData",
|
|
6817
|
+
bodyType: "json",
|
|
6818
|
+
});
|
|
6819
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DeleteFirewallV2RoutePoliciesResponse({}));
|
|
6820
|
+
}
|
|
6821
|
+
async deleteFirewallV2RoutePolicies(request) {
|
|
6822
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
6823
|
+
return await this.deleteFirewallV2RoutePoliciesWithOptions(request, runtime);
|
|
6824
|
+
}
|
|
5487
6825
|
/**
|
|
5488
6826
|
* You can call the DeleteInstanceMembers operation to remove members from Cloud Firewall.
|
|
5489
6827
|
* ## Limits
|
|
@@ -5527,6 +6865,35 @@ class Client extends openapi_client_1.default {
|
|
|
5527
6865
|
let runtime = new $Util.RuntimeOptions({});
|
|
5528
6866
|
return await this.deleteInstanceMembersWithOptions(request, runtime);
|
|
5529
6867
|
}
|
|
6868
|
+
async deleteTrFirewallV2WithOptions(request, runtime) {
|
|
6869
|
+
tea_util_1.default.validateModel(request);
|
|
6870
|
+
let query = {};
|
|
6871
|
+
if (!tea_util_1.default.isUnset(request.firewallId)) {
|
|
6872
|
+
query["FirewallId"] = request.firewallId;
|
|
6873
|
+
}
|
|
6874
|
+
if (!tea_util_1.default.isUnset(request.lang)) {
|
|
6875
|
+
query["Lang"] = request.lang;
|
|
6876
|
+
}
|
|
6877
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
6878
|
+
query: openapi_util_1.default.query(query),
|
|
6879
|
+
});
|
|
6880
|
+
let params = new $OpenApi.Params({
|
|
6881
|
+
action: "DeleteTrFirewallV2",
|
|
6882
|
+
version: "2017-12-07",
|
|
6883
|
+
protocol: "HTTPS",
|
|
6884
|
+
pathname: "/",
|
|
6885
|
+
method: "POST",
|
|
6886
|
+
authType: "AK",
|
|
6887
|
+
style: "RPC",
|
|
6888
|
+
reqBodyType: "formData",
|
|
6889
|
+
bodyType: "json",
|
|
6890
|
+
});
|
|
6891
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DeleteTrFirewallV2Response({}));
|
|
6892
|
+
}
|
|
6893
|
+
async deleteTrFirewallV2(request) {
|
|
6894
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
6895
|
+
return await this.deleteTrFirewallV2WithOptions(request, runtime);
|
|
6896
|
+
}
|
|
5530
6897
|
/**
|
|
5531
6898
|
* You can call the DeleteVpcFirewallCenConfigure operation to delete a VPC firewall. The VPC firewall protects mutual access traffic between a VPC and a specified network instance that is attached to a CEN instance. The network instance can be a VPC, a virtual border router (VBR), or a Cloud Connect Network (CCN) instance. Before you call this operation, make sure that you have created a VPC firewall by calling the [CreateVpcFirewallCenConfigure](~~345772~~) operation.
|
|
5532
6899
|
* ## Limits
|
|
@@ -5960,23 +7327,84 @@ class Client extends openapi_client_1.default {
|
|
|
5960
7327
|
if (!tea_util_1.default.isUnset(request.currentPage)) {
|
|
5961
7328
|
query["CurrentPage"] = request.currentPage;
|
|
5962
7329
|
}
|
|
5963
|
-
if (!tea_util_1.default.isUnset(request.memberDesc)) {
|
|
5964
|
-
query["MemberDesc"] = request.memberDesc;
|
|
7330
|
+
if (!tea_util_1.default.isUnset(request.memberDesc)) {
|
|
7331
|
+
query["MemberDesc"] = request.memberDesc;
|
|
7332
|
+
}
|
|
7333
|
+
if (!tea_util_1.default.isUnset(request.memberDisplayName)) {
|
|
7334
|
+
query["MemberDisplayName"] = request.memberDisplayName;
|
|
7335
|
+
}
|
|
7336
|
+
if (!tea_util_1.default.isUnset(request.memberUid)) {
|
|
7337
|
+
query["MemberUid"] = request.memberUid;
|
|
7338
|
+
}
|
|
7339
|
+
if (!tea_util_1.default.isUnset(request.pageSize)) {
|
|
7340
|
+
query["PageSize"] = request.pageSize;
|
|
7341
|
+
}
|
|
7342
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
7343
|
+
query: openapi_util_1.default.query(query),
|
|
7344
|
+
});
|
|
7345
|
+
let params = new $OpenApi.Params({
|
|
7346
|
+
action: "DescribeInstanceMembers",
|
|
7347
|
+
version: "2017-12-07",
|
|
7348
|
+
protocol: "HTTPS",
|
|
7349
|
+
pathname: "/",
|
|
7350
|
+
method: "POST",
|
|
7351
|
+
authType: "AK",
|
|
7352
|
+
style: "RPC",
|
|
7353
|
+
reqBodyType: "formData",
|
|
7354
|
+
bodyType: "json",
|
|
7355
|
+
});
|
|
7356
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribeInstanceMembersResponse({}));
|
|
7357
|
+
}
|
|
7358
|
+
/**
|
|
7359
|
+
* You can call the DescribeInstanceMembers operation to query the information about members in Cloud Firewall.
|
|
7360
|
+
* ## Limits
|
|
7361
|
+
* You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
7362
|
+
*
|
|
7363
|
+
* @param request DescribeInstanceMembersRequest
|
|
7364
|
+
* @return DescribeInstanceMembersResponse
|
|
7365
|
+
*/
|
|
7366
|
+
async describeInstanceMembers(request) {
|
|
7367
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
7368
|
+
return await this.describeInstanceMembersWithOptions(request, runtime);
|
|
7369
|
+
}
|
|
7370
|
+
async describeInternetTrafficTrendWithOptions(request, runtime) {
|
|
7371
|
+
tea_util_1.default.validateModel(request);
|
|
7372
|
+
let query = {};
|
|
7373
|
+
if (!tea_util_1.default.isUnset(request.direction)) {
|
|
7374
|
+
query["Direction"] = request.direction;
|
|
7375
|
+
}
|
|
7376
|
+
if (!tea_util_1.default.isUnset(request.endTime)) {
|
|
7377
|
+
query["EndTime"] = request.endTime;
|
|
7378
|
+
}
|
|
7379
|
+
if (!tea_util_1.default.isUnset(request.lang)) {
|
|
7380
|
+
query["Lang"] = request.lang;
|
|
7381
|
+
}
|
|
7382
|
+
if (!tea_util_1.default.isUnset(request.lang)) {
|
|
7383
|
+
query["Lang"] = request.lang;
|
|
7384
|
+
}
|
|
7385
|
+
if (!tea_util_1.default.isUnset(request.sourceCode)) {
|
|
7386
|
+
query["SourceCode"] = request.sourceCode;
|
|
7387
|
+
}
|
|
7388
|
+
if (!tea_util_1.default.isUnset(request.sourceIp)) {
|
|
7389
|
+
query["SourceIp"] = request.sourceIp;
|
|
7390
|
+
}
|
|
7391
|
+
if (!tea_util_1.default.isUnset(request.srcPrivateIP)) {
|
|
7392
|
+
query["SrcPrivateIP"] = request.srcPrivateIP;
|
|
5965
7393
|
}
|
|
5966
|
-
if (!tea_util_1.default.isUnset(request.
|
|
5967
|
-
query["
|
|
7394
|
+
if (!tea_util_1.default.isUnset(request.srcPublicIP)) {
|
|
7395
|
+
query["SrcPublicIP"] = request.srcPublicIP;
|
|
5968
7396
|
}
|
|
5969
|
-
if (!tea_util_1.default.isUnset(request.
|
|
5970
|
-
query["
|
|
7397
|
+
if (!tea_util_1.default.isUnset(request.startTime)) {
|
|
7398
|
+
query["StartTime"] = request.startTime;
|
|
5971
7399
|
}
|
|
5972
|
-
if (!tea_util_1.default.isUnset(request.
|
|
5973
|
-
query["
|
|
7400
|
+
if (!tea_util_1.default.isUnset(request.trafficType)) {
|
|
7401
|
+
query["TrafficType"] = request.trafficType;
|
|
5974
7402
|
}
|
|
5975
7403
|
let req = new $OpenApi.OpenApiRequest({
|
|
5976
7404
|
query: openapi_util_1.default.query(query),
|
|
5977
7405
|
});
|
|
5978
7406
|
let params = new $OpenApi.Params({
|
|
5979
|
-
action: "
|
|
7407
|
+
action: "DescribeInternetTrafficTrend",
|
|
5980
7408
|
version: "2017-12-07",
|
|
5981
7409
|
protocol: "HTTPS",
|
|
5982
7410
|
pathname: "/",
|
|
@@ -5986,19 +7414,11 @@ class Client extends openapi_client_1.default {
|
|
|
5986
7414
|
reqBodyType: "formData",
|
|
5987
7415
|
bodyType: "json",
|
|
5988
7416
|
});
|
|
5989
|
-
return $tea.cast(await this.callApi(params, req, runtime), new
|
|
7417
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribeInternetTrafficTrendResponse({}));
|
|
5990
7418
|
}
|
|
5991
|
-
|
|
5992
|
-
* You can call the DescribeInstanceMembers operation to query the information about members in Cloud Firewall.
|
|
5993
|
-
* ## Limits
|
|
5994
|
-
* You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
5995
|
-
*
|
|
5996
|
-
* @param request DescribeInstanceMembersRequest
|
|
5997
|
-
* @return DescribeInstanceMembersResponse
|
|
5998
|
-
*/
|
|
5999
|
-
async describeInstanceMembers(request) {
|
|
7419
|
+
async describeInternetTrafficTrend(request) {
|
|
6000
7420
|
let runtime = new $Util.RuntimeOptions({});
|
|
6001
|
-
return await this.
|
|
7421
|
+
return await this.describeInternetTrafficTrendWithOptions(request, runtime);
|
|
6002
7422
|
}
|
|
6003
7423
|
async describeInvadeEventListWithOptions(request, runtime) {
|
|
6004
7424
|
tea_util_1.default.validateModel(request);
|
|
@@ -6402,6 +7822,199 @@ class Client extends openapi_client_1.default {
|
|
|
6402
7822
|
let runtime = new $Util.RuntimeOptions({});
|
|
6403
7823
|
return await this.describeRiskEventGroupWithOptions(request, runtime);
|
|
6404
7824
|
}
|
|
7825
|
+
async describeTrFirewallPolicyBackUpAssociationListWithOptions(request, runtime) {
|
|
7826
|
+
tea_util_1.default.validateModel(request);
|
|
7827
|
+
let query = {};
|
|
7828
|
+
if (!tea_util_1.default.isUnset(request.firewallId)) {
|
|
7829
|
+
query["FirewallId"] = request.firewallId;
|
|
7830
|
+
}
|
|
7831
|
+
if (!tea_util_1.default.isUnset(request.lang)) {
|
|
7832
|
+
query["Lang"] = request.lang;
|
|
7833
|
+
}
|
|
7834
|
+
if (!tea_util_1.default.isUnset(request.trFirewallRoutePolicyId)) {
|
|
7835
|
+
query["TrFirewallRoutePolicyId"] = request.trFirewallRoutePolicyId;
|
|
7836
|
+
}
|
|
7837
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
7838
|
+
query: openapi_util_1.default.query(query),
|
|
7839
|
+
});
|
|
7840
|
+
let params = new $OpenApi.Params({
|
|
7841
|
+
action: "DescribeTrFirewallPolicyBackUpAssociationList",
|
|
7842
|
+
version: "2017-12-07",
|
|
7843
|
+
protocol: "HTTPS",
|
|
7844
|
+
pathname: "/",
|
|
7845
|
+
method: "POST",
|
|
7846
|
+
authType: "AK",
|
|
7847
|
+
style: "RPC",
|
|
7848
|
+
reqBodyType: "formData",
|
|
7849
|
+
bodyType: "json",
|
|
7850
|
+
});
|
|
7851
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribeTrFirewallPolicyBackUpAssociationListResponse({}));
|
|
7852
|
+
}
|
|
7853
|
+
async describeTrFirewallPolicyBackUpAssociationList(request) {
|
|
7854
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
7855
|
+
return await this.describeTrFirewallPolicyBackUpAssociationListWithOptions(request, runtime);
|
|
7856
|
+
}
|
|
7857
|
+
async describeTrFirewallV2RoutePolicyListWithOptions(request, runtime) {
|
|
7858
|
+
tea_util_1.default.validateModel(request);
|
|
7859
|
+
let query = {};
|
|
7860
|
+
if (!tea_util_1.default.isUnset(request.currentPage)) {
|
|
7861
|
+
query["CurrentPage"] = request.currentPage;
|
|
7862
|
+
}
|
|
7863
|
+
if (!tea_util_1.default.isUnset(request.firewallId)) {
|
|
7864
|
+
query["FirewallId"] = request.firewallId;
|
|
7865
|
+
}
|
|
7866
|
+
if (!tea_util_1.default.isUnset(request.lang)) {
|
|
7867
|
+
query["Lang"] = request.lang;
|
|
7868
|
+
}
|
|
7869
|
+
if (!tea_util_1.default.isUnset(request.pageSize)) {
|
|
7870
|
+
query["PageSize"] = request.pageSize;
|
|
7871
|
+
}
|
|
7872
|
+
if (!tea_util_1.default.isUnset(request.policyId)) {
|
|
7873
|
+
query["PolicyId"] = request.policyId;
|
|
7874
|
+
}
|
|
7875
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
7876
|
+
query: openapi_util_1.default.query(query),
|
|
7877
|
+
});
|
|
7878
|
+
let params = new $OpenApi.Params({
|
|
7879
|
+
action: "DescribeTrFirewallV2RoutePolicyList",
|
|
7880
|
+
version: "2017-12-07",
|
|
7881
|
+
protocol: "HTTPS",
|
|
7882
|
+
pathname: "/",
|
|
7883
|
+
method: "POST",
|
|
7884
|
+
authType: "AK",
|
|
7885
|
+
style: "RPC",
|
|
7886
|
+
reqBodyType: "formData",
|
|
7887
|
+
bodyType: "json",
|
|
7888
|
+
});
|
|
7889
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribeTrFirewallV2RoutePolicyListResponse({}));
|
|
7890
|
+
}
|
|
7891
|
+
async describeTrFirewallV2RoutePolicyList(request) {
|
|
7892
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
7893
|
+
return await this.describeTrFirewallV2RoutePolicyListWithOptions(request, runtime);
|
|
7894
|
+
}
|
|
7895
|
+
async describeTrFirewallsV2DetailWithOptions(request, runtime) {
|
|
7896
|
+
tea_util_1.default.validateModel(request);
|
|
7897
|
+
let query = {};
|
|
7898
|
+
if (!tea_util_1.default.isUnset(request.firewallId)) {
|
|
7899
|
+
query["FirewallId"] = request.firewallId;
|
|
7900
|
+
}
|
|
7901
|
+
if (!tea_util_1.default.isUnset(request.lang)) {
|
|
7902
|
+
query["Lang"] = request.lang;
|
|
7903
|
+
}
|
|
7904
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
7905
|
+
query: openapi_util_1.default.query(query),
|
|
7906
|
+
});
|
|
7907
|
+
let params = new $OpenApi.Params({
|
|
7908
|
+
action: "DescribeTrFirewallsV2Detail",
|
|
7909
|
+
version: "2017-12-07",
|
|
7910
|
+
protocol: "HTTPS",
|
|
7911
|
+
pathname: "/",
|
|
7912
|
+
method: "POST",
|
|
7913
|
+
authType: "AK",
|
|
7914
|
+
style: "RPC",
|
|
7915
|
+
reqBodyType: "formData",
|
|
7916
|
+
bodyType: "json",
|
|
7917
|
+
});
|
|
7918
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribeTrFirewallsV2DetailResponse({}));
|
|
7919
|
+
}
|
|
7920
|
+
async describeTrFirewallsV2Detail(request) {
|
|
7921
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
7922
|
+
return await this.describeTrFirewallsV2DetailWithOptions(request, runtime);
|
|
7923
|
+
}
|
|
7924
|
+
async describeTrFirewallsV2ListWithOptions(request, runtime) {
|
|
7925
|
+
tea_util_1.default.validateModel(request);
|
|
7926
|
+
let query = {};
|
|
7927
|
+
if (!tea_util_1.default.isUnset(request.cenId)) {
|
|
7928
|
+
query["CenId"] = request.cenId;
|
|
7929
|
+
}
|
|
7930
|
+
if (!tea_util_1.default.isUnset(request.currentPage)) {
|
|
7931
|
+
query["CurrentPage"] = request.currentPage;
|
|
7932
|
+
}
|
|
7933
|
+
if (!tea_util_1.default.isUnset(request.firewallId)) {
|
|
7934
|
+
query["FirewallId"] = request.firewallId;
|
|
7935
|
+
}
|
|
7936
|
+
if (!tea_util_1.default.isUnset(request.firewallName)) {
|
|
7937
|
+
query["FirewallName"] = request.firewallName;
|
|
7938
|
+
}
|
|
7939
|
+
if (!tea_util_1.default.isUnset(request.firewallSwitchStatus)) {
|
|
7940
|
+
query["FirewallSwitchStatus"] = request.firewallSwitchStatus;
|
|
7941
|
+
}
|
|
7942
|
+
if (!tea_util_1.default.isUnset(request.lang)) {
|
|
7943
|
+
query["Lang"] = request.lang;
|
|
7944
|
+
}
|
|
7945
|
+
if (!tea_util_1.default.isUnset(request.ownerId)) {
|
|
7946
|
+
query["OwnerId"] = request.ownerId;
|
|
7947
|
+
}
|
|
7948
|
+
if (!tea_util_1.default.isUnset(request.pageSize)) {
|
|
7949
|
+
query["PageSize"] = request.pageSize;
|
|
7950
|
+
}
|
|
7951
|
+
if (!tea_util_1.default.isUnset(request.regionNo)) {
|
|
7952
|
+
query["RegionNo"] = request.regionNo;
|
|
7953
|
+
}
|
|
7954
|
+
if (!tea_util_1.default.isUnset(request.routeMode)) {
|
|
7955
|
+
query["RouteMode"] = request.routeMode;
|
|
7956
|
+
}
|
|
7957
|
+
if (!tea_util_1.default.isUnset(request.transitRouterId)) {
|
|
7958
|
+
query["TransitRouterId"] = request.transitRouterId;
|
|
7959
|
+
}
|
|
7960
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
7961
|
+
query: openapi_util_1.default.query(query),
|
|
7962
|
+
});
|
|
7963
|
+
let params = new $OpenApi.Params({
|
|
7964
|
+
action: "DescribeTrFirewallsV2List",
|
|
7965
|
+
version: "2017-12-07",
|
|
7966
|
+
protocol: "HTTPS",
|
|
7967
|
+
pathname: "/",
|
|
7968
|
+
method: "POST",
|
|
7969
|
+
authType: "AK",
|
|
7970
|
+
style: "RPC",
|
|
7971
|
+
reqBodyType: "formData",
|
|
7972
|
+
bodyType: "json",
|
|
7973
|
+
});
|
|
7974
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribeTrFirewallsV2ListResponse({}));
|
|
7975
|
+
}
|
|
7976
|
+
async describeTrFirewallsV2List(request) {
|
|
7977
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
7978
|
+
return await this.describeTrFirewallsV2ListWithOptions(request, runtime);
|
|
7979
|
+
}
|
|
7980
|
+
async describeTrFirewallsV2RouteListWithOptions(request, runtime) {
|
|
7981
|
+
tea_util_1.default.validateModel(request);
|
|
7982
|
+
let query = {};
|
|
7983
|
+
if (!tea_util_1.default.isUnset(request.currentPage)) {
|
|
7984
|
+
query["CurrentPage"] = request.currentPage;
|
|
7985
|
+
}
|
|
7986
|
+
if (!tea_util_1.default.isUnset(request.firewallId)) {
|
|
7987
|
+
query["FirewallId"] = request.firewallId;
|
|
7988
|
+
}
|
|
7989
|
+
if (!tea_util_1.default.isUnset(request.lang)) {
|
|
7990
|
+
query["Lang"] = request.lang;
|
|
7991
|
+
}
|
|
7992
|
+
if (!tea_util_1.default.isUnset(request.pageSize)) {
|
|
7993
|
+
query["PageSize"] = request.pageSize;
|
|
7994
|
+
}
|
|
7995
|
+
if (!tea_util_1.default.isUnset(request.trFirewallRoutePolicyId)) {
|
|
7996
|
+
query["TrFirewallRoutePolicyId"] = request.trFirewallRoutePolicyId;
|
|
7997
|
+
}
|
|
7998
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
7999
|
+
query: openapi_util_1.default.query(query),
|
|
8000
|
+
});
|
|
8001
|
+
let params = new $OpenApi.Params({
|
|
8002
|
+
action: "DescribeTrFirewallsV2RouteList",
|
|
8003
|
+
version: "2017-12-07",
|
|
8004
|
+
protocol: "HTTPS",
|
|
8005
|
+
pathname: "/",
|
|
8006
|
+
method: "POST",
|
|
8007
|
+
authType: "AK",
|
|
8008
|
+
style: "RPC",
|
|
8009
|
+
reqBodyType: "formData",
|
|
8010
|
+
bodyType: "json",
|
|
8011
|
+
});
|
|
8012
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribeTrFirewallsV2RouteListResponse({}));
|
|
8013
|
+
}
|
|
8014
|
+
async describeTrFirewallsV2RouteList(request) {
|
|
8015
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
8016
|
+
return await this.describeTrFirewallsV2RouteListWithOptions(request, runtime);
|
|
8017
|
+
}
|
|
6405
8018
|
async describeUserAssetIPTrafficInfoWithOptions(request, runtime) {
|
|
6406
8019
|
tea_util_1.default.validateModel(request);
|
|
6407
8020
|
let query = openapi_util_1.default.query(tea_util_1.default.toMap(request));
|
|
@@ -6615,7 +8228,9 @@ class Client extends openapi_client_1.default {
|
|
|
6615
8228
|
return await this.describeVpcFirewallCenListWithOptions(request, runtime);
|
|
6616
8229
|
}
|
|
6617
8230
|
/**
|
|
6618
|
-
* You can call the DescribeVpcFirewallControlPolicy operation to query the
|
|
8231
|
+
* You can call the DescribeVpcFirewallControlPolicy operation to query the information about all access control policies that are created for a specified VPC firewall. Different access control policies are used when a VPC firewall is used to protect traffic between two VPCs that are connected by using a Cloud Enterprise Network (CEN) instance or an Express Connect circuit.
|
|
8232
|
+
* ## Limits
|
|
8233
|
+
* You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
6619
8234
|
*
|
|
6620
8235
|
* @param request DescribeVpcFirewallControlPolicyRequest
|
|
6621
8236
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -6677,7 +8292,9 @@ class Client extends openapi_client_1.default {
|
|
|
6677
8292
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeVpcFirewallControlPolicyResponse({}));
|
|
6678
8293
|
}
|
|
6679
8294
|
/**
|
|
6680
|
-
* You can call the DescribeVpcFirewallControlPolicy operation to query the
|
|
8295
|
+
* You can call the DescribeVpcFirewallControlPolicy operation to query the information about all access control policies that are created for a specified VPC firewall. Different access control policies are used when a VPC firewall is used to protect traffic between two VPCs that are connected by using a Cloud Enterprise Network (CEN) instance or an Express Connect circuit.
|
|
8296
|
+
* ## Limits
|
|
8297
|
+
* You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
6681
8298
|
*
|
|
6682
8299
|
* @param request DescribeVpcFirewallControlPolicyRequest
|
|
6683
8300
|
* @return DescribeVpcFirewallControlPolicyResponse
|
|
@@ -6791,8 +8408,8 @@ class Client extends openapi_client_1.default {
|
|
|
6791
8408
|
}
|
|
6792
8409
|
/**
|
|
6793
8410
|
* You can call the DescribeVpcFirewallList operation to query the details about VPC firewalls by page. Each VPC firewall protects traffic between two VPCs that are connected by using an Express Connect circuit.
|
|
6794
|
-
*
|
|
6795
|
-
* You can call this operation up to 10 times per second per account. If the number of
|
|
8411
|
+
* ### Limits
|
|
8412
|
+
* You can call this operation up to 10 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
6796
8413
|
*
|
|
6797
8414
|
* @param request DescribeVpcFirewallListRequest
|
|
6798
8415
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -6855,8 +8472,8 @@ class Client extends openapi_client_1.default {
|
|
|
6855
8472
|
}
|
|
6856
8473
|
/**
|
|
6857
8474
|
* You can call the DescribeVpcFirewallList operation to query the details about VPC firewalls by page. Each VPC firewall protects traffic between two VPCs that are connected by using an Express Connect circuit.
|
|
6858
|
-
*
|
|
6859
|
-
* You can call this operation up to 10 times per second per account. If the number of
|
|
8475
|
+
* ### Limits
|
|
8476
|
+
* You can call this operation up to 10 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
6860
8477
|
*
|
|
6861
8478
|
* @param request DescribeVpcFirewallListRequest
|
|
6862
8479
|
* @return DescribeVpcFirewallListResponse
|
|
@@ -7198,6 +8815,44 @@ class Client extends openapi_client_1.default {
|
|
|
7198
8815
|
let runtime = new $Util.RuntimeOptions({});
|
|
7199
8816
|
return await this.modifyControlPolicyPositionWithOptions(request, runtime);
|
|
7200
8817
|
}
|
|
8818
|
+
async modifyFirewallV2RoutePolicySwitchWithOptions(request, runtime) {
|
|
8819
|
+
tea_util_1.default.validateModel(request);
|
|
8820
|
+
let query = {};
|
|
8821
|
+
if (!tea_util_1.default.isUnset(request.firewallId)) {
|
|
8822
|
+
query["FirewallId"] = request.firewallId;
|
|
8823
|
+
}
|
|
8824
|
+
if (!tea_util_1.default.isUnset(request.lang)) {
|
|
8825
|
+
query["Lang"] = request.lang;
|
|
8826
|
+
}
|
|
8827
|
+
if (!tea_util_1.default.isUnset(request.shouldRecover)) {
|
|
8828
|
+
query["ShouldRecover"] = request.shouldRecover;
|
|
8829
|
+
}
|
|
8830
|
+
if (!tea_util_1.default.isUnset(request.trFirewallRoutePolicyId)) {
|
|
8831
|
+
query["TrFirewallRoutePolicyId"] = request.trFirewallRoutePolicyId;
|
|
8832
|
+
}
|
|
8833
|
+
if (!tea_util_1.default.isUnset(request.trFirewallRoutePolicySwitchStatus)) {
|
|
8834
|
+
query["TrFirewallRoutePolicySwitchStatus"] = request.trFirewallRoutePolicySwitchStatus;
|
|
8835
|
+
}
|
|
8836
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
8837
|
+
query: openapi_util_1.default.query(query),
|
|
8838
|
+
});
|
|
8839
|
+
let params = new $OpenApi.Params({
|
|
8840
|
+
action: "ModifyFirewallV2RoutePolicySwitch",
|
|
8841
|
+
version: "2017-12-07",
|
|
8842
|
+
protocol: "HTTPS",
|
|
8843
|
+
pathname: "/",
|
|
8844
|
+
method: "POST",
|
|
8845
|
+
authType: "AK",
|
|
8846
|
+
style: "RPC",
|
|
8847
|
+
reqBodyType: "formData",
|
|
8848
|
+
bodyType: "json",
|
|
8849
|
+
});
|
|
8850
|
+
return $tea.cast(await this.callApi(params, req, runtime), new ModifyFirewallV2RoutePolicySwitchResponse({}));
|
|
8851
|
+
}
|
|
8852
|
+
async modifyFirewallV2RoutePolicySwitch(request) {
|
|
8853
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
8854
|
+
return await this.modifyFirewallV2RoutePolicySwitchWithOptions(request, runtime);
|
|
8855
|
+
}
|
|
7201
8856
|
/**
|
|
7202
8857
|
* You can call the ModifyInstanceMemberAttributes operation to update the information about members in Cloud Firewall.
|
|
7203
8858
|
* ## Limits
|
|
@@ -7290,6 +8945,84 @@ class Client extends openapi_client_1.default {
|
|
|
7290
8945
|
let runtime = new $Util.RuntimeOptions({});
|
|
7291
8946
|
return await this.modifyPolicyAdvancedConfigWithOptions(request, runtime);
|
|
7292
8947
|
}
|
|
8948
|
+
async modifyTrFirewallV2ConfigurationWithOptions(request, runtime) {
|
|
8949
|
+
tea_util_1.default.validateModel(request);
|
|
8950
|
+
let query = {};
|
|
8951
|
+
if (!tea_util_1.default.isUnset(request.firewallId)) {
|
|
8952
|
+
query["FirewallId"] = request.firewallId;
|
|
8953
|
+
}
|
|
8954
|
+
if (!tea_util_1.default.isUnset(request.firewallName)) {
|
|
8955
|
+
query["FirewallName"] = request.firewallName;
|
|
8956
|
+
}
|
|
8957
|
+
if (!tea_util_1.default.isUnset(request.lang)) {
|
|
8958
|
+
query["Lang"] = request.lang;
|
|
8959
|
+
}
|
|
8960
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
8961
|
+
query: openapi_util_1.default.query(query),
|
|
8962
|
+
});
|
|
8963
|
+
let params = new $OpenApi.Params({
|
|
8964
|
+
action: "ModifyTrFirewallV2Configuration",
|
|
8965
|
+
version: "2017-12-07",
|
|
8966
|
+
protocol: "HTTPS",
|
|
8967
|
+
pathname: "/",
|
|
8968
|
+
method: "POST",
|
|
8969
|
+
authType: "AK",
|
|
8970
|
+
style: "RPC",
|
|
8971
|
+
reqBodyType: "formData",
|
|
8972
|
+
bodyType: "json",
|
|
8973
|
+
});
|
|
8974
|
+
return $tea.cast(await this.callApi(params, req, runtime), new ModifyTrFirewallV2ConfigurationResponse({}));
|
|
8975
|
+
}
|
|
8976
|
+
async modifyTrFirewallV2Configuration(request) {
|
|
8977
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
8978
|
+
return await this.modifyTrFirewallV2ConfigurationWithOptions(request, runtime);
|
|
8979
|
+
}
|
|
8980
|
+
async modifyTrFirewallV2RoutePolicyScopeWithOptions(tmpReq, runtime) {
|
|
8981
|
+
tea_util_1.default.validateModel(tmpReq);
|
|
8982
|
+
let request = new ModifyTrFirewallV2RoutePolicyScopeShrinkRequest({});
|
|
8983
|
+
openapi_util_1.default.convert(tmpReq, request);
|
|
8984
|
+
if (!tea_util_1.default.isUnset(tmpReq.destCandidateList)) {
|
|
8985
|
+
request.destCandidateListShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpReq.destCandidateList, "DestCandidateList", "json");
|
|
8986
|
+
}
|
|
8987
|
+
if (!tea_util_1.default.isUnset(tmpReq.srcCandidateList)) {
|
|
8988
|
+
request.srcCandidateListShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpReq.srcCandidateList, "SrcCandidateList", "json");
|
|
8989
|
+
}
|
|
8990
|
+
let query = {};
|
|
8991
|
+
if (!tea_util_1.default.isUnset(request.destCandidateListShrink)) {
|
|
8992
|
+
query["DestCandidateList"] = request.destCandidateListShrink;
|
|
8993
|
+
}
|
|
8994
|
+
if (!tea_util_1.default.isUnset(request.firewallId)) {
|
|
8995
|
+
query["FirewallId"] = request.firewallId;
|
|
8996
|
+
}
|
|
8997
|
+
if (!tea_util_1.default.isUnset(request.lang)) {
|
|
8998
|
+
query["Lang"] = request.lang;
|
|
8999
|
+
}
|
|
9000
|
+
if (!tea_util_1.default.isUnset(request.srcCandidateListShrink)) {
|
|
9001
|
+
query["SrcCandidateList"] = request.srcCandidateListShrink;
|
|
9002
|
+
}
|
|
9003
|
+
if (!tea_util_1.default.isUnset(request.trFirewallRoutePolicyId)) {
|
|
9004
|
+
query["TrFirewallRoutePolicyId"] = request.trFirewallRoutePolicyId;
|
|
9005
|
+
}
|
|
9006
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
9007
|
+
query: openapi_util_1.default.query(query),
|
|
9008
|
+
});
|
|
9009
|
+
let params = new $OpenApi.Params({
|
|
9010
|
+
action: "ModifyTrFirewallV2RoutePolicyScope",
|
|
9011
|
+
version: "2017-12-07",
|
|
9012
|
+
protocol: "HTTPS",
|
|
9013
|
+
pathname: "/",
|
|
9014
|
+
method: "POST",
|
|
9015
|
+
authType: "AK",
|
|
9016
|
+
style: "RPC",
|
|
9017
|
+
reqBodyType: "formData",
|
|
9018
|
+
bodyType: "json",
|
|
9019
|
+
});
|
|
9020
|
+
return $tea.cast(await this.callApi(params, req, runtime), new ModifyTrFirewallV2RoutePolicyScopeResponse({}));
|
|
9021
|
+
}
|
|
9022
|
+
async modifyTrFirewallV2RoutePolicyScope(request) {
|
|
9023
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
9024
|
+
return await this.modifyTrFirewallV2RoutePolicyScopeWithOptions(request, runtime);
|
|
9025
|
+
}
|
|
7293
9026
|
/**
|
|
7294
9027
|
* You can call the ModifyVpcFirewallCenConfigure operation to modify the configurations of a VPC firewall. The VPC firewall protects mutual access traffic between a VPC and a specified network instance that is attached to a CEN instance. The network instance can be a VPC, a virtual border router (VBR), or a Cloud Connect Network (CCN) instance. Before you call this operation, make sure that you have created a VPC firewall by calling the [CreateVpcFirewallCenConfigure](~~345772~~) operation.
|
|
7295
9028
|
* ## Limits
|
|
@@ -7455,7 +9188,7 @@ class Client extends openapi_client_1.default {
|
|
|
7455
9188
|
return await this.modifyVpcFirewallConfigureWithOptions(request, runtime);
|
|
7456
9189
|
}
|
|
7457
9190
|
/**
|
|
7458
|
-
* You can call the ModifyVpcFirewallControlPolicy operation to modify the configurations of an access control policy that is created for a VPC firewall in a
|
|
9191
|
+
* You can call the ModifyVpcFirewallControlPolicy operation to modify the configurations of an access control policy that is created for a VPC firewall in a specified policy group. Different access control policies are used for the VPC firewalls that are used to protect each Cloud Enterprise Network (CEN) instance and the VPC firewalls that are used to protect each Express Connect circuit.
|
|
7459
9192
|
* ## Limits
|
|
7460
9193
|
* You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
7461
9194
|
*
|
|
@@ -7528,7 +9261,7 @@ class Client extends openapi_client_1.default {
|
|
|
7528
9261
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyVpcFirewallControlPolicyResponse({}));
|
|
7529
9262
|
}
|
|
7530
9263
|
/**
|
|
7531
|
-
* You can call the ModifyVpcFirewallControlPolicy operation to modify the configurations of an access control policy that is created for a VPC firewall in a
|
|
9264
|
+
* You can call the ModifyVpcFirewallControlPolicy operation to modify the configurations of an access control policy that is created for a VPC firewall in a specified policy group. Different access control policies are used for the VPC firewalls that are used to protect each Cloud Enterprise Network (CEN) instance and the VPC firewalls that are used to protect each Express Connect circuit.
|
|
7532
9265
|
* ## Limits
|
|
7533
9266
|
* You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
7534
9267
|
*
|