@alicloud/cloudfw20171207 1.2.3 → 1.2.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/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;
@@ -1998,6 +2485,7 @@ export class DescribeRiskEventGroupRequest extends $tea.Model {
1998
2485
  dstIP?: string;
1999
2486
  dstNetworkInstanceId?: string;
2000
2487
  endTime?: string;
2488
+ eventName?: string;
2001
2489
  firewallType?: string;
2002
2490
  lang?: string;
2003
2491
  noLocation?: string;
@@ -2021,6 +2509,7 @@ export class DescribeRiskEventGroupRequest extends $tea.Model {
2021
2509
  dstIP: 'DstIP',
2022
2510
  dstNetworkInstanceId: 'DstNetworkInstanceId',
2023
2511
  endTime: 'EndTime',
2512
+ eventName: 'EventName',
2024
2513
  firewallType: 'FirewallType',
2025
2514
  lang: 'Lang',
2026
2515
  noLocation: 'NoLocation',
@@ -2047,6 +2536,7 @@ export class DescribeRiskEventGroupRequest extends $tea.Model {
2047
2536
  dstIP: 'string',
2048
2537
  dstNetworkInstanceId: 'string',
2049
2538
  endTime: 'string',
2539
+ eventName: 'string',
2050
2540
  firewallType: 'string',
2051
2541
  lang: 'string',
2052
2542
  noLocation: 'string',
@@ -2117,23 +2607,23 @@ export class DescribeRiskEventGroupResponse extends $tea.Model {
2117
2607
  }
2118
2608
  }
2119
2609
 
2120
- export class DescribeUserAssetIPTrafficInfoRequest extends $tea.Model {
2121
- assetIP?: string;
2610
+ export class DescribeTrFirewallPolicyBackUpAssociationListRequest extends $tea.Model {
2611
+ firewallId?: string;
2122
2612
  lang?: string;
2123
- trafficTime?: string;
2613
+ trFirewallRoutePolicyId?: string;
2124
2614
  static names(): { [key: string]: string } {
2125
2615
  return {
2126
- assetIP: 'AssetIP',
2616
+ firewallId: 'FirewallId',
2127
2617
  lang: 'Lang',
2128
- trafficTime: 'TrafficTime',
2618
+ trFirewallRoutePolicyId: 'TrFirewallRoutePolicyId',
2129
2619
  };
2130
2620
  }
2131
2621
 
2132
2622
  static types(): { [key: string]: any } {
2133
2623
  return {
2134
- assetIP: 'string',
2624
+ firewallId: 'string',
2135
2625
  lang: 'string',
2136
- trafficTime: 'string',
2626
+ trFirewallRoutePolicyId: 'string',
2137
2627
  };
2138
2628
  }
2139
2629
 
@@ -2142,41 +2632,20 @@ export class DescribeUserAssetIPTrafficInfoRequest extends $tea.Model {
2142
2632
  }
2143
2633
  }
2144
2634
 
2145
- export class DescribeUserAssetIPTrafficInfoResponseBody extends $tea.Model {
2146
- endTime?: number;
2147
- inBps?: number;
2148
- inPps?: number;
2149
- newConn?: number;
2150
- outBps?: number;
2151
- outPps?: number;
2635
+ export class DescribeTrFirewallPolicyBackUpAssociationListResponseBody extends $tea.Model {
2636
+ policyAssociationBackupConfigs?: DescribeTrFirewallPolicyBackUpAssociationListResponseBodyPolicyAssociationBackupConfigs[];
2152
2637
  requestId?: string;
2153
- sessionCount?: number;
2154
- startTime?: number;
2155
2638
  static names(): { [key: string]: string } {
2156
2639
  return {
2157
- endTime: 'EndTime',
2158
- inBps: 'InBps',
2159
- inPps: 'InPps',
2160
- newConn: 'NewConn',
2161
- outBps: 'OutBps',
2162
- outPps: 'OutPps',
2640
+ policyAssociationBackupConfigs: 'PolicyAssociationBackupConfigs',
2163
2641
  requestId: 'RequestId',
2164
- sessionCount: 'SessionCount',
2165
- startTime: 'StartTime',
2166
2642
  };
2167
2643
  }
2168
2644
 
2169
2645
  static types(): { [key: string]: any } {
2170
2646
  return {
2171
- endTime: 'number',
2172
- inBps: 'number',
2173
- inPps: 'number',
2174
- newConn: 'number',
2175
- outBps: 'number',
2176
- outPps: 'number',
2647
+ policyAssociationBackupConfigs: { 'type': 'array', 'itemType': DescribeTrFirewallPolicyBackUpAssociationListResponseBodyPolicyAssociationBackupConfigs },
2177
2648
  requestId: 'string',
2178
- sessionCount: 'number',
2179
- startTime: 'number',
2180
2649
  };
2181
2650
  }
2182
2651
 
@@ -2185,10 +2654,10 @@ export class DescribeUserAssetIPTrafficInfoResponseBody extends $tea.Model {
2185
2654
  }
2186
2655
  }
2187
2656
 
2188
- export class DescribeUserAssetIPTrafficInfoResponse extends $tea.Model {
2657
+ export class DescribeTrFirewallPolicyBackUpAssociationListResponse extends $tea.Model {
2189
2658
  headers: { [key: string]: string };
2190
2659
  statusCode: number;
2191
- body: DescribeUserAssetIPTrafficInfoResponseBody;
2660
+ body: DescribeTrFirewallPolicyBackUpAssociationListResponseBody;
2192
2661
  static names(): { [key: string]: string } {
2193
2662
  return {
2194
2663
  headers: 'headers',
@@ -2201,7 +2670,7 @@ export class DescribeUserAssetIPTrafficInfoResponse extends $tea.Model {
2201
2670
  return {
2202
2671
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2203
2672
  statusCode: 'number',
2204
- body: DescribeUserAssetIPTrafficInfoResponseBody,
2673
+ body: DescribeTrFirewallPolicyBackUpAssociationListResponseBody,
2205
2674
  };
2206
2675
  }
2207
2676
 
@@ -2210,15 +2679,15 @@ export class DescribeUserAssetIPTrafficInfoResponse extends $tea.Model {
2210
2679
  }
2211
2680
  }
2212
2681
 
2213
- export class DescribeVpcFirewallAclGroupListRequest extends $tea.Model {
2214
- currentPage?: string;
2215
- firewallConfigureStatus?: string;
2682
+ export class DescribeTrFirewallV2RoutePolicyListRequest extends $tea.Model {
2683
+ currentPage?: number;
2684
+ firewallId?: string;
2216
2685
  lang?: string;
2217
- pageSize?: string;
2686
+ pageSize?: number;
2218
2687
  static names(): { [key: string]: string } {
2219
2688
  return {
2220
2689
  currentPage: 'CurrentPage',
2221
- firewallConfigureStatus: 'FirewallConfigureStatus',
2690
+ firewallId: 'FirewallId',
2222
2691
  lang: 'Lang',
2223
2692
  pageSize: 'PageSize',
2224
2693
  };
@@ -2226,10 +2695,10 @@ export class DescribeVpcFirewallAclGroupListRequest extends $tea.Model {
2226
2695
 
2227
2696
  static types(): { [key: string]: any } {
2228
2697
  return {
2229
- currentPage: 'string',
2230
- firewallConfigureStatus: 'string',
2698
+ currentPage: 'number',
2699
+ firewallId: 'string',
2231
2700
  lang: 'string',
2232
- pageSize: 'string',
2701
+ pageSize: 'number',
2233
2702
  };
2234
2703
  }
2235
2704
 
@@ -2238,23 +2707,20 @@ export class DescribeVpcFirewallAclGroupListRequest extends $tea.Model {
2238
2707
  }
2239
2708
  }
2240
2709
 
2241
- export class DescribeVpcFirewallAclGroupListResponseBody extends $tea.Model {
2242
- aclGroupList?: DescribeVpcFirewallAclGroupListResponseBodyAclGroupList[];
2710
+ export class DescribeTrFirewallV2RoutePolicyListResponseBody extends $tea.Model {
2243
2711
  requestId?: string;
2244
- totalCount?: number;
2712
+ trFirewallRoutePolicies?: DescribeTrFirewallV2RoutePolicyListResponseBodyTrFirewallRoutePolicies[];
2245
2713
  static names(): { [key: string]: string } {
2246
2714
  return {
2247
- aclGroupList: 'AclGroupList',
2248
2715
  requestId: 'RequestId',
2249
- totalCount: 'TotalCount',
2716
+ trFirewallRoutePolicies: 'TrFirewallRoutePolicies',
2250
2717
  };
2251
2718
  }
2252
2719
 
2253
2720
  static types(): { [key: string]: any } {
2254
2721
  return {
2255
- aclGroupList: { 'type': 'array', 'itemType': DescribeVpcFirewallAclGroupListResponseBodyAclGroupList },
2256
2722
  requestId: 'string',
2257
- totalCount: 'number',
2723
+ trFirewallRoutePolicies: { 'type': 'array', 'itemType': DescribeTrFirewallV2RoutePolicyListResponseBodyTrFirewallRoutePolicies },
2258
2724
  };
2259
2725
  }
2260
2726
 
@@ -2263,10 +2729,10 @@ export class DescribeVpcFirewallAclGroupListResponseBody extends $tea.Model {
2263
2729
  }
2264
2730
  }
2265
2731
 
2266
- export class DescribeVpcFirewallAclGroupListResponse extends $tea.Model {
2732
+ export class DescribeTrFirewallV2RoutePolicyListResponse extends $tea.Model {
2267
2733
  headers: { [key: string]: string };
2268
2734
  statusCode: number;
2269
- body: DescribeVpcFirewallAclGroupListResponseBody;
2735
+ body: DescribeTrFirewallV2RoutePolicyListResponseBody;
2270
2736
  static names(): { [key: string]: string } {
2271
2737
  return {
2272
2738
  headers: 'headers',
@@ -2279,7 +2745,7 @@ export class DescribeVpcFirewallAclGroupListResponse extends $tea.Model {
2279
2745
  return {
2280
2746
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2281
2747
  statusCode: 'number',
2282
- body: DescribeVpcFirewallAclGroupListResponseBody,
2748
+ body: DescribeTrFirewallV2RoutePolicyListResponseBody,
2283
2749
  };
2284
2750
  }
2285
2751
 
@@ -2288,23 +2754,20 @@ export class DescribeVpcFirewallAclGroupListResponse extends $tea.Model {
2288
2754
  }
2289
2755
  }
2290
2756
 
2291
- export class DescribeVpcFirewallCenDetailRequest extends $tea.Model {
2757
+ export class DescribeTrFirewallsV2DetailRequest extends $tea.Model {
2758
+ firewallId?: string;
2292
2759
  lang?: string;
2293
- networkInstanceId?: string;
2294
- vpcFirewallId?: string;
2295
2760
  static names(): { [key: string]: string } {
2296
2761
  return {
2762
+ firewallId: 'FirewallId',
2297
2763
  lang: 'Lang',
2298
- networkInstanceId: 'NetworkInstanceId',
2299
- vpcFirewallId: 'VpcFirewallId',
2300
2764
  };
2301
2765
  }
2302
2766
 
2303
2767
  static types(): { [key: string]: any } {
2304
2768
  return {
2769
+ firewallId: 'string',
2305
2770
  lang: 'string',
2306
- networkInstanceId: 'string',
2307
- vpcFirewallId: 'string',
2308
2771
  };
2309
2772
  }
2310
2773
 
@@ -2313,32 +2776,53 @@ export class DescribeVpcFirewallCenDetailRequest extends $tea.Model {
2313
2776
  }
2314
2777
  }
2315
2778
 
2316
- export class DescribeVpcFirewallCenDetailResponseBody extends $tea.Model {
2317
- connectType?: string;
2779
+ export class DescribeTrFirewallsV2DetailResponseBody extends $tea.Model {
2780
+ cenId?: string;
2781
+ firewallDescription?: string;
2782
+ firewallEniId?: string;
2783
+ firewallEniVpcId?: string;
2784
+ firewallEniVswitchId?: string;
2785
+ firewallId?: string;
2786
+ firewallName?: string;
2787
+ firewallStatus?: string;
2318
2788
  firewallSwitchStatus?: string;
2319
- localVpc?: DescribeVpcFirewallCenDetailResponseBodyLocalVpc;
2789
+ regionNo?: string;
2320
2790
  requestId?: string;
2321
- vpcFirewallId?: string;
2322
- vpcFirewallName?: string;
2791
+ routeMode?: string;
2792
+ transitRouterId?: string;
2323
2793
  static names(): { [key: string]: string } {
2324
2794
  return {
2325
- connectType: 'ConnectType',
2795
+ cenId: 'CenId',
2796
+ firewallDescription: 'FirewallDescription',
2797
+ firewallEniId: 'FirewallEniId',
2798
+ firewallEniVpcId: 'FirewallEniVpcId',
2799
+ firewallEniVswitchId: 'FirewallEniVswitchId',
2800
+ firewallId: 'FirewallId',
2801
+ firewallName: 'FirewallName',
2802
+ firewallStatus: 'FirewallStatus',
2326
2803
  firewallSwitchStatus: 'FirewallSwitchStatus',
2327
- localVpc: 'LocalVpc',
2804
+ regionNo: 'RegionNo',
2328
2805
  requestId: 'RequestId',
2329
- vpcFirewallId: 'VpcFirewallId',
2330
- vpcFirewallName: 'VpcFirewallName',
2806
+ routeMode: 'RouteMode',
2807
+ transitRouterId: 'TransitRouterId',
2331
2808
  };
2332
2809
  }
2333
2810
 
2334
2811
  static types(): { [key: string]: any } {
2335
2812
  return {
2336
- connectType: 'string',
2813
+ cenId: 'string',
2814
+ firewallDescription: 'string',
2815
+ firewallEniId: 'string',
2816
+ firewallEniVpcId: 'string',
2817
+ firewallEniVswitchId: 'string',
2818
+ firewallId: 'string',
2819
+ firewallName: 'string',
2820
+ firewallStatus: 'string',
2337
2821
  firewallSwitchStatus: 'string',
2338
- localVpc: DescribeVpcFirewallCenDetailResponseBodyLocalVpc,
2822
+ regionNo: 'string',
2339
2823
  requestId: 'string',
2340
- vpcFirewallId: 'string',
2341
- vpcFirewallName: 'string',
2824
+ routeMode: 'string',
2825
+ transitRouterId: 'string',
2342
2826
  };
2343
2827
  }
2344
2828
 
@@ -2347,10 +2831,10 @@ export class DescribeVpcFirewallCenDetailResponseBody extends $tea.Model {
2347
2831
  }
2348
2832
  }
2349
2833
 
2350
- export class DescribeVpcFirewallCenDetailResponse extends $tea.Model {
2834
+ export class DescribeTrFirewallsV2DetailResponse extends $tea.Model {
2351
2835
  headers: { [key: string]: string };
2352
2836
  statusCode: number;
2353
- body: DescribeVpcFirewallCenDetailResponseBody;
2837
+ body: DescribeTrFirewallsV2DetailResponseBody;
2354
2838
  static names(): { [key: string]: string } {
2355
2839
  return {
2356
2840
  headers: 'headers',
@@ -2363,7 +2847,7 @@ export class DescribeVpcFirewallCenDetailResponse extends $tea.Model {
2363
2847
  return {
2364
2848
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2365
2849
  statusCode: 'number',
2366
- body: DescribeVpcFirewallCenDetailResponseBody,
2850
+ body: DescribeTrFirewallsV2DetailResponseBody,
2367
2851
  };
2368
2852
  }
2369
2853
 
@@ -2372,53 +2856,47 @@ export class DescribeVpcFirewallCenDetailResponse extends $tea.Model {
2372
2856
  }
2373
2857
  }
2374
2858
 
2375
- export class DescribeVpcFirewallCenListRequest extends $tea.Model {
2859
+ export class DescribeTrFirewallsV2ListRequest extends $tea.Model {
2376
2860
  cenId?: string;
2377
- currentPage?: string;
2861
+ currentPage?: number;
2862
+ firewallId?: string;
2863
+ firewallName?: string;
2378
2864
  firewallSwitchStatus?: string;
2379
2865
  lang?: string;
2380
- memberUid?: string;
2381
- networkInstanceId?: string;
2382
2866
  ownerId?: string;
2383
- pageSize?: string;
2867
+ pageSize?: number;
2384
2868
  regionNo?: string;
2385
2869
  routeMode?: string;
2386
- transitRouterType?: string;
2387
- vpcFirewallId?: string;
2388
- vpcFirewallName?: string;
2870
+ transitRouterId?: string;
2389
2871
  static names(): { [key: string]: string } {
2390
2872
  return {
2391
2873
  cenId: 'CenId',
2392
2874
  currentPage: 'CurrentPage',
2875
+ firewallId: 'FirewallId',
2876
+ firewallName: 'FirewallName',
2393
2877
  firewallSwitchStatus: 'FirewallSwitchStatus',
2394
2878
  lang: 'Lang',
2395
- memberUid: 'MemberUid',
2396
- networkInstanceId: 'NetworkInstanceId',
2397
2879
  ownerId: 'OwnerId',
2398
2880
  pageSize: 'PageSize',
2399
2881
  regionNo: 'RegionNo',
2400
2882
  routeMode: 'RouteMode',
2401
- transitRouterType: 'TransitRouterType',
2402
- vpcFirewallId: 'VpcFirewallId',
2403
- vpcFirewallName: 'VpcFirewallName',
2883
+ transitRouterId: 'TransitRouterId',
2404
2884
  };
2405
2885
  }
2406
2886
 
2407
2887
  static types(): { [key: string]: any } {
2408
2888
  return {
2409
2889
  cenId: 'string',
2410
- currentPage: 'string',
2890
+ currentPage: 'number',
2891
+ firewallId: 'string',
2892
+ firewallName: 'string',
2411
2893
  firewallSwitchStatus: 'string',
2412
2894
  lang: 'string',
2413
- memberUid: 'string',
2414
- networkInstanceId: 'string',
2415
2895
  ownerId: 'string',
2416
- pageSize: 'string',
2896
+ pageSize: 'number',
2417
2897
  regionNo: 'string',
2418
2898
  routeMode: 'string',
2419
- transitRouterType: 'string',
2420
- vpcFirewallId: 'string',
2421
- vpcFirewallName: 'string',
2899
+ transitRouterId: 'string',
2422
2900
  };
2423
2901
  }
2424
2902
 
@@ -2427,23 +2905,23 @@ export class DescribeVpcFirewallCenListRequest extends $tea.Model {
2427
2905
  }
2428
2906
  }
2429
2907
 
2430
- export class DescribeVpcFirewallCenListResponseBody extends $tea.Model {
2908
+ export class DescribeTrFirewallsV2ListResponseBody extends $tea.Model {
2431
2909
  requestId?: string;
2432
- totalCount?: number;
2433
- vpcFirewalls?: DescribeVpcFirewallCenListResponseBodyVpcFirewalls[];
2910
+ totalCount?: string;
2911
+ vpcTrFirewalls?: DescribeTrFirewallsV2ListResponseBodyVpcTrFirewalls[];
2434
2912
  static names(): { [key: string]: string } {
2435
2913
  return {
2436
2914
  requestId: 'RequestId',
2437
2915
  totalCount: 'TotalCount',
2438
- vpcFirewalls: 'VpcFirewalls',
2916
+ vpcTrFirewalls: 'VpcTrFirewalls',
2439
2917
  };
2440
2918
  }
2441
2919
 
2442
2920
  static types(): { [key: string]: any } {
2443
2921
  return {
2444
2922
  requestId: 'string',
2445
- totalCount: 'number',
2446
- vpcFirewalls: { 'type': 'array', 'itemType': DescribeVpcFirewallCenListResponseBodyVpcFirewalls },
2923
+ totalCount: 'string',
2924
+ vpcTrFirewalls: { 'type': 'array', 'itemType': DescribeTrFirewallsV2ListResponseBodyVpcTrFirewalls },
2447
2925
  };
2448
2926
  }
2449
2927
 
@@ -2452,10 +2930,10 @@ export class DescribeVpcFirewallCenListResponseBody extends $tea.Model {
2452
2930
  }
2453
2931
  }
2454
2932
 
2455
- export class DescribeVpcFirewallCenListResponse extends $tea.Model {
2933
+ export class DescribeTrFirewallsV2ListResponse extends $tea.Model {
2456
2934
  headers: { [key: string]: string };
2457
2935
  statusCode: number;
2458
- body: DescribeVpcFirewallCenListResponseBody;
2936
+ body: DescribeTrFirewallsV2ListResponseBody;
2459
2937
  static names(): { [key: string]: string } {
2460
2938
  return {
2461
2939
  headers: 'headers',
@@ -2468,7 +2946,7 @@ export class DescribeVpcFirewallCenListResponse extends $tea.Model {
2468
2946
  return {
2469
2947
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2470
2948
  statusCode: 'number',
2471
- body: DescribeVpcFirewallCenListResponseBody,
2949
+ body: DescribeTrFirewallsV2ListResponseBody,
2472
2950
  };
2473
2951
  }
2474
2952
 
@@ -2477,50 +2955,29 @@ export class DescribeVpcFirewallCenListResponse extends $tea.Model {
2477
2955
  }
2478
2956
  }
2479
2957
 
2480
- export class DescribeVpcFirewallControlPolicyRequest extends $tea.Model {
2481
- aclAction?: string;
2482
- aclUuid?: string;
2958
+ export class DescribeTrFirewallsV2RouteListRequest extends $tea.Model {
2483
2959
  currentPage?: string;
2484
- description?: string;
2485
- destination?: string;
2960
+ firewallId?: string;
2486
2961
  lang?: string;
2487
- memberUid?: string;
2488
2962
  pageSize?: string;
2489
- proto?: string;
2490
- release?: string;
2491
- source?: string;
2492
- vpcFirewallId?: string;
2963
+ trFirewallRoutePolicyId?: string;
2493
2964
  static names(): { [key: string]: string } {
2494
2965
  return {
2495
- aclAction: 'AclAction',
2496
- aclUuid: 'AclUuid',
2497
2966
  currentPage: 'CurrentPage',
2498
- description: 'Description',
2499
- destination: 'Destination',
2967
+ firewallId: 'FirewallId',
2500
2968
  lang: 'Lang',
2501
- memberUid: 'MemberUid',
2502
2969
  pageSize: 'PageSize',
2503
- proto: 'Proto',
2504
- release: 'Release',
2505
- source: 'Source',
2506
- vpcFirewallId: 'VpcFirewallId',
2970
+ trFirewallRoutePolicyId: 'TrFirewallRoutePolicyId',
2507
2971
  };
2508
2972
  }
2509
2973
 
2510
2974
  static types(): { [key: string]: any } {
2511
2975
  return {
2512
- aclAction: 'string',
2513
- aclUuid: 'string',
2514
2976
  currentPage: 'string',
2515
- description: 'string',
2516
- destination: 'string',
2977
+ firewallId: 'string',
2517
2978
  lang: 'string',
2518
- memberUid: 'string',
2519
2979
  pageSize: 'string',
2520
- proto: 'string',
2521
- release: 'string',
2522
- source: 'string',
2523
- vpcFirewallId: 'string',
2980
+ trFirewallRoutePolicyId: 'string',
2524
2981
  };
2525
2982
  }
2526
2983
 
@@ -2529,23 +2986,20 @@ export class DescribeVpcFirewallControlPolicyRequest extends $tea.Model {
2529
2986
  }
2530
2987
  }
2531
2988
 
2532
- export class DescribeVpcFirewallControlPolicyResponseBody extends $tea.Model {
2533
- policys?: DescribeVpcFirewallControlPolicyResponseBodyPolicys[];
2989
+ export class DescribeTrFirewallsV2RouteListResponseBody extends $tea.Model {
2990
+ firewallRouteDetailList?: DescribeTrFirewallsV2RouteListResponseBodyFirewallRouteDetailList[];
2534
2991
  requestId?: string;
2535
- totalCount?: string;
2536
2992
  static names(): { [key: string]: string } {
2537
2993
  return {
2538
- policys: 'Policys',
2994
+ firewallRouteDetailList: 'FirewallRouteDetailList',
2539
2995
  requestId: 'RequestId',
2540
- totalCount: 'TotalCount',
2541
2996
  };
2542
2997
  }
2543
2998
 
2544
2999
  static types(): { [key: string]: any } {
2545
3000
  return {
2546
- policys: { 'type': 'array', 'itemType': DescribeVpcFirewallControlPolicyResponseBodyPolicys },
3001
+ firewallRouteDetailList: { 'type': 'array', 'itemType': DescribeTrFirewallsV2RouteListResponseBodyFirewallRouteDetailList },
2547
3002
  requestId: 'string',
2548
- totalCount: 'string',
2549
3003
  };
2550
3004
  }
2551
3005
 
@@ -2554,10 +3008,10 @@ export class DescribeVpcFirewallControlPolicyResponseBody extends $tea.Model {
2554
3008
  }
2555
3009
  }
2556
3010
 
2557
- export class DescribeVpcFirewallControlPolicyResponse extends $tea.Model {
3011
+ export class DescribeTrFirewallsV2RouteListResponse extends $tea.Model {
2558
3012
  headers: { [key: string]: string };
2559
3013
  statusCode: number;
2560
- body: DescribeVpcFirewallControlPolicyResponseBody;
3014
+ body: DescribeTrFirewallsV2RouteListResponseBody;
2561
3015
  static names(): { [key: string]: string } {
2562
3016
  return {
2563
3017
  headers: 'headers',
@@ -2570,7 +3024,7 @@ export class DescribeVpcFirewallControlPolicyResponse extends $tea.Model {
2570
3024
  return {
2571
3025
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2572
3026
  statusCode: 'number',
2573
- body: DescribeVpcFirewallControlPolicyResponseBody,
3027
+ body: DescribeTrFirewallsV2RouteListResponseBody,
2574
3028
  };
2575
3029
  }
2576
3030
 
@@ -2579,20 +3033,23 @@ export class DescribeVpcFirewallControlPolicyResponse extends $tea.Model {
2579
3033
  }
2580
3034
  }
2581
3035
 
2582
- export class DescribeVpcFirewallDefaultIPSConfigRequest extends $tea.Model {
2583
- memberUid?: string;
2584
- vpcFirewallId?: string;
3036
+ export class DescribeUserAssetIPTrafficInfoRequest extends $tea.Model {
3037
+ assetIP?: string;
3038
+ lang?: string;
3039
+ trafficTime?: string;
2585
3040
  static names(): { [key: string]: string } {
2586
3041
  return {
2587
- memberUid: 'MemberUid',
2588
- vpcFirewallId: 'VpcFirewallId',
3042
+ assetIP: 'AssetIP',
3043
+ lang: 'Lang',
3044
+ trafficTime: 'TrafficTime',
2589
3045
  };
2590
3046
  }
2591
3047
 
2592
3048
  static types(): { [key: string]: any } {
2593
3049
  return {
2594
- memberUid: 'string',
2595
- vpcFirewallId: 'string',
3050
+ assetIP: 'string',
3051
+ lang: 'string',
3052
+ trafficTime: 'string',
2596
3053
  };
2597
3054
  }
2598
3055
 
@@ -2601,26 +3058,41 @@ export class DescribeVpcFirewallDefaultIPSConfigRequest extends $tea.Model {
2601
3058
  }
2602
3059
  }
2603
3060
 
2604
- export class DescribeVpcFirewallDefaultIPSConfigResponseBody extends $tea.Model {
2605
- basicRules?: number;
2606
- enableAllPatch?: number;
3061
+ export class DescribeUserAssetIPTrafficInfoResponseBody extends $tea.Model {
3062
+ endTime?: number;
3063
+ inBps?: number;
3064
+ inPps?: number;
3065
+ newConn?: number;
3066
+ outBps?: number;
3067
+ outPps?: number;
2607
3068
  requestId?: string;
2608
- runMode?: number;
3069
+ sessionCount?: number;
3070
+ startTime?: number;
2609
3071
  static names(): { [key: string]: string } {
2610
3072
  return {
2611
- basicRules: 'BasicRules',
2612
- enableAllPatch: 'EnableAllPatch',
3073
+ endTime: 'EndTime',
3074
+ inBps: 'InBps',
3075
+ inPps: 'InPps',
3076
+ newConn: 'NewConn',
3077
+ outBps: 'OutBps',
3078
+ outPps: 'OutPps',
2613
3079
  requestId: 'RequestId',
2614
- runMode: 'RunMode',
3080
+ sessionCount: 'SessionCount',
3081
+ startTime: 'StartTime',
2615
3082
  };
2616
3083
  }
2617
3084
 
2618
3085
  static types(): { [key: string]: any } {
2619
3086
  return {
2620
- basicRules: 'number',
2621
- enableAllPatch: 'number',
3087
+ endTime: 'number',
3088
+ inBps: 'number',
3089
+ inPps: 'number',
3090
+ newConn: 'number',
3091
+ outBps: 'number',
3092
+ outPps: 'number',
2622
3093
  requestId: 'string',
2623
- runMode: 'number',
3094
+ sessionCount: 'number',
3095
+ startTime: 'number',
2624
3096
  };
2625
3097
  }
2626
3098
 
@@ -2629,10 +3101,10 @@ export class DescribeVpcFirewallDefaultIPSConfigResponseBody extends $tea.Model
2629
3101
  }
2630
3102
  }
2631
3103
 
2632
- export class DescribeVpcFirewallDefaultIPSConfigResponse extends $tea.Model {
3104
+ export class DescribeUserAssetIPTrafficInfoResponse extends $tea.Model {
2633
3105
  headers: { [key: string]: string };
2634
3106
  statusCode: number;
2635
- body: DescribeVpcFirewallDefaultIPSConfigResponseBody;
3107
+ body: DescribeUserAssetIPTrafficInfoResponseBody;
2636
3108
  static names(): { [key: string]: string } {
2637
3109
  return {
2638
3110
  headers: 'headers',
@@ -2645,7 +3117,7 @@ export class DescribeVpcFirewallDefaultIPSConfigResponse extends $tea.Model {
2645
3117
  return {
2646
3118
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2647
3119
  statusCode: 'number',
2648
- body: DescribeVpcFirewallDefaultIPSConfigResponseBody,
3120
+ body: DescribeUserAssetIPTrafficInfoResponseBody,
2649
3121
  };
2650
3122
  }
2651
3123
 
@@ -2654,26 +3126,26 @@ export class DescribeVpcFirewallDefaultIPSConfigResponse extends $tea.Model {
2654
3126
  }
2655
3127
  }
2656
3128
 
2657
- export class DescribeVpcFirewallDetailRequest extends $tea.Model {
3129
+ export class DescribeVpcFirewallAclGroupListRequest extends $tea.Model {
3130
+ currentPage?: string;
3131
+ firewallConfigureStatus?: string;
2658
3132
  lang?: string;
2659
- localVpcId?: string;
2660
- peerVpcId?: string;
2661
- vpcFirewallId?: string;
3133
+ pageSize?: string;
2662
3134
  static names(): { [key: string]: string } {
2663
3135
  return {
3136
+ currentPage: 'CurrentPage',
3137
+ firewallConfigureStatus: 'FirewallConfigureStatus',
2664
3138
  lang: 'Lang',
2665
- localVpcId: 'LocalVpcId',
2666
- peerVpcId: 'PeerVpcId',
2667
- vpcFirewallId: 'VpcFirewallId',
3139
+ pageSize: 'PageSize',
2668
3140
  };
2669
3141
  }
2670
3142
 
2671
3143
  static types(): { [key: string]: any } {
2672
3144
  return {
3145
+ currentPage: 'string',
3146
+ firewallConfigureStatus: 'string',
2673
3147
  lang: 'string',
2674
- localVpcId: 'string',
2675
- peerVpcId: 'string',
2676
- vpcFirewallId: 'string',
3148
+ pageSize: 'string',
2677
3149
  };
2678
3150
  }
2679
3151
 
@@ -2682,41 +3154,485 @@ export class DescribeVpcFirewallDetailRequest extends $tea.Model {
2682
3154
  }
2683
3155
  }
2684
3156
 
2685
- export class DescribeVpcFirewallDetailResponseBody extends $tea.Model {
2686
- bandwidth?: number;
2687
- connectType?: string;
2688
- firewallSwitchStatus?: string;
2689
- localVpc?: DescribeVpcFirewallDetailResponseBodyLocalVpc;
2690
- memberUid?: string;
2691
- peerVpc?: DescribeVpcFirewallDetailResponseBodyPeerVpc;
3157
+ export class DescribeVpcFirewallAclGroupListResponseBody extends $tea.Model {
3158
+ aclGroupList?: DescribeVpcFirewallAclGroupListResponseBodyAclGroupList[];
2692
3159
  requestId?: string;
2693
- vpcFirewallId?: string;
2694
- vpcFirewallName?: string;
3160
+ totalCount?: number;
2695
3161
  static names(): { [key: string]: string } {
2696
3162
  return {
2697
- bandwidth: 'Bandwidth',
2698
- connectType: 'ConnectType',
2699
- firewallSwitchStatus: 'FirewallSwitchStatus',
2700
- localVpc: 'LocalVpc',
2701
- memberUid: 'MemberUid',
2702
- peerVpc: 'PeerVpc',
3163
+ aclGroupList: 'AclGroupList',
2703
3164
  requestId: 'RequestId',
2704
- vpcFirewallId: 'VpcFirewallId',
2705
- vpcFirewallName: 'VpcFirewallName',
3165
+ totalCount: 'TotalCount',
2706
3166
  };
2707
3167
  }
2708
3168
 
2709
3169
  static types(): { [key: string]: any } {
2710
3170
  return {
2711
- bandwidth: 'number',
2712
- connectType: 'string',
2713
- firewallSwitchStatus: 'string',
2714
- localVpc: DescribeVpcFirewallDetailResponseBodyLocalVpc,
2715
- memberUid: 'string',
2716
- peerVpc: DescribeVpcFirewallDetailResponseBodyPeerVpc,
3171
+ aclGroupList: { 'type': 'array', 'itemType': DescribeVpcFirewallAclGroupListResponseBodyAclGroupList },
2717
3172
  requestId: 'string',
2718
- vpcFirewallId: 'string',
2719
- vpcFirewallName: 'string',
3173
+ totalCount: 'number',
3174
+ };
3175
+ }
3176
+
3177
+ constructor(map?: { [key: string]: any }) {
3178
+ super(map);
3179
+ }
3180
+ }
3181
+
3182
+ export class DescribeVpcFirewallAclGroupListResponse extends $tea.Model {
3183
+ headers: { [key: string]: string };
3184
+ statusCode: number;
3185
+ body: DescribeVpcFirewallAclGroupListResponseBody;
3186
+ static names(): { [key: string]: string } {
3187
+ return {
3188
+ headers: 'headers',
3189
+ statusCode: 'statusCode',
3190
+ body: 'body',
3191
+ };
3192
+ }
3193
+
3194
+ static types(): { [key: string]: any } {
3195
+ return {
3196
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3197
+ statusCode: 'number',
3198
+ body: DescribeVpcFirewallAclGroupListResponseBody,
3199
+ };
3200
+ }
3201
+
3202
+ constructor(map?: { [key: string]: any }) {
3203
+ super(map);
3204
+ }
3205
+ }
3206
+
3207
+ export class DescribeVpcFirewallCenDetailRequest extends $tea.Model {
3208
+ lang?: string;
3209
+ networkInstanceId?: string;
3210
+ vpcFirewallId?: string;
3211
+ static names(): { [key: string]: string } {
3212
+ return {
3213
+ lang: 'Lang',
3214
+ networkInstanceId: 'NetworkInstanceId',
3215
+ vpcFirewallId: 'VpcFirewallId',
3216
+ };
3217
+ }
3218
+
3219
+ static types(): { [key: string]: any } {
3220
+ return {
3221
+ lang: 'string',
3222
+ networkInstanceId: 'string',
3223
+ vpcFirewallId: 'string',
3224
+ };
3225
+ }
3226
+
3227
+ constructor(map?: { [key: string]: any }) {
3228
+ super(map);
3229
+ }
3230
+ }
3231
+
3232
+ export class DescribeVpcFirewallCenDetailResponseBody extends $tea.Model {
3233
+ connectType?: string;
3234
+ firewallSwitchStatus?: string;
3235
+ localVpc?: DescribeVpcFirewallCenDetailResponseBodyLocalVpc;
3236
+ requestId?: string;
3237
+ vpcFirewallId?: string;
3238
+ vpcFirewallName?: string;
3239
+ static names(): { [key: string]: string } {
3240
+ return {
3241
+ connectType: 'ConnectType',
3242
+ firewallSwitchStatus: 'FirewallSwitchStatus',
3243
+ localVpc: 'LocalVpc',
3244
+ requestId: 'RequestId',
3245
+ vpcFirewallId: 'VpcFirewallId',
3246
+ vpcFirewallName: 'VpcFirewallName',
3247
+ };
3248
+ }
3249
+
3250
+ static types(): { [key: string]: any } {
3251
+ return {
3252
+ connectType: 'string',
3253
+ firewallSwitchStatus: 'string',
3254
+ localVpc: DescribeVpcFirewallCenDetailResponseBodyLocalVpc,
3255
+ requestId: 'string',
3256
+ vpcFirewallId: 'string',
3257
+ vpcFirewallName: 'string',
3258
+ };
3259
+ }
3260
+
3261
+ constructor(map?: { [key: string]: any }) {
3262
+ super(map);
3263
+ }
3264
+ }
3265
+
3266
+ export class DescribeVpcFirewallCenDetailResponse extends $tea.Model {
3267
+ headers: { [key: string]: string };
3268
+ statusCode: number;
3269
+ body: DescribeVpcFirewallCenDetailResponseBody;
3270
+ static names(): { [key: string]: string } {
3271
+ return {
3272
+ headers: 'headers',
3273
+ statusCode: 'statusCode',
3274
+ body: 'body',
3275
+ };
3276
+ }
3277
+
3278
+ static types(): { [key: string]: any } {
3279
+ return {
3280
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3281
+ statusCode: 'number',
3282
+ body: DescribeVpcFirewallCenDetailResponseBody,
3283
+ };
3284
+ }
3285
+
3286
+ constructor(map?: { [key: string]: any }) {
3287
+ super(map);
3288
+ }
3289
+ }
3290
+
3291
+ export class DescribeVpcFirewallCenListRequest extends $tea.Model {
3292
+ cenId?: string;
3293
+ currentPage?: string;
3294
+ firewallSwitchStatus?: string;
3295
+ lang?: string;
3296
+ memberUid?: string;
3297
+ networkInstanceId?: string;
3298
+ ownerId?: string;
3299
+ pageSize?: string;
3300
+ regionNo?: string;
3301
+ routeMode?: string;
3302
+ transitRouterType?: string;
3303
+ vpcFirewallId?: string;
3304
+ vpcFirewallName?: string;
3305
+ static names(): { [key: string]: string } {
3306
+ return {
3307
+ cenId: 'CenId',
3308
+ currentPage: 'CurrentPage',
3309
+ firewallSwitchStatus: 'FirewallSwitchStatus',
3310
+ lang: 'Lang',
3311
+ memberUid: 'MemberUid',
3312
+ networkInstanceId: 'NetworkInstanceId',
3313
+ ownerId: 'OwnerId',
3314
+ pageSize: 'PageSize',
3315
+ regionNo: 'RegionNo',
3316
+ routeMode: 'RouteMode',
3317
+ transitRouterType: 'TransitRouterType',
3318
+ vpcFirewallId: 'VpcFirewallId',
3319
+ vpcFirewallName: 'VpcFirewallName',
3320
+ };
3321
+ }
3322
+
3323
+ static types(): { [key: string]: any } {
3324
+ return {
3325
+ cenId: 'string',
3326
+ currentPage: 'string',
3327
+ firewallSwitchStatus: 'string',
3328
+ lang: 'string',
3329
+ memberUid: 'string',
3330
+ networkInstanceId: 'string',
3331
+ ownerId: 'string',
3332
+ pageSize: 'string',
3333
+ regionNo: 'string',
3334
+ routeMode: 'string',
3335
+ transitRouterType: 'string',
3336
+ vpcFirewallId: 'string',
3337
+ vpcFirewallName: 'string',
3338
+ };
3339
+ }
3340
+
3341
+ constructor(map?: { [key: string]: any }) {
3342
+ super(map);
3343
+ }
3344
+ }
3345
+
3346
+ export class DescribeVpcFirewallCenListResponseBody extends $tea.Model {
3347
+ requestId?: string;
3348
+ totalCount?: number;
3349
+ vpcFirewalls?: DescribeVpcFirewallCenListResponseBodyVpcFirewalls[];
3350
+ static names(): { [key: string]: string } {
3351
+ return {
3352
+ requestId: 'RequestId',
3353
+ totalCount: 'TotalCount',
3354
+ vpcFirewalls: 'VpcFirewalls',
3355
+ };
3356
+ }
3357
+
3358
+ static types(): { [key: string]: any } {
3359
+ return {
3360
+ requestId: 'string',
3361
+ totalCount: 'number',
3362
+ vpcFirewalls: { 'type': 'array', 'itemType': DescribeVpcFirewallCenListResponseBodyVpcFirewalls },
3363
+ };
3364
+ }
3365
+
3366
+ constructor(map?: { [key: string]: any }) {
3367
+ super(map);
3368
+ }
3369
+ }
3370
+
3371
+ export class DescribeVpcFirewallCenListResponse extends $tea.Model {
3372
+ headers: { [key: string]: string };
3373
+ statusCode: number;
3374
+ body: DescribeVpcFirewallCenListResponseBody;
3375
+ static names(): { [key: string]: string } {
3376
+ return {
3377
+ headers: 'headers',
3378
+ statusCode: 'statusCode',
3379
+ body: 'body',
3380
+ };
3381
+ }
3382
+
3383
+ static types(): { [key: string]: any } {
3384
+ return {
3385
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3386
+ statusCode: 'number',
3387
+ body: DescribeVpcFirewallCenListResponseBody,
3388
+ };
3389
+ }
3390
+
3391
+ constructor(map?: { [key: string]: any }) {
3392
+ super(map);
3393
+ }
3394
+ }
3395
+
3396
+ export class DescribeVpcFirewallControlPolicyRequest extends $tea.Model {
3397
+ aclAction?: string;
3398
+ aclUuid?: string;
3399
+ currentPage?: string;
3400
+ description?: string;
3401
+ destination?: string;
3402
+ lang?: string;
3403
+ memberUid?: string;
3404
+ pageSize?: string;
3405
+ proto?: string;
3406
+ release?: string;
3407
+ source?: string;
3408
+ vpcFirewallId?: string;
3409
+ static names(): { [key: string]: string } {
3410
+ return {
3411
+ aclAction: 'AclAction',
3412
+ aclUuid: 'AclUuid',
3413
+ currentPage: 'CurrentPage',
3414
+ description: 'Description',
3415
+ destination: 'Destination',
3416
+ lang: 'Lang',
3417
+ memberUid: 'MemberUid',
3418
+ pageSize: 'PageSize',
3419
+ proto: 'Proto',
3420
+ release: 'Release',
3421
+ source: 'Source',
3422
+ vpcFirewallId: 'VpcFirewallId',
3423
+ };
3424
+ }
3425
+
3426
+ static types(): { [key: string]: any } {
3427
+ return {
3428
+ aclAction: 'string',
3429
+ aclUuid: 'string',
3430
+ currentPage: 'string',
3431
+ description: 'string',
3432
+ destination: 'string',
3433
+ lang: 'string',
3434
+ memberUid: 'string',
3435
+ pageSize: 'string',
3436
+ proto: 'string',
3437
+ release: 'string',
3438
+ source: 'string',
3439
+ vpcFirewallId: 'string',
3440
+ };
3441
+ }
3442
+
3443
+ constructor(map?: { [key: string]: any }) {
3444
+ super(map);
3445
+ }
3446
+ }
3447
+
3448
+ export class DescribeVpcFirewallControlPolicyResponseBody extends $tea.Model {
3449
+ policys?: DescribeVpcFirewallControlPolicyResponseBodyPolicys[];
3450
+ requestId?: string;
3451
+ totalCount?: string;
3452
+ static names(): { [key: string]: string } {
3453
+ return {
3454
+ policys: 'Policys',
3455
+ requestId: 'RequestId',
3456
+ totalCount: 'TotalCount',
3457
+ };
3458
+ }
3459
+
3460
+ static types(): { [key: string]: any } {
3461
+ return {
3462
+ policys: { 'type': 'array', 'itemType': DescribeVpcFirewallControlPolicyResponseBodyPolicys },
3463
+ requestId: 'string',
3464
+ totalCount: 'string',
3465
+ };
3466
+ }
3467
+
3468
+ constructor(map?: { [key: string]: any }) {
3469
+ super(map);
3470
+ }
3471
+ }
3472
+
3473
+ export class DescribeVpcFirewallControlPolicyResponse extends $tea.Model {
3474
+ headers: { [key: string]: string };
3475
+ statusCode: number;
3476
+ body: DescribeVpcFirewallControlPolicyResponseBody;
3477
+ static names(): { [key: string]: string } {
3478
+ return {
3479
+ headers: 'headers',
3480
+ statusCode: 'statusCode',
3481
+ body: 'body',
3482
+ };
3483
+ }
3484
+
3485
+ static types(): { [key: string]: any } {
3486
+ return {
3487
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3488
+ statusCode: 'number',
3489
+ body: DescribeVpcFirewallControlPolicyResponseBody,
3490
+ };
3491
+ }
3492
+
3493
+ constructor(map?: { [key: string]: any }) {
3494
+ super(map);
3495
+ }
3496
+ }
3497
+
3498
+ export class DescribeVpcFirewallDefaultIPSConfigRequest extends $tea.Model {
3499
+ memberUid?: string;
3500
+ vpcFirewallId?: string;
3501
+ static names(): { [key: string]: string } {
3502
+ return {
3503
+ memberUid: 'MemberUid',
3504
+ vpcFirewallId: 'VpcFirewallId',
3505
+ };
3506
+ }
3507
+
3508
+ static types(): { [key: string]: any } {
3509
+ return {
3510
+ memberUid: 'string',
3511
+ vpcFirewallId: 'string',
3512
+ };
3513
+ }
3514
+
3515
+ constructor(map?: { [key: string]: any }) {
3516
+ super(map);
3517
+ }
3518
+ }
3519
+
3520
+ export class DescribeVpcFirewallDefaultIPSConfigResponseBody extends $tea.Model {
3521
+ basicRules?: number;
3522
+ enableAllPatch?: number;
3523
+ requestId?: string;
3524
+ runMode?: number;
3525
+ static names(): { [key: string]: string } {
3526
+ return {
3527
+ basicRules: 'BasicRules',
3528
+ enableAllPatch: 'EnableAllPatch',
3529
+ requestId: 'RequestId',
3530
+ runMode: 'RunMode',
3531
+ };
3532
+ }
3533
+
3534
+ static types(): { [key: string]: any } {
3535
+ return {
3536
+ basicRules: 'number',
3537
+ enableAllPatch: 'number',
3538
+ requestId: 'string',
3539
+ runMode: 'number',
3540
+ };
3541
+ }
3542
+
3543
+ constructor(map?: { [key: string]: any }) {
3544
+ super(map);
3545
+ }
3546
+ }
3547
+
3548
+ export class DescribeVpcFirewallDefaultIPSConfigResponse extends $tea.Model {
3549
+ headers: { [key: string]: string };
3550
+ statusCode: number;
3551
+ body: DescribeVpcFirewallDefaultIPSConfigResponseBody;
3552
+ static names(): { [key: string]: string } {
3553
+ return {
3554
+ headers: 'headers',
3555
+ statusCode: 'statusCode',
3556
+ body: 'body',
3557
+ };
3558
+ }
3559
+
3560
+ static types(): { [key: string]: any } {
3561
+ return {
3562
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3563
+ statusCode: 'number',
3564
+ body: DescribeVpcFirewallDefaultIPSConfigResponseBody,
3565
+ };
3566
+ }
3567
+
3568
+ constructor(map?: { [key: string]: any }) {
3569
+ super(map);
3570
+ }
3571
+ }
3572
+
3573
+ export class DescribeVpcFirewallDetailRequest extends $tea.Model {
3574
+ lang?: string;
3575
+ localVpcId?: string;
3576
+ peerVpcId?: string;
3577
+ vpcFirewallId?: string;
3578
+ static names(): { [key: string]: string } {
3579
+ return {
3580
+ lang: 'Lang',
3581
+ localVpcId: 'LocalVpcId',
3582
+ peerVpcId: 'PeerVpcId',
3583
+ vpcFirewallId: 'VpcFirewallId',
3584
+ };
3585
+ }
3586
+
3587
+ static types(): { [key: string]: any } {
3588
+ return {
3589
+ lang: 'string',
3590
+ localVpcId: 'string',
3591
+ peerVpcId: 'string',
3592
+ vpcFirewallId: 'string',
3593
+ };
3594
+ }
3595
+
3596
+ constructor(map?: { [key: string]: any }) {
3597
+ super(map);
3598
+ }
3599
+ }
3600
+
3601
+ export class DescribeVpcFirewallDetailResponseBody extends $tea.Model {
3602
+ bandwidth?: number;
3603
+ connectType?: string;
3604
+ firewallSwitchStatus?: string;
3605
+ localVpc?: DescribeVpcFirewallDetailResponseBodyLocalVpc;
3606
+ memberUid?: string;
3607
+ peerVpc?: DescribeVpcFirewallDetailResponseBodyPeerVpc;
3608
+ requestId?: string;
3609
+ vpcFirewallId?: string;
3610
+ vpcFirewallName?: string;
3611
+ static names(): { [key: string]: string } {
3612
+ return {
3613
+ bandwidth: 'Bandwidth',
3614
+ connectType: 'ConnectType',
3615
+ firewallSwitchStatus: 'FirewallSwitchStatus',
3616
+ localVpc: 'LocalVpc',
3617
+ memberUid: 'MemberUid',
3618
+ peerVpc: 'PeerVpc',
3619
+ requestId: 'RequestId',
3620
+ vpcFirewallId: 'VpcFirewallId',
3621
+ vpcFirewallName: 'VpcFirewallName',
3622
+ };
3623
+ }
3624
+
3625
+ static types(): { [key: string]: any } {
3626
+ return {
3627
+ bandwidth: 'number',
3628
+ connectType: 'string',
3629
+ firewallSwitchStatus: 'string',
3630
+ localVpc: DescribeVpcFirewallDetailResponseBodyLocalVpc,
3631
+ memberUid: 'string',
3632
+ peerVpc: DescribeVpcFirewallDetailResponseBodyPeerVpc,
3633
+ requestId: 'string',
3634
+ vpcFirewallId: 'string',
3635
+ vpcFirewallName: 'string',
2720
3636
  };
2721
3637
  }
2722
3638
 
@@ -3311,6 +4227,81 @@ export class ModifyControlPolicyPositionResponse extends $tea.Model {
3311
4227
  }
3312
4228
  }
3313
4229
 
4230
+ export class ModifyFirewallV2RoutePolicySwitchRequest extends $tea.Model {
4231
+ firewallId?: string;
4232
+ lang?: string;
4233
+ shouldRecover?: string;
4234
+ trFirewallRoutePolicyId?: string;
4235
+ trFirewallRoutePolicySwitchStatus?: string;
4236
+ static names(): { [key: string]: string } {
4237
+ return {
4238
+ firewallId: 'FirewallId',
4239
+ lang: 'Lang',
4240
+ shouldRecover: 'ShouldRecover',
4241
+ trFirewallRoutePolicyId: 'TrFirewallRoutePolicyId',
4242
+ trFirewallRoutePolicySwitchStatus: 'TrFirewallRoutePolicySwitchStatus',
4243
+ };
4244
+ }
4245
+
4246
+ static types(): { [key: string]: any } {
4247
+ return {
4248
+ firewallId: 'string',
4249
+ lang: 'string',
4250
+ shouldRecover: 'string',
4251
+ trFirewallRoutePolicyId: 'string',
4252
+ trFirewallRoutePolicySwitchStatus: 'string',
4253
+ };
4254
+ }
4255
+
4256
+ constructor(map?: { [key: string]: any }) {
4257
+ super(map);
4258
+ }
4259
+ }
4260
+
4261
+ export class ModifyFirewallV2RoutePolicySwitchResponseBody extends $tea.Model {
4262
+ requestId?: string;
4263
+ static names(): { [key: string]: string } {
4264
+ return {
4265
+ requestId: 'RequestId',
4266
+ };
4267
+ }
4268
+
4269
+ static types(): { [key: string]: any } {
4270
+ return {
4271
+ requestId: 'string',
4272
+ };
4273
+ }
4274
+
4275
+ constructor(map?: { [key: string]: any }) {
4276
+ super(map);
4277
+ }
4278
+ }
4279
+
4280
+ export class ModifyFirewallV2RoutePolicySwitchResponse extends $tea.Model {
4281
+ headers: { [key: string]: string };
4282
+ statusCode: number;
4283
+ body: ModifyFirewallV2RoutePolicySwitchResponseBody;
4284
+ static names(): { [key: string]: string } {
4285
+ return {
4286
+ headers: 'headers',
4287
+ statusCode: 'statusCode',
4288
+ body: 'body',
4289
+ };
4290
+ }
4291
+
4292
+ static types(): { [key: string]: any } {
4293
+ return {
4294
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
4295
+ statusCode: 'number',
4296
+ body: ModifyFirewallV2RoutePolicySwitchResponseBody,
4297
+ };
4298
+ }
4299
+
4300
+ constructor(map?: { [key: string]: any }) {
4301
+ super(map);
4302
+ }
4303
+ }
4304
+
3314
4305
  export class ModifyInstanceMemberAttributesRequest extends $tea.Model {
3315
4306
  members?: ModifyInstanceMemberAttributesRequestMembers[];
3316
4307
  static names(): { [key: string]: string } {
@@ -3349,23 +4340,192 @@ export class ModifyInstanceMemberAttributesResponseBody extends $tea.Model {
3349
4340
  }
3350
4341
  }
3351
4342
 
3352
- export class ModifyInstanceMemberAttributesResponse extends $tea.Model {
3353
- headers: { [key: string]: string };
3354
- statusCode: number;
3355
- body: ModifyInstanceMemberAttributesResponseBody;
4343
+ export class ModifyInstanceMemberAttributesResponse extends $tea.Model {
4344
+ headers: { [key: string]: string };
4345
+ statusCode: number;
4346
+ body: ModifyInstanceMemberAttributesResponseBody;
4347
+ static names(): { [key: string]: string } {
4348
+ return {
4349
+ headers: 'headers',
4350
+ statusCode: 'statusCode',
4351
+ body: 'body',
4352
+ };
4353
+ }
4354
+
4355
+ static types(): { [key: string]: any } {
4356
+ return {
4357
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
4358
+ statusCode: 'number',
4359
+ body: ModifyInstanceMemberAttributesResponseBody,
4360
+ };
4361
+ }
4362
+
4363
+ constructor(map?: { [key: string]: any }) {
4364
+ super(map);
4365
+ }
4366
+ }
4367
+
4368
+ export class ModifyPolicyAdvancedConfigRequest extends $tea.Model {
4369
+ internetSwitch?: string;
4370
+ lang?: string;
4371
+ sourceIp?: string;
4372
+ static names(): { [key: string]: string } {
4373
+ return {
4374
+ internetSwitch: 'InternetSwitch',
4375
+ lang: 'Lang',
4376
+ sourceIp: 'SourceIp',
4377
+ };
4378
+ }
4379
+
4380
+ static types(): { [key: string]: any } {
4381
+ return {
4382
+ internetSwitch: 'string',
4383
+ lang: 'string',
4384
+ sourceIp: 'string',
4385
+ };
4386
+ }
4387
+
4388
+ constructor(map?: { [key: string]: any }) {
4389
+ super(map);
4390
+ }
4391
+ }
4392
+
4393
+ export class ModifyPolicyAdvancedConfigResponseBody extends $tea.Model {
4394
+ requestId?: string;
4395
+ static names(): { [key: string]: string } {
4396
+ return {
4397
+ requestId: 'RequestId',
4398
+ };
4399
+ }
4400
+
4401
+ static types(): { [key: string]: any } {
4402
+ return {
4403
+ requestId: 'string',
4404
+ };
4405
+ }
4406
+
4407
+ constructor(map?: { [key: string]: any }) {
4408
+ super(map);
4409
+ }
4410
+ }
4411
+
4412
+ export class ModifyPolicyAdvancedConfigResponse extends $tea.Model {
4413
+ headers: { [key: string]: string };
4414
+ statusCode: number;
4415
+ body: ModifyPolicyAdvancedConfigResponseBody;
4416
+ static names(): { [key: string]: string } {
4417
+ return {
4418
+ headers: 'headers',
4419
+ statusCode: 'statusCode',
4420
+ body: 'body',
4421
+ };
4422
+ }
4423
+
4424
+ static types(): { [key: string]: any } {
4425
+ return {
4426
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
4427
+ statusCode: 'number',
4428
+ body: ModifyPolicyAdvancedConfigResponseBody,
4429
+ };
4430
+ }
4431
+
4432
+ constructor(map?: { [key: string]: any }) {
4433
+ super(map);
4434
+ }
4435
+ }
4436
+
4437
+ export class ModifyTrFirewallV2ConfigurationRequest extends $tea.Model {
4438
+ firewallId?: string;
4439
+ firewallName?: string;
4440
+ lang?: string;
4441
+ static names(): { [key: string]: string } {
4442
+ return {
4443
+ firewallId: 'FirewallId',
4444
+ firewallName: 'FirewallName',
4445
+ lang: 'Lang',
4446
+ };
4447
+ }
4448
+
4449
+ static types(): { [key: string]: any } {
4450
+ return {
4451
+ firewallId: 'string',
4452
+ firewallName: 'string',
4453
+ lang: 'string',
4454
+ };
4455
+ }
4456
+
4457
+ constructor(map?: { [key: string]: any }) {
4458
+ super(map);
4459
+ }
4460
+ }
4461
+
4462
+ export class ModifyTrFirewallV2ConfigurationResponseBody extends $tea.Model {
4463
+ requestId?: string;
4464
+ static names(): { [key: string]: string } {
4465
+ return {
4466
+ requestId: 'RequestId',
4467
+ };
4468
+ }
4469
+
4470
+ static types(): { [key: string]: any } {
4471
+ return {
4472
+ requestId: 'string',
4473
+ };
4474
+ }
4475
+
4476
+ constructor(map?: { [key: string]: any }) {
4477
+ super(map);
4478
+ }
4479
+ }
4480
+
4481
+ export class ModifyTrFirewallV2ConfigurationResponse extends $tea.Model {
4482
+ headers: { [key: string]: string };
4483
+ statusCode: number;
4484
+ body: ModifyTrFirewallV2ConfigurationResponseBody;
4485
+ static names(): { [key: string]: string } {
4486
+ return {
4487
+ headers: 'headers',
4488
+ statusCode: 'statusCode',
4489
+ body: 'body',
4490
+ };
4491
+ }
4492
+
4493
+ static types(): { [key: string]: any } {
4494
+ return {
4495
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
4496
+ statusCode: 'number',
4497
+ body: ModifyTrFirewallV2ConfigurationResponseBody,
4498
+ };
4499
+ }
4500
+
4501
+ constructor(map?: { [key: string]: any }) {
4502
+ super(map);
4503
+ }
4504
+ }
4505
+
4506
+ export class ModifyTrFirewallV2RoutePolicyScopeRequest extends $tea.Model {
4507
+ destCandidateList?: ModifyTrFirewallV2RoutePolicyScopeRequestDestCandidateList[];
4508
+ firewallId?: string;
4509
+ lang?: string;
4510
+ srcCandidateList?: ModifyTrFirewallV2RoutePolicyScopeRequestSrcCandidateList[];
4511
+ trFirewallRoutePolicyId?: string;
3356
4512
  static names(): { [key: string]: string } {
3357
4513
  return {
3358
- headers: 'headers',
3359
- statusCode: 'statusCode',
3360
- body: 'body',
4514
+ destCandidateList: 'DestCandidateList',
4515
+ firewallId: 'FirewallId',
4516
+ lang: 'Lang',
4517
+ srcCandidateList: 'SrcCandidateList',
4518
+ trFirewallRoutePolicyId: 'TrFirewallRoutePolicyId',
3361
4519
  };
3362
4520
  }
3363
4521
 
3364
4522
  static types(): { [key: string]: any } {
3365
4523
  return {
3366
- headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3367
- statusCode: 'number',
3368
- body: ModifyInstanceMemberAttributesResponseBody,
4524
+ destCandidateList: { 'type': 'array', 'itemType': ModifyTrFirewallV2RoutePolicyScopeRequestDestCandidateList },
4525
+ firewallId: 'string',
4526
+ lang: 'string',
4527
+ srcCandidateList: { 'type': 'array', 'itemType': ModifyTrFirewallV2RoutePolicyScopeRequestSrcCandidateList },
4528
+ trFirewallRoutePolicyId: 'string',
3369
4529
  };
3370
4530
  }
3371
4531
 
@@ -3374,23 +4534,29 @@ export class ModifyInstanceMemberAttributesResponse extends $tea.Model {
3374
4534
  }
3375
4535
  }
3376
4536
 
3377
- export class ModifyPolicyAdvancedConfigRequest extends $tea.Model {
3378
- internetSwitch?: string;
4537
+ export class ModifyTrFirewallV2RoutePolicyScopeShrinkRequest extends $tea.Model {
4538
+ destCandidateListShrink?: string;
4539
+ firewallId?: string;
3379
4540
  lang?: string;
3380
- sourceIp?: string;
4541
+ srcCandidateListShrink?: string;
4542
+ trFirewallRoutePolicyId?: string;
3381
4543
  static names(): { [key: string]: string } {
3382
4544
  return {
3383
- internetSwitch: 'InternetSwitch',
4545
+ destCandidateListShrink: 'DestCandidateList',
4546
+ firewallId: 'FirewallId',
3384
4547
  lang: 'Lang',
3385
- sourceIp: 'SourceIp',
4548
+ srcCandidateListShrink: 'SrcCandidateList',
4549
+ trFirewallRoutePolicyId: 'TrFirewallRoutePolicyId',
3386
4550
  };
3387
4551
  }
3388
4552
 
3389
4553
  static types(): { [key: string]: any } {
3390
4554
  return {
3391
- internetSwitch: 'string',
4555
+ destCandidateListShrink: 'string',
4556
+ firewallId: 'string',
3392
4557
  lang: 'string',
3393
- sourceIp: 'string',
4558
+ srcCandidateListShrink: 'string',
4559
+ trFirewallRoutePolicyId: 'string',
3394
4560
  };
3395
4561
  }
3396
4562
 
@@ -3399,17 +4565,20 @@ export class ModifyPolicyAdvancedConfigRequest extends $tea.Model {
3399
4565
  }
3400
4566
  }
3401
4567
 
3402
- export class ModifyPolicyAdvancedConfigResponseBody extends $tea.Model {
4568
+ export class ModifyTrFirewallV2RoutePolicyScopeResponseBody extends $tea.Model {
3403
4569
  requestId?: string;
4570
+ trFirewallRoutePolicyId?: string;
3404
4571
  static names(): { [key: string]: string } {
3405
4572
  return {
3406
4573
  requestId: 'RequestId',
4574
+ trFirewallRoutePolicyId: 'TrFirewallRoutePolicyId',
3407
4575
  };
3408
4576
  }
3409
4577
 
3410
4578
  static types(): { [key: string]: any } {
3411
4579
  return {
3412
4580
  requestId: 'string',
4581
+ trFirewallRoutePolicyId: 'string',
3413
4582
  };
3414
4583
  }
3415
4584
 
@@ -3418,10 +4587,10 @@ export class ModifyPolicyAdvancedConfigResponseBody extends $tea.Model {
3418
4587
  }
3419
4588
  }
3420
4589
 
3421
- export class ModifyPolicyAdvancedConfigResponse extends $tea.Model {
4590
+ export class ModifyTrFirewallV2RoutePolicyScopeResponse extends $tea.Model {
3422
4591
  headers: { [key: string]: string };
3423
4592
  statusCode: number;
3424
- body: ModifyPolicyAdvancedConfigResponseBody;
4593
+ body: ModifyTrFirewallV2RoutePolicyScopeResponseBody;
3425
4594
  static names(): { [key: string]: string } {
3426
4595
  return {
3427
4596
  headers: 'headers',
@@ -3434,7 +4603,7 @@ export class ModifyPolicyAdvancedConfigResponse extends $tea.Model {
3434
4603
  return {
3435
4604
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3436
4605
  statusCode: 'number',
3437
- body: ModifyPolicyAdvancedConfigResponseBody,
4606
+ body: ModifyTrFirewallV2RoutePolicyScopeResponseBody,
3438
4607
  };
3439
4608
  }
3440
4609
 
@@ -4393,6 +5562,50 @@ export class AddInstanceMembersRequestMembers extends $tea.Model {
4393
5562
  }
4394
5563
  }
4395
5564
 
5565
+ export class CreateTrFirewallV2RoutePolicyRequestDestCandidateList extends $tea.Model {
5566
+ candidateId?: string;
5567
+ candidateType?: string;
5568
+ static names(): { [key: string]: string } {
5569
+ return {
5570
+ candidateId: 'CandidateId',
5571
+ candidateType: 'CandidateType',
5572
+ };
5573
+ }
5574
+
5575
+ static types(): { [key: string]: any } {
5576
+ return {
5577
+ candidateId: 'string',
5578
+ candidateType: 'string',
5579
+ };
5580
+ }
5581
+
5582
+ constructor(map?: { [key: string]: any }) {
5583
+ super(map);
5584
+ }
5585
+ }
5586
+
5587
+ export class CreateTrFirewallV2RoutePolicyRequestSrcCandidateList extends $tea.Model {
5588
+ candidateId?: string;
5589
+ candidateType?: string;
5590
+ static names(): { [key: string]: string } {
5591
+ return {
5592
+ candidateId: 'CandidateId',
5593
+ candidateType: 'CandidateType',
5594
+ };
5595
+ }
5596
+
5597
+ static types(): { [key: string]: any } {
5598
+ return {
5599
+ candidateId: 'string',
5600
+ candidateType: 'string',
5601
+ };
5602
+ }
5603
+
5604
+ constructor(map?: { [key: string]: any }) {
5605
+ super(map);
5606
+ }
5607
+ }
5608
+
4396
5609
  export class DescribeAddressBookResponseBodyAclsTagList extends $tea.Model {
4397
5610
  tagKey?: string;
4398
5611
  tagValue?: string;
@@ -4727,6 +5940,49 @@ export class DescribeInstanceMembersResponseBodyPageInfo extends $tea.Model {
4727
5940
  }
4728
5941
  }
4729
5942
 
5943
+ export class DescribeInternetTrafficTrendResponseBodyDataList extends $tea.Model {
5944
+ inBps?: number;
5945
+ inBytes?: number;
5946
+ inPps?: number;
5947
+ newConn?: number;
5948
+ outBps?: number;
5949
+ outBytes?: number;
5950
+ outPps?: number;
5951
+ sessionCount?: number;
5952
+ time?: number;
5953
+ static names(): { [key: string]: string } {
5954
+ return {
5955
+ inBps: 'InBps',
5956
+ inBytes: 'InBytes',
5957
+ inPps: 'InPps',
5958
+ newConn: 'NewConn',
5959
+ outBps: 'OutBps',
5960
+ outBytes: 'OutBytes',
5961
+ outPps: 'OutPps',
5962
+ sessionCount: 'SessionCount',
5963
+ time: 'Time',
5964
+ };
5965
+ }
5966
+
5967
+ static types(): { [key: string]: any } {
5968
+ return {
5969
+ inBps: 'number',
5970
+ inBytes: 'number',
5971
+ inPps: 'number',
5972
+ newConn: 'number',
5973
+ outBps: 'number',
5974
+ outBytes: 'number',
5975
+ outPps: 'number',
5976
+ sessionCount: 'number',
5977
+ time: 'number',
5978
+ };
5979
+ }
5980
+
5981
+ constructor(map?: { [key: string]: any }) {
5982
+ super(map);
5983
+ }
5984
+ }
5985
+
4730
5986
  export class DescribeInvadeEventListResponseBodyEventList extends $tea.Model {
4731
5987
  assetsInstanceId?: string;
4732
5988
  assetsInstanceName?: string;
@@ -5264,29 +6520,249 @@ export class DescribeRiskEventGroupResponseBodyDataList extends $tea.Model {
5264
6520
 
5265
6521
  static types(): { [key: string]: any } {
5266
6522
  return {
5267
- attackApp: 'string',
5268
- attackType: 'number',
5269
- description: 'string',
5270
- direction: 'string',
5271
- dstIP: 'string',
5272
- eventCount: 'number',
5273
- eventId: 'string',
5274
- eventName: 'string',
5275
- firstEventTime: 'number',
5276
- IPLocationInfo: DescribeRiskEventGroupResponseBodyDataListIPLocationInfo,
5277
- lastEventTime: 'number',
5278
- resourcePrivateIPList: { 'type': 'array', 'itemType': DescribeRiskEventGroupResponseBodyDataListResourcePrivateIPList },
5279
- resourceType: 'string',
5280
- ruleId: 'string',
5281
- ruleResult: 'number',
5282
- ruleSource: 'number',
5283
- srcIP: 'string',
5284
- srcIPTag: 'string',
5285
- srcPrivateIPList: { 'type': 'array', 'itemType': 'string' },
5286
- tag: 'string',
5287
- vpcDstInfo: DescribeRiskEventGroupResponseBodyDataListVpcDstInfo,
5288
- vpcSrcInfo: DescribeRiskEventGroupResponseBodyDataListVpcSrcInfo,
5289
- vulLevel: 'number',
6523
+ attackApp: 'string',
6524
+ attackType: 'number',
6525
+ description: 'string',
6526
+ direction: 'string',
6527
+ dstIP: 'string',
6528
+ eventCount: 'number',
6529
+ eventId: 'string',
6530
+ eventName: 'string',
6531
+ firstEventTime: 'number',
6532
+ IPLocationInfo: DescribeRiskEventGroupResponseBodyDataListIPLocationInfo,
6533
+ lastEventTime: 'number',
6534
+ resourcePrivateIPList: { 'type': 'array', 'itemType': DescribeRiskEventGroupResponseBodyDataListResourcePrivateIPList },
6535
+ resourceType: 'string',
6536
+ ruleId: 'string',
6537
+ ruleResult: 'number',
6538
+ ruleSource: 'number',
6539
+ srcIP: 'string',
6540
+ srcIPTag: 'string',
6541
+ srcPrivateIPList: { 'type': 'array', 'itemType': 'string' },
6542
+ tag: 'string',
6543
+ vpcDstInfo: DescribeRiskEventGroupResponseBodyDataListVpcDstInfo,
6544
+ vpcSrcInfo: DescribeRiskEventGroupResponseBodyDataListVpcSrcInfo,
6545
+ vulLevel: 'number',
6546
+ };
6547
+ }
6548
+
6549
+ constructor(map?: { [key: string]: any }) {
6550
+ super(map);
6551
+ }
6552
+ }
6553
+
6554
+ export class DescribeTrFirewallPolicyBackUpAssociationListResponseBodyPolicyAssociationBackupConfigs extends $tea.Model {
6555
+ candidateId?: string;
6556
+ candidateName?: string;
6557
+ candidateType?: string;
6558
+ currentRouteTableId?: string;
6559
+ originalRouteTableId?: string;
6560
+ static names(): { [key: string]: string } {
6561
+ return {
6562
+ candidateId: 'CandidateId',
6563
+ candidateName: 'CandidateName',
6564
+ candidateType: 'CandidateType',
6565
+ currentRouteTableId: 'CurrentRouteTableId',
6566
+ originalRouteTableId: 'OriginalRouteTableId',
6567
+ };
6568
+ }
6569
+
6570
+ static types(): { [key: string]: any } {
6571
+ return {
6572
+ candidateId: 'string',
6573
+ candidateName: 'string',
6574
+ candidateType: 'string',
6575
+ currentRouteTableId: 'string',
6576
+ originalRouteTableId: 'string',
6577
+ };
6578
+ }
6579
+
6580
+ constructor(map?: { [key: string]: any }) {
6581
+ super(map);
6582
+ }
6583
+ }
6584
+
6585
+ export class DescribeTrFirewallV2RoutePolicyListResponseBodyTrFirewallRoutePoliciesDestCandidateList extends $tea.Model {
6586
+ candidateId?: string;
6587
+ candidateType?: string;
6588
+ static names(): { [key: string]: string } {
6589
+ return {
6590
+ candidateId: 'CandidateId',
6591
+ candidateType: 'CandidateType',
6592
+ };
6593
+ }
6594
+
6595
+ static types(): { [key: string]: any } {
6596
+ return {
6597
+ candidateId: 'string',
6598
+ candidateType: 'string',
6599
+ };
6600
+ }
6601
+
6602
+ constructor(map?: { [key: string]: any }) {
6603
+ super(map);
6604
+ }
6605
+ }
6606
+
6607
+ export class DescribeTrFirewallV2RoutePolicyListResponseBodyTrFirewallRoutePoliciesSrcCandidateList extends $tea.Model {
6608
+ candidateId?: string;
6609
+ candidateType?: string;
6610
+ static names(): { [key: string]: string } {
6611
+ return {
6612
+ candidateId: 'CandidateId',
6613
+ candidateType: 'CandidateType',
6614
+ };
6615
+ }
6616
+
6617
+ static types(): { [key: string]: any } {
6618
+ return {
6619
+ candidateId: 'string',
6620
+ candidateType: 'string',
6621
+ };
6622
+ }
6623
+
6624
+ constructor(map?: { [key: string]: any }) {
6625
+ super(map);
6626
+ }
6627
+ }
6628
+
6629
+ export class DescribeTrFirewallV2RoutePolicyListResponseBodyTrFirewallRoutePolicies extends $tea.Model {
6630
+ destCandidateList?: DescribeTrFirewallV2RoutePolicyListResponseBodyTrFirewallRoutePoliciesDestCandidateList[];
6631
+ policyDescription?: string;
6632
+ policyName?: string;
6633
+ policyStatus?: string;
6634
+ policyType?: string;
6635
+ srcCandidateList?: DescribeTrFirewallV2RoutePolicyListResponseBodyTrFirewallRoutePoliciesSrcCandidateList[];
6636
+ trFirewallRoutePolicyId?: string;
6637
+ static names(): { [key: string]: string } {
6638
+ return {
6639
+ destCandidateList: 'DestCandidateList',
6640
+ policyDescription: 'PolicyDescription',
6641
+ policyName: 'PolicyName',
6642
+ policyStatus: 'PolicyStatus',
6643
+ policyType: 'PolicyType',
6644
+ srcCandidateList: 'SrcCandidateList',
6645
+ trFirewallRoutePolicyId: 'TrFirewallRoutePolicyId',
6646
+ };
6647
+ }
6648
+
6649
+ static types(): { [key: string]: any } {
6650
+ return {
6651
+ destCandidateList: { 'type': 'array', 'itemType': DescribeTrFirewallV2RoutePolicyListResponseBodyTrFirewallRoutePoliciesDestCandidateList },
6652
+ policyDescription: 'string',
6653
+ policyName: 'string',
6654
+ policyStatus: 'string',
6655
+ policyType: 'string',
6656
+ srcCandidateList: { 'type': 'array', 'itemType': DescribeTrFirewallV2RoutePolicyListResponseBodyTrFirewallRoutePoliciesSrcCandidateList },
6657
+ trFirewallRoutePolicyId: 'string',
6658
+ };
6659
+ }
6660
+
6661
+ constructor(map?: { [key: string]: any }) {
6662
+ super(map);
6663
+ }
6664
+ }
6665
+
6666
+ export class DescribeTrFirewallsV2ListResponseBodyVpcTrFirewallsIpsConfig extends $tea.Model {
6667
+ basicRules?: number;
6668
+ enableAllPatch?: number;
6669
+ runMode?: number;
6670
+ static names(): { [key: string]: string } {
6671
+ return {
6672
+ basicRules: 'BasicRules',
6673
+ enableAllPatch: 'EnableAllPatch',
6674
+ runMode: 'RunMode',
6675
+ };
6676
+ }
6677
+
6678
+ static types(): { [key: string]: any } {
6679
+ return {
6680
+ basicRules: 'number',
6681
+ enableAllPatch: 'number',
6682
+ runMode: 'number',
6683
+ };
6684
+ }
6685
+
6686
+ constructor(map?: { [key: string]: any }) {
6687
+ super(map);
6688
+ }
6689
+ }
6690
+
6691
+ export class DescribeTrFirewallsV2ListResponseBodyVpcTrFirewalls extends $tea.Model {
6692
+ cenId?: string;
6693
+ cenName?: string;
6694
+ firewallId?: string;
6695
+ firewallSwitchStatus?: string;
6696
+ ipsConfig?: DescribeTrFirewallsV2ListResponseBodyVpcTrFirewallsIpsConfig;
6697
+ ownerId?: number;
6698
+ precheckStatus?: string;
6699
+ regionNo?: string;
6700
+ regionStatus?: string;
6701
+ resultCode?: string;
6702
+ routeMode?: string;
6703
+ transitRouterId?: string;
6704
+ vpcFirewallName?: string;
6705
+ static names(): { [key: string]: string } {
6706
+ return {
6707
+ cenId: 'CenId',
6708
+ cenName: 'CenName',
6709
+ firewallId: 'FirewallId',
6710
+ firewallSwitchStatus: 'FirewallSwitchStatus',
6711
+ ipsConfig: 'IpsConfig',
6712
+ ownerId: 'OwnerId',
6713
+ precheckStatus: 'PrecheckStatus',
6714
+ regionNo: 'RegionNo',
6715
+ regionStatus: 'RegionStatus',
6716
+ resultCode: 'ResultCode',
6717
+ routeMode: 'RouteMode',
6718
+ transitRouterId: 'TransitRouterId',
6719
+ vpcFirewallName: 'VpcFirewallName',
6720
+ };
6721
+ }
6722
+
6723
+ static types(): { [key: string]: any } {
6724
+ return {
6725
+ cenId: 'string',
6726
+ cenName: 'string',
6727
+ firewallId: 'string',
6728
+ firewallSwitchStatus: 'string',
6729
+ ipsConfig: DescribeTrFirewallsV2ListResponseBodyVpcTrFirewallsIpsConfig,
6730
+ ownerId: 'number',
6731
+ precheckStatus: 'string',
6732
+ regionNo: 'string',
6733
+ regionStatus: 'string',
6734
+ resultCode: 'string',
6735
+ routeMode: 'string',
6736
+ transitRouterId: 'string',
6737
+ vpcFirewallName: 'string',
6738
+ };
6739
+ }
6740
+
6741
+ constructor(map?: { [key: string]: any }) {
6742
+ super(map);
6743
+ }
6744
+ }
6745
+
6746
+ export class DescribeTrFirewallsV2RouteListResponseBodyFirewallRouteDetailList extends $tea.Model {
6747
+ trFirewallRouteDestination?: string;
6748
+ trFirewallRouteNexthop?: string;
6749
+ trFirewallRoutePolicyId?: string;
6750
+ trFirewallRouteTableId?: string;
6751
+ static names(): { [key: string]: string } {
6752
+ return {
6753
+ trFirewallRouteDestination: 'TrFirewallRouteDestination',
6754
+ trFirewallRouteNexthop: 'TrFirewallRouteNexthop',
6755
+ trFirewallRoutePolicyId: 'TrFirewallRoutePolicyId',
6756
+ trFirewallRouteTableId: 'TrFirewallRouteTableId',
6757
+ };
6758
+ }
6759
+
6760
+ static types(): { [key: string]: any } {
6761
+ return {
6762
+ trFirewallRouteDestination: 'string',
6763
+ trFirewallRouteNexthop: 'string',
6764
+ trFirewallRoutePolicyId: 'string',
6765
+ trFirewallRouteTableId: 'string',
5290
6766
  };
5291
6767
  }
5292
6768
 
@@ -6275,6 +7751,50 @@ export class ModifyInstanceMemberAttributesRequestMembers extends $tea.Model {
6275
7751
  }
6276
7752
  }
6277
7753
 
7754
+ export class ModifyTrFirewallV2RoutePolicyScopeRequestDestCandidateList extends $tea.Model {
7755
+ candidateId?: string;
7756
+ candidateType?: string;
7757
+ static names(): { [key: string]: string } {
7758
+ return {
7759
+ candidateId: 'CandidateId',
7760
+ candidateType: 'CandidateType',
7761
+ };
7762
+ }
7763
+
7764
+ static types(): { [key: string]: any } {
7765
+ return {
7766
+ candidateId: 'string',
7767
+ candidateType: 'string',
7768
+ };
7769
+ }
7770
+
7771
+ constructor(map?: { [key: string]: any }) {
7772
+ super(map);
7773
+ }
7774
+ }
7775
+
7776
+ export class ModifyTrFirewallV2RoutePolicyScopeRequestSrcCandidateList extends $tea.Model {
7777
+ candidateId?: string;
7778
+ candidateType?: string;
7779
+ static names(): { [key: string]: string } {
7780
+ return {
7781
+ candidateId: 'CandidateId',
7782
+ candidateType: 'CandidateType',
7783
+ };
7784
+ }
7785
+
7786
+ static types(): { [key: string]: any } {
7787
+ return {
7788
+ candidateId: 'string',
7789
+ candidateType: 'string',
7790
+ };
7791
+ }
7792
+
7793
+ constructor(map?: { [key: string]: any }) {
7794
+ super(map);
7795
+ }
7796
+ }
7797
+
6278
7798
 
6279
7799
  export default class Client extends OpenApi {
6280
7800
 
@@ -6381,7 +7901,7 @@ export default class Client extends OpenApi {
6381
7901
  }
6382
7902
 
6383
7903
  /**
6384
- * You can call the AddControlPolicy operation to create an access control policy to allow, deny, or monitor traffic that passes through Cloud Firewall.
7904
+ * You can call the AddControlPolicy operation to create an access control policy to allow, block, or monitor traffic that reaches Cloud Firewall.
6385
7905
  * ## Limits
6386
7906
  * 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.
6387
7907
  *
@@ -6482,7 +8002,7 @@ export default class Client extends OpenApi {
6482
8002
  }
6483
8003
 
6484
8004
  /**
6485
- * You can call the AddControlPolicy operation to create an access control policy to allow, deny, or monitor traffic that passes through Cloud Firewall.
8005
+ * You can call the AddControlPolicy operation to create an access control policy to allow, block, or monitor traffic that reaches Cloud Firewall.
6486
8006
  * ## Limits
6487
8007
  * 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.
6488
8008
  *
@@ -6604,6 +8124,146 @@ export default class Client extends OpenApi {
6604
8124
  return await this.batchCopyVpcFirewallControlPolicyWithOptions(request, runtime);
6605
8125
  }
6606
8126
 
8127
+ async createTrFirewallV2WithOptions(request: CreateTrFirewallV2Request, runtime: $Util.RuntimeOptions): Promise<CreateTrFirewallV2Response> {
8128
+ Util.validateModel(request);
8129
+ let query = { };
8130
+ if (!Util.isUnset(request.cenId)) {
8131
+ query["CenId"] = request.cenId;
8132
+ }
8133
+
8134
+ if (!Util.isUnset(request.firewallDescription)) {
8135
+ query["FirewallDescription"] = request.firewallDescription;
8136
+ }
8137
+
8138
+ if (!Util.isUnset(request.firewallName)) {
8139
+ query["FirewallName"] = request.firewallName;
8140
+ }
8141
+
8142
+ if (!Util.isUnset(request.firewallSubnetCidr)) {
8143
+ query["FirewallSubnetCidr"] = request.firewallSubnetCidr;
8144
+ }
8145
+
8146
+ if (!Util.isUnset(request.firewallVpcCidr)) {
8147
+ query["FirewallVpcCidr"] = request.firewallVpcCidr;
8148
+ }
8149
+
8150
+ if (!Util.isUnset(request.firewallVpcId)) {
8151
+ query["FirewallVpcId"] = request.firewallVpcId;
8152
+ }
8153
+
8154
+ if (!Util.isUnset(request.firewallVswitchId)) {
8155
+ query["FirewallVswitchId"] = request.firewallVswitchId;
8156
+ }
8157
+
8158
+ if (!Util.isUnset(request.lang)) {
8159
+ query["Lang"] = request.lang;
8160
+ }
8161
+
8162
+ if (!Util.isUnset(request.regionNo)) {
8163
+ query["RegionNo"] = request.regionNo;
8164
+ }
8165
+
8166
+ if (!Util.isUnset(request.routeMode)) {
8167
+ query["RouteMode"] = request.routeMode;
8168
+ }
8169
+
8170
+ if (!Util.isUnset(request.trAttachmentMasterCidr)) {
8171
+ query["TrAttachmentMasterCidr"] = request.trAttachmentMasterCidr;
8172
+ }
8173
+
8174
+ if (!Util.isUnset(request.trAttachmentSlaveCidr)) {
8175
+ query["TrAttachmentSlaveCidr"] = request.trAttachmentSlaveCidr;
8176
+ }
8177
+
8178
+ if (!Util.isUnset(request.transitRouterId)) {
8179
+ query["TransitRouterId"] = request.transitRouterId;
8180
+ }
8181
+
8182
+ let req = new $OpenApi.OpenApiRequest({
8183
+ query: OpenApiUtil.query(query),
8184
+ });
8185
+ let params = new $OpenApi.Params({
8186
+ action: "CreateTrFirewallV2",
8187
+ version: "2017-12-07",
8188
+ protocol: "HTTPS",
8189
+ pathname: "/",
8190
+ method: "POST",
8191
+ authType: "AK",
8192
+ style: "RPC",
8193
+ reqBodyType: "formData",
8194
+ bodyType: "json",
8195
+ });
8196
+ return $tea.cast<CreateTrFirewallV2Response>(await this.callApi(params, req, runtime), new CreateTrFirewallV2Response({}));
8197
+ }
8198
+
8199
+ async createTrFirewallV2(request: CreateTrFirewallV2Request): Promise<CreateTrFirewallV2Response> {
8200
+ let runtime = new $Util.RuntimeOptions({ });
8201
+ return await this.createTrFirewallV2WithOptions(request, runtime);
8202
+ }
8203
+
8204
+ async createTrFirewallV2RoutePolicyWithOptions(tmpReq: CreateTrFirewallV2RoutePolicyRequest, runtime: $Util.RuntimeOptions): Promise<CreateTrFirewallV2RoutePolicyResponse> {
8205
+ Util.validateModel(tmpReq);
8206
+ let request = new CreateTrFirewallV2RoutePolicyShrinkRequest({ });
8207
+ OpenApiUtil.convert(tmpReq, request);
8208
+ if (!Util.isUnset(tmpReq.destCandidateList)) {
8209
+ request.destCandidateListShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.destCandidateList, "DestCandidateList", "json");
8210
+ }
8211
+
8212
+ if (!Util.isUnset(tmpReq.srcCandidateList)) {
8213
+ request.srcCandidateListShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.srcCandidateList, "SrcCandidateList", "json");
8214
+ }
8215
+
8216
+ let query = { };
8217
+ if (!Util.isUnset(request.destCandidateListShrink)) {
8218
+ query["DestCandidateList"] = request.destCandidateListShrink;
8219
+ }
8220
+
8221
+ if (!Util.isUnset(request.firewallId)) {
8222
+ query["FirewallId"] = request.firewallId;
8223
+ }
8224
+
8225
+ if (!Util.isUnset(request.lang)) {
8226
+ query["Lang"] = request.lang;
8227
+ }
8228
+
8229
+ if (!Util.isUnset(request.policyDescription)) {
8230
+ query["PolicyDescription"] = request.policyDescription;
8231
+ }
8232
+
8233
+ if (!Util.isUnset(request.policyName)) {
8234
+ query["PolicyName"] = request.policyName;
8235
+ }
8236
+
8237
+ if (!Util.isUnset(request.policyType)) {
8238
+ query["PolicyType"] = request.policyType;
8239
+ }
8240
+
8241
+ if (!Util.isUnset(request.srcCandidateListShrink)) {
8242
+ query["SrcCandidateList"] = request.srcCandidateListShrink;
8243
+ }
8244
+
8245
+ let req = new $OpenApi.OpenApiRequest({
8246
+ query: OpenApiUtil.query(query),
8247
+ });
8248
+ let params = new $OpenApi.Params({
8249
+ action: "CreateTrFirewallV2RoutePolicy",
8250
+ version: "2017-12-07",
8251
+ protocol: "HTTPS",
8252
+ pathname: "/",
8253
+ method: "POST",
8254
+ authType: "AK",
8255
+ style: "RPC",
8256
+ reqBodyType: "formData",
8257
+ bodyType: "json",
8258
+ });
8259
+ return $tea.cast<CreateTrFirewallV2RoutePolicyResponse>(await this.callApi(params, req, runtime), new CreateTrFirewallV2RoutePolicyResponse({}));
8260
+ }
8261
+
8262
+ async createTrFirewallV2RoutePolicy(request: CreateTrFirewallV2RoutePolicyRequest): Promise<CreateTrFirewallV2RoutePolicyResponse> {
8263
+ let runtime = new $Util.RuntimeOptions({ });
8264
+ return await this.createTrFirewallV2RoutePolicyWithOptions(request, runtime);
8265
+ }
8266
+
6607
8267
  /**
6608
8268
  * 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~~).
6609
8269
  * ## Limits
@@ -6978,6 +8638,43 @@ export default class Client extends OpenApi {
6978
8638
  return await this.deleteControlPolicyWithOptions(request, runtime);
6979
8639
  }
6980
8640
 
8641
+ async deleteFirewallV2RoutePoliciesWithOptions(request: DeleteFirewallV2RoutePoliciesRequest, runtime: $Util.RuntimeOptions): Promise<DeleteFirewallV2RoutePoliciesResponse> {
8642
+ Util.validateModel(request);
8643
+ let query = { };
8644
+ if (!Util.isUnset(request.firewallId)) {
8645
+ query["FirewallId"] = request.firewallId;
8646
+ }
8647
+
8648
+ if (!Util.isUnset(request.lang)) {
8649
+ query["Lang"] = request.lang;
8650
+ }
8651
+
8652
+ if (!Util.isUnset(request.trFirewallRoutePolicyId)) {
8653
+ query["TrFirewallRoutePolicyId"] = request.trFirewallRoutePolicyId;
8654
+ }
8655
+
8656
+ let req = new $OpenApi.OpenApiRequest({
8657
+ query: OpenApiUtil.query(query),
8658
+ });
8659
+ let params = new $OpenApi.Params({
8660
+ action: "DeleteFirewallV2RoutePolicies",
8661
+ version: "2017-12-07",
8662
+ protocol: "HTTPS",
8663
+ pathname: "/",
8664
+ method: "POST",
8665
+ authType: "AK",
8666
+ style: "RPC",
8667
+ reqBodyType: "formData",
8668
+ bodyType: "json",
8669
+ });
8670
+ return $tea.cast<DeleteFirewallV2RoutePoliciesResponse>(await this.callApi(params, req, runtime), new DeleteFirewallV2RoutePoliciesResponse({}));
8671
+ }
8672
+
8673
+ async deleteFirewallV2RoutePolicies(request: DeleteFirewallV2RoutePoliciesRequest): Promise<DeleteFirewallV2RoutePoliciesResponse> {
8674
+ let runtime = new $Util.RuntimeOptions({ });
8675
+ return await this.deleteFirewallV2RoutePoliciesWithOptions(request, runtime);
8676
+ }
8677
+
6981
8678
  /**
6982
8679
  * You can call the DeleteInstanceMembers operation to remove members from Cloud Firewall.
6983
8680
  * ## Limits
@@ -7024,6 +8721,39 @@ export default class Client extends OpenApi {
7024
8721
  return await this.deleteInstanceMembersWithOptions(request, runtime);
7025
8722
  }
7026
8723
 
8724
+ async deleteTrFirewallV2WithOptions(request: DeleteTrFirewallV2Request, runtime: $Util.RuntimeOptions): Promise<DeleteTrFirewallV2Response> {
8725
+ Util.validateModel(request);
8726
+ let query = { };
8727
+ if (!Util.isUnset(request.firewallId)) {
8728
+ query["FirewallId"] = request.firewallId;
8729
+ }
8730
+
8731
+ if (!Util.isUnset(request.lang)) {
8732
+ query["Lang"] = request.lang;
8733
+ }
8734
+
8735
+ let req = new $OpenApi.OpenApiRequest({
8736
+ query: OpenApiUtil.query(query),
8737
+ });
8738
+ let params = new $OpenApi.Params({
8739
+ action: "DeleteTrFirewallV2",
8740
+ version: "2017-12-07",
8741
+ protocol: "HTTPS",
8742
+ pathname: "/",
8743
+ method: "POST",
8744
+ authType: "AK",
8745
+ style: "RPC",
8746
+ reqBodyType: "formData",
8747
+ bodyType: "json",
8748
+ });
8749
+ return $tea.cast<DeleteTrFirewallV2Response>(await this.callApi(params, req, runtime), new DeleteTrFirewallV2Response({}));
8750
+ }
8751
+
8752
+ async deleteTrFirewallV2(request: DeleteTrFirewallV2Request): Promise<DeleteTrFirewallV2Response> {
8753
+ let runtime = new $Util.RuntimeOptions({ });
8754
+ return await this.deleteTrFirewallV2WithOptions(request, runtime);
8755
+ }
8756
+
7027
8757
  /**
7028
8758
  * 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.
7029
8759
  * ## Limits
@@ -7253,7 +8983,7 @@ export default class Client extends OpenApi {
7253
8983
  }
7254
8984
 
7255
8985
  /**
7256
- * You can call the DescribeAssetList operation to query the assets that are protected by Cloud Firewall.
8986
+ * You can call the DescribeAssetList operation to query the assets that are protected by Cloud Firewall.
7257
8987
  * ## Limits
7258
8988
  * 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.
7259
8989
  *
@@ -7334,7 +9064,7 @@ export default class Client extends OpenApi {
7334
9064
  }
7335
9065
 
7336
9066
  /**
7337
- * You can call the DescribeAssetList operation to query the assets that are protected by Cloud Firewall.
9067
+ * You can call the DescribeAssetList operation to query the assets that are protected by Cloud Firewall.
7338
9068
  * ## Limits
7339
9069
  * 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.
7340
9070
  *
@@ -7514,31 +9244,104 @@ export default class Client extends OpenApi {
7514
9244
  async describeInstanceMembersWithOptions(request: DescribeInstanceMembersRequest, runtime: $Util.RuntimeOptions): Promise<DescribeInstanceMembersResponse> {
7515
9245
  Util.validateModel(request);
7516
9246
  let query = { };
7517
- if (!Util.isUnset(request.currentPage)) {
7518
- query["CurrentPage"] = request.currentPage;
9247
+ if (!Util.isUnset(request.currentPage)) {
9248
+ query["CurrentPage"] = request.currentPage;
9249
+ }
9250
+
9251
+ if (!Util.isUnset(request.memberDesc)) {
9252
+ query["MemberDesc"] = request.memberDesc;
9253
+ }
9254
+
9255
+ if (!Util.isUnset(request.memberDisplayName)) {
9256
+ query["MemberDisplayName"] = request.memberDisplayName;
9257
+ }
9258
+
9259
+ if (!Util.isUnset(request.memberUid)) {
9260
+ query["MemberUid"] = request.memberUid;
9261
+ }
9262
+
9263
+ if (!Util.isUnset(request.pageSize)) {
9264
+ query["PageSize"] = request.pageSize;
9265
+ }
9266
+
9267
+ let req = new $OpenApi.OpenApiRequest({
9268
+ query: OpenApiUtil.query(query),
9269
+ });
9270
+ let params = new $OpenApi.Params({
9271
+ action: "DescribeInstanceMembers",
9272
+ version: "2017-12-07",
9273
+ protocol: "HTTPS",
9274
+ pathname: "/",
9275
+ method: "POST",
9276
+ authType: "AK",
9277
+ style: "RPC",
9278
+ reqBodyType: "formData",
9279
+ bodyType: "json",
9280
+ });
9281
+ return $tea.cast<DescribeInstanceMembersResponse>(await this.callApi(params, req, runtime), new DescribeInstanceMembersResponse({}));
9282
+ }
9283
+
9284
+ /**
9285
+ * You can call the DescribeInstanceMembers operation to query the information about members in Cloud Firewall.
9286
+ * ## Limits
9287
+ * 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.
9288
+ *
9289
+ * @param request DescribeInstanceMembersRequest
9290
+ * @return DescribeInstanceMembersResponse
9291
+ */
9292
+ async describeInstanceMembers(request: DescribeInstanceMembersRequest): Promise<DescribeInstanceMembersResponse> {
9293
+ let runtime = new $Util.RuntimeOptions({ });
9294
+ return await this.describeInstanceMembersWithOptions(request, runtime);
9295
+ }
9296
+
9297
+ async describeInternetTrafficTrendWithOptions(request: DescribeInternetTrafficTrendRequest, runtime: $Util.RuntimeOptions): Promise<DescribeInternetTrafficTrendResponse> {
9298
+ Util.validateModel(request);
9299
+ let query = { };
9300
+ if (!Util.isUnset(request.direction)) {
9301
+ query["Direction"] = request.direction;
7519
9302
  }
7520
9303
 
7521
- if (!Util.isUnset(request.memberDesc)) {
7522
- query["MemberDesc"] = request.memberDesc;
9304
+ if (!Util.isUnset(request.endTime)) {
9305
+ query["EndTime"] = request.endTime;
7523
9306
  }
7524
9307
 
7525
- if (!Util.isUnset(request.memberDisplayName)) {
7526
- query["MemberDisplayName"] = request.memberDisplayName;
9308
+ if (!Util.isUnset(request.lang)) {
9309
+ query["Lang"] = request.lang;
7527
9310
  }
7528
9311
 
7529
- if (!Util.isUnset(request.memberUid)) {
7530
- query["MemberUid"] = request.memberUid;
9312
+ if (!Util.isUnset(request.lang)) {
9313
+ query["Lang"] = request.lang;
7531
9314
  }
7532
9315
 
7533
- if (!Util.isUnset(request.pageSize)) {
7534
- query["PageSize"] = request.pageSize;
9316
+ if (!Util.isUnset(request.sourceCode)) {
9317
+ query["SourceCode"] = request.sourceCode;
9318
+ }
9319
+
9320
+ if (!Util.isUnset(request.sourceIp)) {
9321
+ query["SourceIp"] = request.sourceIp;
9322
+ }
9323
+
9324
+ if (!Util.isUnset(request.srcPrivateIP)) {
9325
+ query["SrcPrivateIP"] = request.srcPrivateIP;
9326
+ }
9327
+
9328
+ if (!Util.isUnset(request.srcPublicIP)) {
9329
+ query["SrcPublicIP"] = request.srcPublicIP;
9330
+ }
9331
+
9332
+ if (!Util.isUnset(request.startTime)) {
9333
+ query["StartTime"] = request.startTime;
9334
+ }
9335
+
9336
+ if (!Util.isUnset(request.trafficType)) {
9337
+ query["TrafficType"] = request.trafficType;
7535
9338
  }
7536
9339
 
7537
9340
  let req = new $OpenApi.OpenApiRequest({
7538
9341
  query: OpenApiUtil.query(query),
7539
9342
  });
7540
9343
  let params = new $OpenApi.Params({
7541
- action: "DescribeInstanceMembers",
9344
+ action: "DescribeInternetTrafficTrend",
7542
9345
  version: "2017-12-07",
7543
9346
  protocol: "HTTPS",
7544
9347
  pathname: "/",
@@ -7548,20 +9351,12 @@ export default class Client extends OpenApi {
7548
9351
  reqBodyType: "formData",
7549
9352
  bodyType: "json",
7550
9353
  });
7551
- return $tea.cast<DescribeInstanceMembersResponse>(await this.callApi(params, req, runtime), new DescribeInstanceMembersResponse({}));
9354
+ return $tea.cast<DescribeInternetTrafficTrendResponse>(await this.callApi(params, req, runtime), new DescribeInternetTrafficTrendResponse({}));
7552
9355
  }
7553
9356
 
7554
- /**
7555
- * You can call the DescribeInstanceMembers operation to query the information about members in Cloud Firewall.
7556
- * ## Limits
7557
- * 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.
7558
- *
7559
- * @param request DescribeInstanceMembersRequest
7560
- * @return DescribeInstanceMembersResponse
7561
- */
7562
- async describeInstanceMembers(request: DescribeInstanceMembersRequest): Promise<DescribeInstanceMembersResponse> {
9357
+ async describeInternetTrafficTrend(request: DescribeInternetTrafficTrendRequest): Promise<DescribeInternetTrafficTrendResponse> {
7563
9358
  let runtime = new $Util.RuntimeOptions({ });
7564
- return await this.describeInstanceMembersWithOptions(request, runtime);
9359
+ return await this.describeInternetTrafficTrendWithOptions(request, runtime);
7565
9360
  }
7566
9361
 
7567
9362
  async describeInvadeEventListWithOptions(request: DescribeInvadeEventListRequest, runtime: $Util.RuntimeOptions): Promise<DescribeInvadeEventListResponse> {
@@ -7873,23 +9668,243 @@ export default class Client extends OpenApi {
7873
9668
  query["Direction"] = request.direction;
7874
9669
  }
7875
9670
 
7876
- if (!Util.isUnset(request.ipVersion)) {
7877
- query["IpVersion"] = request.ipVersion;
9671
+ if (!Util.isUnset(request.ipVersion)) {
9672
+ query["IpVersion"] = request.ipVersion;
9673
+ }
9674
+
9675
+ if (!Util.isUnset(request.lang)) {
9676
+ query["Lang"] = request.lang;
9677
+ }
9678
+
9679
+ if (!Util.isUnset(request.sourceIp)) {
9680
+ query["SourceIp"] = request.sourceIp;
9681
+ }
9682
+
9683
+ let req = new $OpenApi.OpenApiRequest({
9684
+ query: OpenApiUtil.query(query),
9685
+ });
9686
+ let params = new $OpenApi.Params({
9687
+ action: "DescribePolicyPriorUsed",
9688
+ version: "2017-12-07",
9689
+ protocol: "HTTPS",
9690
+ pathname: "/",
9691
+ method: "POST",
9692
+ authType: "AK",
9693
+ style: "RPC",
9694
+ reqBodyType: "formData",
9695
+ bodyType: "json",
9696
+ });
9697
+ return $tea.cast<DescribePolicyPriorUsedResponse>(await this.callApi(params, req, runtime), new DescribePolicyPriorUsedResponse({}));
9698
+ }
9699
+
9700
+ /**
9701
+ * You can call the DescribePolicyPriorUsed operation to query the priority range of the access control policies that match specific query conditions.
9702
+ * ## Limits
9703
+ * 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.
9704
+ *
9705
+ * @param request DescribePolicyPriorUsedRequest
9706
+ * @return DescribePolicyPriorUsedResponse
9707
+ */
9708
+ async describePolicyPriorUsed(request: DescribePolicyPriorUsedRequest): Promise<DescribePolicyPriorUsedResponse> {
9709
+ let runtime = new $Util.RuntimeOptions({ });
9710
+ return await this.describePolicyPriorUsedWithOptions(request, runtime);
9711
+ }
9712
+
9713
+ /**
9714
+ * 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.
9715
+ * ## Limits
9716
+ * 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.
9717
+ *
9718
+ * @param request DescribeRiskEventGroupRequest
9719
+ * @param runtime runtime options for this request RuntimeOptions
9720
+ * @return DescribeRiskEventGroupResponse
9721
+ */
9722
+ async describeRiskEventGroupWithOptions(request: DescribeRiskEventGroupRequest, runtime: $Util.RuntimeOptions): Promise<DescribeRiskEventGroupResponse> {
9723
+ Util.validateModel(request);
9724
+ let query = { };
9725
+ if (!Util.isUnset(request.attackApp)) {
9726
+ query["AttackApp"] = request.attackApp;
9727
+ }
9728
+
9729
+ if (!Util.isUnset(request.attackType)) {
9730
+ query["AttackType"] = request.attackType;
9731
+ }
9732
+
9733
+ if (!Util.isUnset(request.buyVersion)) {
9734
+ query["BuyVersion"] = request.buyVersion;
9735
+ }
9736
+
9737
+ if (!Util.isUnset(request.currentPage)) {
9738
+ query["CurrentPage"] = request.currentPage;
9739
+ }
9740
+
9741
+ if (!Util.isUnset(request.dataType)) {
9742
+ query["DataType"] = request.dataType;
9743
+ }
9744
+
9745
+ if (!Util.isUnset(request.direction)) {
9746
+ query["Direction"] = request.direction;
9747
+ }
9748
+
9749
+ if (!Util.isUnset(request.dstIP)) {
9750
+ query["DstIP"] = request.dstIP;
9751
+ }
9752
+
9753
+ if (!Util.isUnset(request.dstNetworkInstanceId)) {
9754
+ query["DstNetworkInstanceId"] = request.dstNetworkInstanceId;
9755
+ }
9756
+
9757
+ if (!Util.isUnset(request.endTime)) {
9758
+ query["EndTime"] = request.endTime;
9759
+ }
9760
+
9761
+ if (!Util.isUnset(request.eventName)) {
9762
+ query["EventName"] = request.eventName;
9763
+ }
9764
+
9765
+ if (!Util.isUnset(request.firewallType)) {
9766
+ query["FirewallType"] = request.firewallType;
9767
+ }
9768
+
9769
+ if (!Util.isUnset(request.lang)) {
9770
+ query["Lang"] = request.lang;
9771
+ }
9772
+
9773
+ if (!Util.isUnset(request.lang)) {
9774
+ query["Lang"] = request.lang;
9775
+ }
9776
+
9777
+ if (!Util.isUnset(request.noLocation)) {
9778
+ query["NoLocation"] = request.noLocation;
9779
+ }
9780
+
9781
+ if (!Util.isUnset(request.order)) {
9782
+ query["Order"] = request.order;
9783
+ }
9784
+
9785
+ if (!Util.isUnset(request.pageSize)) {
9786
+ query["PageSize"] = request.pageSize;
9787
+ }
9788
+
9789
+ if (!Util.isUnset(request.ruleResult)) {
9790
+ query["RuleResult"] = request.ruleResult;
9791
+ }
9792
+
9793
+ if (!Util.isUnset(request.ruleSource)) {
9794
+ query["RuleSource"] = request.ruleSource;
9795
+ }
9796
+
9797
+ if (!Util.isUnset(request.sort)) {
9798
+ query["Sort"] = request.sort;
9799
+ }
9800
+
9801
+ if (!Util.isUnset(request.srcIP)) {
9802
+ query["SrcIP"] = request.srcIP;
9803
+ }
9804
+
9805
+ if (!Util.isUnset(request.srcNetworkInstanceId)) {
9806
+ query["SrcNetworkInstanceId"] = request.srcNetworkInstanceId;
9807
+ }
9808
+
9809
+ if (!Util.isUnset(request.startTime)) {
9810
+ query["StartTime"] = request.startTime;
9811
+ }
9812
+
9813
+ if (!Util.isUnset(request.vulLevel)) {
9814
+ query["VulLevel"] = request.vulLevel;
9815
+ }
9816
+
9817
+ let req = new $OpenApi.OpenApiRequest({
9818
+ query: OpenApiUtil.query(query),
9819
+ });
9820
+ let params = new $OpenApi.Params({
9821
+ action: "DescribeRiskEventGroup",
9822
+ version: "2017-12-07",
9823
+ protocol: "HTTPS",
9824
+ pathname: "/",
9825
+ method: "POST",
9826
+ authType: "AK",
9827
+ style: "RPC",
9828
+ reqBodyType: "formData",
9829
+ bodyType: "json",
9830
+ });
9831
+ return $tea.cast<DescribeRiskEventGroupResponse>(await this.callApi(params, req, runtime), new DescribeRiskEventGroupResponse({}));
9832
+ }
9833
+
9834
+ /**
9835
+ * 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.
9836
+ * ## Limits
9837
+ * 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.
9838
+ *
9839
+ * @param request DescribeRiskEventGroupRequest
9840
+ * @return DescribeRiskEventGroupResponse
9841
+ */
9842
+ async describeRiskEventGroup(request: DescribeRiskEventGroupRequest): Promise<DescribeRiskEventGroupResponse> {
9843
+ let runtime = new $Util.RuntimeOptions({ });
9844
+ return await this.describeRiskEventGroupWithOptions(request, runtime);
9845
+ }
9846
+
9847
+ async describeTrFirewallPolicyBackUpAssociationListWithOptions(request: DescribeTrFirewallPolicyBackUpAssociationListRequest, runtime: $Util.RuntimeOptions): Promise<DescribeTrFirewallPolicyBackUpAssociationListResponse> {
9848
+ Util.validateModel(request);
9849
+ let query = { };
9850
+ if (!Util.isUnset(request.firewallId)) {
9851
+ query["FirewallId"] = request.firewallId;
9852
+ }
9853
+
9854
+ if (!Util.isUnset(request.lang)) {
9855
+ query["Lang"] = request.lang;
9856
+ }
9857
+
9858
+ if (!Util.isUnset(request.trFirewallRoutePolicyId)) {
9859
+ query["TrFirewallRoutePolicyId"] = request.trFirewallRoutePolicyId;
9860
+ }
9861
+
9862
+ let req = new $OpenApi.OpenApiRequest({
9863
+ query: OpenApiUtil.query(query),
9864
+ });
9865
+ let params = new $OpenApi.Params({
9866
+ action: "DescribeTrFirewallPolicyBackUpAssociationList",
9867
+ version: "2017-12-07",
9868
+ protocol: "HTTPS",
9869
+ pathname: "/",
9870
+ method: "POST",
9871
+ authType: "AK",
9872
+ style: "RPC",
9873
+ reqBodyType: "formData",
9874
+ bodyType: "json",
9875
+ });
9876
+ return $tea.cast<DescribeTrFirewallPolicyBackUpAssociationListResponse>(await this.callApi(params, req, runtime), new DescribeTrFirewallPolicyBackUpAssociationListResponse({}));
9877
+ }
9878
+
9879
+ async describeTrFirewallPolicyBackUpAssociationList(request: DescribeTrFirewallPolicyBackUpAssociationListRequest): Promise<DescribeTrFirewallPolicyBackUpAssociationListResponse> {
9880
+ let runtime = new $Util.RuntimeOptions({ });
9881
+ return await this.describeTrFirewallPolicyBackUpAssociationListWithOptions(request, runtime);
9882
+ }
9883
+
9884
+ async describeTrFirewallV2RoutePolicyListWithOptions(request: DescribeTrFirewallV2RoutePolicyListRequest, runtime: $Util.RuntimeOptions): Promise<DescribeTrFirewallV2RoutePolicyListResponse> {
9885
+ Util.validateModel(request);
9886
+ let query = { };
9887
+ if (!Util.isUnset(request.currentPage)) {
9888
+ query["CurrentPage"] = request.currentPage;
9889
+ }
9890
+
9891
+ if (!Util.isUnset(request.firewallId)) {
9892
+ query["FirewallId"] = request.firewallId;
7878
9893
  }
7879
9894
 
7880
9895
  if (!Util.isUnset(request.lang)) {
7881
9896
  query["Lang"] = request.lang;
7882
9897
  }
7883
9898
 
7884
- if (!Util.isUnset(request.sourceIp)) {
7885
- query["SourceIp"] = request.sourceIp;
9899
+ if (!Util.isUnset(request.pageSize)) {
9900
+ query["PageSize"] = request.pageSize;
7886
9901
  }
7887
9902
 
7888
9903
  let req = new $OpenApi.OpenApiRequest({
7889
9904
  query: OpenApiUtil.query(query),
7890
9905
  });
7891
9906
  let params = new $OpenApi.Params({
7892
- action: "DescribePolicyPriorUsed",
9907
+ action: "DescribeTrFirewallV2RoutePolicyList",
7893
9908
  version: "2017-12-07",
7894
9909
  protocol: "HTTPS",
7895
9910
  pathname: "/",
@@ -7899,127 +9914,144 @@ export default class Client extends OpenApi {
7899
9914
  reqBodyType: "formData",
7900
9915
  bodyType: "json",
7901
9916
  });
7902
- return $tea.cast<DescribePolicyPriorUsedResponse>(await this.callApi(params, req, runtime), new DescribePolicyPriorUsedResponse({}));
9917
+ return $tea.cast<DescribeTrFirewallV2RoutePolicyListResponse>(await this.callApi(params, req, runtime), new DescribeTrFirewallV2RoutePolicyListResponse({}));
7903
9918
  }
7904
9919
 
7905
- /**
7906
- * You can call the DescribePolicyPriorUsed operation to query the priority range of the access control policies that match specific query conditions.
7907
- * ## Limits
7908
- * 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.
7909
- *
7910
- * @param request DescribePolicyPriorUsedRequest
7911
- * @return DescribePolicyPriorUsedResponse
7912
- */
7913
- async describePolicyPriorUsed(request: DescribePolicyPriorUsedRequest): Promise<DescribePolicyPriorUsedResponse> {
9920
+ async describeTrFirewallV2RoutePolicyList(request: DescribeTrFirewallV2RoutePolicyListRequest): Promise<DescribeTrFirewallV2RoutePolicyListResponse> {
7914
9921
  let runtime = new $Util.RuntimeOptions({ });
7915
- return await this.describePolicyPriorUsedWithOptions(request, runtime);
9922
+ return await this.describeTrFirewallV2RoutePolicyListWithOptions(request, runtime);
7916
9923
  }
7917
9924
 
7918
- /**
7919
- * 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.
7920
- * ## Limits
7921
- * 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.
7922
- *
7923
- * @param request DescribeRiskEventGroupRequest
7924
- * @param runtime runtime options for this request RuntimeOptions
7925
- * @return DescribeRiskEventGroupResponse
7926
- */
7927
- async describeRiskEventGroupWithOptions(request: DescribeRiskEventGroupRequest, runtime: $Util.RuntimeOptions): Promise<DescribeRiskEventGroupResponse> {
9925
+ async describeTrFirewallsV2DetailWithOptions(request: DescribeTrFirewallsV2DetailRequest, runtime: $Util.RuntimeOptions): Promise<DescribeTrFirewallsV2DetailResponse> {
7928
9926
  Util.validateModel(request);
7929
9927
  let query = { };
7930
- if (!Util.isUnset(request.attackApp)) {
7931
- query["AttackApp"] = request.attackApp;
7932
- }
7933
-
7934
- if (!Util.isUnset(request.attackType)) {
7935
- query["AttackType"] = request.attackType;
9928
+ if (!Util.isUnset(request.firewallId)) {
9929
+ query["FirewallId"] = request.firewallId;
7936
9930
  }
7937
9931
 
7938
- if (!Util.isUnset(request.buyVersion)) {
7939
- query["BuyVersion"] = request.buyVersion;
9932
+ if (!Util.isUnset(request.lang)) {
9933
+ query["Lang"] = request.lang;
7940
9934
  }
7941
9935
 
7942
- if (!Util.isUnset(request.currentPage)) {
7943
- query["CurrentPage"] = request.currentPage;
7944
- }
9936
+ let req = new $OpenApi.OpenApiRequest({
9937
+ query: OpenApiUtil.query(query),
9938
+ });
9939
+ let params = new $OpenApi.Params({
9940
+ action: "DescribeTrFirewallsV2Detail",
9941
+ version: "2017-12-07",
9942
+ protocol: "HTTPS",
9943
+ pathname: "/",
9944
+ method: "POST",
9945
+ authType: "AK",
9946
+ style: "RPC",
9947
+ reqBodyType: "formData",
9948
+ bodyType: "json",
9949
+ });
9950
+ return $tea.cast<DescribeTrFirewallsV2DetailResponse>(await this.callApi(params, req, runtime), new DescribeTrFirewallsV2DetailResponse({}));
9951
+ }
7945
9952
 
7946
- if (!Util.isUnset(request.dataType)) {
7947
- query["DataType"] = request.dataType;
7948
- }
9953
+ async describeTrFirewallsV2Detail(request: DescribeTrFirewallsV2DetailRequest): Promise<DescribeTrFirewallsV2DetailResponse> {
9954
+ let runtime = new $Util.RuntimeOptions({ });
9955
+ return await this.describeTrFirewallsV2DetailWithOptions(request, runtime);
9956
+ }
7949
9957
 
7950
- if (!Util.isUnset(request.direction)) {
7951
- query["Direction"] = request.direction;
9958
+ async describeTrFirewallsV2ListWithOptions(request: DescribeTrFirewallsV2ListRequest, runtime: $Util.RuntimeOptions): Promise<DescribeTrFirewallsV2ListResponse> {
9959
+ Util.validateModel(request);
9960
+ let query = { };
9961
+ if (!Util.isUnset(request.cenId)) {
9962
+ query["CenId"] = request.cenId;
7952
9963
  }
7953
9964
 
7954
- if (!Util.isUnset(request.dstIP)) {
7955
- query["DstIP"] = request.dstIP;
9965
+ if (!Util.isUnset(request.currentPage)) {
9966
+ query["CurrentPage"] = request.currentPage;
7956
9967
  }
7957
9968
 
7958
- if (!Util.isUnset(request.dstNetworkInstanceId)) {
7959
- query["DstNetworkInstanceId"] = request.dstNetworkInstanceId;
9969
+ if (!Util.isUnset(request.firewallId)) {
9970
+ query["FirewallId"] = request.firewallId;
7960
9971
  }
7961
9972
 
7962
- if (!Util.isUnset(request.endTime)) {
7963
- query["EndTime"] = request.endTime;
9973
+ if (!Util.isUnset(request.firewallName)) {
9974
+ query["FirewallName"] = request.firewallName;
7964
9975
  }
7965
9976
 
7966
- if (!Util.isUnset(request.firewallType)) {
7967
- query["FirewallType"] = request.firewallType;
9977
+ if (!Util.isUnset(request.firewallSwitchStatus)) {
9978
+ query["FirewallSwitchStatus"] = request.firewallSwitchStatus;
7968
9979
  }
7969
9980
 
7970
9981
  if (!Util.isUnset(request.lang)) {
7971
9982
  query["Lang"] = request.lang;
7972
9983
  }
7973
9984
 
7974
- if (!Util.isUnset(request.lang)) {
7975
- query["Lang"] = request.lang;
9985
+ if (!Util.isUnset(request.ownerId)) {
9986
+ query["OwnerId"] = request.ownerId;
7976
9987
  }
7977
9988
 
7978
- if (!Util.isUnset(request.noLocation)) {
7979
- query["NoLocation"] = request.noLocation;
9989
+ if (!Util.isUnset(request.pageSize)) {
9990
+ query["PageSize"] = request.pageSize;
7980
9991
  }
7981
9992
 
7982
- if (!Util.isUnset(request.order)) {
7983
- query["Order"] = request.order;
9993
+ if (!Util.isUnset(request.regionNo)) {
9994
+ query["RegionNo"] = request.regionNo;
7984
9995
  }
7985
9996
 
7986
- if (!Util.isUnset(request.pageSize)) {
7987
- query["PageSize"] = request.pageSize;
9997
+ if (!Util.isUnset(request.routeMode)) {
9998
+ query["RouteMode"] = request.routeMode;
7988
9999
  }
7989
10000
 
7990
- if (!Util.isUnset(request.ruleResult)) {
7991
- query["RuleResult"] = request.ruleResult;
10001
+ if (!Util.isUnset(request.transitRouterId)) {
10002
+ query["TransitRouterId"] = request.transitRouterId;
7992
10003
  }
7993
10004
 
7994
- if (!Util.isUnset(request.ruleSource)) {
7995
- query["RuleSource"] = request.ruleSource;
7996
- }
10005
+ let req = new $OpenApi.OpenApiRequest({
10006
+ query: OpenApiUtil.query(query),
10007
+ });
10008
+ let params = new $OpenApi.Params({
10009
+ action: "DescribeTrFirewallsV2List",
10010
+ version: "2017-12-07",
10011
+ protocol: "HTTPS",
10012
+ pathname: "/",
10013
+ method: "POST",
10014
+ authType: "AK",
10015
+ style: "RPC",
10016
+ reqBodyType: "formData",
10017
+ bodyType: "json",
10018
+ });
10019
+ return $tea.cast<DescribeTrFirewallsV2ListResponse>(await this.callApi(params, req, runtime), new DescribeTrFirewallsV2ListResponse({}));
10020
+ }
7997
10021
 
7998
- if (!Util.isUnset(request.sort)) {
7999
- query["Sort"] = request.sort;
10022
+ async describeTrFirewallsV2List(request: DescribeTrFirewallsV2ListRequest): Promise<DescribeTrFirewallsV2ListResponse> {
10023
+ let runtime = new $Util.RuntimeOptions({ });
10024
+ return await this.describeTrFirewallsV2ListWithOptions(request, runtime);
10025
+ }
10026
+
10027
+ async describeTrFirewallsV2RouteListWithOptions(request: DescribeTrFirewallsV2RouteListRequest, runtime: $Util.RuntimeOptions): Promise<DescribeTrFirewallsV2RouteListResponse> {
10028
+ Util.validateModel(request);
10029
+ let query = { };
10030
+ if (!Util.isUnset(request.currentPage)) {
10031
+ query["CurrentPage"] = request.currentPage;
8000
10032
  }
8001
10033
 
8002
- if (!Util.isUnset(request.srcIP)) {
8003
- query["SrcIP"] = request.srcIP;
10034
+ if (!Util.isUnset(request.firewallId)) {
10035
+ query["FirewallId"] = request.firewallId;
8004
10036
  }
8005
10037
 
8006
- if (!Util.isUnset(request.srcNetworkInstanceId)) {
8007
- query["SrcNetworkInstanceId"] = request.srcNetworkInstanceId;
10038
+ if (!Util.isUnset(request.lang)) {
10039
+ query["Lang"] = request.lang;
8008
10040
  }
8009
10041
 
8010
- if (!Util.isUnset(request.startTime)) {
8011
- query["StartTime"] = request.startTime;
10042
+ if (!Util.isUnset(request.pageSize)) {
10043
+ query["PageSize"] = request.pageSize;
8012
10044
  }
8013
10045
 
8014
- if (!Util.isUnset(request.vulLevel)) {
8015
- query["VulLevel"] = request.vulLevel;
10046
+ if (!Util.isUnset(request.trFirewallRoutePolicyId)) {
10047
+ query["TrFirewallRoutePolicyId"] = request.trFirewallRoutePolicyId;
8016
10048
  }
8017
10049
 
8018
10050
  let req = new $OpenApi.OpenApiRequest({
8019
10051
  query: OpenApiUtil.query(query),
8020
10052
  });
8021
10053
  let params = new $OpenApi.Params({
8022
- action: "DescribeRiskEventGroup",
10054
+ action: "DescribeTrFirewallsV2RouteList",
8023
10055
  version: "2017-12-07",
8024
10056
  protocol: "HTTPS",
8025
10057
  pathname: "/",
@@ -8029,20 +10061,12 @@ export default class Client extends OpenApi {
8029
10061
  reqBodyType: "formData",
8030
10062
  bodyType: "json",
8031
10063
  });
8032
- return $tea.cast<DescribeRiskEventGroupResponse>(await this.callApi(params, req, runtime), new DescribeRiskEventGroupResponse({}));
10064
+ return $tea.cast<DescribeTrFirewallsV2RouteListResponse>(await this.callApi(params, req, runtime), new DescribeTrFirewallsV2RouteListResponse({}));
8033
10065
  }
8034
10066
 
8035
- /**
8036
- * 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.
8037
- * ## Limits
8038
- * 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.
8039
- *
8040
- * @param request DescribeRiskEventGroupRequest
8041
- * @return DescribeRiskEventGroupResponse
8042
- */
8043
- async describeRiskEventGroup(request: DescribeRiskEventGroupRequest): Promise<DescribeRiskEventGroupResponse> {
10067
+ async describeTrFirewallsV2RouteList(request: DescribeTrFirewallsV2RouteListRequest): Promise<DescribeTrFirewallsV2RouteListResponse> {
8044
10068
  let runtime = new $Util.RuntimeOptions({ });
8045
- return await this.describeRiskEventGroupWithOptions(request, runtime);
10069
+ return await this.describeTrFirewallsV2RouteListWithOptions(request, runtime);
8046
10070
  }
8047
10071
 
8048
10072
  async describeUserAssetIPTrafficInfoWithOptions(request: DescribeUserAssetIPTrafficInfoRequest, runtime: $Util.RuntimeOptions): Promise<DescribeUserAssetIPTrafficInfoResponse> {
@@ -8289,7 +10313,9 @@ export default class Client extends OpenApi {
8289
10313
  }
8290
10314
 
8291
10315
  /**
8292
- * 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.
10316
+ * 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.
10317
+ * ## Limits
10318
+ * 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.
8293
10319
  *
8294
10320
  * @param request DescribeVpcFirewallControlPolicyRequest
8295
10321
  * @param runtime runtime options for this request RuntimeOptions
@@ -8364,7 +10390,9 @@ export default class Client extends OpenApi {
8364
10390
  }
8365
10391
 
8366
10392
  /**
8367
- * 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.
10393
+ * 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.
10394
+ * ## Limits
10395
+ * 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.
8368
10396
  *
8369
10397
  * @param request DescribeVpcFirewallControlPolicyRequest
8370
10398
  * @return DescribeVpcFirewallControlPolicyResponse
@@ -8490,8 +10518,8 @@ export default class Client extends OpenApi {
8490
10518
 
8491
10519
  /**
8492
10520
  * 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.
8493
- * ## Limits
8494
- * 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.
10521
+ * ### Limits
10522
+ * 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.
8495
10523
  *
8496
10524
  * @param request DescribeVpcFirewallListRequest
8497
10525
  * @param runtime runtime options for this request RuntimeOptions
@@ -8567,8 +10595,8 @@ export default class Client extends OpenApi {
8567
10595
 
8568
10596
  /**
8569
10597
  * 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.
8570
- * ## Limits
8571
- * 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.
10598
+ * ### Limits
10599
+ * 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.
8572
10600
  *
8573
10601
  * @param request DescribeVpcFirewallListRequest
8574
10602
  * @return DescribeVpcFirewallListResponse
@@ -8971,6 +10999,51 @@ export default class Client extends OpenApi {
8971
10999
  return await this.modifyControlPolicyPositionWithOptions(request, runtime);
8972
11000
  }
8973
11001
 
11002
+ async modifyFirewallV2RoutePolicySwitchWithOptions(request: ModifyFirewallV2RoutePolicySwitchRequest, runtime: $Util.RuntimeOptions): Promise<ModifyFirewallV2RoutePolicySwitchResponse> {
11003
+ Util.validateModel(request);
11004
+ let query = { };
11005
+ if (!Util.isUnset(request.firewallId)) {
11006
+ query["FirewallId"] = request.firewallId;
11007
+ }
11008
+
11009
+ if (!Util.isUnset(request.lang)) {
11010
+ query["Lang"] = request.lang;
11011
+ }
11012
+
11013
+ if (!Util.isUnset(request.shouldRecover)) {
11014
+ query["ShouldRecover"] = request.shouldRecover;
11015
+ }
11016
+
11017
+ if (!Util.isUnset(request.trFirewallRoutePolicyId)) {
11018
+ query["TrFirewallRoutePolicyId"] = request.trFirewallRoutePolicyId;
11019
+ }
11020
+
11021
+ if (!Util.isUnset(request.trFirewallRoutePolicySwitchStatus)) {
11022
+ query["TrFirewallRoutePolicySwitchStatus"] = request.trFirewallRoutePolicySwitchStatus;
11023
+ }
11024
+
11025
+ let req = new $OpenApi.OpenApiRequest({
11026
+ query: OpenApiUtil.query(query),
11027
+ });
11028
+ let params = new $OpenApi.Params({
11029
+ action: "ModifyFirewallV2RoutePolicySwitch",
11030
+ version: "2017-12-07",
11031
+ protocol: "HTTPS",
11032
+ pathname: "/",
11033
+ method: "POST",
11034
+ authType: "AK",
11035
+ style: "RPC",
11036
+ reqBodyType: "formData",
11037
+ bodyType: "json",
11038
+ });
11039
+ return $tea.cast<ModifyFirewallV2RoutePolicySwitchResponse>(await this.callApi(params, req, runtime), new ModifyFirewallV2RoutePolicySwitchResponse({}));
11040
+ }
11041
+
11042
+ async modifyFirewallV2RoutePolicySwitch(request: ModifyFirewallV2RoutePolicySwitchRequest): Promise<ModifyFirewallV2RoutePolicySwitchResponse> {
11043
+ let runtime = new $Util.RuntimeOptions({ });
11044
+ return await this.modifyFirewallV2RoutePolicySwitchWithOptions(request, runtime);
11045
+ }
11046
+
8974
11047
  /**
8975
11048
  * You can call the ModifyInstanceMemberAttributes operation to update the information about members in Cloud Firewall.
8976
11049
  * ## Limits
@@ -9071,6 +11144,98 @@ export default class Client extends OpenApi {
9071
11144
  return await this.modifyPolicyAdvancedConfigWithOptions(request, runtime);
9072
11145
  }
9073
11146
 
11147
+ async modifyTrFirewallV2ConfigurationWithOptions(request: ModifyTrFirewallV2ConfigurationRequest, runtime: $Util.RuntimeOptions): Promise<ModifyTrFirewallV2ConfigurationResponse> {
11148
+ Util.validateModel(request);
11149
+ let query = { };
11150
+ if (!Util.isUnset(request.firewallId)) {
11151
+ query["FirewallId"] = request.firewallId;
11152
+ }
11153
+
11154
+ if (!Util.isUnset(request.firewallName)) {
11155
+ query["FirewallName"] = request.firewallName;
11156
+ }
11157
+
11158
+ if (!Util.isUnset(request.lang)) {
11159
+ query["Lang"] = request.lang;
11160
+ }
11161
+
11162
+ let req = new $OpenApi.OpenApiRequest({
11163
+ query: OpenApiUtil.query(query),
11164
+ });
11165
+ let params = new $OpenApi.Params({
11166
+ action: "ModifyTrFirewallV2Configuration",
11167
+ version: "2017-12-07",
11168
+ protocol: "HTTPS",
11169
+ pathname: "/",
11170
+ method: "POST",
11171
+ authType: "AK",
11172
+ style: "RPC",
11173
+ reqBodyType: "formData",
11174
+ bodyType: "json",
11175
+ });
11176
+ return $tea.cast<ModifyTrFirewallV2ConfigurationResponse>(await this.callApi(params, req, runtime), new ModifyTrFirewallV2ConfigurationResponse({}));
11177
+ }
11178
+
11179
+ async modifyTrFirewallV2Configuration(request: ModifyTrFirewallV2ConfigurationRequest): Promise<ModifyTrFirewallV2ConfigurationResponse> {
11180
+ let runtime = new $Util.RuntimeOptions({ });
11181
+ return await this.modifyTrFirewallV2ConfigurationWithOptions(request, runtime);
11182
+ }
11183
+
11184
+ async modifyTrFirewallV2RoutePolicyScopeWithOptions(tmpReq: ModifyTrFirewallV2RoutePolicyScopeRequest, runtime: $Util.RuntimeOptions): Promise<ModifyTrFirewallV2RoutePolicyScopeResponse> {
11185
+ Util.validateModel(tmpReq);
11186
+ let request = new ModifyTrFirewallV2RoutePolicyScopeShrinkRequest({ });
11187
+ OpenApiUtil.convert(tmpReq, request);
11188
+ if (!Util.isUnset(tmpReq.destCandidateList)) {
11189
+ request.destCandidateListShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.destCandidateList, "DestCandidateList", "json");
11190
+ }
11191
+
11192
+ if (!Util.isUnset(tmpReq.srcCandidateList)) {
11193
+ request.srcCandidateListShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.srcCandidateList, "SrcCandidateList", "json");
11194
+ }
11195
+
11196
+ let query = { };
11197
+ if (!Util.isUnset(request.destCandidateListShrink)) {
11198
+ query["DestCandidateList"] = request.destCandidateListShrink;
11199
+ }
11200
+
11201
+ if (!Util.isUnset(request.firewallId)) {
11202
+ query["FirewallId"] = request.firewallId;
11203
+ }
11204
+
11205
+ if (!Util.isUnset(request.lang)) {
11206
+ query["Lang"] = request.lang;
11207
+ }
11208
+
11209
+ if (!Util.isUnset(request.srcCandidateListShrink)) {
11210
+ query["SrcCandidateList"] = request.srcCandidateListShrink;
11211
+ }
11212
+
11213
+ if (!Util.isUnset(request.trFirewallRoutePolicyId)) {
11214
+ query["TrFirewallRoutePolicyId"] = request.trFirewallRoutePolicyId;
11215
+ }
11216
+
11217
+ let req = new $OpenApi.OpenApiRequest({
11218
+ query: OpenApiUtil.query(query),
11219
+ });
11220
+ let params = new $OpenApi.Params({
11221
+ action: "ModifyTrFirewallV2RoutePolicyScope",
11222
+ version: "2017-12-07",
11223
+ protocol: "HTTPS",
11224
+ pathname: "/",
11225
+ method: "POST",
11226
+ authType: "AK",
11227
+ style: "RPC",
11228
+ reqBodyType: "formData",
11229
+ bodyType: "json",
11230
+ });
11231
+ return $tea.cast<ModifyTrFirewallV2RoutePolicyScopeResponse>(await this.callApi(params, req, runtime), new ModifyTrFirewallV2RoutePolicyScopeResponse({}));
11232
+ }
11233
+
11234
+ async modifyTrFirewallV2RoutePolicyScope(request: ModifyTrFirewallV2RoutePolicyScopeRequest): Promise<ModifyTrFirewallV2RoutePolicyScopeResponse> {
11235
+ let runtime = new $Util.RuntimeOptions({ });
11236
+ return await this.modifyTrFirewallV2RoutePolicyScopeWithOptions(request, runtime);
11237
+ }
11238
+
9074
11239
  /**
9075
11240
  * 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.
9076
11241
  * ## Limits
@@ -9256,7 +11421,7 @@ export default class Client extends OpenApi {
9256
11421
  }
9257
11422
 
9258
11423
  /**
9259
- * 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.
11424
+ * 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.
9260
11425
  * ## Limits
9261
11426
  * 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.
9262
11427
  *
@@ -9345,7 +11510,7 @@ export default class Client extends OpenApi {
9345
11510
  }
9346
11511
 
9347
11512
  /**
9348
- * 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.
11513
+ * 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.
9349
11514
  * ## Limits
9350
11515
  * 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.
9351
11516
  *