@alicloud/cloudfw20171207 1.2.3 → 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.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 DescribeInvadeEventListRequest extends $tea.Model {
1486
+ class DescribeInternetTrafficTrendRequest extends $tea.Model {
1205
1487
  constructor(map) {
1206
1488
  super(map);
1207
1489
  }
1208
1490
  static names() {
1209
1491
  return {
1210
- assetsIP: 'AssetsIP',
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
- memberUid: 'MemberUid',
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
- assetsIP: 'string',
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
- memberUid: 'number',
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.DescribeInvadeEventListRequest = DescribeInvadeEventListRequest;
1250
- class DescribeInvadeEventListResponseBody extends $tea.Model {
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
- eventList: 'EventList',
1257
- highLevelPercent: 'HighLevelPercent',
1258
- lowLevelPercent: 'LowLevelPercent',
1259
- middleLevelPercent: 'MiddleLevelPercent',
1260
- pageInfo: 'PageInfo',
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
- eventList: { 'type': 'array', 'itemType': DescribeInvadeEventListResponseBodyEventList },
1267
- highLevelPercent: 'number',
1268
- lowLevelPercent: 'number',
1269
- middleLevelPercent: 'number',
1270
- pageInfo: DescribeInvadeEventListResponseBodyPageInfo,
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.DescribeInvadeEventListResponseBody = DescribeInvadeEventListResponseBody;
1276
- class DescribeInvadeEventListResponse extends $tea.Model {
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: DescribeInvadeEventListResponseBody,
1577
+ body: DescribeInternetTrafficTrendResponseBody,
1292
1578
  };
1293
1579
  }
1294
1580
  }
1295
- exports.DescribeInvadeEventListResponse = DescribeInvadeEventListResponse;
1296
- class DescribeOutgoingDestinationIPRequest extends $tea.Model {
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
- applicationName: 'ApplicationName',
1303
- categoryId: 'CategoryId',
1588
+ assetsIP: 'AssetsIP',
1589
+ assetsInstanceId: 'AssetsInstanceId',
1590
+ assetsInstanceName: 'AssetsInstanceName',
1304
1591
  currentPage: 'CurrentPage',
1305
- dstIP: 'DstIP',
1306
1592
  endTime: 'EndTime',
1307
- lang: 'Lang',
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',
@@ -1450,44 +1828,400 @@ class DescribeOutgoingDomainResponse extends $tea.Model {
1450
1828
  };
1451
1829
  }
1452
1830
  }
1453
- exports.DescribeOutgoingDomainResponse = DescribeOutgoingDomainResponse;
1454
- class DescribePolicyAdvancedConfigRequest extends $tea.Model {
1831
+ exports.DescribeOutgoingDomainResponse = DescribeOutgoingDomainResponse;
1832
+ class DescribePolicyAdvancedConfigRequest extends $tea.Model {
1833
+ constructor(map) {
1834
+ super(map);
1835
+ }
1836
+ static names() {
1837
+ return {
1838
+ lang: 'Lang',
1839
+ sourceIp: 'SourceIp',
1840
+ };
1841
+ }
1842
+ static types() {
1843
+ return {
1844
+ lang: '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 {
1455
2167
  constructor(map) {
1456
2168
  super(map);
1457
2169
  }
1458
2170
  static names() {
1459
2171
  return {
2172
+ firewallId: 'FirewallId',
1460
2173
  lang: 'Lang',
1461
- sourceIp: 'SourceIp',
1462
2174
  };
1463
2175
  }
1464
2176
  static types() {
1465
2177
  return {
2178
+ firewallId: 'string',
1466
2179
  lang: 'string',
1467
- sourceIp: 'string',
1468
2180
  };
1469
2181
  }
1470
2182
  }
1471
- exports.DescribePolicyAdvancedConfigRequest = DescribePolicyAdvancedConfigRequest;
1472
- class DescribePolicyAdvancedConfigResponseBody extends $tea.Model {
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
- internetSwitch: 'InternetSwitch',
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
- internetSwitch: 'string',
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.DescribePolicyAdvancedConfigResponseBody = DescribePolicyAdvancedConfigResponseBody;
1490
- class DescribePolicyAdvancedConfigResponse extends $tea.Model {
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: DescribePolicyAdvancedConfigResponseBody,
2239
+ body: DescribeTrFirewallsV2DetailResponseBody,
1506
2240
  };
1507
2241
  }
1508
2242
  }
1509
- exports.DescribePolicyAdvancedConfigResponse = DescribePolicyAdvancedConfigResponse;
1510
- class DescribePolicyPriorUsedRequest extends $tea.Model {
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
- direction: 'Direction',
1517
- ipVersion: 'IpVersion',
2250
+ cenId: 'CenId',
2251
+ currentPage: 'CurrentPage',
2252
+ firewallId: 'FirewallId',
2253
+ firewallName: 'FirewallName',
2254
+ firewallSwitchStatus: 'FirewallSwitchStatus',
1518
2255
  lang: 'Lang',
1519
- sourceIp: 'SourceIp',
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
- direction: 'string',
1525
- ipVersion: 'string',
2265
+ cenId: 'string',
2266
+ currentPage: 'number',
2267
+ firewallId: 'string',
2268
+ firewallName: 'string',
2269
+ firewallSwitchStatus: 'string',
1526
2270
  lang: 'string',
1527
- sourceIp: 'string',
2271
+ ownerId: 'string',
2272
+ pageSize: 'number',
2273
+ regionNo: 'string',
2274
+ routeMode: 'string',
2275
+ transitRouterId: 'string',
1528
2276
  };
1529
2277
  }
1530
2278
  }
1531
- exports.DescribePolicyPriorUsedRequest = DescribePolicyPriorUsedRequest;
1532
- class DescribePolicyPriorUsedResponseBody extends $tea.Model {
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
- start: 'Start',
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
- start: 'number',
2294
+ totalCount: 'string',
2295
+ vpcTrFirewalls: { 'type': 'array', 'itemType': DescribeTrFirewallsV2ListResponseBodyVpcTrFirewalls },
1548
2296
  };
1549
2297
  }
1550
2298
  }
