@alicloud/cloudfw20171207 1.2.4 → 1.2.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/src/client.ts CHANGED
@@ -350,6 +350,229 @@ export class BatchCopyVpcFirewallControlPolicyResponse extends $tea.Model {
350
350
  }
351
351
  }
352
352
 
353
+ export class CreateTrFirewallV2Request extends $tea.Model {
354
+ cenId?: string;
355
+ firewallDescription?: string;
356
+ firewallName?: string;
357
+ firewallSubnetCidr?: string;
358
+ firewallVpcCidr?: string;
359
+ firewallVpcId?: string;
360
+ firewallVswitchId?: string;
361
+ lang?: string;
362
+ regionNo?: string;
363
+ routeMode?: string;
364
+ trAttachmentMasterCidr?: string;
365
+ trAttachmentSlaveCidr?: string;
366
+ transitRouterId?: string;
367
+ static names(): { [key: string]: string } {
368
+ return {
369
+ cenId: 'CenId',
370
+ firewallDescription: 'FirewallDescription',
371
+ firewallName: 'FirewallName',
372
+ firewallSubnetCidr: 'FirewallSubnetCidr',
373
+ firewallVpcCidr: 'FirewallVpcCidr',
374
+ firewallVpcId: 'FirewallVpcId',
375
+ firewallVswitchId: 'FirewallVswitchId',
376
+ lang: 'Lang',
377
+ regionNo: 'RegionNo',
378
+ routeMode: 'RouteMode',
379
+ trAttachmentMasterCidr: 'TrAttachmentMasterCidr',
380
+ trAttachmentSlaveCidr: 'TrAttachmentSlaveCidr',
381
+ transitRouterId: 'TransitRouterId',
382
+ };
383
+ }
384
+
385
+ static types(): { [key: string]: any } {
386
+ return {
387
+ cenId: 'string',
388
+ firewallDescription: 'string',
389
+ firewallName: 'string',
390
+ firewallSubnetCidr: 'string',
391
+ firewallVpcCidr: 'string',
392
+ firewallVpcId: 'string',
393
+ firewallVswitchId: 'string',
394
+ lang: 'string',
395
+ regionNo: 'string',
396
+ routeMode: 'string',
397
+ trAttachmentMasterCidr: 'string',
398
+ trAttachmentSlaveCidr: 'string',
399
+ transitRouterId: 'string',
400
+ };
401
+ }
402
+
403
+ constructor(map?: { [key: string]: any }) {
404
+ super(map);
405
+ }
406
+ }
407
+
408
+ export class CreateTrFirewallV2ResponseBody extends $tea.Model {
409
+ firewallId?: string;
410
+ requestId?: string;
411
+ static names(): { [key: string]: string } {
412
+ return {
413
+ firewallId: 'FirewallId',
414
+ requestId: 'RequestId',
415
+ };
416
+ }
417
+
418
+ static types(): { [key: string]: any } {
419
+ return {
420
+ firewallId: 'string',
421
+ requestId: 'string',
422
+ };
423
+ }
424
+
425
+ constructor(map?: { [key: string]: any }) {
426
+ super(map);
427
+ }
428
+ }
429
+
430
+ export class CreateTrFirewallV2Response extends $tea.Model {
431
+ headers: { [key: string]: string };
432
+ statusCode: number;
433
+ body: CreateTrFirewallV2ResponseBody;
434
+ static names(): { [key: string]: string } {
435
+ return {
436
+ headers: 'headers',
437
+ statusCode: 'statusCode',
438
+ body: 'body',
439
+ };
440
+ }
441
+
442
+ static types(): { [key: string]: any } {
443
+ return {
444
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
445
+ statusCode: 'number',
446
+ body: CreateTrFirewallV2ResponseBody,
447
+ };
448
+ }
449
+
450
+ constructor(map?: { [key: string]: any }) {
451
+ super(map);
452
+ }
453
+ }
454
+
455
+ export class CreateTrFirewallV2RoutePolicyRequest extends $tea.Model {
456
+ destCandidateList?: CreateTrFirewallV2RoutePolicyRequestDestCandidateList[];
457
+ firewallId?: string;
458
+ lang?: string;
459
+ policyDescription?: string;
460
+ policyName?: string;
461
+ policyType?: string;
462
+ srcCandidateList?: CreateTrFirewallV2RoutePolicyRequestSrcCandidateList[];
463
+ static names(): { [key: string]: string } {
464
+ return {
465
+ destCandidateList: 'DestCandidateList',
466
+ firewallId: 'FirewallId',
467
+ lang: 'Lang',
468
+ policyDescription: 'PolicyDescription',
469
+ policyName: 'PolicyName',
470
+ policyType: 'PolicyType',
471
+ srcCandidateList: 'SrcCandidateList',
472
+ };
473
+ }
474
+
475
+ static types(): { [key: string]: any } {
476
+ return {
477
+ destCandidateList: { 'type': 'array', 'itemType': CreateTrFirewallV2RoutePolicyRequestDestCandidateList },
478
+ firewallId: 'string',
479
+ lang: 'string',
480
+ policyDescription: 'string',
481
+ policyName: 'string',
482
+ policyType: 'string',
483
+ srcCandidateList: { 'type': 'array', 'itemType': CreateTrFirewallV2RoutePolicyRequestSrcCandidateList },
484
+ };
485
+ }
486
+
487
+ constructor(map?: { [key: string]: any }) {
488
+ super(map);
489
+ }
490
+ }
491
+
492
+ export class CreateTrFirewallV2RoutePolicyShrinkRequest extends $tea.Model {
493
+ destCandidateListShrink?: string;
494
+ firewallId?: string;
495
+ lang?: string;
496
+ policyDescription?: string;
497
+ policyName?: string;
498
+ policyType?: string;
499
+ srcCandidateListShrink?: string;
500
+ static names(): { [key: string]: string } {
501
+ return {
502
+ destCandidateListShrink: 'DestCandidateList',
503
+ firewallId: 'FirewallId',
504
+ lang: 'Lang',
505
+ policyDescription: 'PolicyDescription',
506
+ policyName: 'PolicyName',
507
+ policyType: 'PolicyType',
508
+ srcCandidateListShrink: 'SrcCandidateList',
509
+ };
510
+ }
511
+
512
+ static types(): { [key: string]: any } {
513
+ return {
514
+ destCandidateListShrink: 'string',
515
+ firewallId: 'string',
516
+ lang: 'string',
517
+ policyDescription: 'string',
518
+ policyName: 'string',
519
+ policyType: 'string',
520
+ srcCandidateListShrink: 'string',
521
+ };
522
+ }
523
+
524
+ constructor(map?: { [key: string]: any }) {
525
+ super(map);
526
+ }
527
+ }
528
+
529
+ export class CreateTrFirewallV2RoutePolicyResponseBody extends $tea.Model {
530
+ requestId?: string;
531
+ trFirewallRoutePolicyId?: string;
532
+ static names(): { [key: string]: string } {
533
+ return {
534
+ requestId: 'RequestId',
535
+ trFirewallRoutePolicyId: 'TrFirewallRoutePolicyId',
536
+ };
537
+ }
538
+
539
+ static types(): { [key: string]: any } {
540
+ return {
541
+ requestId: 'string',
542
+ trFirewallRoutePolicyId: 'string',
543
+ };
544
+ }
545
+
546
+ constructor(map?: { [key: string]: any }) {
547
+ super(map);
548
+ }
549
+ }
550
+
551
+ export class CreateTrFirewallV2RoutePolicyResponse extends $tea.Model {
552
+ headers: { [key: string]: string };
553
+ statusCode: number;
554
+ body: CreateTrFirewallV2RoutePolicyResponseBody;
555
+ static names(): { [key: string]: string } {
556
+ return {
557
+ headers: 'headers',
558
+ statusCode: 'statusCode',
559
+ body: 'body',
560
+ };
561
+ }
562
+
563
+ static types(): { [key: string]: any } {
564
+ return {
565
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
566
+ statusCode: 'number',
567
+ body: CreateTrFirewallV2RoutePolicyResponseBody,
568
+ };
569
+ }
570
+
571
+ constructor(map?: { [key: string]: any }) {
572
+ super(map);
573
+ }
574
+ }
575
+
353
576
  export class CreateVpcFirewallCenConfigureRequest extends $tea.Model {
354
577
  cenId?: string;
355
578
  firewallSwitch?: string;
@@ -782,17 +1005,23 @@ export class DeleteControlPolicyResponse extends $tea.Model {
782
1005
  }
783
1006
  }
784
1007
 
