@alicloud/cloudfw20171207 1.2.4 → 1.2.5
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 +991 -129
- package/dist/client.js +1956 -230
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +2599 -441
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',
|
|
@@ -1464,30 +1842,386 @@ class DescribePolicyAdvancedConfigRequest extends $tea.Model {
|
|
|
1464
1842
|
static types() {
|
|
1465
1843
|
return {
|
|
1466
1844
|
lang: 'string',
|
|
1467
|
-
sourceIp: 'string',
|
|
1845
|
+
sourceIp: 'string',
|
|
1846
|
+
};
|
|
1847
|
+
}
|
|
1848
|
+
}
|
|
1849
|
+
exports.DescribePolicyAdvancedConfigRequest = DescribePolicyAdvancedConfigRequest;
|
|
1850
|
+
class DescribePolicyAdvancedConfigResponseBody extends $tea.Model {
|
|
1851
|
+
constructor(map) {
|
|
1852
|
+
super(map);
|
|
1853
|
+
}
|
|
1854
|
+
static names() {
|
|
1855
|
+
return {
|
|
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
|
+
};
|
|
2117
|
+
}
|
|
2118
|
+
static types() {
|
|
2119
|
+
return {
|
|
2120
|
+
currentPage: 'number',
|
|
2121
|
+
firewallId: 'string',
|
|
2122
|
+
lang: 'string',
|
|
2123
|
+
pageSize: 'number',
|
|
2124
|
+
};
|
|
2125
|
+
}
|
|
2126
|
+
}
|
|
2127
|
+
exports.DescribeTrFirewallV2RoutePolicyListRequest = DescribeTrFirewallV2RoutePolicyListRequest;
|
|
2128
|
+
class DescribeTrFirewallV2RoutePolicyListResponseBody extends $tea.Model {
|
|
2129
|
+
constructor(map) {
|
|
2130
|
+
super(map);
|
|
2131
|
+
}
|
|
2132
|
+
static names() {
|
|
2133
|
+
return {
|
|
2134
|
+
requestId: 'RequestId',
|
|
2135
|
+
trFirewallRoutePolicies: 'TrFirewallRoutePolicies',
|
|
2136
|
+
};
|
|
2137
|
+
}
|
|
2138
|
+
static types() {
|
|
2139
|
+
return {
|
|
2140
|
+
requestId: 'string',
|
|
2141
|
+
trFirewallRoutePolicies: { 'type': 'array', 'itemType': DescribeTrFirewallV2RoutePolicyListResponseBodyTrFirewallRoutePolicies },
|
|
2142
|
+
};
|
|
2143
|
+
}
|
|
2144
|
+
}
|
|
2145
|
+
exports.DescribeTrFirewallV2RoutePolicyListResponseBody = DescribeTrFirewallV2RoutePolicyListResponseBody;
|
|
2146
|
+
class DescribeTrFirewallV2RoutePolicyListResponse extends $tea.Model {
|
|
2147
|
+
constructor(map) {
|
|
2148
|
+
super(map);
|
|
2149
|
+
}
|
|
2150
|
+
static names() {
|
|
2151
|
+
return {
|
|
2152
|
+
headers: 'headers',
|
|
2153
|
+
statusCode: 'statusCode',
|
|
2154
|
+
body: 'body',
|
|
2155
|
+
};
|
|
2156
|
+
}
|
|
2157
|
+
static types() {
|
|
2158
|
+
return {
|
|
2159
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2160
|
+
statusCode: 'number',
|
|
2161
|
+
body: DescribeTrFirewallV2RoutePolicyListResponseBody,
|
|
2162
|
+
};
|
|
2163
|
+
}
|
|
2164
|
+
}
|
|
2165
|
+
exports.DescribeTrFirewallV2RoutePolicyListResponse = DescribeTrFirewallV2RoutePolicyListResponse;
|
|
2166
|
+
class DescribeTrFirewallsV2DetailRequest extends $tea.Model {
|
|
2167
|
+
constructor(map) {
|
|
2168
|
+
super(map);
|
|
2169
|
+
}
|
|
2170
|
+
static names() {
|
|
2171
|
+
return {
|
|
2172
|
+
firewallId: 'FirewallId',
|
|
2173
|
+
lang: 'Lang',
|
|
2174
|
+
};
|
|
2175
|
+
}
|
|
2176
|
+
static types() {
|
|
2177
|
+
return {
|
|
2178
|
+
firewallId: 'string',
|
|
2179
|
+
lang: 'string',
|
|
1468
2180
|
};
|
|
1469
2181
|
}
|
|
1470
2182
|
}
|
|
1471
|
-
exports.
|
|
1472
|
-
class
|
|
2183
|
+
exports.DescribeTrFirewallsV2DetailRequest = DescribeTrFirewallsV2DetailRequest;
|
|
2184
|
+
class DescribeTrFirewallsV2DetailResponseBody extends $tea.Model {
|
|
1473
2185
|
constructor(map) {
|
|
1474
2186
|
super(map);
|
|
1475
2187
|
}
|
|
1476
2188
|
static names() {
|
|
1477
2189
|
return {
|
|
1478
|
-
|
|
2190
|
+
cenId: 'CenId',
|
|
2191
|
+
firewallDescription: 'FirewallDescription',
|
|
2192
|
+
firewallEniId: 'FirewallEniId',
|
|
2193
|
+
firewallEniVpcId: 'FirewallEniVpcId',
|
|
2194
|
+
firewallEniVswitchId: 'FirewallEniVswitchId',
|
|
2195
|
+
firewallId: 'FirewallId',
|
|
2196
|
+
firewallName: 'FirewallName',
|
|
2197
|
+
firewallStatus: 'FirewallStatus',
|
|
2198
|
+
firewallSwitchStatus: 'FirewallSwitchStatus',
|
|
2199
|
+
regionNo: 'RegionNo',
|
|
1479
2200
|
requestId: 'RequestId',
|
|
2201
|
+
routeMode: 'RouteMode',
|
|
2202
|
+
transitRouterId: 'TransitRouterId',
|
|
1480
2203
|
};
|
|
1481
2204
|
}
|
|
1482
2205
|
static types() {
|
|
1483
2206
|
return {
|
|
1484
|
-
|
|
2207
|
+
cenId: 'string',
|
|
2208
|
+
firewallDescription: 'string',
|
|
2209
|
+
firewallEniId: 'string',
|
|
2210
|
+
firewallEniVpcId: 'string',
|
|
2211
|
+
firewallEniVswitchId: 'string',
|
|
2212
|
+
firewallId: 'string',
|
|
2213
|
+
firewallName: 'string',
|
|
2214
|
+
firewallStatus: 'string',
|
|
2215
|
+
firewallSwitchStatus: 'string',
|
|
2216
|
+
regionNo: 'string',
|
|
1485
2217
|
requestId: 'string',
|
|
2218
|
+
routeMode: 'string',
|
|
2219
|
+
transitRouterId: 'string',
|
|
1486
2220
|
};
|
|
1487
2221
|
}
|
|
1488
2222
|
}
|
|
1489
|
-
exports.
|
|
1490
|
-
class
|
|
2223
|
+
exports.DescribeTrFirewallsV2DetailResponseBody = DescribeTrFirewallsV2DetailResponseBody;
|
|
2224
|
+
class DescribeTrFirewallsV2DetailResponse extends $tea.Model {
|
|
1491
2225
|
constructor(map) {
|
|
1492
2226
|
super(map);
|
|
1493
2227
|
}
|
|
@@ -1502,54 +2236,68 @@ class DescribePolicyAdvancedConfigResponse extends $tea.Model {
|
|
|
1502
2236
|
return {
|
|
1503
2237
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1504
2238
|
statusCode: 'number',
|
|
1505
|
-
body:
|
|
2239
|
+
body: DescribeTrFirewallsV2DetailResponseBody,
|
|
1506
2240
|
};
|
|
1507
2241
|
}
|
|
1508
2242
|
}
|
|
1509
|
-
exports.
|
|
1510
|
-
class
|
|
2243
|
+
exports.DescribeTrFirewallsV2DetailResponse = DescribeTrFirewallsV2DetailResponse;
|
|
2244
|
+
class DescribeTrFirewallsV2ListRequest extends $tea.Model {
|
|
1511
2245
|
constructor(map) {
|
|
1512
2246
|
super(map);
|
|
1513
2247
|
}
|
|
1514
2248
|
static names() {
|
|
1515
2249
|
return {
|
|
1516
|
-
|
|
1517
|
-
|
|
2250
|
+
cenId: 'CenId',
|
|
2251
|
+
currentPage: 'CurrentPage',
|
|
2252
|
+
firewallId: 'FirewallId',
|
|
2253
|
+
firewallName: 'FirewallName',
|
|
2254
|
+
firewallSwitchStatus: 'FirewallSwitchStatus',
|
|
1518
2255
|
lang: 'Lang',
|
|
1519
|
-
|
|
2256
|
+
ownerId: 'OwnerId',
|
|
2257
|
+
pageSize: 'PageSize',
|
|
2258
|
+
regionNo: 'RegionNo',
|
|
2259
|
+
routeMode: 'RouteMode',
|
|
2260
|
+
transitRouterId: 'TransitRouterId',
|
|
1520
2261
|
};
|
|
1521
2262
|
}
|
|
1522
2263
|
static types() {
|
|
1523
2264
|
return {
|
|
1524
|
-
|
|
1525
|
-
|
|
2265
|
+
cenId: 'string',
|
|
2266
|
+
currentPage: 'number',
|
|
2267
|
+
firewallId: 'string',
|
|
2268
|
+
firewallName: 'string',
|
|
2269
|
+
firewallSwitchStatus: 'string',
|
|
1526
2270
|
lang: 'string',
|
|
1527
|
-
|
|
2271
|
+
ownerId: 'string',
|
|
2272
|
+
pageSize: 'number',
|
|
2273
|
+
regionNo: 'string',
|
|
2274
|
+
routeMode: 'string',
|
|
2275
|
+
transitRouterId: 'string',
|
|
1528
2276
|
};
|
|
1529
2277
|
}
|
|
1530
2278
|
}
|
|
1531
|
-
exports.
|
|
1532
|
-
class
|
|
2279
|
+
exports.DescribeTrFirewallsV2ListRequest = DescribeTrFirewallsV2ListRequest;
|
|
2280
|
+
class DescribeTrFirewallsV2ListResponseBody extends $tea.Model {
|
|
1533
2281
|
constructor(map) {
|
|
1534
2282
|
super(map);
|
|
1535
2283
|
}
|
|
1536
2284
|
static names() {
|
|
1537
2285
|
return {
|
|
1538
|
-
end: 'End',
|
|
1539
2286
|
requestId: 'RequestId',
|
|
1540
|
-
|
|
2287
|
+
totalCount: 'TotalCount',
|
|
2288
|
+
vpcTrFirewalls: 'VpcTrFirewalls',
|
|
1541
2289
|
};
|
|
1542
2290
|
}
|
|
1543
2291
|
static types() {
|
|
1544
2292
|
return {
|
|
1545
|
-
end: 'number',
|
|
1546
2293
|
requestId: 'string',
|
|
1547
|
-
|
|
2294
|
+
totalCount: 'string',
|
|
2295
|
+
vpcTrFirewalls: { 'type': 'array', 'itemType': DescribeTrFirewallsV2ListResponseBodyVpcTrFirewalls },
|
|
1548
2296
|
};
|
|
1549
2297
|
}
|
|
1550
2298
|
}
|
|
1551
|
-
exports.
|
|
1552
|
-
class
|
|
2299
|
+
exports.DescribeTrFirewallsV2ListResponseBody = DescribeTrFirewallsV2ListResponseBody;
|
|
2300
|
+
class DescribeTrFirewallsV2ListResponse extends $tea.Model {
|
|
1553
2301
|
constructor(map) {
|
|
1554
2302
|
super(map);
|
|
1555
2303
|
}
|
|
@@ -1564,90 +2312,54 @@ class DescribePolicyPriorUsedResponse extends $tea.Model {
|
|
|
1564
2312
|
return {
|
|
1565
2313
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1566
2314
|
statusCode: 'number',
|
|
1567
|
-
body:
|
|
2315
|
+
body: DescribeTrFirewallsV2ListResponseBody,
|
|
1568
2316
|
};
|
|
1569
2317
|
}
|
|
1570
2318
|
}
|
|
1571
|
-
exports.
|
|
1572
|
-
class
|
|
2319
|
+
exports.DescribeTrFirewallsV2ListResponse = DescribeTrFirewallsV2ListResponse;
|
|
2320
|
+
class DescribeTrFirewallsV2RouteListRequest extends $tea.Model {
|
|
1573
2321
|
constructor(map) {
|
|
1574
2322
|
super(map);
|
|
1575
2323
|
}
|
|
1576
2324
|
static names() {
|
|
1577
2325
|
return {
|
|
1578
|
-
attackApp: 'AttackApp',
|
|
1579
|
-
attackType: 'AttackType',
|
|
1580
|
-
buyVersion: 'BuyVersion',
|
|
1581
2326
|
currentPage: 'CurrentPage',
|
|
1582
|
-
|
|
1583
|
-
direction: 'Direction',
|
|
1584
|
-
dstIP: 'DstIP',
|
|
1585
|
-
dstNetworkInstanceId: 'DstNetworkInstanceId',
|
|
1586
|
-
endTime: 'EndTime',
|
|
1587
|
-
eventName: 'EventName',
|
|
1588
|
-
firewallType: 'FirewallType',
|
|
2327
|
+
firewallId: 'FirewallId',
|
|
1589
2328
|
lang: 'Lang',
|
|
1590
|
-
noLocation: 'NoLocation',
|
|
1591
|
-
order: 'Order',
|
|
1592
2329
|
pageSize: 'PageSize',
|
|
1593
|
-
|
|
1594
|
-
ruleSource: 'RuleSource',
|
|
1595
|
-
sort: 'Sort',
|
|
1596
|
-
srcIP: 'SrcIP',
|
|
1597
|
-
srcNetworkInstanceId: 'SrcNetworkInstanceId',
|
|
1598
|
-
startTime: 'StartTime',
|
|
1599
|
-
vulLevel: 'VulLevel',
|
|
2330
|
+
trFirewallRoutePolicyId: 'TrFirewallRoutePolicyId',
|
|
1600
2331
|
};
|
|
1601
2332
|
}
|
|
1602
2333
|
static types() {
|
|
1603
2334
|
return {
|
|
1604
|
-
attackApp: { 'type': 'array', 'itemType': 'string' },
|
|
1605
|
-
attackType: 'string',
|
|
1606
|
-
buyVersion: 'number',
|
|
1607
2335
|
currentPage: 'string',
|
|
1608
|
-
|
|
1609
|
-
direction: 'string',
|
|
1610
|
-
dstIP: 'string',
|
|
1611
|
-
dstNetworkInstanceId: 'string',
|
|
1612
|
-
endTime: 'string',
|
|
1613
|
-
eventName: 'string',
|
|
1614
|
-
firewallType: 'string',
|
|
2336
|
+
firewallId: 'string',
|
|
1615
2337
|
lang: 'string',
|
|
1616
|
-
noLocation: 'string',
|
|
1617
|
-
order: 'string',
|
|
1618
2338
|
pageSize: 'string',
|
|
1619
|
-
|
|
1620
|
-
ruleSource: 'string',
|
|
1621
|
-
sort: 'string',
|
|
1622
|
-
srcIP: 'string',
|
|
1623
|
-
srcNetworkInstanceId: 'string',
|
|
1624
|
-
startTime: 'string',
|
|
1625
|
-
vulLevel: 'string',
|
|
2339
|
+
trFirewallRoutePolicyId: 'string',
|
|
1626
2340
|
};
|
|
1627
2341
|
}
|
|
1628
2342
|
}
|
|
1629
|
-
exports.
|
|
1630
|
-
class
|
|
2343
|
+
exports.DescribeTrFirewallsV2RouteListRequest = DescribeTrFirewallsV2RouteListRequest;
|
|
2344
|
+
class DescribeTrFirewallsV2RouteListResponseBody extends $tea.Model {
|
|
1631
2345
|
constructor(map) {
|
|
1632
2346
|
super(map);
|
|
1633
2347
|
}
|
|
1634
2348
|
static names() {
|
|
1635
2349
|
return {
|
|
1636
|
-
|
|
2350
|
+
firewallRouteDetailList: 'FirewallRouteDetailList',
|
|
1637
2351
|
requestId: 'RequestId',
|
|
1638
|
-
totalCount: 'TotalCount',
|
|
1639
2352
|
};
|
|
1640
2353
|
}
|
|
1641
2354
|
static types() {
|
|
1642
2355
|
return {
|
|
1643
|
-
|
|
2356
|
+
firewallRouteDetailList: { 'type': 'array', 'itemType': DescribeTrFirewallsV2RouteListResponseBodyFirewallRouteDetailList },
|
|
1644
2357
|
requestId: 'string',
|
|
1645
|
-
totalCount: 'number',
|
|
1646
2358
|
};
|
|
1647
2359
|
}
|
|
1648
2360
|
}
|
|
1649
|
-
exports.
|
|
1650
|
-
class
|
|
2361
|
+
exports.DescribeTrFirewallsV2RouteListResponseBody = DescribeTrFirewallsV2RouteListResponseBody;
|
|
2362
|
+
class DescribeTrFirewallsV2RouteListResponse extends $tea.Model {
|
|
1651
2363
|
constructor(map) {
|
|
1652
2364
|
super(map);
|
|
1653
2365
|
}
|
|
@@ -1662,11 +2374,11 @@ class DescribeRiskEventGroupResponse extends $tea.Model {
|
|
|
1662
2374
|
return {
|
|
1663
2375
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1664
2376
|
statusCode: 'number',
|
|
1665
|
-
body:
|
|
2377
|
+
body: DescribeTrFirewallsV2RouteListResponseBody,
|
|
1666
2378
|
};
|
|
1667
2379
|
}
|
|
1668
2380
|
}
|
|
1669
|
-
exports.
|
|
2381
|
+
exports.DescribeTrFirewallsV2RouteListResponse = DescribeTrFirewallsV2RouteListResponse;
|
|
1670
2382
|
class DescribeUserAssetIPTrafficInfoRequest extends $tea.Model {
|
|
1671
2383
|
constructor(map) {
|
|
1672
2384
|
super(map);
|
|
@@ -2556,8 +3268,176 @@ class ModifyControlPolicyPositionRequest extends $tea.Model {
|
|
|
2556
3268
|
};
|
|
2557
3269
|
}
|
|
2558
3270
|
}
|
|
2559
|
-
exports.ModifyControlPolicyPositionRequest = ModifyControlPolicyPositionRequest;
|
|
2560
|
-
class ModifyControlPolicyPositionResponseBody extends $tea.Model {
|
|
3271
|
+
exports.ModifyControlPolicyPositionRequest = ModifyControlPolicyPositionRequest;
|
|
3272
|
+
class ModifyControlPolicyPositionResponseBody extends $tea.Model {
|
|
3273
|
+
constructor(map) {
|
|
3274
|
+
super(map);
|
|
3275
|
+
}
|
|
3276
|
+
static names() {
|
|
3277
|
+
return {
|
|
3278
|
+
requestId: 'RequestId',
|
|
3279
|
+
};
|
|
3280
|
+
}
|
|
3281
|
+
static types() {
|
|
3282
|
+
return {
|
|
3283
|
+
requestId: 'string',
|
|
3284
|
+
};
|
|
3285
|
+
}
|
|
3286
|
+
}
|
|
3287
|
+
exports.ModifyControlPolicyPositionResponseBody = ModifyControlPolicyPositionResponseBody;
|
|
3288
|
+
class ModifyControlPolicyPositionResponse extends $tea.Model {
|
|
3289
|
+
constructor(map) {
|
|
3290
|
+
super(map);
|
|
3291
|
+
}
|
|
3292
|
+
static names() {
|
|
3293
|
+
return {
|
|
3294
|
+
headers: 'headers',
|
|
3295
|
+
statusCode: 'statusCode',
|
|
3296
|
+
body: 'body',
|
|
3297
|
+
};
|
|
3298
|
+
}
|
|
3299
|
+
static types() {
|
|
3300
|
+
return {
|
|
3301
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3302
|
+
statusCode: 'number',
|
|
3303
|
+
body: ModifyControlPolicyPositionResponseBody,
|
|
3304
|
+
};
|
|
3305
|
+
}
|
|
3306
|
+
}
|
|
3307
|
+
exports.ModifyControlPolicyPositionResponse = ModifyControlPolicyPositionResponse;
|
|
3308
|
+
class ModifyFirewallV2RoutePolicySwitchRequest extends $tea.Model {
|
|
3309
|
+
constructor(map) {
|
|
3310
|
+
super(map);
|
|
3311
|
+
}
|
|
3312
|
+
static names() {
|
|
3313
|
+
return {
|
|
3314
|
+
firewallId: 'FirewallId',
|
|
3315
|
+
lang: 'Lang',
|
|
3316
|
+
shouldRecover: 'ShouldRecover',
|
|
3317
|
+
trFirewallRoutePolicyId: 'TrFirewallRoutePolicyId',
|
|
3318
|
+
trFirewallRoutePolicySwitchStatus: 'TrFirewallRoutePolicySwitchStatus',
|
|
3319
|
+
};
|
|
3320
|
+
}
|
|
3321
|
+
static types() {
|
|
3322
|
+
return {
|
|
3323
|
+
firewallId: 'string',
|
|
3324
|
+
lang: 'string',
|
|
3325
|
+
shouldRecover: 'string',
|
|
3326
|
+
trFirewallRoutePolicyId: 'string',
|
|
3327
|
+
trFirewallRoutePolicySwitchStatus: 'string',
|
|
3328
|
+
};
|
|
3329
|
+
}
|
|
3330
|
+
}
|
|
3331
|
+
exports.ModifyFirewallV2RoutePolicySwitchRequest = ModifyFirewallV2RoutePolicySwitchRequest;
|
|
3332
|
+
class ModifyFirewallV2RoutePolicySwitchResponseBody extends $tea.Model {
|
|
3333
|
+
constructor(map) {
|
|
3334
|
+
super(map);
|
|
3335
|
+
}
|
|
3336
|
+
static names() {
|
|
3337
|
+
return {
|
|
3338
|
+
requestId: 'RequestId',
|
|
3339
|
+
};
|
|
3340
|
+
}
|
|
3341
|
+
static types() {
|
|
3342
|
+
return {
|
|
3343
|
+
requestId: 'string',
|
|
3344
|
+
};
|
|
3345
|
+
}
|
|
3346
|
+
}
|
|
3347
|
+
exports.ModifyFirewallV2RoutePolicySwitchResponseBody = ModifyFirewallV2RoutePolicySwitchResponseBody;
|
|
3348
|
+
class ModifyFirewallV2RoutePolicySwitchResponse extends $tea.Model {
|
|
3349
|
+
constructor(map) {
|
|
3350
|
+
super(map);
|
|
3351
|
+
}
|
|
3352
|
+
static names() {
|
|
3353
|
+
return {
|
|
3354
|
+
headers: 'headers',
|
|
3355
|
+
statusCode: 'statusCode',
|
|
3356
|
+
body: 'body',
|
|
3357
|
+
};
|
|
3358
|
+
}
|
|
3359
|
+
static types() {
|
|
3360
|
+
return {
|
|
3361
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3362
|
+
statusCode: 'number',
|
|
3363
|
+
body: ModifyFirewallV2RoutePolicySwitchResponseBody,
|
|
3364
|
+
};
|
|
3365
|
+
}
|
|
3366
|
+
}
|
|
3367
|
+
exports.ModifyFirewallV2RoutePolicySwitchResponse = ModifyFirewallV2RoutePolicySwitchResponse;
|
|
3368
|
+
class ModifyInstanceMemberAttributesRequest extends $tea.Model {
|
|
3369
|
+
constructor(map) {
|
|
3370
|
+
super(map);
|
|
3371
|
+
}
|
|
3372
|
+
static names() {
|
|
3373
|
+
return {
|
|
3374
|
+
members: 'Members',
|
|
3375
|
+
};
|
|
3376
|
+
}
|
|
3377
|
+
static types() {
|
|
3378
|
+
return {
|
|
3379
|
+
members: { 'type': 'array', 'itemType': ModifyInstanceMemberAttributesRequestMembers },
|
|
3380
|
+
};
|
|
3381
|
+
}
|
|
3382
|
+
}
|
|
3383
|
+
exports.ModifyInstanceMemberAttributesRequest = ModifyInstanceMemberAttributesRequest;
|
|
3384
|
+
class ModifyInstanceMemberAttributesResponseBody extends $tea.Model {
|
|
3385
|
+
constructor(map) {
|
|
3386
|
+
super(map);
|
|
3387
|
+
}
|
|
3388
|
+
static names() {
|
|
3389
|
+
return {
|
|
3390
|
+
requestId: 'RequestId',
|
|
3391
|
+
};
|
|
3392
|
+
}
|
|
3393
|
+
static types() {
|
|
3394
|
+
return {
|
|
3395
|
+
requestId: 'string',
|
|
3396
|
+
};
|
|
3397
|
+
}
|
|
3398
|
+
}
|
|
3399
|
+
exports.ModifyInstanceMemberAttributesResponseBody = ModifyInstanceMemberAttributesResponseBody;
|
|
3400
|
+
class ModifyInstanceMemberAttributesResponse extends $tea.Model {
|
|
3401
|
+
constructor(map) {
|
|
3402
|
+
super(map);
|
|
3403
|
+
}
|
|
3404
|
+
static names() {
|
|
3405
|
+
return {
|
|
3406
|
+
headers: 'headers',
|
|
3407
|
+
statusCode: 'statusCode',
|
|
3408
|
+
body: 'body',
|
|
3409
|
+
};
|
|
3410
|
+
}
|
|
3411
|
+
static types() {
|
|
3412
|
+
return {
|
|
3413
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3414
|
+
statusCode: 'number',
|
|
3415
|
+
body: ModifyInstanceMemberAttributesResponseBody,
|
|
3416
|
+
};
|
|
3417
|
+
}
|
|
3418
|
+
}
|
|
3419
|
+
exports.ModifyInstanceMemberAttributesResponse = ModifyInstanceMemberAttributesResponse;
|
|
3420
|
+
class ModifyPolicyAdvancedConfigRequest extends $tea.Model {
|
|
3421
|
+
constructor(map) {
|
|
3422
|
+
super(map);
|
|
3423
|
+
}
|
|
3424
|
+
static names() {
|
|
3425
|
+
return {
|
|
3426
|
+
internetSwitch: 'InternetSwitch',
|
|
3427
|
+
lang: 'Lang',
|
|
3428
|
+
sourceIp: 'SourceIp',
|
|
3429
|
+
};
|
|
3430
|
+
}
|
|
3431
|
+
static types() {
|
|
3432
|
+
return {
|
|
3433
|
+
internetSwitch: 'string',
|
|
3434
|
+
lang: 'string',
|
|
3435
|
+
sourceIp: 'string',
|
|
3436
|
+
};
|
|
3437
|
+
}
|
|
3438
|
+
}
|
|
3439
|
+
exports.ModifyPolicyAdvancedConfigRequest = ModifyPolicyAdvancedConfigRequest;
|
|
3440
|
+
class ModifyPolicyAdvancedConfigResponseBody extends $tea.Model {
|
|
2561
3441
|
constructor(map) {
|
|
2562
3442
|
super(map);
|
|
2563
3443
|
}
|
|
@@ -2572,8 +3452,8 @@ class ModifyControlPolicyPositionResponseBody extends $tea.Model {
|
|
|
2572
3452
|
};
|
|
2573
3453
|
}
|
|
2574
3454
|
}
|
|
2575
|
-
exports.
|
|
2576
|
-
class
|
|
3455
|
+
exports.ModifyPolicyAdvancedConfigResponseBody = ModifyPolicyAdvancedConfigResponseBody;
|
|
3456
|
+
class ModifyPolicyAdvancedConfigResponse extends $tea.Model {
|
|
2577
3457
|
constructor(map) {
|
|
2578
3458
|
super(map);
|
|
2579
3459
|
}
|
|
@@ -2588,28 +3468,32 @@ class ModifyControlPolicyPositionResponse extends $tea.Model {
|
|
|
2588
3468
|
return {
|
|
2589
3469
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2590
3470
|
statusCode: 'number',
|
|
2591
|
-
body:
|
|
3471
|
+
body: ModifyPolicyAdvancedConfigResponseBody,
|
|
2592
3472
|
};
|
|
2593
3473
|
}
|
|
2594
3474
|
}
|
|
2595
|
-
exports.
|
|
2596
|
-
class
|
|
3475
|
+
exports.ModifyPolicyAdvancedConfigResponse = ModifyPolicyAdvancedConfigResponse;
|
|
3476
|
+
class ModifyTrFirewallV2ConfigurationRequest extends $tea.Model {
|
|
2597
3477
|
constructor(map) {
|
|
2598
3478
|
super(map);
|
|
2599
3479
|
}
|
|
2600
3480
|
static names() {
|
|
2601
3481
|
return {
|
|
2602
|
-
|
|
3482
|
+
firewallId: 'FirewallId',
|
|
3483
|
+
firewallName: 'FirewallName',
|
|
3484
|
+
lang: 'Lang',
|
|
2603
3485
|
};
|
|
2604
3486
|
}
|
|
2605
3487
|
static types() {
|
|
2606
3488
|
return {
|
|
2607
|
-
|
|
3489
|
+
firewallId: 'string',
|
|
3490
|
+
firewallName: 'string',
|
|
3491
|
+
lang: 'string',
|
|
2608
3492
|
};
|
|
2609
3493
|
}
|
|
2610
3494
|
}
|
|
2611
|
-
exports.
|
|
2612
|
-
class
|
|
3495
|
+
exports.ModifyTrFirewallV2ConfigurationRequest = ModifyTrFirewallV2ConfigurationRequest;
|
|
3496
|
+
class ModifyTrFirewallV2ConfigurationResponseBody extends $tea.Model {
|
|
2613
3497
|
constructor(map) {
|
|
2614
3498
|
super(map);
|
|
2615
3499
|
}
|
|
@@ -2624,8 +3508,8 @@ class ModifyInstanceMemberAttributesResponseBody extends $tea.Model {
|
|
|
2624
3508
|
};
|
|
2625
3509
|
}
|
|
2626
3510
|
}
|
|
2627
|
-
exports.
|
|
2628
|
-
class
|
|
3511
|
+
exports.ModifyTrFirewallV2ConfigurationResponseBody = ModifyTrFirewallV2ConfigurationResponseBody;
|
|
3512
|
+
class ModifyTrFirewallV2ConfigurationResponse extends $tea.Model {
|
|
2629
3513
|
constructor(map) {
|
|
2630
3514
|
super(map);
|
|
2631
3515
|
}
|
|
@@ -2640,48 +3524,78 @@ class ModifyInstanceMemberAttributesResponse extends $tea.Model {
|
|
|
2640
3524
|
return {
|
|
2641
3525
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2642
3526
|
statusCode: 'number',
|
|
2643
|
-
body:
|
|
3527
|
+
body: ModifyTrFirewallV2ConfigurationResponseBody,
|
|
2644
3528
|
};
|
|
2645
3529
|
}
|
|
2646
3530
|
}
|
|
2647
|
-
exports.
|
|
2648
|
-
class
|
|
3531
|
+
exports.ModifyTrFirewallV2ConfigurationResponse = ModifyTrFirewallV2ConfigurationResponse;
|
|
3532
|
+
class ModifyTrFirewallV2RoutePolicyScopeRequest extends $tea.Model {
|
|
2649
3533
|
constructor(map) {
|
|
2650
3534
|
super(map);
|
|
2651
3535
|
}
|
|
2652
3536
|
static names() {
|
|
2653
3537
|
return {
|
|
2654
|
-
|
|
3538
|
+
destCandidateList: 'DestCandidateList',
|
|
3539
|
+
firewallId: 'FirewallId',
|
|
2655
3540
|
lang: 'Lang',
|
|
2656
|
-
|
|
3541
|
+
srcCandidateList: 'SrcCandidateList',
|
|
3542
|
+
trFirewallRoutePolicyId: 'TrFirewallRoutePolicyId',
|
|
2657
3543
|
};
|
|
2658
3544
|
}
|
|
2659
3545
|
static types() {
|
|
2660
3546
|
return {
|
|
2661
|
-
|
|
3547
|
+
destCandidateList: { 'type': 'array', 'itemType': ModifyTrFirewallV2RoutePolicyScopeRequestDestCandidateList },
|
|
3548
|
+
firewallId: 'string',
|
|
2662
3549
|
lang: 'string',
|
|
2663
|
-
|
|
3550
|
+
srcCandidateList: { 'type': 'array', 'itemType': ModifyTrFirewallV2RoutePolicyScopeRequestSrcCandidateList },
|
|
3551
|
+
trFirewallRoutePolicyId: 'string',
|
|
2664
3552
|
};
|
|
2665
3553
|
}
|
|
2666
3554
|
}
|
|
2667
|
-
exports.
|
|
2668
|
-
class
|
|
3555
|
+
exports.ModifyTrFirewallV2RoutePolicyScopeRequest = ModifyTrFirewallV2RoutePolicyScopeRequest;
|
|
3556
|
+
class ModifyTrFirewallV2RoutePolicyScopeShrinkRequest extends $tea.Model {
|
|
3557
|
+
constructor(map) {
|
|
3558
|
+
super(map);
|
|
3559
|
+
}
|
|
3560
|
+
static names() {
|
|
3561
|
+
return {
|
|
3562
|
+
destCandidateListShrink: 'DestCandidateList',
|
|
3563
|
+
firewallId: 'FirewallId',
|
|
3564
|
+
lang: 'Lang',
|
|
3565
|
+
srcCandidateListShrink: 'SrcCandidateList',
|
|
3566
|
+
trFirewallRoutePolicyId: 'TrFirewallRoutePolicyId',
|
|
3567
|
+
};
|
|
3568
|
+
}
|
|
3569
|
+
static types() {
|
|
3570
|
+
return {
|
|
3571
|
+
destCandidateListShrink: 'string',
|
|
3572
|
+
firewallId: 'string',
|
|
3573
|
+
lang: 'string',
|
|
3574
|
+
srcCandidateListShrink: 'string',
|
|
3575
|
+
trFirewallRoutePolicyId: 'string',
|
|
3576
|
+
};
|
|
3577
|
+
}
|
|
3578
|
+
}
|
|
3579
|
+
exports.ModifyTrFirewallV2RoutePolicyScopeShrinkRequest = ModifyTrFirewallV2RoutePolicyScopeShrinkRequest;
|
|
3580
|
+
class ModifyTrFirewallV2RoutePolicyScopeResponseBody extends $tea.Model {
|
|
2669
3581
|
constructor(map) {
|
|
2670
3582
|
super(map);
|
|
2671
3583
|
}
|
|
2672
3584
|
static names() {
|
|
2673
3585
|
return {
|
|
2674
3586
|
requestId: 'RequestId',
|
|
3587
|
+
trFirewallRoutePolicyId: 'TrFirewallRoutePolicyId',
|
|
2675
3588
|
};
|
|
2676
3589
|
}
|
|
2677
3590
|
static types() {
|
|
2678
3591
|
return {
|
|
2679
3592
|
requestId: 'string',
|
|
3593
|
+
trFirewallRoutePolicyId: 'string',
|
|
2680
3594
|
};
|
|
2681
3595
|
}
|
|
2682
3596
|
}
|
|
2683
|
-
exports.
|
|
2684
|
-
class
|
|
3597
|
+
exports.ModifyTrFirewallV2RoutePolicyScopeResponseBody = ModifyTrFirewallV2RoutePolicyScopeResponseBody;
|
|
3598
|
+
class ModifyTrFirewallV2RoutePolicyScopeResponse extends $tea.Model {
|
|
2685
3599
|
constructor(map) {
|
|
2686
3600
|
super(map);
|
|
2687
3601
|
}
|
|
@@ -2696,11 +3610,11 @@ class ModifyPolicyAdvancedConfigResponse extends $tea.Model {
|
|
|
2696
3610
|
return {
|
|
2697
3611
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2698
3612
|
statusCode: 'number',
|
|
2699
|
-
body:
|
|
3613
|
+
body: ModifyTrFirewallV2RoutePolicyScopeResponseBody,
|
|
2700
3614
|
};
|
|
2701
3615
|
}
|
|
2702
3616
|
}
|
|
2703
|
-
exports.
|
|
3617
|
+
exports.ModifyTrFirewallV2RoutePolicyScopeResponse = ModifyTrFirewallV2RoutePolicyScopeResponse;
|
|
2704
3618
|
class ModifyVpcFirewallCenConfigureRequest extends $tea.Model {
|
|
2705
3619
|
constructor(map) {
|
|
2706
3620
|
super(map);
|
|
@@ -3461,6 +4375,42 @@ class AddInstanceMembersRequestMembers extends $tea.Model {
|
|
|
3461
4375
|
}
|
|
3462
4376
|
}
|
|
3463
4377
|
exports.AddInstanceMembersRequestMembers = AddInstanceMembersRequestMembers;
|
|
4378
|
+
class CreateTrFirewallV2RoutePolicyRequestDestCandidateList extends $tea.Model {
|
|
4379
|
+
constructor(map) {
|
|
4380
|
+
super(map);
|
|
4381
|
+
}
|
|
4382
|
+
static names() {
|
|
4383
|
+
return {
|
|
4384
|
+
candidateId: 'CandidateId',
|
|
4385
|
+
candidateType: 'CandidateType',
|
|
4386
|
+
};
|
|
4387
|
+
}
|
|
4388
|
+
static types() {
|
|
4389
|
+
return {
|
|
4390
|
+
candidateId: 'string',
|
|
4391
|
+
candidateType: 'string',
|
|
4392
|
+
};
|
|
4393
|
+
}
|
|
4394
|
+
}
|
|
4395
|
+
exports.CreateTrFirewallV2RoutePolicyRequestDestCandidateList = CreateTrFirewallV2RoutePolicyRequestDestCandidateList;
|
|
4396
|
+
class CreateTrFirewallV2RoutePolicyRequestSrcCandidateList extends $tea.Model {
|
|
4397
|
+
constructor(map) {
|
|
4398
|
+
super(map);
|
|
4399
|
+
}
|
|
4400
|
+
static names() {
|
|
4401
|
+
return {
|
|
4402
|
+
candidateId: 'CandidateId',
|
|
4403
|
+
candidateType: 'CandidateType',
|
|
4404
|
+
};
|
|
4405
|
+
}
|
|
4406
|
+
static types() {
|
|
4407
|
+
return {
|
|
4408
|
+
candidateId: 'string',
|
|
4409
|
+
candidateType: 'string',
|
|
4410
|
+
};
|
|
4411
|
+
}
|
|
4412
|
+
}
|
|
4413
|
+
exports.CreateTrFirewallV2RoutePolicyRequestSrcCandidateList = CreateTrFirewallV2RoutePolicyRequestSrcCandidateList;
|
|
3464
4414
|
class DescribeAddressBookResponseBodyAclsTagList extends $tea.Model {
|
|
3465
4415
|
constructor(map) {
|
|
3466
4416
|
super(map);
|
|
@@ -3707,6 +4657,38 @@ class DescribeInstanceMembersResponseBodyPageInfo extends $tea.Model {
|
|
|
3707
4657
|
}
|
|
3708
4658
|
}
|
|
3709
4659
|
exports.DescribeInstanceMembersResponseBodyPageInfo = DescribeInstanceMembersResponseBodyPageInfo;
|
|
4660
|
+
class DescribeInternetTrafficTrendResponseBodyDataList extends $tea.Model {
|
|
4661
|
+
constructor(map) {
|
|
4662
|
+
super(map);
|
|
4663
|
+
}
|
|
4664
|
+
static names() {
|
|
4665
|
+
return {
|
|
4666
|
+
inBps: 'InBps',
|
|
4667
|
+
inBytes: 'InBytes',
|
|
4668
|
+
inPps: 'InPps',
|
|
4669
|
+
newConn: 'NewConn',
|
|
4670
|
+
outBps: 'OutBps',
|
|
4671
|
+
outBytes: 'OutBytes',
|
|
4672
|
+
outPps: 'OutPps',
|
|
4673
|
+
sessionCount: 'SessionCount',
|
|
4674
|
+
time: 'Time',
|
|
4675
|
+
};
|
|
4676
|
+
}
|
|
4677
|
+
static types() {
|
|
4678
|
+
return {
|
|
4679
|
+
inBps: 'number',
|
|
4680
|
+
inBytes: 'number',
|
|
4681
|
+
inPps: 'number',
|
|
4682
|
+
newConn: 'number',
|
|
4683
|
+
outBps: 'number',
|
|
4684
|
+
outBytes: 'number',
|
|
4685
|
+
outPps: 'number',
|
|
4686
|
+
sessionCount: 'number',
|
|
4687
|
+
time: 'number',
|
|
4688
|
+
};
|
|
4689
|
+
}
|
|
4690
|
+
}
|
|
4691
|
+
exports.DescribeInternetTrafficTrendResponseBodyDataList = DescribeInternetTrafficTrendResponseBodyDataList;
|
|
3710
4692
|
class DescribeInvadeEventListResponseBodyEventList extends $tea.Model {
|
|
3711
4693
|
constructor(map) {
|
|
3712
4694
|
super(map);
|
|
@@ -4060,75 +5042,245 @@ class DescribeRiskEventGroupResponseBodyDataListVpcSrcInfo extends $tea.Model {
|
|
|
4060
5042
|
}
|
|
4061
5043
|
static types() {
|
|
4062
5044
|
return {
|
|
4063
|
-
ecsInstanceId: 'string',
|
|
4064
|
-
ecsInstanceName: 'string',
|
|
4065
|
-
networkInstanceId: 'string',
|
|
4066
|
-
networkInstanceName: 'string',
|
|
5045
|
+
ecsInstanceId: 'string',
|
|
5046
|
+
ecsInstanceName: 'string',
|
|
5047
|
+
networkInstanceId: 'string',
|
|
5048
|
+
networkInstanceName: 'string',
|
|
5049
|
+
regionNo: 'string',
|
|
5050
|
+
};
|
|
5051
|
+
}
|
|
5052
|
+
}
|
|
5053
|
+
exports.DescribeRiskEventGroupResponseBodyDataListVpcSrcInfo = DescribeRiskEventGroupResponseBodyDataListVpcSrcInfo;
|
|
5054
|
+
class DescribeRiskEventGroupResponseBodyDataList extends $tea.Model {
|
|
5055
|
+
constructor(map) {
|
|
5056
|
+
super(map);
|
|
5057
|
+
}
|
|
5058
|
+
static names() {
|
|
5059
|
+
return {
|
|
5060
|
+
attackApp: 'AttackApp',
|
|
5061
|
+
attackType: 'AttackType',
|
|
5062
|
+
description: 'Description',
|
|
5063
|
+
direction: 'Direction',
|
|
5064
|
+
dstIP: 'DstIP',
|
|
5065
|
+
eventCount: 'EventCount',
|
|
5066
|
+
eventId: 'EventId',
|
|
5067
|
+
eventName: 'EventName',
|
|
5068
|
+
firstEventTime: 'FirstEventTime',
|
|
5069
|
+
IPLocationInfo: 'IPLocationInfo',
|
|
5070
|
+
lastEventTime: 'LastEventTime',
|
|
5071
|
+
resourcePrivateIPList: 'ResourcePrivateIPList',
|
|
5072
|
+
resourceType: 'ResourceType',
|
|
5073
|
+
ruleId: 'RuleId',
|
|
5074
|
+
ruleResult: 'RuleResult',
|
|
5075
|
+
ruleSource: 'RuleSource',
|
|
5076
|
+
srcIP: 'SrcIP',
|
|
5077
|
+
srcIPTag: 'SrcIPTag',
|
|
5078
|
+
srcPrivateIPList: 'SrcPrivateIPList',
|
|
5079
|
+
tag: 'Tag',
|
|
5080
|
+
vpcDstInfo: 'VpcDstInfo',
|
|
5081
|
+
vpcSrcInfo: 'VpcSrcInfo',
|
|
5082
|
+
vulLevel: 'VulLevel',
|
|
5083
|
+
};
|
|
5084
|
+
}
|
|
5085
|
+
static types() {
|
|
5086
|
+
return {
|
|
5087
|
+
attackApp: 'string',
|
|
5088
|
+
attackType: 'number',
|
|
5089
|
+
description: 'string',
|
|
5090
|
+
direction: 'string',
|
|
5091
|
+
dstIP: 'string',
|
|
5092
|
+
eventCount: 'number',
|
|
5093
|
+
eventId: 'string',
|
|
5094
|
+
eventName: 'string',
|
|
5095
|
+
firstEventTime: 'number',
|
|
5096
|
+
IPLocationInfo: DescribeRiskEventGroupResponseBodyDataListIPLocationInfo,
|
|
5097
|
+
lastEventTime: 'number',
|
|
5098
|
+
resourcePrivateIPList: { 'type': 'array', 'itemType': DescribeRiskEventGroupResponseBodyDataListResourcePrivateIPList },
|
|
5099
|
+
resourceType: 'string',
|
|
5100
|
+
ruleId: 'string',
|
|
5101
|
+
ruleResult: 'number',
|
|
5102
|
+
ruleSource: 'number',
|
|
5103
|
+
srcIP: 'string',
|
|
5104
|
+
srcIPTag: 'string',
|
|
5105
|
+
srcPrivateIPList: { 'type': 'array', 'itemType': 'string' },
|
|
5106
|
+
tag: 'string',
|
|
5107
|
+
vpcDstInfo: DescribeRiskEventGroupResponseBodyDataListVpcDstInfo,
|
|
5108
|
+
vpcSrcInfo: DescribeRiskEventGroupResponseBodyDataListVpcSrcInfo,
|
|
5109
|
+
vulLevel: 'number',
|
|
5110
|
+
};
|
|
5111
|
+
}
|
|
5112
|
+
}
|
|
5113
|
+
exports.DescribeRiskEventGroupResponseBodyDataList = DescribeRiskEventGroupResponseBodyDataList;
|
|
5114
|
+
class DescribeTrFirewallPolicyBackUpAssociationListResponseBodyPolicyAssociationBackupConfigs extends $tea.Model {
|
|
5115
|
+
constructor(map) {
|
|
5116
|
+
super(map);
|
|
5117
|
+
}
|
|
5118
|
+
static names() {
|
|
5119
|
+
return {
|
|
5120
|
+
candidateId: 'CandidateId',
|
|
5121
|
+
candidateName: 'CandidateName',
|
|
5122
|
+
candidateType: 'CandidateType',
|
|
5123
|
+
currentRouteTableId: 'CurrentRouteTableId',
|
|
5124
|
+
originalRouteTableId: 'OriginalRouteTableId',
|
|
5125
|
+
};
|
|
5126
|
+
}
|
|
5127
|
+
static types() {
|
|
5128
|
+
return {
|
|
5129
|
+
candidateId: 'string',
|
|
5130
|
+
candidateName: 'string',
|
|
5131
|
+
candidateType: 'string',
|
|
5132
|
+
currentRouteTableId: 'string',
|
|
5133
|
+
originalRouteTableId: 'string',
|
|
5134
|
+
};
|
|
5135
|
+
}
|
|
5136
|
+
}
|
|
5137
|
+
exports.DescribeTrFirewallPolicyBackUpAssociationListResponseBodyPolicyAssociationBackupConfigs = DescribeTrFirewallPolicyBackUpAssociationListResponseBodyPolicyAssociationBackupConfigs;
|
|
5138
|
+
class DescribeTrFirewallV2RoutePolicyListResponseBodyTrFirewallRoutePoliciesDestCandidateList extends $tea.Model {
|
|
5139
|
+
constructor(map) {
|
|
5140
|
+
super(map);
|
|
5141
|
+
}
|
|
5142
|
+
static names() {
|
|
5143
|
+
return {
|
|
5144
|
+
candidateId: 'CandidateId',
|
|
5145
|
+
candidateType: 'CandidateType',
|
|
5146
|
+
};
|
|
5147
|
+
}
|
|
5148
|
+
static types() {
|
|
5149
|
+
return {
|
|
5150
|
+
candidateId: 'string',
|
|
5151
|
+
candidateType: 'string',
|
|
5152
|
+
};
|
|
5153
|
+
}
|
|
5154
|
+
}
|
|
5155
|
+
exports.DescribeTrFirewallV2RoutePolicyListResponseBodyTrFirewallRoutePoliciesDestCandidateList = DescribeTrFirewallV2RoutePolicyListResponseBodyTrFirewallRoutePoliciesDestCandidateList;
|
|
5156
|
+
class DescribeTrFirewallV2RoutePolicyListResponseBodyTrFirewallRoutePoliciesSrcCandidateList extends $tea.Model {
|
|
5157
|
+
constructor(map) {
|
|
5158
|
+
super(map);
|
|
5159
|
+
}
|
|
5160
|
+
static names() {
|
|
5161
|
+
return {
|
|
5162
|
+
candidateId: 'CandidateId',
|
|
5163
|
+
candidateType: 'CandidateType',
|
|
5164
|
+
};
|
|
5165
|
+
}
|
|
5166
|
+
static types() {
|
|
5167
|
+
return {
|
|
5168
|
+
candidateId: 'string',
|
|
5169
|
+
candidateType: 'string',
|
|
5170
|
+
};
|
|
5171
|
+
}
|
|
5172
|
+
}
|
|
5173
|
+
exports.DescribeTrFirewallV2RoutePolicyListResponseBodyTrFirewallRoutePoliciesSrcCandidateList = DescribeTrFirewallV2RoutePolicyListResponseBodyTrFirewallRoutePoliciesSrcCandidateList;
|
|
5174
|
+
class DescribeTrFirewallV2RoutePolicyListResponseBodyTrFirewallRoutePolicies extends $tea.Model {
|
|
5175
|
+
constructor(map) {
|
|
5176
|
+
super(map);
|
|
5177
|
+
}
|
|
5178
|
+
static names() {
|
|
5179
|
+
return {
|
|
5180
|
+
destCandidateList: 'DestCandidateList',
|
|
5181
|
+
policyDescription: 'PolicyDescription',
|
|
5182
|
+
policyName: 'PolicyName',
|
|
5183
|
+
policyStatus: 'PolicyStatus',
|
|
5184
|
+
policyType: 'PolicyType',
|
|
5185
|
+
srcCandidateList: 'SrcCandidateList',
|
|
5186
|
+
trFirewallRoutePolicyId: 'TrFirewallRoutePolicyId',
|
|
5187
|
+
};
|
|
5188
|
+
}
|
|
5189
|
+
static types() {
|
|
5190
|
+
return {
|
|
5191
|
+
destCandidateList: { 'type': 'array', 'itemType': DescribeTrFirewallV2RoutePolicyListResponseBodyTrFirewallRoutePoliciesDestCandidateList },
|
|
5192
|
+
policyDescription: 'string',
|
|
5193
|
+
policyName: 'string',
|
|
5194
|
+
policyStatus: 'string',
|
|
5195
|
+
policyType: 'string',
|
|
5196
|
+
srcCandidateList: { 'type': 'array', 'itemType': DescribeTrFirewallV2RoutePolicyListResponseBodyTrFirewallRoutePoliciesSrcCandidateList },
|
|
5197
|
+
trFirewallRoutePolicyId: 'string',
|
|
5198
|
+
};
|
|
5199
|
+
}
|
|
5200
|
+
}
|
|
5201
|
+
exports.DescribeTrFirewallV2RoutePolicyListResponseBodyTrFirewallRoutePolicies = DescribeTrFirewallV2RoutePolicyListResponseBodyTrFirewallRoutePolicies;
|
|
5202
|
+
class DescribeTrFirewallsV2ListResponseBodyVpcTrFirewallsIpsConfig extends $tea.Model {
|
|
5203
|
+
constructor(map) {
|
|
5204
|
+
super(map);
|
|
5205
|
+
}
|
|
5206
|
+
static names() {
|
|
5207
|
+
return {
|
|
5208
|
+
basicRules: 'BasicRules',
|
|
5209
|
+
enableAllPatch: 'EnableAllPatch',
|
|
5210
|
+
runMode: 'RunMode',
|
|
5211
|
+
};
|
|
5212
|
+
}
|
|
5213
|
+
static types() {
|
|
5214
|
+
return {
|
|
5215
|
+
basicRules: 'number',
|
|
5216
|
+
enableAllPatch: 'number',
|
|
5217
|
+
runMode: 'number',
|
|
5218
|
+
};
|
|
5219
|
+
}
|
|
5220
|
+
}
|
|
5221
|
+
exports.DescribeTrFirewallsV2ListResponseBodyVpcTrFirewallsIpsConfig = DescribeTrFirewallsV2ListResponseBodyVpcTrFirewallsIpsConfig;
|
|
5222
|
+
class DescribeTrFirewallsV2ListResponseBodyVpcTrFirewalls extends $tea.Model {
|
|
5223
|
+
constructor(map) {
|
|
5224
|
+
super(map);
|
|
5225
|
+
}
|
|
5226
|
+
static names() {
|
|
5227
|
+
return {
|
|
5228
|
+
cenId: 'CenId',
|
|
5229
|
+
cenName: 'CenName',
|
|
5230
|
+
firewallId: 'FirewallId',
|
|
5231
|
+
firewallSwitchStatus: 'FirewallSwitchStatus',
|
|
5232
|
+
ipsConfig: 'IpsConfig',
|
|
5233
|
+
ownerId: 'OwnerId',
|
|
5234
|
+
precheckStatus: 'PrecheckStatus',
|
|
5235
|
+
regionNo: 'RegionNo',
|
|
5236
|
+
regionStatus: 'RegionStatus',
|
|
5237
|
+
resultCode: 'ResultCode',
|
|
5238
|
+
routeMode: 'RouteMode',
|
|
5239
|
+
transitRouterId: 'TransitRouterId',
|
|
5240
|
+
vpcFirewallName: 'VpcFirewallName',
|
|
5241
|
+
};
|
|
5242
|
+
}
|
|
5243
|
+
static types() {
|
|
5244
|
+
return {
|
|
5245
|
+
cenId: 'string',
|
|
5246
|
+
cenName: 'string',
|
|
5247
|
+
firewallId: 'string',
|
|
5248
|
+
firewallSwitchStatus: 'string',
|
|
5249
|
+
ipsConfig: DescribeTrFirewallsV2ListResponseBodyVpcTrFirewallsIpsConfig,
|
|
5250
|
+
ownerId: 'number',
|
|
5251
|
+
precheckStatus: 'string',
|
|
4067
5252
|
regionNo: 'string',
|
|
5253
|
+
regionStatus: 'string',
|
|
5254
|
+
resultCode: 'string',
|
|
5255
|
+
routeMode: 'string',
|
|
5256
|
+
transitRouterId: 'string',
|
|
5257
|
+
vpcFirewallName: 'string',
|
|
4068
5258
|
};
|
|
4069
5259
|
}
|
|
4070
5260
|
}
|
|
4071
|
-
exports.
|
|
4072
|
-
class
|
|
5261
|
+
exports.DescribeTrFirewallsV2ListResponseBodyVpcTrFirewalls = DescribeTrFirewallsV2ListResponseBodyVpcTrFirewalls;
|
|
5262
|
+
class DescribeTrFirewallsV2RouteListResponseBodyFirewallRouteDetailList extends $tea.Model {
|
|
4073
5263
|
constructor(map) {
|
|
4074
5264
|
super(map);
|
|
4075
5265
|
}
|
|
4076
5266
|
static names() {
|
|
4077
5267
|
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',
|
|
5268
|
+
trFirewallRouteDestination: 'TrFirewallRouteDestination',
|
|
5269
|
+
trFirewallRouteNexthop: 'TrFirewallRouteNexthop',
|
|
5270
|
+
trFirewallRoutePolicyId: 'TrFirewallRoutePolicyId',
|
|
5271
|
+
trFirewallRouteTableId: 'TrFirewallRouteTableId',
|
|
4101
5272
|
};
|
|
4102
5273
|
}
|
|
4103
5274
|
static types() {
|
|
4104
5275
|
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',
|
|
5276
|
+
trFirewallRouteDestination: 'string',
|
|
5277
|
+
trFirewallRouteNexthop: 'string',
|
|
5278
|
+
trFirewallRoutePolicyId: 'string',
|
|
5279
|
+
trFirewallRouteTableId: 'string',
|
|
4128
5280
|
};
|
|
4129
5281
|
}
|
|
4130
5282
|
}
|
|
4131
|
-
exports.
|
|
5283
|
+
exports.DescribeTrFirewallsV2RouteListResponseBodyFirewallRouteDetailList = DescribeTrFirewallsV2RouteListResponseBodyFirewallRouteDetailList;
|
|
4132
5284
|
class DescribeVpcFirewallAclGroupListResponseBodyAclGroupList extends $tea.Model {
|
|
4133
5285
|
constructor(map) {
|
|
4134
5286
|
super(map);
|
|
@@ -4879,6 +6031,42 @@ class ModifyInstanceMemberAttributesRequestMembers extends $tea.Model {
|
|
|
4879
6031
|
}
|
|
4880
6032
|
}
|
|
4881
6033
|
exports.ModifyInstanceMemberAttributesRequestMembers = ModifyInstanceMemberAttributesRequestMembers;
|
|
6034
|
+
class ModifyTrFirewallV2RoutePolicyScopeRequestDestCandidateList extends $tea.Model {
|
|
6035
|
+
constructor(map) {
|
|
6036
|
+
super(map);
|
|
6037
|
+
}
|
|
6038
|
+
static names() {
|
|
6039
|
+
return {
|
|
6040
|
+
candidateId: 'CandidateId',
|
|
6041
|
+
candidateType: 'CandidateType',
|
|
6042
|
+
};
|
|
6043
|
+
}
|
|
6044
|
+
static types() {
|
|
6045
|
+
return {
|
|
6046
|
+
candidateId: 'string',
|
|
6047
|
+
candidateType: 'string',
|
|
6048
|
+
};
|
|
6049
|
+
}
|
|
6050
|
+
}
|
|
6051
|
+
exports.ModifyTrFirewallV2RoutePolicyScopeRequestDestCandidateList = ModifyTrFirewallV2RoutePolicyScopeRequestDestCandidateList;
|
|
6052
|
+
class ModifyTrFirewallV2RoutePolicyScopeRequestSrcCandidateList extends $tea.Model {
|
|
6053
|
+
constructor(map) {
|
|
6054
|
+
super(map);
|
|
6055
|
+
}
|
|
6056
|
+
static names() {
|
|
6057
|
+
return {
|
|
6058
|
+
candidateId: 'CandidateId',
|
|
6059
|
+
candidateType: 'CandidateType',
|
|
6060
|
+
};
|
|
6061
|
+
}
|
|
6062
|
+
static types() {
|
|
6063
|
+
return {
|
|
6064
|
+
candidateId: 'string',
|
|
6065
|
+
candidateType: 'string',
|
|
6066
|
+
};
|
|
6067
|
+
}
|
|
6068
|
+
}
|
|
6069
|
+
exports.ModifyTrFirewallV2RoutePolicyScopeRequestSrcCandidateList = ModifyTrFirewallV2RoutePolicyScopeRequestSrcCandidateList;
|
|
4882
6070
|
class Client extends openapi_client_1.default {
|
|
4883
6071
|
constructor(config) {
|
|
4884
6072
|
super(config);
|
|
@@ -4967,7 +6155,7 @@ class Client extends openapi_client_1.default {
|
|
|
4967
6155
|
return await this.addAddressBookWithOptions(request, runtime);
|
|
4968
6156
|
}
|
|
4969
6157
|
/**
|
|
4970
|
-
* You can call the AddControlPolicy operation to create an access control policy to allow,
|
|
6158
|
+
* You can call the AddControlPolicy operation to create an access control policy to allow, block, or monitor traffic that reaches Cloud Firewall.
|
|
4971
6159
|
* ## Limits
|
|
4972
6160
|
* 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
6161
|
*
|
|
@@ -5049,7 +6237,7 @@ class Client extends openapi_client_1.default {
|
|
|
5049
6237
|
return $tea.cast(await this.callApi(params, req, runtime), new AddControlPolicyResponse({}));
|
|
5050
6238
|
}
|
|
5051
6239
|
/**
|
|
5052
|
-
* You can call the AddControlPolicy operation to create an access control policy to allow,
|
|
6240
|
+
* You can call the AddControlPolicy operation to create an access control policy to allow, block, or monitor traffic that reaches Cloud Firewall.
|
|
5053
6241
|
* ## Limits
|
|
5054
6242
|
* 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
6243
|
*
|
|
@@ -5161,6 +6349,120 @@ class Client extends openapi_client_1.default {
|
|
|
5161
6349
|
let runtime = new $Util.RuntimeOptions({});
|
|
5162
6350
|
return await this.batchCopyVpcFirewallControlPolicyWithOptions(request, runtime);
|
|
5163
6351
|
}
|
|
6352
|
+
async createTrFirewallV2WithOptions(request, runtime) {
|
|
6353
|
+
tea_util_1.default.validateModel(request);
|
|
6354
|
+
let query = {};
|
|
6355
|
+
if (!tea_util_1.default.isUnset(request.cenId)) {
|
|
6356
|
+
query["CenId"] = request.cenId;
|
|
6357
|
+
}
|
|
6358
|
+
if (!tea_util_1.default.isUnset(request.firewallDescription)) {
|
|
6359
|
+
query["FirewallDescription"] = request.firewallDescription;
|
|
6360
|
+
}
|
|
6361
|
+
if (!tea_util_1.default.isUnset(request.firewallName)) {
|
|
6362
|
+
query["FirewallName"] = request.firewallName;
|
|
6363
|
+
}
|
|
6364
|
+
if (!tea_util_1.default.isUnset(request.firewallSubnetCidr)) {
|
|
6365
|
+
query["FirewallSubnetCidr"] = request.firewallSubnetCidr;
|
|
6366
|
+
}
|
|
6367
|
+
if (!tea_util_1.default.isUnset(request.firewallVpcCidr)) {
|
|
6368
|
+
query["FirewallVpcCidr"] = request.firewallVpcCidr;
|
|
6369
|
+
}
|
|
6370
|
+
if (!tea_util_1.default.isUnset(request.firewallVpcId)) {
|
|
6371
|
+
query["FirewallVpcId"] = request.firewallVpcId;
|
|
6372
|
+
}
|
|
6373
|
+
if (!tea_util_1.default.isUnset(request.firewallVswitchId)) {
|
|
6374
|
+
query["FirewallVswitchId"] = request.firewallVswitchId;
|
|
6375
|
+
}
|
|
6376
|
+
if (!tea_util_1.default.isUnset(request.lang)) {
|
|
6377
|
+
query["Lang"] = request.lang;
|
|
6378
|
+
}
|
|
6379
|
+
if (!tea_util_1.default.isUnset(request.regionNo)) {
|
|
6380
|
+
query["RegionNo"] = request.regionNo;
|
|
6381
|
+
}
|
|
6382
|
+
if (!tea_util_1.default.isUnset(request.routeMode)) {
|
|
6383
|
+
query["RouteMode"] = request.routeMode;
|
|
6384
|
+
}
|
|
6385
|
+
if (!tea_util_1.default.isUnset(request.trAttachmentMasterCidr)) {
|
|
6386
|
+
query["TrAttachmentMasterCidr"] = request.trAttachmentMasterCidr;
|
|
6387
|
+
}
|
|
6388
|
+
if (!tea_util_1.default.isUnset(request.trAttachmentSlaveCidr)) {
|
|
6389
|
+
query["TrAttachmentSlaveCidr"] = request.trAttachmentSlaveCidr;
|
|
6390
|
+
}
|
|
6391
|
+
if (!tea_util_1.default.isUnset(request.transitRouterId)) {
|
|
6392
|
+
query["TransitRouterId"] = request.transitRouterId;
|
|
6393
|
+
}
|
|
6394
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
6395
|
+
query: openapi_util_1.default.query(query),
|
|
6396
|
+
});
|
|
6397
|
+
let params = new $OpenApi.Params({
|
|
6398
|
+
action: "CreateTrFirewallV2",
|
|
6399
|
+
version: "2017-12-07",
|
|
6400
|
+
protocol: "HTTPS",
|
|
6401
|
+
pathname: "/",
|
|
6402
|
+
method: "POST",
|
|
6403
|
+
authType: "AK",
|
|
6404
|
+
style: "RPC",
|
|
6405
|
+
reqBodyType: "formData",
|
|
6406
|
+
bodyType: "json",
|
|
6407
|
+
});
|
|
6408
|
+
return $tea.cast(await this.callApi(params, req, runtime), new CreateTrFirewallV2Response({}));
|
|
6409
|
+
}
|
|
6410
|
+
async createTrFirewallV2(request) {
|
|
6411
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
6412
|
+
return await this.createTrFirewallV2WithOptions(request, runtime);
|
|
6413
|
+
}
|
|
6414
|
+
async createTrFirewallV2RoutePolicyWithOptions(tmpReq, runtime) {
|
|
6415
|
+
tea_util_1.default.validateModel(tmpReq);
|
|
6416
|
+
let request = new CreateTrFirewallV2RoutePolicyShrinkRequest({});
|
|
6417
|
+
openapi_util_1.default.convert(tmpReq, request);
|
|
6418
|
+
if (!tea_util_1.default.isUnset(tmpReq.destCandidateList)) {
|
|
6419
|
+
request.destCandidateListShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpReq.destCandidateList, "DestCandidateList", "json");
|
|
6420
|
+
}
|
|
6421
|
+
if (!tea_util_1.default.isUnset(tmpReq.srcCandidateList)) {
|
|
6422
|
+
request.srcCandidateListShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpReq.srcCandidateList, "SrcCandidateList", "json");
|
|
6423
|
+
}
|
|
6424
|
+
let query = {};
|
|
6425
|
+
if (!tea_util_1.default.isUnset(request.destCandidateListShrink)) {
|
|
6426
|
+
query["DestCandidateList"] = request.destCandidateListShrink;
|
|
6427
|
+
}
|
|
6428
|
+
if (!tea_util_1.default.isUnset(request.firewallId)) {
|
|
6429
|
+
query["FirewallId"] = request.firewallId;
|
|
6430
|
+
}
|
|
6431
|
+
if (!tea_util_1.default.isUnset(request.lang)) {
|
|
6432
|
+
query["Lang"] = request.lang;
|
|
6433
|
+
}
|
|
6434
|
+
if (!tea_util_1.default.isUnset(request.policyDescription)) {
|
|
6435
|
+
query["PolicyDescription"] = request.policyDescription;
|
|
6436
|
+
}
|
|
6437
|
+
if (!tea_util_1.default.isUnset(request.policyName)) {
|
|
6438
|
+
query["PolicyName"] = request.policyName;
|
|
6439
|
+
}
|
|
6440
|
+
if (!tea_util_1.default.isUnset(request.policyType)) {
|
|
6441
|
+
query["PolicyType"] = request.policyType;
|
|
6442
|
+
}
|
|
6443
|
+
if (!tea_util_1.default.isUnset(request.srcCandidateListShrink)) {
|
|
6444
|
+
query["SrcCandidateList"] = request.srcCandidateListShrink;
|
|
6445
|
+
}
|
|
6446
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
6447
|
+
query: openapi_util_1.default.query(query),
|
|
6448
|
+
});
|
|
6449
|
+
let params = new $OpenApi.Params({
|
|
6450
|
+
action: "CreateTrFirewallV2RoutePolicy",
|
|
6451
|
+
version: "2017-12-07",
|
|
6452
|
+
protocol: "HTTPS",
|
|
6453
|
+
pathname: "/",
|
|
6454
|
+
method: "POST",
|
|
6455
|
+
authType: "AK",
|
|
6456
|
+
style: "RPC",
|
|
6457
|
+
reqBodyType: "formData",
|
|
6458
|
+
bodyType: "json",
|
|
6459
|
+
});
|
|
6460
|
+
return $tea.cast(await this.callApi(params, req, runtime), new CreateTrFirewallV2RoutePolicyResponse({}));
|
|
6461
|
+
}
|
|
6462
|
+
async createTrFirewallV2RoutePolicy(request) {
|
|
6463
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
6464
|
+
return await this.createTrFirewallV2RoutePolicyWithOptions(request, runtime);
|
|
6465
|
+
}
|
|
5164
6466
|
/**
|
|
5165
6467
|
* 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
6468
|
* ## Limits
|
|
@@ -5484,6 +6786,38 @@ class Client extends openapi_client_1.default {
|
|
|
5484
6786
|
let runtime = new $Util.RuntimeOptions({});
|
|
5485
6787
|
return await this.deleteControlPolicyWithOptions(request, runtime);
|
|
5486
6788
|
}
|
|
6789
|
+
async deleteFirewallV2RoutePoliciesWithOptions(request, runtime) {
|
|
6790
|
+
tea_util_1.default.validateModel(request);
|
|
6791
|
+
let query = {};
|
|
6792
|
+
if (!tea_util_1.default.isUnset(request.firewallId)) {
|
|
6793
|
+
query["FirewallId"] = request.firewallId;
|
|
6794
|
+
}
|
|
6795
|
+
if (!tea_util_1.default.isUnset(request.lang)) {
|
|
6796
|
+
query["Lang"] = request.lang;
|
|
6797
|
+
}
|
|
6798
|
+
if (!tea_util_1.default.isUnset(request.trFirewallRoutePolicyId)) {
|
|
6799
|
+
query["TrFirewallRoutePolicyId"] = request.trFirewallRoutePolicyId;
|
|
6800
|
+
}
|
|
6801
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
6802
|
+
query: openapi_util_1.default.query(query),
|
|
6803
|
+
});
|
|
6804
|
+
let params = new $OpenApi.Params({
|
|
6805
|
+
action: "DeleteFirewallV2RoutePolicies",
|
|
6806
|
+
version: "2017-12-07",
|
|
6807
|
+
protocol: "HTTPS",
|
|
6808
|
+
pathname: "/",
|
|
6809
|
+
method: "POST",
|
|
6810
|
+
authType: "AK",
|
|
6811
|
+
style: "RPC",
|
|
6812
|
+
reqBodyType: "formData",
|
|
6813
|
+
bodyType: "json",
|
|
6814
|
+
});
|
|
6815
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DeleteFirewallV2RoutePoliciesResponse({}));
|
|
6816
|
+
}
|
|
6817
|
+
async deleteFirewallV2RoutePolicies(request) {
|
|
6818
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
6819
|
+
return await this.deleteFirewallV2RoutePoliciesWithOptions(request, runtime);
|
|
6820
|
+
}
|
|
5487
6821
|
/**
|
|
5488
6822
|
* You can call the DeleteInstanceMembers operation to remove members from Cloud Firewall.
|
|
5489
6823
|
* ## Limits
|
|
@@ -5527,6 +6861,35 @@ class Client extends openapi_client_1.default {
|
|
|
5527
6861
|
let runtime = new $Util.RuntimeOptions({});
|
|
5528
6862
|
return await this.deleteInstanceMembersWithOptions(request, runtime);
|
|
5529
6863
|
}
|
|
6864
|
+
async deleteTrFirewallV2WithOptions(request, runtime) {
|
|
6865
|
+
tea_util_1.default.validateModel(request);
|
|
6866
|
+
let query = {};
|
|
6867
|
+
if (!tea_util_1.default.isUnset(request.firewallId)) {
|
|
6868
|
+
query["FirewallId"] = request.firewallId;
|
|
6869
|
+
}
|
|
6870
|
+
if (!tea_util_1.default.isUnset(request.lang)) {
|
|
6871
|
+
query["Lang"] = request.lang;
|
|
6872
|
+
}
|
|
6873
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
6874
|
+
query: openapi_util_1.default.query(query),
|
|
6875
|
+
});
|
|
6876
|
+
let params = new $OpenApi.Params({
|
|
6877
|
+
action: "DeleteTrFirewallV2",
|
|
6878
|
+
version: "2017-12-07",
|
|
6879
|
+
protocol: "HTTPS",
|
|
6880
|
+
pathname: "/",
|
|
6881
|
+
method: "POST",
|
|
6882
|
+
authType: "AK",
|
|
6883
|
+
style: "RPC",
|
|
6884
|
+
reqBodyType: "formData",
|
|
6885
|
+
bodyType: "json",
|
|
6886
|
+
});
|
|
6887
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DeleteTrFirewallV2Response({}));
|
|
6888
|
+
}
|
|
6889
|
+
async deleteTrFirewallV2(request) {
|
|
6890
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
6891
|
+
return await this.deleteTrFirewallV2WithOptions(request, runtime);
|
|
6892
|
+
}
|
|
5530
6893
|
/**
|
|
5531
6894
|
* 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
6895
|
* ## Limits
|
|
@@ -5960,23 +7323,84 @@ class Client extends openapi_client_1.default {
|
|
|
5960
7323
|
if (!tea_util_1.default.isUnset(request.currentPage)) {
|
|
5961
7324
|
query["CurrentPage"] = request.currentPage;
|
|
5962
7325
|
}
|
|
5963
|
-
if (!tea_util_1.default.isUnset(request.memberDesc)) {
|
|
5964
|
-
query["MemberDesc"] = request.memberDesc;
|
|
7326
|
+
if (!tea_util_1.default.isUnset(request.memberDesc)) {
|
|
7327
|
+
query["MemberDesc"] = request.memberDesc;
|
|
7328
|
+
}
|
|
7329
|
+
if (!tea_util_1.default.isUnset(request.memberDisplayName)) {
|
|
7330
|
+
query["MemberDisplayName"] = request.memberDisplayName;
|
|
7331
|
+
}
|
|
7332
|
+
if (!tea_util_1.default.isUnset(request.memberUid)) {
|
|
7333
|
+
query["MemberUid"] = request.memberUid;
|
|
7334
|
+
}
|
|
7335
|
+
if (!tea_util_1.default.isUnset(request.pageSize)) {
|
|
7336
|
+
query["PageSize"] = request.pageSize;
|
|
7337
|
+
}
|
|
7338
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
7339
|
+
query: openapi_util_1.default.query(query),
|
|
7340
|
+
});
|
|
7341
|
+
let params = new $OpenApi.Params({
|
|
7342
|
+
action: "DescribeInstanceMembers",
|
|
7343
|
+
version: "2017-12-07",
|
|
7344
|
+
protocol: "HTTPS",
|
|
7345
|
+
pathname: "/",
|
|
7346
|
+
method: "POST",
|
|
7347
|
+
authType: "AK",
|
|
7348
|
+
style: "RPC",
|
|
7349
|
+
reqBodyType: "formData",
|
|
7350
|
+
bodyType: "json",
|
|
7351
|
+
});
|
|
7352
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribeInstanceMembersResponse({}));
|
|
7353
|
+
}
|
|
7354
|
+
/**
|
|
7355
|
+
* You can call the DescribeInstanceMembers operation to query the information about members in Cloud Firewall.
|
|
7356
|
+
* ## Limits
|
|
7357
|
+
* 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.
|
|
7358
|
+
*
|
|
7359
|
+
* @param request DescribeInstanceMembersRequest
|
|
7360
|
+
* @return DescribeInstanceMembersResponse
|
|
7361
|
+
*/
|
|
7362
|
+
async describeInstanceMembers(request) {
|
|
7363
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
7364
|
+
return await this.describeInstanceMembersWithOptions(request, runtime);
|
|
7365
|
+
}
|
|
7366
|
+
async describeInternetTrafficTrendWithOptions(request, runtime) {
|
|
7367
|
+
tea_util_1.default.validateModel(request);
|
|
7368
|
+
let query = {};
|
|
7369
|
+
if (!tea_util_1.default.isUnset(request.direction)) {
|
|
7370
|
+
query["Direction"] = request.direction;
|
|
7371
|
+
}
|
|
7372
|
+
if (!tea_util_1.default.isUnset(request.endTime)) {
|
|
7373
|
+
query["EndTime"] = request.endTime;
|
|
7374
|
+
}
|
|
7375
|
+
if (!tea_util_1.default.isUnset(request.lang)) {
|
|
7376
|
+
query["Lang"] = request.lang;
|
|
7377
|
+
}
|
|
7378
|
+
if (!tea_util_1.default.isUnset(request.lang)) {
|
|
7379
|
+
query["Lang"] = request.lang;
|
|
7380
|
+
}
|
|
7381
|
+
if (!tea_util_1.default.isUnset(request.sourceCode)) {
|
|
7382
|
+
query["SourceCode"] = request.sourceCode;
|
|
7383
|
+
}
|
|
7384
|
+
if (!tea_util_1.default.isUnset(request.sourceIp)) {
|
|
7385
|
+
query["SourceIp"] = request.sourceIp;
|
|
7386
|
+
}
|
|
7387
|
+
if (!tea_util_1.default.isUnset(request.srcPrivateIP)) {
|
|
7388
|
+
query["SrcPrivateIP"] = request.srcPrivateIP;
|
|
5965
7389
|
}
|
|
5966
|
-
if (!tea_util_1.default.isUnset(request.
|
|
5967
|
-
query["
|
|
7390
|
+
if (!tea_util_1.default.isUnset(request.srcPublicIP)) {
|
|
7391
|
+
query["SrcPublicIP"] = request.srcPublicIP;
|
|
5968
7392
|
}
|
|
5969
|
-
if (!tea_util_1.default.isUnset(request.
|
|
5970
|
-
query["
|
|
7393
|
+
if (!tea_util_1.default.isUnset(request.startTime)) {
|
|
7394
|
+
query["StartTime"] = request.startTime;
|
|
5971
7395
|
}
|
|
5972
|
-
if (!tea_util_1.default.isUnset(request.
|
|
5973
|
-
query["
|
|
7396
|
+
if (!tea_util_1.default.isUnset(request.trafficType)) {
|
|
7397
|
+
query["TrafficType"] = request.trafficType;
|
|
5974
7398
|
}
|
|
5975
7399
|
let req = new $OpenApi.OpenApiRequest({
|
|
5976
7400
|
query: openapi_util_1.default.query(query),
|
|
5977
7401
|
});
|
|
5978
7402
|
let params = new $OpenApi.Params({
|
|
5979
|
-
action: "
|
|
7403
|
+
action: "DescribeInternetTrafficTrend",
|
|
5980
7404
|
version: "2017-12-07",
|
|
5981
7405
|
protocol: "HTTPS",
|
|
5982
7406
|
pathname: "/",
|
|
@@ -5986,19 +7410,11 @@ class Client extends openapi_client_1.default {
|
|
|
5986
7410
|
reqBodyType: "formData",
|
|
5987
7411
|
bodyType: "json",
|
|
5988
7412
|
});
|
|
5989
|
-
return $tea.cast(await this.callApi(params, req, runtime), new
|
|
7413
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribeInternetTrafficTrendResponse({}));
|
|
5990
7414
|
}
|
|
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) {
|
|
7415
|
+
async describeInternetTrafficTrend(request) {
|
|
6000
7416
|
let runtime = new $Util.RuntimeOptions({});
|
|
6001
|
-
return await this.
|
|
7417
|
+
return await this.describeInternetTrafficTrendWithOptions(request, runtime);
|
|
6002
7418
|
}
|
|
6003
7419
|
async describeInvadeEventListWithOptions(request, runtime) {
|
|
6004
7420
|
tea_util_1.default.validateModel(request);
|
|
@@ -6402,6 +7818,196 @@ class Client extends openapi_client_1.default {
|
|
|
6402
7818
|
let runtime = new $Util.RuntimeOptions({});
|
|
6403
7819
|
return await this.describeRiskEventGroupWithOptions(request, runtime);
|
|
6404
7820
|
}
|
|
7821
|
+
async describeTrFirewallPolicyBackUpAssociationListWithOptions(request, runtime) {
|
|
7822
|
+
tea_util_1.default.validateModel(request);
|
|
7823
|
+
let query = {};
|
|
7824
|
+
if (!tea_util_1.default.isUnset(request.firewallId)) {
|
|
7825
|
+
query["FirewallId"] = request.firewallId;
|
|
7826
|
+
}
|
|
7827
|
+
if (!tea_util_1.default.isUnset(request.lang)) {
|
|
7828
|
+
query["Lang"] = request.lang;
|
|
7829
|
+
}
|
|
7830
|
+
if (!tea_util_1.default.isUnset(request.trFirewallRoutePolicyId)) {
|
|
7831
|
+
query["TrFirewallRoutePolicyId"] = request.trFirewallRoutePolicyId;
|
|
7832
|
+
}
|
|
7833
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
7834
|
+
query: openapi_util_1.default.query(query),
|
|
7835
|
+
});
|
|
7836
|
+
let params = new $OpenApi.Params({
|
|
7837
|
+
action: "DescribeTrFirewallPolicyBackUpAssociationList",
|
|
7838
|
+
version: "2017-12-07",
|
|
7839
|
+
protocol: "HTTPS",
|
|
7840
|
+
pathname: "/",
|
|
7841
|
+
method: "POST",
|
|
7842
|
+
authType: "AK",
|
|
7843
|
+
style: "RPC",
|
|
7844
|
+
reqBodyType: "formData",
|
|
7845
|
+
bodyType: "json",
|
|
7846
|
+
});
|
|
7847
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribeTrFirewallPolicyBackUpAssociationListResponse({}));
|
|
7848
|
+
}
|
|
7849
|
+
async describeTrFirewallPolicyBackUpAssociationList(request) {
|
|
7850
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
7851
|
+
return await this.describeTrFirewallPolicyBackUpAssociationListWithOptions(request, runtime);
|
|
7852
|
+
}
|
|
7853
|
+
async describeTrFirewallV2RoutePolicyListWithOptions(request, runtime) {
|
|
7854
|
+
tea_util_1.default.validateModel(request);
|
|
7855
|
+
let query = {};
|
|
7856
|
+
if (!tea_util_1.default.isUnset(request.currentPage)) {
|
|
7857
|
+
query["CurrentPage"] = request.currentPage;
|
|
7858
|
+
}
|
|
7859
|
+
if (!tea_util_1.default.isUnset(request.firewallId)) {
|
|
7860
|
+
query["FirewallId"] = request.firewallId;
|
|
7861
|
+
}
|
|
7862
|
+
if (!tea_util_1.default.isUnset(request.lang)) {
|
|
7863
|
+
query["Lang"] = request.lang;
|
|
7864
|
+
}
|
|
7865
|
+
if (!tea_util_1.default.isUnset(request.pageSize)) {
|
|
7866
|
+
query["PageSize"] = request.pageSize;
|
|
7867
|
+
}
|
|
7868
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
7869
|
+
query: openapi_util_1.default.query(query),
|
|
7870
|
+
});
|
|
7871
|
+
let params = new $OpenApi.Params({
|
|
7872
|
+
action: "DescribeTrFirewallV2RoutePolicyList",
|
|
7873
|
+
version: "2017-12-07",
|
|
7874
|
+
protocol: "HTTPS",
|
|
7875
|
+
pathname: "/",
|
|
7876
|
+
method: "POST",
|
|
7877
|
+
authType: "AK",
|
|
7878
|
+
style: "RPC",
|
|
7879
|
+
reqBodyType: "formData",
|
|
7880
|
+
bodyType: "json",
|
|
7881
|
+
});
|
|
7882
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribeTrFirewallV2RoutePolicyListResponse({}));
|
|
7883
|
+
}
|
|
7884
|
+
async describeTrFirewallV2RoutePolicyList(request) {
|
|
7885
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
7886
|
+
return await this.describeTrFirewallV2RoutePolicyListWithOptions(request, runtime);
|
|
7887
|
+
}
|
|
7888
|
+
async describeTrFirewallsV2DetailWithOptions(request, runtime) {
|
|
7889
|
+
tea_util_1.default.validateModel(request);
|
|
7890
|
+
let query = {};
|
|
7891
|
+
if (!tea_util_1.default.isUnset(request.firewallId)) {
|
|
7892
|
+
query["FirewallId"] = request.firewallId;
|
|
7893
|
+
}
|
|
7894
|
+
if (!tea_util_1.default.isUnset(request.lang)) {
|
|
7895
|
+
query["Lang"] = request.lang;
|
|
7896
|
+
}
|
|
7897
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
7898
|
+
query: openapi_util_1.default.query(query),
|
|
7899
|
+
});
|
|
7900
|
+
let params = new $OpenApi.Params({
|
|
7901
|
+
action: "DescribeTrFirewallsV2Detail",
|
|
7902
|
+
version: "2017-12-07",
|
|
7903
|
+
protocol: "HTTPS",
|
|
7904
|
+
pathname: "/",
|
|
7905
|
+
method: "POST",
|
|
7906
|
+
authType: "AK",
|
|
7907
|
+
style: "RPC",
|
|
7908
|
+
reqBodyType: "formData",
|
|
7909
|
+
bodyType: "json",
|
|
7910
|
+
});
|
|
7911
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribeTrFirewallsV2DetailResponse({}));
|
|
7912
|
+
}
|
|
7913
|
+
async describeTrFirewallsV2Detail(request) {
|
|
7914
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
7915
|
+
return await this.describeTrFirewallsV2DetailWithOptions(request, runtime);
|
|
7916
|
+
}
|
|
7917
|
+
async describeTrFirewallsV2ListWithOptions(request, runtime) {
|
|
7918
|
+
tea_util_1.default.validateModel(request);
|
|
7919
|
+
let query = {};
|
|
7920
|
+
if (!tea_util_1.default.isUnset(request.cenId)) {
|
|
7921
|
+
query["CenId"] = request.cenId;
|
|
7922
|
+
}
|
|
7923
|
+
if (!tea_util_1.default.isUnset(request.currentPage)) {
|
|
7924
|
+
query["CurrentPage"] = request.currentPage;
|
|
7925
|
+
}
|
|
7926
|
+
if (!tea_util_1.default.isUnset(request.firewallId)) {
|
|
7927
|
+
query["FirewallId"] = request.firewallId;
|
|
7928
|
+
}
|
|
7929
|
+
if (!tea_util_1.default.isUnset(request.firewallName)) {
|
|
7930
|
+
query["FirewallName"] = request.firewallName;
|
|
7931
|
+
}
|
|
7932
|
+
if (!tea_util_1.default.isUnset(request.firewallSwitchStatus)) {
|
|
7933
|
+
query["FirewallSwitchStatus"] = request.firewallSwitchStatus;
|
|
7934
|
+
}
|
|
7935
|
+
if (!tea_util_1.default.isUnset(request.lang)) {
|
|
7936
|
+
query["Lang"] = request.lang;
|
|
7937
|
+
}
|
|
7938
|
+
if (!tea_util_1.default.isUnset(request.ownerId)) {
|
|
7939
|
+
query["OwnerId"] = request.ownerId;
|
|
7940
|
+
}
|
|
7941
|
+
if (!tea_util_1.default.isUnset(request.pageSize)) {
|
|
7942
|
+
query["PageSize"] = request.pageSize;
|
|
7943
|
+
}
|
|
7944
|
+
if (!tea_util_1.default.isUnset(request.regionNo)) {
|
|
7945
|
+
query["RegionNo"] = request.regionNo;
|
|
7946
|
+
}
|
|
7947
|
+
if (!tea_util_1.default.isUnset(request.routeMode)) {
|
|
7948
|
+
query["RouteMode"] = request.routeMode;
|
|
7949
|
+
}
|
|
7950
|
+
if (!tea_util_1.default.isUnset(request.transitRouterId)) {
|
|
7951
|
+
query["TransitRouterId"] = request.transitRouterId;
|
|
7952
|
+
}
|
|
7953
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
7954
|
+
query: openapi_util_1.default.query(query),
|
|
7955
|
+
});
|
|
7956
|
+
let params = new $OpenApi.Params({
|
|
7957
|
+
action: "DescribeTrFirewallsV2List",
|
|
7958
|
+
version: "2017-12-07",
|
|
7959
|
+
protocol: "HTTPS",
|
|
7960
|
+
pathname: "/",
|
|
7961
|
+
method: "POST",
|
|
7962
|
+
authType: "AK",
|
|
7963
|
+
style: "RPC",
|
|
7964
|
+
reqBodyType: "formData",
|
|
7965
|
+
bodyType: "json",
|
|
7966
|
+
});
|
|
7967
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribeTrFirewallsV2ListResponse({}));
|
|
7968
|
+
}
|
|
7969
|
+
async describeTrFirewallsV2List(request) {
|
|
7970
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
7971
|
+
return await this.describeTrFirewallsV2ListWithOptions(request, runtime);
|
|
7972
|
+
}
|
|
7973
|
+
async describeTrFirewallsV2RouteListWithOptions(request, runtime) {
|
|
7974
|
+
tea_util_1.default.validateModel(request);
|
|
7975
|
+
let query = {};
|
|
7976
|
+
if (!tea_util_1.default.isUnset(request.currentPage)) {
|
|
7977
|
+
query["CurrentPage"] = request.currentPage;
|
|
7978
|
+
}
|
|
7979
|
+
if (!tea_util_1.default.isUnset(request.firewallId)) {
|
|
7980
|
+
query["FirewallId"] = request.firewallId;
|
|
7981
|
+
}
|
|
7982
|
+
if (!tea_util_1.default.isUnset(request.lang)) {
|
|
7983
|
+
query["Lang"] = request.lang;
|
|
7984
|
+
}
|
|
7985
|
+
if (!tea_util_1.default.isUnset(request.pageSize)) {
|
|
7986
|
+
query["PageSize"] = request.pageSize;
|
|
7987
|
+
}
|
|
7988
|
+
if (!tea_util_1.default.isUnset(request.trFirewallRoutePolicyId)) {
|
|
7989
|
+
query["TrFirewallRoutePolicyId"] = request.trFirewallRoutePolicyId;
|
|
7990
|
+
}
|
|
7991
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
7992
|
+
query: openapi_util_1.default.query(query),
|
|
7993
|
+
});
|
|
7994
|
+
let params = new $OpenApi.Params({
|
|
7995
|
+
action: "DescribeTrFirewallsV2RouteList",
|
|
7996
|
+
version: "2017-12-07",
|
|
7997
|
+
protocol: "HTTPS",
|
|
7998
|
+
pathname: "/",
|
|
7999
|
+
method: "POST",
|
|
8000
|
+
authType: "AK",
|
|
8001
|
+
style: "RPC",
|
|
8002
|
+
reqBodyType: "formData",
|
|
8003
|
+
bodyType: "json",
|
|
8004
|
+
});
|
|
8005
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribeTrFirewallsV2RouteListResponse({}));
|
|
8006
|
+
}
|
|
8007
|
+
async describeTrFirewallsV2RouteList(request) {
|
|
8008
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
8009
|
+
return await this.describeTrFirewallsV2RouteListWithOptions(request, runtime);
|
|
8010
|
+
}
|
|
6405
8011
|
async describeUserAssetIPTrafficInfoWithOptions(request, runtime) {
|
|
6406
8012
|
tea_util_1.default.validateModel(request);
|
|
6407
8013
|
let query = openapi_util_1.default.query(tea_util_1.default.toMap(request));
|
|
@@ -6615,7 +8221,9 @@ class Client extends openapi_client_1.default {
|
|
|
6615
8221
|
return await this.describeVpcFirewallCenListWithOptions(request, runtime);
|
|
6616
8222
|
}
|
|
6617
8223
|
/**
|
|
6618
|
-
* You can call the DescribeVpcFirewallControlPolicy operation to query the
|
|
8224
|
+
* 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.
|
|
8225
|
+
* ## Limits
|
|
8226
|
+
* 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
8227
|
*
|
|
6620
8228
|
* @param request DescribeVpcFirewallControlPolicyRequest
|
|
6621
8229
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -6677,7 +8285,9 @@ class Client extends openapi_client_1.default {
|
|
|
6677
8285
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeVpcFirewallControlPolicyResponse({}));
|
|
6678
8286
|
}
|
|
6679
8287
|
/**
|
|
6680
|
-
* You can call the DescribeVpcFirewallControlPolicy operation to query the
|
|
8288
|
+
* 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.
|
|
8289
|
+
* ## Limits
|
|
8290
|
+
* 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
8291
|
*
|
|
6682
8292
|
* @param request DescribeVpcFirewallControlPolicyRequest
|
|
6683
8293
|
* @return DescribeVpcFirewallControlPolicyResponse
|
|
@@ -6791,8 +8401,8 @@ class Client extends openapi_client_1.default {
|
|
|
6791
8401
|
}
|
|
6792
8402
|
/**
|
|
6793
8403
|
* 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
|
|
8404
|
+
* ### Limits
|
|
8405
|
+
* 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
8406
|
*
|
|
6797
8407
|
* @param request DescribeVpcFirewallListRequest
|
|
6798
8408
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -6855,8 +8465,8 @@ class Client extends openapi_client_1.default {
|
|
|
6855
8465
|
}
|
|
6856
8466
|
/**
|
|
6857
8467
|
* 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
|
|
8468
|
+
* ### Limits
|
|
8469
|
+
* 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
8470
|
*
|
|
6861
8471
|
* @param request DescribeVpcFirewallListRequest
|
|
6862
8472
|
* @return DescribeVpcFirewallListResponse
|
|
@@ -7198,6 +8808,44 @@ class Client extends openapi_client_1.default {
|
|
|
7198
8808
|
let runtime = new $Util.RuntimeOptions({});
|
|
7199
8809
|
return await this.modifyControlPolicyPositionWithOptions(request, runtime);
|
|
7200
8810
|
}
|
|
8811
|
+
async modifyFirewallV2RoutePolicySwitchWithOptions(request, runtime) {
|
|
8812
|
+
tea_util_1.default.validateModel(request);
|
|
8813
|
+
let query = {};
|
|
8814
|
+
if (!tea_util_1.default.isUnset(request.firewallId)) {
|
|
8815
|
+
query["FirewallId"] = request.firewallId;
|
|
8816
|
+
}
|
|
8817
|
+
if (!tea_util_1.default.isUnset(request.lang)) {
|
|
8818
|
+
query["Lang"] = request.lang;
|
|
8819
|
+
}
|
|
8820
|
+
if (!tea_util_1.default.isUnset(request.shouldRecover)) {
|
|
8821
|
+
query["ShouldRecover"] = request.shouldRecover;
|
|
8822
|
+
}
|
|
8823
|
+
if (!tea_util_1.default.isUnset(request.trFirewallRoutePolicyId)) {
|
|
8824
|
+
query["TrFirewallRoutePolicyId"] = request.trFirewallRoutePolicyId;
|
|
8825
|
+
}
|
|
8826
|
+
if (!tea_util_1.default.isUnset(request.trFirewallRoutePolicySwitchStatus)) {
|
|
8827
|
+
query["TrFirewallRoutePolicySwitchStatus"] = request.trFirewallRoutePolicySwitchStatus;
|
|
8828
|
+
}
|
|
8829
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
8830
|
+
query: openapi_util_1.default.query(query),
|
|
8831
|
+
});
|
|
8832
|
+
let params = new $OpenApi.Params({
|
|
8833
|
+
action: "ModifyFirewallV2RoutePolicySwitch",
|
|
8834
|
+
version: "2017-12-07",
|
|
8835
|
+
protocol: "HTTPS",
|
|
8836
|
+
pathname: "/",
|
|
8837
|
+
method: "POST",
|
|
8838
|
+
authType: "AK",
|
|
8839
|
+
style: "RPC",
|
|
8840
|
+
reqBodyType: "formData",
|
|
8841
|
+
bodyType: "json",
|
|
8842
|
+
});
|
|
8843
|
+
return $tea.cast(await this.callApi(params, req, runtime), new ModifyFirewallV2RoutePolicySwitchResponse({}));
|
|
8844
|
+
}
|
|
8845
|
+
async modifyFirewallV2RoutePolicySwitch(request) {
|
|
8846
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
8847
|
+
return await this.modifyFirewallV2RoutePolicySwitchWithOptions(request, runtime);
|
|
8848
|
+
}
|
|
7201
8849
|
/**
|
|
7202
8850
|
* You can call the ModifyInstanceMemberAttributes operation to update the information about members in Cloud Firewall.
|
|
7203
8851
|
* ## Limits
|
|
@@ -7290,6 +8938,84 @@ class Client extends openapi_client_1.default {
|
|
|
7290
8938
|
let runtime = new $Util.RuntimeOptions({});
|
|
7291
8939
|
return await this.modifyPolicyAdvancedConfigWithOptions(request, runtime);
|
|
7292
8940
|
}
|
|
8941
|
+
async modifyTrFirewallV2ConfigurationWithOptions(request, runtime) {
|
|
8942
|
+
tea_util_1.default.validateModel(request);
|
|
8943
|
+
let query = {};
|
|
8944
|
+
if (!tea_util_1.default.isUnset(request.firewallId)) {
|
|
8945
|
+
query["FirewallId"] = request.firewallId;
|
|
8946
|
+
}
|
|
8947
|
+
if (!tea_util_1.default.isUnset(request.firewallName)) {
|
|
8948
|
+
query["FirewallName"] = request.firewallName;
|
|
8949
|
+
}
|
|
8950
|
+
if (!tea_util_1.default.isUnset(request.lang)) {
|
|
8951
|
+
query["Lang"] = request.lang;
|
|
8952
|
+
}
|
|
8953
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
8954
|
+
query: openapi_util_1.default.query(query),
|
|
8955
|
+
});
|
|
8956
|
+
let params = new $OpenApi.Params({
|
|
8957
|
+
action: "ModifyTrFirewallV2Configuration",
|
|
8958
|
+
version: "2017-12-07",
|
|
8959
|
+
protocol: "HTTPS",
|
|
8960
|
+
pathname: "/",
|
|
8961
|
+
method: "POST",
|
|
8962
|
+
authType: "AK",
|
|
8963
|
+
style: "RPC",
|
|
8964
|
+
reqBodyType: "formData",
|
|
8965
|
+
bodyType: "json",
|
|
8966
|
+
});
|
|
8967
|
+
return $tea.cast(await this.callApi(params, req, runtime), new ModifyTrFirewallV2ConfigurationResponse({}));
|
|
8968
|
+
}
|
|
8969
|
+
async modifyTrFirewallV2Configuration(request) {
|
|
8970
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
8971
|
+
return await this.modifyTrFirewallV2ConfigurationWithOptions(request, runtime);
|
|
8972
|
+
}
|
|
8973
|
+
async modifyTrFirewallV2RoutePolicyScopeWithOptions(tmpReq, runtime) {
|
|
8974
|
+
tea_util_1.default.validateModel(tmpReq);
|
|
8975
|
+
let request = new ModifyTrFirewallV2RoutePolicyScopeShrinkRequest({});
|
|
8976
|
+
openapi_util_1.default.convert(tmpReq, request);
|
|
8977
|
+
if (!tea_util_1.default.isUnset(tmpReq.destCandidateList)) {
|
|
8978
|
+
request.destCandidateListShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpReq.destCandidateList, "DestCandidateList", "json");
|
|
8979
|
+
}
|
|
8980
|
+
if (!tea_util_1.default.isUnset(tmpReq.srcCandidateList)) {
|
|
8981
|
+
request.srcCandidateListShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpReq.srcCandidateList, "SrcCandidateList", "json");
|
|
8982
|
+
}
|
|
8983
|
+
let query = {};
|
|
8984
|
+
if (!tea_util_1.default.isUnset(request.destCandidateListShrink)) {
|
|
8985
|
+
query["DestCandidateList"] = request.destCandidateListShrink;
|
|
8986
|
+
}
|
|
8987
|
+
if (!tea_util_1.default.isUnset(request.firewallId)) {
|
|
8988
|
+
query["FirewallId"] = request.firewallId;
|
|
8989
|
+
}
|
|
8990
|
+
if (!tea_util_1.default.isUnset(request.lang)) {
|
|
8991
|
+
query["Lang"] = request.lang;
|
|
8992
|
+
}
|
|
8993
|
+
if (!tea_util_1.default.isUnset(request.srcCandidateListShrink)) {
|
|
8994
|
+
query["SrcCandidateList"] = request.srcCandidateListShrink;
|
|
8995
|
+
}
|
|
8996
|
+
if (!tea_util_1.default.isUnset(request.trFirewallRoutePolicyId)) {
|
|
8997
|
+
query["TrFirewallRoutePolicyId"] = request.trFirewallRoutePolicyId;
|
|
8998
|
+
}
|
|
8999
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
9000
|
+
query: openapi_util_1.default.query(query),
|
|
9001
|
+
});
|
|
9002
|
+
let params = new $OpenApi.Params({
|
|
9003
|
+
action: "ModifyTrFirewallV2RoutePolicyScope",
|
|
9004
|
+
version: "2017-12-07",
|
|
9005
|
+
protocol: "HTTPS",
|
|
9006
|
+
pathname: "/",
|
|
9007
|
+
method: "POST",
|
|
9008
|
+
authType: "AK",
|
|
9009
|
+
style: "RPC",
|
|
9010
|
+
reqBodyType: "formData",
|
|
9011
|
+
bodyType: "json",
|
|
9012
|
+
});
|
|
9013
|
+
return $tea.cast(await this.callApi(params, req, runtime), new ModifyTrFirewallV2RoutePolicyScopeResponse({}));
|
|
9014
|
+
}
|
|
9015
|
+
async modifyTrFirewallV2RoutePolicyScope(request) {
|
|
9016
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
9017
|
+
return await this.modifyTrFirewallV2RoutePolicyScopeWithOptions(request, runtime);
|
|
9018
|
+
}
|
|
7293
9019
|
/**
|
|
7294
9020
|
* 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
9021
|
* ## Limits
|
|
@@ -7455,7 +9181,7 @@ class Client extends openapi_client_1.default {
|
|
|
7455
9181
|
return await this.modifyVpcFirewallConfigureWithOptions(request, runtime);
|
|
7456
9182
|
}
|
|
7457
9183
|
/**
|
|
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
|
|
9184
|
+
* 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
9185
|
* ## Limits
|
|
7460
9186
|
* 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
9187
|
*
|
|
@@ -7528,7 +9254,7 @@ class Client extends openapi_client_1.default {
|
|
|
7528
9254
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyVpcFirewallControlPolicyResponse({}));
|
|
7529
9255
|
}
|
|
7530
9256
|
/**
|
|
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
|
|
9257
|
+
* 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
9258
|
* ## Limits
|
|
7533
9259
|
* 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
9260
|
*
|