1551
- exports.DescribePolicyPriorUsedResponseBody = DescribePolicyPriorUsedResponseBody;
1552
- class DescribePolicyPriorUsedResponse extends $tea.Model {
2299
+ exports.DescribeTrFirewallsV2ListResponseBody = DescribeTrFirewallsV2ListResponseBody;
2300
+ class DescribeTrFirewallsV2ListResponse extends $tea.Model {
1553
2301
  constructor(map) {
1554
2302
  super(map);
1555
2303
  }
@@ -1564,88 +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: DescribePolicyPriorUsedResponseBody,
2315
+ body: DescribeTrFirewallsV2ListResponseBody,
1568
2316
  };
1569
2317
  }
1570
2318
  }
1571
- exports.DescribePolicyPriorUsedResponse = DescribePolicyPriorUsedResponse;
1572
- class DescribeRiskEventGroupRequest extends $tea.Model {
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
- dataType: 'DataType',
1583
- direction: 'Direction',
1584
- dstIP: 'DstIP',
1585
- dstNetworkInstanceId: 'DstNetworkInstanceId',
1586
- endTime: 'EndTime',
1587
- firewallType: 'FirewallType',
2327
+ firewallId: 'FirewallId',
1588
2328
  lang: 'Lang',
1589
- noLocation: 'NoLocation',
1590
- order: 'Order',
1591
2329
  pageSize: 'PageSize',
1592
- ruleResult: 'RuleResult',
1593
- ruleSource: 'RuleSource',
1594
- sort: 'Sort',
1595
- srcIP: 'SrcIP',
1596
- srcNetworkInstanceId: 'SrcNetworkInstanceId',
1597
- startTime: 'StartTime',
1598
- vulLevel: 'VulLevel',
2330
+ trFirewallRoutePolicyId: 'TrFirewallRoutePolicyId',
1599
2331
  };
1600
2332
  }
1601
2333
  static types() {
1602
2334
  return {
1603
- attackApp: { 'type': 'array', 'itemType': 'string' },
1604
- attackType: 'string',
1605
- buyVersion: 'number',
1606
2335
  currentPage: 'string',
1607
- dataType: 'string',
1608
- direction: 'string',
1609
- dstIP: 'string',
1610
- dstNetworkInstanceId: 'string',
1611
- endTime: 'string',
1612
- firewallType: 'string',
2336
+ firewallId: 'string',
1613
2337
  lang: 'string',
1614
- noLocation: 'string',
1615
- order: 'string',
1616
2338
  pageSize: 'string',
1617
- ruleResult: 'string',
1618
- ruleSource: 'string',
1619
- sort: 'string',
1620
- srcIP: 'string',
1621
- srcNetworkInstanceId: 'string',
1622
- startTime: 'string',
1623
- vulLevel: 'string',
2339
+ trFirewallRoutePolicyId: 'string',
1624
2340
  };
1625
2341
  }
