@alicloud/cloudfw20171207 1.2.4 → 1.2.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/src/client.ts CHANGED
@@ -350,6 +350,229 @@ export class BatchCopyVpcFirewallControlPolicyResponse extends $tea.Model {
350
350
  }
351
351
  }
352
352
 
353
+ export class CreateTrFirewallV2Request extends $tea.Model {
354
+ cenId?: string;
355
+ firewallDescription?: string;
356
+ firewallName?: string;
357
+ firewallSubnetCidr?: string;
358
+ firewallVpcCidr?: string;
359
+ firewallVpcId?: string;
360
+ firewallVswitchId?: string;
361
+ lang?: string;
362
+ regionNo?: string;
363
+ routeMode?: string;
364
+ trAttachmentMasterCidr?: string;
365
+ trAttachmentSlaveCidr?: string;
366
+ transitRouterId?: string;
367
+ static names(): { [key: string]: string } {
368
+ return {
369
+ cenId: 'CenId',
370
+ firewallDescription: 'FirewallDescription',
371
+ firewallName: 'FirewallName',
372
+ firewallSubnetCidr: 'FirewallSubnetCidr',
373
+ firewallVpcCidr: 'FirewallVpcCidr',
374
+ firewallVpcId: 'FirewallVpcId',
375
+ firewallVswitchId: 'FirewallVswitchId',
376
+ lang: 'Lang',
377
+ regionNo: 'RegionNo',
378
+ routeMode: 'RouteMode',
379
+ trAttachmentMasterCidr: 'TrAttachmentMasterCidr',
380
+ trAttachmentSlaveCidr: 'TrAttachmentSlaveCidr',
381
+ transitRouterId: 'TransitRouterId',
382
+ };
383
+ }
384
+
385
+ static types(): { [key: string]: any } {
386
+ return {
387
+ cenId: 'string',
388
+ firewallDescription: 'string',
389
+ firewallName: 'string',
390
+ firewallSubnetCidr: 'string',
391
+ firewallVpcCidr: 'string',
392
+ firewallVpcId: 'string',
393
+ firewallVswitchId: 'string',
394
+ lang: 'string',
395
+ regionNo: 'string',
396
+ routeMode: 'string',
397
+ trAttachmentMasterCidr: 'string',
398
+ trAttachmentSlaveCidr: 'string',
399
+ transitRouterId: 'string',
400
+ };
401
+ }
402
+
403
+ constructor(map?: { [key: string]: any }) {
404
+ super(map);
405
+ }
406
+ }
407
+
408
+ export class CreateTrFirewallV2ResponseBody extends $tea.Model {
409
+ firewallId?: string;
410
+ requestId?: string;
411
+ static names(): { [key: string]: string } {
412
+ return {
413
+ firewallId: 'FirewallId',
414
+ requestId: 'RequestId',
415
+ };
416
+ }
417
+
418
+ static types(): { [key: string]: any } {
419
+ return {
420
+ firewallId: 'string',
421
+ requestId: 'string',
422
+ };
423
+ }
424
+
425
+ constructor(map?: { [key: string]: any }) {
426
+ super(map);
427
+ }
428
+ }
429
+
430
+ export class CreateTrFirewallV2Response extends $tea.Model {
431
+ headers: { [key: string]: string };
432
+ statusCode: number;
433
+ body: CreateTrFirewallV2ResponseBody;
434
+ static names(): { [key: string]: string } {
435
+ return {
436
+ headers: 'headers',
437
+ statusCode: 'statusCode',
438
+ body: 'body',
439
+ };
440
+ }
441
+
442
+ static types(): { [key: string]: any } {
443
+ return {
444
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
445
+ statusCode: 'number',
446
+ body: CreateTrFirewallV2ResponseBody,
447
+ };
448
+ }
449
+
450
+ constructor(map?: { [key: string]: any }) {
451
+ super(map);
452
+ }
453
+ }
454
+
455
+ export class CreateTrFirewallV2RoutePolicyRequest extends $tea.Model {
456
+ destCandidateList?: CreateTrFirewallV2RoutePolicyRequestDestCandidateList[];
457
+ firewallId?: string;
458
+ lang?: string;
459
+ policyDescription?: string;
460
+ policyName?: string;
461
+ policyType?: string;
462
+ srcCandidateList?: CreateTrFirewallV2RoutePolicyRequestSrcCandidateList[];
463
+ static names(): { [key: string]: string } {
464
+ return {
465
+ destCandidateList: 'DestCandidateList',
466
+ firewallId: 'FirewallId',
467
+ lang: 'Lang',
468
+ policyDescription: 'PolicyDescription',
469
+ policyName: 'PolicyName',
470
+ policyType: 'PolicyType',
471
+ srcCandidateList: 'SrcCandidateList',
472
+ };
473
+ }
474
+
475
+ static types(): { [key: string]: any } {
476
+ return {
477
+ destCandidateList: { 'type': 'array', 'itemType': CreateTrFirewallV2RoutePolicyRequestDestCandidateList },
478
+ firewallId: 'string',
479
+ lang: 'string',
480
+ policyDescription: 'string',
481
+ policyName: 'string',
482
+ policyType: 'string',
483
+ srcCandidateList: { 'type': 'array', 'itemType': CreateTrFirewallV2RoutePolicyRequestSrcCandidateList },
484
+ };
485
+ }
486
+
487
+ constructor(map?: { [key: string]: any }) {
488
+ super(map);
489
+ }
490
+ }
491
+
492
+ export class CreateTrFirewallV2RoutePolicyShrinkRequest extends $tea.Model {
493
+ destCandidateListShrink?: string;
494
+ firewallId?: string;
495
+ lang?: string;
496
+ policyDescription?: string;
497
+ policyName?: string;
498
+ policyType?: string;
499
+ srcCandidateListShrink?: string;
500
+ static names(): { [key: string]: string } {
501
+ return {
502
+ destCandidateListShrink: 'DestCandidateList',
503
+ firewallId: 'FirewallId',
504
+ lang: 'Lang',
505
+ policyDescription: 'PolicyDescription',
506
+ policyName: 'PolicyName',
507
+ policyType: 'PolicyType',
508
+ srcCandidateListShrink: 'SrcCandidateList',
509
+ };
510
+ }
511
+
512
+ static types(): { [key: string]: any } {
513
+ return {
514
+ destCandidateListShrink: 'string',
515
+ firewallId: 'string',
516
+ lang: 'string',
517
+ policyDescription: 'string',
518
+ policyName: 'string',
519
+ policyType: 'string',
520
+ srcCandidateListShrink: 'string',
521
+ };
522
+ }
523
+
524
+ constructor(map?: { [key: string]: any }) {
525
+ super(map);
526
+ }
527
+ }
528
+
529
+ export class CreateTrFirewallV2RoutePolicyResponseBody extends $tea.Model {
530
+ requestId?: string;
531
+ trFirewallRoutePolicyId?: string;
532
+ static names(): { [key: string]: string } {
533
+ return {
534
+ requestId: 'RequestId',
535
+ trFirewallRoutePolicyId: 'TrFirewallRoutePolicyId',
536
+ };
537
+ }
538
+
539
+ static types(): { [key: string]: any } {
540
+ return {
541
+ requestId: 'string',
542
+ trFirewallRoutePolicyId: 'string',
543
+ };
544
+ }
545
+
546
+ constructor(map?: { [key: string]: any }) {
547
+ super(map);
548
+ }
549
+ }
550
+
551
+ export class CreateTrFirewallV2RoutePolicyResponse extends $tea.Model {
552
+ headers: { [key: string]: string };
553
+ statusCode: number;
554
+ body: CreateTrFirewallV2RoutePolicyResponseBody;
555
+ static names(): { [key: string]: string } {
556
+ return {
557
+ headers: 'headers',
558
+ statusCode: 'statusCode',
559
+ body: 'body',
560
+ };
561
+ }
562
+
563
+ static types(): { [key: string]: any } {
564
+ return {
565
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
566
+ statusCode: 'number',
567
+ body: CreateTrFirewallV2RoutePolicyResponseBody,
568
+ };
569
+ }
570
+
571
+ constructor(map?: { [key: string]: any }) {
572
+ super(map);
573
+ }
574
+ }
575
+
353
576
  export class CreateVpcFirewallCenConfigureRequest extends $tea.Model {
354
577
  cenId?: string;
355
578
  firewallSwitch?: string;
@@ -782,17 +1005,23 @@ export class DeleteControlPolicyResponse extends $tea.Model {
782
1005
  }
783
1006
  }
784
1007
 
