@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/dist/client.d.ts CHANGED
@@ -129,6 +129,7 @@ export declare class Service extends $tea.Model {
129
129
  serviceConfig?: string;
130
130
  serviceId?: string;
131
131
  serviceName?: string;
132
+ source?: string;
132
133
  status?: string;
133
134
  totalInstance?: number;
134
135
  updatetime?: string;
@@ -143,6 +144,49 @@ export declare class Service extends $tea.Model {
143
144
  [key: string]: any;
144
145
  });
145
146
  }
147
+ export declare class CreateBenchmarkTaskRequest extends $tea.Model {
148
+ body?: string;
149
+ static names(): {
150
+ [key: string]: string;
151
+ };
152
+ static types(): {
153
+ [key: string]: any;
154
+ };
155
+ constructor(map?: {
156
+ [key: string]: any;
157
+ });
158
+ }
159
+ export declare class CreateBenchmarkTaskResponseBody extends $tea.Model {
160
+ message?: string;
161
+ name?: string;
162
+ region?: string;
163
+ requestId?: string;
164
+ static names(): {
165
+ [key: string]: string;
166
+ };
167
+ static types(): {
168
+ [key: string]: any;
169
+ };
170
+ constructor(map?: {
171
+ [key: string]: any;
172
+ });
173
+ }
174
+ export declare class CreateBenchmarkTaskResponse extends $tea.Model {
175
+ headers: {
176
+ [key: string]: string;
177
+ };
178
+ statusCode: number;
179
+ body: CreateBenchmarkTaskResponseBody;
180
+ static names(): {
181
+ [key: string]: string;
182
+ };
183
+ static types(): {
184
+ [key: string]: any;
185
+ };
186
+ constructor(map?: {
187
+ [key: string]: any;
188
+ });
189
+ }
146
190
  export declare class CreateResourceRequest extends $tea.Model {
147
191
  autoRenewal?: boolean;
148
192
  chargeType?: string;
@@ -178,6 +222,7 @@ export declare class CreateResourceResponse extends $tea.Model {
178
222
  headers: {
179
223
  [key: string]: string;
180
224
  };
225
+ statusCode: number;
181
226
  body: CreateResourceResponseBody;
182
227
  static names(): {
183
228
  [key: string]: string;
@@ -222,6 +267,7 @@ export declare class CreateResourceInstancesResponse extends $tea.Model {
222
267
  headers: {
223
268
  [key: string]: string;
224
269
  };
270
+ statusCode: number;
225
271
  body: CreateResourceInstancesResponseBody;
226
272
  static names(): {
227
273
  [key: string]: string;
@@ -263,6 +309,7 @@ export declare class CreateResourceLogResponse extends $tea.Model {
263
309
  headers: {
264
310
  [key: string]: string;
265
311
  };
312
+ statusCode: number;
266
313
  body: CreateResourceLogResponseBody;
267
314
  static names(): {
268
315
  [key: string]: string;
@@ -308,6 +355,7 @@ export declare class CreateServiceResponse extends $tea.Model {
308
355
  headers: {
309
356
  [key: string]: string;
310
357
  };
358
+ statusCode: number;
311
359
  body: CreateServiceResponseBody;
312
360
  static names(): {
313
361
  [key: string]: string;
@@ -350,6 +398,7 @@ export declare class CreateServiceAutoScalerResponse extends $tea.Model {
350
398
  headers: {
351
399
  [key: string]: string;
352
400
  };
401
+ statusCode: number;
353
402
  body: CreateServiceAutoScalerResponseBody;
354
403
  static names(): {
355
404
  [key: string]: string;
@@ -391,6 +440,7 @@ export declare class CreateServiceCronScalerResponse extends $tea.Model {
391
440
  headers: {
392
441
  [key: string]: string;
393
442
  };
443
+ statusCode: number;
394
444
  body: CreateServiceCronScalerResponseBody;
395
445
  static names(): {
396
446
  [key: string]: string;
@@ -432,6 +482,7 @@ export declare class CreateServiceMirrorResponse extends $tea.Model {
432
482
  headers: {
433
483
  [key: string]: string;
434
484
  };
485
+ statusCode: number;
435
486
  body: CreateServiceMirrorResponseBody;
436
487
  static names(): {
437
488
  [key: string]: string;
@@ -443,6 +494,78 @@ export declare class CreateServiceMirrorResponse extends $tea.Model {
443
494
  [key: string]: any;
444
495
  });
445
496
  }
497
+ export declare class CreateStressRequest extends $tea.Model {
498
+ body?: string;
499
+ static names(): {
500
+ [key: string]: string;
501
+ };
502
+ static types(): {
503
+ [key: string]: any;
504
+ };
505
+ constructor(map?: {
506
+ [key: string]: any;
507
+ });
508
+ }
509
+ export declare class CreateStressResponseBody extends $tea.Model {
510
+ message?: string;
511
+ name?: string;
512
+ region?: string;
513
+ requestId?: string;
514
+ static names(): {
515
+ [key: string]: string;
516
+ };
517
+ static types(): {
518
+ [key: string]: any;
519
+ };
520
+ constructor(map?: {
521
+ [key: string]: any;
522
+ });
523
+ }
524
+ export declare class CreateStressResponse extends $tea.Model {
525
+ headers: {
526
+ [key: string]: string;
527
+ };
528
+ statusCode: number;
529
+ body: CreateStressResponseBody;
530
+ static names(): {
531
+ [key: string]: string;
532
+ };
533
+ static types(): {
534
+ [key: string]: any;
535
+ };
536
+ constructor(map?: {
537
+ [key: string]: any;
538
+ });
539
+ }
540
+ export declare class DeleteBenchmarkTaskResponseBody extends $tea.Model {
541
+ message?: string;
542
+ requestId?: string;
543
+ static names(): {
544
+ [key: string]: string;
545
+ };
546
+ static types(): {
547
+ [key: string]: any;
548
+ };
549
+ constructor(map?: {
550
+ [key: string]: any;
551
+ });
552
+ }
553
+ export declare class DeleteBenchmarkTaskResponse extends $tea.Model {
554
+ headers: {
555
+ [key: string]: string;
556
+ };
557
+ statusCode: number;
558
+ body: DeleteBenchmarkTaskResponseBody;
559
+ static names(): {
560
+ [key: string]: string;
561
+ };
562
+ static types(): {
563
+ [key: string]: any;
564
+ };
565
+ constructor(map?: {
566
+ [key: string]: any;
567
+ });
568
+ }
446
569
  export declare class DeleteResourceResponseBody extends $tea.Model {
447
570
  message?: string;
448
571
  requestId?: string;
@@ -460,6 +583,7 @@ export declare class DeleteResourceResponse extends $tea.Model {
460
583
  headers: {
461
584
  [key: string]: string;
462
585
  };
586
+ statusCode: number;
463
587
  body: DeleteResourceResponseBody;
464
588
  static names(): {
465
589
  [key: string]: string;
@@ -488,6 +612,7 @@ export declare class DeleteResourceDLinkResponse extends $tea.Model {
488
612
  headers: {
489
613
  [key: string]: string;
490
614
  };
615
+ statusCode: number;
491
616
  body: DeleteResourceDLinkResponseBody;
492
617
  static names(): {
493
618
  [key: string]: string;
@@ -529,6 +654,7 @@ export declare class DeleteResourceInstancesResponse extends $tea.Model {
529
654
  headers: {
530
655
  [key: string]: string;
531
656
  };
657
+ statusCode: number;
532
658
  body: DeleteResourceInstancesResponseBody;
533
659
  static names(): {
534
660
  [key: string]: string;
@@ -557,6 +683,7 @@ export declare class DeleteResourceLogResponse extends $tea.Model {
557
683
  headers: {
558
684
  [key: string]: string;
559
685
  };
686
+ statusCode: number;
560
687
  body: DeleteResourceLogResponseBody;
561
688
  static names(): {
562
689
  [key: string]: string;
@@ -585,6 +712,7 @@ export declare class DeleteServiceResponse extends $tea.Model {
585
712
  headers: {
586
713
  [key: string]: string;
587
714
  };
715
+ statusCode: number;
588
716
  body: DeleteServiceResponseBody;
589
717
  static names(): {
590
718
  [key: string]: string;
@@ -613,6 +741,7 @@ export declare class DeleteServiceAutoScalerResponse extends $tea.Model {
613
741
  headers: {
614
742
  [key: string]: string;
615
743
  };
744
+ statusCode: number;
616
745
  body: DeleteServiceAutoScalerResponseBody;
617
746
  static names(): {
618
747
  [key: string]: string;
@@ -641,6 +770,7 @@ export declare class DeleteServiceCronScalerResponse extends $tea.Model {
641
770
  headers: {
642
771
  [key: string]: string;
643
772
  };
773
+ statusCode: number;
644
774
  body: DeleteServiceCronScalerResponseBody;
645
775
  static names(): {
646
776
  [key: string]: string;
@@ -681,6 +811,7 @@ export declare class DeleteServiceInstancesResponse extends $tea.Model {
681
811
  headers: {
682
812
  [key: string]: string;
683
813
  };
814
+ statusCode: number;
684
815
  body: DeleteServiceInstancesResponseBody;
685
816
  static names(): {
686
817
  [key: string]: string;
@@ -709,6 +840,7 @@ export declare class DeleteServiceMirrorResponse extends $tea.Model {
709
840
  headers: {
710
841
  [key: string]: string;
711
842
  };
843
+ statusCode: number;
712
844
  body: DeleteServiceMirrorResponseBody;
713
845
  static names(): {
714
846
  [key: string]: string;
@@ -720,8 +852,76 @@ export declare class DeleteServiceMirrorResponse extends $tea.Model {
720
852
  [key: string]: any;
721
853
  });
722
854
  }
723
- export declare class DescribeRegionsResponseBody extends $tea.Model {
724
- regions?: DescribeRegionsResponseBodyRegions[];
855
+ export declare class DeleteStressResponseBody extends $tea.Model {
856
+ message?: string;
857
+ requestId?: string;
858
+ static names(): {
859
+ [key: string]: string;
860
+ };
861
+ static types(): {
862
+ [key: string]: any;
863
+ };
864
+ constructor(map?: {
865
+ [key: string]: any;
866
+ });
867
+ }
868
+ export declare class DeleteStressResponse extends $tea.Model {
869
+ headers: {
870
+ [key: string]: string;
871
+ };
872
+ statusCode: number;
873
+ body: DeleteStressResponseBody;
874
+ static names(): {
875
+ [key: string]: string;
876
+ };
877
+ static types(): {
878
+ [key: string]: any;
879
+ };
880
+ constructor(map?: {
881
+ [key: string]: any;
882
+ });
883
+ }
884
+ export declare class DescribeBenchmarkTaskResponseBody extends $tea.Model {
885
+ availableAgent?: number;
886
+ callerUid?: string;
887
+ desiredAgent?: number;
888
+ message?: string;
889
+ parentUid?: string;
890
+ reason?: string;
891
+ requestId?: string;
892
+ serviceName?: string;
893
+ status?: string;
894
+ taskId?: string;
895
+ taskName?: string;
896
+ token?: string;
897
+ static names(): {
898
+ [key: string]: string;
899
+ };
900
+ static types(): {
901
+ [key: string]: any;
902
+ };
903
+ constructor(map?: {
904
+ [key: string]: any;
905
+ });
906
+ }
907
+ export declare class DescribeBenchmarkTaskResponse extends $tea.Model {
908
+ headers: {
909
+ [key: string]: string;
910
+ };
911
+ statusCode: number;
912
+ body: DescribeBenchmarkTaskResponseBody;
913
+ static names(): {
914
+ [key: string]: string;
915
+ };
916
+ static types(): {
917
+ [key: string]: any;
918
+ };
919
+ constructor(map?: {
920
+ [key: string]: any;
921
+ });
922
+ }
923
+ export declare class DescribeBenchmarkTaskReportResponseBody extends $tea.Model {
924
+ reportUrl?: string;
725
925
  requestId?: string;
726
926
  static names(): {
727
927
  [key: string]: string;
@@ -733,11 +933,12 @@ export declare class DescribeRegionsResponseBody extends $tea.Model {
733
933
  [key: string]: any;
734
934
  });
735
935
  }
736
- export declare class DescribeRegionsResponse extends $tea.Model {
936
+ export declare class DescribeBenchmarkTaskReportResponse extends $tea.Model {
737
937
  headers: {
738
938
  [key: string]: string;
739
939
  };
740
- body: DescribeRegionsResponseBody;
940
+ statusCode: number;
941
+ body: DescribeBenchmarkTaskReportResponseBody;
741
942
  static names(): {
742
943
  [key: string]: string;
743
944
  };
@@ -778,6 +979,7 @@ export declare class DescribeResourceResponse extends $tea.Model {
778
979
  headers: {
779
980
  [key: string]: string;
780
981
  };
982
+ statusCode: number;
781
983
  body: DescribeResourceResponseBody;
782
984
  static names(): {
783
985
  [key: string]: string;
@@ -810,6 +1012,7 @@ export declare class DescribeResourceDLinkResponse extends $tea.Model {
810
1012
  headers: {
811
1013
  [key: string]: string;
812
1014
  };
1015
+ statusCode: number;
813
1016
  body: DescribeResourceDLinkResponseBody;
814
1017
  static names(): {
815
1018
  [key: string]: string;
@@ -841,6 +1044,7 @@ export declare class DescribeResourceLogResponse extends $tea.Model {
841
1044
  headers: {
842
1045
  [key: string]: string;
843
1046
  };
1047
+ statusCode: number;
844
1048
  body: DescribeResourceLogResponseBody;
845
1049
  static names(): {
846
1050
  [key: string]: string;
@@ -856,6 +1060,7 @@ export declare class DescribeServiceResponse extends $tea.Model {
856
1060
  headers: {
857
1061
  [key: string]: string;
858
1062
  };
1063
+ statusCode: number;
859
1064
  body: Service;
860
1065
  static names(): {
861
1066
  [key: string]: string;
@@ -892,6 +1097,7 @@ export declare class DescribeServiceAutoScalerResponse extends $tea.Model {
892
1097
  headers: {
893
1098
  [key: string]: string;
894
1099
  };
1100
+ statusCode: number;
895
1101
  body: DescribeServiceAutoScalerResponseBody;
896
1102
  static names(): {
897
1103
  [key: string]: string;
@@ -922,6 +1128,7 @@ export declare class DescribeServiceCronScalerResponse extends $tea.Model {
922
1128
  headers: {
923
1129
  [key: string]: string;
924
1130
  };
1131
+ statusCode: number;
925
1132
  body: DescribeServiceCronScalerResponseBody;
926
1133
  static names(): {
927
1134
  [key: string]: string;
@@ -970,6 +1177,7 @@ export declare class DescribeServiceLogResponse extends $tea.Model {
970
1177
  headers: {
971
1178
  [key: string]: string;
972
1179
  };
1180
+ statusCode: number;
973
1181
  body: DescribeServiceLogResponseBody;
974
1182
  static names(): {
975
1183
  [key: string]: string;
@@ -1000,6 +1208,7 @@ export declare class DescribeServiceMirrorResponse extends $tea.Model {
1000
1208
  headers: {
1001
1209
  [key: string]: string;
1002
1210
  };
1211
+ statusCode: number;
1003
1212
  body: DescribeServiceMirrorResponseBody;
1004
1213
  static names(): {
1005
1214
  [key: string]: string;
@@ -1011,6 +1220,73 @@ export declare class DescribeServiceMirrorResponse extends $tea.Model {
1011
1220
  [key: string]: any;
1012
1221
  });
1013
1222
  }
1223
+ export declare class DescribeStressResponseBody extends $tea.Model {
1224
+ availableAgent?: number;
1225
+ callerUid?: string;
1226
+ desiredAgent?: number;
1227
+ message?: string;
1228
+ parentUid?: string;
1229
+ reason?: string;
1230
+ requestId?: string;
1231
+ serviceName?: string;
1232
+ status?: string;
1233
+ stressName?: string;
1234
+ token?: string;
1235
+ static names(): {
1236
+ [key: string]: string;
1237
+ };
1238
+ static types(): {
1239
+ [key: string]: any;
1240
+ };
1241
+ constructor(map?: {
1242
+ [key: string]: any;
1243
+ });
1244
+ }
1245
+ export declare class DescribeStressResponse extends $tea.Model {
1246
+ headers: {
1247
+ [key: string]: string;
1248
+ };
1249
+ statusCode: number;
1250
+ body: DescribeStressResponseBody;
1251
+ static names(): {
1252
+ [key: string]: string;
1253
+ };
1254
+ static types(): {
1255
+ [key: string]: any;
1256
+ };
1257
+ constructor(map?: {
1258
+ [key: string]: any;
1259
+ });
1260
+ }
1261
+ export declare class ListBenchmarkTaskResponseBody extends $tea.Model {
1262
+ requestId?: string;
1263
+ tasks?: ListBenchmarkTaskResponseBodyTasks[];
1264
+ static names(): {
1265
+ [key: string]: string;
1266
+ };
1267
+ static types(): {
1268
+ [key: string]: any;
1269
+ };
1270
+ constructor(map?: {
1271
+ [key: string]: any;
1272
+ });
1273
+ }
1274
+ export declare class ListBenchmarkTaskResponse extends $tea.Model {
1275
+ headers: {
1276
+ [key: string]: string;
1277
+ };
1278
+ statusCode: number;
1279
+ body: ListBenchmarkTaskResponseBody;
1280
+ static names(): {
1281
+ [key: string]: string;
1282
+ };
1283
+ static types(): {
1284
+ [key: string]: any;
1285
+ };
1286
+ constructor(map?: {
1287
+ [key: string]: any;
1288
+ });
1289
+ }
1014
1290
  export declare class ListResourceInstanceWorkerRequest extends $tea.Model {
1015
1291
  pageNumber?: number;
1016
1292
  pageSize?: number;
@@ -1044,6 +1320,7 @@ export declare class ListResourceInstanceWorkerResponse extends $tea.Model {
1044
1320
  headers: {
1045
1321
  [key: string]: string;
1046
1322
  };
1323
+ statusCode: number;
1047
1324
  body: ListResourceInstanceWorkerResponseBody;
1048
1325
  static names(): {
1049
1326
  [key: string]: string;
@@ -1056,6 +1333,7 @@ export declare class ListResourceInstanceWorkerResponse extends $tea.Model {
1056
1333
  });
1057
1334
  }
1058
1335
  export declare class ListResourceInstancesRequest extends $tea.Model {
1336
+ chargeType?: string;
1059
1337
  pageNumber?: number;
1060
1338
  pageSize?: number;
1061
1339
  static names(): {
@@ -1088,6 +1366,7 @@ export declare class ListResourceInstancesResponse extends $tea.Model {
1088
1366
  headers: {
1089
1367
  [key: string]: string;
1090
1368
  };
1369
+ statusCode: number;
1091
1370
  body: ListResourceInstancesResponseBody;
1092
1371
  static names(): {
1093
1372
  [key: string]: string;
@@ -1132,6 +1411,7 @@ export declare class ListResourceServicesResponse extends $tea.Model {
1132
1411
  headers: {
1133
1412
  [key: string]: string;
1134
1413
  };
1414
+ statusCode: number;
1135
1415
  body: ListResourceServicesResponseBody;
1136
1416
  static names(): {
1137
1417
  [key: string]: string;
@@ -1176,6 +1456,7 @@ export declare class ListResourcesResponse extends $tea.Model {
1176
1456
  headers: {
1177
1457
  [key: string]: string;
1178
1458
  };
1459
+ statusCode: number;
1179
1460
  body: ListResourcesResponseBody;
1180
1461
  static names(): {
1181
1462
  [key: string]: string;
@@ -1220,6 +1501,7 @@ export declare class ListServiceInstancesResponse extends $tea.Model {
1220
1501
  headers: {
1221
1502
  [key: string]: string;
1222
1503
  };
1504
+ statusCode: number;
1223
1505
  body: ListServiceInstancesResponseBody;
1224
1506
  static names(): {
1225
1507
  [key: string]: string;
@@ -1267,6 +1549,7 @@ export declare class ListServicesResponse extends $tea.Model {
1267
1549
  headers: {
1268
1550
  [key: string]: string;
1269
1551
  };
1552
+ statusCode: number;
1270
1553
  body: ListServicesResponseBody;
1271
1554
  static names(): {
1272
1555
  [key: string]: string;
@@ -1278,6 +1561,35 @@ export declare class ListServicesResponse extends $tea.Model {
1278
1561
  [key: string]: any;
1279
1562
  });
1280
1563
  }
1564
+ export declare class ListStressesResponseBody extends $tea.Model {
1565
+ requestId?: string;
1566
+ stresses?: ListStressesResponseBodyStresses[];
1567
+ static names(): {
1568
+ [key: string]: string;
1569
+ };
1570
+ static types(): {
1571
+ [key: string]: any;
1572
+ };
1573
+ constructor(map?: {
1574
+ [key: string]: any;
1575
+ });
1576
+ }
1577
+ export declare class ListStressesResponse extends $tea.Model {
1578
+ headers: {
1579
+ [key: string]: string;
1580
+ };
1581
+ statusCode: number;
1582
+ body: ListStressesResponseBody;
1583
+ static names(): {
1584
+ [key: string]: string;
1585
+ };
1586
+ static types(): {
1587
+ [key: string]: any;
1588
+ };
1589
+ constructor(map?: {
1590
+ [key: string]: any;
1591
+ });
1592
+ }
1281
1593
  export declare class ReleaseServiceRequest extends $tea.Model {
1282
1594
  weight?: number;
1283
1595
  static names(): {
@@ -1307,6 +1619,7 @@ export declare class ReleaseServiceResponse extends $tea.Model {
1307
1619
  headers: {
1308
1620
  [key: string]: string;
1309
1621
  };
1622
+ statusCode: number;
1310
1623
  body: ReleaseServiceResponseBody;
1311
1624
  static names(): {
1312
1625
  [key: string]: string;
@@ -1318,6 +1631,64 @@ export declare class ReleaseServiceResponse extends $tea.Model {
1318
1631
  [key: string]: any;
1319
1632
  });
1320
1633
  }
1634
+ export declare class ReportStressResponseBody extends $tea.Model {
1635
+ reportUrl?: string;
1636
+ requestId?: string;
1637
+ static names(): {
1638
+ [key: string]: string;
1639
+ };
1640
+ static types(): {
1641
+ [key: string]: any;
1642
+ };
1643
+ constructor(map?: {
1644
+ [key: string]: any;
1645
+ });
1646
+ }
1647
+ export declare class ReportStressResponse extends $tea.Model {
1648
+ headers: {
1649
+ [key: string]: string;
1650
+ };
1651
+ statusCode: number;
1652
+ body: ReportStressResponseBody;
1653
+ static names(): {
1654
+ [key: string]: string;
1655
+ };
1656
+ static types(): {
1657
+ [key: string]: any;
1658
+ };
1659
+ constructor(map?: {
1660
+ [key: string]: any;
1661
+ });
1662
+ }
1663
+ export declare class StartBenchmarkTaskResponseBody extends $tea.Model {
1664
+ message?: string;
1665
+ requestId?: string;
1666
+ static names(): {
1667
+ [key: string]: string;
1668
+ };
1669
+ static types(): {
1670
+ [key: string]: any;
1671
+ };
1672
+ constructor(map?: {
1673
+ [key: string]: any;
1674
+ });
1675
+ }
1676
+ export declare class StartBenchmarkTaskResponse extends $tea.Model {
1677
+ headers: {
1678
+ [key: string]: string;
1679
+ };
1680
+ statusCode: number;
1681
+ body: StartBenchmarkTaskResponseBody;
1682
+ static names(): {
1683
+ [key: string]: string;
1684
+ };
1685
+ static types(): {
1686
+ [key: string]: any;
1687
+ };
1688
+ constructor(map?: {
1689
+ [key: string]: any;
1690
+ });
1691
+ }
1321
1692
  export declare class StartServiceResponseBody extends $tea.Model {
1322
1693
  message?: string;
1323
1694
  requestId?: string;
@@ -1335,6 +1706,7 @@ export declare class StartServiceResponse extends $tea.Model {
1335
1706
  headers: {
1336
1707
  [key: string]: string;
1337
1708
  };
1709
+ statusCode: number;
1338
1710
  body: StartServiceResponseBody;
1339
1711
  static names(): {
1340
1712
  [key: string]: string;
@@ -1346,6 +1718,64 @@ export declare class StartServiceResponse extends $tea.Model {
1346
1718
  [key: string]: any;
1347
1719
  });
1348
1720
  }
1721
+ export declare class StartStressResponseBody extends $tea.Model {
1722
+ message?: string;
1723
+ requestId?: string;
1724
+ static names(): {
1725
+ [key: string]: string;
1726
+ };
1727
+ static types(): {
1728
+ [key: string]: any;
1729
+ };
1730
+ constructor(map?: {
1731
+ [key: string]: any;
1732
+ });
1733
+ }
1734
+ export declare class StartStressResponse extends $tea.Model {
1735
+ headers: {
1736
+ [key: string]: string;
1737
+ };
1738
+ statusCode: number;
1739
+ body: StartStressResponseBody;
1740
+ static names(): {
1741
+ [key: string]: string;
1742
+ };
1743
+ static types(): {
1744
+ [key: string]: any;
1745
+ };
1746
+ constructor(map?: {
1747
+ [key: string]: any;
1748
+ });
1749
+ }
1750
+ export declare class StopBenchmarkTaskResponseBody extends $tea.Model {
1751
+ message?: string;
1752
+ requestId?: string;
1753
+ static names(): {
1754
+ [key: string]: string;
1755
+ };
1756
+ static types(): {
1757
+ [key: string]: any;
1758
+ };
1759
+ constructor(map?: {
1760
+ [key: string]: any;
1761
+ });
1762
+ }
1763
+ export declare class StopBenchmarkTaskResponse extends $tea.Model {
1764
+ headers: {
1765
+ [key: string]: string;
1766
+ };
1767
+ statusCode: number;
1768
+ body: StopBenchmarkTaskResponseBody;
1769
+ static names(): {
1770
+ [key: string]: string;
1771
+ };
1772
+ static types(): {
1773
+ [key: string]: any;
1774
+ };
1775
+ constructor(map?: {
1776
+ [key: string]: any;
1777
+ });
1778
+ }
1349
1779
  export declare class StopServiceResponseBody extends $tea.Model {
1350
1780
  message?: string;
1351
1781
  requestId?: string;
@@ -1363,6 +1793,7 @@ export declare class StopServiceResponse extends $tea.Model {
1363
1793
  headers: {
1364
1794
  [key: string]: string;
1365
1795
  };
1796
+ statusCode: number;
1366
1797
  body: StopServiceResponseBody;
1367
1798
  static names(): {
1368
1799
  [key: string]: string;
@@ -1374,6 +1805,77 @@ export declare class StopServiceResponse extends $tea.Model {
1374
1805
  [key: string]: any;
1375
1806
  });
1376
1807
  }
1808
+ export declare class StopStressResponseBody extends $tea.Model {
1809
+ code?: number;
1810
+ message?: string;
1811
+ requestId?: string;
1812
+ static names(): {
1813
+ [key: string]: string;
1814
+ };
1815
+ static types(): {
1816
+ [key: string]: any;
1817
+ };
1818
+ constructor(map?: {
1819
+ [key: string]: any;
1820
+ });
1821
+ }
1822
+ export declare class StopStressResponse extends $tea.Model {
1823
+ headers: {
1824
+ [key: string]: string;
1825
+ };
1826
+ statusCode: number;
1827
+ body: StopStressResponseBody;
1828
+ static names(): {
1829
+ [key: string]: string;
1830
+ };
1831
+ static types(): {
1832
+ [key: string]: any;
1833
+ };
1834
+ constructor(map?: {
1835
+ [key: string]: any;
1836
+ });
1837
+ }
1838
+ export declare class UpdateBenchmarkTaskRequest extends $tea.Model {
1839
+ body?: string;
1840
+ static names(): {
1841
+ [key: string]: string;
1842
+ };
1843
+ static types(): {
1844
+ [key: string]: any;
1845
+ };
1846
+ constructor(map?: {
1847
+ [key: string]: any;
1848
+ });
1849
+ }
1850
+ export declare class UpdateBenchmarkTaskResponseBody extends $tea.Model {
1851
+ message?: string;
1852
+ requestId?: string;
1853
+ static names(): {
1854
+ [key: string]: string;
1855
+ };
1856
+ static types(): {
1857
+ [key: string]: any;
1858
+ };
1859
+ constructor(map?: {
1860
+ [key: string]: any;
1861
+ });
1862
+ }
1863
+ export declare class UpdateBenchmarkTaskResponse extends $tea.Model {
1864
+ headers: {
1865
+ [key: string]: string;
1866
+ };
1867
+ statusCode: number;
1868
+ body: UpdateBenchmarkTaskResponseBody;
1869
+ static names(): {
1870
+ [key: string]: string;
1871
+ };
1872
+ static types(): {
1873
+ [key: string]: any;
1874
+ };
1875
+ constructor(map?: {
1876
+ [key: string]: any;
1877
+ });
1878
+ }
1377
1879
  export declare class UpdateResourceRequest extends $tea.Model {
1378
1880
  resourceName?: string;
1379
1881
  static names(): {
@@ -1404,6 +1906,7 @@ export declare class UpdateResourceResponse extends $tea.Model {
1404
1906
  headers: {
1405
1907
  [key: string]: string;
1406
1908
  };
1909
+ statusCode: number;
1407
1910
  body: UpdateResourceResponseBody;
1408
1911
  static names(): {
1409
1912
  [key: string]: string;
@@ -1447,6 +1950,7 @@ export declare class UpdateResourceDLinkResponse extends $tea.Model {
1447
1950
  headers: {
1448
1951
  [key: string]: string;
1449
1952
  };
1953
+ statusCode: number;
1450
1954
  body: UpdateResourceDLinkResponseBody;
1451
1955
  static names(): {
1452
1956
  [key: string]: string;
@@ -1487,6 +1991,7 @@ export declare class UpdateServiceResponse extends $tea.Model {
1487
1991
  headers: {
1488
1992
  [key: string]: string;
1489
1993
  };
1994
+ statusCode: number;
1490
1995
  body: UpdateServiceResponseBody;
1491
1996
  static names(): {
1492
1997
  [key: string]: string;
@@ -1529,6 +2034,7 @@ export declare class UpdateServiceAutoScalerResponse extends $tea.Model {
1529
2034
  headers: {
1530
2035
  [key: string]: string;
1531
2036
  };
2037
+ statusCode: number;
1532
2038
  body: UpdateServiceAutoScalerResponseBody;
1533
2039
  static names(): {
1534
2040
  [key: string]: string;
@@ -1570,6 +2076,7 @@ export declare class UpdateServiceCronScalerResponse extends $tea.Model {
1570
2076
  headers: {
1571
2077
  [key: string]: string;
1572
2078
  };
2079
+ statusCode: number;
1573
2080
  body: UpdateServiceCronScalerResponseBody;
1574
2081
  static names(): {
1575
2082
  [key: string]: string;
@@ -1611,6 +2118,7 @@ export declare class UpdateServiceMirrorResponse extends $tea.Model {
1611
2118
  headers: {
1612
2119
  [key: string]: string;
1613
2120
  };
2121
+ statusCode: number;
1614
2122
  body: UpdateServiceMirrorResponseBody;
1615
2123
  static names(): {
1616
2124
  [key: string]: string;
@@ -1651,6 +2159,7 @@ export declare class UpdateServiceVersionResponse extends $tea.Model {
1651
2159
  headers: {
1652
2160
  [key: string]: string;
1653
2161
  };
2162
+ statusCode: number;
1654
2163
  body: UpdateServiceVersionResponseBody;
1655
2164
  static names(): {
1656
2165
  [key: string]: string;
@@ -1662,6 +2171,47 @@ export declare class UpdateServiceVersionResponse extends $tea.Model {
1662
2171
  [key: string]: any;
1663
2172
  });
1664
2173
  }
2174
+ export declare class UpdateStressRequest extends $tea.Model {
2175
+ body?: string;
2176
+ static names(): {
2177
+ [key: string]: string;
2178
+ };
2179
+ static types(): {
2180
+ [key: string]: any;
2181
+ };
2182
+ constructor(map?: {
2183
+ [key: string]: any;
2184
+ });
2185
+ }
2186
+ export declare class UpdateStressResponseBody extends $tea.Model {
2187
+ message?: string;
2188
+ requestId?: string;
2189
+ static names(): {
2190
+ [key: string]: string;
2191
+ };
2192
+ static types(): {
2193
+ [key: string]: any;
2194
+ };
2195
+ constructor(map?: {
2196
+ [key: string]: any;
2197
+ });
2198
+ }
2199
+ export declare class UpdateStressResponse extends $tea.Model {
2200
+ headers: {
2201
+ [key: string]: string;
2202
+ };
2203
+ statusCode: number;
2204
+ body: UpdateStressResponseBody;
2205
+ static names(): {
2206
+ [key: string]: string;
2207
+ };
2208
+ static types(): {
2209
+ [key: string]: any;
2210
+ };
2211
+ constructor(map?: {
2212
+ [key: string]: any;
2213
+ });
2214
+ }
1665
2215
  export declare class CreateServiceAutoScalerRequestStrategies extends $tea.Model {
1666
2216
  cpu?: number;
1667
2217
  qps?: number;
@@ -1689,8 +2239,14 @@ export declare class CreateServiceCronScalerRequestScaleJobs extends $tea.Model
1689
2239
  [key: string]: any;
1690
2240
  });
1691
2241
  }
1692
- export declare class DescribeRegionsResponseBodyRegions extends $tea.Model {
1693
- regionId?: string;
2242
+ export declare class DescribeServiceCronScalerResponseBodyScaleJobs extends $tea.Model {
2243
+ createTime?: string;
2244
+ lastProbeTime?: string;
2245
+ message?: string;
2246
+ name?: string;
2247
+ schedule?: string;
2248
+ state?: string;
2249
+ targetSize?: number;
1694
2250
  static names(): {
1695
2251
  [key: string]: string;
1696
2252
  };
@@ -1701,14 +2257,35 @@ export declare class DescribeRegionsResponseBodyRegions extends $tea.Model {
1701
2257
  [key: string]: any;
1702
2258
  });
1703
2259
  }
1704
- export declare class DescribeServiceCronScalerResponseBodyScaleJobs extends $tea.Model {
2260
+ export declare class ListBenchmarkTaskResponseBodyTasks extends $tea.Model {
2261
+ availableAgent?: number;
1705
2262
  createTime?: string;
1706
- lastProbeTime?: string;
1707
2263
  message?: string;
1708
- name?: string;
1709
- schedule?: string;
1710
- state?: string;
1711
- targetSize?: number;
2264
+ region?: string;
2265
+ serviceName?: string;
2266
+ status?: string;
2267
+ taskId?: string;
2268
+ taskName?: string;
2269
+ updateTime?: string;
2270
+ static names(): {
2271
+ [key: string]: string;
2272
+ };
2273
+ static types(): {
2274
+ [key: string]: any;
2275
+ };
2276
+ constructor(map?: {
2277
+ [key: string]: any;
2278
+ });
2279
+ }
2280
+ export declare class ListStressesResponseBodyStresses extends $tea.Model {
2281
+ availableAgent?: number;
2282
+ createTime?: string;
2283
+ message?: string;
2284
+ region?: string;
2285
+ serviceName?: string;
2286
+ status?: string;
2287
+ stressName?: string;
2288
+ updateTime?: string;
1712
2289
  static names(): {
1713
2290
  [key: string]: string;
1714
2291
  };
@@ -1751,6 +2328,10 @@ export default class Client extends OpenApi {
1751
2328
  getEndpoint(productId: string, regionId: string, endpointRule: string, network: string, suffix: string, endpointMap: {
1752
2329
  [key: string]: string;
1753
2330
  }, endpoint: string): string;
2331
+ createBenchmarkTask(request: CreateBenchmarkTaskRequest): Promise<CreateBenchmarkTaskResponse>;
2332
+ createBenchmarkTaskWithOptions(request: CreateBenchmarkTaskRequest, headers: {
2333
+ [key: string]: string;
2334
+ }, runtime: $Util.RuntimeOptions): Promise<CreateBenchmarkTaskResponse>;
1754
2335
  createResource(request: CreateResourceRequest): Promise<CreateResourceResponse>;
1755
2336
  createResourceWithOptions(request: CreateResourceRequest, headers: {
1756
2337
  [key: string]: string;
@@ -1779,6 +2360,14 @@ export default class Client extends OpenApi {
1779
2360
  createServiceMirrorWithOptions(ClusterId: string, ServiceName: string, request: CreateServiceMirrorRequest, headers: {
1780
2361
  [key: string]: string;
1781
2362
  }, runtime: $Util.RuntimeOptions): Promise<CreateServiceMirrorResponse>;
2363
+ createStress(request: CreateStressRequest): Promise<CreateStressResponse>;
2364
+ createStressWithOptions(request: CreateStressRequest, headers: {
2365
+ [key: string]: string;
2366
+ }, runtime: $Util.RuntimeOptions): Promise<CreateStressResponse>;
2367
+ deleteBenchmarkTask(ClusterId: string, TaskName: string): Promise<DeleteBenchmarkTaskResponse>;
2368
+ deleteBenchmarkTaskWithOptions(ClusterId: string, TaskName: string, headers: {
2369
+ [key: string]: string;
2370
+ }, runtime: $Util.RuntimeOptions): Promise<DeleteBenchmarkTaskResponse>;
1782
2371
  deleteResource(ClusterId: string, ResourceId: string): Promise<DeleteResourceResponse>;
1783
2372
  deleteResourceWithOptions(ClusterId: string, ResourceId: string, headers: {
1784
2373
  [key: string]: string;
@@ -1815,10 +2404,18 @@ export default class Client extends OpenApi {
1815
2404
  deleteServiceMirrorWithOptions(ClusterId: string, ServiceName: string, headers: {
1816
2405
  [key: string]: string;
1817
2406
  }, runtime: $Util.RuntimeOptions): Promise<DeleteServiceMirrorResponse>;
1818
- describeRegions(): Promise<DescribeRegionsResponse>;
1819
- describeRegionsWithOptions(headers: {
2407
+ deleteStress(ClusterId: string, StressName: string): Promise<DeleteStressResponse>;
2408
+ deleteStressWithOptions(ClusterId: string, StressName: string, headers: {
2409
+ [key: string]: string;
2410
+ }, runtime: $Util.RuntimeOptions): Promise<DeleteStressResponse>;
2411
+ describeBenchmarkTask(ClusterId: string, TaskName: string): Promise<DescribeBenchmarkTaskResponse>;
2412
+ describeBenchmarkTaskWithOptions(ClusterId: string, TaskName: string, headers: {
1820
2413
  [key: string]: string;
1821
- }, runtime: $Util.RuntimeOptions): Promise<DescribeRegionsResponse>;
2414
+ }, runtime: $Util.RuntimeOptions): Promise<DescribeBenchmarkTaskResponse>;
2415
+ describeBenchmarkTaskReport(ClusterId: string, TaskName: string): Promise<DescribeBenchmarkTaskReportResponse>;
2416
+ describeBenchmarkTaskReportWithOptions(ClusterId: string, TaskName: string, headers: {
2417
+ [key: string]: string;
2418
+ }, runtime: $Util.RuntimeOptions): Promise<DescribeBenchmarkTaskReportResponse>;
1822
2419
  describeResource(ClusterId: string, ResourceId: string): Promise<DescribeResourceResponse>;
1823
2420
  describeResourceWithOptions(ClusterId: string, ResourceId: string, headers: {
1824
2421
  [key: string]: string;
@@ -1851,6 +2448,14 @@ export default class Client extends OpenApi {
1851
2448
  describeServiceMirrorWithOptions(ClusterId: string, ServiceName: string, headers: {
1852
2449
  [key: string]: string;
1853
2450
  }, runtime: $Util.RuntimeOptions): Promise<DescribeServiceMirrorResponse>;
2451
+ describeStress(ClusterId: string, StressName: string): Promise<DescribeStressResponse>;
2452
+ describeStressWithOptions(ClusterId: string, StressName: string, headers: {
2453
+ [key: string]: string;
2454
+ }, runtime: $Util.RuntimeOptions): Promise<DescribeStressResponse>;
2455
+ listBenchmarkTask(): Promise<ListBenchmarkTaskResponse>;
2456
+ listBenchmarkTaskWithOptions(headers: {
2457
+ [key: string]: string;
2458
+ }, runtime: $Util.RuntimeOptions): Promise<ListBenchmarkTaskResponse>;
1854
2459
  listResourceInstanceWorker(ClusterId: string, ResourceId: string, InstanceName: string, request: ListResourceInstanceWorkerRequest): Promise<ListResourceInstanceWorkerResponse>;
1855
2460
  listResourceInstanceWorkerWithOptions(ClusterId: string, ResourceId: string, InstanceName: string, request: ListResourceInstanceWorkerRequest, headers: {
1856
2461
  [key: string]: string;
@@ -1875,18 +2480,46 @@ export default class Client extends OpenApi {
1875
2480
  listServicesWithOptions(request: ListServicesRequest, headers: {
1876
2481
  [key: string]: string;
1877
2482
  }, runtime: $Util.RuntimeOptions): Promise<ListServicesResponse>;
2483
+ listStresses(): Promise<ListStressesResponse>;
2484
+ listStressesWithOptions(headers: {
2485
+ [key: string]: string;
2486
+ }, runtime: $Util.RuntimeOptions): Promise<ListStressesResponse>;
1878
2487
  releaseService(ClusterId: string, ServiceName: string, request: ReleaseServiceRequest): Promise<ReleaseServiceResponse>;
1879
2488
  releaseServiceWithOptions(ClusterId: string, ServiceName: string, request: ReleaseServiceRequest, headers: {
1880
2489
  [key: string]: string;
1881
2490
  }, runtime: $Util.RuntimeOptions): Promise<ReleaseServiceResponse>;
2491
+ reportStress(ClusterId: string, StressName: string): Promise<ReportStressResponse>;
2492
+ reportStressWithOptions(ClusterId: string, StressName: string, headers: {
2493
+ [key: string]: string;
2494
+ }, runtime: $Util.RuntimeOptions): Promise<ReportStressResponse>;
2495
+ startBenchmarkTask(ClusterId: string, TaskName: string): Promise<StartBenchmarkTaskResponse>;
2496
+ startBenchmarkTaskWithOptions(ClusterId: string, TaskName: string, headers: {
2497
+ [key: string]: string;
2498
+ }, runtime: $Util.RuntimeOptions): Promise<StartBenchmarkTaskResponse>;
1882
2499
  startService(ClusterId: string, ServiceName: string): Promise<StartServiceResponse>;
1883
2500
  startServiceWithOptions(ClusterId: string, ServiceName: string, headers: {
1884
2501
  [key: string]: string;
1885
2502
  }, runtime: $Util.RuntimeOptions): Promise<StartServiceResponse>;
2503
+ startStress(ClusterId: string, StressName: string): Promise<StartStressResponse>;
2504
+ startStressWithOptions(ClusterId: string, StressName: string, headers: {
2505
+ [key: string]: string;
2506
+ }, runtime: $Util.RuntimeOptions): Promise<StartStressResponse>;
2507
+ stopBenchmarkTask(ClusterId: string, TaskName: string): Promise<StopBenchmarkTaskResponse>;
2508
+ stopBenchmarkTaskWithOptions(ClusterId: string, TaskName: string, headers: {
2509
+ [key: string]: string;
2510
+ }, runtime: $Util.RuntimeOptions): Promise<StopBenchmarkTaskResponse>;
1886
2511
  stopService(ClusterId: string, ServiceName: string): Promise<StopServiceResponse>;
1887
2512
  stopServiceWithOptions(ClusterId: string, ServiceName: string, headers: {
1888
2513
  [key: string]: string;
1889
2514
  }, runtime: $Util.RuntimeOptions): Promise<StopServiceResponse>;
2515
+ stopStress(ClusterId: string, StressName: string): Promise<StopStressResponse>;
2516
+ stopStressWithOptions(ClusterId: string, StressName: string, headers: {
2517
+ [key: string]: string;
2518
+ }, runtime: $Util.RuntimeOptions): Promise<StopStressResponse>;
2519
+ updateBenchmarkTask(ClusterId: string, TaskName: string, request: UpdateBenchmarkTaskRequest): Promise<UpdateBenchmarkTaskResponse>;
2520
+ updateBenchmarkTaskWithOptions(ClusterId: string, TaskName: string, request: UpdateBenchmarkTaskRequest, headers: {
2521
+ [key: string]: string;
2522
+ }, runtime: $Util.RuntimeOptions): Promise<UpdateBenchmarkTaskResponse>;
1890
2523
  updateResource(ClusterId: string, ResourceId: string, request: UpdateResourceRequest): Promise<UpdateResourceResponse>;
1891
2524
  updateResourceWithOptions(ClusterId: string, ResourceId: string, request: UpdateResourceRequest, headers: {
1892
2525
  [key: string]: string;
@@ -1915,4 +2548,8 @@ export default class Client extends OpenApi {
1915
2548
  updateServiceVersionWithOptions(ClusterId: string, ServiceName: string, request: UpdateServiceVersionRequest, headers: {
1916
2549
  [key: string]: string;
1917
2550
  }, runtime: $Util.RuntimeOptions): Promise<UpdateServiceVersionResponse>;
2551
+ updateStress(ClusterId: string, StressName: string, request: UpdateStressRequest): Promise<UpdateStressResponse>;
2552
+ updateStressWithOptions(ClusterId: string, StressName: string, request: UpdateStressRequest, headers: {
2553
+ [key: string]: string;
2554
+ }, runtime: $Util.RuntimeOptions): Promise<UpdateStressResponse>;
1918
2555
  }