1626
2342
  }
1627
- exports.DescribeRiskEventGroupRequest = DescribeRiskEventGroupRequest;
1628
- class DescribeRiskEventGroupResponseBody extends $tea.Model {
2343
+ exports.DescribeTrFirewallsV2RouteListRequest = DescribeTrFirewallsV2RouteListRequest;
2344
+ class DescribeTrFirewallsV2RouteListResponseBody extends $tea.Model {
1629
2345
  constructor(map) {
1630
2346
  super(map);
1631
2347
  }
1632
2348
  static names() {
1633
2349
  return {
1634
- dataList: 'DataList',
2350
+ firewallRouteDetailList: 'FirewallRouteDetailList',
1635
2351
  requestId: 'RequestId',
1636
- totalCount: 'TotalCount',
1637
2352
  };
1638
2353
  }
1639
2354
  static types() {
1640
2355
  return {
1641
- dataList: { 'type': 'array', 'itemType': DescribeRiskEventGroupResponseBodyDataList },
2356
+ firewallRouteDetailList: { 'type': 'array', 'itemType': DescribeTrFirewallsV2RouteListResponseBodyFirewallRouteDetailList },
1642
2357
  requestId: 'string',
1643
- totalCount: 'number',
1644
2358
  };
1645
2359
  }
1646
2360
  }
1647
- exports.DescribeRiskEventGroupResponseBody = DescribeRiskEventGroupResponseBody;
1648
- class DescribeRiskEventGroupResponse extends $tea.Model {
2361
+ exports.DescribeTrFirewallsV2RouteListResponseBody = DescribeTrFirewallsV2RouteListResponseBody;
2362
+ class DescribeTrFirewallsV2RouteListResponse extends $tea.Model {
1649
2363
  constructor(map) {
1650
2364
  super(map);
1651
2365
  }
@@ -1660,11 +2374,11 @@ class DescribeRiskEventGroupResponse extends $tea.Model {
1660
2374
  return {
1661
2375
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1662
2376
  statusCode: 'number',
1663
- body: DescribeRiskEventGroupResponseBody,
2377
+ body: DescribeTrFirewallsV2RouteListResponseBody,
1664
2378
  };
1665
2379
  }
1666
2380
  }
1667
- exports.DescribeRiskEventGroupResponse = DescribeRiskEventGroupResponse;
2381
+ exports.DescribeTrFirewallsV2RouteListResponse = DescribeTrFirewallsV2RouteListResponse;
1668
2382
  class DescribeUserAssetIPTrafficInfoRequest extends $tea.Model {
1669
2383
  constructor(map) {
1670
2384
  super(map);
@@ -2554,8 +3268,176 @@ class ModifyControlPolicyPositionRequest extends $tea.Model {
2554
3268
  };
2555
3269
  }
2556
3270
  }
2557
- exports.ModifyControlPolicyPositionRequest = ModifyControlPolicyPositionRequest;
2558
- 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 {
2559
3441
  constructor(map) {
2560
3442
  super(map);
2561
3443
  }
@@ -2570,8 +3452,8 @@ class ModifyControlPolicyPositionResponseBody extends $tea.Model {
2570
3452
  };
2571
3453
  }
2572
3454
  }
2573
- exports.ModifyControlPolicyPositionResponseBody = ModifyControlPolicyPositionResponseBody;
2574
- class ModifyControlPolicyPositionResponse extends $tea.Model {
3455
+ exports.ModifyPolicyAdvancedConfigResponseBody = ModifyPolicyAdvancedConfigResponseBody;
3456
+ class ModifyPolicyAdvancedConfigResponse extends $tea.Model {
2575
3457
  constructor(map) {
2576
3458
  super(map);
2577
3459
  }
@@ -2586,28 +3468,32 @@ class ModifyControlPolicyPositionResponse extends $tea.Model {
2586
3468
  return {
2587
3469
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2588
3470
  statusCode: 'number',
2589
- body: ModifyControlPolicyPositionResponseBody,
3471
+ body: ModifyPolicyAdvancedConfigResponseBody,
2590
3472
  };
2591
3473
  }
2592
3474
  }
2593
- exports.ModifyControlPolicyPositionResponse = ModifyControlPolicyPositionResponse;
2594
- class ModifyInstanceMemberAttributesRequest extends $tea.Model {
3475
+ exports.ModifyPolicyAdvancedConfigResponse = ModifyPolicyAdvancedConfigResponse;
3476
+ class ModifyTrFirewallV2ConfigurationRequest extends $tea.Model {
2595
3477
  constructor(map) {
2596
3478
  super(map);
2597
3479
  }
2598
3480
  static names() {
2599
3481
  return {
2600
- members: 'Members',
3482
+ firewallId: 'FirewallId',
3483
+ firewallName: 'FirewallName',
3484
+ lang: 'Lang',
2601
3485
  };
2602
3486
  }
2603
3487
  static types() {
2604
3488
  return {
2605
- members: { 'type': 'array', 'itemType': ModifyInstanceMemberAttributesRequestMembers },
3489
+ firewallId: 'string',
3490
+ firewallName: 'string',
3491
+ lang: 'string',
2606
3492
  };
2607
3493
  }
2608
3494
  }
2609
- exports.ModifyInstanceMemberAttributesRequest = ModifyInstanceMemberAttributesRequest;
2610
- class ModifyInstanceMemberAttributesResponseBody extends $tea.Model {
3495
+ exports.ModifyTrFirewallV2ConfigurationRequest = ModifyTrFirewallV2ConfigurationRequest;
3496
+ class ModifyTrFirewallV2ConfigurationResponseBody extends $tea.Model {
2611
3497
  constructor(map) {
2612
3498
  super(map);
2613
3499
  }
@@ -2622,8 +3508,8 @@ class ModifyInstanceMemberAttributesResponseBody extends $tea.Model {
2622
3508
  };
2623
3509
  }
2624
3510
  }
2625
- exports.ModifyInstanceMemberAttributesResponseBody = ModifyInstanceMemberAttributesResponseBody;
2626
- class ModifyInstanceMemberAttributesResponse extends $tea.Model {
3511
+ exports.ModifyTrFirewallV2ConfigurationResponseBody = ModifyTrFirewallV2ConfigurationResponseBody;
3512
+ class ModifyTrFirewallV2ConfigurationResponse extends $tea.Model {
2627
3513
  constructor(map) {
2628
3514
  super(map);
2629
3515
  }
@@ -2638,48 +3524,78 @@ class ModifyInstanceMemberAttributesResponse extends $tea.Model {
2638
3524
  return {
2639
3525
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2640
3526
  statusCode: 'number',
2641
- body: ModifyInstanceMemberAttributesResponseBody,
3527
+ body: ModifyTrFirewallV2ConfigurationResponseBody,
2642
3528
  };
2643
3529
  }
2644
3530
  }
2645
- exports.ModifyInstanceMemberAttributesResponse = ModifyInstanceMemberAttributesResponse;
2646
- class ModifyPolicyAdvancedConfigRequest extends $tea.Model {
3531
+ exports.ModifyTrFirewallV2ConfigurationResponse = ModifyTrFirewallV2ConfigurationResponse;
3532
+ class ModifyTrFirewallV2RoutePolicyScopeRequest extends $tea.Model {
2647
3533
  constructor(map) {
2648
3534
  super(map);
2649
3535
  }
2650
3536
  static names() {
2651
3537
  return {
2652
- internetSwitch: 'InternetSwitch',
3538
+ destCandidateList: 'DestCandidateList',
3539
+ firewallId: 'FirewallId',
2653
3540
  lang: 'Lang',
2654
- sourceIp: 'SourceIp',
3541
+ srcCandidateList: 'SrcCandidateList',
3542
+ trFirewallRoutePolicyId: 'TrFirewallRoutePolicyId',
2655
3543
  };
2656
3544
  }
2657
3545
  static types() {
2658
3546
  return {
2659
- internetSwitch: 'string',
3547
+ destCandidateList: { 'type': 'array', 'itemType': ModifyTrFirewallV2RoutePolicyScopeRequestDestCandidateList },
3548
+ firewallId: 'string',
2660
3549
  lang: 'string',
2661
- sourceIp: 'string',
3550
+ srcCandidateList: { 'type': 'array', 'itemType': ModifyTrFirewallV2RoutePolicyScopeRequestSrcCandidateList },
3551
+ trFirewallRoutePolicyId: 'string',
2662
3552
  };
2663
3553
  }
2664
3554
  }
2665
- exports.ModifyPolicyAdvancedConfigRequest = ModifyPolicyAdvancedConfigRequest;
2666
- class ModifyPolicyAdvancedConfigResponseBody extends $tea.Model {
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 {
2667
3581
  constructor(map) {
2668
3582
  super(map);
2669
3583
  }
2670
3584
  static names() {
2671
3585
  return {
2672
3586
  requestId: 'RequestId',
3587
+ trFirewallRoutePolicyId: 'TrFirewallRoutePolicyId',
2673
3588
  };
2674
3589
  }
2675
3590
  static types() {
2676
3591
  return {
2677
3592
  requestId: 'string',
3593
+ trFirewallRoutePolicyId: 'string',
2678
3594
  };
2679
3595
  }
2680
3596
  }
2681
- exports.ModifyPolicyAdvancedConfigResponseBody = ModifyPolicyAdvancedConfigResponseBody;
2682
- class ModifyPolicyAdvancedConfigResponse extends $tea.Model {
3597
+ exports.ModifyTrFirewallV2RoutePolicyScopeResponseBody = ModifyTrFirewallV2RoutePolicyScopeResponseBody;
3598
+ class ModifyTrFirewallV2RoutePolicyScopeResponse extends $tea.Model {
2683
3599
  constructor(map) {
2684
3600
  super(map);
2685
3601
  }
@@ -2694,11 +3610,11 @@ class ModifyPolicyAdvancedConfigResponse extends $tea.Model {
2694
3610
  return {
2695
3611
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2696
3612
  statusCode: 'number',
2697
- body: ModifyPolicyAdvancedConfigResponseBody,
3613
+ body: ModifyTrFirewallV2RoutePolicyScopeResponseBody,
2698
3614
  };
2699
3615
  }
2700
3616
  }
2701
- exports.ModifyPolicyAdvancedConfigResponse = ModifyPolicyAdvancedConfigResponse;
3617
+ exports.ModifyTrFirewallV2RoutePolicyScopeResponse = ModifyTrFirewallV2RoutePolicyScopeResponse;
2702
3618
  class ModifyVpcFirewallCenConfigureRequest extends $tea.Model {
2703
3619
  constructor(map) {
2704
3620
  super(map);
@@ -3459,6 +4375,42 @@ class AddInstanceMembersRequestMembers extends $tea.Model {
3459
4375
  }
3460
4376
  }
3461
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;
3462
4414
  class DescribeAddressBookResponseBodyAclsTagList extends $tea.Model {
3463
4415
  constructor(map) {
3464
4416
  super(map);
@@ -3705,6 +4657,38 @@ class DescribeInstanceMembersResponseBodyPageInfo extends $tea.Model {
3705
4657
  }
3706
4658
  }
3707
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;
3708
4692
  class DescribeInvadeEventListResponseBodyEventList extends $tea.Model {
3709
4693
  constructor(map) {
3710
4694
  super(map);
@@ -4058,75 +5042,245 @@ class DescribeRiskEventGroupResponseBodyDataListVpcSrcInfo extends $tea.Model {
4058
5042
  }
4059
5043
  static types() {
4060
5044
  return {
4061
- ecsInstanceId: 'string',
4062
- ecsInstanceName: 'string',
4063
- networkInstanceId: 'string',
4064
- 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',
4065
5252
  regionNo: 'string',
5253
+ regionStatus: 'string',
5254
+ resultCode: 'string',
5255
+ routeMode: 'string',
5256
+ transitRouterId: 'string',
5257
+ vpcFirewallName: 'string',
4066
5258
  };
4067
5259
  }
4068
5260
  }
4069
- exports.DescribeRiskEventGroupResponseBodyDataListVpcSrcInfo = DescribeRiskEventGroupResponseBodyDataListVpcSrcInfo;
4070
- class DescribeRiskEventGroupResponseBodyDataList extends $tea.Model {
5261
+ exports.DescribeTrFirewallsV2ListResponseBodyVpcTrFirewalls = DescribeTrFirewallsV2ListResponseBodyVpcTrFirewalls;
5262
+ class DescribeTrFirewallsV2RouteListResponseBodyFirewallRouteDetailList extends $tea.Model {
4071
5263
  constructor(map) {
4072
5264
  super(map);
4073
5265
  }
4074
5266
  static names() {
4075
5267
  return {
4076
- attackApp: 'AttackApp',
4077
- attackType: 'AttackType',
4078
- description: 'Description',
4079
- direction: 'Direction',
4080
- dstIP: 'DstIP',
4081
- eventCount: 'EventCount',
4082
- eventId: 'EventId',
4083
- eventName: 'EventName',
4084
- firstEventTime: 'FirstEventTime',
4085
- IPLocationInfo: 'IPLocationInfo',
4086
- lastEventTime: 'LastEventTime',
4087
- resourcePrivateIPList: 'ResourcePrivateIPList',
4088
- resourceType: 'ResourceType',
4089
- ruleId: 'RuleId',
4090
- ruleResult: 'RuleResult',
4091
- ruleSource: 'RuleSource',
4092
- srcIP: 'SrcIP',
4093
- srcIPTag: 'SrcIPTag',
4094
- srcPrivateIPList: 'SrcPrivateIPList',
4095
- tag: 'Tag',
4096
- vpcDstInfo: 'VpcDstInfo',
4097
- vpcSrcInfo: 'VpcSrcInfo',
4098
- vulLevel: 'VulLevel',
5268
+ trFirewallRouteDestination: 'TrFirewallRouteDestination',
5269
+ trFirewallRouteNexthop: 'TrFirewallRouteNexthop',
5270
+ trFirewallRoutePolicyId: 'TrFirewallRoutePolicyId',
5271
+ trFirewallRouteTableId: 'TrFirewallRouteTableId',
4099
5272
  };
4100
5273
  }
4101
5274
  static types() {
4102
5275
  return {
4103
- attackApp: 'string',
4104
- attackType: 'number',
4105
- description: 'string',
4106
- direction: 'string',
4107
- dstIP: 'string',
4108
- eventCount: 'number',
4109
- eventId: 'string',
4110
- eventName: 'string',
4111
- firstEventTime: 'number',
4112
- IPLocationInfo: DescribeRiskEventGroupResponseBodyDataListIPLocationInfo,
4113
- lastEventTime: 'number',
4114
- resourcePrivateIPList: { 'type': 'array', 'itemType': DescribeRiskEventGroupResponseBodyDataListResourcePrivateIPList },
4115
- resourceType: 'string',
4116
- ruleId: 'string',
4117
- ruleResult: 'number',
4118
- ruleSource: 'number',
4119
- srcIP: 'string',
4120
- srcIPTag: 'string',
4121
- srcPrivateIPList: { 'type': 'array', 'itemType': 'string' },
4122
- tag: 'string',
4123
- vpcDstInfo: DescribeRiskEventGroupResponseBodyDataListVpcDstInfo,
4124
- vpcSrcInfo: DescribeRiskEventGroupResponseBodyDataListVpcSrcInfo,
4125
- vulLevel: 'number',
5276
+ trFirewallRouteDestination: 'string',
5277
+ trFirewallRouteNexthop: 'string',
5278
+ trFirewallRoutePolicyId: 'string',
5279
+ trFirewallRouteTableId: 'string',
4126
5280
  };
4127
5281
  }
4128
5282
  }
4129
- exports.DescribeRiskEventGroupResponseBodyDataList = DescribeRiskEventGroupResponseBodyDataList;
5283
+ exports.DescribeTrFirewallsV2RouteListResponseBodyFirewallRouteDetailList = DescribeTrFirewallsV2RouteListResponseBodyFirewallRouteDetailList;
4130
5284
  class DescribeVpcFirewallAclGroupListResponseBodyAclGroupList extends $tea.Model {
4131
5285
  constructor(map) {
4132
5286
  super(map);
@@ -4877,6 +6031,42 @@ class ModifyInstanceMemberAttributesRequestMembers extends $tea.Model {
4877
6031
  }
4878
6032
  }
4879
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;
4880
6070
  class Client extends openapi_client_1.default {
4881
6071
  constructor(config) {
4882
6072
  super(config);
@@ -4965,7 +6155,7 @@ class Client extends openapi_client_1.default {
4965
6155
  return await this.addAddressBookWithOptions(request, runtime);
4966
6156
  }
4967
6157
  /**
4968
- * You can call the AddControlPolicy operation to create an access control policy to allow, deny, or monitor traffic that passes through Cloud Firewall.
6158
+ * You can call the AddControlPolicy operation to create an access control policy to allow, block, or monitor traffic that reaches Cloud Firewall.
4969
6159
  * ## Limits
4970
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.
4971
6161
  *
@@ -5047,7 +6237,7 @@ class Client extends openapi_client_1.default {
5047
6237
  return $tea.cast(await this.callApi(params, req, runtime), new AddControlPolicyResponse({}));
5048
6238
  }
5049
6239
  /**
5050
- * You can call the AddControlPolicy operation to create an access control policy to allow, deny, or monitor traffic that passes through Cloud Firewall.
6240
+ * You can call the AddControlPolicy operation to create an access control policy to allow, block, or monitor traffic that reaches Cloud Firewall.
5051
6241
  * ## Limits
5052
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.
5053
6243
  *
@@ -5159,6 +6349,120 @@ class Client extends openapi_client_1.default {
5159
6349
  let runtime = new $Util.RuntimeOptions({});
5160
6350
  return await this.batchCopyVpcFirewallControlPolicyWithOptions(request, runtime);
5161
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
+ }
5162
6466
  /**
5163
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~~).
5164
6468
  * ## Limits
@@ -5482,6 +6786,38 @@ class Client extends openapi_client_1.default {
5482
6786
  let runtime = new $Util.RuntimeOptions({});
5483
6787
  return await this.deleteControlPolicyWithOptions(request, runtime);
5484
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
+ }
5485
6821
  /**
5486
6822
  * You can call the DeleteInstanceMembers operation to remove members from Cloud Firewall.
5487
6823
  * ## Limits
@@ -5525,6 +6861,35 @@ class Client extends openapi_client_1.default {
5525
6861
  let runtime = new $Util.RuntimeOptions({});
5526
6862
  return await this.deleteInstanceMembersWithOptions(request, runtime);
5527
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
+ }
5528
6893
  /**
5529
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.
5530
6895
  * ## Limits
@@ -5961,20 +7326,81 @@ class Client extends openapi_client_1.default {
5961
7326
  if (!tea_util_1.default.isUnset(request.memberDesc)) {
5962
7327
  query["MemberDesc"] = request.memberDesc;
5963
7328
  }
5964
- if (!tea_util_1.default.isUnset(request.memberDisplayName)) {
5965
- query["MemberDisplayName"] = request.memberDisplayName;
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;
7389
+ }
7390
+ if (!tea_util_1.default.isUnset(request.srcPublicIP)) {
7391
+ query["SrcPublicIP"] = request.srcPublicIP;
5966
7392
  }
5967
- if (!tea_util_1.default.isUnset(request.memberUid)) {
5968
- query["MemberUid"] = request.memberUid;
7393
+ if (!tea_util_1.default.isUnset(request.startTime)) {
7394
+ query["StartTime"] = request.startTime;
5969
7395
  }
5970
- if (!tea_util_1.default.isUnset(request.pageSize)) {
5971
- query["PageSize"] = request.pageSize;
7396
+ if (!tea_util_1.default.isUnset(request.trafficType)) {
7397
+ query["TrafficType"] = request.trafficType;
5972
7398
  }
5973
7399
  let req = new $OpenApi.OpenApiRequest({
5974
7400
  query: openapi_util_1.default.query(query),
5975
7401
  });
5976
7402
  let params = new $OpenApi.Params({
5977
- action: "DescribeInstanceMembers",
7403
+ action: "DescribeInternetTrafficTrend",
5978
7404
  version: "2017-12-07",
5979
7405
  protocol: "HTTPS",
5980
7406
  pathname: "/",
@@ -5984,19 +7410,11 @@ class Client extends openapi_client_1.default {
5984
7410
  reqBodyType: "formData",
5985
7411
  bodyType: "json",
5986
7412
  });
5987
- return $tea.cast(await this.callApi(params, req, runtime), new DescribeInstanceMembersResponse({}));
7413
+ return $tea.cast(await this.callApi(params, req, runtime), new DescribeInternetTrafficTrendResponse({}));
5988
7414
  }
5989
- /**
5990
- * You can call the DescribeInstanceMembers operation to query the information about members in Cloud Firewall.
5991
- * ## Limits
5992
- * 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.
5993
- *
5994
- * @param request DescribeInstanceMembersRequest
5995
- * @return DescribeInstanceMembersResponse
5996
- */
5997
- async describeInstanceMembers(request) {
7415
+ async describeInternetTrafficTrend(request) {
5998
7416
  let runtime = new $Util.RuntimeOptions({});
5999
- return await this.describeInstanceMembersWithOptions(request, runtime);
7417
+ return await this.describeInternetTrafficTrendWithOptions(request, runtime);
6000
7418
  }
6001
7419
  async describeInvadeEventListWithOptions(request, runtime) {
6002
7420
  tea_util_1.default.validateModel(request);
@@ -6330,6 +7748,9 @@ class Client extends openapi_client_1.default {
6330
7748
  if (!tea_util_1.default.isUnset(request.endTime)) {
6331
7749
  query["EndTime"] = request.endTime;
6332
7750
  }
7751
+ if (!tea_util_1.default.isUnset(request.eventName)) {
7752
+ query["EventName"] = request.eventName;
7753
+ }
6333
7754
  if (!tea_util_1.default.isUnset(request.firewallType)) {
6334
7755
  query["FirewallType"] = request.firewallType;
6335
7756
  }
@@ -6397,6 +7818,196 @@ class Client extends openapi_client_1.default {
6397
7818
  let runtime = new $Util.RuntimeOptions({});
6398
7819
  return await this.describeRiskEventGroupWithOptions(request, runtime);
6399
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
+ }
6400
8011
  async describeUserAssetIPTrafficInfoWithOptions(request, runtime) {
6401
8012
  tea_util_1.default.validateModel(request);
6402
8013
  let query = openapi_util_1.default.query(tea_util_1.default.toMap(request));
@@ -6610,7 +8221,9 @@ class Client extends openapi_client_1.default {
6610
8221
  return await this.describeVpcFirewallCenListWithOptions(request, runtime);
6611
8222
  }
6612
8223
  /**
6613
- * You can call the DescribeVpcFirewallControlPolicy operation to query the details of 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.
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.
6614
8227
  *
6615
8228
  * @param request DescribeVpcFirewallControlPolicyRequest
6616
8229
  * @param runtime runtime options for this request RuntimeOptions
@@ -6672,7 +8285,9 @@ class Client extends openapi_client_1.default {
6672
8285
  return $tea.cast(await this.callApi(params, req, runtime), new DescribeVpcFirewallControlPolicyResponse({}));
6673
8286
  }
6674
8287
  /**
6675
- * You can call the DescribeVpcFirewallControlPolicy operation to query the details of 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.
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.
6676
8291
  *
6677
8292
  * @param request DescribeVpcFirewallControlPolicyRequest
6678
8293
  * @return DescribeVpcFirewallControlPolicyResponse
@@ -6786,8 +8401,8 @@ class Client extends openapi_client_1.default {
6786
8401
  }
6787
8402
  /**
6788
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.
6789
- * ## Limits
6790
- * 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.
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.
6791
8406
  *
6792
8407
  * @param request DescribeVpcFirewallListRequest
6793
8408
  * @param runtime runtime options for this request RuntimeOptions
@@ -6850,8 +8465,8 @@ class Client extends openapi_client_1.default {
6850
8465
  }
6851
8466
  /**
6852
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.
6853
- * ## Limits
6854
- * 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.
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.
6855
8470
  *
6856
8471
  * @param request DescribeVpcFirewallListRequest
6857
8472
  * @return DescribeVpcFirewallListResponse
@@ -7193,6 +8808,44 @@ class Client extends openapi_client_1.default {
7193
8808
  let runtime = new $Util.RuntimeOptions({});
7194
8809
  return await this.modifyControlPolicyPositionWithOptions(request, runtime);
7195
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
+ }
7196
8849
  /**
7197
8850
  * You can call the ModifyInstanceMemberAttributes operation to update the information about members in Cloud Firewall.
7198
8851
  * ## Limits
@@ -7285,6 +8938,84 @@ class Client extends openapi_client_1.default {
7285
8938
  let runtime = new $Util.RuntimeOptions({});
7286
8939
  return await this.modifyPolicyAdvancedConfigWithOptions(request, runtime);
7287
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
+ }
7288
9019
  /**
7289
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.
7290
9021
  * ## Limits
@@ -7450,7 +9181,7 @@ class Client extends openapi_client_1.default {
7450
9181
  return await this.modifyVpcFirewallConfigureWithOptions(request, runtime);
7451
9182
  }
7452
9183
  /**
7453
- * You can call the ModifyVpcFirewallControlPolicy operation to modify the configurations of an access control policy that is created for a VPC firewall in a specific policy group. Different access control policies are used for the VPC firewall that is used to protect each Cloud Enterprise Network (CEN) instance and the VPC firewall that is used to protect each Express Connect circuit.
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.
7454
9185
  * ## Limits
7455
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.
7456
9187
  *
@@ -7523,7 +9254,7 @@ class Client extends openapi_client_1.default {
7523
9254
  return $tea.cast(await this.callApi(params, req, runtime), new ModifyVpcFirewallControlPolicyResponse({}));
7524
9255
  }
7525
9256
  /**
7526
- * You can call the ModifyVpcFirewallControlPolicy operation to modify the configurations of an access control policy that is created for a VPC firewall in a specific policy group. Different access control policies are used for the VPC firewall that is used to protect each Cloud Enterprise Network (CEN) instance and the VPC firewall that is used to protect each Express Connect circuit.
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.
7527
9258
  * ## Limits
7528
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.
7529
9260
  *