785
- export class DeleteInstanceMembersRequest extends $tea.Model {
786
- memberUids?: number[];
1008
+ export class DeleteFirewallV2RoutePoliciesRequest extends $tea.Model {
1009
+ firewallId?: string;
1010
+ lang?: string;
1011
+ trFirewallRoutePolicyId?: string;
787
1012
  static names(): { [key: string]: string } {
788
1013
  return {
789
- memberUids: 'MemberUids',
1014
+ firewallId: 'FirewallId',
1015
+ lang: 'Lang',
1016
+ trFirewallRoutePolicyId: 'TrFirewallRoutePolicyId',
790
1017
  };
791
1018
  }
792
1019
 
793
1020
  static types(): { [key: string]: any } {
794
1021
  return {
795
- memberUids: { 'type': 'array', 'itemType': 'number' },
1022
+ firewallId: 'string',
1023
+ lang: 'string',
1024
+ trFirewallRoutePolicyId: 'string',
796
1025
  };
797
1026
  }
798
1027
 
@@ -801,7 +1030,7 @@ export class DeleteInstanceMembersRequest extends $tea.Model {
801
1030
  }
802
1031
  }
803
1032
 
804
- export class DeleteInstanceMembersResponseBody extends $tea.Model {
1033
+ export class DeleteFirewallV2RoutePoliciesResponseBody extends $tea.Model {
805
1034
  requestId?: string;
806
1035
  static names(): { [key: string]: string } {
807
1036
  return {
@@ -820,10 +1049,10 @@ export class DeleteInstanceMembersResponseBody extends $tea.Model {
820
1049
  }
821
1050
  }
822
1051
 
823
- export class DeleteInstanceMembersResponse extends $tea.Model {
1052
+ export class DeleteFirewallV2RoutePoliciesResponse extends $tea.Model {
824
1053
  headers: { [key: string]: string };
825
1054
  statusCode: number;
826
- body: DeleteInstanceMembersResponseBody;
1055
+ body: DeleteFirewallV2RoutePoliciesResponseBody;
827
1056
  static names(): { [key: string]: string } {
828
1057
  return {
829
1058
  headers: 'headers',
@@ -836,7 +1065,7 @@ export class DeleteInstanceMembersResponse extends $tea.Model {
836
1065
  return {
837
1066
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
838
1067
  statusCode: 'number',
839
- body: DeleteInstanceMembersResponseBody,
1068
+ body: DeleteFirewallV2RoutePoliciesResponseBody,
840
1069
  };
841
1070
  }
842
1071
 
@@ -845,23 +1074,17 @@ export class DeleteInstanceMembersResponse extends $tea.Model {
845
1074
  }
846
1075
  }
847
1076
 
848
- export class DeleteVpcFirewallCenConfigureRequest extends $tea.Model {
849
- lang?: string;
850
- memberUid?: string;
851
- vpcFirewallIdList?: string[];
1077
+ export class DeleteInstanceMembersRequest extends $tea.Model {
1078
+ memberUids?: number[];
852
1079
  static names(): { [key: string]: string } {
853
1080
  return {
854
- lang: 'Lang',
855
- memberUid: 'MemberUid',
856
- vpcFirewallIdList: 'VpcFirewallIdList',
1081
+ memberUids: 'MemberUids',
857
1082
  };
858
1083
  }
859
1084
 
860
1085
  static types(): { [key: string]: any } {
861
1086
  return {
862
- lang: 'string',
863
- memberUid: 'string',
864
- vpcFirewallIdList: { 'type': 'array', 'itemType': 'string' },
1087
+ memberUids: { 'type': 'array', 'itemType': 'number' },
865
1088
  };
866
1089
  }
867
1090
 
@@ -870,7 +1093,7 @@ export class DeleteVpcFirewallCenConfigureRequest extends $tea.Model {
870
1093
  }
871
1094
  }
872
1095
 
873
- export class DeleteVpcFirewallCenConfigureResponseBody extends $tea.Model {
1096
+ export class DeleteInstanceMembersResponseBody extends $tea.Model {
874
1097
  requestId?: string;
875
1098
  static names(): { [key: string]: string } {
876
1099
  return {
@@ -889,10 +1112,10 @@ export class DeleteVpcFirewallCenConfigureResponseBody extends $tea.Model {
889
1112
  }
890
1113
  }
891
1114
 
892
- export class DeleteVpcFirewallCenConfigureResponse extends $tea.Model {
1115
+ export class DeleteInstanceMembersResponse extends $tea.Model {
893
1116
  headers: { [key: string]: string };
894
1117
  statusCode: number;
895
- body: DeleteVpcFirewallCenConfigureResponseBody;
1118
+ body: DeleteInstanceMembersResponseBody;
896
1119
  static names(): { [key: string]: string } {
897
1120
  return {
898
1121
  headers: 'headers',
@@ -905,7 +1128,7 @@ export class DeleteVpcFirewallCenConfigureResponse extends $tea.Model {
905
1128
  return {
906
1129
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
907
1130
  statusCode: 'number',
908
- body: DeleteVpcFirewallCenConfigureResponseBody,
1131
+ body: DeleteInstanceMembersResponseBody,
909
1132
  };
910
1133
  }
911
1134
 
@@ -914,23 +1137,20 @@ export class DeleteVpcFirewallCenConfigureResponse extends $tea.Model {
914
1137
  }
915
1138
  }
916
1139
 
917
- export class DeleteVpcFirewallConfigureRequest extends $tea.Model {
1140
+ export class DeleteTrFirewallV2Request extends $tea.Model {
1141
+ firewallId?: string;
918
1142
  lang?: string;
919
- memberUid?: string;
920
- vpcFirewallIdList?: string[];
921
1143
  static names(): { [key: string]: string } {
922
1144
  return {
1145
+ firewallId: 'FirewallId',
923
1146
  lang: 'Lang',
924
- memberUid: 'MemberUid',
925
- vpcFirewallIdList: 'VpcFirewallIdList',
926
1147
  };
927
1148
  }
928
1149
 
929
1150
  static types(): { [key: string]: any } {
930
1151
  return {
1152
+ firewallId: 'string',
931
1153
  lang: 'string',
932
- memberUid: 'string',
933
- vpcFirewallIdList: { 'type': 'array', 'itemType': 'string' },
934
1154
  };
935
1155
  }
936
1156
 
@@ -939,7 +1159,7 @@ export class DeleteVpcFirewallConfigureRequest extends $tea.Model {
939
1159
  }
940
1160
  }
941
1161
 
942
- export class DeleteVpcFirewallConfigureResponseBody extends $tea.Model {
1162
+ export class DeleteTrFirewallV2ResponseBody extends $tea.Model {
943
1163
  requestId?: string;
944
1164
  static names(): { [key: string]: string } {
945
1165
  return {
@@ -958,10 +1178,10 @@ export class DeleteVpcFirewallConfigureResponseBody extends $tea.Model {
958
1178
  }
959
1179
  }
960
1180
 
961
- export class DeleteVpcFirewallConfigureResponse extends $tea.Model {
1181
+ export class DeleteTrFirewallV2Response extends $tea.Model {
962
1182
  headers: { [key: string]: string };
963
1183
  statusCode: number;
964
- body: DeleteVpcFirewallConfigureResponseBody;
1184
+ body: DeleteTrFirewallV2ResponseBody;
965
1185
  static names(): { [key: string]: string } {
966
1186
  return {
967
1187
  headers: 'headers',
@@ -974,7 +1194,7 @@ export class DeleteVpcFirewallConfigureResponse extends $tea.Model {
974
1194
  return {
975
1195
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
976
1196
  statusCode: 'number',
977
- body: DeleteVpcFirewallConfigureResponseBody,
1197
+ body: DeleteTrFirewallV2ResponseBody,
978
1198
  };
979
1199
  }
980
1200
 
@@ -983,23 +1203,23 @@ export class DeleteVpcFirewallConfigureResponse extends $tea.Model {
983
1203
  }
984
1204
  }
985
1205
 
986
- export class DeleteVpcFirewallControlPolicyRequest extends $tea.Model {
987
- aclUuid?: string;
1206
+ export class DeleteVpcFirewallCenConfigureRequest extends $tea.Model {
988
1207
  lang?: string;
989
- vpcFirewallId?: string;
1208
+ memberUid?: string;
1209
+ vpcFirewallIdList?: string[];
990
1210
  static names(): { [key: string]: string } {
991
1211
  return {
992
- aclUuid: 'AclUuid',
993
1212
  lang: 'Lang',
994
- vpcFirewallId: 'VpcFirewallId',
1213
+ memberUid: 'MemberUid',
1214
+ vpcFirewallIdList: 'VpcFirewallIdList',
995
1215
  };
996
1216
  }
997
1217
 
998
1218
  static types(): { [key: string]: any } {
999
1219
  return {
1000
- aclUuid: 'string',
1001
1220
  lang: 'string',
1002
- vpcFirewallId: 'string',
1221
+ memberUid: 'string',
1222
+ vpcFirewallIdList: { 'type': 'array', 'itemType': 'string' },
1003
1223
  };
1004
1224
  }
1005
1225
 
@@ -1008,7 +1228,7 @@ export class DeleteVpcFirewallControlPolicyRequest extends $tea.Model {
1008
1228
  }
1009
1229
  }
1010
1230
 
1011
- export class DeleteVpcFirewallControlPolicyResponseBody extends $tea.Model {
1231
+ export class DeleteVpcFirewallCenConfigureResponseBody extends $tea.Model {
1012
1232
  requestId?: string;
1013
1233
  static names(): { [key: string]: string } {
1014
1234
  return {
@@ -1027,10 +1247,10 @@ export class DeleteVpcFirewallControlPolicyResponseBody extends $tea.Model {
1027
1247
  }
1028
1248
  }
1029
1249
 
1030
- export class DeleteVpcFirewallControlPolicyResponse extends $tea.Model {
1250
+ export class DeleteVpcFirewallCenConfigureResponse extends $tea.Model {
1031
1251
  headers: { [key: string]: string };
1032
1252
  statusCode: number;
1033
- body: DeleteVpcFirewallControlPolicyResponseBody;
1253
+ body: DeleteVpcFirewallCenConfigureResponseBody;
1034
1254
  static names(): { [key: string]: string } {
1035
1255
  return {
1036
1256
  headers: 'headers',
@@ -1043,7 +1263,7 @@ export class DeleteVpcFirewallControlPolicyResponse extends $tea.Model {
1043
1263
  return {
1044
1264
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1045
1265
  statusCode: 'number',
1046
- body: DeleteVpcFirewallControlPolicyResponseBody,
1266
+ body: DeleteVpcFirewallCenConfigureResponseBody,
1047
1267
  };
1048
1268
  }
1049
1269
 
@@ -1052,32 +1272,23 @@ export class DeleteVpcFirewallControlPolicyResponse extends $tea.Model {
1052
1272
  }
1053
1273
  }
1054
1274
 
1055
- export class DescribeAddressBookRequest extends $tea.Model {
1056
- containPort?: string;
1057
- currentPage?: string;
1058
- groupType?: string;
1275
+ export class DeleteVpcFirewallConfigureRequest extends $tea.Model {
1059
1276
  lang?: string;
1060
- pageSize?: string;
1061
- query?: string;
1277
+ memberUid?: string;
1278
+ vpcFirewallIdList?: string[];
1062
1279
  static names(): { [key: string]: string } {
1063
1280
  return {
1064
- containPort: 'ContainPort',
1065
- currentPage: 'CurrentPage',
1066
- groupType: 'GroupType',
1067
1281
  lang: 'Lang',
1068
- pageSize: 'PageSize',
1069
- query: 'Query',
1282
+ memberUid: 'MemberUid',
1283
+ vpcFirewallIdList: 'VpcFirewallIdList',
1070
1284
  };
1071
1285
  }
1072
1286
 
1073
1287
  static types(): { [key: string]: any } {
1074
1288
  return {
1075
- containPort: 'string',
1076
- currentPage: 'string',
1077
- groupType: 'string',
1078
1289
  lang: 'string',
1079
- pageSize: 'string',
1080
- query: 'string',
1290
+ memberUid: 'string',
1291
+ vpcFirewallIdList: { 'type': 'array', 'itemType': 'string' },
1081
1292
  };
1082
1293
  }
1083
1294
 
@@ -1086,29 +1297,17 @@ export class DescribeAddressBookRequest extends $tea.Model {
1086
1297
  }
1087
1298
  }
1088
1299
 
1089
- export class DescribeAddressBookResponseBody extends $tea.Model {
1090
- acls?: DescribeAddressBookResponseBodyAcls[];
1091
- pageNo?: string;
1092
- pageSize?: string;
1300
+ export class DeleteVpcFirewallConfigureResponseBody extends $tea.Model {
1093
1301
  requestId?: string;
1094
- totalCount?: string;
1095
1302
  static names(): { [key: string]: string } {
1096
1303
  return {
1097
- acls: 'Acls',
1098
- pageNo: 'PageNo',
1099
- pageSize: 'PageSize',
1100
1304
  requestId: 'RequestId',
1101
- totalCount: 'TotalCount',
1102
1305
  };
1103
1306
  }
1104
1307
 
1105
1308
  static types(): { [key: string]: any } {
1106
1309
  return {
1107
- acls: { 'type': 'array', 'itemType': DescribeAddressBookResponseBodyAcls },
1108
- pageNo: 'string',
1109
- pageSize: 'string',
1110
1310
  requestId: 'string',
1111
- totalCount: 'string',
1112
1311
  };
1113
1312
  }
1114
1313
 
@@ -1117,10 +1316,10 @@ export class DescribeAddressBookResponseBody extends $tea.Model {
1117
1316
  }
1118
1317
  }
1119
1318
 
1120
- export class DescribeAddressBookResponse extends $tea.Model {
1319
+ export class DeleteVpcFirewallConfigureResponse extends $tea.Model {
1121
1320
  headers: { [key: string]: string };
1122
1321
  statusCode: number;
1123
- body: DescribeAddressBookResponseBody;
1322
+ body: DeleteVpcFirewallConfigureResponseBody;
1124
1323
  static names(): { [key: string]: string } {
1125
1324
  return {
1126
1325
  headers: 'headers',
@@ -1133,7 +1332,7 @@ export class DescribeAddressBookResponse extends $tea.Model {
1133
1332
  return {
1134
1333
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1135
1334
  statusCode: 'number',
1136
- body: DescribeAddressBookResponseBody,
1335
+ body: DeleteVpcFirewallConfigureResponseBody,
1137
1336
  };
1138
1337
  }
1139
1338
 
@@ -1142,7 +1341,166 @@ export class DescribeAddressBookResponse extends $tea.Model {
1142
1341
  }
1143
1342
  }
1144
1343
 
1145
- export class DescribeAssetListRequest extends $tea.Model {
1344
+ export class DeleteVpcFirewallControlPolicyRequest extends $tea.Model {
1345
+ aclUuid?: string;
1346
+ lang?: string;
1347
+ vpcFirewallId?: string;
1348
+ static names(): { [key: string]: string } {
1349
+ return {
1350
+ aclUuid: 'AclUuid',
1351
+ lang: 'Lang',
1352
+ vpcFirewallId: 'VpcFirewallId',
1353
+ };
1354
+ }
1355
+
1356
+ static types(): { [key: string]: any } {
1357
+ return {
1358
+ aclUuid: 'string',
1359
+ lang: 'string',
1360
+ vpcFirewallId: 'string',
1361
+ };
1362
+ }
1363
+
1364
+ constructor(map?: { [key: string]: any }) {
1365
+ super(map);
1366
+ }
1367
+ }
1368
+
1369
+ export class DeleteVpcFirewallControlPolicyResponseBody extends $tea.Model {
1370
+ requestId?: string;
1371
+ static names(): { [key: string]: string } {
1372
+ return {
1373
+ requestId: 'RequestId',
1374
+ };
1375
+ }
1376
+
1377
+ static types(): { [key: string]: any } {
1378
+ return {
1379
+ requestId: 'string',
1380
+ };
1381
+ }
1382
+
1383
+ constructor(map?: { [key: string]: any }) {
1384
+ super(map);
1385
+ }
1386
+ }
1387
+
1388
+ export class DeleteVpcFirewallControlPolicyResponse extends $tea.Model {
1389
+ headers: { [key: string]: string };
1390
+ statusCode: number;
1391
+ body: DeleteVpcFirewallControlPolicyResponseBody;
1392
+ static names(): { [key: string]: string } {
1393
+ return {
1394
+ headers: 'headers',
1395
+ statusCode: 'statusCode',
1396
+ body: 'body',
1397
+ };
1398
+ }
1399
+
1400
+ static types(): { [key: string]: any } {
1401
+ return {
1402
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1403
+ statusCode: 'number',
1404
+ body: DeleteVpcFirewallControlPolicyResponseBody,
1405
+ };
1406
+ }
1407
+
1408
+ constructor(map?: { [key: string]: any }) {
1409
+ super(map);
1410
+ }
1411
+ }
1412
+
1413
+ export class DescribeAddressBookRequest extends $tea.Model {
1414
+ containPort?: string;
1415
+ currentPage?: string;
1416
+ groupType?: string;
1417
+ lang?: string;
1418
+ pageSize?: string;
1419
+ query?: string;
1420
+ static names(): { [key: string]: string } {
1421
+ return {
1422
+ containPort: 'ContainPort',
1423
+ currentPage: 'CurrentPage',
1424
+ groupType: 'GroupType',
1425
+ lang: 'Lang',
1426
+ pageSize: 'PageSize',
1427
+ query: 'Query',
1428
+ };
1429
+ }
1430
+
1431
+ static types(): { [key: string]: any } {
1432
+ return {
1433
+ containPort: 'string',
1434
+ currentPage: 'string',
1435
+ groupType: 'string',
1436
+ lang: 'string',
1437
+ pageSize: 'string',
1438
+ query: 'string',
1439
+ };
1440
+ }
1441
+
1442
+ constructor(map?: { [key: string]: any }) {
1443
+ super(map);
1444
+ }
1445
+ }
1446
+
1447
+ export class DescribeAddressBookResponseBody extends $tea.Model {
1448
+ acls?: DescribeAddressBookResponseBodyAcls[];
1449
+ pageNo?: string;
1450
+ pageSize?: string;
1451
+ requestId?: string;
1452
+ totalCount?: string;
1453
+ static names(): { [key: string]: string } {
1454
+ return {
1455
+ acls: 'Acls',
1456
+ pageNo: 'PageNo',
1457
+ pageSize: 'PageSize',
1458
+ requestId: 'RequestId',
1459
+ totalCount: 'TotalCount',
1460
+ };
1461
+ }
1462
+
1463
+ static types(): { [key: string]: any } {
1464
+ return {
1465
+ acls: { 'type': 'array', 'itemType': DescribeAddressBookResponseBodyAcls },
1466
+ pageNo: 'string',
1467
+ pageSize: 'string',
1468
+ requestId: 'string',
1469
+ totalCount: 'string',
1470
+ };
1471
+ }
1472
+
1473
+ constructor(map?: { [key: string]: any }) {
1474
+ super(map);
1475
+ }
1476
+ }
1477
+
1478
+ export class DescribeAddressBookResponse extends $tea.Model {
1479
+ headers: { [key: string]: string };
1480
+ statusCode: number;
1481
+ body: DescribeAddressBookResponseBody;
1482
+ static names(): { [key: string]: string } {
1483
+ return {
1484
+ headers: 'headers',
1485
+ statusCode: 'statusCode',
1486
+ body: 'body',
1487
+ };
1488
+ }
1489
+
1490
+ static types(): { [key: string]: any } {
1491
+ return {
1492
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1493
+ statusCode: 'number',
1494
+ body: DescribeAddressBookResponseBody,
1495
+ };
1496
+ }
1497
+
1498
+ constructor(map?: { [key: string]: any }) {
1499
+ super(map);
1500
+ }
1501
+ }
1502
+
1503
+ export class DescribeAssetListRequest extends $tea.Model {
1146
1504
  currentPage?: string;
1147
1505
  ipVersion?: string;
1148
1506
  lang?: string;
@@ -1511,6 +1869,135 @@ export class DescribeInstanceMembersResponse extends $tea.Model {
1511
1869
  }
1512
1870
  }
1513
1871
 
1872
+ export class DescribeInternetTrafficTrendRequest extends $tea.Model {
1873
+ direction?: string;
1874
+ endTime?: string;
1875
+ lang?: string;
1876
+ sourceCode?: string;
1877
+ sourceIp?: string;
1878
+ srcPrivateIP?: string;
1879
+ srcPublicIP?: string;
1880
+ startTime?: string;
1881
+ trafficType?: string;
1882
+ static names(): { [key: string]: string } {
1883
+ return {
1884
+ direction: 'Direction',
1885
+ endTime: 'EndTime',
1886
+ lang: 'Lang',
1887
+ sourceCode: 'SourceCode',
1888
+ sourceIp: 'SourceIp',
1889
+ srcPrivateIP: 'SrcPrivateIP',
1890
+ srcPublicIP: 'SrcPublicIP',
1891
+ startTime: 'StartTime',
1892
+ trafficType: 'TrafficType',
1893
+ };
1894
+ }
1895
+
1896
+ static types(): { [key: string]: any } {
1897
+ return {
1898
+ direction: 'string',
1899
+ endTime: 'string',
1900
+ lang: 'string',
1901
+ sourceCode: 'string',
1902
+ sourceIp: 'string',
1903
+ srcPrivateIP: 'string',
1904
+ srcPublicIP: 'string',
1905
+ startTime: 'string',
1906
+ trafficType: 'string',
1907
+ };
1908
+ }
1909
+
1910
+ constructor(map?: { [key: string]: any }) {
1911
+ super(map);
1912
+ }
1913
+ }
1914
+
1915
+ export class DescribeInternetTrafficTrendResponseBody extends $tea.Model {
1916
+ avgInBps?: number;
1917
+ avgOutBps?: number;
1918
+ avgSession?: number;
1919
+ avgTotalBps?: number;
1920
+ dataList?: DescribeInternetTrafficTrendResponseBodyDataList[];
1921
+ maxBandwidthTime?: number;
1922
+ maxInBps?: number;
1923
+ maxOutBps?: number;
1924
+ maxSession?: number;
1925
+ maxTotalBps?: number;
1926
+ requestId?: string;
1927
+ totalBytes?: number;
1928
+ totalInBytes?: number;
1929
+ totalOutBytes?: number;
1930
+ totalSession?: number;
1931
+ static names(): { [key: string]: string } {
1932
+ return {
1933
+ avgInBps: 'AvgInBps',
1934
+ avgOutBps: 'AvgOutBps',
1935
+ avgSession: 'AvgSession',
1936
+ avgTotalBps: 'AvgTotalBps',
1937
+ dataList: 'DataList',
1938
+ maxBandwidthTime: 'MaxBandwidthTime',
1939
+ maxInBps: 'MaxInBps',
1940
+ maxOutBps: 'MaxOutBps',
1941
+ maxSession: 'MaxSession',
1942
+ maxTotalBps: 'MaxTotalBps',
1943
+ requestId: 'RequestId',
1944
+ totalBytes: 'TotalBytes',
1945
+ totalInBytes: 'TotalInBytes',
1946
+ totalOutBytes: 'TotalOutBytes',
1947
+ totalSession: 'TotalSession',
1948
+ };
1949
+ }
1950
+
1951
+ static types(): { [key: string]: any } {
1952
+ return {
1953
+ avgInBps: 'number',
1954
+ avgOutBps: 'number',
1955
+ avgSession: 'number',
1956
+ avgTotalBps: 'number',
1957
+ dataList: { 'type': 'array', 'itemType': DescribeInternetTrafficTrendResponseBodyDataList },
1958
+ maxBandwidthTime: 'number',
1959
+ maxInBps: 'number',
1960
+ maxOutBps: 'number',
1961
+ maxSession: 'number',
1962
+ maxTotalBps: 'number',
1963
+ requestId: 'string',
1964
+ totalBytes: 'number',
1965
+ totalInBytes: 'number',
1966
+ totalOutBytes: 'number',
1967
+ totalSession: 'number',
1968
+ };
1969
+ }
1970
+
1971
+ constructor(map?: { [key: string]: any }) {
1972
+ super(map);
1973
+ }
1974
+ }
1975
+
1976
+ export class DescribeInternetTrafficTrendResponse extends $tea.Model {
1977
+ headers: { [key: string]: string };
1978
+ statusCode: number;
1979
+ body: DescribeInternetTrafficTrendResponseBody;
1980
+ static names(): { [key: string]: string } {
1981
+ return {
1982
+ headers: 'headers',
1983
+ statusCode: 'statusCode',
1984
+ body: 'body',
1985
+ };
1986
+ }
1987
+
1988
+ static types(): { [key: string]: any } {
1989
+ return {
1990
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1991
+ statusCode: 'number',
1992
+ body: DescribeInternetTrafficTrendResponseBody,
1993
+ };
1994
+ }
1995
+
1996
+ constructor(map?: { [key: string]: any }) {
1997
+ super(map);
1998
+ }
1999
+ }
2000
+
1514
2001
  export class DescribeInvadeEventListRequest extends $tea.Model {
1515
2002
  assetsIP?: string;
1516
2003
  assetsInstanceId?: string;
@@ -2120,23 +2607,23 @@ export class DescribeRiskEventGroupResponse extends $tea.Model {
2120
2607
  }
2121
2608
  }
2122
2609
 
2123
- export class DescribeUserAssetIPTrafficInfoRequest extends $tea.Model {
2124
- assetIP?: string;
2610
+ export class DescribeTrFirewallPolicyBackUpAssociationListRequest extends $tea.Model {
2611
+ firewallId?: string;
2125
2612
  lang?: string;
2126
- trafficTime?: string;
2613
+ trFirewallRoutePolicyId?: string;
2127
2614
  static names(): { [key: string]: string } {
2128
2615
  return {
2129
- assetIP: 'AssetIP',
2616
+ firewallId: 'FirewallId',
2130
2617
  lang: 'Lang',
2131
- trafficTime: 'TrafficTime',
2618
+ trFirewallRoutePolicyId: 'TrFirewallRoutePolicyId',
2132
2619
  };
2133
2620
  }
2134
2621
 
2135
2622
  static types(): { [key: string]: any } {
2136
2623
  return {
2137
- assetIP: 'string',
2624
+ firewallId: 'string',
2138
2625
  lang: 'string',
2139
- trafficTime: 'string',
2626
+ trFirewallRoutePolicyId: 'string',
2140
2627
  };
2141
2628
  }
2142
2629
 
@@ -2145,41 +2632,20 @@ export class DescribeUserAssetIPTrafficInfoRequest extends $tea.Model {
2145
2632
  }
2146
2633
  }
2147
2634
 
2148
- export class DescribeUserAssetIPTrafficInfoResponseBody extends $tea.Model {
2149
- endTime?: number;
2150
- inBps?: number;
2151
- inPps?: number;
2152
- newConn?: number;
2153
- outBps?: number;
2154
- outPps?: number;
2635
+ export class DescribeTrFirewallPolicyBackUpAssociationListResponseBody extends $tea.Model {
2636
+ policyAssociationBackupConfigs?: DescribeTrFirewallPolicyBackUpAssociationListResponseBodyPolicyAssociationBackupConfigs[];
2155
2637
  requestId?: string;
2156
- sessionCount?: number;
2157
- startTime?: number;
2158
2638
  static names(): { [key: string]: string } {
2159
2639
  return {
2160
- endTime: 'EndTime',
2161
- inBps: 'InBps',
2162
- inPps: 'InPps',
2163
- newConn: 'NewConn',
2164
- outBps: 'OutBps',
2165
- outPps: 'OutPps',
2640
+ policyAssociationBackupConfigs: 'PolicyAssociationBackupConfigs',
2166
2641
  requestId: 'RequestId',
2167
- sessionCount: 'SessionCount',
2168
- startTime: 'StartTime',
2169
2642
  };
2170
2643
  }
2171
2644
 
2172
2645
  static types(): { [key: string]: any } {
2173
2646
  return {
2174
- endTime: 'number',
2175
- inBps: 'number',
2176
- inPps: 'number',
2177
- newConn: 'number',
2178
- outBps: 'number',
2179
- outPps: 'number',
2647
+ policyAssociationBackupConfigs: { 'type': 'array', 'itemType': DescribeTrFirewallPolicyBackUpAssociationListResponseBodyPolicyAssociationBackupConfigs },
2180
2648
  requestId: 'string',
2181
- sessionCount: 'number',
2182
- startTime: 'number',
2183
2649
  };
2184
2650
  }
2185
2651
 
@@ -2188,10 +2654,10 @@ export class DescribeUserAssetIPTrafficInfoResponseBody extends $tea.Model {
2188
2654
  }
2189
2655
  }
2190
2656
 
2191
- export class DescribeUserAssetIPTrafficInfoResponse extends $tea.Model {
2657
+ export class DescribeTrFirewallPolicyBackUpAssociationListResponse extends $tea.Model {
2192
2658
  headers: { [key: string]: string };
2193
2659
  statusCode: number;
2194
- body: DescribeUserAssetIPTrafficInfoResponseBody;
2660
+ body: DescribeTrFirewallPolicyBackUpAssociationListResponseBody;
2195
2661
  static names(): { [key: string]: string } {
2196
2662
  return {
2197
2663
  headers: 'headers',
@@ -2204,7 +2670,7 @@ export class DescribeUserAssetIPTrafficInfoResponse extends $tea.Model {
2204
2670
  return {
2205
2671
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2206
2672
  statusCode: 'number',
2207
- body: DescribeUserAssetIPTrafficInfoResponseBody,
2673
+ body: DescribeTrFirewallPolicyBackUpAssociationListResponseBody,
2208
2674
  };
2209
2675
  }
2210
2676
 
@@ -2213,26 +2679,29 @@ export class DescribeUserAssetIPTrafficInfoResponse extends $tea.Model {
2213
2679
  }
2214
2680
  }
2215
2681
 
2216
- export class DescribeVpcFirewallAclGroupListRequest extends $tea.Model {
2217
- currentPage?: string;
2218
- firewallConfigureStatus?: string;
2682
+ export class DescribeTrFirewallV2RoutePolicyListRequest extends $tea.Model {
2683
+ currentPage?: number;
2684
+ firewallId?: string;
2219
2685
  lang?: string;
2220
- pageSize?: string;
2686
+ pageSize?: number;
2687
+ policyId?: string;
2221
2688
  static names(): { [key: string]: string } {
2222
2689
  return {
2223
2690
  currentPage: 'CurrentPage',
2224
- firewallConfigureStatus: 'FirewallConfigureStatus',
2691
+ firewallId: 'FirewallId',
2225
2692
  lang: 'Lang',
2226
2693
  pageSize: 'PageSize',
2694
+ policyId: 'PolicyId',
2227
2695
  };
2228
2696
  }
2229
2697
 
2230
2698
  static types(): { [key: string]: any } {
2231
2699
  return {
2232
- currentPage: 'string',
2233
- firewallConfigureStatus: 'string',
2700
+ currentPage: 'number',
2701
+ firewallId: 'string',
2234
2702
  lang: 'string',
2235
- pageSize: 'string',
2703
+ pageSize: 'number',
2704
+ policyId: 'string',
2236
2705
  };
2237
2706
  }
2238
2707
 
@@ -2241,23 +2710,23 @@ export class DescribeVpcFirewallAclGroupListRequest extends $tea.Model {
2241
2710
  }
2242
2711
  }
2243
2712
 
2244
- export class DescribeVpcFirewallAclGroupListResponseBody extends $tea.Model {
2245
- aclGroupList?: DescribeVpcFirewallAclGroupListResponseBodyAclGroupList[];
2713
+ export class DescribeTrFirewallV2RoutePolicyListResponseBody extends $tea.Model {
2246
2714
  requestId?: string;
2247
- totalCount?: number;
2715
+ totalCount?: string;
2716
+ trFirewallRoutePolicies?: DescribeTrFirewallV2RoutePolicyListResponseBodyTrFirewallRoutePolicies[];
2248
2717
  static names(): { [key: string]: string } {
2249
2718
  return {
2250
- aclGroupList: 'AclGroupList',
2251
2719
  requestId: 'RequestId',
2252
2720
  totalCount: 'TotalCount',
2721
+ trFirewallRoutePolicies: 'TrFirewallRoutePolicies',
2253
2722
  };
2254
2723
  }
2255
2724
 
2256
2725
  static types(): { [key: string]: any } {
2257
2726
  return {
2258
- aclGroupList: { 'type': 'array', 'itemType': DescribeVpcFirewallAclGroupListResponseBodyAclGroupList },
2259
2727
  requestId: 'string',
2260
- totalCount: 'number',
2728
+ totalCount: 'string',
2729
+ trFirewallRoutePolicies: { 'type': 'array', 'itemType': DescribeTrFirewallV2RoutePolicyListResponseBodyTrFirewallRoutePolicies },
2261
2730
  };
2262
2731
  }
2263
2732
 
@@ -2266,10 +2735,10 @@ export class DescribeVpcFirewallAclGroupListResponseBody extends $tea.Model {
2266
2735
  }
2267
2736
  }
2268
2737
 
2269
- export class DescribeVpcFirewallAclGroupListResponse extends $tea.Model {
2738
+ export class DescribeTrFirewallV2RoutePolicyListResponse extends $tea.Model {
2270
2739
  headers: { [key: string]: string };
2271
2740
  statusCode: number;
2272
- body: DescribeVpcFirewallAclGroupListResponseBody;
2741
+ body: DescribeTrFirewallV2RoutePolicyListResponseBody;
2273
2742
  static names(): { [key: string]: string } {
2274
2743
  return {
2275
2744
  headers: 'headers',
@@ -2282,7 +2751,7 @@ export class DescribeVpcFirewallAclGroupListResponse extends $tea.Model {
2282
2751
  return {
2283
2752
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2284
2753
  statusCode: 'number',
2285
- body: DescribeVpcFirewallAclGroupListResponseBody,
2754
+ body: DescribeTrFirewallV2RoutePolicyListResponseBody,
2286
2755
  };
2287
2756
  }
2288
2757
 
@@ -2291,23 +2760,20 @@ export class DescribeVpcFirewallAclGroupListResponse extends $tea.Model {
2291
2760
  }
2292
2761
  }
2293
2762
 
2294
- export class DescribeVpcFirewallCenDetailRequest extends $tea.Model {
2763
+ export class DescribeTrFirewallsV2DetailRequest extends $tea.Model {
2764
+ firewallId?: string;
2295
2765
  lang?: string;
2296
- networkInstanceId?: string;
2297
- vpcFirewallId?: string;
2298
2766
  static names(): { [key: string]: string } {
2299
2767
  return {
2768
+ firewallId: 'FirewallId',
2300
2769
  lang: 'Lang',
2301
- networkInstanceId: 'NetworkInstanceId',
2302
- vpcFirewallId: 'VpcFirewallId',
2303
2770
  };
2304
2771
  }
2305
2772
 
2306
2773
  static types(): { [key: string]: any } {
2307
2774
  return {
2775
+ firewallId: 'string',
2308
2776
  lang: 'string',
2309
- networkInstanceId: 'string',
2310
- vpcFirewallId: 'string',
2311
2777
  };
2312
2778
  }
2313
2779
 
@@ -2316,32 +2782,53 @@ export class DescribeVpcFirewallCenDetailRequest extends $tea.Model {
2316
2782
  }
2317
2783
  }
2318
2784
 
2319
- export class DescribeVpcFirewallCenDetailResponseBody extends $tea.Model {
2320
- connectType?: string;
2785
+ export class DescribeTrFirewallsV2DetailResponseBody extends $tea.Model {
2786
+ cenId?: string;
2787
+ firewallDescription?: string;
2788
+ firewallEniId?: string;
2789
+ firewallEniVpcId?: string;
2790
+ firewallEniVswitchId?: string;
2791
+ firewallId?: string;
2792
+ firewallName?: string;
2793
+ firewallStatus?: string;
2321
2794
  firewallSwitchStatus?: string;
2322
- localVpc?: DescribeVpcFirewallCenDetailResponseBodyLocalVpc;
2795
+ regionNo?: string;
2323
2796
  requestId?: string;
2324
- vpcFirewallId?: string;
2325
- vpcFirewallName?: string;
2797
+ routeMode?: string;
2798
+ transitRouterId?: string;
2326
2799
  static names(): { [key: string]: string } {
2327
2800
  return {
2328
- connectType: 'ConnectType',
2801
+ cenId: 'CenId',
2802
+ firewallDescription: 'FirewallDescription',
2803
+ firewallEniId: 'FirewallEniId',
2804
+ firewallEniVpcId: 'FirewallEniVpcId',
2805
+ firewallEniVswitchId: 'FirewallEniVswitchId',
2806
+ firewallId: 'FirewallId',
2807
+ firewallName: 'FirewallName',
2808
+ firewallStatus: 'FirewallStatus',
2329
2809
  firewallSwitchStatus: 'FirewallSwitchStatus',
2330
- localVpc: 'LocalVpc',
2810
+ regionNo: 'RegionNo',
2331
2811
  requestId: 'RequestId',
2332
- vpcFirewallId: 'VpcFirewallId',
2333
- vpcFirewallName: 'VpcFirewallName',
2812
+ routeMode: 'RouteMode',
2813
+ transitRouterId: 'TransitRouterId',
2334
2814
  };
2335
2815
  }
2336
2816
 
2337
2817
  static types(): { [key: string]: any } {
2338
2818
  return {
2339
- connectType: 'string',
2819
+ cenId: 'string',
2820
+ firewallDescription: 'string',
2821
+ firewallEniId: 'string',
2822
+ firewallEniVpcId: 'string',
2823
+ firewallEniVswitchId: 'string',
2824
+ firewallId: 'string',
2825
+ firewallName: 'string',
2826
+ firewallStatus: 'string',
2340
2827
  firewallSwitchStatus: 'string',
2341
- localVpc: DescribeVpcFirewallCenDetailResponseBodyLocalVpc,
2828
+ regionNo: 'string',
2342
2829
  requestId: 'string',
2343
- vpcFirewallId: 'string',
2344
- vpcFirewallName: 'string',
2830
+ routeMode: 'string',
2831
+ transitRouterId: 'string',
2345
2832
  };
2346
2833
  }
2347
2834
 
@@ -2350,10 +2837,10 @@ export class DescribeVpcFirewallCenDetailResponseBody extends $tea.Model {
2350
2837
  }
2351
2838
  }
2352
2839
 
2353
- export class DescribeVpcFirewallCenDetailResponse extends $tea.Model {
2840
+ export class DescribeTrFirewallsV2DetailResponse extends $tea.Model {
2354
2841
  headers: { [key: string]: string };
2355
2842
  statusCode: number;
2356
- body: DescribeVpcFirewallCenDetailResponseBody;
2843
+ body: DescribeTrFirewallsV2DetailResponseBody;
2357
2844
  static names(): { [key: string]: string } {
2358
2845
  return {
2359
2846
  headers: 'headers',
@@ -2366,7 +2853,7 @@ export class DescribeVpcFirewallCenDetailResponse extends $tea.Model {
2366
2853
  return {
2367
2854
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2368
2855
  statusCode: 'number',
2369
- body: DescribeVpcFirewallCenDetailResponseBody,
2856
+ body: DescribeTrFirewallsV2DetailResponseBody,
2370
2857
  };
2371
2858
  }
2372
2859
 
@@ -2375,53 +2862,47 @@ export class DescribeVpcFirewallCenDetailResponse extends $tea.Model {
2375
2862
  }
2376
2863
  }
2377
2864
 
2378
- export class DescribeVpcFirewallCenListRequest extends $tea.Model {
2865
+ export class DescribeTrFirewallsV2ListRequest extends $tea.Model {
2379
2866
  cenId?: string;
2380
- currentPage?: string;
2867
+ currentPage?: number;
2868
+ firewallId?: string;
2869
+ firewallName?: string;
2381
2870
  firewallSwitchStatus?: string;
2382
2871
  lang?: string;
2383
- memberUid?: string;
2384
- networkInstanceId?: string;
2385
2872
  ownerId?: string;
2386
- pageSize?: string;
2873
+ pageSize?: number;
2387
2874
  regionNo?: string;
2388
2875
  routeMode?: string;
2389
- transitRouterType?: string;
2390
- vpcFirewallId?: string;
2391
- vpcFirewallName?: string;
2876
+ transitRouterId?: string;
2392
2877
  static names(): { [key: string]: string } {
2393
2878
  return {
2394
2879
  cenId: 'CenId',
2395
2880
  currentPage: 'CurrentPage',
2881
+ firewallId: 'FirewallId',
2882
+ firewallName: 'FirewallName',
2396
2883
  firewallSwitchStatus: 'FirewallSwitchStatus',
2397
2884
  lang: 'Lang',
2398
- memberUid: 'MemberUid',
2399
- networkInstanceId: 'NetworkInstanceId',
2400
2885
  ownerId: 'OwnerId',
2401
2886
  pageSize: 'PageSize',
2402
2887
  regionNo: 'RegionNo',
2403
2888
  routeMode: 'RouteMode',
2404
- transitRouterType: 'TransitRouterType',
2405
- vpcFirewallId: 'VpcFirewallId',
2406
- vpcFirewallName: 'VpcFirewallName',
2889
+ transitRouterId: 'TransitRouterId',
2407
2890
  };
2408
2891
  }
2409
2892
 
2410
2893
  static types(): { [key: string]: any } {
2411
2894
  return {
2412
2895
  cenId: 'string',
2413
- currentPage: 'string',
2896
+ currentPage: 'number',
2897
+ firewallId: 'string',
2898
+ firewallName: 'string',
2414
2899
  firewallSwitchStatus: 'string',
2415
2900
  lang: 'string',
2416
- memberUid: 'string',
2417
- networkInstanceId: 'string',
2418
2901
  ownerId: 'string',
2419
- pageSize: 'string',
2902
+ pageSize: 'number',
2420
2903
  regionNo: 'string',
2421
2904
  routeMode: 'string',
2422
- transitRouterType: 'string',
2423
- vpcFirewallId: 'string',
2424
- vpcFirewallName: 'string',
2905
+ transitRouterId: 'string',
2425
2906
  };
2426
2907
  }
2427
2908
 
@@ -2430,23 +2911,23 @@ export class DescribeVpcFirewallCenListRequest extends $tea.Model {
2430
2911
  }
2431
2912
  }
2432
2913
 
2433
- export class DescribeVpcFirewallCenListResponseBody extends $tea.Model {
2914
+ export class DescribeTrFirewallsV2ListResponseBody extends $tea.Model {
2434
2915
  requestId?: string;
2435
- totalCount?: number;
2436
- vpcFirewalls?: DescribeVpcFirewallCenListResponseBodyVpcFirewalls[];
2916
+ totalCount?: string;
2917
+ vpcTrFirewalls?: DescribeTrFirewallsV2ListResponseBodyVpcTrFirewalls[];
2437
2918
  static names(): { [key: string]: string } {
2438
2919
  return {
2439
2920
  requestId: 'RequestId',
2440
2921
  totalCount: 'TotalCount',
2441
- vpcFirewalls: 'VpcFirewalls',
2922
+ vpcTrFirewalls: 'VpcTrFirewalls',
2442
2923
  };
2443
2924
  }
2444
2925
 
2445
2926
  static types(): { [key: string]: any } {
2446
2927
  return {
2447
2928
  requestId: 'string',
2448
- totalCount: 'number',
2449
- vpcFirewalls: { 'type': 'array', 'itemType': DescribeVpcFirewallCenListResponseBodyVpcFirewalls },
2929
+ totalCount: 'string',
2930
+ vpcTrFirewalls: { 'type': 'array', 'itemType': DescribeTrFirewallsV2ListResponseBodyVpcTrFirewalls },
2450
2931
  };
2451
2932
  }
2452
2933
 
@@ -2455,10 +2936,10 @@ export class DescribeVpcFirewallCenListResponseBody extends $tea.Model {
2455
2936
  }
2456
2937
  }
2457
2938
 
2458
- export class DescribeVpcFirewallCenListResponse extends $tea.Model {
2939
+ export class DescribeTrFirewallsV2ListResponse extends $tea.Model {
2459
2940
  headers: { [key: string]: string };
2460
2941
  statusCode: number;
2461
- body: DescribeVpcFirewallCenListResponseBody;
2942
+ body: DescribeTrFirewallsV2ListResponseBody;
2462
2943
  static names(): { [key: string]: string } {
2463
2944
  return {
2464
2945
  headers: 'headers',
@@ -2471,7 +2952,7 @@ export class DescribeVpcFirewallCenListResponse extends $tea.Model {
2471
2952
  return {
2472
2953
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2473
2954
  statusCode: 'number',
2474
- body: DescribeVpcFirewallCenListResponseBody,
2955
+ body: DescribeTrFirewallsV2ListResponseBody,
2475
2956
  };
2476
2957
  }
2477
2958
 
@@ -2480,50 +2961,29 @@ export class DescribeVpcFirewallCenListResponse extends $tea.Model {
2480
2961
  }
2481
2962
  }
2482
2963
 
2483
- export class DescribeVpcFirewallControlPolicyRequest extends $tea.Model {
2484
- aclAction?: string;
2485
- aclUuid?: string;
2964
+ export class DescribeTrFirewallsV2RouteListRequest extends $tea.Model {
2486
2965
  currentPage?: string;
2487
- description?: string;
2488
- destination?: string;
2966
+ firewallId?: string;
2489
2967
  lang?: string;
2490
- memberUid?: string;
2491
2968
  pageSize?: string;
2492
- proto?: string;
2493
- release?: string;
2494
- source?: string;
2495
- vpcFirewallId?: string;
2969
+ trFirewallRoutePolicyId?: string;
2496
2970
  static names(): { [key: string]: string } {
2497
2971
  return {
2498
- aclAction: 'AclAction',
2499
- aclUuid: 'AclUuid',
2500
2972
  currentPage: 'CurrentPage',
2501
- description: 'Description',
2502
- destination: 'Destination',
2973
+ firewallId: 'FirewallId',
2503
2974
  lang: 'Lang',
2504
- memberUid: 'MemberUid',
2505
2975
  pageSize: 'PageSize',
2506
- proto: 'Proto',
2507
- release: 'Release',
2508
- source: 'Source',
2509
- vpcFirewallId: 'VpcFirewallId',
2976
+ trFirewallRoutePolicyId: 'TrFirewallRoutePolicyId',
2510
2977
  };
2511
2978
  }
2512
2979
 
2513
2980
  static types(): { [key: string]: any } {
2514
2981
  return {
2515
- aclAction: 'string',
2516
- aclUuid: 'string',
2517
2982
  currentPage: 'string',
2518
- description: 'string',
2519
- destination: 'string',
2983
+ firewallId: 'string',
2520
2984
  lang: 'string',
2521
- memberUid: 'string',
2522
2985
  pageSize: 'string',
2523
- proto: 'string',
2524
- release: 'string',
2525
- source: 'string',
2526
- vpcFirewallId: 'string',
2986
+ trFirewallRoutePolicyId: 'string',
2527
2987
  };
2528
2988
  }
2529
2989
 
@@ -2532,23 +2992,20 @@ export class DescribeVpcFirewallControlPolicyRequest extends $tea.Model {
2532
2992
  }
2533
2993
  }
2534
2994
 
2535
- export class DescribeVpcFirewallControlPolicyResponseBody extends $tea.Model {
2536
- policys?: DescribeVpcFirewallControlPolicyResponseBodyPolicys[];
2995
+ export class DescribeTrFirewallsV2RouteListResponseBody extends $tea.Model {
2996
+ firewallRouteDetailList?: DescribeTrFirewallsV2RouteListResponseBodyFirewallRouteDetailList[];
2537
2997
  requestId?: string;
2538
- totalCount?: string;
2539
2998
  static names(): { [key: string]: string } {
2540
2999
  return {
2541
- policys: 'Policys',
3000
+ firewallRouteDetailList: 'FirewallRouteDetailList',
2542
3001
  requestId: 'RequestId',
2543
- totalCount: 'TotalCount',
2544
3002
  };
2545
3003
  }
2546
3004
 
2547
3005
  static types(): { [key: string]: any } {
2548
3006
  return {
2549
- policys: { 'type': 'array', 'itemType': DescribeVpcFirewallControlPolicyResponseBodyPolicys },
3007
+ firewallRouteDetailList: { 'type': 'array', 'itemType': DescribeTrFirewallsV2RouteListResponseBodyFirewallRouteDetailList },
2550
3008
  requestId: 'string',
2551
- totalCount: 'string',
2552
3009
  };
2553
3010
  }
2554
3011
 
@@ -2557,10 +3014,10 @@ export class DescribeVpcFirewallControlPolicyResponseBody extends $tea.Model {
2557
3014
  }
2558
3015
  }
2559
3016
 
2560
- export class DescribeVpcFirewallControlPolicyResponse extends $tea.Model {
3017
+ export class DescribeTrFirewallsV2RouteListResponse extends $tea.Model {
2561
3018
  headers: { [key: string]: string };
2562
3019
  statusCode: number;
2563
- body: DescribeVpcFirewallControlPolicyResponseBody;
3020
+ body: DescribeTrFirewallsV2RouteListResponseBody;
2564
3021
  static names(): { [key: string]: string } {
2565
3022
  return {
2566
3023
  headers: 'headers',
@@ -2573,7 +3030,7 @@ export class DescribeVpcFirewallControlPolicyResponse extends $tea.Model {
2573
3030
  return {
2574
3031
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2575
3032
  statusCode: 'number',
2576
- body: DescribeVpcFirewallControlPolicyResponseBody,
3033
+ body: DescribeTrFirewallsV2RouteListResponseBody,
2577
3034
  };
2578
3035
  }
2579
3036
 
@@ -2582,20 +3039,23 @@ export class DescribeVpcFirewallControlPolicyResponse extends $tea.Model {
2582
3039
  }
2583
3040
  }
2584
3041
 
2585
- export class DescribeVpcFirewallDefaultIPSConfigRequest extends $tea.Model {
2586
- memberUid?: string;
2587
- vpcFirewallId?: string;
3042
+ export class DescribeUserAssetIPTrafficInfoRequest extends $tea.Model {
3043
+ assetIP?: string;
3044
+ lang?: string;
3045
+ trafficTime?: string;
2588
3046
  static names(): { [key: string]: string } {
2589
3047
  return {
2590
- memberUid: 'MemberUid',
2591
- vpcFirewallId: 'VpcFirewallId',
3048
+ assetIP: 'AssetIP',
3049
+ lang: 'Lang',
3050
+ trafficTime: 'TrafficTime',
2592
3051
  };
2593
3052
  }
2594
3053
 
2595
3054
  static types(): { [key: string]: any } {
2596
3055
  return {
2597
- memberUid: 'string',
2598
- vpcFirewallId: 'string',
3056
+ assetIP: 'string',
3057
+ lang: 'string',
3058
+ trafficTime: 'string',
2599
3059
  };
2600
3060
  }
2601
3061
 
@@ -2604,26 +3064,41 @@ export class DescribeVpcFirewallDefaultIPSConfigRequest extends $tea.Model {
2604
3064
  }
2605
3065
  }
2606
3066
 
2607
- export class DescribeVpcFirewallDefaultIPSConfigResponseBody extends $tea.Model {
2608
- basicRules?: number;
2609
- enableAllPatch?: number;
3067
+ export class DescribeUserAssetIPTrafficInfoResponseBody extends $tea.Model {
3068
+ endTime?: number;
3069
+ inBps?: number;
3070
+ inPps?: number;
3071
+ newConn?: number;
3072
+ outBps?: number;
3073
+ outPps?: number;
2610
3074
  requestId?: string;
2611
- runMode?: number;
3075
+ sessionCount?: number;
3076
+ startTime?: number;
2612
3077
  static names(): { [key: string]: string } {
2613
3078
  return {
2614
- basicRules: 'BasicRules',
2615
- enableAllPatch: 'EnableAllPatch',
3079
+ endTime: 'EndTime',
3080
+ inBps: 'InBps',
3081
+ inPps: 'InPps',
3082
+ newConn: 'NewConn',
3083
+ outBps: 'OutBps',
3084
+ outPps: 'OutPps',
2616
3085
  requestId: 'RequestId',
2617
- runMode: 'RunMode',
3086
+ sessionCount: 'SessionCount',
3087
+ startTime: 'StartTime',
2618
3088
  };
2619
3089
  }
2620
3090
 
2621
3091
  static types(): { [key: string]: any } {
2622
3092
  return {
2623
- basicRules: 'number',
2624
- enableAllPatch: 'number',
3093
+ endTime: 'number',
3094
+ inBps: 'number',
3095
+ inPps: 'number',
3096
+ newConn: 'number',
3097
+ outBps: 'number',
3098
+ outPps: 'number',
2625
3099
  requestId: 'string',
2626
- runMode: 'number',
3100
+ sessionCount: 'number',
3101
+ startTime: 'number',
2627
3102
  };
2628
3103
  }
2629
3104
 
@@ -2632,10 +3107,10 @@ export class DescribeVpcFirewallDefaultIPSConfigResponseBody extends $tea.Model
2632
3107
  }
2633
3108
  }
2634
3109
 
2635
- export class DescribeVpcFirewallDefaultIPSConfigResponse extends $tea.Model {
3110
+ export class DescribeUserAssetIPTrafficInfoResponse extends $tea.Model {
2636
3111
  headers: { [key: string]: string };
2637
3112
  statusCode: number;
2638
- body: DescribeVpcFirewallDefaultIPSConfigResponseBody;
3113
+ body: DescribeUserAssetIPTrafficInfoResponseBody;
2639
3114
  static names(): { [key: string]: string } {
2640
3115
  return {
2641
3116
  headers: 'headers',
@@ -2648,7 +3123,7 @@ export class DescribeVpcFirewallDefaultIPSConfigResponse extends $tea.Model {
2648
3123
  return {
2649
3124
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2650
3125
  statusCode: 'number',
2651
- body: DescribeVpcFirewallDefaultIPSConfigResponseBody,
3126
+ body: DescribeUserAssetIPTrafficInfoResponseBody,
2652
3127
  };
2653
3128
  }
2654
3129
 
@@ -2657,26 +3132,26 @@ export class DescribeVpcFirewallDefaultIPSConfigResponse extends $tea.Model {
2657
3132
  }
2658
3133
  }
2659
3134
 
2660
- export class DescribeVpcFirewallDetailRequest extends $tea.Model {
3135
+ export class DescribeVpcFirewallAclGroupListRequest extends $tea.Model {
3136
+ currentPage?: string;
3137
+ firewallConfigureStatus?: string;
2661
3138
  lang?: string;
2662
- localVpcId?: string;
2663
- peerVpcId?: string;
2664
- vpcFirewallId?: string;
3139
+ pageSize?: string;
2665
3140
  static names(): { [key: string]: string } {
2666
3141
  return {
3142
+ currentPage: 'CurrentPage',
3143
+ firewallConfigureStatus: 'FirewallConfigureStatus',
2667
3144
  lang: 'Lang',
2668
- localVpcId: 'LocalVpcId',
2669
- peerVpcId: 'PeerVpcId',
2670
- vpcFirewallId: 'VpcFirewallId',
3145
+ pageSize: 'PageSize',
2671
3146
  };
2672
3147
  }
2673
3148
 
2674
3149
  static types(): { [key: string]: any } {
2675
3150
  return {
3151
+ currentPage: 'string',
3152
+ firewallConfigureStatus: 'string',
2676
3153
  lang: 'string',
2677
- localVpcId: 'string',
2678
- peerVpcId: 'string',
2679
- vpcFirewallId: 'string',
3154
+ pageSize: 'string',
2680
3155
  };
2681
3156
  }
2682
3157
 
@@ -2685,41 +3160,23 @@ export class DescribeVpcFirewallDetailRequest extends $tea.Model {
2685
3160
  }
2686
3161
  }
2687
3162
 
2688
- export class DescribeVpcFirewallDetailResponseBody extends $tea.Model {
2689
- bandwidth?: number;
2690
- connectType?: string;
2691
- firewallSwitchStatus?: string;
2692
- localVpc?: DescribeVpcFirewallDetailResponseBodyLocalVpc;
2693
- memberUid?: string;
2694
- peerVpc?: DescribeVpcFirewallDetailResponseBodyPeerVpc;
3163
+ export class DescribeVpcFirewallAclGroupListResponseBody extends $tea.Model {
3164
+ aclGroupList?: DescribeVpcFirewallAclGroupListResponseBodyAclGroupList[];
2695
3165
  requestId?: string;
2696
- vpcFirewallId?: string;
2697
- vpcFirewallName?: string;
3166
+ totalCount?: number;
2698
3167
  static names(): { [key: string]: string } {
2699
3168
  return {
2700
- bandwidth: 'Bandwidth',
2701
- connectType: 'ConnectType',
2702
- firewallSwitchStatus: 'FirewallSwitchStatus',
2703
- localVpc: 'LocalVpc',
2704
- memberUid: 'MemberUid',
2705
- peerVpc: 'PeerVpc',
3169
+ aclGroupList: 'AclGroupList',
2706
3170
  requestId: 'RequestId',
2707
- vpcFirewallId: 'VpcFirewallId',
2708
- vpcFirewallName: 'VpcFirewallName',
3171
+ totalCount: 'TotalCount',
2709
3172
  };
2710
3173
  }
2711
3174
 
2712
3175
  static types(): { [key: string]: any } {
2713
3176
  return {
2714
- bandwidth: 'number',
2715
- connectType: 'string',
2716
- firewallSwitchStatus: 'string',
2717
- localVpc: DescribeVpcFirewallDetailResponseBodyLocalVpc,
2718
- memberUid: 'string',
2719
- peerVpc: DescribeVpcFirewallDetailResponseBodyPeerVpc,
3177
+ aclGroupList: { 'type': 'array', 'itemType': DescribeVpcFirewallAclGroupListResponseBodyAclGroupList },
2720
3178
  requestId: 'string',
2721
- vpcFirewallId: 'string',
2722
- vpcFirewallName: 'string',
3179
+ totalCount: 'number',
2723
3180
  };
2724
3181
  }
2725
3182
 
@@ -2728,7 +3185,469 @@ export class DescribeVpcFirewallDetailResponseBody extends $tea.Model {
2728
3185
  }
2729
3186
  }
2730
3187
 
2731
- export class DescribeVpcFirewallDetailResponse extends $tea.Model {
3188
+ export class DescribeVpcFirewallAclGroupListResponse extends $tea.Model {
3189
+ headers: { [key: string]: string };
3190
+ statusCode: number;
3191
+ body: DescribeVpcFirewallAclGroupListResponseBody;
3192
+ static names(): { [key: string]: string } {
3193
+ return {
3194
+ headers: 'headers',
3195
+ statusCode: 'statusCode',
3196
+ body: 'body',
3197
+ };
3198
+ }
3199
+
3200
+ static types(): { [key: string]: any } {
3201
+ return {
3202
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3203
+ statusCode: 'number',
3204
+ body: DescribeVpcFirewallAclGroupListResponseBody,
3205
+ };
3206
+ }
3207
+
3208
+ constructor(map?: { [key: string]: any }) {
3209
+ super(map);
3210
+ }
3211
+ }
3212
+
3213
+ export class DescribeVpcFirewallCenDetailRequest extends $tea.Model {
3214
+ lang?: string;
3215
+ networkInstanceId?: string;
3216
+ vpcFirewallId?: string;
3217
+ static names(): { [key: string]: string } {
3218
+ return {
3219
+ lang: 'Lang',
3220
+ networkInstanceId: 'NetworkInstanceId',
3221
+ vpcFirewallId: 'VpcFirewallId',
3222
+ };
3223
+ }
3224
+
3225
+ static types(): { [key: string]: any } {
3226
+ return {
3227
+ lang: 'string',
3228
+ networkInstanceId: 'string',
3229
+ vpcFirewallId: 'string',
3230
+ };
3231
+ }
3232
+
3233
+ constructor(map?: { [key: string]: any }) {
3234
+ super(map);
3235
+ }
3236
+ }
3237
+
3238
+ export class DescribeVpcFirewallCenDetailResponseBody extends $tea.Model {
3239
+ connectType?: string;
3240
+ firewallSwitchStatus?: string;
3241
+ localVpc?: DescribeVpcFirewallCenDetailResponseBodyLocalVpc;
3242
+ requestId?: string;
3243
+ vpcFirewallId?: string;
3244
+ vpcFirewallName?: string;
3245
+ static names(): { [key: string]: string } {
3246
+ return {
3247
+ connectType: 'ConnectType',
3248
+ firewallSwitchStatus: 'FirewallSwitchStatus',
3249
+ localVpc: 'LocalVpc',
3250
+ requestId: 'RequestId',
3251
+ vpcFirewallId: 'VpcFirewallId',
3252
+ vpcFirewallName: 'VpcFirewallName',
3253
+ };
3254
+ }
3255
+
3256
+ static types(): { [key: string]: any } {
3257
+ return {
3258
+ connectType: 'string',
3259
+ firewallSwitchStatus: 'string',
3260
+ localVpc: DescribeVpcFirewallCenDetailResponseBodyLocalVpc,
3261
+ requestId: 'string',
3262
+ vpcFirewallId: 'string',
3263
+ vpcFirewallName: 'string',
3264
+ };
3265
+ }
3266
+
3267
+ constructor(map?: { [key: string]: any }) {
3268
+ super(map);
3269
+ }
3270
+ }
3271
+
3272
+ export class DescribeVpcFirewallCenDetailResponse extends $tea.Model {
3273
+ headers: { [key: string]: string };
3274
+ statusCode: number;
3275
+ body: DescribeVpcFirewallCenDetailResponseBody;
3276
+ static names(): { [key: string]: string } {
3277
+ return {
3278
+ headers: 'headers',
3279
+ statusCode: 'statusCode',
3280
+ body: 'body',
3281
+ };
3282
+ }
3283
+
3284
+ static types(): { [key: string]: any } {
3285
+ return {
3286
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3287
+ statusCode: 'number',
3288
+ body: DescribeVpcFirewallCenDetailResponseBody,
3289
+ };
3290
+ }
3291
+
3292
+ constructor(map?: { [key: string]: any }) {
3293
+ super(map);
3294
+ }
3295
+ }
3296
+
3297
+ export class DescribeVpcFirewallCenListRequest extends $tea.Model {
3298
+ cenId?: string;
3299
+ currentPage?: string;
3300
+ firewallSwitchStatus?: string;
3301
+ lang?: string;
3302
+ memberUid?: string;
3303
+ networkInstanceId?: string;
3304
+ ownerId?: string;
3305
+ pageSize?: string;
3306
+ regionNo?: string;
3307
+ routeMode?: string;
3308
+ transitRouterType?: string;
3309
+ vpcFirewallId?: string;
3310
+ vpcFirewallName?: string;
3311
+ static names(): { [key: string]: string } {
3312
+ return {
3313
+ cenId: 'CenId',
3314
+ currentPage: 'CurrentPage',
3315
+ firewallSwitchStatus: 'FirewallSwitchStatus',
3316
+ lang: 'Lang',
3317
+ memberUid: 'MemberUid',
3318
+ networkInstanceId: 'NetworkInstanceId',
3319
+ ownerId: 'OwnerId',
3320
+ pageSize: 'PageSize',
3321
+ regionNo: 'RegionNo',
3322
+ routeMode: 'RouteMode',
3323
+ transitRouterType: 'TransitRouterType',
3324
+ vpcFirewallId: 'VpcFirewallId',
3325
+ vpcFirewallName: 'VpcFirewallName',
3326
+ };
3327
+ }
3328
+
3329
+ static types(): { [key: string]: any } {
3330
+ return {
3331
+ cenId: 'string',
3332
+ currentPage: 'string',
3333
+ firewallSwitchStatus: 'string',
3334
+ lang: 'string',
3335
+ memberUid: 'string',
3336
+ networkInstanceId: 'string',
3337
+ ownerId: 'string',
3338
+ pageSize: 'string',
3339
+ regionNo: 'string',
3340
+ routeMode: 'string',
3341
+ transitRouterType: 'string',
3342
+ vpcFirewallId: 'string',
3343
+ vpcFirewallName: 'string',
3344
+ };
3345
+ }
3346
+
3347
+ constructor(map?: { [key: string]: any }) {
3348
+ super(map);
3349
+ }
3350
+ }
3351
+
3352
+ export class DescribeVpcFirewallCenListResponseBody extends $tea.Model {
3353
+ requestId?: string;
3354
+ totalCount?: number;
3355
+ vpcFirewalls?: DescribeVpcFirewallCenListResponseBodyVpcFirewalls[];
3356
+ static names(): { [key: string]: string } {
3357
+ return {
3358
+ requestId: 'RequestId',
3359
+ totalCount: 'TotalCount',
3360
+ vpcFirewalls: 'VpcFirewalls',
3361
+ };
3362
+ }
3363
+
3364
+ static types(): { [key: string]: any } {
3365
+ return {
3366
+ requestId: 'string',
3367
+ totalCount: 'number',
3368
+ vpcFirewalls: { 'type': 'array', 'itemType': DescribeVpcFirewallCenListResponseBodyVpcFirewalls },
3369
+ };
3370
+ }
3371
+
3372
+ constructor(map?: { [key: string]: any }) {
3373
+ super(map);
3374
+ }
3375
+ }
3376
+
3377
+ export class DescribeVpcFirewallCenListResponse extends $tea.Model {
3378
+ headers: { [key: string]: string };
3379
+ statusCode: number;
3380
+ body: DescribeVpcFirewallCenListResponseBody;
3381
+ static names(): { [key: string]: string } {
3382
+ return {
3383
+ headers: 'headers',
3384
+ statusCode: 'statusCode',
3385
+ body: 'body',
3386
+ };
3387
+ }
3388
+
3389
+ static types(): { [key: string]: any } {
3390
+ return {
3391
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3392
+ statusCode: 'number',
3393
+ body: DescribeVpcFirewallCenListResponseBody,
3394
+ };
3395
+ }
3396
+
3397
+ constructor(map?: { [key: string]: any }) {
3398
+ super(map);
3399
+ }
3400
+ }
3401
+
3402
+ export class DescribeVpcFirewallControlPolicyRequest extends $tea.Model {
3403
+ aclAction?: string;
3404
+ aclUuid?: string;
3405
+ currentPage?: string;
3406
+ description?: string;
3407
+ destination?: string;
3408
+ lang?: string;
3409
+ memberUid?: string;
3410
+ pageSize?: string;
3411
+ proto?: string;
3412
+ release?: string;
3413
+ source?: string;
3414
+ vpcFirewallId?: string;
3415
+ static names(): { [key: string]: string } {
3416
+ return {
3417
+ aclAction: 'AclAction',
3418
+ aclUuid: 'AclUuid',
3419
+ currentPage: 'CurrentPage',
3420
+ description: 'Description',
3421
+ destination: 'Destination',
3422
+ lang: 'Lang',
3423
+ memberUid: 'MemberUid',
3424
+ pageSize: 'PageSize',
3425
+ proto: 'Proto',
3426
+ release: 'Release',
3427
+ source: 'Source',
3428
+ vpcFirewallId: 'VpcFirewallId',
3429
+ };
3430
+ }
3431
+
3432
+ static types(): { [key: string]: any } {
3433
+ return {
3434
+ aclAction: 'string',
3435
+ aclUuid: 'string',
3436
+ currentPage: 'string',
3437
+ description: 'string',
3438
+ destination: 'string',
3439
+ lang: 'string',
3440
+ memberUid: 'string',
3441
+ pageSize: 'string',
3442
+ proto: 'string',
3443
+ release: 'string',
3444
+ source: 'string',
3445
+ vpcFirewallId: 'string',
3446
+ };
3447
+ }
3448
+
3449
+ constructor(map?: { [key: string]: any }) {
3450
+ super(map);
3451
+ }
3452
+ }
3453
+
3454
+ export class DescribeVpcFirewallControlPolicyResponseBody extends $tea.Model {
3455
+ policys?: DescribeVpcFirewallControlPolicyResponseBodyPolicys[];
3456
+ requestId?: string;
3457
+ totalCount?: string;
3458
+ static names(): { [key: string]: string } {
3459
+ return {
3460
+ policys: 'Policys',
3461
+ requestId: 'RequestId',
3462
+ totalCount: 'TotalCount',
3463
+ };
3464
+ }
3465
+
3466
+ static types(): { [key: string]: any } {
3467
+ return {
3468
+ policys: { 'type': 'array', 'itemType': DescribeVpcFirewallControlPolicyResponseBodyPolicys },
3469
+ requestId: 'string',
3470
+ totalCount: 'string',
3471
+ };
3472
+ }
3473
+
3474
+ constructor(map?: { [key: string]: any }) {
3475
+ super(map);
3476
+ }
3477
+ }
3478
+
3479
+ export class DescribeVpcFirewallControlPolicyResponse extends $tea.Model {
3480
+ headers: { [key: string]: string };
3481
+ statusCode: number;
3482
+ body: DescribeVpcFirewallControlPolicyResponseBody;
3483
+ static names(): { [key: string]: string } {
3484
+ return {
3485
+ headers: 'headers',
3486
+ statusCode: 'statusCode',
3487
+ body: 'body',
3488
+ };
3489
+ }
3490
+
3491
+ static types(): { [key: string]: any } {
3492
+ return {
3493
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3494
+ statusCode: 'number',
3495
+ body: DescribeVpcFirewallControlPolicyResponseBody,
3496
+ };
3497
+ }
3498
+
3499
+ constructor(map?: { [key: string]: any }) {
3500
+ super(map);
3501
+ }
3502
+ }
3503
+
3504
+ export class DescribeVpcFirewallDefaultIPSConfigRequest extends $tea.Model {
3505
+ memberUid?: string;
3506
+ vpcFirewallId?: string;
3507
+ static names(): { [key: string]: string } {
3508
+ return {
3509
+ memberUid: 'MemberUid',
3510
+ vpcFirewallId: 'VpcFirewallId',
3511
+ };
3512
+ }
3513
+
3514
+ static types(): { [key: string]: any } {
3515
+ return {
3516
+ memberUid: 'string',
3517
+ vpcFirewallId: 'string',
3518
+ };
3519
+ }
3520
+
3521
+ constructor(map?: { [key: string]: any }) {
3522
+ super(map);
3523
+ }
3524
+ }
3525
+
3526
+ export class DescribeVpcFirewallDefaultIPSConfigResponseBody extends $tea.Model {
3527
+ basicRules?: number;
3528
+ enableAllPatch?: number;
3529
+ requestId?: string;
3530
+ runMode?: number;
3531
+ static names(): { [key: string]: string } {
3532
+ return {
3533
+ basicRules: 'BasicRules',
3534
+ enableAllPatch: 'EnableAllPatch',
3535
+ requestId: 'RequestId',
3536
+ runMode: 'RunMode',
3537
+ };
3538
+ }
3539
+
3540
+ static types(): { [key: string]: any } {
3541
+ return {
3542
+ basicRules: 'number',
3543
+ enableAllPatch: 'number',
3544
+ requestId: 'string',
3545
+ runMode: 'number',
3546
+ };
3547
+ }
3548
+
3549
+ constructor(map?: { [key: string]: any }) {
3550
+ super(map);
3551
+ }
3552
+ }
3553
+
3554
+ export class DescribeVpcFirewallDefaultIPSConfigResponse extends $tea.Model {
3555
+ headers: { [key: string]: string };
3556
+ statusCode: number;
3557
+ body: DescribeVpcFirewallDefaultIPSConfigResponseBody;
3558
+ static names(): { [key: string]: string } {
3559
+ return {
3560
+ headers: 'headers',
3561
+ statusCode: 'statusCode',
3562
+ body: 'body',
3563
+ };
3564
+ }
3565
+
3566
+ static types(): { [key: string]: any } {
3567
+ return {
3568
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3569
+ statusCode: 'number',
3570
+ body: DescribeVpcFirewallDefaultIPSConfigResponseBody,
3571
+ };
3572
+ }
3573
+
3574
+ constructor(map?: { [key: string]: any }) {
3575
+ super(map);
3576
+ }
3577
+ }
3578
+
3579
+ export class DescribeVpcFirewallDetailRequest extends $tea.Model {
3580
+ lang?: string;
3581
+ localVpcId?: string;
3582
+ peerVpcId?: string;
3583
+ vpcFirewallId?: string;
3584
+ static names(): { [key: string]: string } {
3585
+ return {
3586
+ lang: 'Lang',
3587
+ localVpcId: 'LocalVpcId',
3588
+ peerVpcId: 'PeerVpcId',
3589
+ vpcFirewallId: 'VpcFirewallId',
3590
+ };
3591
+ }
3592
+
3593
+ static types(): { [key: string]: any } {
3594
+ return {
3595
+ lang: 'string',
3596
+ localVpcId: 'string',
3597
+ peerVpcId: 'string',
3598
+ vpcFirewallId: 'string',
3599
+ };
3600
+ }
3601
+
3602
+ constructor(map?: { [key: string]: any }) {
3603
+ super(map);
3604
+ }
3605
+ }
3606
+
3607
+ export class DescribeVpcFirewallDetailResponseBody extends $tea.Model {
3608
+ bandwidth?: number;
3609
+ connectType?: string;
3610
+ firewallSwitchStatus?: string;
3611
+ localVpc?: DescribeVpcFirewallDetailResponseBodyLocalVpc;
3612
+ memberUid?: string;
3613
+ peerVpc?: DescribeVpcFirewallDetailResponseBodyPeerVpc;
3614
+ requestId?: string;
3615
+ vpcFirewallId?: string;
3616
+ vpcFirewallName?: string;
3617
+ static names(): { [key: string]: string } {
3618
+ return {
3619
+ bandwidth: 'Bandwidth',
3620
+ connectType: 'ConnectType',
3621
+ firewallSwitchStatus: 'FirewallSwitchStatus',
3622
+ localVpc: 'LocalVpc',
3623
+ memberUid: 'MemberUid',
3624
+ peerVpc: 'PeerVpc',
3625
+ requestId: 'RequestId',
3626
+ vpcFirewallId: 'VpcFirewallId',
3627
+ vpcFirewallName: 'VpcFirewallName',
3628
+ };
3629
+ }
3630
+
3631
+ static types(): { [key: string]: any } {
3632
+ return {
3633
+ bandwidth: 'number',
3634
+ connectType: 'string',
3635
+ firewallSwitchStatus: 'string',
3636
+ localVpc: DescribeVpcFirewallDetailResponseBodyLocalVpc,
3637
+ memberUid: 'string',
3638
+ peerVpc: DescribeVpcFirewallDetailResponseBodyPeerVpc,
3639
+ requestId: 'string',
3640
+ vpcFirewallId: 'string',
3641
+ vpcFirewallName: 'string',
3642
+ };
3643
+ }
3644
+
3645
+ constructor(map?: { [key: string]: any }) {
3646
+ super(map);
3647
+ }
3648
+ }
3649
+
3650
+ export class DescribeVpcFirewallDetailResponse extends $tea.Model {
2732
3651
  headers: { [key: string]: string };
2733
3652
  statusCode: number;
2734
3653
  body: DescribeVpcFirewallDetailResponseBody;
@@ -3314,6 +4233,81 @@ export class ModifyControlPolicyPositionResponse extends $tea.Model {
3314
4233
  }
3315
4234
  }
3316
4235
 
4236
+ export class ModifyFirewallV2RoutePolicySwitchRequest extends $tea.Model {
4237
+ firewallId?: string;
4238
+ lang?: string;
4239
+ shouldRecover?: string;
4240
+ trFirewallRoutePolicyId?: string;
4241
+ trFirewallRoutePolicySwitchStatus?: string;
4242
+ static names(): { [key: string]: string } {
4243
+ return {
4244
+ firewallId: 'FirewallId',
4245
+ lang: 'Lang',
4246
+ shouldRecover: 'ShouldRecover',
4247
+ trFirewallRoutePolicyId: 'TrFirewallRoutePolicyId',
4248
+ trFirewallRoutePolicySwitchStatus: 'TrFirewallRoutePolicySwitchStatus',
4249
+ };
4250
+ }
4251
+
4252
+ static types(): { [key: string]: any } {
4253
+ return {
4254
+ firewallId: 'string',
4255
+ lang: 'string',
4256
+ shouldRecover: 'string',
4257
+ trFirewallRoutePolicyId: 'string',
4258
+ trFirewallRoutePolicySwitchStatus: 'string',
4259
+ };
4260
+ }
4261
+
4262
+ constructor(map?: { [key: string]: any }) {
4263
+ super(map);
4264
+ }
4265
+ }
4266
+
4267
+ export class ModifyFirewallV2RoutePolicySwitchResponseBody extends $tea.Model {
4268
+ requestId?: string;
4269
+ static names(): { [key: string]: string } {
4270
+ return {
4271
+ requestId: 'RequestId',
4272
+ };
4273
+ }
4274
+
4275
+ static types(): { [key: string]: any } {
4276
+ return {
4277
+ requestId: 'string',
4278
+ };
4279
+ }
4280
+
4281
+ constructor(map?: { [key: string]: any }) {
4282
+ super(map);
4283
+ }
4284
+ }
4285
+
4286
+ export class ModifyFirewallV2RoutePolicySwitchResponse extends $tea.Model {
4287
+ headers: { [key: string]: string };
4288
+ statusCode: number;
4289
+ body: ModifyFirewallV2RoutePolicySwitchResponseBody;
4290
+ static names(): { [key: string]: string } {
4291
+ return {
4292
+ headers: 'headers',
4293
+ statusCode: 'statusCode',
4294
+ body: 'body',
4295
+ };
4296
+ }
4297
+
4298
+ static types(): { [key: string]: any } {
4299
+ return {
4300
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
4301
+ statusCode: 'number',
4302
+ body: ModifyFirewallV2RoutePolicySwitchResponseBody,
4303
+ };
4304
+ }
4305
+
4306
+ constructor(map?: { [key: string]: any }) {
4307
+ super(map);
4308
+ }
4309
+ }
4310
+
3317
4311
  export class ModifyInstanceMemberAttributesRequest extends $tea.Model {
3318
4312
  members?: ModifyInstanceMemberAttributesRequestMembers[];
3319
4313
  static names(): { [key: string]: string } {
@@ -3358,17 +4352,186 @@ export class ModifyInstanceMemberAttributesResponse extends $tea.Model {
3358
4352
  body: ModifyInstanceMemberAttributesResponseBody;
3359
4353
  static names(): { [key: string]: string } {
3360
4354
  return {
3361
- headers: 'headers',
3362
- statusCode: 'statusCode',
3363
- body: 'body',
4355
+ headers: 'headers',
4356
+ statusCode: 'statusCode',
4357
+ body: 'body',
4358
+ };
4359
+ }
4360
+
4361
+ static types(): { [key: string]: any } {
4362
+ return {
4363
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
4364
+ statusCode: 'number',
4365
+ body: ModifyInstanceMemberAttributesResponseBody,
4366
+ };
4367
+ }
4368
+
4369
+ constructor(map?: { [key: string]: any }) {
4370
+ super(map);
4371
+ }
4372
+ }
4373
+
4374
+ export class ModifyPolicyAdvancedConfigRequest extends $tea.Model {
4375
+ internetSwitch?: string;
4376
+ lang?: string;
4377
+ sourceIp?: string;
4378
+ static names(): { [key: string]: string } {
4379
+ return {
4380
+ internetSwitch: 'InternetSwitch',
4381
+ lang: 'Lang',
4382
+ sourceIp: 'SourceIp',
4383
+ };
4384
+ }
4385
+
4386
+ static types(): { [key: string]: any } {
4387
+ return {
4388
+ internetSwitch: 'string',
4389
+ lang: 'string',
4390
+ sourceIp: 'string',
4391
+ };
4392
+ }
4393
+
4394
+ constructor(map?: { [key: string]: any }) {
4395
+ super(map);
4396
+ }
4397
+ }
4398
+
4399
+ export class ModifyPolicyAdvancedConfigResponseBody extends $tea.Model {
4400
+ requestId?: string;
4401
+ static names(): { [key: string]: string } {
4402
+ return {
4403
+ requestId: 'RequestId',
4404
+ };
4405
+ }
4406
+
4407
+ static types(): { [key: string]: any } {
4408
+ return {
4409
+ requestId: 'string',
4410
+ };
4411
+ }
4412
+
4413
+ constructor(map?: { [key: string]: any }) {
4414
+ super(map);
4415
+ }
4416
+ }
4417
+
4418
+ export class ModifyPolicyAdvancedConfigResponse extends $tea.Model {
4419
+ headers: { [key: string]: string };
4420
+ statusCode: number;
4421
+ body: ModifyPolicyAdvancedConfigResponseBody;
4422
+ static names(): { [key: string]: string } {
4423
+ return {
4424
+ headers: 'headers',
4425
+ statusCode: 'statusCode',
4426
+ body: 'body',
4427
+ };
4428
+ }
4429
+
4430
+ static types(): { [key: string]: any } {
4431
+ return {
4432
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
4433
+ statusCode: 'number',
4434
+ body: ModifyPolicyAdvancedConfigResponseBody,
4435
+ };
4436
+ }
4437
+
4438
+ constructor(map?: { [key: string]: any }) {
4439
+ super(map);
4440
+ }
4441
+ }
4442
+
4443
+ export class ModifyTrFirewallV2ConfigurationRequest extends $tea.Model {
4444
+ firewallId?: string;
4445
+ firewallName?: string;
4446
+ lang?: string;
4447
+ static names(): { [key: string]: string } {
4448
+ return {
4449
+ firewallId: 'FirewallId',
4450
+ firewallName: 'FirewallName',
4451
+ lang: 'Lang',
4452
+ };
4453
+ }
4454
+
4455
+ static types(): { [key: string]: any } {
4456
+ return {
4457
+ firewallId: 'string',
4458
+ firewallName: 'string',
4459
+ lang: 'string',
4460
+ };
4461
+ }
4462
+
4463
+ constructor(map?: { [key: string]: any }) {
4464
+ super(map);
4465
+ }
4466
+ }
4467
+
4468
+ export class ModifyTrFirewallV2ConfigurationResponseBody extends $tea.Model {
4469
+ requestId?: string;
4470
+ static names(): { [key: string]: string } {
4471
+ return {
4472
+ requestId: 'RequestId',
4473
+ };
4474
+ }
4475
+
4476
+ static types(): { [key: string]: any } {
4477
+ return {
4478
+ requestId: 'string',
4479
+ };
4480
+ }
4481
+
4482
+ constructor(map?: { [key: string]: any }) {
4483
+ super(map);
4484
+ }
4485
+ }
4486
+
4487
+ export class ModifyTrFirewallV2ConfigurationResponse extends $tea.Model {
4488
+ headers: { [key: string]: string };
4489
+ statusCode: number;
4490
+ body: ModifyTrFirewallV2ConfigurationResponseBody;
4491
+ static names(): { [key: string]: string } {
4492
+ return {
4493
+ headers: 'headers',
4494
+ statusCode: 'statusCode',
4495
+ body: 'body',
4496
+ };
4497
+ }
4498
+
4499
+ static types(): { [key: string]: any } {
4500
+ return {
4501
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
4502
+ statusCode: 'number',
4503
+ body: ModifyTrFirewallV2ConfigurationResponseBody,
4504
+ };
4505
+ }
4506
+
4507
+ constructor(map?: { [key: string]: any }) {
4508
+ super(map);
4509
+ }
4510
+ }
4511
+
4512
+ export class ModifyTrFirewallV2RoutePolicyScopeRequest extends $tea.Model {
4513
+ destCandidateList?: ModifyTrFirewallV2RoutePolicyScopeRequestDestCandidateList[];
4514
+ firewallId?: string;
4515
+ lang?: string;
4516
+ srcCandidateList?: ModifyTrFirewallV2RoutePolicyScopeRequestSrcCandidateList[];
4517
+ trFirewallRoutePolicyId?: string;
4518
+ static names(): { [key: string]: string } {
4519
+ return {
4520
+ destCandidateList: 'DestCandidateList',
4521
+ firewallId: 'FirewallId',
4522
+ lang: 'Lang',
4523
+ srcCandidateList: 'SrcCandidateList',
4524
+ trFirewallRoutePolicyId: 'TrFirewallRoutePolicyId',
3364
4525
  };
3365
4526
  }
3366
4527
 
3367
4528
  static types(): { [key: string]: any } {
3368
4529
  return {
3369
- headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3370
- statusCode: 'number',
3371
- body: ModifyInstanceMemberAttributesResponseBody,
4530
+ destCandidateList: { 'type': 'array', 'itemType': ModifyTrFirewallV2RoutePolicyScopeRequestDestCandidateList },
4531
+ firewallId: 'string',
4532
+ lang: 'string',
4533
+ srcCandidateList: { 'type': 'array', 'itemType': ModifyTrFirewallV2RoutePolicyScopeRequestSrcCandidateList },
4534
+ trFirewallRoutePolicyId: 'string',
3372
4535
  };
3373
4536
  }
3374
4537
 
@@ -3377,23 +4540,29 @@ export class ModifyInstanceMemberAttributesResponse extends $tea.Model {
3377
4540
  }
3378
4541
  }
3379
4542
 
3380
- export class ModifyPolicyAdvancedConfigRequest extends $tea.Model {
3381
- internetSwitch?: string;
4543
+ export class ModifyTrFirewallV2RoutePolicyScopeShrinkRequest extends $tea.Model {
4544
+ destCandidateListShrink?: string;
4545
+ firewallId?: string;
3382
4546
  lang?: string;
3383
- sourceIp?: string;
4547
+ srcCandidateListShrink?: string;
4548
+ trFirewallRoutePolicyId?: string;
3384
4549
  static names(): { [key: string]: string } {
3385
4550
  return {
3386
- internetSwitch: 'InternetSwitch',
4551
+ destCandidateListShrink: 'DestCandidateList',
4552
+ firewallId: 'FirewallId',
3387
4553
  lang: 'Lang',
3388
- sourceIp: 'SourceIp',
4554
+ srcCandidateListShrink: 'SrcCandidateList',
4555
+ trFirewallRoutePolicyId: 'TrFirewallRoutePolicyId',
3389
4556
  };
3390
4557
  }
3391
4558
 
3392
4559
  static types(): { [key: string]: any } {
3393
4560
  return {
3394
- internetSwitch: 'string',
4561
+ destCandidateListShrink: 'string',
4562
+ firewallId: 'string',
3395
4563
  lang: 'string',
3396
- sourceIp: 'string',
4564
+ srcCandidateListShrink: 'string',
4565
+ trFirewallRoutePolicyId: 'string',
3397
4566
  };
3398
4567
  }
3399
4568
 
@@ -3402,17 +4571,20 @@ export class ModifyPolicyAdvancedConfigRequest extends $tea.Model {
3402
4571
  }
3403
4572
  }
3404
4573
 
3405
- export class ModifyPolicyAdvancedConfigResponseBody extends $tea.Model {
4574
+ export class ModifyTrFirewallV2RoutePolicyScopeResponseBody extends $tea.Model {
3406
4575
  requestId?: string;
4576
+ trFirewallRoutePolicyId?: string;
3407
4577
  static names(): { [key: string]: string } {
3408
4578
  return {
3409
4579
  requestId: 'RequestId',
4580
+ trFirewallRoutePolicyId: 'TrFirewallRoutePolicyId',
3410
4581
  };
3411
4582
  }
3412
4583
 
3413
4584
  static types(): { [key: string]: any } {
3414
4585
  return {
3415
4586
  requestId: 'string',
4587
+ trFirewallRoutePolicyId: 'string',
3416
4588
  };
3417
4589
  }
3418
4590
 
@@ -3421,10 +4593,10 @@ export class ModifyPolicyAdvancedConfigResponseBody extends $tea.Model {
3421
4593
  }
3422
4594
  }
3423
4595
 
3424
- export class ModifyPolicyAdvancedConfigResponse extends $tea.Model {
4596
+ export class ModifyTrFirewallV2RoutePolicyScopeResponse extends $tea.Model {
3425
4597
  headers: { [key: string]: string };
3426
4598
  statusCode: number;
3427
- body: ModifyPolicyAdvancedConfigResponseBody;
4599
+ body: ModifyTrFirewallV2RoutePolicyScopeResponseBody;
3428
4600
  static names(): { [key: string]: string } {
3429
4601
  return {
3430
4602
  headers: 'headers',
@@ -3437,7 +4609,7 @@ export class ModifyPolicyAdvancedConfigResponse extends $tea.Model {
3437
4609
  return {
3438
4610
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3439
4611
  statusCode: 'number',
3440
- body: ModifyPolicyAdvancedConfigResponseBody,
4612
+ body: ModifyTrFirewallV2RoutePolicyScopeResponseBody,
3441
4613
  };
3442
4614
  }
3443
4615
 
@@ -4396,6 +5568,50 @@ export class AddInstanceMembersRequestMembers extends $tea.Model {
4396
5568
  }
4397
5569
  }
4398
5570
 
5571
+ export class CreateTrFirewallV2RoutePolicyRequestDestCandidateList extends $tea.Model {
5572
+ candidateId?: string;
5573
+ candidateType?: string;
5574
+ static names(): { [key: string]: string } {
5575
+ return {
5576
+ candidateId: 'CandidateId',
5577
+ candidateType: 'CandidateType',
5578
+ };
5579
+ }
5580
+
5581
+ static types(): { [key: string]: any } {
5582
+ return {
5583
+ candidateId: 'string',
5584
+ candidateType: 'string',
5585
+ };
5586
+ }
5587
+
5588
+ constructor(map?: { [key: string]: any }) {
5589
+ super(map);
5590
+ }
5591
+ }
5592
+
5593
+ export class CreateTrFirewallV2RoutePolicyRequestSrcCandidateList extends $tea.Model {
5594
+ candidateId?: string;
5595
+ candidateType?: string;
5596
+ static names(): { [key: string]: string } {
5597
+ return {
5598
+ candidateId: 'CandidateId',
5599
+ candidateType: 'CandidateType',
5600
+ };
5601
+ }
5602
+
5603
+ static types(): { [key: string]: any } {
5604
+ return {
5605
+ candidateId: 'string',
5606
+ candidateType: 'string',
5607
+ };
5608
+ }
5609
+
5610
+ constructor(map?: { [key: string]: any }) {
5611
+ super(map);
5612
+ }
5613
+ }
5614
+
4399
5615
  export class DescribeAddressBookResponseBodyAclsTagList extends $tea.Model {
4400
5616
  tagKey?: string;
4401
5617
  tagValue?: string;
@@ -4730,6 +5946,49 @@ export class DescribeInstanceMembersResponseBodyPageInfo extends $tea.Model {
4730
5946
  }
4731
5947
  }
4732
5948
 
5949
+ export class DescribeInternetTrafficTrendResponseBodyDataList extends $tea.Model {
5950
+ inBps?: number;
5951
+ inBytes?: number;
5952
+ inPps?: number;
5953
+ newConn?: number;
5954
+ outBps?: number;
5955
+ outBytes?: number;
5956
+ outPps?: number;
5957
+ sessionCount?: number;
5958
+ time?: number;
5959
+ static names(): { [key: string]: string } {
5960
+ return {
5961
+ inBps: 'InBps',
5962
+ inBytes: 'InBytes',
5963
+ inPps: 'InPps',
5964
+ newConn: 'NewConn',
5965
+ outBps: 'OutBps',
5966
+ outBytes: 'OutBytes',
5967
+ outPps: 'OutPps',
5968
+ sessionCount: 'SessionCount',
5969
+ time: 'Time',
5970
+ };
5971
+ }
5972
+
5973
+ static types(): { [key: string]: any } {
5974
+ return {
5975
+ inBps: 'number',
5976
+ inBytes: 'number',
5977
+ inPps: 'number',
5978
+ newConn: 'number',
5979
+ outBps: 'number',
5980
+ outBytes: 'number',
5981
+ outPps: 'number',
5982
+ sessionCount: 'number',
5983
+ time: 'number',
5984
+ };
5985
+ }
5986
+
5987
+ constructor(map?: { [key: string]: any }) {
5988
+ super(map);
5989
+ }
5990
+ }
5991
+
4733
5992
  export class DescribeInvadeEventListResponseBodyEventList extends $tea.Model {
4734
5993
  assetsInstanceId?: string;
4735
5994
  assetsInstanceName?: string;
@@ -5267,29 +6526,249 @@ export class DescribeRiskEventGroupResponseBodyDataList extends $tea.Model {
5267
6526
 
5268
6527
  static types(): { [key: string]: any } {
5269
6528
  return {
5270
- attackApp: 'string',
5271
- attackType: 'number',
5272
- description: 'string',
5273
- direction: 'string',
5274
- dstIP: 'string',
5275
- eventCount: 'number',
5276
- eventId: 'string',
5277
- eventName: 'string',
5278
- firstEventTime: 'number',
5279
- IPLocationInfo: DescribeRiskEventGroupResponseBodyDataListIPLocationInfo,
5280
- lastEventTime: 'number',
5281
- resourcePrivateIPList: { 'type': 'array', 'itemType': DescribeRiskEventGroupResponseBodyDataListResourcePrivateIPList },
5282
- resourceType: 'string',
5283
- ruleId: 'string',
5284
- ruleResult: 'number',
5285
- ruleSource: 'number',
5286
- srcIP: 'string',
5287
- srcIPTag: 'string',
5288
- srcPrivateIPList: { 'type': 'array', 'itemType': 'string' },
5289
- tag: 'string',
5290
- vpcDstInfo: DescribeRiskEventGroupResponseBodyDataListVpcDstInfo,
5291
- vpcSrcInfo: DescribeRiskEventGroupResponseBodyDataListVpcSrcInfo,
5292
- vulLevel: 'number',
6529
+ attackApp: 'string',
6530
+ attackType: 'number',
6531
+ description: 'string',
6532
+ direction: 'string',
6533
+ dstIP: 'string',
6534
+ eventCount: 'number',
6535
+ eventId: 'string',
6536
+ eventName: 'string',
6537
+ firstEventTime: 'number',
6538
+ IPLocationInfo: DescribeRiskEventGroupResponseBodyDataListIPLocationInfo,
6539
+ lastEventTime: 'number',
6540
+ resourcePrivateIPList: { 'type': 'array', 'itemType': DescribeRiskEventGroupResponseBodyDataListResourcePrivateIPList },
6541
+ resourceType: 'string',
6542
+ ruleId: 'string',
6543
+ ruleResult: 'number',
6544
+ ruleSource: 'number',
6545
+ srcIP: 'string',
6546
+ srcIPTag: 'string',
6547
+ srcPrivateIPList: { 'type': 'array', 'itemType': 'string' },
6548
+ tag: 'string',
6549
+ vpcDstInfo: DescribeRiskEventGroupResponseBodyDataListVpcDstInfo,
6550
+ vpcSrcInfo: DescribeRiskEventGroupResponseBodyDataListVpcSrcInfo,
6551
+ vulLevel: 'number',
6552
+ };
6553
+ }
6554
+
6555
+ constructor(map?: { [key: string]: any }) {
6556
+ super(map);
6557
+ }
6558
+ }
6559
+
6560
+ export class DescribeTrFirewallPolicyBackUpAssociationListResponseBodyPolicyAssociationBackupConfigs extends $tea.Model {
6561
+ candidateId?: string;
6562
+ candidateName?: string;
6563
+ candidateType?: string;
6564
+ currentRouteTableId?: string;
6565
+ originalRouteTableId?: string;
6566
+ static names(): { [key: string]: string } {
6567
+ return {
6568
+ candidateId: 'CandidateId',
6569
+ candidateName: 'CandidateName',
6570
+ candidateType: 'CandidateType',
6571
+ currentRouteTableId: 'CurrentRouteTableId',
6572
+ originalRouteTableId: 'OriginalRouteTableId',
6573
+ };
6574
+ }
6575
+
6576
+ static types(): { [key: string]: any } {
6577
+ return {
6578
+ candidateId: 'string',
6579
+ candidateName: 'string',
6580
+ candidateType: 'string',
6581
+ currentRouteTableId: 'string',
6582
+ originalRouteTableId: 'string',
6583
+ };
6584
+ }
6585
+
6586
+ constructor(map?: { [key: string]: any }) {
6587
+ super(map);
6588
+ }
6589
+ }
6590
+
6591
+ export class DescribeTrFirewallV2RoutePolicyListResponseBodyTrFirewallRoutePoliciesDestCandidateList extends $tea.Model {
6592
+ candidateId?: string;
6593
+ candidateType?: string;
6594
+ static names(): { [key: string]: string } {
6595
+ return {
6596
+ candidateId: 'CandidateId',
6597
+ candidateType: 'CandidateType',
6598
+ };
6599
+ }
6600
+
6601
+ static types(): { [key: string]: any } {
6602
+ return {
6603
+ candidateId: 'string',
6604
+ candidateType: 'string',
6605
+ };
6606
+ }
6607
+
6608
+ constructor(map?: { [key: string]: any }) {
6609
+ super(map);
6610
+ }
6611
+ }
6612
+
6613
+ export class DescribeTrFirewallV2RoutePolicyListResponseBodyTrFirewallRoutePoliciesSrcCandidateList extends $tea.Model {
6614
+ candidateId?: string;
6615
+ candidateType?: string;
6616
+ static names(): { [key: string]: string } {
6617
+ return {
6618
+ candidateId: 'CandidateId',
6619
+ candidateType: 'CandidateType',
6620
+ };
6621
+ }
6622
+
6623
+ static types(): { [key: string]: any } {
6624
+ return {
6625
+ candidateId: 'string',
6626
+ candidateType: 'string',
6627
+ };
6628
+ }
6629
+
6630
+ constructor(map?: { [key: string]: any }) {
6631
+ super(map);
6632
+ }
6633
+ }
6634
+
6635
+ export class DescribeTrFirewallV2RoutePolicyListResponseBodyTrFirewallRoutePolicies extends $tea.Model {
6636
+ destCandidateList?: DescribeTrFirewallV2RoutePolicyListResponseBodyTrFirewallRoutePoliciesDestCandidateList[];
6637
+ policyDescription?: string;
6638
+ policyName?: string;
6639
+ policyStatus?: string;
6640
+ policyType?: string;
6641
+ srcCandidateList?: DescribeTrFirewallV2RoutePolicyListResponseBodyTrFirewallRoutePoliciesSrcCandidateList[];
6642
+ trFirewallRoutePolicyId?: string;
6643
+ static names(): { [key: string]: string } {
6644
+ return {
6645
+ destCandidateList: 'DestCandidateList',
6646
+ policyDescription: 'PolicyDescription',
6647
+ policyName: 'PolicyName',
6648
+ policyStatus: 'PolicyStatus',
6649
+ policyType: 'PolicyType',
6650
+ srcCandidateList: 'SrcCandidateList',
6651
+ trFirewallRoutePolicyId: 'TrFirewallRoutePolicyId',
6652
+ };
6653
+ }
6654
+
6655
+ static types(): { [key: string]: any } {
6656
+ return {
6657
+ destCandidateList: { 'type': 'array', 'itemType': DescribeTrFirewallV2RoutePolicyListResponseBodyTrFirewallRoutePoliciesDestCandidateList },
6658
+ policyDescription: 'string',
6659
+ policyName: 'string',
6660
+ policyStatus: 'string',
6661
+ policyType: 'string',
6662
+ srcCandidateList: { 'type': 'array', 'itemType': DescribeTrFirewallV2RoutePolicyListResponseBodyTrFirewallRoutePoliciesSrcCandidateList },
6663
+ trFirewallRoutePolicyId: 'string',
6664
+ };
6665
+ }
6666
+
6667
+ constructor(map?: { [key: string]: any }) {
6668
+ super(map);
6669
+ }
6670
+ }
6671
+
6672
+ export class DescribeTrFirewallsV2ListResponseBodyVpcTrFirewallsIpsConfig extends $tea.Model {
6673
+ basicRules?: number;
6674
+ enableAllPatch?: number;
6675
+ runMode?: number;
6676
+ static names(): { [key: string]: string } {
6677
+ return {
6678
+ basicRules: 'BasicRules',
6679
+ enableAllPatch: 'EnableAllPatch',
6680
+ runMode: 'RunMode',
6681
+ };
6682
+ }
6683
+
6684
+ static types(): { [key: string]: any } {
6685
+ return {
6686
+ basicRules: 'number',
6687
+ enableAllPatch: 'number',
6688
+ runMode: 'number',
6689
+ };
6690
+ }
6691
+
6692
+ constructor(map?: { [key: string]: any }) {
6693
+ super(map);
6694
+ }
6695
+ }
6696
+
6697
+ export class DescribeTrFirewallsV2ListResponseBodyVpcTrFirewalls extends $tea.Model {
6698
+ cenId?: string;
6699
+ cenName?: string;
6700
+ firewallId?: string;
6701
+ firewallSwitchStatus?: string;
6702
+ ipsConfig?: DescribeTrFirewallsV2ListResponseBodyVpcTrFirewallsIpsConfig;
6703
+ ownerId?: number;
6704
+ precheckStatus?: string;
6705
+ regionNo?: string;
6706
+ regionStatus?: string;
6707
+ resultCode?: string;
6708
+ routeMode?: string;
6709
+ transitRouterId?: string;
6710
+ vpcFirewallName?: string;
6711
+ static names(): { [key: string]: string } {
6712
+ return {
6713
+ cenId: 'CenId',
6714
+ cenName: 'CenName',
6715
+ firewallId: 'FirewallId',
6716
+ firewallSwitchStatus: 'FirewallSwitchStatus',
6717
+ ipsConfig: 'IpsConfig',
6718
+ ownerId: 'OwnerId',
6719
+ precheckStatus: 'PrecheckStatus',
6720
+ regionNo: 'RegionNo',
6721
+ regionStatus: 'RegionStatus',
6722
+ resultCode: 'ResultCode',
6723
+ routeMode: 'RouteMode',
6724
+ transitRouterId: 'TransitRouterId',
6725
+ vpcFirewallName: 'VpcFirewallName',
6726
+ };
6727
+ }
6728
+
6729
+ static types(): { [key: string]: any } {
6730
+ return {
6731
+ cenId: 'string',
6732
+ cenName: 'string',
6733
+ firewallId: 'string',
6734
+ firewallSwitchStatus: 'string',
6735
+ ipsConfig: DescribeTrFirewallsV2ListResponseBodyVpcTrFirewallsIpsConfig,
6736
+ ownerId: 'number',
6737
+ precheckStatus: 'string',
6738
+ regionNo: 'string',
6739
+ regionStatus: 'string',
6740
+ resultCode: 'string',
6741
+ routeMode: 'string',
6742
+ transitRouterId: 'string',
6743
+ vpcFirewallName: 'string',
6744
+ };
6745
+ }
6746
+
6747
+ constructor(map?: { [key: string]: any }) {
6748
+ super(map);
6749
+ }
6750
+ }
6751
+
6752
+ export class DescribeTrFirewallsV2RouteListResponseBodyFirewallRouteDetailList extends $tea.Model {
6753
+ trFirewallRouteDestination?: string;
6754
+ trFirewallRouteNexthop?: string;
6755
+ trFirewallRoutePolicyId?: string;
6756
+ trFirewallRouteTableId?: string;
6757
+ static names(): { [key: string]: string } {
6758
+ return {
6759
+ trFirewallRouteDestination: 'TrFirewallRouteDestination',
6760
+ trFirewallRouteNexthop: 'TrFirewallRouteNexthop',
6761
+ trFirewallRoutePolicyId: 'TrFirewallRoutePolicyId',
6762
+ trFirewallRouteTableId: 'TrFirewallRouteTableId',
6763
+ };
6764
+ }
6765
+
6766
+ static types(): { [key: string]: any } {
6767
+ return {
6768
+ trFirewallRouteDestination: 'string',
6769
+ trFirewallRouteNexthop: 'string',
6770
+ trFirewallRoutePolicyId: 'string',
6771
+ trFirewallRouteTableId: 'string',
5293
6772
  };
5294
6773
  }
5295
6774
 
@@ -6278,6 +7757,50 @@ export class ModifyInstanceMemberAttributesRequestMembers extends $tea.Model {
6278
7757
  }
6279
7758
  }
6280
7759
 
7760
+ export class ModifyTrFirewallV2RoutePolicyScopeRequestDestCandidateList extends $tea.Model {
7761
+ candidateId?: string;
7762
+ candidateType?: string;
7763
+ static names(): { [key: string]: string } {
7764
+ return {
7765
+ candidateId: 'CandidateId',
7766
+ candidateType: 'CandidateType',
7767
+ };
7768
+ }
7769
+
7770
+ static types(): { [key: string]: any } {
7771
+ return {
7772
+ candidateId: 'string',
7773
+ candidateType: 'string',
7774
+ };
7775
+ }
7776
+
7777
+ constructor(map?: { [key: string]: any }) {
7778
+ super(map);
7779
+ }
7780
+ }
7781
+
7782
+ export class ModifyTrFirewallV2RoutePolicyScopeRequestSrcCandidateList extends $tea.Model {
7783
+ candidateId?: string;
7784
+ candidateType?: string;
7785
+ static names(): { [key: string]: string } {
7786
+ return {
7787
+ candidateId: 'CandidateId',
7788
+ candidateType: 'CandidateType',
7789
+ };
7790
+ }
7791
+
7792
+ static types(): { [key: string]: any } {
7793
+ return {
7794
+ candidateId: 'string',
7795
+ candidateType: 'string',
7796
+ };
7797
+ }
7798
+
7799
+ constructor(map?: { [key: string]: any }) {
7800
+ super(map);
7801
+ }
7802
+ }
7803
+
6281
7804
 
6282
7805
  export default class Client extends OpenApi {
6283
7806
 
@@ -6384,7 +7907,7 @@ export default class Client extends OpenApi {
6384
7907
  }
6385
7908
 
6386
7909
  /**
6387
- * You can call the AddControlPolicy operation to create an access control policy to allow, deny, or monitor traffic that passes through Cloud Firewall.
7910
+ * You can call the AddControlPolicy operation to create an access control policy to allow, block, or monitor traffic that reaches Cloud Firewall.
6388
7911
  * ## Limits
6389
7912
  * 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.
6390
7913
  *
@@ -6485,7 +8008,7 @@ export default class Client extends OpenApi {
6485
8008
  }
6486
8009
 
6487
8010
  /**
6488
- * You can call the AddControlPolicy operation to create an access control policy to allow, deny, or monitor traffic that passes through Cloud Firewall.
8011
+ * You can call the AddControlPolicy operation to create an access control policy to allow, block, or monitor traffic that reaches Cloud Firewall.
6489
8012
  * ## Limits
6490
8013
  * 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.
6491
8014
  *
@@ -6607,6 +8130,146 @@ export default class Client extends OpenApi {
6607
8130
  return await this.batchCopyVpcFirewallControlPolicyWithOptions(request, runtime);
6608
8131
  }
6609
8132
 
8133
+ async createTrFirewallV2WithOptions(request: CreateTrFirewallV2Request, runtime: $Util.RuntimeOptions): Promise<CreateTrFirewallV2Response> {
8134
+ Util.validateModel(request);
8135
+ let query = { };
8136
+ if (!Util.isUnset(request.cenId)) {
8137
+ query["CenId"] = request.cenId;
8138
+ }
8139
+
8140
+ if (!Util.isUnset(request.firewallDescription)) {
8141
+ query["FirewallDescription"] = request.firewallDescription;
8142
+ }
8143
+
8144
+ if (!Util.isUnset(request.firewallName)) {
8145
+ query["FirewallName"] = request.firewallName;
8146
+ }
8147
+
8148
+ if (!Util.isUnset(request.firewallSubnetCidr)) {
8149
+ query["FirewallSubnetCidr"] = request.firewallSubnetCidr;
8150
+ }
8151
+
8152
+ if (!Util.isUnset(request.firewallVpcCidr)) {
8153
+ query["FirewallVpcCidr"] = request.firewallVpcCidr;
8154
+ }
8155
+
8156
+ if (!Util.isUnset(request.firewallVpcId)) {
8157
+ query["FirewallVpcId"] = request.firewallVpcId;
8158
+ }
8159
+
8160
+ if (!Util.isUnset(request.firewallVswitchId)) {
8161
+ query["FirewallVswitchId"] = request.firewallVswitchId;
8162
+ }
8163
+
8164
+ if (!Util.isUnset(request.lang)) {
8165
+ query["Lang"] = request.lang;
8166
+ }
8167
+
8168
+ if (!Util.isUnset(request.regionNo)) {
8169
+ query["RegionNo"] = request.regionNo;
8170
+ }
8171
+
8172
+ if (!Util.isUnset(request.routeMode)) {
8173
+ query["RouteMode"] = request.routeMode;
8174
+ }
8175
+
8176
+ if (!Util.isUnset(request.trAttachmentMasterCidr)) {
8177
+ query["TrAttachmentMasterCidr"] = request.trAttachmentMasterCidr;
8178
+ }
8179
+
8180
+ if (!Util.isUnset(request.trAttachmentSlaveCidr)) {
8181
+ query["TrAttachmentSlaveCidr"] = request.trAttachmentSlaveCidr;
8182
+ }
8183
+
8184
+ if (!Util.isUnset(request.transitRouterId)) {
8185
+ query["TransitRouterId"] = request.transitRouterId;
8186
+ }
8187
+
8188
+ let req = new $OpenApi.OpenApiRequest({
8189
+ query: OpenApiUtil.query(query),
8190
+ });
8191
+ let params = new $OpenApi.Params({
8192
+ action: "CreateTrFirewallV2",
8193
+ version: "2017-12-07",
8194
+ protocol: "HTTPS",
8195
+ pathname: "/",
8196
+ method: "POST",
8197
+ authType: "AK",
8198
+ style: "RPC",
8199
+ reqBodyType: "formData",
8200
+ bodyType: "json",
8201
+ });
8202
+ return $tea.cast<CreateTrFirewallV2Response>(await this.callApi(params, req, runtime), new CreateTrFirewallV2Response({}));
8203
+ }
8204
+
8205
+ async createTrFirewallV2(request: CreateTrFirewallV2Request): Promise<CreateTrFirewallV2Response> {
8206
+ let runtime = new $Util.RuntimeOptions({ });
8207
+ return await this.createTrFirewallV2WithOptions(request, runtime);
8208
+ }
8209
+
8210
+ async createTrFirewallV2RoutePolicyWithOptions(tmpReq: CreateTrFirewallV2RoutePolicyRequest, runtime: $Util.RuntimeOptions): Promise<CreateTrFirewallV2RoutePolicyResponse> {
8211
+ Util.validateModel(tmpReq);
8212
+ let request = new CreateTrFirewallV2RoutePolicyShrinkRequest({ });
8213
+ OpenApiUtil.convert(tmpReq, request);
8214
+ if (!Util.isUnset(tmpReq.destCandidateList)) {
8215
+ request.destCandidateListShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.destCandidateList, "DestCandidateList", "json");
8216
+ }
8217
+
8218
+ if (!Util.isUnset(tmpReq.srcCandidateList)) {
8219
+ request.srcCandidateListShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.srcCandidateList, "SrcCandidateList", "json");
8220
+ }
8221
+
8222
+ let query = { };
8223
+ if (!Util.isUnset(request.destCandidateListShrink)) {
8224
+ query["DestCandidateList"] = request.destCandidateListShrink;
8225
+ }
8226
+
8227
+ if (!Util.isUnset(request.firewallId)) {
8228
+ query["FirewallId"] = request.firewallId;
8229
+ }
8230
+
8231
+ if (!Util.isUnset(request.lang)) {
8232
+ query["Lang"] = request.lang;
8233
+ }
8234
+
8235
+ if (!Util.isUnset(request.policyDescription)) {
8236
+ query["PolicyDescription"] = request.policyDescription;
8237
+ }
8238
+
8239
+ if (!Util.isUnset(request.policyName)) {
8240
+ query["PolicyName"] = request.policyName;
8241
+ }
8242
+
8243
+ if (!Util.isUnset(request.policyType)) {
8244
+ query["PolicyType"] = request.policyType;
8245
+ }
8246
+
8247
+ if (!Util.isUnset(request.srcCandidateListShrink)) {
8248
+ query["SrcCandidateList"] = request.srcCandidateListShrink;
8249
+ }
8250
+
8251
+ let req = new $OpenApi.OpenApiRequest({
8252
+ query: OpenApiUtil.query(query),
8253
+ });
8254
+ let params = new $OpenApi.Params({
8255
+ action: "CreateTrFirewallV2RoutePolicy",
8256
+ version: "2017-12-07",
8257
+ protocol: "HTTPS",
8258
+ pathname: "/",
8259
+ method: "POST",
8260
+ authType: "AK",
8261
+ style: "RPC",
8262
+ reqBodyType: "formData",
8263
+ bodyType: "json",
8264
+ });
8265
+ return $tea.cast<CreateTrFirewallV2RoutePolicyResponse>(await this.callApi(params, req, runtime), new CreateTrFirewallV2RoutePolicyResponse({}));
8266
+ }
8267
+
8268
+ async createTrFirewallV2RoutePolicy(request: CreateTrFirewallV2RoutePolicyRequest): Promise<CreateTrFirewallV2RoutePolicyResponse> {
8269
+ let runtime = new $Util.RuntimeOptions({ });
8270
+ return await this.createTrFirewallV2RoutePolicyWithOptions(request, runtime);
8271
+ }
8272
+
6610
8273
  /**
6611
8274
  * 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~~).
6612
8275
  * ## Limits
@@ -6981,6 +8644,43 @@ export default class Client extends OpenApi {
6981
8644
  return await this.deleteControlPolicyWithOptions(request, runtime);
6982
8645
  }
6983
8646
 
8647
+ async deleteFirewallV2RoutePoliciesWithOptions(request: DeleteFirewallV2RoutePoliciesRequest, runtime: $Util.RuntimeOptions): Promise<DeleteFirewallV2RoutePoliciesResponse> {
8648
+ Util.validateModel(request);
8649
+ let query = { };
8650
+ if (!Util.isUnset(request.firewallId)) {
8651
+ query["FirewallId"] = request.firewallId;
8652
+ }
8653
+
8654
+ if (!Util.isUnset(request.lang)) {
8655
+ query["Lang"] = request.lang;
8656
+ }
8657
+
8658
+ if (!Util.isUnset(request.trFirewallRoutePolicyId)) {
8659
+ query["TrFirewallRoutePolicyId"] = request.trFirewallRoutePolicyId;
8660
+ }
8661
+
8662
+ let req = new $OpenApi.OpenApiRequest({
8663
+ query: OpenApiUtil.query(query),
8664
+ });
8665
+ let params = new $OpenApi.Params({
8666
+ action: "DeleteFirewallV2RoutePolicies",
8667
+ version: "2017-12-07",
8668
+ protocol: "HTTPS",
8669
+ pathname: "/",
8670
+ method: "POST",
8671
+ authType: "AK",
8672
+ style: "RPC",
8673
+ reqBodyType: "formData",
8674
+ bodyType: "json",
8675
+ });
8676
+ return $tea.cast<DeleteFirewallV2RoutePoliciesResponse>(await this.callApi(params, req, runtime), new DeleteFirewallV2RoutePoliciesResponse({}));
8677
+ }
8678
+
8679
+ async deleteFirewallV2RoutePolicies(request: DeleteFirewallV2RoutePoliciesRequest): Promise<DeleteFirewallV2RoutePoliciesResponse> {
8680
+ let runtime = new $Util.RuntimeOptions({ });
8681
+ return await this.deleteFirewallV2RoutePoliciesWithOptions(request, runtime);
8682
+ }
8683
+
6984
8684
  /**
6985
8685
  * You can call the DeleteInstanceMembers operation to remove members from Cloud Firewall.
6986
8686
  * ## Limits
@@ -7027,6 +8727,39 @@ export default class Client extends OpenApi {
7027
8727
  return await this.deleteInstanceMembersWithOptions(request, runtime);
7028
8728
  }
7029
8729
 
8730
+ async deleteTrFirewallV2WithOptions(request: DeleteTrFirewallV2Request, runtime: $Util.RuntimeOptions): Promise<DeleteTrFirewallV2Response> {
8731
+ Util.validateModel(request);
8732
+ let query = { };
8733
+ if (!Util.isUnset(request.firewallId)) {
8734
+ query["FirewallId"] = request.firewallId;
8735
+ }
8736
+
8737
+ if (!Util.isUnset(request.lang)) {
8738
+ query["Lang"] = request.lang;
8739
+ }
8740
+
8741
+ let req = new $OpenApi.OpenApiRequest({
8742
+ query: OpenApiUtil.query(query),
8743
+ });
8744
+ let params = new $OpenApi.Params({
8745
+ action: "DeleteTrFirewallV2",
8746
+ version: "2017-12-07",
8747
+ protocol: "HTTPS",
8748
+ pathname: "/",
8749
+ method: "POST",
8750
+ authType: "AK",
8751
+ style: "RPC",
8752
+ reqBodyType: "formData",
8753
+ bodyType: "json",
8754
+ });
8755
+ return $tea.cast<DeleteTrFirewallV2Response>(await this.callApi(params, req, runtime), new DeleteTrFirewallV2Response({}));
8756
+ }
8757
+
8758
+ async deleteTrFirewallV2(request: DeleteTrFirewallV2Request): Promise<DeleteTrFirewallV2Response> {
8759
+ let runtime = new $Util.RuntimeOptions({ });
8760
+ return await this.deleteTrFirewallV2WithOptions(request, runtime);
8761
+ }
8762
+
7030
8763
  /**
7031
8764
  * 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.
7032
8765
  * ## Limits
@@ -7256,7 +8989,7 @@ export default class Client extends OpenApi {
7256
8989
  }
7257
8990
 
7258
8991
  /**
7259
- * You can call the DescribeAssetList operation to query the assets that are protected by Cloud Firewall.
8992
+ * You can call the DescribeAssetList operation to query the assets that are protected by Cloud Firewall.
7260
8993
  * ## Limits
7261
8994
  * 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.
7262
8995
  *
@@ -7337,7 +9070,7 @@ export default class Client extends OpenApi {
7337
9070
  }
7338
9071
 
7339
9072
  /**
7340
- * You can call the DescribeAssetList operation to query the assets that are protected by Cloud Firewall.
9073
+ * You can call the DescribeAssetList operation to query the assets that are protected by Cloud Firewall.
7341
9074
  * ## Limits
7342
9075
  * 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.
7343
9076
  *
@@ -7564,7 +9297,72 @@ export default class Client extends OpenApi {
7564
9297
  */
7565
9298
  async describeInstanceMembers(request: DescribeInstanceMembersRequest): Promise<DescribeInstanceMembersResponse> {
7566
9299
  let runtime = new $Util.RuntimeOptions({ });
7567
- return await this.describeInstanceMembersWithOptions(request, runtime);
9300
+ return await this.describeInstanceMembersWithOptions(request, runtime);
9301
+ }
9302
+
9303
+ async describeInternetTrafficTrendWithOptions(request: DescribeInternetTrafficTrendRequest, runtime: $Util.RuntimeOptions): Promise<DescribeInternetTrafficTrendResponse> {
9304
+ Util.validateModel(request);
9305
+ let query = { };
9306
+ if (!Util.isUnset(request.direction)) {
9307
+ query["Direction"] = request.direction;
9308
+ }
9309
+
9310
+ if (!Util.isUnset(request.endTime)) {
9311
+ query["EndTime"] = request.endTime;
9312
+ }
9313
+
9314
+ if (!Util.isUnset(request.lang)) {
9315
+ query["Lang"] = request.lang;
9316
+ }
9317
+
9318
+ if (!Util.isUnset(request.lang)) {
9319
+ query["Lang"] = request.lang;
9320
+ }
9321
+
9322
+ if (!Util.isUnset(request.sourceCode)) {
9323
+ query["SourceCode"] = request.sourceCode;
9324
+ }
9325
+
9326
+ if (!Util.isUnset(request.sourceIp)) {
9327
+ query["SourceIp"] = request.sourceIp;
9328
+ }
9329
+
9330
+ if (!Util.isUnset(request.srcPrivateIP)) {
9331
+ query["SrcPrivateIP"] = request.srcPrivateIP;
9332
+ }
9333
+
9334
+ if (!Util.isUnset(request.srcPublicIP)) {
9335
+ query["SrcPublicIP"] = request.srcPublicIP;
9336
+ }
9337
+
9338
+ if (!Util.isUnset(request.startTime)) {
9339
+ query["StartTime"] = request.startTime;
9340
+ }
9341
+
9342
+ if (!Util.isUnset(request.trafficType)) {
9343
+ query["TrafficType"] = request.trafficType;
9344
+ }
9345
+
9346
+ let req = new $OpenApi.OpenApiRequest({
9347
+ query: OpenApiUtil.query(query),
9348
+ });
9349
+ let params = new $OpenApi.Params({
9350
+ action: "DescribeInternetTrafficTrend",
9351
+ version: "2017-12-07",
9352
+ protocol: "HTTPS",
9353
+ pathname: "/",
9354
+ method: "POST",
9355
+ authType: "AK",
9356
+ style: "RPC",
9357
+ reqBodyType: "formData",
9358
+ bodyType: "json",
9359
+ });
9360
+ return $tea.cast<DescribeInternetTrafficTrendResponse>(await this.callApi(params, req, runtime), new DescribeInternetTrafficTrendResponse({}));
9361
+ }
9362
+
9363
+ async describeInternetTrafficTrend(request: DescribeInternetTrafficTrendRequest): Promise<DescribeInternetTrafficTrendResponse> {
9364
+ let runtime = new $Util.RuntimeOptions({ });
9365
+ return await this.describeInternetTrafficTrendWithOptions(request, runtime);
7568
9366
  }
7569
9367
 
7570
9368
  async describeInvadeEventListWithOptions(request: DescribeInvadeEventListRequest, runtime: $Util.RuntimeOptions): Promise<DescribeInvadeEventListResponse> {
@@ -7857,42 +9655,299 @@ export default class Client extends OpenApi {
7857
9655
  */
7858
9656
  async describePolicyAdvancedConfig(request: DescribePolicyAdvancedConfigRequest): Promise<DescribePolicyAdvancedConfigResponse> {
7859
9657
  let runtime = new $Util.RuntimeOptions({ });
7860
- return await this.describePolicyAdvancedConfigWithOptions(request, runtime);
9658
+ return await this.describePolicyAdvancedConfigWithOptions(request, runtime);
9659
+ }
9660
+
9661
+ /**
9662
+ * You can call the DescribePolicyPriorUsed operation to query the priority range of the access control policies that match specific query conditions.
9663
+ * ## Limits
9664
+ * 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.
9665
+ *
9666
+ * @param request DescribePolicyPriorUsedRequest
9667
+ * @param runtime runtime options for this request RuntimeOptions
9668
+ * @return DescribePolicyPriorUsedResponse
9669
+ */
9670
+ async describePolicyPriorUsedWithOptions(request: DescribePolicyPriorUsedRequest, runtime: $Util.RuntimeOptions): Promise<DescribePolicyPriorUsedResponse> {
9671
+ Util.validateModel(request);
9672
+ let query = { };
9673
+ if (!Util.isUnset(request.direction)) {
9674
+ query["Direction"] = request.direction;
9675
+ }
9676
+
9677
+ if (!Util.isUnset(request.ipVersion)) {
9678
+ query["IpVersion"] = request.ipVersion;
9679
+ }
9680
+
9681
+ if (!Util.isUnset(request.lang)) {
9682
+ query["Lang"] = request.lang;
9683
+ }
9684
+
9685
+ if (!Util.isUnset(request.sourceIp)) {
9686
+ query["SourceIp"] = request.sourceIp;
9687
+ }
9688
+
9689
+ let req = new $OpenApi.OpenApiRequest({
9690
+ query: OpenApiUtil.query(query),
9691
+ });
9692
+ let params = new $OpenApi.Params({
9693
+ action: "DescribePolicyPriorUsed",
9694
+ version: "2017-12-07",
9695
+ protocol: "HTTPS",
9696
+ pathname: "/",
9697
+ method: "POST",
9698
+ authType: "AK",
9699
+ style: "RPC",
9700
+ reqBodyType: "formData",
9701
+ bodyType: "json",
9702
+ });
9703
+ return $tea.cast<DescribePolicyPriorUsedResponse>(await this.callApi(params, req, runtime), new DescribePolicyPriorUsedResponse({}));
9704
+ }
9705
+
9706
+ /**
9707
+ * You can call the DescribePolicyPriorUsed operation to query the priority range of the access control policies that match specific query conditions.
9708
+ * ## Limits
9709
+ * 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.
9710
+ *
9711
+ * @param request DescribePolicyPriorUsedRequest
9712
+ * @return DescribePolicyPriorUsedResponse
9713
+ */
9714
+ async describePolicyPriorUsed(request: DescribePolicyPriorUsedRequest): Promise<DescribePolicyPriorUsedResponse> {
9715
+ let runtime = new $Util.RuntimeOptions({ });
9716
+ return await this.describePolicyPriorUsedWithOptions(request, runtime);
9717
+ }
9718
+
9719
+ /**
9720
+ * You can call the DescribeRiskEventGroup operation to query and download the details of intrusion events. We recommend that you query the details of 5 to 10 intrusion events at a time. If you do not need to query the geographical information about IP addresses, you can set the NoLocation parameter to true to prevent query timeout.
9721
+ * ## Limits
9722
+ * 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.
9723
+ *
9724
+ * @param request DescribeRiskEventGroupRequest
9725
+ * @param runtime runtime options for this request RuntimeOptions
9726
+ * @return DescribeRiskEventGroupResponse
9727
+ */
9728
+ async describeRiskEventGroupWithOptions(request: DescribeRiskEventGroupRequest, runtime: $Util.RuntimeOptions): Promise<DescribeRiskEventGroupResponse> {
9729
+ Util.validateModel(request);
9730
+ let query = { };
9731
+ if (!Util.isUnset(request.attackApp)) {
9732
+ query["AttackApp"] = request.attackApp;
9733
+ }
9734
+
9735
+ if (!Util.isUnset(request.attackType)) {
9736
+ query["AttackType"] = request.attackType;
9737
+ }
9738
+
9739
+ if (!Util.isUnset(request.buyVersion)) {
9740
+ query["BuyVersion"] = request.buyVersion;
9741
+ }
9742
+
9743
+ if (!Util.isUnset(request.currentPage)) {
9744
+ query["CurrentPage"] = request.currentPage;
9745
+ }
9746
+
9747
+ if (!Util.isUnset(request.dataType)) {
9748
+ query["DataType"] = request.dataType;
9749
+ }
9750
+
9751
+ if (!Util.isUnset(request.direction)) {
9752
+ query["Direction"] = request.direction;
9753
+ }
9754
+
9755
+ if (!Util.isUnset(request.dstIP)) {
9756
+ query["DstIP"] = request.dstIP;
9757
+ }
9758
+
9759
+ if (!Util.isUnset(request.dstNetworkInstanceId)) {
9760
+ query["DstNetworkInstanceId"] = request.dstNetworkInstanceId;
9761
+ }
9762
+
9763
+ if (!Util.isUnset(request.endTime)) {
9764
+ query["EndTime"] = request.endTime;
9765
+ }
9766
+
9767
+ if (!Util.isUnset(request.eventName)) {
9768
+ query["EventName"] = request.eventName;
9769
+ }
9770
+
9771
+ if (!Util.isUnset(request.firewallType)) {
9772
+ query["FirewallType"] = request.firewallType;
9773
+ }
9774
+
9775
+ if (!Util.isUnset(request.lang)) {
9776
+ query["Lang"] = request.lang;
9777
+ }
9778
+
9779
+ if (!Util.isUnset(request.lang)) {
9780
+ query["Lang"] = request.lang;
9781
+ }
9782
+
9783
+ if (!Util.isUnset(request.noLocation)) {
9784
+ query["NoLocation"] = request.noLocation;
9785
+ }
9786
+
9787
+ if (!Util.isUnset(request.order)) {
9788
+ query["Order"] = request.order;
9789
+ }
9790
+
9791
+ if (!Util.isUnset(request.pageSize)) {
9792
+ query["PageSize"] = request.pageSize;
9793
+ }
9794
+
9795
+ if (!Util.isUnset(request.ruleResult)) {
9796
+ query["RuleResult"] = request.ruleResult;
9797
+ }
9798
+
9799
+ if (!Util.isUnset(request.ruleSource)) {
9800
+ query["RuleSource"] = request.ruleSource;
9801
+ }
9802
+
9803
+ if (!Util.isUnset(request.sort)) {
9804
+ query["Sort"] = request.sort;
9805
+ }
9806
+
9807
+ if (!Util.isUnset(request.srcIP)) {
9808
+ query["SrcIP"] = request.srcIP;
9809
+ }
9810
+
9811
+ if (!Util.isUnset(request.srcNetworkInstanceId)) {
9812
+ query["SrcNetworkInstanceId"] = request.srcNetworkInstanceId;
9813
+ }
9814
+
9815
+ if (!Util.isUnset(request.startTime)) {
9816
+ query["StartTime"] = request.startTime;
9817
+ }
9818
+
9819
+ if (!Util.isUnset(request.vulLevel)) {
9820
+ query["VulLevel"] = request.vulLevel;
9821
+ }
9822
+
9823
+ let req = new $OpenApi.OpenApiRequest({
9824
+ query: OpenApiUtil.query(query),
9825
+ });
9826
+ let params = new $OpenApi.Params({
9827
+ action: "DescribeRiskEventGroup",
9828
+ version: "2017-12-07",
9829
+ protocol: "HTTPS",
9830
+ pathname: "/",
9831
+ method: "POST",
9832
+ authType: "AK",
9833
+ style: "RPC",
9834
+ reqBodyType: "formData",
9835
+ bodyType: "json",
9836
+ });
9837
+ return $tea.cast<DescribeRiskEventGroupResponse>(await this.callApi(params, req, runtime), new DescribeRiskEventGroupResponse({}));
9838
+ }
9839
+
9840
+ /**
9841
+ * You can call the DescribeRiskEventGroup operation to query and download the details of intrusion events. We recommend that you query the details of 5 to 10 intrusion events at a time. If you do not need to query the geographical information about IP addresses, you can set the NoLocation parameter to true to prevent query timeout.
9842
+ * ## Limits
9843
+ * 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.
9844
+ *
9845
+ * @param request DescribeRiskEventGroupRequest
9846
+ * @return DescribeRiskEventGroupResponse
9847
+ */
9848
+ async describeRiskEventGroup(request: DescribeRiskEventGroupRequest): Promise<DescribeRiskEventGroupResponse> {
9849
+ let runtime = new $Util.RuntimeOptions({ });
9850
+ return await this.describeRiskEventGroupWithOptions(request, runtime);
9851
+ }
9852
+
9853
+ async describeTrFirewallPolicyBackUpAssociationListWithOptions(request: DescribeTrFirewallPolicyBackUpAssociationListRequest, runtime: $Util.RuntimeOptions): Promise<DescribeTrFirewallPolicyBackUpAssociationListResponse> {
9854
+ Util.validateModel(request);
9855
+ let query = { };
9856
+ if (!Util.isUnset(request.firewallId)) {
9857
+ query["FirewallId"] = request.firewallId;
9858
+ }
9859
+
9860
+ if (!Util.isUnset(request.lang)) {
9861
+ query["Lang"] = request.lang;
9862
+ }
9863
+
9864
+ if (!Util.isUnset(request.trFirewallRoutePolicyId)) {
9865
+ query["TrFirewallRoutePolicyId"] = request.trFirewallRoutePolicyId;
9866
+ }
9867
+
9868
+ let req = new $OpenApi.OpenApiRequest({
9869
+ query: OpenApiUtil.query(query),
9870
+ });
9871
+ let params = new $OpenApi.Params({
9872
+ action: "DescribeTrFirewallPolicyBackUpAssociationList",
9873
+ version: "2017-12-07",
9874
+ protocol: "HTTPS",
9875
+ pathname: "/",
9876
+ method: "POST",
9877
+ authType: "AK",
9878
+ style: "RPC",
9879
+ reqBodyType: "formData",
9880
+ bodyType: "json",
9881
+ });
9882
+ return $tea.cast<DescribeTrFirewallPolicyBackUpAssociationListResponse>(await this.callApi(params, req, runtime), new DescribeTrFirewallPolicyBackUpAssociationListResponse({}));
9883
+ }
9884
+
9885
+ async describeTrFirewallPolicyBackUpAssociationList(request: DescribeTrFirewallPolicyBackUpAssociationListRequest): Promise<DescribeTrFirewallPolicyBackUpAssociationListResponse> {
9886
+ let runtime = new $Util.RuntimeOptions({ });
9887
+ return await this.describeTrFirewallPolicyBackUpAssociationListWithOptions(request, runtime);
9888
+ }
9889
+
9890
+ async describeTrFirewallV2RoutePolicyListWithOptions(request: DescribeTrFirewallV2RoutePolicyListRequest, runtime: $Util.RuntimeOptions): Promise<DescribeTrFirewallV2RoutePolicyListResponse> {
9891
+ Util.validateModel(request);
9892
+ let query = { };
9893
+ if (!Util.isUnset(request.currentPage)) {
9894
+ query["CurrentPage"] = request.currentPage;
9895
+ }
9896
+
9897
+ if (!Util.isUnset(request.firewallId)) {
9898
+ query["FirewallId"] = request.firewallId;
9899
+ }
9900
+
9901
+ if (!Util.isUnset(request.lang)) {
9902
+ query["Lang"] = request.lang;
9903
+ }
9904
+
9905
+ if (!Util.isUnset(request.pageSize)) {
9906
+ query["PageSize"] = request.pageSize;
9907
+ }
9908
+
9909
+ if (!Util.isUnset(request.policyId)) {
9910
+ query["PolicyId"] = request.policyId;
9911
+ }
9912
+
9913
+ let req = new $OpenApi.OpenApiRequest({
9914
+ query: OpenApiUtil.query(query),
9915
+ });
9916
+ let params = new $OpenApi.Params({
9917
+ action: "DescribeTrFirewallV2RoutePolicyList",
9918
+ version: "2017-12-07",
9919
+ protocol: "HTTPS",
9920
+ pathname: "/",
9921
+ method: "POST",
9922
+ authType: "AK",
9923
+ style: "RPC",
9924
+ reqBodyType: "formData",
9925
+ bodyType: "json",
9926
+ });
9927
+ return $tea.cast<DescribeTrFirewallV2RoutePolicyListResponse>(await this.callApi(params, req, runtime), new DescribeTrFirewallV2RoutePolicyListResponse({}));
9928
+ }
9929
+
9930
+ async describeTrFirewallV2RoutePolicyList(request: DescribeTrFirewallV2RoutePolicyListRequest): Promise<DescribeTrFirewallV2RoutePolicyListResponse> {
9931
+ let runtime = new $Util.RuntimeOptions({ });
9932
+ return await this.describeTrFirewallV2RoutePolicyListWithOptions(request, runtime);
7861
9933
  }
7862
9934
 
7863
- /**
7864
- * You can call the DescribePolicyPriorUsed operation to query the priority range of the access control policies that match specific query conditions.
7865
- * ## Limits
7866
- * 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.
7867
- *
7868
- * @param request DescribePolicyPriorUsedRequest
7869
- * @param runtime runtime options for this request RuntimeOptions
7870
- * @return DescribePolicyPriorUsedResponse
7871
- */
7872
- async describePolicyPriorUsedWithOptions(request: DescribePolicyPriorUsedRequest, runtime: $Util.RuntimeOptions): Promise<DescribePolicyPriorUsedResponse> {
9935
+ async describeTrFirewallsV2DetailWithOptions(request: DescribeTrFirewallsV2DetailRequest, runtime: $Util.RuntimeOptions): Promise<DescribeTrFirewallsV2DetailResponse> {
7873
9936
  Util.validateModel(request);
7874
9937
  let query = { };
7875
- if (!Util.isUnset(request.direction)) {
7876
- query["Direction"] = request.direction;
7877
- }
7878
-
7879
- if (!Util.isUnset(request.ipVersion)) {
7880
- query["IpVersion"] = request.ipVersion;
9938
+ if (!Util.isUnset(request.firewallId)) {
9939
+ query["FirewallId"] = request.firewallId;
7881
9940
  }
7882
9941
 
7883
9942
  if (!Util.isUnset(request.lang)) {
7884
9943
  query["Lang"] = request.lang;
7885
9944
  }
7886
9945
 
7887
- if (!Util.isUnset(request.sourceIp)) {
7888
- query["SourceIp"] = request.sourceIp;
7889
- }
7890
-
7891
9946
  let req = new $OpenApi.OpenApiRequest({
7892
9947
  query: OpenApiUtil.query(query),
7893
9948
  });
7894
9949
  let params = new $OpenApi.Params({
7895
- action: "DescribePolicyPriorUsed",
9950
+ action: "DescribeTrFirewallsV2Detail",
7896
9951
  version: "2017-12-07",
7897
9952
  protocol: "HTTPS",
7898
9953
  pathname: "/",
@@ -7902,131 +9957,111 @@ export default class Client extends OpenApi {
7902
9957
  reqBodyType: "formData",
7903
9958
  bodyType: "json",
7904
9959
  });
7905
- return $tea.cast<DescribePolicyPriorUsedResponse>(await this.callApi(params, req, runtime), new DescribePolicyPriorUsedResponse({}));
9960
+ return $tea.cast<DescribeTrFirewallsV2DetailResponse>(await this.callApi(params, req, runtime), new DescribeTrFirewallsV2DetailResponse({}));
7906
9961
  }
7907
9962
 
7908
- /**
7909
- * You can call the DescribePolicyPriorUsed operation to query the priority range of the access control policies that match specific query conditions.
7910
- * ## Limits
7911
- * 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.
7912
- *
7913
- * @param request DescribePolicyPriorUsedRequest
7914
- * @return DescribePolicyPriorUsedResponse
7915
- */
7916
- async describePolicyPriorUsed(request: DescribePolicyPriorUsedRequest): Promise<DescribePolicyPriorUsedResponse> {
9963
+ async describeTrFirewallsV2Detail(request: DescribeTrFirewallsV2DetailRequest): Promise<DescribeTrFirewallsV2DetailResponse> {
7917
9964
  let runtime = new $Util.RuntimeOptions({ });
7918
- return await this.describePolicyPriorUsedWithOptions(request, runtime);
9965
+ return await this.describeTrFirewallsV2DetailWithOptions(request, runtime);
7919
9966
  }
7920
9967
 
7921
- /**
7922
- * You can call the DescribeRiskEventGroup operation to query and download the details of intrusion events. We recommend that you query the details of 5 to 10 intrusion events at a time. If you do not need to query the geographical information about IP addresses, you can set the NoLocation parameter to true to prevent query timeout.
7923
- * ## Limits
7924
- * 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.
7925
- *
7926
- * @param request DescribeRiskEventGroupRequest
7927
- * @param runtime runtime options for this request RuntimeOptions
7928
- * @return DescribeRiskEventGroupResponse
7929
- */
7930
- async describeRiskEventGroupWithOptions(request: DescribeRiskEventGroupRequest, runtime: $Util.RuntimeOptions): Promise<DescribeRiskEventGroupResponse> {
9968
+ async describeTrFirewallsV2ListWithOptions(request: DescribeTrFirewallsV2ListRequest, runtime: $Util.RuntimeOptions): Promise<DescribeTrFirewallsV2ListResponse> {
7931
9969
  Util.validateModel(request);
7932
9970
  let query = { };
7933
- if (!Util.isUnset(request.attackApp)) {
7934
- query["AttackApp"] = request.attackApp;
7935
- }
7936
-
7937
- if (!Util.isUnset(request.attackType)) {
7938
- query["AttackType"] = request.attackType;
7939
- }
7940
-
7941
- if (!Util.isUnset(request.buyVersion)) {
7942
- query["BuyVersion"] = request.buyVersion;
9971
+ if (!Util.isUnset(request.cenId)) {
9972
+ query["CenId"] = request.cenId;
7943
9973
  }
7944
9974
 
7945
9975
  if (!Util.isUnset(request.currentPage)) {
7946
9976
  query["CurrentPage"] = request.currentPage;
7947
9977
  }
7948
9978
 
7949
- if (!Util.isUnset(request.dataType)) {
7950
- query["DataType"] = request.dataType;
7951
- }
7952
-
7953
- if (!Util.isUnset(request.direction)) {
7954
- query["Direction"] = request.direction;
7955
- }
7956
-
7957
- if (!Util.isUnset(request.dstIP)) {
7958
- query["DstIP"] = request.dstIP;
7959
- }
7960
-
7961
- if (!Util.isUnset(request.dstNetworkInstanceId)) {
7962
- query["DstNetworkInstanceId"] = request.dstNetworkInstanceId;
7963
- }
7964
-
7965
- if (!Util.isUnset(request.endTime)) {
7966
- query["EndTime"] = request.endTime;
9979
+ if (!Util.isUnset(request.firewallId)) {
9980
+ query["FirewallId"] = request.firewallId;
7967
9981
  }
7968
9982
 
7969
- if (!Util.isUnset(request.eventName)) {
7970
- query["EventName"] = request.eventName;
9983
+ if (!Util.isUnset(request.firewallName)) {
9984
+ query["FirewallName"] = request.firewallName;
7971
9985
  }
7972
9986
 
7973
- if (!Util.isUnset(request.firewallType)) {
7974
- query["FirewallType"] = request.firewallType;
9987
+ if (!Util.isUnset(request.firewallSwitchStatus)) {
9988
+ query["FirewallSwitchStatus"] = request.firewallSwitchStatus;
7975
9989
  }
7976
9990
 
7977
9991
  if (!Util.isUnset(request.lang)) {
7978
9992
  query["Lang"] = request.lang;
7979
9993
  }
7980
9994
 
7981
- if (!Util.isUnset(request.lang)) {
7982
- query["Lang"] = request.lang;
9995
+ if (!Util.isUnset(request.ownerId)) {
9996
+ query["OwnerId"] = request.ownerId;
7983
9997
  }
7984
9998
 
7985
- if (!Util.isUnset(request.noLocation)) {
7986
- query["NoLocation"] = request.noLocation;
9999
+ if (!Util.isUnset(request.pageSize)) {
10000
+ query["PageSize"] = request.pageSize;
7987
10001
  }
7988
10002
 
7989
- if (!Util.isUnset(request.order)) {
7990
- query["Order"] = request.order;
10003
+ if (!Util.isUnset(request.regionNo)) {
10004
+ query["RegionNo"] = request.regionNo;
7991
10005
  }
7992
10006
 
7993
- if (!Util.isUnset(request.pageSize)) {
7994
- query["PageSize"] = request.pageSize;
10007
+ if (!Util.isUnset(request.routeMode)) {
10008
+ query["RouteMode"] = request.routeMode;
7995
10009
  }
7996
10010
 
7997
- if (!Util.isUnset(request.ruleResult)) {
7998
- query["RuleResult"] = request.ruleResult;
10011
+ if (!Util.isUnset(request.transitRouterId)) {
10012
+ query["TransitRouterId"] = request.transitRouterId;
7999
10013
  }
8000
10014
 
8001
- if (!Util.isUnset(request.ruleSource)) {
8002
- query["RuleSource"] = request.ruleSource;
8003
- }
10015
+ let req = new $OpenApi.OpenApiRequest({
10016
+ query: OpenApiUtil.query(query),
10017
+ });
10018
+ let params = new $OpenApi.Params({
10019
+ action: "DescribeTrFirewallsV2List",
10020
+ version: "2017-12-07",
10021
+ protocol: "HTTPS",
10022
+ pathname: "/",
10023
+ method: "POST",
10024
+ authType: "AK",
10025
+ style: "RPC",
10026
+ reqBodyType: "formData",
10027
+ bodyType: "json",
10028
+ });
10029
+ return $tea.cast<DescribeTrFirewallsV2ListResponse>(await this.callApi(params, req, runtime), new DescribeTrFirewallsV2ListResponse({}));
10030
+ }
8004
10031
 
8005
- if (!Util.isUnset(request.sort)) {
8006
- query["Sort"] = request.sort;
10032
+ async describeTrFirewallsV2List(request: DescribeTrFirewallsV2ListRequest): Promise<DescribeTrFirewallsV2ListResponse> {
10033
+ let runtime = new $Util.RuntimeOptions({ });
10034
+ return await this.describeTrFirewallsV2ListWithOptions(request, runtime);
10035
+ }
10036
+
10037
+ async describeTrFirewallsV2RouteListWithOptions(request: DescribeTrFirewallsV2RouteListRequest, runtime: $Util.RuntimeOptions): Promise<DescribeTrFirewallsV2RouteListResponse> {
10038
+ Util.validateModel(request);
10039
+ let query = { };
10040
+ if (!Util.isUnset(request.currentPage)) {
10041
+ query["CurrentPage"] = request.currentPage;
8007
10042
  }
8008
10043
 
8009
- if (!Util.isUnset(request.srcIP)) {
8010
- query["SrcIP"] = request.srcIP;
10044
+ if (!Util.isUnset(request.firewallId)) {
10045
+ query["FirewallId"] = request.firewallId;
8011
10046
  }
8012
10047
 
8013
- if (!Util.isUnset(request.srcNetworkInstanceId)) {
8014
- query["SrcNetworkInstanceId"] = request.srcNetworkInstanceId;
10048
+ if (!Util.isUnset(request.lang)) {
10049
+ query["Lang"] = request.lang;
8015
10050
  }
8016
10051
 
8017
- if (!Util.isUnset(request.startTime)) {
8018
- query["StartTime"] = request.startTime;
10052
+ if (!Util.isUnset(request.pageSize)) {
10053
+ query["PageSize"] = request.pageSize;
8019
10054
  }
8020
10055
 
8021
- if (!Util.isUnset(request.vulLevel)) {
8022
- query["VulLevel"] = request.vulLevel;
10056
+ if (!Util.isUnset(request.trFirewallRoutePolicyId)) {
10057
+ query["TrFirewallRoutePolicyId"] = request.trFirewallRoutePolicyId;
8023
10058
  }
8024
10059
 
8025
10060
  let req = new $OpenApi.OpenApiRequest({
8026
10061
  query: OpenApiUtil.query(query),
8027
10062
  });
8028
10063
  let params = new $OpenApi.Params({
8029
- action: "DescribeRiskEventGroup",
10064
+ action: "DescribeTrFirewallsV2RouteList",
8030
10065
  version: "2017-12-07",
8031
10066
  protocol: "HTTPS",
8032
10067
  pathname: "/",
@@ -8036,20 +10071,12 @@ export default class Client extends OpenApi {
8036
10071
  reqBodyType: "formData",
8037
10072
  bodyType: "json",
8038
10073
  });
8039
- return $tea.cast<DescribeRiskEventGroupResponse>(await this.callApi(params, req, runtime), new DescribeRiskEventGroupResponse({}));
10074
+ return $tea.cast<DescribeTrFirewallsV2RouteListResponse>(await this.callApi(params, req, runtime), new DescribeTrFirewallsV2RouteListResponse({}));
8040
10075
  }
8041
10076
 
8042
- /**
8043
- * You can call the DescribeRiskEventGroup operation to query and download the details of intrusion events. We recommend that you query the details of 5 to 10 intrusion events at a time. If you do not need to query the geographical information about IP addresses, you can set the NoLocation parameter to true to prevent query timeout.
8044
- * ## Limits
8045
- * 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.
8046
- *
8047
- * @param request DescribeRiskEventGroupRequest
8048
- * @return DescribeRiskEventGroupResponse
8049
- */
8050
- async describeRiskEventGroup(request: DescribeRiskEventGroupRequest): Promise<DescribeRiskEventGroupResponse> {
10077
+ async describeTrFirewallsV2RouteList(request: DescribeTrFirewallsV2RouteListRequest): Promise<DescribeTrFirewallsV2RouteListResponse> {
8051
10078
  let runtime = new $Util.RuntimeOptions({ });
8052
- return await this.describeRiskEventGroupWithOptions(request, runtime);
10079
+ return await this.describeTrFirewallsV2RouteListWithOptions(request, runtime);
8053
10080
  }
8054
10081
 
8055
10082
  async describeUserAssetIPTrafficInfoWithOptions(request: DescribeUserAssetIPTrafficInfoRequest, runtime: $Util.RuntimeOptions): Promise<DescribeUserAssetIPTrafficInfoResponse> {
@@ -8296,7 +10323,9 @@ export default class Client extends OpenApi {
8296
10323
  }
8297
10324
 
8298
10325
  /**
8299
- * 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.
10326
+ * 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.
10327
+ * ## Limits
10328
+ * 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.
8300
10329
  *
8301
10330
  * @param request DescribeVpcFirewallControlPolicyRequest
8302
10331
  * @param runtime runtime options for this request RuntimeOptions
@@ -8371,7 +10400,9 @@ export default class Client extends OpenApi {
8371
10400
  }
8372
10401
 
8373
10402
  /**
8374
- * 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.
10403
+ * 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.
10404
+ * ## Limits
10405
+ * 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.
8375
10406
  *
8376
10407
  * @param request DescribeVpcFirewallControlPolicyRequest
8377
10408
  * @return DescribeVpcFirewallControlPolicyResponse
@@ -8497,8 +10528,8 @@ export default class Client extends OpenApi {
8497
10528
 
8498
10529
  /**
8499
10530
  * 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.
8500
- * ## Limits
8501
- * 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.
10531
+ * ### Limits
10532
+ * 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.
8502
10533
  *
8503
10534
  * @param request DescribeVpcFirewallListRequest
8504
10535
  * @param runtime runtime options for this request RuntimeOptions
@@ -8574,8 +10605,8 @@ export default class Client extends OpenApi {
8574
10605
 
8575
10606
  /**
8576
10607
  * 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.
8577
- * ## Limits
8578
- * 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.
10608
+ * ### Limits
10609
+ * 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.
8579
10610
  *
8580
10611
  * @param request DescribeVpcFirewallListRequest
8581
10612
  * @return DescribeVpcFirewallListResponse
@@ -8978,6 +11009,51 @@ export default class Client extends OpenApi {
8978
11009
  return await this.modifyControlPolicyPositionWithOptions(request, runtime);
8979
11010
  }
8980
11011
 
11012
+ async modifyFirewallV2RoutePolicySwitchWithOptions(request: ModifyFirewallV2RoutePolicySwitchRequest, runtime: $Util.RuntimeOptions): Promise<ModifyFirewallV2RoutePolicySwitchResponse> {
11013
+ Util.validateModel(request);
11014
+ let query = { };
11015
+ if (!Util.isUnset(request.firewallId)) {
11016
+ query["FirewallId"] = request.firewallId;
11017
+ }
11018
+
11019
+ if (!Util.isUnset(request.lang)) {
11020
+ query["Lang"] = request.lang;
11021
+ }
11022
+
11023
+ if (!Util.isUnset(request.shouldRecover)) {
11024
+ query["ShouldRecover"] = request.shouldRecover;
11025
+ }
11026
+
11027
+ if (!Util.isUnset(request.trFirewallRoutePolicyId)) {
11028
+ query["TrFirewallRoutePolicyId"] = request.trFirewallRoutePolicyId;
11029
+ }
11030
+
11031
+ if (!Util.isUnset(request.trFirewallRoutePolicySwitchStatus)) {
11032
+ query["TrFirewallRoutePolicySwitchStatus"] = request.trFirewallRoutePolicySwitchStatus;
11033
+ }
11034
+
11035
+ let req = new $OpenApi.OpenApiRequest({
11036
+ query: OpenApiUtil.query(query),
11037
+ });
11038
+ let params = new $OpenApi.Params({
11039
+ action: "ModifyFirewallV2RoutePolicySwitch",
11040
+ version: "2017-12-07",
11041
+ protocol: "HTTPS",
11042
+ pathname: "/",
11043
+ method: "POST",
11044
+ authType: "AK",
11045
+ style: "RPC",
11046
+ reqBodyType: "formData",
11047
+ bodyType: "json",
11048
+ });
11049
+ return $tea.cast<ModifyFirewallV2RoutePolicySwitchResponse>(await this.callApi(params, req, runtime), new ModifyFirewallV2RoutePolicySwitchResponse({}));
11050
+ }
11051
+
11052
+ async modifyFirewallV2RoutePolicySwitch(request: ModifyFirewallV2RoutePolicySwitchRequest): Promise<ModifyFirewallV2RoutePolicySwitchResponse> {
11053
+ let runtime = new $Util.RuntimeOptions({ });
11054
+ return await this.modifyFirewallV2RoutePolicySwitchWithOptions(request, runtime);
11055
+ }
11056
+
8981
11057
  /**
8982
11058
  * You can call the ModifyInstanceMemberAttributes operation to update the information about members in Cloud Firewall.
8983
11059
  * ## Limits
@@ -9078,6 +11154,98 @@ export default class Client extends OpenApi {
9078
11154
  return await this.modifyPolicyAdvancedConfigWithOptions(request, runtime);
9079
11155
  }
9080
11156
 
11157
+ async modifyTrFirewallV2ConfigurationWithOptions(request: ModifyTrFirewallV2ConfigurationRequest, runtime: $Util.RuntimeOptions): Promise<ModifyTrFirewallV2ConfigurationResponse> {
11158
+ Util.validateModel(request);
11159
+ let query = { };
11160
+ if (!Util.isUnset(request.firewallId)) {
11161
+ query["FirewallId"] = request.firewallId;
11162
+ }
11163
+
11164
+ if (!Util.isUnset(request.firewallName)) {
11165
+ query["FirewallName"] = request.firewallName;
11166
+ }
11167
+
11168
+ if (!Util.isUnset(request.lang)) {
11169
+ query["Lang"] = request.lang;
11170
+ }
11171
+
11172
+ let req = new $OpenApi.OpenApiRequest({
11173
+ query: OpenApiUtil.query(query),
11174
+ });
11175
+ let params = new $OpenApi.Params({
11176
+ action: "ModifyTrFirewallV2Configuration",
11177
+ version: "2017-12-07",
11178
+ protocol: "HTTPS",
11179
+ pathname: "/",
11180
+ method: "POST",
11181
+ authType: "AK",
11182
+ style: "RPC",
11183
+ reqBodyType: "formData",
11184
+ bodyType: "json",
11185
+ });
11186
+ return $tea.cast<ModifyTrFirewallV2ConfigurationResponse>(await this.callApi(params, req, runtime), new ModifyTrFirewallV2ConfigurationResponse({}));
11187
+ }
11188
+
11189
+ async modifyTrFirewallV2Configuration(request: ModifyTrFirewallV2ConfigurationRequest): Promise<ModifyTrFirewallV2ConfigurationResponse> {
11190
+ let runtime = new $Util.RuntimeOptions({ });
11191
+ return await this.modifyTrFirewallV2ConfigurationWithOptions(request, runtime);
11192
+ }
11193
+
11194
+ async modifyTrFirewallV2RoutePolicyScopeWithOptions(tmpReq: ModifyTrFirewallV2RoutePolicyScopeRequest, runtime: $Util.RuntimeOptions): Promise<ModifyTrFirewallV2RoutePolicyScopeResponse> {
11195
+ Util.validateModel(tmpReq);
11196
+ let request = new ModifyTrFirewallV2RoutePolicyScopeShrinkRequest({ });
11197
+ OpenApiUtil.convert(tmpReq, request);
11198
+ if (!Util.isUnset(tmpReq.destCandidateList)) {
11199
+ request.destCandidateListShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.destCandidateList, "DestCandidateList", "json");
11200
+ }
11201
+
11202
+ if (!Util.isUnset(tmpReq.srcCandidateList)) {
11203
+ request.srcCandidateListShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.srcCandidateList, "SrcCandidateList", "json");
11204
+ }
11205
+
11206
+ let query = { };
11207
+ if (!Util.isUnset(request.destCandidateListShrink)) {
11208
+ query["DestCandidateList"] = request.destCandidateListShrink;
11209
+ }
11210
+
11211
+ if (!Util.isUnset(request.firewallId)) {
11212
+ query["FirewallId"] = request.firewallId;
11213
+ }
11214
+
11215
+ if (!Util.isUnset(request.lang)) {
11216
+ query["Lang"] = request.lang;
11217
+ }
11218
+
11219
+ if (!Util.isUnset(request.srcCandidateListShrink)) {
11220
+ query["SrcCandidateList"] = request.srcCandidateListShrink;
11221
+ }
11222
+
11223
+ if (!Util.isUnset(request.trFirewallRoutePolicyId)) {
11224
+ query["TrFirewallRoutePolicyId"] = request.trFirewallRoutePolicyId;
11225
+ }
11226
+
11227
+ let req = new $OpenApi.OpenApiRequest({
11228
+ query: OpenApiUtil.query(query),
11229
+ });
11230
+ let params = new $OpenApi.Params({
11231
+ action: "ModifyTrFirewallV2RoutePolicyScope",
11232
+ version: "2017-12-07",
11233
+ protocol: "HTTPS",
11234
+ pathname: "/",
11235
+ method: "POST",
11236
+ authType: "AK",
11237
+ style: "RPC",
11238
+ reqBodyType: "formData",
11239
+ bodyType: "json",
11240
+ });
11241
+ return $tea.cast<ModifyTrFirewallV2RoutePolicyScopeResponse>(await this.callApi(params, req, runtime), new ModifyTrFirewallV2RoutePolicyScopeResponse({}));
11242
+ }
11243
+
11244
+ async modifyTrFirewallV2RoutePolicyScope(request: ModifyTrFirewallV2RoutePolicyScopeRequest): Promise<ModifyTrFirewallV2RoutePolicyScopeResponse> {
11245
+ let runtime = new $Util.RuntimeOptions({ });
11246
+ return await this.modifyTrFirewallV2RoutePolicyScopeWithOptions(request, runtime);
11247
+ }
11248
+
9081
11249
  /**
9082
11250
  * 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.
9083
11251
  * ## Limits
@@ -9263,7 +11431,7 @@ export default class Client extends OpenApi {
9263
11431
  }
9264
11432
 
9265
11433
  /**
9266
- * 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.
11434
+ * 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.
9267
11435
  * ## Limits
9268
11436
  * 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.
9269
11437
  *
@@ -9352,7 +11520,7 @@ export default class Client extends OpenApi {
9352
11520
  }
9353
11521
 
9354
11522
  /**
9355
- * 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.
11523
+ * 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.
9356
11524
  * ## Limits
9357
11525
  * 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.
9358
11526
  *