@alicloud/eas20210701 1.1.2 → 1.1.3

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
@@ -255,6 +255,7 @@ export class Service extends $tea.Model {
255
255
  serviceConfig?: string;
256
256
  serviceId?: string;
257
257
  serviceName?: string;
258
+ source?: string;
258
259
  status?: string;
259
260
  totalInstance?: number;
260
261
  updatetime?: string;
@@ -284,6 +285,7 @@ export class Service extends $tea.Model {
284
285
  serviceConfig: 'ServiceConfig',
285
286
  serviceId: 'ServiceId',
286
287
  serviceName: 'ServiceName',
288
+ source: 'Source',
287
289
  status: 'Status',
288
290
  totalInstance: 'TotalInstance',
289
291
  updatetime: 'Updatetime',
@@ -316,6 +318,7 @@ export class Service extends $tea.Model {
316
318
  serviceConfig: 'string',
317
319
  serviceId: 'string',
318
320
  serviceName: 'string',
321
+ source: 'string',
319
322
  status: 'string',
320
323
  totalInstance: 'number',
321
324
  updatetime: 'string',
@@ -328,6 +331,78 @@ export class Service extends $tea.Model {
328
331
  }
329
332
  }
330
333
 
334
+ export class CreateBenchmarkTaskRequest extends $tea.Model {
335
+ body?: string;
336
+ static names(): { [key: string]: string } {
337
+ return {
338
+ body: 'body',
339
+ };
340
+ }
341
+
342
+ static types(): { [key: string]: any } {
343
+ return {
344
+ body: 'string',
345
+ };
346
+ }
347
+
348
+ constructor(map?: { [key: string]: any }) {
349
+ super(map);
350
+ }
351
+ }
352
+
353
+ export class CreateBenchmarkTaskResponseBody extends $tea.Model {
354
+ message?: string;
355
+ name?: string;
356
+ region?: string;
357
+ requestId?: string;
358
+ static names(): { [key: string]: string } {
359
+ return {
360
+ message: 'Message',
361
+ name: 'Name',
362
+ region: 'Region',
363
+ requestId: 'RequestId',
364
+ };
365
+ }
366
+
367
+ static types(): { [key: string]: any } {
368
+ return {
369
+ message: 'string',
370
+ name: 'string',
371
+ region: 'string',
372
+ requestId: 'string',
373
+ };
374
+ }
375
+
376
+ constructor(map?: { [key: string]: any }) {
377
+ super(map);
378
+ }
379
+ }
380
+
381
+ export class CreateBenchmarkTaskResponse extends $tea.Model {
382
+ headers: { [key: string]: string };
383
+ statusCode: number;
384
+ body: CreateBenchmarkTaskResponseBody;
385
+ static names(): { [key: string]: string } {
386
+ return {
387
+ headers: 'headers',
388
+ statusCode: 'statusCode',
389
+ body: 'body',
390
+ };
391
+ }
392
+
393
+ static types(): { [key: string]: any } {
394
+ return {
395
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
396
+ statusCode: 'number',
397
+ body: CreateBenchmarkTaskResponseBody,
398
+ };
399
+ }
400
+
401
+ constructor(map?: { [key: string]: any }) {
402
+ super(map);
403
+ }
404
+ }
405
+
331
406
  export class CreateResourceRequest extends $tea.Model {
332
407
  autoRenewal?: boolean;
333
408
  chargeType?: string;
@@ -389,10 +464,12 @@ export class CreateResourceResponseBody extends $tea.Model {
389
464
 
390
465
  export class CreateResourceResponse extends $tea.Model {
391
466
  headers: { [key: string]: string };
467
+ statusCode: number;
392
468
  body: CreateResourceResponseBody;
393
469
  static names(): { [key: string]: string } {
394
470
  return {
395
471
  headers: 'headers',
472
+ statusCode: 'statusCode',
396
473
  body: 'body',
397
474
  };
398
475
  }
@@ -400,6 +477,7 @@ export class CreateResourceResponse extends $tea.Model {
400
477
  static types(): { [key: string]: any } {
401
478
  return {
402
479
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
480
+ statusCode: 'number',
403
481
  body: CreateResourceResponseBody,
404
482
  };
405
483
  }
@@ -464,10 +542,12 @@ export class CreateResourceInstancesResponseBody extends $tea.Model {
464
542
 
465
543
  export class CreateResourceInstancesResponse extends $tea.Model {
466
544
  headers: { [key: string]: string };
545
+ statusCode: number;
467
546
  body: CreateResourceInstancesResponseBody;
468
547
  static names(): { [key: string]: string } {
469
548
  return {
470
549
  headers: 'headers',
550
+ statusCode: 'statusCode',
471
551
  body: 'body',
472
552
  };
473
553
  }
@@ -475,6 +555,7 @@ export class CreateResourceInstancesResponse extends $tea.Model {
475
555
  static types(): { [key: string]: any } {
476
556
  return {
477
557
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
558
+ statusCode: 'number',
478
559
  body: CreateResourceInstancesResponseBody,
479
560
  };
480
561
  }
@@ -530,10 +611,12 @@ export class CreateResourceLogResponseBody extends $tea.Model {
530
611
 
531
612
  export class CreateResourceLogResponse extends $tea.Model {
532
613
  headers: { [key: string]: string };
614
+ statusCode: number;
533
615
  body: CreateResourceLogResponseBody;
534
616
  static names(): { [key: string]: string } {
535
617
  return {
536
618
  headers: 'headers',
619
+ statusCode: 'statusCode',
537
620
  body: 'body',
538
621
  };
539
622
  }
@@ -541,6 +624,7 @@ export class CreateResourceLogResponse extends $tea.Model {
541
624
  static types(): { [key: string]: any } {
542
625
  return {
543
626
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
627
+ statusCode: 'number',
544
628
  body: CreateResourceLogResponseBody,
545
629
  };
546
630
  }
@@ -608,10 +692,12 @@ export class CreateServiceResponseBody extends $tea.Model {
608
692
 
609
693
  export class CreateServiceResponse extends $tea.Model {
610
694
  headers: { [key: string]: string };
695
+ statusCode: number;
611
696
  body: CreateServiceResponseBody;
612
697
  static names(): { [key: string]: string } {
613
698
  return {
614
699
  headers: 'headers',
700
+ statusCode: 'statusCode',
615
701
  body: 'body',
616
702
  };
617
703
  }
@@ -619,6 +705,7 @@ export class CreateServiceResponse extends $tea.Model {
619
705
  static types(): { [key: string]: any } {
620
706
  return {
621
707
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
708
+ statusCode: 'number',
622
709
  body: CreateServiceResponseBody,
623
710
  };
624
711
  }
@@ -677,10 +764,12 @@ export class CreateServiceAutoScalerResponseBody extends $tea.Model {
677
764
 
678
765
  export class CreateServiceAutoScalerResponse extends $tea.Model {
679
766
  headers: { [key: string]: string };
767
+ statusCode: number;
680
768
  body: CreateServiceAutoScalerResponseBody;
681
769
  static names(): { [key: string]: string } {
682
770
  return {
683
771
  headers: 'headers',
772
+ statusCode: 'statusCode',
684
773
  body: 'body',
685
774
  };
686
775
  }
@@ -688,6 +777,7 @@ export class CreateServiceAutoScalerResponse extends $tea.Model {
688
777
  static types(): { [key: string]: any } {
689
778
  return {
690
779
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
780
+ statusCode: 'number',
691
781
  body: CreateServiceAutoScalerResponseBody,
692
782
  };
693
783
  }
@@ -743,10 +833,12 @@ export class CreateServiceCronScalerResponseBody extends $tea.Model {
743
833
 
744
834
  export class CreateServiceCronScalerResponse extends $tea.Model {
745
835
  headers: { [key: string]: string };
836
+ statusCode: number;
746
837
  body: CreateServiceCronScalerResponseBody;
747
838
  static names(): { [key: string]: string } {
748
839
  return {
749
840
  headers: 'headers',
841
+ statusCode: 'statusCode',
750
842
  body: 'body',
751
843
  };
752
844
  }
@@ -754,6 +846,7 @@ export class CreateServiceCronScalerResponse extends $tea.Model {
754
846
  static types(): { [key: string]: any } {
755
847
  return {
756
848
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
849
+ statusCode: 'number',
757
850
  body: CreateServiceCronScalerResponseBody,
758
851
  };
759
852
  }
@@ -809,10 +902,12 @@ export class CreateServiceMirrorResponseBody extends $tea.Model {
809
902
 
810
903
  export class CreateServiceMirrorResponse extends $tea.Model {
811
904
  headers: { [key: string]: string };
905
+ statusCode: number;
812
906
  body: CreateServiceMirrorResponseBody;
813
907
  static names(): { [key: string]: string } {
814
908
  return {
815
909
  headers: 'headers',
910
+ statusCode: 'statusCode',
816
911
  body: 'body',
817
912
  };
818
913
  }
@@ -820,6 +915,7 @@ export class CreateServiceMirrorResponse extends $tea.Model {
820
915
  static types(): { [key: string]: any } {
821
916
  return {
822
917
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
918
+ statusCode: 'number',
823
919
  body: CreateServiceMirrorResponseBody,
824
920
  };
825
921
  }
@@ -829,6 +925,125 @@ export class CreateServiceMirrorResponse extends $tea.Model {
829
925
  }
830
926
  }
831
927
 
928
+ export class CreateStressRequest extends $tea.Model {
929
+ body?: string;
930
+ static names(): { [key: string]: string } {
931
+ return {
932
+ body: 'body',
933
+ };
934
+ }
935
+
936
+ static types(): { [key: string]: any } {
937
+ return {
938
+ body: 'string',
939
+ };
940
+ }
941
+
942
+ constructor(map?: { [key: string]: any }) {
943
+ super(map);
944
+ }
945
+ }
946
+
947
+ export class CreateStressResponseBody extends $tea.Model {
948
+ message?: string;
949
+ name?: string;
950
+ region?: string;
951
+ requestId?: string;
952
+ static names(): { [key: string]: string } {
953
+ return {
954
+ message: 'Message',
955
+ name: 'Name',
956
+ region: 'Region',
957
+ requestId: 'RequestId',
958
+ };
959
+ }
960
+
961
+ static types(): { [key: string]: any } {
962
+ return {
963
+ message: 'string',
964
+ name: 'string',
965
+ region: 'string',
966
+ requestId: 'string',
967
+ };
968
+ }
969
+
970
+ constructor(map?: { [key: string]: any }) {
971
+ super(map);
972
+ }
973
+ }
974
+
975
+ export class CreateStressResponse extends $tea.Model {
976
+ headers: { [key: string]: string };
977
+ statusCode: number;
978
+ body: CreateStressResponseBody;
979
+ static names(): { [key: string]: string } {
980
+ return {
981
+ headers: 'headers',
982
+ statusCode: 'statusCode',
983
+ body: 'body',
984
+ };
985
+ }
986
+
987
+ static types(): { [key: string]: any } {
988
+ return {
989
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
990
+ statusCode: 'number',
991
+ body: CreateStressResponseBody,
992
+ };
993
+ }
994
+
995
+ constructor(map?: { [key: string]: any }) {
996
+ super(map);
997
+ }
998
+ }
999
+
1000
+ export class DeleteBenchmarkTaskResponseBody extends $tea.Model {
1001
+ message?: string;
1002
+ requestId?: string;
1003
+ static names(): { [key: string]: string } {
1004
+ return {
1005
+ message: 'Message',
1006
+ requestId: 'RequestId',
1007
+ };
1008
+ }
1009
+
1010
+ static types(): { [key: string]: any } {
1011
+ return {
1012
+ message: 'string',
1013
+ requestId: 'string',
1014
+ };
1015
+ }
1016
+
1017
+ constructor(map?: { [key: string]: any }) {
1018
+ super(map);
1019
+ }
1020
+ }
1021
+
1022
+ export class DeleteBenchmarkTaskResponse extends $tea.Model {
1023
+ headers: { [key: string]: string };
1024
+ statusCode: number;
1025
+ body: DeleteBenchmarkTaskResponseBody;
1026
+ static names(): { [key: string]: string } {
1027
+ return {
1028
+ headers: 'headers',
1029
+ statusCode: 'statusCode',
1030
+ body: 'body',
1031
+ };
1032
+ }
1033
+
1034
+ static types(): { [key: string]: any } {
1035
+ return {
1036
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1037
+ statusCode: 'number',
1038
+ body: DeleteBenchmarkTaskResponseBody,
1039
+ };
1040
+ }
1041
+
1042
+ constructor(map?: { [key: string]: any }) {
1043
+ super(map);
1044
+ }
1045
+ }
1046
+
832
1047
  export class DeleteResourceResponseBody extends $tea.Model {
833
1048
  message?: string;
834
1049
  requestId?: string;
@@ -853,10 +1068,12 @@ export class DeleteResourceResponseBody extends $tea.Model {
853
1068
 
854
1069
  export class DeleteResourceResponse extends $tea.Model {
855
1070
  headers: { [key: string]: string };
1071
+ statusCode: number;
856
1072
  body: DeleteResourceResponseBody;
857
1073
  static names(): { [key: string]: string } {
858
1074
  return {
859
1075
  headers: 'headers',
1076
+ statusCode: 'statusCode',
860
1077
  body: 'body',
861
1078
  };
862
1079
  }
@@ -864,6 +1081,7 @@ export class DeleteResourceResponse extends $tea.Model {
864
1081
  static types(): { [key: string]: any } {
865
1082
  return {
866
1083
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1084
+ statusCode: 'number',
867
1085
  body: DeleteResourceResponseBody,
868
1086
  };
869
1087
  }
@@ -897,10 +1115,12 @@ export class DeleteResourceDLinkResponseBody extends $tea.Model {
897
1115
 
898
1116
  export class DeleteResourceDLinkResponse extends $tea.Model {
899
1117
  headers: { [key: string]: string };
1118
+ statusCode: number;
900
1119
  body: DeleteResourceDLinkResponseBody;
901
1120
  static names(): { [key: string]: string } {
902
1121
  return {
903
1122
  headers: 'headers',
1123
+ statusCode: 'statusCode',
904
1124
  body: 'body',
905
1125
  };
906
1126
  }
@@ -908,6 +1128,7 @@ export class DeleteResourceDLinkResponse extends $tea.Model {
908
1128
  static types(): { [key: string]: any } {
909
1129
  return {
910
1130
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1131
+ statusCode: 'number',
911
1132
  body: DeleteResourceDLinkResponseBody,
912
1133
  };
913
1134
  }
@@ -963,10 +1184,12 @@ export class DeleteResourceInstancesResponseBody extends $tea.Model {
963
1184
 
964
1185
  export class DeleteResourceInstancesResponse extends $tea.Model {
965
1186
  headers: { [key: string]: string };
1187
+ statusCode: number;
966
1188
  body: DeleteResourceInstancesResponseBody;
967
1189
  static names(): { [key: string]: string } {
968
1190
  return {
969
1191
  headers: 'headers',
1192
+ statusCode: 'statusCode',
970
1193
  body: 'body',
971
1194
  };
972
1195
  }
@@ -974,6 +1197,7 @@ export class DeleteResourceInstancesResponse extends $tea.Model {
974
1197
  static types(): { [key: string]: any } {
975
1198
  return {
976
1199
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1200
+ statusCode: 'number',
977
1201
  body: DeleteResourceInstancesResponseBody,
978
1202
  };
979
1203
  }
@@ -1007,10 +1231,12 @@ export class DeleteResourceLogResponseBody extends $tea.Model {
1007
1231
 
1008
1232
  export class DeleteResourceLogResponse extends $tea.Model {
1009
1233
  headers: { [key: string]: string };
1234
+ statusCode: number;
1010
1235
  body: DeleteResourceLogResponseBody;
1011
1236
  static names(): { [key: string]: string } {
1012
1237
  return {
1013
1238
  headers: 'headers',
1239
+ statusCode: 'statusCode',
1014
1240
  body: 'body',
1015
1241
  };
1016
1242
  }
@@ -1018,6 +1244,7 @@ export class DeleteResourceLogResponse extends $tea.Model {
1018
1244
  static types(): { [key: string]: any } {
1019
1245
  return {
1020
1246
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1247
+ statusCode: 'number',
1021
1248
  body: DeleteResourceLogResponseBody,
1022
1249
  };
1023
1250
  }
@@ -1051,10 +1278,12 @@ export class DeleteServiceResponseBody extends $tea.Model {
1051
1278
 
1052
1279
  export class DeleteServiceResponse extends $tea.Model {
1053
1280
  headers: { [key: string]: string };
1281
+ statusCode: number;
1054
1282
  body: DeleteServiceResponseBody;
1055
1283
  static names(): { [key: string]: string } {
1056
1284
  return {
1057
1285
  headers: 'headers',
1286
+ statusCode: 'statusCode',
1058
1287
  body: 'body',
1059
1288
  };
1060
1289
  }
@@ -1062,6 +1291,7 @@ export class DeleteServiceResponse extends $tea.Model {
1062
1291
  static types(): { [key: string]: any } {
1063
1292
  return {
1064
1293
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1294
+ statusCode: 'number',
1065
1295
  body: DeleteServiceResponseBody,
1066
1296
  };
1067
1297
  }
@@ -1095,10 +1325,12 @@ export class DeleteServiceAutoScalerResponseBody extends $tea.Model {
1095
1325
 
1096
1326
  export class DeleteServiceAutoScalerResponse extends $tea.Model {
1097
1327
  headers: { [key: string]: string };
1328
+ statusCode: number;
1098
1329
  body: DeleteServiceAutoScalerResponseBody;
1099
1330
  static names(): { [key: string]: string } {
1100
1331
  return {
1101
1332
  headers: 'headers',
1333
+ statusCode: 'statusCode',
1102
1334
  body: 'body',
1103
1335
  };
1104
1336
  }
@@ -1106,6 +1338,7 @@ export class DeleteServiceAutoScalerResponse extends $tea.Model {
1106
1338
  static types(): { [key: string]: any } {
1107
1339
  return {
1108
1340
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1341
+ statusCode: 'number',
1109
1342
  body: DeleteServiceAutoScalerResponseBody,
1110
1343
  };
1111
1344
  }
@@ -1139,10 +1372,12 @@ export class DeleteServiceCronScalerResponseBody extends $tea.Model {
1139
1372
 
1140
1373
  export class DeleteServiceCronScalerResponse extends $tea.Model {
1141
1374
  headers: { [key: string]: string };
1375
+ statusCode: number;
1142
1376
  body: DeleteServiceCronScalerResponseBody;
1143
1377
  static names(): { [key: string]: string } {
1144
1378
  return {
1145
1379
  headers: 'headers',
1380
+ statusCode: 'statusCode',
1146
1381
  body: 'body',
1147
1382
  };
1148
1383
  }
@@ -1150,6 +1385,7 @@ export class DeleteServiceCronScalerResponse extends $tea.Model {
1150
1385
  static types(): { [key: string]: any } {
1151
1386
  return {
1152
1387
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1388
+ statusCode: 'number',
1153
1389
  body: DeleteServiceCronScalerResponseBody,
1154
1390
  };
1155
1391
  }
@@ -1202,10 +1438,12 @@ export class DeleteServiceInstancesResponseBody extends $tea.Model {
1202
1438
 
1203
1439
  export class DeleteServiceInstancesResponse extends $tea.Model {
1204
1440
  headers: { [key: string]: string };
1441
+ statusCode: number;
1205
1442
  body: DeleteServiceInstancesResponseBody;
1206
1443
  static names(): { [key: string]: string } {
1207
1444
  return {
1208
1445
  headers: 'headers',
1446
+ statusCode: 'statusCode',
1209
1447
  body: 'body',
1210
1448
  };
1211
1449
  }
@@ -1213,6 +1451,7 @@ export class DeleteServiceInstancesResponse extends $tea.Model {
1213
1451
  static types(): { [key: string]: any } {
1214
1452
  return {
1215
1453
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1454
+ statusCode: 'number',
1216
1455
  body: DeleteServiceInstancesResponseBody,
1217
1456
  };
1218
1457
  }
@@ -1246,10 +1485,12 @@ export class DeleteServiceMirrorResponseBody extends $tea.Model {
1246
1485
 
1247
1486
  export class DeleteServiceMirrorResponse extends $tea.Model {
1248
1487
  headers: { [key: string]: string };
1488
+ statusCode: number;
1249
1489
  body: DeleteServiceMirrorResponseBody;
1250
1490
  static names(): { [key: string]: string } {
1251
1491
  return {
1252
1492
  headers: 'headers',
1493
+ statusCode: 'statusCode',
1253
1494
  body: 'body',
1254
1495
  };
1255
1496
  }
@@ -1257,6 +1498,7 @@ export class DeleteServiceMirrorResponse extends $tea.Model {
1257
1498
  static types(): { [key: string]: any } {
1258
1499
  return {
1259
1500
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1501
+ statusCode: 'number',
1260
1502
  body: DeleteServiceMirrorResponseBody,
1261
1503
  };
1262
1504
  }
@@ -1266,19 +1508,19 @@ export class DeleteServiceMirrorResponse extends $tea.Model {
1266
1508
  }
1267
1509
  }
1268
1510
 
1269
- export class DescribeRegionsResponseBody extends $tea.Model {
1270
- regions?: DescribeRegionsResponseBodyRegions[];
1511
+ export class DeleteStressResponseBody extends $tea.Model {
1512
+ message?: string;
1271
1513
  requestId?: string;
1272
1514
  static names(): { [key: string]: string } {
1273
1515
  return {
1274
- regions: 'Regions',
1516
+ message: 'Message',
1275
1517
  requestId: 'RequestId',
1276
1518
  };
1277
1519
  }
1278
1520
 
1279
1521
  static types(): { [key: string]: any } {
1280
1522
  return {
1281
- regions: { 'type': 'array', 'itemType': DescribeRegionsResponseBodyRegions },
1523
+ message: 'string',
1282
1524
  requestId: 'string',
1283
1525
  };
1284
1526
  }
@@ -1288,12 +1530,14 @@ export class DescribeRegionsResponseBody extends $tea.Model {
1288
1530
  }
1289
1531
  }
1290
1532
 
1291
- export class DescribeRegionsResponse extends $tea.Model {
1533
+ export class DeleteStressResponse extends $tea.Model {
1292
1534
  headers: { [key: string]: string };
1293
- body: DescribeRegionsResponseBody;
1535
+ statusCode: number;
1536
+ body: DeleteStressResponseBody;
1294
1537
  static names(): { [key: string]: string } {
1295
1538
  return {
1296
1539
  headers: 'headers',
1540
+ statusCode: 'statusCode',
1297
1541
  body: 'body',
1298
1542
  };
1299
1543
  }
@@ -1301,7 +1545,8 @@ export class DescribeRegionsResponse extends $tea.Model {
1301
1545
  static types(): { [key: string]: any } {
1302
1546
  return {
1303
1547
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1304
- body: DescribeRegionsResponseBody,
1548
+ statusCode: 'number',
1549
+ body: DeleteStressResponseBody,
1305
1550
  };
1306
1551
  }
1307
1552
 
@@ -1310,59 +1555,50 @@ export class DescribeRegionsResponse extends $tea.Model {
1310
1555
  }
1311
1556
  }
1312
1557
 
1313
- export class DescribeResourceResponseBody extends $tea.Model {
1314
- clusterId?: string;
1315
- cpuCount?: number;
1316
- createTime?: string;
1317
- extraData?: string;
1318
- gpuCount?: number;
1319
- instanceCount?: number;
1558
+ export class DescribeBenchmarkTaskResponseBody extends $tea.Model {
1559
+ availableAgent?: number;
1560
+ callerUid?: string;
1561
+ desiredAgent?: number;
1320
1562
  message?: string;
1321
- ownerUid?: string;
1322
- postPaidInstanceCount?: number;
1323
- prePaidInstanceCount?: number;
1563
+ parentUid?: string;
1564
+ reason?: string;
1324
1565
  requestId?: string;
1325
- resourceId?: string;
1326
- resourceName?: string;
1566
+ serviceName?: string;
1327
1567
  status?: string;
1328
- updateTime?: string;
1568
+ taskId?: string;
1569
+ taskName?: string;
1570
+ token?: string;
1329
1571
  static names(): { [key: string]: string } {
1330
1572
  return {
1331
- clusterId: 'ClusterId',
1332
- cpuCount: 'CpuCount',
1333
- createTime: 'CreateTime',
1334
- extraData: 'ExtraData',
1335
- gpuCount: 'GpuCount',
1336
- instanceCount: 'InstanceCount',
1573
+ availableAgent: 'AvailableAgent',
1574
+ callerUid: 'CallerUid',
1575
+ desiredAgent: 'DesiredAgent',
1337
1576
  message: 'Message',
1338
- ownerUid: 'OwnerUid',
1339
- postPaidInstanceCount: 'PostPaidInstanceCount',
1340
- prePaidInstanceCount: 'PrePaidInstanceCount',
1577
+ parentUid: 'ParentUid',
1578
+ reason: 'Reason',
1341
1579
  requestId: 'RequestId',
1342
- resourceId: 'ResourceId',
1343
- resourceName: 'ResourceName',
1580
+ serviceName: 'ServiceName',
1344
1581
  status: 'Status',
1345
- updateTime: 'UpdateTime',
1582
+ taskId: 'TaskId',
1583
+ taskName: 'TaskName',
1584
+ token: 'Token',
1346
1585
  };
1347
1586
  }
1348
1587
 
1349
1588
  static types(): { [key: string]: any } {
1350
1589
  return {
1351
- clusterId: 'string',
1352
- cpuCount: 'number',
1353
- createTime: 'string',
1354
- extraData: 'string',
1355
- gpuCount: 'number',
1356
- instanceCount: 'number',
1590
+ availableAgent: 'number',
1591
+ callerUid: 'string',
1592
+ desiredAgent: 'number',
1357
1593
  message: 'string',
1358
- ownerUid: 'string',
1359
- postPaidInstanceCount: 'number',
1360
- prePaidInstanceCount: 'number',
1594
+ parentUid: 'string',
1595
+ reason: 'string',
1361
1596
  requestId: 'string',
1362
- resourceId: 'string',
1363
- resourceName: 'string',
1597
+ serviceName: 'string',
1364
1598
  status: 'string',
1365
- updateTime: 'string',
1599
+ taskId: 'string',
1600
+ taskName: 'string',
1601
+ token: 'string',
1366
1602
  };
1367
1603
  }
1368
1604
 
@@ -1371,12 +1607,14 @@ export class DescribeResourceResponseBody extends $tea.Model {
1371
1607
  }
1372
1608
  }
1373
1609
 
1374
- export class DescribeResourceResponse extends $tea.Model {
1610
+ export class DescribeBenchmarkTaskResponse extends $tea.Model {
1375
1611
  headers: { [key: string]: string };
1376
- body: DescribeResourceResponseBody;
1612
+ statusCode: number;
1613
+ body: DescribeBenchmarkTaskResponseBody;
1377
1614
  static names(): { [key: string]: string } {
1378
1615
  return {
1379
1616
  headers: 'headers',
1617
+ statusCode: 'statusCode',
1380
1618
  body: 'body',
1381
1619
  };
1382
1620
  }
@@ -1384,7 +1622,8 @@ export class DescribeResourceResponse extends $tea.Model {
1384
1622
  static types(): { [key: string]: any } {
1385
1623
  return {
1386
1624
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1387
- body: DescribeResourceResponseBody,
1625
+ statusCode: 'number',
1626
+ body: DescribeBenchmarkTaskResponseBody,
1388
1627
  };
1389
1628
  }
1390
1629
 
@@ -1393,32 +1632,20 @@ export class DescribeResourceResponse extends $tea.Model {
1393
1632
  }
1394
1633
  }
1395
1634
 
1396
- export class DescribeResourceDLinkResponseBody extends $tea.Model {
1397
- auxVSwitchList?: string[];
1398
- destinationCIDRs?: string;
1635
+ export class DescribeBenchmarkTaskReportResponseBody extends $tea.Model {
1636
+ reportUrl?: string;
1399
1637
  requestId?: string;
1400
- securityGroupId?: string;
1401
- vSwitchId?: string;
1402
- vpcId?: string;
1403
1638
  static names(): { [key: string]: string } {
1404
1639
  return {
1405
- auxVSwitchList: 'AuxVSwitchList',
1406
- destinationCIDRs: 'DestinationCIDRs',
1640
+ reportUrl: 'ReportUrl',
1407
1641
  requestId: 'RequestId',
1408
- securityGroupId: 'SecurityGroupId',
1409
- vSwitchId: 'VSwitchId',
1410
- vpcId: 'VpcId',
1411
1642
  };
1412
1643
  }
1413
1644
 
1414
1645
  static types(): { [key: string]: any } {
1415
1646
  return {
1416
- auxVSwitchList: { 'type': 'array', 'itemType': 'string' },
1417
- destinationCIDRs: 'string',
1647
+ reportUrl: 'string',
1418
1648
  requestId: 'string',
1419
- securityGroupId: 'string',
1420
- vSwitchId: 'string',
1421
- vpcId: 'string',
1422
1649
  };
1423
1650
  }
1424
1651
 
@@ -1427,12 +1654,14 @@ export class DescribeResourceDLinkResponseBody extends $tea.Model {
1427
1654
  }
1428
1655
  }
1429
1656
 
1430
- export class DescribeResourceDLinkResponse extends $tea.Model {
1657
+ export class DescribeBenchmarkTaskReportResponse extends $tea.Model {
1431
1658
  headers: { [key: string]: string };
1432
- body: DescribeResourceDLinkResponseBody;
1659
+ statusCode: number;
1660
+ body: DescribeBenchmarkTaskReportResponseBody;
1433
1661
  static names(): { [key: string]: string } {
1434
1662
  return {
1435
1663
  headers: 'headers',
1664
+ statusCode: 'statusCode',
1436
1665
  body: 'body',
1437
1666
  };
1438
1667
  }
@@ -1440,7 +1669,8 @@ export class DescribeResourceDLinkResponse extends $tea.Model {
1440
1669
  static types(): { [key: string]: any } {
1441
1670
  return {
1442
1671
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1443
- body: DescribeResourceDLinkResponseBody,
1672
+ statusCode: 'number',
1673
+ body: DescribeBenchmarkTaskReportResponseBody,
1444
1674
  };
1445
1675
  }
1446
1676
 
@@ -1449,12 +1679,157 @@ export class DescribeResourceDLinkResponse extends $tea.Model {
1449
1679
  }
1450
1680
  }
1451
1681
 
1452
- export class DescribeResourceLogResponseBody extends $tea.Model {
1453
- logStore?: string;
1682
+ export class DescribeResourceResponseBody extends $tea.Model {
1683
+ clusterId?: string;
1684
+ cpuCount?: number;
1685
+ createTime?: string;
1686
+ extraData?: string;
1687
+ gpuCount?: number;
1688
+ instanceCount?: number;
1454
1689
  message?: string;
1455
- projectName?: string;
1690
+ ownerUid?: string;
1691
+ postPaidInstanceCount?: number;
1692
+ prePaidInstanceCount?: number;
1456
1693
  requestId?: string;
1457
- status?: string;
1694
+ resourceId?: string;
1695
+ resourceName?: string;
1696
+ status?: string;
1697
+ updateTime?: string;
1698
+ static names(): { [key: string]: string } {
1699
+ return {
1700
+ clusterId: 'ClusterId',
1701
+ cpuCount: 'CpuCount',
1702
+ createTime: 'CreateTime',
1703
+ extraData: 'ExtraData',
1704
+ gpuCount: 'GpuCount',
1705
+ instanceCount: 'InstanceCount',
1706
+ message: 'Message',
1707
+ ownerUid: 'OwnerUid',
1708
+ postPaidInstanceCount: 'PostPaidInstanceCount',
1709
+ prePaidInstanceCount: 'PrePaidInstanceCount',
1710
+ requestId: 'RequestId',
1711
+ resourceId: 'ResourceId',
1712
+ resourceName: 'ResourceName',
1713
+ status: 'Status',
1714
+ updateTime: 'UpdateTime',
1715
+ };
1716
+ }
1717
+
1718
+ static types(): { [key: string]: any } {
1719
+ return {
1720
+ clusterId: 'string',
1721
+ cpuCount: 'number',
1722
+ createTime: 'string',
1723
+ extraData: 'string',
1724
+ gpuCount: 'number',
1725
+ instanceCount: 'number',
1726
+ message: 'string',
1727
+ ownerUid: 'string',
1728
+ postPaidInstanceCount: 'number',
1729
+ prePaidInstanceCount: 'number',
1730
+ requestId: 'string',
1731
+ resourceId: 'string',
1732
+ resourceName: 'string',
1733
+ status: 'string',
1734
+ updateTime: 'string',
1735
+ };
1736
+ }
1737
+
1738
+ constructor(map?: { [key: string]: any }) {
1739
+ super(map);
1740
+ }
1741
+ }
1742
+
1743
+ export class DescribeResourceResponse extends $tea.Model {
1744
+ headers: { [key: string]: string };
1745
+ statusCode: number;
1746
+ body: DescribeResourceResponseBody;
1747
+ static names(): { [key: string]: string } {
1748
+ return {
1749
+ headers: 'headers',
1750
+ statusCode: 'statusCode',
1751
+ body: 'body',
1752
+ };
1753
+ }
1754
+
1755
+ static types(): { [key: string]: any } {
1756
+ return {
1757
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1758
+ statusCode: 'number',
1759
+ body: DescribeResourceResponseBody,
1760
+ };
1761
+ }
1762
+
1763
+ constructor(map?: { [key: string]: any }) {
1764
+ super(map);
1765
+ }
1766
+ }
1767
+
1768
+ export class DescribeResourceDLinkResponseBody extends $tea.Model {
1769
+ auxVSwitchList?: string[];
1770
+ destinationCIDRs?: string;
1771
+ requestId?: string;
1772
+ securityGroupId?: string;
1773
+ vSwitchId?: string;
1774
+ vpcId?: string;
1775
+ static names(): { [key: string]: string } {
1776
+ return {
1777
+ auxVSwitchList: 'AuxVSwitchList',
1778
+ destinationCIDRs: 'DestinationCIDRs',
1779
+ requestId: 'RequestId',
1780
+ securityGroupId: 'SecurityGroupId',
1781
+ vSwitchId: 'VSwitchId',
1782
+ vpcId: 'VpcId',
1783
+ };
1784
+ }
1785
+
1786
+ static types(): { [key: string]: any } {
1787
+ return {
1788
+ auxVSwitchList: { 'type': 'array', 'itemType': 'string' },
1789
+ destinationCIDRs: 'string',
1790
+ requestId: 'string',
1791
+ securityGroupId: 'string',
1792
+ vSwitchId: 'string',
1793
+ vpcId: 'string',
1794
+ };
1795
+ }
1796
+
1797
+ constructor(map?: { [key: string]: any }) {
1798
+ super(map);
1799
+ }
1800
+ }
1801
+
1802
+ export class DescribeResourceDLinkResponse extends $tea.Model {
1803
+ headers: { [key: string]: string };
1804
+ statusCode: number;
1805
+ body: DescribeResourceDLinkResponseBody;
1806
+ static names(): { [key: string]: string } {
1807
+ return {
1808
+ headers: 'headers',
1809
+ statusCode: 'statusCode',
1810
+ body: 'body',
1811
+ };
1812
+ }
1813
+
1814
+ static types(): { [key: string]: any } {
1815
+ return {
1816
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1817
+ statusCode: 'number',
1818
+ body: DescribeResourceDLinkResponseBody,
1819
+ };
1820
+ }
1821
+
1822
+ constructor(map?: { [key: string]: any }) {
1823
+ super(map);
1824
+ }
1825
+ }
1826
+
1827
+ export class DescribeResourceLogResponseBody extends $tea.Model {
1828
+ logStore?: string;
1829
+ message?: string;
1830
+ projectName?: string;
1831
+ requestId?: string;
1832
+ status?: string;
1458
1833
  static names(): { [key: string]: string } {
1459
1834
  return {
1460
1835
  logStore: 'LogStore',
@@ -1482,10 +1857,12 @@ export class DescribeResourceLogResponseBody extends $tea.Model {
1482
1857
 
1483
1858
  export class DescribeResourceLogResponse extends $tea.Model {
1484
1859
  headers: { [key: string]: string };
1860
+ statusCode: number;
1485
1861
  body: DescribeResourceLogResponseBody;
1486
1862
  static names(): { [key: string]: string } {
1487
1863
  return {
1488
1864
  headers: 'headers',
1865
+ statusCode: 'statusCode',
1489
1866
  body: 'body',
1490
1867
  };
1491
1868
  }
@@ -1493,6 +1870,7 @@ export class DescribeResourceLogResponse extends $tea.Model {
1493
1870
  static types(): { [key: string]: any } {
1494
1871
  return {
1495
1872
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1873
+ statusCode: 'number',
1496
1874
  body: DescribeResourceLogResponseBody,
1497
1875
  };
1498
1876
  }
@@ -1504,10 +1882,12 @@ export class DescribeResourceLogResponse extends $tea.Model {
1504
1882
 
1505
1883
  export class DescribeServiceResponse extends $tea.Model {
1506
1884
  headers: { [key: string]: string };
1885
+ statusCode: number;
1507
1886
  body: Service;
1508
1887
  static names(): { [key: string]: string } {
1509
1888
  return {
1510
1889
  headers: 'headers',
1890
+ statusCode: 'statusCode',
1511
1891
  body: 'body',
1512
1892
  };
1513
1893
  }
@@ -1515,6 +1895,7 @@ export class DescribeServiceResponse extends $tea.Model {
1515
1895
  static types(): { [key: string]: any } {
1516
1896
  return {
1517
1897
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1898
+ statusCode: 'number',
1518
1899
  body: Service,
1519
1900
  };
1520
1901
  }
@@ -1560,10 +1941,12 @@ export class DescribeServiceAutoScalerResponseBody extends $tea.Model {
1560
1941
 
1561
1942
  export class DescribeServiceAutoScalerResponse extends $tea.Model {
1562
1943
  headers: { [key: string]: string };
1944
+ statusCode: number;
1563
1945
  body: DescribeServiceAutoScalerResponseBody;
1564
1946
  static names(): { [key: string]: string } {
1565
1947
  return {
1566
1948
  headers: 'headers',
1949
+ statusCode: 'statusCode',
1567
1950
  body: 'body',
1568
1951
  };
1569
1952
  }
@@ -1571,6 +1954,7 @@ export class DescribeServiceAutoScalerResponse extends $tea.Model {
1571
1954
  static types(): { [key: string]: any } {
1572
1955
  return {
1573
1956
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1957
+ statusCode: 'number',
1574
1958
  body: DescribeServiceAutoScalerResponseBody,
1575
1959
  };
1576
1960
  }
@@ -1610,10 +1994,12 @@ export class DescribeServiceCronScalerResponseBody extends $tea.Model {
1610
1994
 
1611
1995
  export class DescribeServiceCronScalerResponse extends $tea.Model {
1612
1996
  headers: { [key: string]: string };
1997
+ statusCode: number;
1613
1998
  body: DescribeServiceCronScalerResponseBody;
1614
1999
  static names(): { [key: string]: string } {
1615
2000
  return {
1616
2001
  headers: 'headers',
2002
+ statusCode: 'statusCode',
1617
2003
  body: 'body',
1618
2004
  };
1619
2005
  }
@@ -1621,6 +2007,7 @@ export class DescribeServiceCronScalerResponse extends $tea.Model {
1621
2007
  static types(): { [key: string]: any } {
1622
2008
  return {
1623
2009
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2010
+ statusCode: 'number',
1624
2011
  body: DescribeServiceCronScalerResponseBody,
1625
2012
  };
1626
2013
  }
@@ -1697,10 +2084,12 @@ export class DescribeServiceLogResponseBody extends $tea.Model {
1697
2084
 
1698
2085
  export class DescribeServiceLogResponse extends $tea.Model {
1699
2086
  headers: { [key: string]: string };
2087
+ statusCode: number;
1700
2088
  body: DescribeServiceLogResponseBody;
1701
2089
  static names(): { [key: string]: string } {
1702
2090
  return {
1703
2091
  headers: 'headers',
2092
+ statusCode: 'statusCode',
1704
2093
  body: 'body',
1705
2094
  };
1706
2095
  }
@@ -1708,6 +2097,7 @@ export class DescribeServiceLogResponse extends $tea.Model {
1708
2097
  static types(): { [key: string]: any } {
1709
2098
  return {
1710
2099
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2100
+ statusCode: 'number',
1711
2101
  body: DescribeServiceLogResponseBody,
1712
2102
  };
1713
2103
  }
@@ -1747,10 +2137,12 @@ export class DescribeServiceMirrorResponseBody extends $tea.Model {
1747
2137
 
1748
2138
  export class DescribeServiceMirrorResponse extends $tea.Model {
1749
2139
  headers: { [key: string]: string };
2140
+ statusCode: number;
1750
2141
  body: DescribeServiceMirrorResponseBody;
1751
2142
  static names(): { [key: string]: string } {
1752
2143
  return {
1753
2144
  headers: 'headers',
2145
+ statusCode: 'statusCode',
1754
2146
  body: 'body',
1755
2147
  };
1756
2148
  }
@@ -1758,6 +2150,7 @@ export class DescribeServiceMirrorResponse extends $tea.Model {
1758
2150
  static types(): { [key: string]: any } {
1759
2151
  return {
1760
2152
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2153
+ statusCode: 'number',
1761
2154
  body: DescribeServiceMirrorResponseBody,
1762
2155
  };
1763
2156
  }
@@ -1767,6 +2160,127 @@ export class DescribeServiceMirrorResponse extends $tea.Model {
1767
2160
  }
1768
2161
  }
1769
2162
 
2163
+ export class DescribeStressResponseBody extends $tea.Model {
2164
+ availableAgent?: number;
2165
+ callerUid?: string;
2166
+ desiredAgent?: number;
2167
+ message?: string;
2168
+ parentUid?: string;
2169
+ reason?: string;
2170
+ requestId?: string;
2171
+ serviceName?: string;
2172
+ status?: string;
2173
+ stressName?: string;
2174
+ token?: string;
2175
+ static names(): { [key: string]: string } {
2176
+ return {
2177
+ availableAgent: 'AvailableAgent',
2178
+ callerUid: 'CallerUid',
2179
+ desiredAgent: 'DesiredAgent',
2180
+ message: 'Message',
2181
+ parentUid: 'ParentUid',
2182
+ reason: 'Reason',
2183
+ requestId: 'RequestId',
2184
+ serviceName: 'ServiceName',
2185
+ status: 'Status',
2186
+ stressName: 'StressName',
2187
+ token: 'Token',
2188
+ };
2189
+ }
2190
+
2191
+ static types(): { [key: string]: any } {
2192
+ return {
2193
+ availableAgent: 'number',
2194
+ callerUid: 'string',
2195
+ desiredAgent: 'number',
2196
+ message: 'string',
2197
+ parentUid: 'string',
2198
+ reason: 'string',
2199
+ requestId: 'string',
2200
+ serviceName: 'string',
2201
+ status: 'string',
2202
+ stressName: 'string',
2203
+ token: 'string',
2204
+ };
2205
+ }
2206
+
2207
+ constructor(map?: { [key: string]: any }) {
2208
+ super(map);
2209
+ }
2210
+ }
2211
+
2212
+ export class DescribeStressResponse extends $tea.Model {
2213
+ headers: { [key: string]: string };
2214
+ statusCode: number;
2215
+ body: DescribeStressResponseBody;
2216
+ static names(): { [key: string]: string } {
2217
+ return {
2218
+ headers: 'headers',
2219
+ statusCode: 'statusCode',
2220
+ body: 'body',
2221
+ };
2222
+ }
2223
+
2224
+ static types(): { [key: string]: any } {
2225
+ return {
2226
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2227
+ statusCode: 'number',
2228
+ body: DescribeStressResponseBody,
2229
+ };
2230
+ }
2231
+
2232
+ constructor(map?: { [key: string]: any }) {
2233
+ super(map);
2234
+ }
2235
+ }
2236
+
2237
+ export class ListBenchmarkTaskResponseBody extends $tea.Model {
2238
+ requestId?: string;
2239
+ tasks?: ListBenchmarkTaskResponseBodyTasks[];
2240
+ static names(): { [key: string]: string } {
2241
+ return {
2242
+ requestId: 'RequestId',
2243
+ tasks: 'Tasks',
2244
+ };
2245
+ }
2246
+
2247
+ static types(): { [key: string]: any } {
2248
+ return {
2249
+ requestId: 'string',
2250
+ tasks: { 'type': 'array', 'itemType': ListBenchmarkTaskResponseBodyTasks },
2251
+ };
2252
+ }
2253
+
2254
+ constructor(map?: { [key: string]: any }) {
2255
+ super(map);
2256
+ }
2257
+ }
2258
+
2259
+ export class ListBenchmarkTaskResponse extends $tea.Model {
2260
+ headers: { [key: string]: string };
2261
+ statusCode: number;
2262
+ body: ListBenchmarkTaskResponseBody;
2263
+ static names(): { [key: string]: string } {
2264
+ return {
2265
+ headers: 'headers',
2266
+ statusCode: 'statusCode',
2267
+ body: 'body',
2268
+ };
2269
+ }
2270
+
2271
+ static types(): { [key: string]: any } {
2272
+ return {
2273
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2274
+ statusCode: 'number',
2275
+ body: ListBenchmarkTaskResponseBody,
2276
+ };
2277
+ }
2278
+
2279
+ constructor(map?: { [key: string]: any }) {
2280
+ super(map);
2281
+ }
2282
+ }
2283
+
1770
2284
  export class ListResourceInstanceWorkerRequest extends $tea.Model {
1771
2285
  pageNumber?: number;
1772
2286
  pageSize?: number;
@@ -1822,10 +2336,12 @@ export class ListResourceInstanceWorkerResponseBody extends $tea.Model {
1822
2336
 
1823
2337
  export class ListResourceInstanceWorkerResponse extends $tea.Model {
1824
2338
  headers: { [key: string]: string };
2339
+ statusCode: number;
1825
2340
  body: ListResourceInstanceWorkerResponseBody;
1826
2341
  static names(): { [key: string]: string } {
1827
2342
  return {
1828
2343
  headers: 'headers',
2344
+ statusCode: 'statusCode',
1829
2345
  body: 'body',
1830
2346
  };
1831
2347
  }
@@ -1833,6 +2349,7 @@ export class ListResourceInstanceWorkerResponse extends $tea.Model {
1833
2349
  static types(): { [key: string]: any } {
1834
2350
  return {
1835
2351
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2352
+ statusCode: 'number',
1836
2353
  body: ListResourceInstanceWorkerResponseBody,
1837
2354
  };
1838
2355
  }
@@ -1843,10 +2360,12 @@ export class ListResourceInstanceWorkerResponse extends $tea.Model {
1843
2360
  }
1844
2361
 
1845
2362
  export class ListResourceInstancesRequest extends $tea.Model {
2363
+ chargeType?: string;
1846
2364
  pageNumber?: number;
1847
2365
  pageSize?: number;
1848
2366
  static names(): { [key: string]: string } {
1849
2367
  return {
2368
+ chargeType: 'ChargeType',
1850
2369
  pageNumber: 'PageNumber',
1851
2370
  pageSize: 'PageSize',
1852
2371
  };
@@ -1854,6 +2373,7 @@ export class ListResourceInstancesRequest extends $tea.Model {
1854
2373
 
1855
2374
  static types(): { [key: string]: any } {
1856
2375
  return {
2376
+ chargeType: 'string',
1857
2377
  pageNumber: 'number',
1858
2378
  pageSize: 'number',
1859
2379
  };
@@ -1897,10 +2417,12 @@ export class ListResourceInstancesResponseBody extends $tea.Model {
1897
2417
 
1898
2418
  export class ListResourceInstancesResponse extends $tea.Model {
1899
2419
  headers: { [key: string]: string };
2420
+ statusCode: number;
1900
2421
  body: ListResourceInstancesResponseBody;
1901
2422
  static names(): { [key: string]: string } {
1902
2423
  return {
1903
2424
  headers: 'headers',
2425
+ statusCode: 'statusCode',
1904
2426
  body: 'body',
1905
2427
  };
1906
2428
  }
@@ -1908,6 +2430,7 @@ export class ListResourceInstancesResponse extends $tea.Model {
1908
2430
  static types(): { [key: string]: any } {
1909
2431
  return {
1910
2432
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2433
+ statusCode: 'number',
1911
2434
  body: ListResourceInstancesResponseBody,
1912
2435
  };
1913
2436
  }
@@ -1972,10 +2495,12 @@ export class ListResourceServicesResponseBody extends $tea.Model {
1972
2495
 
1973
2496
  export class ListResourceServicesResponse extends $tea.Model {
1974
2497
  headers: { [key: string]: string };
2498
+ statusCode: number;
1975
2499
  body: ListResourceServicesResponseBody;
1976
2500
  static names(): { [key: string]: string } {
1977
2501
  return {
1978
2502
  headers: 'headers',
2503
+ statusCode: 'statusCode',
1979
2504
  body: 'body',
1980
2505
  };
1981
2506
  }
@@ -1983,6 +2508,7 @@ export class ListResourceServicesResponse extends $tea.Model {
1983
2508
  static types(): { [key: string]: any } {
1984
2509
  return {
1985
2510
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2511
+ statusCode: 'number',
1986
2512
  body: ListResourceServicesResponseBody,
1987
2513
  };
1988
2514
  }
@@ -2047,10 +2573,12 @@ export class ListResourcesResponseBody extends $tea.Model {
2047
2573
 
2048
2574
  export class ListResourcesResponse extends $tea.Model {
2049
2575
  headers: { [key: string]: string };
2576
+ statusCode: number;
2050
2577
  body: ListResourcesResponseBody;
2051
2578
  static names(): { [key: string]: string } {
2052
2579
  return {
2053
2580
  headers: 'headers',
2581
+ statusCode: 'statusCode',
2054
2582
  body: 'body',
2055
2583
  };
2056
2584
  }
@@ -2058,6 +2586,7 @@ export class ListResourcesResponse extends $tea.Model {
2058
2586
  static types(): { [key: string]: any } {
2059
2587
  return {
2060
2588
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2589
+ statusCode: 'number',
2061
2590
  body: ListResourcesResponseBody,
2062
2591
  };
2063
2592
  }
@@ -2122,10 +2651,12 @@ export class ListServiceInstancesResponseBody extends $tea.Model {
2122
2651
 
2123
2652
  export class ListServiceInstancesResponse extends $tea.Model {
2124
2653
  headers: { [key: string]: string };
2654
+ statusCode: number;
2125
2655
  body: ListServiceInstancesResponseBody;
2126
2656
  static names(): { [key: string]: string } {
2127
2657
  return {
2128
2658
  headers: 'headers',
2659
+ statusCode: 'statusCode',
2129
2660
  body: 'body',
2130
2661
  };
2131
2662
  }
@@ -2133,6 +2664,7 @@ export class ListServiceInstancesResponse extends $tea.Model {
2133
2664
  static types(): { [key: string]: any } {
2134
2665
  return {
2135
2666
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2667
+ statusCode: 'number',
2136
2668
  body: ListServiceInstancesResponseBody,
2137
2669
  };
2138
2670
  }
@@ -2206,10 +2738,12 @@ export class ListServicesResponseBody extends $tea.Model {
2206
2738
 
2207
2739
  export class ListServicesResponse extends $tea.Model {
2208
2740
  headers: { [key: string]: string };
2741
+ statusCode: number;
2209
2742
  body: ListServicesResponseBody;
2210
2743
  static names(): { [key: string]: string } {
2211
2744
  return {
2212
2745
  headers: 'headers',
2746
+ statusCode: 'statusCode',
2213
2747
  body: 'body',
2214
2748
  };
2215
2749
  }
@@ -2217,6 +2751,7 @@ export class ListServicesResponse extends $tea.Model {
2217
2751
  static types(): { [key: string]: any } {
2218
2752
  return {
2219
2753
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2754
+ statusCode: 'number',
2220
2755
  body: ListServicesResponseBody,
2221
2756
  };
2222
2757
  }
@@ -2226,6 +2761,53 @@ export class ListServicesResponse extends $tea.Model {
2226
2761
  }
2227
2762
  }
2228
2763
 
2764
+ export class ListStressesResponseBody extends $tea.Model {
2765
+ requestId?: string;
2766
+ stresses?: ListStressesResponseBodyStresses[];
2767
+ static names(): { [key: string]: string } {
2768
+ return {
2769
+ requestId: 'RequestId',
2770
+ stresses: 'Stresses',
2771
+ };
2772
+ }
2773
+
2774
+ static types(): { [key: string]: any } {
2775
+ return {
2776
+ requestId: 'string',
2777
+ stresses: { 'type': 'array', 'itemType': ListStressesResponseBodyStresses },
2778
+ };
2779
+ }
2780
+
2781
+ constructor(map?: { [key: string]: any }) {
2782
+ super(map);
2783
+ }
2784
+ }
2785
+
2786
+ export class ListStressesResponse extends $tea.Model {
2787
+ headers: { [key: string]: string };
2788
+ statusCode: number;
2789
+ body: ListStressesResponseBody;
2790
+ static names(): { [key: string]: string } {
2791
+ return {
2792
+ headers: 'headers',
2793
+ statusCode: 'statusCode',
2794
+ body: 'body',
2795
+ };
2796
+ }
2797
+
2798
+ static types(): { [key: string]: any } {
2799
+ return {
2800
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2801
+ statusCode: 'number',
2802
+ body: ListStressesResponseBody,
2803
+ };
2804
+ }
2805
+
2806
+ constructor(map?: { [key: string]: any }) {
2807
+ super(map);
2808
+ }
2809
+ }
2810
+
2229
2811
  export class ReleaseServiceRequest extends $tea.Model {
2230
2812
  weight?: number;
2231
2813
  static names(): { [key: string]: string } {
@@ -2236,7 +2818,289 @@ export class ReleaseServiceRequest extends $tea.Model {
2236
2818
 
2237
2819
  static types(): { [key: string]: any } {
2238
2820
  return {
2239
- weight: 'number',
2821
+ weight: 'number',
2822
+ };
2823
+ }
2824
+
2825
+ constructor(map?: { [key: string]: any }) {
2826
+ super(map);
2827
+ }
2828
+ }
2829
+
2830
+ export class ReleaseServiceResponseBody extends $tea.Model {
2831
+ message?: string;
2832
+ requestId?: string;
2833
+ static names(): { [key: string]: string } {
2834
+ return {
2835
+ message: 'Message',
2836
+ requestId: 'RequestId',
2837
+ };
2838
+ }
2839
+
2840
+ static types(): { [key: string]: any } {
2841
+ return {
2842
+ message: 'string',
2843
+ requestId: 'string',
2844
+ };
2845
+ }
2846
+
2847
+ constructor(map?: { [key: string]: any }) {
2848
+ super(map);
2849
+ }
2850
+ }
2851
+
2852
+ export class ReleaseServiceResponse extends $tea.Model {
2853
+ headers: { [key: string]: string };
2854
+ statusCode: number;
2855
+ body: ReleaseServiceResponseBody;
2856
+ static names(): { [key: string]: string } {
2857
+ return {
2858
+ headers: 'headers',
2859
+ statusCode: 'statusCode',
2860
+ body: 'body',
2861
+ };
2862
+ }
2863
+
2864
+ static types(): { [key: string]: any } {
2865
+ return {
2866
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2867
+ statusCode: 'number',
2868
+ body: ReleaseServiceResponseBody,
2869
+ };
2870
+ }
2871
+
2872
+ constructor(map?: { [key: string]: any }) {
2873
+ super(map);
2874
+ }
2875
+ }
2876
+
2877
+ export class ReportStressResponseBody extends $tea.Model {
2878
+ reportUrl?: string;
2879
+ requestId?: string;
2880
+ static names(): { [key: string]: string } {
2881
+ return {
2882
+ reportUrl: 'ReportUrl',
2883
+ requestId: 'RequestId',
2884
+ };
2885
+ }
2886
+
2887
+ static types(): { [key: string]: any } {
2888
+ return {
2889
+ reportUrl: 'string',
2890
+ requestId: 'string',
2891
+ };
2892
+ }
2893
+
2894
+ constructor(map?: { [key: string]: any }) {
2895
+ super(map);
2896
+ }
2897
+ }
2898
+
2899
+ export class ReportStressResponse extends $tea.Model {
2900
+ headers: { [key: string]: string };
2901
+ statusCode: number;
2902
+ body: ReportStressResponseBody;
2903
+ static names(): { [key: string]: string } {
2904
+ return {
2905
+ headers: 'headers',
2906
+ statusCode: 'statusCode',
2907
+ body: 'body',
2908
+ };
2909
+ }
2910
+
2911
+ static types(): { [key: string]: any } {
2912
+ return {
2913
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2914
+ statusCode: 'number',
2915
+ body: ReportStressResponseBody,
2916
+ };
2917
+ }
2918
+
2919
+ constructor(map?: { [key: string]: any }) {
2920
+ super(map);
2921
+ }
2922
+ }
2923
+
2924
+ export class StartBenchmarkTaskResponseBody extends $tea.Model {
2925
+ message?: string;
2926
+ requestId?: string;
2927
+ static names(): { [key: string]: string } {
2928
+ return {
2929
+ message: 'Message',
2930
+ requestId: 'RequestId',
2931
+ };
2932
+ }
2933
+
2934
+ static types(): { [key: string]: any } {
2935
+ return {
2936
+ message: 'string',
2937
+ requestId: 'string',
2938
+ };
2939
+ }
2940
+
2941
+ constructor(map?: { [key: string]: any }) {
2942
+ super(map);
2943
+ }
2944
+ }
2945
+
2946
+ export class StartBenchmarkTaskResponse extends $tea.Model {
2947
+ headers: { [key: string]: string };
2948
+ statusCode: number;
2949
+ body: StartBenchmarkTaskResponseBody;
2950
+ static names(): { [key: string]: string } {
2951
+ return {
2952
+ headers: 'headers',
2953
+ statusCode: 'statusCode',
2954
+ body: 'body',
2955
+ };
2956
+ }
2957
+
2958
+ static types(): { [key: string]: any } {
2959
+ return {
2960
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2961
+ statusCode: 'number',
2962
+ body: StartBenchmarkTaskResponseBody,
2963
+ };
2964
+ }
2965
+
2966
+ constructor(map?: { [key: string]: any }) {
2967
+ super(map);
2968
+ }
2969
+ }
2970
+
2971
+ export class StartServiceResponseBody extends $tea.Model {
2972
+ message?: string;
2973
+ requestId?: string;
2974
+ static names(): { [key: string]: string } {
2975
+ return {
2976
+ message: 'Message',
2977
+ requestId: 'RequestId',
2978
+ };
2979
+ }
2980
+
2981
+ static types(): { [key: string]: any } {
2982
+ return {
2983
+ message: 'string',
2984
+ requestId: 'string',
2985
+ };
2986
+ }
2987
+
2988
+ constructor(map?: { [key: string]: any }) {
2989
+ super(map);
2990
+ }
2991
+ }
2992
+
2993
+ export class StartServiceResponse extends $tea.Model {
2994
+ headers: { [key: string]: string };
2995
+ statusCode: number;
2996
+ body: StartServiceResponseBody;
2997
+ static names(): { [key: string]: string } {
2998
+ return {
2999
+ headers: 'headers',
3000
+ statusCode: 'statusCode',
3001
+ body: 'body',
3002
+ };
3003
+ }
3004
+
3005
+ static types(): { [key: string]: any } {
3006
+ return {
3007
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3008
+ statusCode: 'number',
3009
+ body: StartServiceResponseBody,
3010
+ };
3011
+ }
3012
+
3013
+ constructor(map?: { [key: string]: any }) {
3014
+ super(map);
3015
+ }
3016
+ }
3017
+
3018
+ export class StartStressResponseBody extends $tea.Model {
3019
+ message?: string;
3020
+ requestId?: string;
3021
+ static names(): { [key: string]: string } {
3022
+ return {
3023
+ message: 'Message',
3024
+ requestId: 'RequestId',
3025
+ };
3026
+ }
3027
+
3028
+ static types(): { [key: string]: any } {
3029
+ return {
3030
+ message: 'string',
3031
+ requestId: 'string',
3032
+ };
3033
+ }
3034
+
3035
+ constructor(map?: { [key: string]: any }) {
3036
+ super(map);
3037
+ }
3038
+ }
3039
+
3040
+ export class StartStressResponse extends $tea.Model {
3041
+ headers: { [key: string]: string };
3042
+ statusCode: number;
3043
+ body: StartStressResponseBody;
3044
+ static names(): { [key: string]: string } {
3045
+ return {
3046
+ headers: 'headers',
3047
+ statusCode: 'statusCode',
3048
+ body: 'body',
3049
+ };
3050
+ }
3051
+
3052
+ static types(): { [key: string]: any } {
3053
+ return {
3054
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3055
+ statusCode: 'number',
3056
+ body: StartStressResponseBody,
3057
+ };
3058
+ }
3059
+
3060
+ constructor(map?: { [key: string]: any }) {
3061
+ super(map);
3062
+ }
3063
+ }
3064
+
3065
+ export class StopBenchmarkTaskResponseBody extends $tea.Model {
3066
+ message?: string;
3067
+ requestId?: string;
3068
+ static names(): { [key: string]: string } {
3069
+ return {
3070
+ message: 'Message',
3071
+ requestId: 'RequestId',
3072
+ };
3073
+ }
3074
+
3075
+ static types(): { [key: string]: any } {
3076
+ return {
3077
+ message: 'string',
3078
+ requestId: 'string',
3079
+ };
3080
+ }
3081
+
3082
+ constructor(map?: { [key: string]: any }) {
3083
+ super(map);
3084
+ }
3085
+ }
3086
+
3087
+ export class StopBenchmarkTaskResponse extends $tea.Model {
3088
+ headers: { [key: string]: string };
3089
+ statusCode: number;
3090
+ body: StopBenchmarkTaskResponseBody;
3091
+ static names(): { [key: string]: string } {
3092
+ return {
3093
+ headers: 'headers',
3094
+ statusCode: 'statusCode',
3095
+ body: 'body',
3096
+ };
3097
+ }
3098
+
3099
+ static types(): { [key: string]: any } {
3100
+ return {
3101
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3102
+ statusCode: 'number',
3103
+ body: StopBenchmarkTaskResponseBody,
2240
3104
  };
2241
3105
  }
2242
3106
 
@@ -2245,7 +3109,7 @@ export class ReleaseServiceRequest extends $tea.Model {
2245
3109
  }
2246
3110
  }
2247
3111
 
2248
- export class ReleaseServiceResponseBody extends $tea.Model {
3112
+ export class StopServiceResponseBody extends $tea.Model {
2249
3113
  message?: string;
2250
3114
  requestId?: string;
2251
3115
  static names(): { [key: string]: string } {
@@ -2267,12 +3131,14 @@ export class ReleaseServiceResponseBody extends $tea.Model {
2267
3131
  }
2268
3132
  }
2269
3133
 
2270
- export class ReleaseServiceResponse extends $tea.Model {
3134
+ export class StopServiceResponse extends $tea.Model {
2271
3135
  headers: { [key: string]: string };
2272
- body: ReleaseServiceResponseBody;
3136
+ statusCode: number;
3137
+ body: StopServiceResponseBody;
2273
3138
  static names(): { [key: string]: string } {
2274
3139
  return {
2275
3140
  headers: 'headers',
3141
+ statusCode: 'statusCode',
2276
3142
  body: 'body',
2277
3143
  };
2278
3144
  }
@@ -2280,7 +3146,8 @@ export class ReleaseServiceResponse extends $tea.Model {
2280
3146
  static types(): { [key: string]: any } {
2281
3147
  return {
2282
3148
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2283
- body: ReleaseServiceResponseBody,
3149
+ statusCode: 'number',
3150
+ body: StopServiceResponseBody,
2284
3151
  };
2285
3152
  }
2286
3153
 
@@ -2289,11 +3156,13 @@ export class ReleaseServiceResponse extends $tea.Model {
2289
3156
  }
2290
3157
  }
2291
3158
 
2292
- export class StartServiceResponseBody extends $tea.Model {
3159
+ export class StopStressResponseBody extends $tea.Model {
3160
+ code?: number;
2293
3161
  message?: string;
2294
3162
  requestId?: string;
2295
3163
  static names(): { [key: string]: string } {
2296
3164
  return {
3165
+ code: 'Code',
2297
3166
  message: 'Message',
2298
3167
  requestId: 'RequestId',
2299
3168
  };
@@ -2301,6 +3170,7 @@ export class StartServiceResponseBody extends $tea.Model {
2301
3170
 
2302
3171
  static types(): { [key: string]: any } {
2303
3172
  return {
3173
+ code: 'number',
2304
3174
  message: 'string',
2305
3175
  requestId: 'string',
2306
3176
  };
@@ -2311,12 +3181,14 @@ export class StartServiceResponseBody extends $tea.Model {
2311
3181
  }
2312
3182
  }
2313
3183
 
2314
- export class StartServiceResponse extends $tea.Model {
3184
+ export class StopStressResponse extends $tea.Model {
2315
3185
  headers: { [key: string]: string };
2316
- body: StartServiceResponseBody;
3186
+ statusCode: number;
3187
+ body: StopStressResponseBody;
2317
3188
  static names(): { [key: string]: string } {
2318
3189
  return {
2319
3190
  headers: 'headers',
3191
+ statusCode: 'statusCode',
2320
3192
  body: 'body',
2321
3193
  };
2322
3194
  }
@@ -2324,7 +3196,8 @@ export class StartServiceResponse extends $tea.Model {
2324
3196
  static types(): { [key: string]: any } {
2325
3197
  return {
2326
3198
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2327
- body: StartServiceResponseBody,
3199
+ statusCode: 'number',
3200
+ body: StopStressResponseBody,
2328
3201
  };
2329
3202
  }
2330
3203
 
@@ -2333,7 +3206,26 @@ export class StartServiceResponse extends $tea.Model {
2333
3206
  }
2334
3207
  }
2335
3208
 
2336
- export class StopServiceResponseBody extends $tea.Model {
3209
+ export class UpdateBenchmarkTaskRequest extends $tea.Model {
3210
+ body?: string;
3211
+ static names(): { [key: string]: string } {
3212
+ return {
3213
+ body: 'body',
3214
+ };
3215
+ }
3216
+
3217
+ static types(): { [key: string]: any } {
3218
+ return {
3219
+ body: 'string',
3220
+ };
3221
+ }
3222
+
3223
+ constructor(map?: { [key: string]: any }) {
3224
+ super(map);
3225
+ }
3226
+ }
3227
+
3228
+ export class UpdateBenchmarkTaskResponseBody extends $tea.Model {
2337
3229
  message?: string;
2338
3230
  requestId?: string;
2339
3231
  static names(): { [key: string]: string } {
@@ -2355,12 +3247,14 @@ export class StopServiceResponseBody extends $tea.Model {
2355
3247
  }
2356
3248
  }
2357
3249
 
2358
- export class StopServiceResponse extends $tea.Model {
3250
+ export class UpdateBenchmarkTaskResponse extends $tea.Model {
2359
3251
  headers: { [key: string]: string };
2360
- body: StopServiceResponseBody;
3252
+ statusCode: number;
3253
+ body: UpdateBenchmarkTaskResponseBody;
2361
3254
  static names(): { [key: string]: string } {
2362
3255
  return {
2363
3256
  headers: 'headers',
3257
+ statusCode: 'statusCode',
2364
3258
  body: 'body',
2365
3259
  };
2366
3260
  }
@@ -2368,7 +3262,8 @@ export class StopServiceResponse extends $tea.Model {
2368
3262
  static types(): { [key: string]: any } {
2369
3263
  return {
2370
3264
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2371
- body: StopServiceResponseBody,
3265
+ statusCode: 'number',
3266
+ body: UpdateBenchmarkTaskResponseBody,
2372
3267
  };
2373
3268
  }
2374
3269
 
@@ -2423,10 +3318,12 @@ export class UpdateResourceResponseBody extends $tea.Model {
2423
3318
 
2424
3319
  export class UpdateResourceResponse extends $tea.Model {
2425
3320
  headers: { [key: string]: string };
3321
+ statusCode: number;
2426
3322
  body: UpdateResourceResponseBody;
2427
3323
  static names(): { [key: string]: string } {
2428
3324
  return {
2429
3325
  headers: 'headers',
3326
+ statusCode: 'statusCode',
2430
3327
  body: 'body',
2431
3328
  };
2432
3329
  }
@@ -2434,6 +3331,7 @@ export class UpdateResourceResponse extends $tea.Model {
2434
3331
  static types(): { [key: string]: any } {
2435
3332
  return {
2436
3333
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3334
+ statusCode: 'number',
2437
3335
  body: UpdateResourceResponseBody,
2438
3336
  };
2439
3337
  }
@@ -2495,10 +3393,12 @@ export class UpdateResourceDLinkResponseBody extends $tea.Model {
2495
3393
 
2496
3394
  export class UpdateResourceDLinkResponse extends $tea.Model {
2497
3395
  headers: { [key: string]: string };
3396
+ statusCode: number;
2498
3397
  body: UpdateResourceDLinkResponseBody;
2499
3398
  static names(): { [key: string]: string } {
2500
3399
  return {
2501
3400
  headers: 'headers',
3401
+ statusCode: 'statusCode',
2502
3402
  body: 'body',
2503
3403
  };
2504
3404
  }
@@ -2506,6 +3406,7 @@ export class UpdateResourceDLinkResponse extends $tea.Model {
2506
3406
  static types(): { [key: string]: any } {
2507
3407
  return {
2508
3408
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3409
+ statusCode: 'number',
2509
3410
  body: UpdateResourceDLinkResponseBody,
2510
3411
  };
2511
3412
  }
@@ -2558,10 +3459,12 @@ export class UpdateServiceResponseBody extends $tea.Model {
2558
3459
 
2559
3460
  export class UpdateServiceResponse extends $tea.Model {
2560
3461
  headers: { [key: string]: string };
3462
+ statusCode: number;
2561
3463
  body: UpdateServiceResponseBody;
2562
3464
  static names(): { [key: string]: string } {
2563
3465
  return {
2564
3466
  headers: 'headers',
3467
+ statusCode: 'statusCode',
2565
3468
  body: 'body',
2566
3469
  };
2567
3470
  }
@@ -2569,6 +3472,7 @@ export class UpdateServiceResponse extends $tea.Model {
2569
3472
  static types(): { [key: string]: any } {
2570
3473
  return {
2571
3474
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3475
+ statusCode: 'number',
2572
3476
  body: UpdateServiceResponseBody,
2573
3477
  };
2574
3478
  }
@@ -2627,10 +3531,12 @@ export class UpdateServiceAutoScalerResponseBody extends $tea.Model {
2627
3531
 
2628
3532
  export class UpdateServiceAutoScalerResponse extends $tea.Model {
2629
3533
  headers: { [key: string]: string };
3534
+ statusCode: number;
2630
3535
  body: UpdateServiceAutoScalerResponseBody;
2631
3536
  static names(): { [key: string]: string } {
2632
3537
  return {
2633
3538
  headers: 'headers',
3539
+ statusCode: 'statusCode',
2634
3540
  body: 'body',
2635
3541
  };
2636
3542
  }
@@ -2638,6 +3544,7 @@ export class UpdateServiceAutoScalerResponse extends $tea.Model {
2638
3544
  static types(): { [key: string]: any } {
2639
3545
  return {
2640
3546
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3547
+ statusCode: 'number',
2641
3548
  body: UpdateServiceAutoScalerResponseBody,
2642
3549
  };
2643
3550
  }
@@ -2693,10 +3600,12 @@ export class UpdateServiceCronScalerResponseBody extends $tea.Model {
2693
3600
 
2694
3601
  export class UpdateServiceCronScalerResponse extends $tea.Model {
2695
3602
  headers: { [key: string]: string };
3603
+ statusCode: number;
2696
3604
  body: UpdateServiceCronScalerResponseBody;
2697
3605
  static names(): { [key: string]: string } {
2698
3606
  return {
2699
3607
  headers: 'headers',
3608
+ statusCode: 'statusCode',
2700
3609
  body: 'body',
2701
3610
  };
2702
3611
  }
@@ -2704,6 +3613,7 @@ export class UpdateServiceCronScalerResponse extends $tea.Model {
2704
3613
  static types(): { [key: string]: any } {
2705
3614
  return {
2706
3615
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3616
+ statusCode: 'number',
2707
3617
  body: UpdateServiceCronScalerResponseBody,
2708
3618
  };
2709
3619
  }
@@ -2759,10 +3669,12 @@ export class UpdateServiceMirrorResponseBody extends $tea.Model {
2759
3669
 
2760
3670
  export class UpdateServiceMirrorResponse extends $tea.Model {
2761
3671
  headers: { [key: string]: string };
3672
+ statusCode: number;
2762
3673
  body: UpdateServiceMirrorResponseBody;
2763
3674
  static names(): { [key: string]: string } {
2764
3675
  return {
2765
3676
  headers: 'headers',
3677
+ statusCode: 'statusCode',
2766
3678
  body: 'body',
2767
3679
  };
2768
3680
  }
@@ -2770,6 +3682,7 @@ export class UpdateServiceMirrorResponse extends $tea.Model {
2770
3682
  static types(): { [key: string]: any } {
2771
3683
  return {
2772
3684
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3685
+ statusCode: 'number',
2773
3686
  body: UpdateServiceMirrorResponseBody,
2774
3687
  };
2775
3688
  }
@@ -2822,10 +3735,12 @@ export class UpdateServiceVersionResponseBody extends $tea.Model {
2822
3735
 
2823
3736
  export class UpdateServiceVersionResponse extends $tea.Model {
2824
3737
  headers: { [key: string]: string };
3738
+ statusCode: number;
2825
3739
  body: UpdateServiceVersionResponseBody;
2826
3740
  static names(): { [key: string]: string } {
2827
3741
  return {
2828
3742
  headers: 'headers',
3743
+ statusCode: 'statusCode',
2829
3744
  body: 'body',
2830
3745
  };
2831
3746
  }
@@ -2833,6 +3748,7 @@ export class UpdateServiceVersionResponse extends $tea.Model {
2833
3748
  static types(): { [key: string]: any } {
2834
3749
  return {
2835
3750
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3751
+ statusCode: 'number',
2836
3752
  body: UpdateServiceVersionResponseBody,
2837
3753
  };
2838
3754
  }
@@ -2842,6 +3758,72 @@ export class UpdateServiceVersionResponse extends $tea.Model {
2842
3758
  }
2843
3759
  }
2844
3760
 
3761
+ export class UpdateStressRequest extends $tea.Model {
3762
+ body?: string;
3763
+ static names(): { [key: string]: string } {
3764
+ return {
3765
+ body: 'body',
3766
+ };
3767
+ }
3768
+
3769
+ static types(): { [key: string]: any } {
3770
+ return {
3771
+ body: 'string',
3772
+ };
3773
+ }
3774
+
3775
+ constructor(map?: { [key: string]: any }) {
3776
+ super(map);
3777
+ }
3778
+ }
3779
+
3780
+ export class UpdateStressResponseBody extends $tea.Model {
3781
+ message?: string;
3782
+ requestId?: string;
3783
+ static names(): { [key: string]: string } {
3784
+ return {
3785
+ message: 'Message',
3786
+ requestId: 'RequestId',
3787
+ };
3788
+ }
3789
+
3790
+ static types(): { [key: string]: any } {
3791
+ return {
3792
+ message: 'string',
3793
+ requestId: 'string',
3794
+ };
3795
+ }
3796
+
3797
+ constructor(map?: { [key: string]: any }) {
3798
+ super(map);
3799
+ }
3800
+ }
3801
+
3802
+ export class UpdateStressResponse extends $tea.Model {
3803
+ headers: { [key: string]: string };
3804
+ statusCode: number;
3805
+ body: UpdateStressResponseBody;
3806
+ static names(): { [key: string]: string } {
3807
+ return {
3808
+ headers: 'headers',
3809
+ statusCode: 'statusCode',
3810
+ body: 'body',
3811
+ };
3812
+ }
3813
+
3814
+ static types(): { [key: string]: any } {
3815
+ return {
3816
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3817
+ statusCode: 'number',
3818
+ body: UpdateStressResponseBody,
3819
+ };
3820
+ }
3821
+
3822
+ constructor(map?: { [key: string]: any }) {
3823
+ super(map);
3824
+ }
3825
+ }
3826
+
2845
3827
  export class CreateServiceAutoScalerRequestStrategies extends $tea.Model {
2846
3828
  cpu?: number;
2847
3829
  qps?: number;
@@ -2889,25 +3871,6 @@ export class CreateServiceCronScalerRequestScaleJobs extends $tea.Model {
2889
3871
  }
2890
3872
  }
2891
3873
 
2892
- export class DescribeRegionsResponseBodyRegions extends $tea.Model {
2893
- regionId?: string;
2894
- static names(): { [key: string]: string } {
2895
- return {
2896
- regionId: 'RegionId',
2897
- };
2898
- }
2899
-
2900
- static types(): { [key: string]: any } {
2901
- return {
2902
- regionId: 'string',
2903
- };
2904
- }
2905
-
2906
- constructor(map?: { [key: string]: any }) {
2907
- super(map);
2908
- }
2909
- }
2910
-
2911
3874
  export class DescribeServiceCronScalerResponseBodyScaleJobs extends $tea.Model {
2912
3875
  createTime?: string;
2913
3876
  lastProbeTime?: string;
@@ -2945,6 +3908,89 @@ export class DescribeServiceCronScalerResponseBodyScaleJobs extends $tea.Model {
2945
3908
  }
2946
3909
  }
2947
3910
 
3911
+ export class ListBenchmarkTaskResponseBodyTasks extends $tea.Model {
3912
+ availableAgent?: number;
3913
+ createTime?: string;
3914
+ message?: string;
3915
+ region?: string;
3916
+ serviceName?: string;
3917
+ status?: string;
3918
+ taskId?: string;
3919
+ taskName?: string;
3920
+ updateTime?: string;
3921
+ static names(): { [key: string]: string } {
3922
+ return {
3923
+ availableAgent: 'AvailableAgent',
3924
+ createTime: 'CreateTime',
3925
+ message: 'Message',
3926
+ region: 'Region',
3927
+ serviceName: 'ServiceName',
3928
+ status: 'Status',
3929
+ taskId: 'TaskId',
3930
+ taskName: 'TaskName',
3931
+ updateTime: 'UpdateTime',
3932
+ };
3933
+ }
3934
+
3935
+ static types(): { [key: string]: any } {
3936
+ return {
3937
+ availableAgent: 'number',
3938
+ createTime: 'string',
3939
+ message: 'string',
3940
+ region: 'string',
3941
+ serviceName: 'string',
3942
+ status: 'string',
3943
+ taskId: 'string',
3944
+ taskName: 'string',
3945
+ updateTime: 'string',
3946
+ };
3947
+ }
3948
+
3949
+ constructor(map?: { [key: string]: any }) {
3950
+ super(map);
3951
+ }
3952
+ }
3953
+
3954
+ export class ListStressesResponseBodyStresses extends $tea.Model {
3955
+ availableAgent?: number;
3956
+ createTime?: string;
3957
+ message?: string;
3958
+ region?: string;
3959
+ serviceName?: string;
3960
+ status?: string;
3961
+ stressName?: string;
3962
+ updateTime?: string;
3963
+ static names(): { [key: string]: string } {
3964
+ return {
3965
+ availableAgent: 'AvailableAgent',
3966
+ createTime: 'CreateTime',
3967
+ message: 'Message',
3968
+ region: 'Region',
3969
+ serviceName: 'ServiceName',
3970
+ status: 'Status',
3971
+ stressName: 'StressName',
3972
+ updateTime: 'UpdateTime',
3973
+ };
3974
+ }
3975
+
3976
+ static types(): { [key: string]: any } {
3977
+ return {
3978
+ availableAgent: 'number',
3979
+ createTime: 'string',
3980
+ message: 'string',
3981
+ region: 'string',
3982
+ serviceName: 'string',
3983
+ status: 'string',
3984
+ stressName: 'string',
3985
+ updateTime: 'string',
3986
+ };
3987
+ }
3988
+
3989
+ constructor(map?: { [key: string]: any }) {
3990
+ super(map);
3991
+ }
3992
+ }
3993
+
2948
3994
  export class UpdateServiceAutoScalerRequestStrategies extends $tea.Model {
2949
3995
  cpu?: number;
2950
3996
  qps?: number;
@@ -3032,6 +4078,32 @@ export default class Client extends OpenApi {
3032
4078
  return EndpointUtil.getEndpointRules(productId, regionId, endpointRule, network, suffix);
3033
4079
  }
3034
4080
 
4081
+ async createBenchmarkTask(request: CreateBenchmarkTaskRequest): Promise<CreateBenchmarkTaskResponse> {
4082
+ let runtime = new $Util.RuntimeOptions({ });
4083
+ let headers : {[key: string ]: string} = { };
4084
+ return await this.createBenchmarkTaskWithOptions(request, headers, runtime);
4085
+ }
4086
+
4087
+ async createBenchmarkTaskWithOptions(request: CreateBenchmarkTaskRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<CreateBenchmarkTaskResponse> {
4088
+ Util.validateModel(request);
4089
+ let req = new $OpenApi.OpenApiRequest({
4090
+ headers: headers,
4091
+ body: request.body,
4092
+ });
4093
+ let params = new $OpenApi.Params({
4094
+ action: "CreateBenchmarkTask",
4095
+ version: "2021-07-01",
4096
+ protocol: "HTTPS",
4097
+ pathname: `/api/v2/benchmark-tasks`,
4098
+ method: "POST",
4099
+ authType: "AK",
4100
+ style: "ROA",
4101
+ reqBodyType: "json",
4102
+ bodyType: "json",
4103
+ });
4104
+ return $tea.cast<CreateBenchmarkTaskResponse>(await this.callApi(params, req, runtime), new CreateBenchmarkTaskResponse({}));
4105
+ }
4106
+
3035
4107
  async createResource(request: CreateResourceRequest): Promise<CreateResourceResponse> {
3036
4108
  let runtime = new $Util.RuntimeOptions({ });
3037
4109
  let headers : {[key: string ]: string} = { };
@@ -3255,51 +4327,103 @@ export default class Client extends OpenApi {
3255
4327
  action: "CreateServiceCronScaler",
3256
4328
  version: "2021-07-01",
3257
4329
  protocol: "HTTPS",
3258
- pathname: `/api/v2/services/${ClusterId}/${ServiceName}/cronscaler`,
4330
+ pathname: `/api/v2/services/${ClusterId}/${ServiceName}/cronscaler`,
4331
+ method: "POST",
4332
+ authType: "AK",
4333
+ style: "ROA",
4334
+ reqBodyType: "json",
4335
+ bodyType: "json",
4336
+ });
4337
+ return $tea.cast<CreateServiceCronScalerResponse>(await this.callApi(params, req, runtime), new CreateServiceCronScalerResponse({}));
4338
+ }
4339
+
4340
+ async createServiceMirror(ClusterId: string, ServiceName: string, request: CreateServiceMirrorRequest): Promise<CreateServiceMirrorResponse> {
4341
+ let runtime = new $Util.RuntimeOptions({ });
4342
+ let headers : {[key: string ]: string} = { };
4343
+ return await this.createServiceMirrorWithOptions(ClusterId, ServiceName, request, headers, runtime);
4344
+ }
4345
+
4346
+ async createServiceMirrorWithOptions(ClusterId: string, ServiceName: string, request: CreateServiceMirrorRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<CreateServiceMirrorResponse> {
4347
+ Util.validateModel(request);
4348
+ ClusterId = OpenApiUtil.getEncodeParam(ClusterId);
4349
+ ServiceName = OpenApiUtil.getEncodeParam(ServiceName);
4350
+ let body : {[key: string ]: any} = { };
4351
+ if (!Util.isUnset(request.ratio)) {
4352
+ body["Ratio"] = request.ratio;
4353
+ }
4354
+
4355
+ if (!Util.isUnset(request.target)) {
4356
+ body["Target"] = request.target;
4357
+ }
4358
+
4359
+ let req = new $OpenApi.OpenApiRequest({
4360
+ headers: headers,
4361
+ body: OpenApiUtil.parseToMap(body),
4362
+ });
4363
+ let params = new $OpenApi.Params({
4364
+ action: "CreateServiceMirror",
4365
+ version: "2021-07-01",
4366
+ protocol: "HTTPS",
4367
+ pathname: `/api/v2/services/${ClusterId}/${ServiceName}/mirror`,
4368
+ method: "POST",
4369
+ authType: "AK",
4370
+ style: "ROA",
4371
+ reqBodyType: "json",
4372
+ bodyType: "json",
4373
+ });
4374
+ return $tea.cast<CreateServiceMirrorResponse>(await this.callApi(params, req, runtime), new CreateServiceMirrorResponse({}));
4375
+ }
4376
+
4377
+ async createStress(request: CreateStressRequest): Promise<CreateStressResponse> {
4378
+ let runtime = new $Util.RuntimeOptions({ });
4379
+ let headers : {[key: string ]: string} = { };
4380
+ return await this.createStressWithOptions(request, headers, runtime);
4381
+ }
4382
+
4383
+ async createStressWithOptions(request: CreateStressRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<CreateStressResponse> {
4384
+ Util.validateModel(request);
4385
+ let req = new $OpenApi.OpenApiRequest({
4386
+ headers: headers,
4387
+ body: request.body,
4388
+ });
4389
+ let params = new $OpenApi.Params({
4390
+ action: "CreateStress",
4391
+ version: "2021-07-01",
4392
+ protocol: "HTTPS",
4393
+ pathname: `/api/v2/stress`,
3259
4394
  method: "POST",
3260
4395
  authType: "AK",
3261
4396
  style: "ROA",
3262
4397
  reqBodyType: "json",
3263
4398
  bodyType: "json",
3264
4399
  });
3265
- return $tea.cast<CreateServiceCronScalerResponse>(await this.callApi(params, req, runtime), new CreateServiceCronScalerResponse({}));
4400
+ return $tea.cast<CreateStressResponse>(await this.callApi(params, req, runtime), new CreateStressResponse({}));
3266
4401
  }
3267
4402
 
3268
- async createServiceMirror(ClusterId: string, ServiceName: string, request: CreateServiceMirrorRequest): Promise<CreateServiceMirrorResponse> {
4403
+ async deleteBenchmarkTask(ClusterId: string, TaskName: string): Promise<DeleteBenchmarkTaskResponse> {
3269
4404
  let runtime = new $Util.RuntimeOptions({ });
3270
4405
  let headers : {[key: string ]: string} = { };
3271
- return await this.createServiceMirrorWithOptions(ClusterId, ServiceName, request, headers, runtime);
4406
+ return await this.deleteBenchmarkTaskWithOptions(ClusterId, TaskName, headers, runtime);
3272
4407
  }
3273
4408
 
3274
- async createServiceMirrorWithOptions(ClusterId: string, ServiceName: string, request: CreateServiceMirrorRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<CreateServiceMirrorResponse> {
3275
- Util.validateModel(request);
4409
+ async deleteBenchmarkTaskWithOptions(ClusterId: string, TaskName: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DeleteBenchmarkTaskResponse> {
3276
4410
  ClusterId = OpenApiUtil.getEncodeParam(ClusterId);
3277
- ServiceName = OpenApiUtil.getEncodeParam(ServiceName);
3278
- let body : {[key: string ]: any} = { };
3279
- if (!Util.isUnset(request.ratio)) {
3280
- body["Ratio"] = request.ratio;
3281
- }
3282
-
3283
- if (!Util.isUnset(request.target)) {
3284
- body["Target"] = request.target;
3285
- }
3286
-
4411
+ TaskName = OpenApiUtil.getEncodeParam(TaskName);
3287
4412
  let req = new $OpenApi.OpenApiRequest({
3288
4413
  headers: headers,
3289
- body: OpenApiUtil.parseToMap(body),
3290
4414
  });
3291
4415
  let params = new $OpenApi.Params({
3292
- action: "CreateServiceMirror",
4416
+ action: "DeleteBenchmarkTask",
3293
4417
  version: "2021-07-01",
3294
4418
  protocol: "HTTPS",
3295
- pathname: `/api/v2/services/${ClusterId}/${ServiceName}/mirror`,
3296
- method: "POST",
4419
+ pathname: `/api/v2/benchmark-tasks/${ClusterId}/${TaskName}`,
4420
+ method: "DELETE",
3297
4421
  authType: "AK",
3298
4422
  style: "ROA",
3299
4423
  reqBodyType: "json",
3300
4424
  bodyType: "json",
3301
4425
  });
3302
- return $tea.cast<CreateServiceMirrorResponse>(await this.callApi(params, req, runtime), new CreateServiceMirrorResponse({}));
4426
+ return $tea.cast<DeleteBenchmarkTaskResponse>(await this.callApi(params, req, runtime), new DeleteBenchmarkTaskResponse({}));
3303
4427
  }
3304
4428
 
3305
4429
  async deleteResource(ClusterId: string, ResourceId: string): Promise<DeleteResourceResponse> {
@@ -3554,28 +4678,82 @@ export default class Client extends OpenApi {
3554
4678
  return $tea.cast<DeleteServiceMirrorResponse>(await this.callApi(params, req, runtime), new DeleteServiceMirrorResponse({}));
3555
4679
  }
3556
4680
 
3557
- async describeRegions(): Promise<DescribeRegionsResponse> {
4681
+ async deleteStress(ClusterId: string, StressName: string): Promise<DeleteStressResponse> {
4682
+ let runtime = new $Util.RuntimeOptions({ });
4683
+ let headers : {[key: string ]: string} = { };
4684
+ return await this.deleteStressWithOptions(ClusterId, StressName, headers, runtime);
4685
+ }
4686
+
4687
+ async deleteStressWithOptions(ClusterId: string, StressName: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DeleteStressResponse> {
4688
+ ClusterId = OpenApiUtil.getEncodeParam(ClusterId);
4689
+ StressName = OpenApiUtil.getEncodeParam(StressName);
4690
+ let req = new $OpenApi.OpenApiRequest({
4691
+ headers: headers,
4692
+ });
4693
+ let params = new $OpenApi.Params({
4694
+ action: "DeleteStress",
4695
+ version: "2021-07-01",
4696
+ protocol: "HTTPS",
4697
+ pathname: `/api/v2/stress/${ClusterId}/${StressName}`,
4698
+ method: "DELETE",
4699
+ authType: "AK",
4700
+ style: "ROA",
4701
+ reqBodyType: "json",
4702
+ bodyType: "json",
4703
+ });
4704
+ return $tea.cast<DeleteStressResponse>(await this.callApi(params, req, runtime), new DeleteStressResponse({}));
4705
+ }
4706
+
4707
+ async describeBenchmarkTask(ClusterId: string, TaskName: string): Promise<DescribeBenchmarkTaskResponse> {
4708
+ let runtime = new $Util.RuntimeOptions({ });
4709
+ let headers : {[key: string ]: string} = { };
4710
+ return await this.describeBenchmarkTaskWithOptions(ClusterId, TaskName, headers, runtime);
4711
+ }
4712
+
4713
+ async describeBenchmarkTaskWithOptions(ClusterId: string, TaskName: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeBenchmarkTaskResponse> {
4714
+ ClusterId = OpenApiUtil.getEncodeParam(ClusterId);
4715
+ TaskName = OpenApiUtil.getEncodeParam(TaskName);
4716
+ let req = new $OpenApi.OpenApiRequest({
4717
+ headers: headers,
4718
+ });
4719
+ let params = new $OpenApi.Params({
4720
+ action: "DescribeBenchmarkTask",
4721
+ version: "2021-07-01",
4722
+ protocol: "HTTPS",
4723
+ pathname: `/api/v2/benchmark-tasks/${ClusterId}/${TaskName}`,
4724
+ method: "GET",
4725
+ authType: "AK",
4726
+ style: "ROA",
4727
+ reqBodyType: "json",
4728
+ bodyType: "json",
4729
+ });
4730
+ return $tea.cast<DescribeBenchmarkTaskResponse>(await this.callApi(params, req, runtime), new DescribeBenchmarkTaskResponse({}));
4731
+ }
4732
+
4733
+ async describeBenchmarkTaskReport(ClusterId: string, TaskName: string): Promise<DescribeBenchmarkTaskReportResponse> {
3558
4734
  let runtime = new $Util.RuntimeOptions({ });
3559
4735
  let headers : {[key: string ]: string} = { };
3560
- return await this.describeRegionsWithOptions(headers, runtime);
4736
+ return await this.describeBenchmarkTaskReportWithOptions(ClusterId, TaskName, headers, runtime);
3561
4737
  }
3562
4738
 
3563
- async describeRegionsWithOptions(headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeRegionsResponse> {
4739
+ async describeBenchmarkTaskReportWithOptions(ClusterId: string, TaskName: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeBenchmarkTaskReportResponse> {
4740
+ ClusterId = OpenApiUtil.getEncodeParam(ClusterId);
4741
+ TaskName = OpenApiUtil.getEncodeParam(TaskName);
3564
4742
  let req = new $OpenApi.OpenApiRequest({
3565
4743
  headers: headers,
3566
4744
  });
3567
4745
  let params = new $OpenApi.Params({
3568
- action: "DescribeRegions",
4746
+ action: "DescribeBenchmarkTaskReport",
3569
4747
  version: "2021-07-01",
3570
4748
  protocol: "HTTPS",
3571
- pathname: `/api/v2/regions`,
4749
+ pathname: `/api/v2/benchmark-tasks/${ClusterId}/${TaskName}/report`,
3572
4750
  method: "GET",
3573
4751
  authType: "AK",
3574
4752
  style: "ROA",
3575
4753
  reqBodyType: "json",
3576
4754
  bodyType: "json",
3577
4755
  });
3578
- return $tea.cast<DescribeRegionsResponse>(await this.callApi(params, req, runtime), new DescribeRegionsResponse({}));
4756
+ return $tea.cast<DescribeBenchmarkTaskReportResponse>(await this.callApi(params, req, runtime), new DescribeBenchmarkTaskReportResponse({}));
3579
4757
  }
3580
4758
 
3581
4759
  async describeResource(ClusterId: string, ResourceId: string): Promise<DescribeResourceResponse> {
@@ -3813,6 +4991,56 @@ export default class Client extends OpenApi {
3813
4991
  return $tea.cast<DescribeServiceMirrorResponse>(await this.callApi(params, req, runtime), new DescribeServiceMirrorResponse({}));
3814
4992
  }
3815
4993
 
4994
+ async describeStress(ClusterId: string, StressName: string): Promise<DescribeStressResponse> {
4995
+ let runtime = new $Util.RuntimeOptions({ });
4996
+ let headers : {[key: string ]: string} = { };
4997
+ return await this.describeStressWithOptions(ClusterId, StressName, headers, runtime);
4998
+ }
4999
+
5000
+ async describeStressWithOptions(ClusterId: string, StressName: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeStressResponse> {
5001
+ ClusterId = OpenApiUtil.getEncodeParam(ClusterId);
5002
+ StressName = OpenApiUtil.getEncodeParam(StressName);
5003
+ let req = new $OpenApi.OpenApiRequest({
5004
+ headers: headers,
5005
+ });
5006
+ let params = new $OpenApi.Params({
5007
+ action: "DescribeStress",
5008
+ version: "2021-07-01",
5009
+ protocol: "HTTPS",
5010
+ pathname: `/api/v2/stress/${ClusterId}/${StressName}`,
5011
+ method: "GET",
5012
+ authType: "AK",
5013
+ style: "ROA",
5014
+ reqBodyType: "json",
5015
+ bodyType: "json",
5016
+ });
5017
+ return $tea.cast<DescribeStressResponse>(await this.callApi(params, req, runtime), new DescribeStressResponse({}));
5018
+ }
5019
+
5020
+ async listBenchmarkTask(): Promise<ListBenchmarkTaskResponse> {
5021
+ let runtime = new $Util.RuntimeOptions({ });
5022
+ let headers : {[key: string ]: string} = { };
5023
+ return await this.listBenchmarkTaskWithOptions(headers, runtime);
5024
+ }
5025
+
5026
+ async listBenchmarkTaskWithOptions(headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<ListBenchmarkTaskResponse> {
5027
+ let req = new $OpenApi.OpenApiRequest({
5028
+ headers: headers,
5029
+ });
5030
+ let params = new $OpenApi.Params({
5031
+ action: "ListBenchmarkTask",
5032
+ version: "2021-07-01",
5033
+ protocol: "HTTPS",
5034
+ pathname: `/api/v2/benchmark-tasks`,
5035
+ method: "GET",
5036
+ authType: "AK",
5037
+ style: "ROA",
5038
+ reqBodyType: "json",
5039
+ bodyType: "json",
5040
+ });
5041
+ return $tea.cast<ListBenchmarkTaskResponse>(await this.callApi(params, req, runtime), new ListBenchmarkTaskResponse({}));
5042
+ }
5043
+
3816
5044
  async listResourceInstanceWorker(ClusterId: string, ResourceId: string, InstanceName: string, request: ListResourceInstanceWorkerRequest): Promise<ListResourceInstanceWorkerResponse> {
3817
5045
  let runtime = new $Util.RuntimeOptions({ });
3818
5046
  let headers : {[key: string ]: string} = { };
@@ -3862,6 +5090,10 @@ export default class Client extends OpenApi {
3862
5090
  ClusterId = OpenApiUtil.getEncodeParam(ClusterId);
3863
5091
  ResourceId = OpenApiUtil.getEncodeParam(ResourceId);
3864
5092
  let query : {[key: string ]: any} = { };
5093
+ if (!Util.isUnset(request.chargeType)) {
5094
+ query["ChargeType"] = request.chargeType;
5095
+ }
5096
+
3865
5097
  if (!Util.isUnset(request.pageNumber)) {
3866
5098
  query["PageNumber"] = request.pageNumber;
3867
5099
  }
@@ -4044,6 +5276,30 @@ export default class Client extends OpenApi {
4044
5276
  return $tea.cast<ListServicesResponse>(await this.callApi(params, req, runtime), new ListServicesResponse({}));
4045
5277
  }
4046
5278
 
5279
+ async listStresses(): Promise<ListStressesResponse> {
5280
+ let runtime = new $Util.RuntimeOptions({ });
5281
+ let headers : {[key: string ]: string} = { };
5282
+ return await this.listStressesWithOptions(headers, runtime);
5283
+ }
5284
+
5285
+ async listStressesWithOptions(headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<ListStressesResponse> {
5286
+ let req = new $OpenApi.OpenApiRequest({
5287
+ headers: headers,
5288
+ });
5289
+ let params = new $OpenApi.Params({
5290
+ action: "ListStresses",
5291
+ version: "2021-07-01",
5292
+ protocol: "HTTPS",
5293
+ pathname: `/api/v2/stress`,
5294
+ method: "GET",
5295
+ authType: "AK",
5296
+ style: "ROA",
5297
+ reqBodyType: "json",
5298
+ bodyType: "json",
5299
+ });
5300
+ return $tea.cast<ListStressesResponse>(await this.callApi(params, req, runtime), new ListStressesResponse({}));
5301
+ }
5302
+
4047
5303
  async releaseService(ClusterId: string, ServiceName: string, request: ReleaseServiceRequest): Promise<ReleaseServiceResponse> {
4048
5304
  let runtime = new $Util.RuntimeOptions({ });
4049
5305
  let headers : {[key: string ]: string} = { };
@@ -4077,6 +5333,58 @@ export default class Client extends OpenApi {
4077
5333
  return $tea.cast<ReleaseServiceResponse>(await this.callApi(params, req, runtime), new ReleaseServiceResponse({}));
4078
5334
  }
4079
5335
 
5336
+ async reportStress(ClusterId: string, StressName: string): Promise<ReportStressResponse> {
5337
+ let runtime = new $Util.RuntimeOptions({ });
5338
+ let headers : {[key: string ]: string} = { };
5339
+ return await this.reportStressWithOptions(ClusterId, StressName, headers, runtime);
5340
+ }
5341
+
5342
+ async reportStressWithOptions(ClusterId: string, StressName: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<ReportStressResponse> {
5343
+ ClusterId = OpenApiUtil.getEncodeParam(ClusterId);
5344
+ StressName = OpenApiUtil.getEncodeParam(StressName);
5345
+ let req = new $OpenApi.OpenApiRequest({
5346
+ headers: headers,
5347
+ });
5348
+ let params = new $OpenApi.Params({
5349
+ action: "ReportStress",
5350
+ version: "2021-07-01",
5351
+ protocol: "HTTPS",
5352
+ pathname: `/api/v2/stress/${ClusterId}/${StressName}/report`,
5353
+ method: "GET",
5354
+ authType: "AK",
5355
+ style: "ROA",
5356
+ reqBodyType: "json",
5357
+ bodyType: "json",
5358
+ });
5359
+ return $tea.cast<ReportStressResponse>(await this.callApi(params, req, runtime), new ReportStressResponse({}));
5360
+ }
5361
+
5362
+ async startBenchmarkTask(ClusterId: string, TaskName: string): Promise<StartBenchmarkTaskResponse> {
5363
+ let runtime = new $Util.RuntimeOptions({ });
5364
+ let headers : {[key: string ]: string} = { };
5365
+ return await this.startBenchmarkTaskWithOptions(ClusterId, TaskName, headers, runtime);
5366
+ }
5367
+
5368
+ async startBenchmarkTaskWithOptions(ClusterId: string, TaskName: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<StartBenchmarkTaskResponse> {
5369
+ ClusterId = OpenApiUtil.getEncodeParam(ClusterId);
5370
+ TaskName = OpenApiUtil.getEncodeParam(TaskName);
5371
+ let req = new $OpenApi.OpenApiRequest({
5372
+ headers: headers,
5373
+ });
5374
+ let params = new $OpenApi.Params({
5375
+ action: "StartBenchmarkTask",
5376
+ version: "2021-07-01",
5377
+ protocol: "HTTPS",
5378
+ pathname: `/api/v2/benchmark-tasks/${ClusterId}/${TaskName}/start`,
5379
+ method: "PUT",
5380
+ authType: "AK",
5381
+ style: "ROA",
5382
+ reqBodyType: "json",
5383
+ bodyType: "json",
5384
+ });
5385
+ return $tea.cast<StartBenchmarkTaskResponse>(await this.callApi(params, req, runtime), new StartBenchmarkTaskResponse({}));
5386
+ }
5387
+
4080
5388
  async startService(ClusterId: string, ServiceName: string): Promise<StartServiceResponse> {
4081
5389
  let runtime = new $Util.RuntimeOptions({ });
4082
5390
  let headers : {[key: string ]: string} = { };
@@ -4103,6 +5411,58 @@ export default class Client extends OpenApi {
4103
5411
  return $tea.cast<StartServiceResponse>(await this.callApi(params, req, runtime), new StartServiceResponse({}));
4104
5412
  }
4105
5413
 
5414
+ async startStress(ClusterId: string, StressName: string): Promise<StartStressResponse> {
5415
+ let runtime = new $Util.RuntimeOptions({ });
5416
+ let headers : {[key: string ]: string} = { };
5417
+ return await this.startStressWithOptions(ClusterId, StressName, headers, runtime);
5418
+ }
5419
+
5420
+ async startStressWithOptions(ClusterId: string, StressName: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<StartStressResponse> {
5421
+ ClusterId = OpenApiUtil.getEncodeParam(ClusterId);
5422
+ StressName = OpenApiUtil.getEncodeParam(StressName);
5423
+ let req = new $OpenApi.OpenApiRequest({
5424
+ headers: headers,
5425
+ });
5426
+ let params = new $OpenApi.Params({
5427
+ action: "StartStress",
5428
+ version: "2021-07-01",
5429
+ protocol: "HTTPS",
5430
+ pathname: `/api/v2/stress/${ClusterId}/${StressName}/start`,
5431
+ method: "PUT",
5432
+ authType: "AK",
5433
+ style: "ROA",
5434
+ reqBodyType: "json",
5435
+ bodyType: "json",
5436
+ });
5437
+ return $tea.cast<StartStressResponse>(await this.callApi(params, req, runtime), new StartStressResponse({}));
5438
+ }
5439
+
5440
+ async stopBenchmarkTask(ClusterId: string, TaskName: string): Promise<StopBenchmarkTaskResponse> {
5441
+ let runtime = new $Util.RuntimeOptions({ });
5442
+ let headers : {[key: string ]: string} = { };
5443
+ return await this.stopBenchmarkTaskWithOptions(ClusterId, TaskName, headers, runtime);
5444
+ }
5445
+
5446
+ async stopBenchmarkTaskWithOptions(ClusterId: string, TaskName: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<StopBenchmarkTaskResponse> {
5447
+ ClusterId = OpenApiUtil.getEncodeParam(ClusterId);
5448
+ TaskName = OpenApiUtil.getEncodeParam(TaskName);
5449
+ let req = new $OpenApi.OpenApiRequest({
5450
+ headers: headers,
5451
+ });
5452
+ let params = new $OpenApi.Params({
5453
+ action: "StopBenchmarkTask",
5454
+ version: "2021-07-01",
5455
+ protocol: "HTTPS",
5456
+ pathname: `/api/v2/benchmark-tasks/${ClusterId}/${TaskName}/stop`,
5457
+ method: "PUT",
5458
+ authType: "AK",
5459
+ style: "ROA",
5460
+ reqBodyType: "json",
5461
+ bodyType: "json",
5462
+ });
5463
+ return $tea.cast<StopBenchmarkTaskResponse>(await this.callApi(params, req, runtime), new StopBenchmarkTaskResponse({}));
5464
+ }
5465
+
4106
5466
  async stopService(ClusterId: string, ServiceName: string): Promise<StopServiceResponse> {
4107
5467
  let runtime = new $Util.RuntimeOptions({ });
4108
5468
  let headers : {[key: string ]: string} = { };
@@ -4129,6 +5489,60 @@ export default class Client extends OpenApi {
4129
5489
  return $tea.cast<StopServiceResponse>(await this.callApi(params, req, runtime), new StopServiceResponse({}));
4130
5490
  }
4131
5491
 
5492
+ async stopStress(ClusterId: string, StressName: string): Promise<StopStressResponse> {
5493
+ let runtime = new $Util.RuntimeOptions({ });
5494
+ let headers : {[key: string ]: string} = { };
5495
+ return await this.stopStressWithOptions(ClusterId, StressName, headers, runtime);
5496
+ }
5497
+
5498
+ async stopStressWithOptions(ClusterId: string, StressName: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<StopStressResponse> {
5499
+ ClusterId = OpenApiUtil.getEncodeParam(ClusterId);
5500
+ StressName = OpenApiUtil.getEncodeParam(StressName);
5501
+ let req = new $OpenApi.OpenApiRequest({
5502
+ headers: headers,
5503
+ });
5504
+ let params = new $OpenApi.Params({
5505
+ action: "StopStress",
5506
+ version: "2021-07-01",
5507
+ protocol: "HTTPS",
5508
+ pathname: `/api/v2/stress/${ClusterId}/${StressName}/stop`,
5509
+ method: "PUT",
5510
+ authType: "AK",
5511
+ style: "ROA",
5512
+ reqBodyType: "json",
5513
+ bodyType: "json",
5514
+ });
5515
+ return $tea.cast<StopStressResponse>(await this.callApi(params, req, runtime), new StopStressResponse({}));
5516
+ }
5517
+
5518
+ async updateBenchmarkTask(ClusterId: string, TaskName: string, request: UpdateBenchmarkTaskRequest): Promise<UpdateBenchmarkTaskResponse> {
5519
+ let runtime = new $Util.RuntimeOptions({ });
5520
+ let headers : {[key: string ]: string} = { };
5521
+ return await this.updateBenchmarkTaskWithOptions(ClusterId, TaskName, request, headers, runtime);
5522
+ }
5523
+
5524
+ async updateBenchmarkTaskWithOptions(ClusterId: string, TaskName: string, request: UpdateBenchmarkTaskRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<UpdateBenchmarkTaskResponse> {
5525
+ Util.validateModel(request);
5526
+ ClusterId = OpenApiUtil.getEncodeParam(ClusterId);
5527
+ TaskName = OpenApiUtil.getEncodeParam(TaskName);
5528
+ let req = new $OpenApi.OpenApiRequest({
5529
+ headers: headers,
5530
+ body: request.body,
5531
+ });
5532
+ let params = new $OpenApi.Params({
5533
+ action: "UpdateBenchmarkTask",
5534
+ version: "2021-07-01",
5535
+ protocol: "HTTPS",
5536
+ pathname: `/api/v2/benchmark-tasks/${ClusterId}/${TaskName}`,
5537
+ method: "PUT",
5538
+ authType: "AK",
5539
+ style: "ROA",
5540
+ reqBodyType: "json",
5541
+ bodyType: "json",
5542
+ });
5543
+ return $tea.cast<UpdateBenchmarkTaskResponse>(await this.callApi(params, req, runtime), new UpdateBenchmarkTaskResponse({}));
5544
+ }
5545
+
4132
5546
  async updateResource(ClusterId: string, ResourceId: string, request: UpdateResourceRequest): Promise<UpdateResourceResponse> {
4133
5547
  let runtime = new $Util.RuntimeOptions({ });
4134
5548
  let headers : {[key: string ]: string} = { };
@@ -4383,4 +5797,32 @@ export default class Client extends OpenApi {
4383
5797
  return $tea.cast<UpdateServiceVersionResponse>(await this.callApi(params, req, runtime), new UpdateServiceVersionResponse({}));
4384
5798
  }
4385
5799
 
5800
+ async updateStress(ClusterId: string, StressName: string, request: UpdateStressRequest): Promise<UpdateStressResponse> {
5801
+ let runtime = new $Util.RuntimeOptions({ });
5802
+ let headers : {[key: string ]: string} = { };
5803
+ return await this.updateStressWithOptions(ClusterId, StressName, request, headers, runtime);
5804
+ }
5805
+
5806
+ async updateStressWithOptions(ClusterId: string, StressName: string, request: UpdateStressRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<UpdateStressResponse> {
5807
+ Util.validateModel(request);
5808
+ ClusterId = OpenApiUtil.getEncodeParam(ClusterId);
5809
+ StressName = OpenApiUtil.getEncodeParam(StressName);
5810
+ let req = new $OpenApi.OpenApiRequest({
5811
+ headers: headers,
5812
+ body: request.body,
5813
+ });
5814
+ let params = new $OpenApi.Params({
5815
+ action: "UpdateStress",
5816
+ version: "2021-07-01",
5817
+ protocol: "HTTPS",
5818
+ pathname: `/api/v2/stress/${ClusterId}/${StressName}`,
5819
+ method: "PUT",
5820
+ authType: "AK",
5821
+ style: "ROA",
5822
+ reqBodyType: "json",
5823
+ bodyType: "json",
5824
+ });
5825
+ return $tea.cast<UpdateStressResponse>(await this.callApi(params, req, runtime), new UpdateStressResponse({}));
5826
+ }
5827
+
4386
5828
  }