785
- export class DeleteInstanceMembersRequest extends $tea.Model {
786
- memberUids?: number[];
1008
+ export class DeleteFirewallV2RoutePoliciesRequest extends $tea.Model {
1009
+ firewallId?: string;
1010
+ lang?: string;
1011
+ trFirewallRoutePolicyId?: string;
787
1012
  static names(): { [key: string]: string } {
788
1013
  return {
789
- memberUids: 'MemberUids',
1014
+ firewallId: 'FirewallId',
1015
+ lang: 'Lang',
1016
+ trFirewallRoutePolicyId: 'TrFirewallRoutePolicyId',
790
1017
  };
791
1018
  }
792
1019
 
793
1020
  static types(): { [key: string]: any } {
794
1021
  return {
795
- memberUids: { 'type': 'array', 'itemType': 'number' },
1022
+ firewallId: 'string',
1023
+ lang: 'string',
1024
+ trFirewallRoutePolicyId: 'string',
796
1025
  };
797
1026
  }
798
1027
 
@@ -801,7 +1030,7 @@ export class DeleteInstanceMembersRequest extends $tea.Model {
801
1030
  }
802
1031
  }
803
1032
 
804
- export class DeleteInstanceMembersResponseBody extends $tea.Model {
1033
+ export class DeleteFirewallV2RoutePoliciesResponseBody extends $tea.Model {
805
1034
  requestId?: string;
806
1035
  static names(): { [key: string]: string } {
807
1036
  return {
@@ -820,10 +1049,10 @@ export class DeleteInstanceMembersResponseBody extends $tea.Model {
820
1049
  }
821
1050
  }
822
1051
 
823
- export class DeleteInstanceMembersResponse extends $tea.Model {
1052
+ export class DeleteFirewallV2RoutePoliciesResponse extends $tea.Model {
824
1053
  headers: { [key: string]: string };
825
1054
  statusCode: number;
826
- body: DeleteInstanceMembersResponseBody;
1055
+ body: DeleteFirewallV2RoutePoliciesResponseBody;
827
1056
  static names(): { [key: string]: string } {
828
1057
  return {
829
1058
  headers: 'headers',
@@ -836,7 +1065,7 @@ export class DeleteInstanceMembersResponse extends $tea.Model {
836
1065
  return {
837
1066
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
838
1067
  statusCode: 'number',
839
- body: DeleteInstanceMembersResponseBody,
1068
+ body: DeleteFirewallV2RoutePoliciesResponseBody,
840
1069
  };
841
1070
  }
842
1071
 
@@ -845,23 +1074,17 @@ export class DeleteInstanceMembersResponse extends $tea.Model {
845
1074
  }
846
1075
  }
847
1076
 
848
- export class DeleteVpcFirewallCenConfigureRequest extends $tea.Model {
849
- lang?: string;
850
- memberUid?: string;
851
- vpcFirewallIdList?: string[];
1077
+ export class DeleteInstanceMembersRequest extends $tea.Model {
1078
+ memberUids?: number[];
852
1079
  static names(): { [key: string]: string } {
853
1080
  return {
854
- lang: 'Lang',
855
- memberUid: 'MemberUid',
856
- vpcFirewallIdList: 'VpcFirewallIdList',
1081
+ memberUids: 'MemberUids',
857
1082
  };
858
1083
  }
859
1084
 
860
1085
  static types(): { [key: string]: any } {
861
1086
  return {
862
- lang: 'string',
863
- memberUid: 'string',
864
- vpcFirewallIdList: { 'type': 'array', 'itemType': 'string' },
1087
+ memberUids: { 'type': 'array', 'itemType': 'number' },
865
1088
  };
866
1089
  }
867
1090
 
@@ -870,7 +1093,7 @@ export class DeleteVpcFirewallCenConfigureRequest extends $tea.Model {
870
1093
  }
871
1094
  }
872
1095
 
873
- export class DeleteVpcFirewallCenConfigureResponseBody extends $tea.Model {
1096
+ export class DeleteInstanceMembersResponseBody extends $tea.Model {
874
1097
  requestId?: string;
875
1098
  static names(): { [key: string]: string } {
876
1099
  return {
@@ -889,10 +1112,10 @@ export class DeleteVpcFirewallCenConfigureResponseBody extends $tea.Model {
889
1112
  }
890
1113
  }
891
1114
 
892
- export class DeleteVpcFirewallCenConfigureResponse extends $tea.Model {
1115
+ export class DeleteInstanceMembersResponse extends $tea.Model {
893
1116
  headers: { [key: string]: string };
894
1117
  statusCode: number;
895
- body: DeleteVpcFirewallCenConfigureResponseBody;
1118
+ body: DeleteInstanceMembersResponseBody;
896
1119
  static names(): { [key: string]: string } {
897
1120
  return {
898
1121
  headers: 'headers',
@@ -905,7 +1128,7 @@ export class DeleteVpcFirewallCenConfigureResponse extends $tea.Model {
905
1128
  return {
906
1129
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
907
1130
  statusCode: 'number',
908
- body: DeleteVpcFirewallCenConfigureResponseBody,
1131
+ body: DeleteInstanceMembersResponseBody,
909
1132
  };
910
1133
  }
911
1134
 
@@ -914,23 +1137,20 @@ export class DeleteVpcFirewallCenConfigureResponse extends $tea.Model {
914
1137
  }
915
1138
  }
916
1139
 
917
- export class DeleteVpcFirewallConfigureRequest extends $tea.Model {
1140
+ export class DeleteTrFirewallV2Request extends $tea.Model {
1141
+ firewallId?: string;
918
1142
  lang?: string;
919
- memberUid?: string;
920
- vpcFirewallIdList?: string[];
921
1143
  static names(): { [key: string]: string } {
922
1144
  return {
1145
+ firewallId: 'FirewallId',
923
1146
  lang: 'Lang',
924
- memberUid: 'MemberUid',
925
- vpcFirewallIdList: 'VpcFirewallIdList',
926
1147
  };
927
1148
  }
928
1149
 
929
1150
  static types(): { [key: string]: any } {
930
1151
  return {
1152
+ firewallId: 'string',
931
1153
  lang: 'string',
932
- memberUid: 'string',
933
- vpcFirewallIdList: { 'type': 'array', 'itemType': 'string' },
934
1154
  };
935
1155
  }
936
1156
 
@@ -939,7 +1159,7 @@ export class DeleteVpcFirewallConfigureRequest extends $tea.Model {
939
1159
  }
940
1160
  }
941
1161
 
942
- export class DeleteVpcFirewallConfigureResponseBody extends $tea.Model {
1162
+ export class DeleteTrFirewallV2ResponseBody extends $tea.Model {
943
1163
  requestId?: string;
944
1164
  static names(): { [key: string]: string } {
945
1165
  return {
@@ -958,10 +1178,10 @@ export class DeleteVpcFirewallConfigureResponseBody extends $tea.Model {
958
1178
  }
959
1179
  }
960
1180
 
961
- export class DeleteVpcFirewallConfigureResponse extends $tea.Model {
1181
+ export class DeleteTrFirewallV2Response extends $tea.Model {
962
1182
  headers: { [key: string]: string };
963
1183
  statusCode: number;
964
- body: DeleteVpcFirewallConfigureResponseBody;
1184
+ body: DeleteTrFirewallV2ResponseBody;
965
1185
  static names(): { [key: string]: string } {
966
1186
  return {
967
1187
  headers: 'headers',
@@ -974,7 +1194,7 @@ export class DeleteVpcFirewallConfigureResponse extends $tea.Model {
974
1194
  return {
975
1195
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
976
1196
  statusCode: 'number',
977
- body: DeleteVpcFirewallConfigureResponseBody,
1197
+ body: DeleteTrFirewallV2ResponseBody,
978
1198
  };
979
1199
  }
980
1200
 
@@ -983,23 +1203,23 @@ export class DeleteVpcFirewallConfigureResponse extends $tea.Model {
983
1203
  }
984
1204
  }
985
1205
 
986
- export class DeleteVpcFirewallControlPolicyRequest extends $tea.Model {
987
- aclUuid?: string;
1206
+ export class DeleteVpcFirewallCenConfigureRequest extends $tea.Model {
988
1207
  lang?: string;
989
- vpcFirewallId?: string;
1208
+ memberUid?: string;
1209
+ vpcFirewallIdList?: string[];
990
1210
  static names(): { [key: string]: string } {
991
1211
  return {
992
- aclUuid: 'AclUuid',
993
1212
  lang: 'Lang',
994
- vpcFirewallId: 'VpcFirewallId',
1213
+ memberUid: 'MemberUid',
1214
+ vpcFirewallIdList: 'VpcFirewallIdList',
995
1215
  };
996
1216
  }
997
1217
 
998
1218
  static types(): { [key: string]: any } {
999
1219
  return {
1000
- aclUuid: 'string',
1001
1220
  lang: 'string',
1002
- vpcFirewallId: 'string',
1221
+ memberUid: 'string',
1222
+ vpcFirewallIdList: { 'type': 'array', 'itemType': 'string' },
1003
1223
  };
1004
1224
  }
1005
1225
 
@@ -1008,7 +1228,7 @@ export class DeleteVpcFirewallControlPolicyRequest extends $tea.Model {
1008
1228
  }
1009
1229
  }
1010
1230
 
1011
- export class DeleteVpcFirewallControlPolicyResponseBody extends $tea.Model {
1231
+ export class DeleteVpcFirewallCenConfigureResponseBody extends $tea.Model {
1012
1232
  requestId?: string;
1013
1233
  static names(): { [key: string]: string } {
1014
1234
  return {
@@ -1027,10 +1247,10 @@ export class DeleteVpcFirewallControlPolicyResponseBody extends $tea.Model {
1027
1247
  }
1028
1248
  }
1029
1249
 
1030
- export class DeleteVpcFirewallControlPolicyResponse extends $tea.Model {
1250
+ export class DeleteVpcFirewallCenConfigureResponse extends $tea.Model {
1031
1251
  headers: { [key: string]: string };
1032
1252
  statusCode: number;
1033
- body: DeleteVpcFirewallControlPolicyResponseBody;
1253
+ body: DeleteVpcFirewallCenConfigureResponseBody;
1034
1254
  static names(): { [key: string]: string } {
1035
1255
  return {
1036
1256
  headers: 'headers',
@@ -1043,7 +1263,7 @@ export class DeleteVpcFirewallControlPolicyResponse extends $tea.Model {
1043
1263
  return {
1044
1264
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1045
1265
  statusCode: 'number',
1046
- body: DeleteVpcFirewallControlPolicyResponseBody,
1266
+ body: DeleteVpcFirewallCenConfigureResponseBody,
1047
1267
  };
1048
1268
  }
1049
1269
 
@@ -1052,32 +1272,23 @@ export class DeleteVpcFirewallControlPolicyResponse extends $tea.Model {
1052
1272
  }
1053
1273
  }
1054
1274
 
1055
- export class DescribeAddressBookRequest extends $tea.Model {
1056
- containPort?: string;
1057
- currentPage?: string;
1058
- groupType?: string;
1275
+ export class DeleteVpcFirewallConfigureRequest extends $tea.Model {
1059
1276
  lang?: string;
1060
- pageSize?: string;
1061
- query?: string;
1277
+ memberUid?: string;
1278
+ vpcFirewallIdList?: string[];
1062
1279
  static names(): { [key: string]: string } {
1063
1280
  return {
1064
- containPort: 'ContainPort',
1065
- currentPage: 'CurrentPage',
1066
- groupType: 'GroupType',
1067
1281
  lang: 'Lang',
1068
- pageSize: 'PageSize',
1069
- query: 'Query',
1282
+ memberUid: 'MemberUid',
1283
+ vpcFirewallIdList: 'VpcFirewallIdList',
1070
1284
  };
1071
1285
  }
1072
1286
 
1073
1287
  static types(): { [key: string]: any } {
1074
1288
  return {
1075
- containPort: 'string',
1076
- currentPage: 'string',
1077
- groupType: 'string',
1078
1289
  lang: 'string',
1079
- pageSize: 'string',
1080
- query: 'string',
1290
+ memberUid: 'string',
1291
+ vpcFirewallIdList: { 'type': 'array', 'itemType': 'string' },
1081
1292
  };
1082
1293
  }
1083
1294
 
@@ -1086,29 +1297,17 @@ export class DescribeAddressBookRequest extends $tea.Model {
1086
1297
  }
1087
1298
  }
1088
1299
 
1089
- export class DescribeAddressBookResponseBody extends $tea.Model {
1090
- acls?: DescribeAddressBookResponseBodyAcls[];
1091
- pageNo?: string;
1092
- pageSize?: string;
1300
+ export class DeleteVpcFirewallConfigureResponseBody extends $tea.Model {
1093
1301
  requestId?: string;
1094
- totalCount?: string;
1095
1302
  static names(): { [key: string]: string } {
1096
1303
  return {
1097
- acls: 'Acls',
1098
- pageNo: 'PageNo',
1099
- pageSize: 'PageSize',
1100
1304
  requestId: 'RequestId',
1101
- totalCount: 'TotalCount',
1102
1305
  };
1103
1306
  }
1104
1307
 
1105
1308
  static types(): { [key: string]: any } {
1106
1309
  return {
1107
- acls: { 'type': 'array', 'itemType': DescribeAddressBookResponseBodyAcls },
1108
- pageNo: 'string',
1109
- pageSize: 'string',
1110
1310
  requestId: 'string',
1111
- totalCount: 'string',
1112
1311
  };
1113
1312
  }
1114
1313
 
@@ -1117,10 +1316,10 @@ export class DescribeAddressBookResponseBody extends $tea.Model {
1117
1316
  }
1118
1317
  }
1119
1318
 
1120
- export class DescribeAddressBookResponse extends $tea.Model {
1319
+ export class DeleteVpcFirewallConfigureResponse extends $tea.Model {
1121
1320
  headers: { [key: string]: string };
1122
1321
  statusCode: number;
1123
- body: DescribeAddressBookResponseBody;
1322
+ body: DeleteVpcFirewallConfigureResponseBody;
1124
1323
  static names(): { [key: string]: string } {
1125
1324
  return {
1126
1325
  headers: 'headers',
@@ -1133,7 +1332,7 @@ export class DescribeAddressBookResponse extends $tea.Model {
1133
1332
  return {
1134
1333
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1135
1334
  statusCode: 'number',
1136
- body: DescribeAddressBookResponseBody,
1335
+ body: DeleteVpcFirewallConfigureResponseBody,
1137
1336
  };
1138
1337
  }
1139
1338
 
@@ -1142,7 +1341,166 @@ export class DescribeAddressBookResponse extends $tea.Model {
1142
1341
  }
1143
1342
  }
1144
1343
 
1145
- export class DescribeAssetListRequest extends $tea.Model {
1344
+ export class DeleteVpcFirewallControlPolicyRequest extends $tea.Model {
1345
+ aclUuid?: string;
1346
+ lang?: string;
1347
+ vpcFirewallId?: string;
1348
+ static names(): { [key: string]: string } {
1349
+ return {
1350
+ aclUuid: 'AclUuid',
1351
+ lang: 'Lang',
1352
+ vpcFirewallId: 'VpcFirewallId',
1353
+ };
1354
+ }
1355
+
1356
+ static types(): { [key: string]: any } {
1357
+ return {
1358
+ aclUuid: 'string',
1359
+ lang: 'string',
1360
+ vpcFirewallId: 'string',
1361
+ };
1362
+ }
1363
+
1364
+ constructor(map?: { [key: string]: any }) {
1365
+ super(map);
1366
+ }
1367
+ }
1368
+
1369
+ export class DeleteVpcFirewallControlPolicyResponseBody extends $tea.Model {
1370
+ requestId?: string;
1371
+ static names(): { [key: string]: string } {
1372
+ return {
1373
+ requestId: 'RequestId',
1374
+ };
1375
+ }
1376
+
1377
+ static types(): { [key: string]: any } {
1378
+ return {
1379
+ requestId: 'string',
1380
+ };
1381
+ }
1382
+
1383
+ constructor(map?: { [key: string]: any }) {
1384
+ super(map);
1385
+ }
1386
+ }
1387
+
1388
+ export class DeleteVpcFirewallControlPolicyResponse extends $tea.Model {
1389
+ headers: { [key: string]: string };
1390
+ statusCode: number;
1391
+ body: DeleteVpcFirewallControlPolicyResponseBody;
1392
+ static names(): { [key: string]: string } {
1393
+ return {
1394
+ headers: 'headers',
1395
+ statusCode: 'statusCode',
1396
+ body: 'body',
1397
+ };
1398
+ }
1399
+
1400
+ static types(): { [key: string]: any } {
1401
+ return {
1402
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1403
+ statusCode: 'number',
1404
+ body: DeleteVpcFirewallControlPolicyResponseBody,
1405
+ };
1406
+ }
1407
+
1408
+ constructor(map?: { [key: string]: any }) {
1409
+ super(map);
1410
+ }
1411
+ }
1412
+
1413
+ export class DescribeAddressBookRequest extends $tea.Model {
1414
+ containPort?: string;
1415
+ currentPage?: string;
1416
+ groupType?: string;
1417
+ lang?: string;
1418
+ pageSize?: string;
1419
+ query?: string;
1420
+ static names(): { [key: string]: string } {
1421
+ return {
1422
+ containPort: 'ContainPort',
1423
+ currentPage: 'CurrentPage',
1424
+ groupType: 'GroupType',
1425
+ lang: 'Lang',
1426
+ pageSize: 'PageSize',
1427
+ query: 'Query',
1428
+ };
1429
+ }
1430
+
1431
+ static types(): { [key: string]: any } {
1432
+ return {
1433
+ containPort: 'string',
1434
+ currentPage: 'string',
1435
+ groupType: 'string',
1436
+ lang: 'string',
1437
+ pageSize: 'string',
1438
+ query: 'string',
1439
+ };
1440
+ }
1441
+
1442
+ constructor(map?: { [key: string]: any }) {
1443
+ super(map);
1444
+ }
1445
+ }
1446
+
1447
+ export class DescribeAddressBookResponseBody extends $tea.Model {
1448
+ acls?: DescribeAddressBookResponseBodyAcls[];
1449
+ pageNo?: string;
1450
+ pageSize?: string;
1451
+ requestId?: string;
1452
+ totalCount?: string;
1453
+ static names(): { [key: string]: string } {
1454
+ return {
1455
+ acls: 'Acls',
1456
+ pageNo: 'PageNo',
1457
+ pageSize: 'PageSize',
1458
+ requestId: 'RequestId',
1459
+ totalCount: 'TotalCount',
1460
+ };
1461
+ }
1462
+
1463
+ static types(): { [key: string]: any } {
1464
+ return {
1465
+ acls: { 'type': 'array', 'itemType': DescribeAddressBookResponseBodyAcls },
1466
+ pageNo: 'string',
1467
+ pageSize: 'string',
1468
+ requestId: 'string',
1469
+ totalCount: 'string',
1470
+ };
1471
+ }
1472
+
1473
+ constructor(map?: { [key: string]: any }) {
1474
+ super(map);
1475
+ }
1476
+ }
1477
+
1478
+ export class DescribeAddressBookResponse extends $tea.Model {
1479
+ headers: { [key: string]: string };
1480
+ statusCode: number;
1481
+ body: DescribeAddressBookResponseBody;
1482
+ static names(): { [key: string]: string } {
1483
+ return {
1484
+ headers: 'headers',
1485
+ statusCode: 'statusCode',
1486
+ body: 'body',
1487
+ };
1488
+ }
1489
+
1490
+ static types(): { [key: string]: any } {
1491
+ return {
1492
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1493
+ statusCode: 'number',
1494
+ body: DescribeAddressBookResponseBody,
1495
+ };
1496
+ }
1497
+
1498
+ constructor(map?: { [key: string]: any }) {
1499
+ super(map);
1500
+ }
1501
+ }
1502
+
1503
+ export class DescribeAssetListRequest extends $tea.Model {
1146
1504
  currentPage?: string;
1147
1505
  ipVersion?: string;
1148
1506
  lang?: string;
@@ -1511,6 +1869,135 @@ export class DescribeInstanceMembersResponse extends $tea.Model {
1511
1869
  }
1512
1870
  }
1513
1871
 
1872
+ export class DescribeInternetTrafficTrendRequest extends $tea.Model {
1873
+ direction?: string;
1874
+ endTime?: string;
1875
+ lang?: string;
1876
+ sourceCode?: string;
1877
+ sourceIp?: string;
1878
+ srcPrivateIP?: string;
1879
+ srcPublicIP?: string;
1880
+ startTime?: string;
1881
+ trafficType?: string;
1882
+ static names(): { [key: string]: string } {
1883
+ return {
1884
+ direction: 'Direction',
1885
+ endTime: 'EndTime',
1886
+ lang: 'Lang',
1887
+ sourceCode: 'SourceCode',
1888
+ sourceIp: 'SourceIp',
1889
+ srcPrivateIP: 'SrcPrivateIP',
1890
+ srcPublicIP: 'SrcPublicIP',
1891
+ startTime: 'StartTime',
1892
+ trafficType: 'TrafficType',
1893
+ };
1894
+ }
1895
+
1896
+ static types(): { [key: string]: any } {
1897
+ return {
1898
+ direction: 'string',
1899
+ endTime: 'string',
1900
+ lang: 'string',
1901
+ sourceCode: 'string',
1902
+ sourceIp: 'string',
1903
+ srcPrivateIP: 'string',
1904
+ srcPublicIP: 'string',
1905
+ startTime: 'string',
1906
+ trafficType: 'string',
1907
+ };
1908
+ }
1909
+
1910
+ constructor(map?: { [key: string]: any }) {
1911
+ super(map);
1912
+ }
1913
+ }
1914
+
1915
+ export class DescribeInternetTrafficTrendResponseBody extends $tea.Model {
1916
+ avgInBps?: number;
1917
+ avgOutBps?: number;
1918
+ avgSession?: number;
1919
+ avgTotalBps?: number;
1920
+ dataList?: DescribeInternetTrafficTrendResponseBodyDataList[];
1921
+ maxBandwidthTime?: number;
1922
+ maxInBps?: number;
1923
+ maxOutBps?: number;
1924
+ maxSession?: number;
1925
+ maxTotalBps?: number;
1926
+ requestId?: string;
1927
+ totalBytes?: number;
1928
+ totalInBytes?: number;
1929
+ totalOutBytes?: number;
1930
+ totalSession?: number;
1931
+ static names(): { [key: string]: string } {
1932
+ return {
1933
+ avgInBps: 'AvgInBps',
1934
+ avgOutBps: 'AvgOutBps',
1935
+ avgSession: 'AvgSession',
1936
+ avgTotalBps: 'AvgTotalBps',
1937
+ dataList: 'DataList',
1938
+ maxBandwidthTime: 'MaxBandwidthTime',
1939
+ maxInBps: 'MaxInBps',
1940
+ maxOutBps: 'MaxOutBps',
1941
+ maxSession: 'MaxSession',
1942
+ maxTotalBps: 'MaxTotalBps',
1943
+ requestId: 'RequestId',
1944
+ totalBytes: 'TotalBytes',
1945
+ totalInBytes: 'TotalInBytes',
1946
+ totalOutBytes: 'TotalOutBytes',
1947
+ totalSession: 'TotalSession',
1948
+ };
1949
+ }
1950
+
1951
+ static types(): { [key: string]: any } {
1952
+ return {
1953
+ avgInBps: 'number',
1954
+ avgOutBps: 'number',
1955
+ avgSession: 'number',
1956
+ avgTotalBps: 'number',
1957
+ dataList: { 'type': 'array', 'itemType': DescribeInternetTrafficTrendResponseBodyDataList },
1958
+ maxBandwidthTime: 'number',
1959
+ maxInBps: 'number',
1960
+ maxOutBps: 'number',
1961
+ maxSession: 'number',
1962
+ maxTotalBps: 'number',
1963
+ requestId: 'string',
1964
+ totalBytes: 'number',
1965
+ totalInBytes: 'number',
1966
+ totalOutBytes: 'number',
1967
+ totalSession: 'number',
1968
+ };
1969
+ }
1970
+
1971
+ constructor(map?: { [key: string]: any }) {
1972
+ super(map);
1973
+ }
1974
+ }
1975
+
1976
+ export class DescribeInternetTrafficTrendResponse extends $tea.Model {
1977
+ headers: { [key: string]: string };
1978
+ statusCode: number;
1979
+ body: DescribeInternetTrafficTrendResponseBody;
1980
+ static names(): { [key: string]: string } {
1981
+ return {
1982
+ headers: 'headers',
1983
+ statusCode: 'statusCode',
1984
+ body: 'body',
1985
+ };
1986
+ }
1987
+
1988
+ static types(): { [key: string]: any } {
1989
+ return {
1990
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1991
+ statusCode: 'number',
1992
+ body: DescribeInternetTrafficTrendResponseBody,
1993
+ };
1994
+ }
1995
+
1996
+ constructor(map?: { [key: string]: any }) {
1997
+ super(map);
1998
+ }
1999
+ }
2000
+
1514
2001
  export class DescribeInvadeEventListRequest extends $tea.Model {
1515
2002
  assetsIP?: string;
1516
2003
  assetsInstanceId?: string;
@@ -2120,23 +2607,23 @@ export class DescribeRiskEventGroupResponse extends $tea.Model {
2120
2607
  }
2121
2608
  }
2122
2609
 
2123
- export class DescribeUserAssetIPTrafficInfoRequest extends $tea.Model {
2124
- assetIP?: string;
2610
+ export class DescribeTrFirewallPolicyBackUpAssociationListRequest extends $tea.Model {
2611
+ firewallId?: string;
2125
2612
  lang?: string;
2126
- trafficTime?: string;
2613
+ trFirewallRoutePolicyId?: string;
2127
2614
  static names(): { [key: string]: string } {
2128
2615
  return {
2129
- assetIP: 'AssetIP',
2616
+ firewallId: 'FirewallId',
2130
2617
  lang: 'Lang',
2131
- trafficTime: 'TrafficTime',
2618
+ trFirewallRoutePolicyId: 'TrFirewallRoutePolicyId',
2132
2619
  };
2133
2620
  }
2134
2621
 
2135
2622
  static types(): { [key: string]: any } {
2136
2623
  return {
2137
- assetIP: 'string',
2624
+ firewallId: 'string',
2138
2625
  lang: 'string',
2139
- trafficTime: 'string',
2626
+ trFirewallRoutePolicyId: 'string',
2140
2627
  };
2141
2628
  }
2142
2629
 
@@ -2145,41 +2632,20 @@ export class DescribeUserAssetIPTrafficInfoRequest extends $tea.Model {
2145
2632
  }
2146
2633
  }
2147
2634
 
2148
- export class DescribeUserAssetIPTrafficInfoResponseBody extends $tea.Model {
2149
- endTime?: number;
2150
- inBps?: number;
2151
- inPps?: number;
2152
- newConn?: number;
2153
- outBps?: number;
2154
- outPps?: number;
2635
+ export class DescribeTrFirewallPolicyBackUpAssociationListResponseBody extends $tea.Model {
2636
+ policyAssociationBackupConfigs?: DescribeTrFirewallPolicyBackUpAssociationListResponseBodyPolicyAssociationBackupConfigs[];
2155
2637
  requestId?: string;
2156
- sessionCount?: number;
2157
- startTime?: number;
2158
2638
  static names(): { [key: string]: string } {
2159
2639
  return {
2160
- endTime: 'EndTime',
2161
- inBps: 'InBps',
2162
- inPps: 'InPps',
2163
- newConn: 'NewConn',
2164
- outBps: 'OutBps',
2165
- outPps: 'OutPps',
2640
+ policyAssociationBackupConfigs: 'PolicyAssociationBackupConfigs',
2166
2641
  requestId: 'RequestId',
2167
- sessionCount: 'SessionCount',
2168
- startTime: 'StartTime',
2169
2642
  };
2170
2643
  }
2171
2644
 
2172
2645
  static types(): { [key: string]: any } {
2173
2646
  return {
2174
- endTime: 'number',
2175
- inBps: 'number',
2176
- inPps: 'number',
2177
- newConn: 'number',
2178
- outBps: 'number',
2179
- outPps: 'number',
2647
+ policyAssociationBackupConfigs: { 'type': 'array', 'itemType': DescribeTrFirewallPolicyBackUpAssociationListResponseBodyPolicyAssociationBackupConfigs },
2180
2648
  requestId: 'string',
2181
- sessionCount: 'number',
2182
- startTime: 'number',
2183
2649
  };
2184
2650
  }
2185
2651
 
@@ -2188,10 +2654,10 @@ export class DescribeUserAssetIPTrafficInfoResponseBody extends $tea.Model {
2188
2654
  }
2189
2655
  }
2190
2656
 
2191
- export class DescribeUserAssetIPTrafficInfoResponse extends $tea.Model {
2657
+ export class DescribeTrFirewallPolicyBackUpAssociationListResponse extends $tea.Model {
2192
2658
  headers: { [key: string]: string };
2193
2659
  statusCode: number;
2194
- body: DescribeUserAssetIPTrafficInfoResponseBody;
2660
+ body: DescribeTrFirewallPolicyBackUpAssociationListResponseBody;
2195
2661
  static names(): { [key: string]: string } {
2196
2662
  return {
2197
2663
  headers: 'headers',
@@ -2204,7 +2670,7 @@ export class DescribeUserAssetIPTrafficInfoResponse extends $tea.Model {
2204
2670
  return {
2205
2671
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2206
2672
  statusCode: 'number',
2207
- body: DescribeUserAssetIPTrafficInfoResponseBody,
2673
+ body: DescribeTrFirewallPolicyBackUpAssociationListResponseBody,
2208
2674
  };
2209
2675
  }
2210
2676
 
@@ -2213,15 +2679,15 @@ export class DescribeUserAssetIPTrafficInfoResponse extends $tea.Model {
2213
2679
  }
2214
2680
  }
2215
2681
 
2216
- export class DescribeVpcFirewallAclGroupListRequest extends $tea.Model {
2217
- currentPage?: string;
2218
- firewallConfigureStatus?: string;
2682
+ export class DescribeTrFirewallV2RoutePolicyListRequest extends $tea.Model {
2683
+ currentPage?: number;
2684
+ firewallId?: string;
2219
2685
  lang?: string;
2220
- pageSize?: string;
2686
+ pageSize?: number;
2221
2687
  static names(): { [key: string]: string } {
2222
2688
  return {
2223
2689
  currentPage: 'CurrentPage',
2224
- firewallConfigureStatus: 'FirewallConfigureStatus',
2690
+ firewallId: 'FirewallId',
2225
2691
  lang: 'Lang',
2226
2692
  pageSize: 'PageSize',
2227
2693
  };
@@ -2229,10 +2695,10 @@ export class DescribeVpcFirewallAclGroupListRequest extends $tea.Model {
2229
2695
 
2230
2696
  static types(): { [key: string]: any } {
2231
2697
  return {
2232
- currentPage: 'string',
2233
- firewallConfigureStatus: 'string',
2698
+ currentPage: 'number',
2699
+ firewallId: 'string',
2234
2700
  lang: 'string',
2235
- pageSize: 'string',
2701
+ pageSize: 'number',
2236
2702
  };
2237
2703
  }
2238
2704
 
@@ -2241,23 +2707,20 @@ export class DescribeVpcFirewallAclGroupListRequest extends $tea.Model {
2241
2707
  }
2242
2708
  }
2243
2709
 
2244
- export class DescribeVpcFirewallAclGroupListResponseBody extends $tea.Model {
2245
- aclGroupList?: DescribeVpcFirewallAclGroupListResponseBodyAclGroupList[];
2710
+ export class DescribeTrFirewallV2RoutePolicyListResponseBody extends $tea.Model {
2246
2711
  requestId?: string;
2247
- totalCount?: number;
2712
+ trFirewallRoutePolicies?: DescribeTrFirewallV2RoutePolicyListResponseBodyTrFirewallRoutePolicies[];
2248
2713
  static names(): { [key: string]: string } {
2249
2714
  return {
2250
- aclGroupList: 'AclGroupList',
2251
2715
  requestId: 'RequestId',
2252
- totalCount: 'TotalCount',
2716
+ trFirewallRoutePolicies: 'TrFirewallRoutePolicies',
2253
2717
  };
2254
2718
  }
2255
2719
 
2256
2720
  static types(): { [key: string]: any } {
2257
2721
  return {
2258
- aclGroupList: { 'type': 'array', 'itemType': DescribeVpcFirewallAclGroupListResponseBodyAclGroupList },
2259
2722
  requestId: 'string',
2260
- totalCount: 'number',
2723
+ trFirewallRoutePolicies: { 'type': 'array', 'itemType': DescribeTrFirewallV2RoutePolicyListResponseBodyTrFirewallRoutePolicies },
2261
2724
  };
2262
2725
  }
2263
2726
 
@@ -2266,10 +2729,10 @@ export class DescribeVpcFirewallAclGroupListResponseBody extends $tea.Model {
2266
2729
  }
2267
2730
  }
2268
2731
 
2269
- export class DescribeVpcFirewallAclGroupListResponse extends $tea.Model {
2732
+ export class DescribeTrFirewallV2RoutePolicyListResponse extends $tea.Model {
2270
2733
  headers: { [key: string]: string };
2271
2734
  statusCode: number;
2272
- body: DescribeVpcFirewallAclGroupListResponseBody;
2735
+ body: DescribeTrFirewallV2RoutePolicyListResponseBody;
2273
2736
  static names(): { [key: string]: string } {
2274
2737
  return {
2275
2738
  headers: 'headers',
@@ -2282,7 +2745,7 @@ export class DescribeVpcFirewallAclGroupListResponse extends $tea.Model {
2282
2745
  return {
2283
2746
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2284
2747
  statusCode: 'number',
2285
- body: DescribeVpcFirewallAclGroupListResponseBody,
2748
+ body: DescribeTrFirewallV2RoutePolicyListResponseBody,
2286
2749
  };
2287
2750
  }
2288
2751
 
@@ -2291,23 +2754,20 @@ export class DescribeVpcFirewallAclGroupListResponse extends $tea.Model {
2291
2754
  }
2292
2755
  }
2293
2756
 
2294
- export class DescribeVpcFirewallCenDetailRequest extends $tea.Model {
2757
+ export class DescribeTrFirewallsV2DetailRequest extends $tea.Model {
2758
+ firewallId?: string;
2295
2759
  lang?: string;
2296
- networkInstanceId?: string;
2297
- vpcFirewallId?: string;
2298
2760
  static names(): { [key: string]: string } {
2299
2761
  return {
2762
+ firewallId: 'FirewallId',
2300
2763
  lang: 'Lang',
2301
- networkInstanceId: 'NetworkInstanceId',
2302
- vpcFirewallId: 'VpcFirewallId',
2303
2764
  };
2304
2765
  }
2305
2766
 
2306
2767
  static types(): { [key: string]: any } {
2307
2768
  return {
2769
+ firewallId: 'string',
2308
2770
  lang: 'string',
2309
- networkInstanceId: 'string',
2310
- vpcFirewallId: 'string',
2311
2771
  };
2312
2772
  }
2313
2773
 
@@ -2316,32 +2776,53 @@ export class DescribeVpcFirewallCenDetailRequest extends $tea.Model {
2316
2776
  }
2317
2777
  }
2318
2778
 
2319
- export class DescribeVpcFirewallCenDetailResponseBody extends $tea.Model {
2320
- 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;
2321
2788
  firewallSwitchStatus?: string;
2322
- localVpc?: DescribeVpcFirewallCenDetailResponseBodyLocalVpc;
2789
+ regionNo?: string;
2323
2790
  requestId?: string;
2324
- vpcFirewallId?: string;
2325
- vpcFirewallName?: string;
2791
+ routeMode?: string;
2792
+ transitRouterId?: string;
2326
2793
  static names(): { [key: string]: string } {
2327
2794
  return {
2328
- 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',
2329
2803
  firewallSwitchStatus: 'FirewallSwitchStatus',
2330
- localVpc: 'LocalVpc',
2804
+ regionNo: 'RegionNo',
2331
2805
  requestId: 'RequestId',
2332
- vpcFirewallId: 'VpcFirewallId',
2333
- vpcFirewallName: 'VpcFirewallName',
2806
+ routeMode: 'RouteMode',
2807
+ transitRouterId: 'TransitRouterId',
2334
2808
  };
2335
2809
  }
2336
2810
 
2337
2811
  static types(): { [key: string]: any } {
2338
2812
  return {
2339
- 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',
2340
2821
  firewallSwitchStatus: 'string',
2341
- localVpc: DescribeVpcFirewallCenDetailResponseBodyLocalVpc,
2822
+ regionNo: 'string',
2342
2823
  requestId: 'string',
2343
- vpcFirewallId: 'string',
2344
- vpcFirewallName: 'string',
2824
+ routeMode: 'string',
2825
+ transitRouterId: 'string',
2345
2826
  };
2346
2827
  }
2347
2828
 
@@ -2350,10 +2831,10 @@ export class DescribeVpcFirewallCenDetailResponseBody extends $tea.Model {
2350
2831
  }
2351
2832
  }
2352
2833
 
2353
- export class DescribeVpcFirewallCenDetailResponse extends $tea.Model {
2834
+ export class DescribeTrFirewallsV2DetailResponse extends $tea.Model {
2354
2835
  headers: { [key: string]: string };
2355
2836
  statusCode: number;
2356
- body: DescribeVpcFirewallCenDetailResponseBody;
2837
+ body: DescribeTrFirewallsV2DetailResponseBody;
2357
2838
  static names(): { [key: string]: string } {
2358
2839
  return {
2359
2840
  headers: 'headers',
@@ -2366,7 +2847,7 @@ export class DescribeVpcFirewallCenDetailResponse extends $tea.Model {
2366
2847
  return {
2367
2848
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2368
2849
  statusCode: 'number',
2369
- body: DescribeVpcFirewallCenDetailResponseBody,
2850
+ body: DescribeTrFirewallsV2DetailResponseBody,
2370
2851
  };
2371
2852
  }
2372
2853
 
@@ -2375,53 +2856,47 @@ export class DescribeVpcFirewallCenDetailResponse extends $tea.Model {
2375
2856
  }
2376
2857
  }
2377
2858
 
2378
- export class DescribeVpcFirewallCenListRequest extends $tea.Model {
2859
+ export class DescribeTrFirewallsV2ListRequest extends $tea.Model {
2379
2860
  cenId?: string;
2380
- currentPage?: string;
2861
+ currentPage?: number;
2862
+ firewallId?: string;
2863
+ firewallName?: string;
2381
2864
  firewallSwitchStatus?: string;
2382
2865
  lang?: string;
2383
- memberUid?: string;
2384
- networkInstanceId?: string;
2385
2866
  ownerId?: string;
2386
- pageSize?: string;
2867
+ pageSize?: number;
2387
2868
  regionNo?: string;
2388
2869
  routeMode?: string;
2389
- transitRouterType?: string;
2390
- vpcFirewallId?: string;
2391
- vpcFirewallName?: string;
2870
+ transitRouterId?: string;
2392
2871
  static names(): { [key: string]: string } {
2393
2872
  return {
2394
2873
  cenId: 'CenId',
2395
2874
  currentPage: 'CurrentPage',
2875
+ firewallId: 'FirewallId',
2876
+ firewallName: 'FirewallName',
2396
2877
  firewallSwitchStatus: 'FirewallSwitchStatus',
2397
2878
  lang: 'Lang',
2398
- memberUid: 'MemberUid',
2399
- networkInstanceId: 'NetworkInstanceId',
2400
2879
  ownerId: 'OwnerId',
2401
2880
  pageSize: 'PageSize',
2402
2881
  regionNo: 'RegionNo',
2403
2882
  routeMode: 'RouteMode',
2404
- transitRouterType: 'TransitRouterType',
2405
- vpcFirewallId: 'VpcFirewallId',
2406
- vpcFirewallName: 'VpcFirewallName',
2883
+ transitRouterId: 'TransitRouterId',
2407
2884
  };
2408
2885
  }
2409
2886
 
2410
2887
  static types(): { [key: string]: any } {
2411
2888
  return {
2412
2889
  cenId: 'string',
2413
- currentPage: 'string',
2890
+ currentPage: 'number',
2891
+ firewallId: 'string',
2892
+ firewallName: 'string',
2414
2893
  firewallSwitchStatus: 'string',
2415
2894
  lang: 'string',
2416
- memberUid: 'string',
2417
- networkInstanceId: 'string',
2418
2895
  ownerId: 'string',
2419
- pageSize: 'string',
2896
+ pageSize: 'number',
2420
2897
  regionNo: 'string',
2421
2898
  routeMode: 'string',
2422
- transitRouterType: 'string',
2423
- vpcFirewallId: 'string',
2424
- vpcFirewallName: 'string',
2899
+ transitRouterId: 'string',
2425
2900
  };
2426
2901
  }
2427
2902
 
@@ -2430,23 +2905,23 @@ export class DescribeVpcFirewallCenListRequest extends $tea.Model {
2430
2905
  }
2431
2906
  }
2432
2907
 
2433
- export class DescribeVpcFirewallCenListResponseBody extends $tea.Model {
2908
+ export class DescribeTrFirewallsV2ListResponseBody extends $tea.Model {
2434
2909
  requestId?: string;
2435
- totalCount?: number;
2436
- vpcFirewalls?: DescribeVpcFirewallCenListResponseBodyVpcFirewalls[];
2910
+ totalCount?: string;
2911
+ vpcTrFirewalls?: DescribeTrFirewallsV2ListResponseBodyVpcTrFirewalls[];
2437
2912
  static names(): { [key: string]: string } {
2438
2913
  return {
2439
2914
  requestId: 'RequestId',
2440
2915
  totalCount: 'TotalCount',
2441
- vpcFirewalls: 'VpcFirewalls',
2916
+ vpcTrFirewalls: 'VpcTrFirewalls',
2442
2917
  };
2443
2918
  }
2444
2919
 
2445
2920
  static types(): { [key: string]: any } {
2446
2921
  return {
2447
2922
  requestId: 'string',
2448
- totalCount: 'number',
2449
- vpcFirewalls: { 'type': 'array', 'itemType': DescribeVpcFirewallCenListResponseBodyVpcFirewalls },
2923
+ totalCount: 'string',
2924
+ vpcTrFirewalls: { 'type': 'array', 'itemType': DescribeTrFirewallsV2ListResponseBodyVpcTrFirewalls },
2450
2925
  };
2451
2926
  }
2452
2927
 
@@ -2455,10 +2930,10 @@ export class DescribeVpcFirewallCenListResponseBody extends $tea.Model {
2455
2930
  }
2456
2931
  }
2457
2932
 
2458
- export class DescribeVpcFirewallCenListResponse extends $tea.Model {
2933
+ export class DescribeTrFirewallsV2ListResponse extends $tea.Model {
2459
2934
  headers: { [key: string]: string };
2460
2935
  statusCode: number;
2461
- body: DescribeVpcFirewallCenListResponseBody;
2936
+ body: DescribeTrFirewallsV2ListResponseBody;
2462
2937
  static names(): { [key: string]: string } {
2463
2938
  return {
2464
2939
  headers: 'headers',
@@ -2471,7 +2946,7 @@ export class DescribeVpcFirewallCenListResponse extends $tea.Model {
2471
2946
  return {
2472
2947
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2473
2948
  statusCode: 'number',
2474
- body: DescribeVpcFirewallCenListResponseBody,
2949
+ body: DescribeTrFirewallsV2ListResponseBody,
2475
2950
  };
2476
2951
  }
2477
2952
 
@@ -2480,50 +2955,29 @@ export class DescribeVpcFirewallCenListResponse extends $tea.Model {
2480
2955
  }
2481
2956
  }
2482
2957
 
2483
- export class DescribeVpcFirewallControlPolicyRequest extends $tea.Model {
2484
- aclAction?: string;
2485
- aclUuid?: string;
2958
+ export class DescribeTrFirewallsV2RouteListRequest extends $tea.Model {
2486
2959
  currentPage?: string;
2487
- description?: string;
2488
- destination?: string;
2960
+ firewallId?: string;
2489
2961
  lang?: string;
2490
- memberUid?: string;
2491
2962
  pageSize?: string;
2492
- proto?: string;
2493
- release?: string;
2494
- source?: string;
2495
- vpcFirewallId?: string;
2963
+ trFirewallRoutePolicyId?: string;
2496
2964
  static names(): { [key: string]: string } {
2497
2965
  return {
2498
- aclAction: 'AclAction',
2499
- aclUuid: 'AclUuid',
2500
2966
  currentPage: 'CurrentPage',
2501
- description: 'Description',
2502
- destination: 'Destination',
2967
+ firewallId: 'FirewallId',
2503
2968
  lang: 'Lang',
2504
- memberUid: 'MemberUid',
2505
2969
  pageSize: 'PageSize',
2506
- proto: 'Proto',
2507
- release: 'Release',
2508
- source: 'Source',
2509
- vpcFirewallId: 'VpcFirewallId',
2970
+ trFirewallRoutePolicyId: 'TrFirewallRoutePolicyId',
2510
2971
  };
2511
2972
  }
2512
2973
 
2513
2974
  static types(): { [key: string]: any } {
2514
2975
  return {
2515
- aclAction: 'string',
2516
- aclUuid: 'string',
2517
2976
  currentPage: 'string',
2518
- description: 'string',
2519
- destination: 'string',
2977
+ firewallId: 'string',
2520
2978
  lang: 'string',
2521
- memberUid: 'string',
2522
2979
  pageSize: 'string',
2523
- proto: 'string',
2524
- release: 'string',
2525
- source: 'string',
2526
- vpcFirewallId: 'string',
2980
+ trFirewallRoutePolicyId: 'string',
2527
2981
  };
2528
2982
  }
2529
2983
 
@@ -2532,23 +2986,20 @@ export class DescribeVpcFirewallControlPolicyRequest extends $tea.Model {
2532
2986
  }
2533
2987
  }
2534
2988
 
2535
- export class DescribeVpcFirewallControlPolicyResponseBody extends $tea.Model {
2536
- policys?: DescribeVpcFirewallControlPolicyResponseBodyPolicys[];
2989
+ export class DescribeTrFirewallsV2RouteListResponseBody extends $tea.Model {
2990
+ firewallRouteDetailList?: DescribeTrFirewallsV2RouteListResponseBodyFirewallRouteDetailList[];
2537
2991
  requestId?: string;
2538
- totalCount?: string;
2539
2992
  static names(): { [key: string]: string } {
2540
2993
  return {
2541
- policys: 'Policys',
2994
+ firewallRouteDetailList: 'FirewallRouteDetailList',
2542
2995
  requestId: 'RequestId',
2543
- totalCount: 'TotalCount',
2544
2996
  };
2545
2997
  }
2546
2998
 
2547
2999
  static types(): { [key: string]: any } {
2548
3000
  return {
2549
- policys: { 'type': 'array', 'itemType': DescribeVpcFirewallControlPolicyResponseBodyPolicys },
3001
+ firewallRouteDetailList: { 'type': 'array', 'itemType': DescribeTrFirewallsV2RouteListResponseBodyFirewallRouteDetailList },
2550
3002
  requestId: 'string',
2551
- totalCount: 'string',
2552
3003
  };
2553
3004
  }
2554
3005
 
@@ -2557,10 +3008,10 @@ export class DescribeVpcFirewallControlPolicyResponseBody extends $tea.Model {
2557
3008
  }
2558
3009
  }
2559
3010
 
2560
- export class DescribeVpcFirewallControlPolicyResponse extends $tea.Model {
3011
+ export class DescribeTrFirewallsV2RouteListResponse extends $tea.Model {
2561
3012
  headers: { [key: string]: string };
2562
3013
  statusCode: number;
2563
- body: DescribeVpcFirewallControlPolicyResponseBody;
3014
+ body: DescribeTrFirewallsV2RouteListResponseBody;
2564
3015
  static names(): { [key: string]: string } {
2565
3016
  return {
2566
3017
  headers: 'headers',
@@ -2573,7 +3024,7 @@ export class DescribeVpcFirewallControlPolicyResponse extends $tea.Model {
2573
3024
  return {
2574
3025
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2575
3026
  statusCode: 'number',
2576
- body: DescribeVpcFirewallControlPolicyResponseBody,
3027
+ body: DescribeTrFirewallsV2RouteListResponseBody,
2577
3028
  };
2578
3029
  }
2579
3030
 
@@ -2582,20 +3033,23 @@ export class DescribeVpcFirewallControlPolicyResponse extends $tea.Model {
2582
3033
  }
2583
3034
  }
2584
3035
 
2585
- export class DescribeVpcFirewallDefaultIPSConfigRequest extends $tea.Model {
2586
- memberUid?: string;
2587
- vpcFirewallId?: string;
3036
+ export class DescribeUserAssetIPTrafficInfoRequest extends $tea.Model {
3037
+ assetIP?: string;
3038
+ lang?: string;
3039
+ trafficTime?: string;
2588
3040
  static names(): { [key: string]: string } {
2589
3041
  return {
2590
- memberUid: 'MemberUid',
2591
- vpcFirewallId: 'VpcFirewallId',
3042
+ assetIP: 'AssetIP',
3043
+ lang: 'Lang',
3044
+ trafficTime: 'TrafficTime',
2592
3045
  };
2593
3046
  }
2594
3047
 
2595
3048
  static types(): { [key: string]: any } {
2596
3049
  return {
2597
- memberUid: 'string',
2598
- vpcFirewallId: 'string',
3050
+ assetIP: 'string',
3051
+ lang: 'string',
3052
+ trafficTime: 'string',
2599
3053
  };
2600
3054
  }
2601
3055
 
@@ -2604,26 +3058,41 @@ export class DescribeVpcFirewallDefaultIPSConfigRequest extends $tea.Model {
2604
3058
  }
2605
3059
  }
2606
3060
 
2607
- export class DescribeVpcFirewallDefaultIPSConfigResponseBody extends $tea.Model {
2608
- basicRules?: number;
2609
- 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;
2610
3068
  requestId?: string;
2611
- runMode?: number;
3069
+ sessionCount?: number;
3070
+ startTime?: number;
2612
3071
  static names(): { [key: string]: string } {
2613
3072
  return {
2614
- basicRules: 'BasicRules',
2615
- enableAllPatch: 'EnableAllPatch',
3073
+ endTime: 'EndTime',
3074
+ inBps: 'InBps',
3075
+ inPps: 'InPps',
3076
+ newConn: 'NewConn',
3077
+ outBps: 'OutBps',
3078
+ outPps: 'OutPps',
2616
3079
  requestId: 'RequestId',
2617
- runMode: 'RunMode',
3080
+ sessionCount: 'SessionCount',
3081
+ startTime: 'StartTime',
2618
3082
  };
2619
3083
  }
2620
3084
 
2621
3085
  static types(): { [key: string]: any } {
2622
3086
  return {
2623
- basicRules: 'number',
2624
- enableAllPatch: 'number',
3087
+ endTime: 'number',
3088
+ inBps: 'number',
3089
+ inPps: 'number',
3090
+ newConn: 'number',
3091
+ outBps: 'number',
3092
+ outPps: 'number',
2625
3093
  requestId: 'string',
2626
- runMode: 'number',
3094
+ sessionCount: 'number',
3095
+ startTime: 'number',
2627
3096
  };
2628
3097
  }
2629
3098
 
@@ -2632,10 +3101,10 @@ export class DescribeVpcFirewallDefaultIPSConfigResponseBody extends $tea.Model
2632
3101
  }
2633
3102
  }
2634
3103
 
2635
- export class DescribeVpcFirewallDefaultIPSConfigResponse extends $tea.Model {
3104
+ export class DescribeUserAssetIPTrafficInfoResponse extends $tea.Model {
2636
3105
  headers: { [key: string]: string };
2637
3106
  statusCode: number;
2638
- body: DescribeVpcFirewallDefaultIPSConfigResponseBody;
3107
+ body: DescribeUserAssetIPTrafficInfoResponseBody;
2639
3108
  static names(): { [key: string]: string } {
2640
3109
  return {
2641
3110
  headers: 'headers',
@@ -2648,7 +3117,7 @@ export class DescribeVpcFirewallDefaultIPSConfigResponse extends $tea.Model {
2648
3117
  return {
2649
3118
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2650
3119
  statusCode: 'number',
2651
- body: DescribeVpcFirewallDefaultIPSConfigResponseBody,
3120
+ body: DescribeUserAssetIPTrafficInfoResponseBody,
2652
3121
  };
2653
3122
  }
2654
3123
 
@@ -2657,26 +3126,26 @@ export class DescribeVpcFirewallDefaultIPSConfigResponse extends $tea.Model {
2657
3126
  }
2658
3127
  }
2659
3128
 
2660
- export class DescribeVpcFirewallDetailRequest extends $tea.Model {
3129
+ export class DescribeVpcFirewallAclGroupListRequest extends $tea.Model {
3130
+ currentPage?: string;
3131
+ firewallConfigureStatus?: string;
2661
3132
  lang?: string;
2662
- localVpcId?: string;
2663
- peerVpcId?: string;
2664
- vpcFirewallId?: string;
3133
+ pageSize?: string;
2665
3134
  static names(): { [key: string]: string } {
2666
3135
  return {
3136
+ currentPage: 'CurrentPage',
3137
+ firewallConfigureStatus: 'FirewallConfigureStatus',
2667
3138
  lang: 'Lang',
2668
- localVpcId: 'LocalVpcId',
2669
- peerVpcId: 'PeerVpcId',
2670
- vpcFirewallId: 'VpcFirewallId',
3139
+ pageSize: 'PageSize',
2671
3140
  };
2672
3141
  }
2673
3142
 
2674
3143
  static types(): { [key: string]: any } {
2675
3144
  return {
3145
+ currentPage: 'string',
3146
+ firewallConfigureStatus: 'string',
2676
3147
  lang: 'string',
2677
- localVpcId: 'string',
2678
- peerVpcId: 'string',
2679
- vpcFirewallId: 'string',
3148
+ pageSize: 'string',
2680
3149
  };
2681
3150
  }
2682
3151
 
@@ -2685,41 +3154,23 @@ export class DescribeVpcFirewallDetailRequest extends $tea.Model {
2685
3154
  }
2686
3155
  }
2687
3156
 
2688
- export class DescribeVpcFirewallDetailResponseBody extends $tea.Model {
2689
- bandwidth?: number;
2690
- connectType?: string;
2691
- firewallSwitchStatus?: string;
2692
- localVpc?: DescribeVpcFirewallDetailResponseBodyLocalVpc;
2693
- memberUid?: string;
2694
- peerVpc?: DescribeVpcFirewallDetailResponseBodyPeerVpc;
3157
+ export class DescribeVpcFirewallAclGroupListResponseBody extends $tea.Model {
3158
+ aclGroupList?: DescribeVpcFirewallAclGroupListResponseBodyAclGroupList[];
2695
3159
  requestId?: string;
2696
- vpcFirewallId?: string;
2697
- vpcFirewallName?: string;
3160
+ totalCount?: number;
2698
3161
  static names(): { [key: string]: string } {
2699
3162
  return {
2700
- bandwidth: 'Bandwidth',
2701
- connectType: 'ConnectType',
2702
- firewallSwitchStatus: 'FirewallSwitchStatus',
2703
- localVpc: 'LocalVpc',
2704
- memberUid: 'MemberUid',
2705
- peerVpc: 'PeerVpc',
3163
+ aclGroupList: 'AclGroupList',
2706
3164
  requestId: 'RequestId',
2707
- vpcFirewallId: 'VpcFirewallId',
2708
- vpcFirewallName: 'VpcFirewallName',
3165
+ totalCount: 'TotalCount',
2709
3166
  };
2710
3167
  }
2711
3168
 
2712
3169
  static types(): { [key: string]: any } {
2713
3170
  return {
2714
- bandwidth: 'number',
2715
- connectType: 'string',
2716
- firewallSwitchStatus: 'string',
2717
- localVpc: DescribeVpcFirewallDetailResponseBodyLocalVpc,
2718
- memberUid: 'string',
2719
- peerVpc: DescribeVpcFirewallDetailResponseBodyPeerVpc,
3171
+ aclGroupList: { 'type': 'array', 'itemType': DescribeVpcFirewallAclGroupListResponseBodyAclGroupList },
2720
3172
  requestId: 'string',
2721
- vpcFirewallId: 'string',
2722
- vpcFirewallName: 'string',
3173
+ totalCount: 'number',
2723
3174
  };
2724
3175
  }
2725
3176
 
@@ -2728,7 +3179,469 @@ export class DescribeVpcFirewallDetailResponseBody extends $tea.Model {
2728
3179
  }
2729
3180
  }
2730
3181
 
2731
- export class DescribeVpcFirewallDetailResponse extends $tea.Model {
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',
3636
+ };
3637
+ }
3638
+
3639
+ constructor(map?: { [key: string]: any }) {
3640
+ super(map);
3641
+ }
3642
+ }
3643
+
3644
+ export class DescribeVpcFirewallDetailResponse extends $tea.Model {
2732
3645
  headers: { [key: string]: string };
2733
3646
  statusCode: number;
2734
3647
  body: DescribeVpcFirewallDetailResponseBody;
@@ -3314,6 +4227,81 @@ export class ModifyControlPolicyPositionResponse extends $tea.Model {
3314
4227
  }
3315
4228
  }
3316
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
+
3317
4305
  export class ModifyInstanceMemberAttributesRequest extends $tea.Model {
3318
4306
  members?: ModifyInstanceMemberAttributesRequestMembers[];
3319
4307
  static names(): { [key: string]: string } {
@@ -3352,23 +4340,192 @@ export class ModifyInstanceMemberAttributesResponseBody extends $tea.Model {
3352
4340
  }
3353
4341
  }
3354
4342
 
3355
- export class ModifyInstanceMemberAttributesResponse extends $tea.Model {
3356
- headers: { [key: string]: string };
3357
- statusCode: number;
3358
- 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;
3359
4512
  static names(): { [key: string]: string } {
3360
4513
  return {
3361
- headers: 'headers',
3362
- statusCode: 'statusCode',
3363
- body: 'body',
4514
+ destCandidateList: 'DestCandidateList',
4515
+ firewallId: 'FirewallId',
4516
+ lang: 'Lang',
4517
+ srcCandidateList: 'SrcCandidateList',
4518
+ trFirewallRoutePolicyId: 'TrFirewallRoutePolicyId',
3364
4519
  };
3365
4520
  }
3366
4521
 
3367
4522
  static types(): { [key: string]: any } {
3368
4523
  return {
3369
- headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3370
- statusCode: 'number',
3371
- body: ModifyInstanceMemberAttributesResponseBody,
4524
+ destCandidateList: { 'type': 'array', 'itemType': ModifyTrFirewallV2RoutePolicyScopeRequestDestCandidateList },
4525
+ firewallId: 'string',
4526
+ lang: 'string',
4527
+ srcCandidateList: { 'type': 'array', 'itemType': ModifyTrFirewallV2RoutePolicyScopeRequestSrcCandidateList },
4528
+ trFirewallRoutePolicyId: 'string',
3372
4529
  };
3373
4530
  }
3374
4531
 
@@ -3377,23 +4534,29 @@ export class ModifyInstanceMemberAttributesResponse extends $tea.Model {
3377
4534
  }
3378
4535
  }
3379
4536
 
3380
- export class ModifyPolicyAdvancedConfigRequest extends $tea.Model {
3381
- internetSwitch?: string;
4537
+ export class ModifyTrFirewallV2RoutePolicyScopeShrinkRequest extends $tea.Model {
4538
+ destCandidateListShrink?: string;
4539
+ firewallId?: string;
3382
4540
  lang?: string;
3383
- sourceIp?: string;
4541
+ srcCandidateListShrink?: string;
4542
+ trFirewallRoutePolicyId?: string;
3384
4543
  static names(): { [key: string]: string } {
3385
4544
  return {
3386
- internetSwitch: 'InternetSwitch',
4545
+ destCandidateListShrink: 'DestCandidateList',
4546
+ firewallId: 'FirewallId',
3387
4547
  lang: 'Lang',
3388
- sourceIp: 'SourceIp',
4548
+ srcCandidateListShrink: 'SrcCandidateList',
4549
+ trFirewallRoutePolicyId: 'TrFirewallRoutePolicyId',
3389
4550
  };
3390
4551
  }
3391
4552
 
3392
4553
  static types(): { [key: string]: any } {
3393
4554
  return {
3394
- internetSwitch: 'string',
4555
+ destCandidateListShrink: 'string',
4556
+ firewallId: 'string',
3395
4557
  lang: 'string',
3396
- sourceIp: 'string',
4558
+ srcCandidateListShrink: 'string',
4559
+ trFirewallRoutePolicyId: 'string',
3397
4560
  };
3398
4561
  }
3399
4562
 
@@ -3402,17 +4565,20 @@ export class ModifyPolicyAdvancedConfigRequest extends $tea.Model {
3402
4565
  }
3403
4566
  }
3404
4567
 
3405
- export class ModifyPolicyAdvancedConfigResponseBody extends $tea.Model {
4568
+ export class ModifyTrFirewallV2RoutePolicyScopeResponseBody extends $tea.Model {
3406
4569
  requestId?: string;
4570
+ trFirewallRoutePolicyId?: string;
3407
4571
  static names(): { [key: string]: string } {
3408
4572
  return {
3409
4573
  requestId: 'RequestId',
4574
+ trFirewallRoutePolicyId: 'TrFirewallRoutePolicyId',
3410
4575
  };
3411
4576
  }
3412
4577
 
3413
4578
  static types(): { [key: string]: any } {
3414
4579
  return {
3415
4580
  requestId: 'string',
4581
+ trFirewallRoutePolicyId: 'string',
3416
4582
  };
3417
4583
  }
3418
4584
 
@@ -3421,10 +4587,10 @@ export class ModifyPolicyAdvancedConfigResponseBody extends $tea.Model {
3421
4587
  }
3422
4588
  }
3423
4589
 
3424
- export class ModifyPolicyAdvancedConfigResponse extends $tea.Model {
4590
+ export class ModifyTrFirewallV2RoutePolicyScopeResponse extends $tea.Model {
3425
4591
  headers: { [key: string]: string };
3426
4592
  statusCode: number;
3427
- body: ModifyPolicyAdvancedConfigResponseBody;
4593
+ body: ModifyTrFirewallV2RoutePolicyScopeResponseBody;
3428
4594
  static names(): { [key: string]: string } {
3429
4595
  return {
3430
4596
  headers: 'headers',
@@ -3437,7 +4603,7 @@ export class ModifyPolicyAdvancedConfigResponse extends $tea.Model {
3437
4603
  return {
3438
4604
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3439
4605
  statusCode: 'number',
3440
- body: ModifyPolicyAdvancedConfigResponseBody,
4606
+ body: ModifyTrFirewallV2RoutePolicyScopeResponseBody,
3441
4607
  };
3442
4608
  }
3443
4609
 
@@ -4396,6 +5562,50 @@ export class AddInstanceMembersRequestMembers extends $tea.Model {
4396
5562
  }
4397
5563
  }
4398
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
+
4399
5609
  export class DescribeAddressBookResponseBodyAclsTagList extends $tea.Model {
4400
5610
  tagKey?: string;
4401
5611
  tagValue?: string;
@@ -4730,6 +5940,49 @@ export class DescribeInstanceMembersResponseBodyPageInfo extends $tea.Model {
4730
5940
  }
4731
5941
  }
4732
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
+
4733
5986
  export class DescribeInvadeEventListResponseBodyEventList extends $tea.Model {
4734
5987
  assetsInstanceId?: string;
4735
5988
  assetsInstanceName?: string;
@@ -5267,29 +6520,249 @@ export class DescribeRiskEventGroupResponseBodyDataList extends $tea.Model {
5267
6520
 
5268
6521
  static types(): { [key: string]: any } {
5269
6522
  return {
5270
- attackApp: 'string',
5271
- attackType: 'number',
5272
- description: 'string',
5273
- direction: 'string',
5274
- dstIP: 'string',
5275
- eventCount: 'number',
5276
- eventId: 'string',
5277
- eventName: 'string',
5278
- firstEventTime: 'number',
5279
- IPLocationInfo: DescribeRiskEventGroupResponseBodyDataListIPLocationInfo,
5280
- lastEventTime: 'number',
5281
- resourcePrivateIPList: { 'type': 'array', 'itemType': DescribeRiskEventGroupResponseBodyDataListResourcePrivateIPList },
5282
- resourceType: 'string',
5283
- ruleId: 'string',
5284
- ruleResult: 'number',
5285
- ruleSource: 'number',
5286
- srcIP: 'string',
5287
- srcIPTag: 'string',
5288
- srcPrivateIPList: { 'type': 'array', 'itemType': 'string' },
5289
- tag: 'string',
5290
- vpcDstInfo: DescribeRiskEventGroupResponseBodyDataListVpcDstInfo,
5291
- vpcSrcInfo: DescribeRiskEventGroupResponseBodyDataListVpcSrcInfo,
5292
- vulLevel: 'number',
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',
5293
6766
  };
5294
6767
  }
5295
6768
 
@@ -6278,6 +7751,50 @@ export class ModifyInstanceMemberAttributesRequestMembers extends $tea.Model {
6278
7751
  }
6279
7752
  }
6280
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
+
6281
7798
 
6282
7799
  export default class Client extends OpenApi {
6283
7800
 
@@ -6384,7 +7901,7 @@ export default class Client extends OpenApi {
6384
7901
  }
6385
7902
 
6386
7903
  /**
6387
- * 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.
6388
7905
  * ## Limits
6389
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.
6390
7907
  *
@@ -6485,7 +8002,7 @@ export default class Client extends OpenApi {
6485
8002
  }
6486
8003
 
6487
8004
  /**
6488
- * 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.
6489
8006
  * ## Limits
6490
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.
6491
8008
  *
@@ -6607,6 +8124,146 @@ export default class Client extends OpenApi {
6607
8124
  return await this.batchCopyVpcFirewallControlPolicyWithOptions(request, runtime);
6608
8125
  }
6609
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
+
6610
8267
  /**
6611
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~~).
6612
8269
  * ## Limits
@@ -6981,6 +8638,43 @@ export default class Client extends OpenApi {
6981
8638
  return await this.deleteControlPolicyWithOptions(request, runtime);
6982
8639
  }
6983
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
+
6984
8678
  /**
6985
8679
  * You can call the DeleteInstanceMembers operation to remove members from Cloud Firewall.
6986
8680
  * ## Limits
@@ -7027,6 +8721,39 @@ export default class Client extends OpenApi {
7027
8721
  return await this.deleteInstanceMembersWithOptions(request, runtime);
7028
8722
  }
7029
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
+
7030
8757
  /**
7031
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.
7032
8759
  * ## Limits
@@ -7256,7 +8983,7 @@ export default class Client extends OpenApi {
7256
8983
  }
7257
8984
 
7258
8985
  /**
7259
- * 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.
7260
8987
  * ## Limits
7261
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.
7262
8989
  *
@@ -7337,7 +9064,7 @@ export default class Client extends OpenApi {
7337
9064
  }
7338
9065
 
7339
9066
  /**
7340
- * 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.
7341
9068
  * ## Limits
7342
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.
7343
9070
  *
@@ -7517,31 +9244,104 @@ export default class Client extends OpenApi {
7517
9244
  async describeInstanceMembersWithOptions(request: DescribeInstanceMembersRequest, runtime: $Util.RuntimeOptions): Promise<DescribeInstanceMembersResponse> {
7518
9245
  Util.validateModel(request);
7519
9246
  let query = { };
7520
- if (!Util.isUnset(request.currentPage)) {
7521
- 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;
7522
9302
  }
7523
9303
 
7524
- if (!Util.isUnset(request.memberDesc)) {
7525
- query["MemberDesc"] = request.memberDesc;
9304
+ if (!Util.isUnset(request.endTime)) {
9305
+ query["EndTime"] = request.endTime;
7526
9306
  }
7527
9307
 
7528
- if (!Util.isUnset(request.memberDisplayName)) {
7529
- query["MemberDisplayName"] = request.memberDisplayName;
9308
+ if (!Util.isUnset(request.lang)) {
9309
+ query["Lang"] = request.lang;
7530
9310
  }
7531
9311
 
7532
- if (!Util.isUnset(request.memberUid)) {
7533
- query["MemberUid"] = request.memberUid;
9312
+ if (!Util.isUnset(request.lang)) {
9313
+ query["Lang"] = request.lang;
7534
9314
  }
7535
9315
 
7536
- if (!Util.isUnset(request.pageSize)) {
7537
- 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;
7538
9338
  }
7539
9339
 
7540
9340
  let req = new $OpenApi.OpenApiRequest({
7541
9341
  query: OpenApiUtil.query(query),
7542
9342
  });
7543
9343
  let params = new $OpenApi.Params({
7544
- action: "DescribeInstanceMembers",
9344
+ action: "DescribeInternetTrafficTrend",
7545
9345
  version: "2017-12-07",
7546
9346
  protocol: "HTTPS",
7547
9347
  pathname: "/",
@@ -7551,20 +9351,12 @@ export default class Client extends OpenApi {
7551
9351
  reqBodyType: "formData",
7552
9352
  bodyType: "json",
7553
9353
  });
7554
- 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({}));
7555
9355
  }
7556
9356
 
7557
- /**
7558
- * You can call the DescribeInstanceMembers operation to query the information about members in Cloud Firewall.
7559
- * ## Limits
7560
- * 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.
7561
- *
7562
- * @param request DescribeInstanceMembersRequest
7563
- * @return DescribeInstanceMembersResponse
7564
- */
7565
- async describeInstanceMembers(request: DescribeInstanceMembersRequest): Promise<DescribeInstanceMembersResponse> {
9357
+ async describeInternetTrafficTrend(request: DescribeInternetTrafficTrendRequest): Promise<DescribeInternetTrafficTrendResponse> {
7566
9358
  let runtime = new $Util.RuntimeOptions({ });
7567
- return await this.describeInstanceMembersWithOptions(request, runtime);
9359
+ return await this.describeInternetTrafficTrendWithOptions(request, runtime);
7568
9360
  }
7569
9361
 
7570
9362
  async describeInvadeEventListWithOptions(request: DescribeInvadeEventListRequest, runtime: $Util.RuntimeOptions): Promise<DescribeInvadeEventListResponse> {
@@ -7884,15 +9676,235 @@ export default class Client extends OpenApi {
7884
9676
  query["Lang"] = request.lang;
7885
9677
  }
7886
9678
 
7887
- if (!Util.isUnset(request.sourceIp)) {
7888
- query["SourceIp"] = request.sourceIp;
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;
9893
+ }
9894
+
9895
+ if (!Util.isUnset(request.lang)) {
9896
+ query["Lang"] = request.lang;
9897
+ }
9898
+
9899
+ if (!Util.isUnset(request.pageSize)) {
9900
+ query["PageSize"] = request.pageSize;
7889
9901
  }
7890
9902
 
7891
9903
  let req = new $OpenApi.OpenApiRequest({
7892
9904
  query: OpenApiUtil.query(query),
7893
9905
  });
7894
9906
  let params = new $OpenApi.Params({
7895
- action: "DescribePolicyPriorUsed",
9907
+ action: "DescribeTrFirewallV2RoutePolicyList",
7896
9908
  version: "2017-12-07",
7897
9909
  protocol: "HTTPS",
7898
9910
  pathname: "/",
@@ -7902,131 +9914,144 @@ export default class Client extends OpenApi {
7902
9914
  reqBodyType: "formData",
7903
9915
  bodyType: "json",
7904
9916
  });
7905
- 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({}));
7906
9918
  }
7907
9919
 
7908
- /**
7909
- * You can call the DescribePolicyPriorUsed operation to query the priority range of the access control policies that match specific query conditions.
7910
- * ## Limits
7911
- * You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
7912
- *
7913
- * @param request DescribePolicyPriorUsedRequest
7914
- * @return DescribePolicyPriorUsedResponse
7915
- */
7916
- async describePolicyPriorUsed(request: DescribePolicyPriorUsedRequest): Promise<DescribePolicyPriorUsedResponse> {
9920
+ async describeTrFirewallV2RoutePolicyList(request: DescribeTrFirewallV2RoutePolicyListRequest): Promise<DescribeTrFirewallV2RoutePolicyListResponse> {
7917
9921
  let runtime = new $Util.RuntimeOptions({ });
7918
- return await this.describePolicyPriorUsedWithOptions(request, runtime);
9922
+ return await this.describeTrFirewallV2RoutePolicyListWithOptions(request, runtime);
7919
9923
  }
7920
9924
 
7921
- /**
7922
- * You can call the DescribeRiskEventGroup operation to query and download the details of intrusion events. We recommend that you query the details of 5 to 10 intrusion events at a time. If you do not need to query the geographical information about IP addresses, you can set the NoLocation parameter to true to prevent query timeout.
7923
- * ## Limits
7924
- * You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
7925
- *
7926
- * @param request DescribeRiskEventGroupRequest
7927
- * @param runtime runtime options for this request RuntimeOptions
7928
- * @return DescribeRiskEventGroupResponse
7929
- */
7930
- async describeRiskEventGroupWithOptions(request: DescribeRiskEventGroupRequest, runtime: $Util.RuntimeOptions): Promise<DescribeRiskEventGroupResponse> {
9925
+ async describeTrFirewallsV2DetailWithOptions(request: DescribeTrFirewallsV2DetailRequest, runtime: $Util.RuntimeOptions): Promise<DescribeTrFirewallsV2DetailResponse> {
7931
9926
  Util.validateModel(request);
7932
9927
  let query = { };
7933
- if (!Util.isUnset(request.attackApp)) {
7934
- query["AttackApp"] = request.attackApp;
7935
- }
7936
-
7937
- if (!Util.isUnset(request.attackType)) {
7938
- query["AttackType"] = request.attackType;
7939
- }
7940
-
7941
- if (!Util.isUnset(request.buyVersion)) {
7942
- query["BuyVersion"] = request.buyVersion;
9928
+ if (!Util.isUnset(request.firewallId)) {
9929
+ query["FirewallId"] = request.firewallId;
7943
9930
  }
7944
9931
 
7945
- if (!Util.isUnset(request.currentPage)) {
7946
- query["CurrentPage"] = request.currentPage;
9932
+ if (!Util.isUnset(request.lang)) {
9933
+ query["Lang"] = request.lang;
7947
9934
  }
7948
9935
 
7949
- if (!Util.isUnset(request.dataType)) {
7950
- query["DataType"] = request.dataType;
7951
- }
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
+ }
7952
9952
 
7953
- if (!Util.isUnset(request.direction)) {
7954
- query["Direction"] = request.direction;
7955
- }
9953
+ async describeTrFirewallsV2Detail(request: DescribeTrFirewallsV2DetailRequest): Promise<DescribeTrFirewallsV2DetailResponse> {
9954
+ let runtime = new $Util.RuntimeOptions({ });
9955
+ return await this.describeTrFirewallsV2DetailWithOptions(request, runtime);
9956
+ }
7956
9957
 
7957
- if (!Util.isUnset(request.dstIP)) {
7958
- query["DstIP"] = request.dstIP;
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;
7959
9963
  }
7960
9964
 
7961
- if (!Util.isUnset(request.dstNetworkInstanceId)) {
7962
- query["DstNetworkInstanceId"] = request.dstNetworkInstanceId;
9965
+ if (!Util.isUnset(request.currentPage)) {
9966
+ query["CurrentPage"] = request.currentPage;
7963
9967
  }
7964
9968
 
7965
- if (!Util.isUnset(request.endTime)) {
7966
- query["EndTime"] = request.endTime;
9969
+ if (!Util.isUnset(request.firewallId)) {
9970
+ query["FirewallId"] = request.firewallId;
7967
9971
  }
7968
9972
 
7969
- if (!Util.isUnset(request.eventName)) {
7970
- query["EventName"] = request.eventName;
9973
+ if (!Util.isUnset(request.firewallName)) {
9974
+ query["FirewallName"] = request.firewallName;
7971
9975
  }
7972
9976
 
7973
- if (!Util.isUnset(request.firewallType)) {
7974
- query["FirewallType"] = request.firewallType;
9977
+ if (!Util.isUnset(request.firewallSwitchStatus)) {
9978
+ query["FirewallSwitchStatus"] = request.firewallSwitchStatus;
7975
9979
  }
7976
9980
 
7977
9981
  if (!Util.isUnset(request.lang)) {
7978
9982
  query["Lang"] = request.lang;
7979
9983
  }
7980
9984
 
7981
- if (!Util.isUnset(request.lang)) {
7982
- query["Lang"] = request.lang;
9985
+ if (!Util.isUnset(request.ownerId)) {
9986
+ query["OwnerId"] = request.ownerId;
7983
9987
  }
7984
9988
 
7985
- if (!Util.isUnset(request.noLocation)) {
7986
- query["NoLocation"] = request.noLocation;
9989
+ if (!Util.isUnset(request.pageSize)) {
9990
+ query["PageSize"] = request.pageSize;
7987
9991
  }
7988
9992
 
7989
- if (!Util.isUnset(request.order)) {
7990
- query["Order"] = request.order;
9993
+ if (!Util.isUnset(request.regionNo)) {
9994
+ query["RegionNo"] = request.regionNo;
7991
9995
  }
7992
9996
 
7993
- if (!Util.isUnset(request.pageSize)) {
7994
- query["PageSize"] = request.pageSize;
9997
+ if (!Util.isUnset(request.routeMode)) {
9998
+ query["RouteMode"] = request.routeMode;
7995
9999
  }
7996
10000
 
7997
- if (!Util.isUnset(request.ruleResult)) {
7998
- query["RuleResult"] = request.ruleResult;
10001
+ if (!Util.isUnset(request.transitRouterId)) {
10002
+ query["TransitRouterId"] = request.transitRouterId;
7999
10003
  }
8000
10004
 
8001
- if (!Util.isUnset(request.ruleSource)) {
8002
- query["RuleSource"] = request.ruleSource;
8003
- }
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
+ }
8004
10021
 
8005
- if (!Util.isUnset(request.sort)) {
8006
- 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;
8007
10032
  }
8008
10033
 
8009
- if (!Util.isUnset(request.srcIP)) {
8010
- query["SrcIP"] = request.srcIP;
10034
+ if (!Util.isUnset(request.firewallId)) {
10035
+ query["FirewallId"] = request.firewallId;
8011
10036
  }
8012
10037
 
8013
- if (!Util.isUnset(request.srcNetworkInstanceId)) {
8014
- query["SrcNetworkInstanceId"] = request.srcNetworkInstanceId;
10038
+ if (!Util.isUnset(request.lang)) {
10039
+ query["Lang"] = request.lang;
8015
10040
  }
8016
10041
 
8017
- if (!Util.isUnset(request.startTime)) {
8018
- query["StartTime"] = request.startTime;
10042
+ if (!Util.isUnset(request.pageSize)) {
10043
+ query["PageSize"] = request.pageSize;
8019
10044
  }
8020
10045
 
8021
- if (!Util.isUnset(request.vulLevel)) {
8022
- query["VulLevel"] = request.vulLevel;
10046
+ if (!Util.isUnset(request.trFirewallRoutePolicyId)) {
10047
+ query["TrFirewallRoutePolicyId"] = request.trFirewallRoutePolicyId;
8023
10048
  }
8024
10049
 
8025
10050
  let req = new $OpenApi.OpenApiRequest({
8026
10051
  query: OpenApiUtil.query(query),
8027
10052
  });
8028
10053
  let params = new $OpenApi.Params({
8029
- action: "DescribeRiskEventGroup",
10054
+ action: "DescribeTrFirewallsV2RouteList",
8030
10055
  version: "2017-12-07",
8031
10056
  protocol: "HTTPS",
8032
10057
  pathname: "/",
@@ -8036,20 +10061,12 @@ export default class Client extends OpenApi {
8036
10061
  reqBodyType: "formData",
8037
10062
  bodyType: "json",
8038
10063
  });
8039
- 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({}));
8040
10065
  }
8041
10066
 
8042
- /**
8043
- * You can call the DescribeRiskEventGroup operation to query and download the details of intrusion events. We recommend that you query the details of 5 to 10 intrusion events at a time. If you do not need to query the geographical information about IP addresses, you can set the NoLocation parameter to true to prevent query timeout.
8044
- * ## Limits
8045
- * You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
8046
- *
8047
- * @param request DescribeRiskEventGroupRequest
8048
- * @return DescribeRiskEventGroupResponse
8049
- */
8050
- async describeRiskEventGroup(request: DescribeRiskEventGroupRequest): Promise<DescribeRiskEventGroupResponse> {
10067
+ async describeTrFirewallsV2RouteList(request: DescribeTrFirewallsV2RouteListRequest): Promise<DescribeTrFirewallsV2RouteListResponse> {
8051
10068
  let runtime = new $Util.RuntimeOptions({ });
8052
- return await this.describeRiskEventGroupWithOptions(request, runtime);
10069
+ return await this.describeTrFirewallsV2RouteListWithOptions(request, runtime);
8053
10070
  }
8054
10071
 
8055
10072
  async describeUserAssetIPTrafficInfoWithOptions(request: DescribeUserAssetIPTrafficInfoRequest, runtime: $Util.RuntimeOptions): Promise<DescribeUserAssetIPTrafficInfoResponse> {
@@ -8296,7 +10313,9 @@ export default class Client extends OpenApi {
8296
10313
  }
8297
10314
 
8298
10315
  /**
8299
- * You can call the DescribeVpcFirewallControlPolicy operation to query the details of all access control policies that are created for a specified VPC firewall. Different access control policies are used when a VPC firewall is used to protect traffic between two VPCs that are connected by using a Cloud Enterprise Network (CEN) instance or an Express Connect circuit.
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.
8300
10319
  *
8301
10320
  * @param request DescribeVpcFirewallControlPolicyRequest
8302
10321
  * @param runtime runtime options for this request RuntimeOptions
@@ -8371,7 +10390,9 @@ export default class Client extends OpenApi {
8371
10390
  }
8372
10391
 
8373
10392
  /**
8374
- * You can call the DescribeVpcFirewallControlPolicy operation to query the details of all access control policies that are created for a specified VPC firewall. Different access control policies are used when a VPC firewall is used to protect traffic between two VPCs that are connected by using a Cloud Enterprise Network (CEN) instance or an Express Connect circuit.
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.
8375
10396
  *
8376
10397
  * @param request DescribeVpcFirewallControlPolicyRequest
8377
10398
  * @return DescribeVpcFirewallControlPolicyResponse
@@ -8497,8 +10518,8 @@ export default class Client extends OpenApi {
8497
10518
 
8498
10519
  /**
8499
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.
8500
- * ## Limits
8501
- * You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
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.
8502
10523
  *
8503
10524
  * @param request DescribeVpcFirewallListRequest
8504
10525
  * @param runtime runtime options for this request RuntimeOptions
@@ -8574,8 +10595,8 @@ export default class Client extends OpenApi {
8574
10595
 
8575
10596
  /**
8576
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.
8577
- * ## Limits
8578
- * You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
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.
8579
10600
  *
8580
10601
  * @param request DescribeVpcFirewallListRequest
8581
10602
  * @return DescribeVpcFirewallListResponse
@@ -8978,6 +10999,51 @@ export default class Client extends OpenApi {
8978
10999
  return await this.modifyControlPolicyPositionWithOptions(request, runtime);
8979
11000
  }
8980
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
+
8981
11047
  /**
8982
11048
  * You can call the ModifyInstanceMemberAttributes operation to update the information about members in Cloud Firewall.
8983
11049
  * ## Limits
@@ -9078,6 +11144,98 @@ export default class Client extends OpenApi {
9078
11144
  return await this.modifyPolicyAdvancedConfigWithOptions(request, runtime);
9079
11145
  }
9080
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
+
9081
11239
  /**
9082
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.
9083
11241
  * ## Limits
@@ -9263,7 +11421,7 @@ export default class Client extends OpenApi {
9263
11421
  }
9264
11422
 
9265
11423
  /**
9266
- * You can call the ModifyVpcFirewallControlPolicy operation to modify the configurations of an access control policy that is created for a VPC firewall in a specific policy group. Different access control policies are used for the VPC firewall that is used to protect each Cloud Enterprise Network (CEN) instance and the VPC firewall that is used to protect each Express Connect circuit.
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.
9267
11425
  * ## Limits
9268
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.
9269
11427
  *
@@ -9352,7 +11510,7 @@ export default class Client extends OpenApi {
9352
11510
  }
9353
11511
 
9354
11512
  /**
9355
- * You can call the ModifyVpcFirewallControlPolicy operation to modify the configurations of an access control policy that is created for a VPC firewall in a specific policy group. Different access control policies are used for the VPC firewall that is used to protect each Cloud Enterprise Network (CEN) instance and the VPC firewall that is used to protect each Express Connect circuit.
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.
9356
11514
  * ## Limits
9357
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.
9358
11516
  *