@alicloud/eas20210701 1.1.2 → 1.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +337 -16
- package/dist/client.js +646 -47
- package/dist/client.js.map +1 -1
- package/package.json +3 -3
- package/src/client.ts +830 -83
package/dist/client.d.ts
CHANGED
|
@@ -129,9 +129,10 @@ 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;
|
|
135
136
|
weight?: number;
|
|
136
137
|
static names(): {
|
|
137
138
|
[key: string]: 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,35 @@ export declare class CreateServiceMirrorResponse extends $tea.Model {
|
|
|
443
494
|
[key: string]: any;
|
|
444
495
|
});
|
|
445
496
|
}
|
|
497
|
+
export declare class DeleteBenchmarkTaskResponseBody extends $tea.Model {
|
|
498
|
+
message?: string;
|
|
499
|
+
requestId?: string;
|
|
500
|
+
static names(): {
|
|
501
|
+
[key: string]: string;
|
|
502
|
+
};
|
|
503
|
+
static types(): {
|
|
504
|
+
[key: string]: any;
|
|
505
|
+
};
|
|
506
|
+
constructor(map?: {
|
|
507
|
+
[key: string]: any;
|
|
508
|
+
});
|
|
509
|
+
}
|
|
510
|
+
export declare class DeleteBenchmarkTaskResponse extends $tea.Model {
|
|
511
|
+
headers: {
|
|
512
|
+
[key: string]: string;
|
|
513
|
+
};
|
|
514
|
+
statusCode: number;
|
|
515
|
+
body: DeleteBenchmarkTaskResponseBody;
|
|
516
|
+
static names(): {
|
|
517
|
+
[key: string]: string;
|
|
518
|
+
};
|
|
519
|
+
static types(): {
|
|
520
|
+
[key: string]: any;
|
|
521
|
+
};
|
|
522
|
+
constructor(map?: {
|
|
523
|
+
[key: string]: any;
|
|
524
|
+
});
|
|
525
|
+
}
|
|
446
526
|
export declare class DeleteResourceResponseBody extends $tea.Model {
|
|
447
527
|
message?: string;
|
|
448
528
|
requestId?: string;
|
|
@@ -460,6 +540,7 @@ export declare class DeleteResourceResponse extends $tea.Model {
|
|
|
460
540
|
headers: {
|
|
461
541
|
[key: string]: string;
|
|
462
542
|
};
|
|
543
|
+
statusCode: number;
|
|
463
544
|
body: DeleteResourceResponseBody;
|
|
464
545
|
static names(): {
|
|
465
546
|
[key: string]: string;
|
|
@@ -488,6 +569,7 @@ export declare class DeleteResourceDLinkResponse extends $tea.Model {
|
|
|
488
569
|
headers: {
|
|
489
570
|
[key: string]: string;
|
|
490
571
|
};
|
|
572
|
+
statusCode: number;
|
|
491
573
|
body: DeleteResourceDLinkResponseBody;
|
|
492
574
|
static names(): {
|
|
493
575
|
[key: string]: string;
|
|
@@ -529,6 +611,7 @@ export declare class DeleteResourceInstancesResponse extends $tea.Model {
|
|
|
529
611
|
headers: {
|
|
530
612
|
[key: string]: string;
|
|
531
613
|
};
|
|
614
|
+
statusCode: number;
|
|
532
615
|
body: DeleteResourceInstancesResponseBody;
|
|
533
616
|
static names(): {
|
|
534
617
|
[key: string]: string;
|
|
@@ -557,6 +640,7 @@ export declare class DeleteResourceLogResponse extends $tea.Model {
|
|
|
557
640
|
headers: {
|
|
558
641
|
[key: string]: string;
|
|
559
642
|
};
|
|
643
|
+
statusCode: number;
|
|
560
644
|
body: DeleteResourceLogResponseBody;
|
|
561
645
|
static names(): {
|
|
562
646
|
[key: string]: string;
|
|
@@ -585,6 +669,7 @@ export declare class DeleteServiceResponse extends $tea.Model {
|
|
|
585
669
|
headers: {
|
|
586
670
|
[key: string]: string;
|
|
587
671
|
};
|
|
672
|
+
statusCode: number;
|
|
588
673
|
body: DeleteServiceResponseBody;
|
|
589
674
|
static names(): {
|
|
590
675
|
[key: string]: string;
|
|
@@ -613,6 +698,7 @@ export declare class DeleteServiceAutoScalerResponse extends $tea.Model {
|
|
|
613
698
|
headers: {
|
|
614
699
|
[key: string]: string;
|
|
615
700
|
};
|
|
701
|
+
statusCode: number;
|
|
616
702
|
body: DeleteServiceAutoScalerResponseBody;
|
|
617
703
|
static names(): {
|
|
618
704
|
[key: string]: string;
|
|
@@ -641,6 +727,7 @@ export declare class DeleteServiceCronScalerResponse extends $tea.Model {
|
|
|
641
727
|
headers: {
|
|
642
728
|
[key: string]: string;
|
|
643
729
|
};
|
|
730
|
+
statusCode: number;
|
|
644
731
|
body: DeleteServiceCronScalerResponseBody;
|
|
645
732
|
static names(): {
|
|
646
733
|
[key: string]: string;
|
|
@@ -681,6 +768,7 @@ export declare class DeleteServiceInstancesResponse extends $tea.Model {
|
|
|
681
768
|
headers: {
|
|
682
769
|
[key: string]: string;
|
|
683
770
|
};
|
|
771
|
+
statusCode: number;
|
|
684
772
|
body: DeleteServiceInstancesResponseBody;
|
|
685
773
|
static names(): {
|
|
686
774
|
[key: string]: string;
|
|
@@ -709,6 +797,7 @@ export declare class DeleteServiceMirrorResponse extends $tea.Model {
|
|
|
709
797
|
headers: {
|
|
710
798
|
[key: string]: string;
|
|
711
799
|
};
|
|
800
|
+
statusCode: number;
|
|
712
801
|
body: DeleteServiceMirrorResponseBody;
|
|
713
802
|
static names(): {
|
|
714
803
|
[key: string]: string;
|
|
@@ -720,8 +809,47 @@ export declare class DeleteServiceMirrorResponse extends $tea.Model {
|
|
|
720
809
|
[key: string]: any;
|
|
721
810
|
});
|
|
722
811
|
}
|
|
723
|
-
export declare class
|
|
724
|
-
|
|
812
|
+
export declare class DescribeBenchmarkTaskResponseBody extends $tea.Model {
|
|
813
|
+
availableAgent?: number;
|
|
814
|
+
callerUid?: string;
|
|
815
|
+
desiredAgent?: number;
|
|
816
|
+
message?: string;
|
|
817
|
+
parentUid?: string;
|
|
818
|
+
reason?: string;
|
|
819
|
+
requestId?: string;
|
|
820
|
+
serviceName?: string;
|
|
821
|
+
status?: string;
|
|
822
|
+
taskId?: string;
|
|
823
|
+
taskName?: string;
|
|
824
|
+
token?: string;
|
|
825
|
+
static names(): {
|
|
826
|
+
[key: string]: string;
|
|
827
|
+
};
|
|
828
|
+
static types(): {
|
|
829
|
+
[key: string]: any;
|
|
830
|
+
};
|
|
831
|
+
constructor(map?: {
|
|
832
|
+
[key: string]: any;
|
|
833
|
+
});
|
|
834
|
+
}
|
|
835
|
+
export declare class DescribeBenchmarkTaskResponse extends $tea.Model {
|
|
836
|
+
headers: {
|
|
837
|
+
[key: string]: string;
|
|
838
|
+
};
|
|
839
|
+
statusCode: number;
|
|
840
|
+
body: DescribeBenchmarkTaskResponseBody;
|
|
841
|
+
static names(): {
|
|
842
|
+
[key: string]: string;
|
|
843
|
+
};
|
|
844
|
+
static types(): {
|
|
845
|
+
[key: string]: any;
|
|
846
|
+
};
|
|
847
|
+
constructor(map?: {
|
|
848
|
+
[key: string]: any;
|
|
849
|
+
});
|
|
850
|
+
}
|
|
851
|
+
export declare class DescribeBenchmarkTaskReportResponseBody extends $tea.Model {
|
|
852
|
+
reportUrl?: string;
|
|
725
853
|
requestId?: string;
|
|
726
854
|
static names(): {
|
|
727
855
|
[key: string]: string;
|
|
@@ -733,11 +861,12 @@ export declare class DescribeRegionsResponseBody extends $tea.Model {
|
|
|
733
861
|
[key: string]: any;
|
|
734
862
|
});
|
|
735
863
|
}
|
|
736
|
-
export declare class
|
|
864
|
+
export declare class DescribeBenchmarkTaskReportResponse extends $tea.Model {
|
|
737
865
|
headers: {
|
|
738
866
|
[key: string]: string;
|
|
739
867
|
};
|
|
740
|
-
|
|
868
|
+
statusCode: number;
|
|
869
|
+
body: DescribeBenchmarkTaskReportResponseBody;
|
|
741
870
|
static names(): {
|
|
742
871
|
[key: string]: string;
|
|
743
872
|
};
|
|
@@ -778,6 +907,7 @@ export declare class DescribeResourceResponse extends $tea.Model {
|
|
|
778
907
|
headers: {
|
|
779
908
|
[key: string]: string;
|
|
780
909
|
};
|
|
910
|
+
statusCode: number;
|
|
781
911
|
body: DescribeResourceResponseBody;
|
|
782
912
|
static names(): {
|
|
783
913
|
[key: string]: string;
|
|
@@ -810,6 +940,7 @@ export declare class DescribeResourceDLinkResponse extends $tea.Model {
|
|
|
810
940
|
headers: {
|
|
811
941
|
[key: string]: string;
|
|
812
942
|
};
|
|
943
|
+
statusCode: number;
|
|
813
944
|
body: DescribeResourceDLinkResponseBody;
|
|
814
945
|
static names(): {
|
|
815
946
|
[key: string]: string;
|
|
@@ -841,6 +972,7 @@ export declare class DescribeResourceLogResponse extends $tea.Model {
|
|
|
841
972
|
headers: {
|
|
842
973
|
[key: string]: string;
|
|
843
974
|
};
|
|
975
|
+
statusCode: number;
|
|
844
976
|
body: DescribeResourceLogResponseBody;
|
|
845
977
|
static names(): {
|
|
846
978
|
[key: string]: string;
|
|
@@ -856,6 +988,7 @@ export declare class DescribeServiceResponse extends $tea.Model {
|
|
|
856
988
|
headers: {
|
|
857
989
|
[key: string]: string;
|
|
858
990
|
};
|
|
991
|
+
statusCode: number;
|
|
859
992
|
body: Service;
|
|
860
993
|
static names(): {
|
|
861
994
|
[key: string]: string;
|
|
@@ -868,6 +1001,9 @@ export declare class DescribeServiceResponse extends $tea.Model {
|
|
|
868
1001
|
});
|
|
869
1002
|
}
|
|
870
1003
|
export declare class DescribeServiceAutoScalerResponseBody extends $tea.Model {
|
|
1004
|
+
behavior?: {
|
|
1005
|
+
[key: string]: any;
|
|
1006
|
+
};
|
|
871
1007
|
currentValues?: {
|
|
872
1008
|
[key: string]: any;
|
|
873
1009
|
};
|
|
@@ -892,6 +1028,7 @@ export declare class DescribeServiceAutoScalerResponse extends $tea.Model {
|
|
|
892
1028
|
headers: {
|
|
893
1029
|
[key: string]: string;
|
|
894
1030
|
};
|
|
1031
|
+
statusCode: number;
|
|
895
1032
|
body: DescribeServiceAutoScalerResponseBody;
|
|
896
1033
|
static names(): {
|
|
897
1034
|
[key: string]: string;
|
|
@@ -922,6 +1059,7 @@ export declare class DescribeServiceCronScalerResponse extends $tea.Model {
|
|
|
922
1059
|
headers: {
|
|
923
1060
|
[key: string]: string;
|
|
924
1061
|
};
|
|
1062
|
+
statusCode: number;
|
|
925
1063
|
body: DescribeServiceCronScalerResponseBody;
|
|
926
1064
|
static names(): {
|
|
927
1065
|
[key: string]: string;
|
|
@@ -970,6 +1108,7 @@ export declare class DescribeServiceLogResponse extends $tea.Model {
|
|
|
970
1108
|
headers: {
|
|
971
1109
|
[key: string]: string;
|
|
972
1110
|
};
|
|
1111
|
+
statusCode: number;
|
|
973
1112
|
body: DescribeServiceLogResponseBody;
|
|
974
1113
|
static names(): {
|
|
975
1114
|
[key: string]: string;
|
|
@@ -1000,6 +1139,7 @@ export declare class DescribeServiceMirrorResponse extends $tea.Model {
|
|
|
1000
1139
|
headers: {
|
|
1001
1140
|
[key: string]: string;
|
|
1002
1141
|
};
|
|
1142
|
+
statusCode: number;
|
|
1003
1143
|
body: DescribeServiceMirrorResponseBody;
|
|
1004
1144
|
static names(): {
|
|
1005
1145
|
[key: string]: string;
|
|
@@ -1011,6 +1151,35 @@ export declare class DescribeServiceMirrorResponse extends $tea.Model {
|
|
|
1011
1151
|
[key: string]: any;
|
|
1012
1152
|
});
|
|
1013
1153
|
}
|
|
1154
|
+
export declare class ListBenchmarkTaskResponseBody extends $tea.Model {
|
|
1155
|
+
requestId?: string;
|
|
1156
|
+
tasks?: ListBenchmarkTaskResponseBodyTasks[];
|
|
1157
|
+
static names(): {
|
|
1158
|
+
[key: string]: string;
|
|
1159
|
+
};
|
|
1160
|
+
static types(): {
|
|
1161
|
+
[key: string]: any;
|
|
1162
|
+
};
|
|
1163
|
+
constructor(map?: {
|
|
1164
|
+
[key: string]: any;
|
|
1165
|
+
});
|
|
1166
|
+
}
|
|
1167
|
+
export declare class ListBenchmarkTaskResponse extends $tea.Model {
|
|
1168
|
+
headers: {
|
|
1169
|
+
[key: string]: string;
|
|
1170
|
+
};
|
|
1171
|
+
statusCode: number;
|
|
1172
|
+
body: ListBenchmarkTaskResponseBody;
|
|
1173
|
+
static names(): {
|
|
1174
|
+
[key: string]: string;
|
|
1175
|
+
};
|
|
1176
|
+
static types(): {
|
|
1177
|
+
[key: string]: any;
|
|
1178
|
+
};
|
|
1179
|
+
constructor(map?: {
|
|
1180
|
+
[key: string]: any;
|
|
1181
|
+
});
|
|
1182
|
+
}
|
|
1014
1183
|
export declare class ListResourceInstanceWorkerRequest extends $tea.Model {
|
|
1015
1184
|
pageNumber?: number;
|
|
1016
1185
|
pageSize?: number;
|
|
@@ -1044,6 +1213,7 @@ export declare class ListResourceInstanceWorkerResponse extends $tea.Model {
|
|
|
1044
1213
|
headers: {
|
|
1045
1214
|
[key: string]: string;
|
|
1046
1215
|
};
|
|
1216
|
+
statusCode: number;
|
|
1047
1217
|
body: ListResourceInstanceWorkerResponseBody;
|
|
1048
1218
|
static names(): {
|
|
1049
1219
|
[key: string]: string;
|
|
@@ -1056,6 +1226,7 @@ export declare class ListResourceInstanceWorkerResponse extends $tea.Model {
|
|
|
1056
1226
|
});
|
|
1057
1227
|
}
|
|
1058
1228
|
export declare class ListResourceInstancesRequest extends $tea.Model {
|
|
1229
|
+
chargeType?: string;
|
|
1059
1230
|
pageNumber?: number;
|
|
1060
1231
|
pageSize?: number;
|
|
1061
1232
|
static names(): {
|
|
@@ -1088,6 +1259,7 @@ export declare class ListResourceInstancesResponse extends $tea.Model {
|
|
|
1088
1259
|
headers: {
|
|
1089
1260
|
[key: string]: string;
|
|
1090
1261
|
};
|
|
1262
|
+
statusCode: number;
|
|
1091
1263
|
body: ListResourceInstancesResponseBody;
|
|
1092
1264
|
static names(): {
|
|
1093
1265
|
[key: string]: string;
|
|
@@ -1132,6 +1304,7 @@ export declare class ListResourceServicesResponse extends $tea.Model {
|
|
|
1132
1304
|
headers: {
|
|
1133
1305
|
[key: string]: string;
|
|
1134
1306
|
};
|
|
1307
|
+
statusCode: number;
|
|
1135
1308
|
body: ListResourceServicesResponseBody;
|
|
1136
1309
|
static names(): {
|
|
1137
1310
|
[key: string]: string;
|
|
@@ -1176,6 +1349,7 @@ export declare class ListResourcesResponse extends $tea.Model {
|
|
|
1176
1349
|
headers: {
|
|
1177
1350
|
[key: string]: string;
|
|
1178
1351
|
};
|
|
1352
|
+
statusCode: number;
|
|
1179
1353
|
body: ListResourcesResponseBody;
|
|
1180
1354
|
static names(): {
|
|
1181
1355
|
[key: string]: string;
|
|
@@ -1220,6 +1394,7 @@ export declare class ListServiceInstancesResponse extends $tea.Model {
|
|
|
1220
1394
|
headers: {
|
|
1221
1395
|
[key: string]: string;
|
|
1222
1396
|
};
|
|
1397
|
+
statusCode: number;
|
|
1223
1398
|
body: ListServiceInstancesResponseBody;
|
|
1224
1399
|
static names(): {
|
|
1225
1400
|
[key: string]: string;
|
|
@@ -1267,6 +1442,7 @@ export declare class ListServicesResponse extends $tea.Model {
|
|
|
1267
1442
|
headers: {
|
|
1268
1443
|
[key: string]: string;
|
|
1269
1444
|
};
|
|
1445
|
+
statusCode: number;
|
|
1270
1446
|
body: ListServicesResponseBody;
|
|
1271
1447
|
static names(): {
|
|
1272
1448
|
[key: string]: string;
|
|
@@ -1307,6 +1483,7 @@ export declare class ReleaseServiceResponse extends $tea.Model {
|
|
|
1307
1483
|
headers: {
|
|
1308
1484
|
[key: string]: string;
|
|
1309
1485
|
};
|
|
1486
|
+
statusCode: number;
|
|
1310
1487
|
body: ReleaseServiceResponseBody;
|
|
1311
1488
|
static names(): {
|
|
1312
1489
|
[key: string]: string;
|
|
@@ -1318,6 +1495,35 @@ export declare class ReleaseServiceResponse extends $tea.Model {
|
|
|
1318
1495
|
[key: string]: any;
|
|
1319
1496
|
});
|
|
1320
1497
|
}
|
|
1498
|
+
export declare class StartBenchmarkTaskResponseBody extends $tea.Model {
|
|
1499
|
+
message?: string;
|
|
1500
|
+
requestId?: string;
|
|
1501
|
+
static names(): {
|
|
1502
|
+
[key: string]: string;
|
|
1503
|
+
};
|
|
1504
|
+
static types(): {
|
|
1505
|
+
[key: string]: any;
|
|
1506
|
+
};
|
|
1507
|
+
constructor(map?: {
|
|
1508
|
+
[key: string]: any;
|
|
1509
|
+
});
|
|
1510
|
+
}
|
|
1511
|
+
export declare class StartBenchmarkTaskResponse extends $tea.Model {
|
|
1512
|
+
headers: {
|
|
1513
|
+
[key: string]: string;
|
|
1514
|
+
};
|
|
1515
|
+
statusCode: number;
|
|
1516
|
+
body: StartBenchmarkTaskResponseBody;
|
|
1517
|
+
static names(): {
|
|
1518
|
+
[key: string]: string;
|
|
1519
|
+
};
|
|
1520
|
+
static types(): {
|
|
1521
|
+
[key: string]: any;
|
|
1522
|
+
};
|
|
1523
|
+
constructor(map?: {
|
|
1524
|
+
[key: string]: any;
|
|
1525
|
+
});
|
|
1526
|
+
}
|
|
1321
1527
|
export declare class StartServiceResponseBody extends $tea.Model {
|
|
1322
1528
|
message?: string;
|
|
1323
1529
|
requestId?: string;
|
|
@@ -1335,6 +1541,7 @@ export declare class StartServiceResponse extends $tea.Model {
|
|
|
1335
1541
|
headers: {
|
|
1336
1542
|
[key: string]: string;
|
|
1337
1543
|
};
|
|
1544
|
+
statusCode: number;
|
|
1338
1545
|
body: StartServiceResponseBody;
|
|
1339
1546
|
static names(): {
|
|
1340
1547
|
[key: string]: string;
|
|
@@ -1346,6 +1553,35 @@ export declare class StartServiceResponse extends $tea.Model {
|
|
|
1346
1553
|
[key: string]: any;
|
|
1347
1554
|
});
|
|
1348
1555
|
}
|
|
1556
|
+
export declare class StopBenchmarkTaskResponseBody extends $tea.Model {
|
|
1557
|
+
message?: string;
|
|
1558
|
+
requestId?: string;
|
|
1559
|
+
static names(): {
|
|
1560
|
+
[key: string]: string;
|
|
1561
|
+
};
|
|
1562
|
+
static types(): {
|
|
1563
|
+
[key: string]: any;
|
|
1564
|
+
};
|
|
1565
|
+
constructor(map?: {
|
|
1566
|
+
[key: string]: any;
|
|
1567
|
+
});
|
|
1568
|
+
}
|
|
1569
|
+
export declare class StopBenchmarkTaskResponse extends $tea.Model {
|
|
1570
|
+
headers: {
|
|
1571
|
+
[key: string]: string;
|
|
1572
|
+
};
|
|
1573
|
+
statusCode: number;
|
|
1574
|
+
body: StopBenchmarkTaskResponseBody;
|
|
1575
|
+
static names(): {
|
|
1576
|
+
[key: string]: string;
|
|
1577
|
+
};
|
|
1578
|
+
static types(): {
|
|
1579
|
+
[key: string]: any;
|
|
1580
|
+
};
|
|
1581
|
+
constructor(map?: {
|
|
1582
|
+
[key: string]: any;
|
|
1583
|
+
});
|
|
1584
|
+
}
|
|
1349
1585
|
export declare class StopServiceResponseBody extends $tea.Model {
|
|
1350
1586
|
message?: string;
|
|
1351
1587
|
requestId?: string;
|
|
@@ -1363,6 +1599,7 @@ export declare class StopServiceResponse extends $tea.Model {
|
|
|
1363
1599
|
headers: {
|
|
1364
1600
|
[key: string]: string;
|
|
1365
1601
|
};
|
|
1602
|
+
statusCode: number;
|
|
1366
1603
|
body: StopServiceResponseBody;
|
|
1367
1604
|
static names(): {
|
|
1368
1605
|
[key: string]: string;
|
|
@@ -1374,6 +1611,47 @@ export declare class StopServiceResponse extends $tea.Model {
|
|
|
1374
1611
|
[key: string]: any;
|
|
1375
1612
|
});
|
|
1376
1613
|
}
|
|
1614
|
+
export declare class UpdateBenchmarkTaskRequest extends $tea.Model {
|
|
1615
|
+
body?: string;
|
|
1616
|
+
static names(): {
|
|
1617
|
+
[key: string]: string;
|
|
1618
|
+
};
|
|
1619
|
+
static types(): {
|
|
1620
|
+
[key: string]: any;
|
|
1621
|
+
};
|
|
1622
|
+
constructor(map?: {
|
|
1623
|
+
[key: string]: any;
|
|
1624
|
+
});
|
|
1625
|
+
}
|
|
1626
|
+
export declare class UpdateBenchmarkTaskResponseBody extends $tea.Model {
|
|
1627
|
+
message?: string;
|
|
1628
|
+
requestId?: string;
|
|
1629
|
+
static names(): {
|
|
1630
|
+
[key: string]: string;
|
|
1631
|
+
};
|
|
1632
|
+
static types(): {
|
|
1633
|
+
[key: string]: any;
|
|
1634
|
+
};
|
|
1635
|
+
constructor(map?: {
|
|
1636
|
+
[key: string]: any;
|
|
1637
|
+
});
|
|
1638
|
+
}
|
|
1639
|
+
export declare class UpdateBenchmarkTaskResponse extends $tea.Model {
|
|
1640
|
+
headers: {
|
|
1641
|
+
[key: string]: string;
|
|
1642
|
+
};
|
|
1643
|
+
statusCode: number;
|
|
1644
|
+
body: UpdateBenchmarkTaskResponseBody;
|
|
1645
|
+
static names(): {
|
|
1646
|
+
[key: string]: string;
|
|
1647
|
+
};
|
|
1648
|
+
static types(): {
|
|
1649
|
+
[key: string]: any;
|
|
1650
|
+
};
|
|
1651
|
+
constructor(map?: {
|
|
1652
|
+
[key: string]: any;
|
|
1653
|
+
});
|
|
1654
|
+
}
|
|
1377
1655
|
export declare class UpdateResourceRequest extends $tea.Model {
|
|
1378
1656
|
resourceName?: string;
|
|
1379
1657
|
static names(): {
|
|
@@ -1404,6 +1682,7 @@ export declare class UpdateResourceResponse extends $tea.Model {
|
|
|
1404
1682
|
headers: {
|
|
1405
1683
|
[key: string]: string;
|
|
1406
1684
|
};
|
|
1685
|
+
statusCode: number;
|
|
1407
1686
|
body: UpdateResourceResponseBody;
|
|
1408
1687
|
static names(): {
|
|
1409
1688
|
[key: string]: string;
|
|
@@ -1447,6 +1726,7 @@ export declare class UpdateResourceDLinkResponse extends $tea.Model {
|
|
|
1447
1726
|
headers: {
|
|
1448
1727
|
[key: string]: string;
|
|
1449
1728
|
};
|
|
1729
|
+
statusCode: number;
|
|
1450
1730
|
body: UpdateResourceDLinkResponseBody;
|
|
1451
1731
|
static names(): {
|
|
1452
1732
|
[key: string]: string;
|
|
@@ -1487,6 +1767,7 @@ export declare class UpdateServiceResponse extends $tea.Model {
|
|
|
1487
1767
|
headers: {
|
|
1488
1768
|
[key: string]: string;
|
|
1489
1769
|
};
|
|
1770
|
+
statusCode: number;
|
|
1490
1771
|
body: UpdateServiceResponseBody;
|
|
1491
1772
|
static names(): {
|
|
1492
1773
|
[key: string]: string;
|
|
@@ -1529,6 +1810,7 @@ export declare class UpdateServiceAutoScalerResponse extends $tea.Model {
|
|
|
1529
1810
|
headers: {
|
|
1530
1811
|
[key: string]: string;
|
|
1531
1812
|
};
|
|
1813
|
+
statusCode: number;
|
|
1532
1814
|
body: UpdateServiceAutoScalerResponseBody;
|
|
1533
1815
|
static names(): {
|
|
1534
1816
|
[key: string]: string;
|
|
@@ -1570,6 +1852,7 @@ export declare class UpdateServiceCronScalerResponse extends $tea.Model {
|
|
|
1570
1852
|
headers: {
|
|
1571
1853
|
[key: string]: string;
|
|
1572
1854
|
};
|
|
1855
|
+
statusCode: number;
|
|
1573
1856
|
body: UpdateServiceCronScalerResponseBody;
|
|
1574
1857
|
static names(): {
|
|
1575
1858
|
[key: string]: string;
|
|
@@ -1611,6 +1894,7 @@ export declare class UpdateServiceMirrorResponse extends $tea.Model {
|
|
|
1611
1894
|
headers: {
|
|
1612
1895
|
[key: string]: string;
|
|
1613
1896
|
};
|
|
1897
|
+
statusCode: number;
|
|
1614
1898
|
body: UpdateServiceMirrorResponseBody;
|
|
1615
1899
|
static names(): {
|
|
1616
1900
|
[key: string]: string;
|
|
@@ -1651,6 +1935,7 @@ export declare class UpdateServiceVersionResponse extends $tea.Model {
|
|
|
1651
1935
|
headers: {
|
|
1652
1936
|
[key: string]: string;
|
|
1653
1937
|
};
|
|
1938
|
+
statusCode: number;
|
|
1654
1939
|
body: UpdateServiceVersionResponseBody;
|
|
1655
1940
|
static names(): {
|
|
1656
1941
|
[key: string]: string;
|
|
@@ -1689,8 +1974,14 @@ export declare class CreateServiceCronScalerRequestScaleJobs extends $tea.Model
|
|
|
1689
1974
|
[key: string]: any;
|
|
1690
1975
|
});
|
|
1691
1976
|
}
|
|
1692
|
-
export declare class
|
|
1693
|
-
|
|
1977
|
+
export declare class DescribeServiceCronScalerResponseBodyScaleJobs extends $tea.Model {
|
|
1978
|
+
createTime?: string;
|
|
1979
|
+
lastProbeTime?: string;
|
|
1980
|
+
message?: string;
|
|
1981
|
+
name?: string;
|
|
1982
|
+
schedule?: string;
|
|
1983
|
+
state?: string;
|
|
1984
|
+
targetSize?: number;
|
|
1694
1985
|
static names(): {
|
|
1695
1986
|
[key: string]: string;
|
|
1696
1987
|
};
|
|
@@ -1701,14 +1992,16 @@ export declare class DescribeRegionsResponseBodyRegions extends $tea.Model {
|
|
|
1701
1992
|
[key: string]: any;
|
|
1702
1993
|
});
|
|
1703
1994
|
}
|
|
1704
|
-
export declare class
|
|
1995
|
+
export declare class ListBenchmarkTaskResponseBodyTasks extends $tea.Model {
|
|
1996
|
+
availableAgent?: number;
|
|
1705
1997
|
createTime?: string;
|
|
1706
|
-
lastProbeTime?: string;
|
|
1707
1998
|
message?: string;
|
|
1708
|
-
|
|
1709
|
-
|
|
1710
|
-
|
|
1711
|
-
|
|
1999
|
+
region?: string;
|
|
2000
|
+
serviceName?: string;
|
|
2001
|
+
status?: string;
|
|
2002
|
+
taskId?: string;
|
|
2003
|
+
taskName?: string;
|
|
2004
|
+
updateTime?: string;
|
|
1712
2005
|
static names(): {
|
|
1713
2006
|
[key: string]: string;
|
|
1714
2007
|
};
|
|
@@ -1751,6 +2044,10 @@ export default class Client extends OpenApi {
|
|
|
1751
2044
|
getEndpoint(productId: string, regionId: string, endpointRule: string, network: string, suffix: string, endpointMap: {
|
|
1752
2045
|
[key: string]: string;
|
|
1753
2046
|
}, endpoint: string): string;
|
|
2047
|
+
createBenchmarkTask(request: CreateBenchmarkTaskRequest): Promise<CreateBenchmarkTaskResponse>;
|
|
2048
|
+
createBenchmarkTaskWithOptions(request: CreateBenchmarkTaskRequest, headers: {
|
|
2049
|
+
[key: string]: string;
|
|
2050
|
+
}, runtime: $Util.RuntimeOptions): Promise<CreateBenchmarkTaskResponse>;
|
|
1754
2051
|
createResource(request: CreateResourceRequest): Promise<CreateResourceResponse>;
|
|
1755
2052
|
createResourceWithOptions(request: CreateResourceRequest, headers: {
|
|
1756
2053
|
[key: string]: string;
|
|
@@ -1779,6 +2076,10 @@ export default class Client extends OpenApi {
|
|
|
1779
2076
|
createServiceMirrorWithOptions(ClusterId: string, ServiceName: string, request: CreateServiceMirrorRequest, headers: {
|
|
1780
2077
|
[key: string]: string;
|
|
1781
2078
|
}, runtime: $Util.RuntimeOptions): Promise<CreateServiceMirrorResponse>;
|
|
2079
|
+
deleteBenchmarkTask(ClusterId: string, TaskName: string): Promise<DeleteBenchmarkTaskResponse>;
|
|
2080
|
+
deleteBenchmarkTaskWithOptions(ClusterId: string, TaskName: string, headers: {
|
|
2081
|
+
[key: string]: string;
|
|
2082
|
+
}, runtime: $Util.RuntimeOptions): Promise<DeleteBenchmarkTaskResponse>;
|
|
1782
2083
|
deleteResource(ClusterId: string, ResourceId: string): Promise<DeleteResourceResponse>;
|
|
1783
2084
|
deleteResourceWithOptions(ClusterId: string, ResourceId: string, headers: {
|
|
1784
2085
|
[key: string]: string;
|
|
@@ -1815,10 +2116,14 @@ export default class Client extends OpenApi {
|
|
|
1815
2116
|
deleteServiceMirrorWithOptions(ClusterId: string, ServiceName: string, headers: {
|
|
1816
2117
|
[key: string]: string;
|
|
1817
2118
|
}, runtime: $Util.RuntimeOptions): Promise<DeleteServiceMirrorResponse>;
|
|
1818
|
-
|
|
1819
|
-
|
|
2119
|
+
describeBenchmarkTask(ClusterId: string, TaskName: string): Promise<DescribeBenchmarkTaskResponse>;
|
|
2120
|
+
describeBenchmarkTaskWithOptions(ClusterId: string, TaskName: string, headers: {
|
|
1820
2121
|
[key: string]: string;
|
|
1821
|
-
}, runtime: $Util.RuntimeOptions): Promise<
|
|
2122
|
+
}, runtime: $Util.RuntimeOptions): Promise<DescribeBenchmarkTaskResponse>;
|
|
2123
|
+
describeBenchmarkTaskReport(ClusterId: string, TaskName: string): Promise<DescribeBenchmarkTaskReportResponse>;
|
|
2124
|
+
describeBenchmarkTaskReportWithOptions(ClusterId: string, TaskName: string, headers: {
|
|
2125
|
+
[key: string]: string;
|
|
2126
|
+
}, runtime: $Util.RuntimeOptions): Promise<DescribeBenchmarkTaskReportResponse>;
|
|
1822
2127
|
describeResource(ClusterId: string, ResourceId: string): Promise<DescribeResourceResponse>;
|
|
1823
2128
|
describeResourceWithOptions(ClusterId: string, ResourceId: string, headers: {
|
|
1824
2129
|
[key: string]: string;
|
|
@@ -1851,6 +2156,10 @@ export default class Client extends OpenApi {
|
|
|
1851
2156
|
describeServiceMirrorWithOptions(ClusterId: string, ServiceName: string, headers: {
|
|
1852
2157
|
[key: string]: string;
|
|
1853
2158
|
}, runtime: $Util.RuntimeOptions): Promise<DescribeServiceMirrorResponse>;
|
|
2159
|
+
listBenchmarkTask(): Promise<ListBenchmarkTaskResponse>;
|
|
2160
|
+
listBenchmarkTaskWithOptions(headers: {
|
|
2161
|
+
[key: string]: string;
|
|
2162
|
+
}, runtime: $Util.RuntimeOptions): Promise<ListBenchmarkTaskResponse>;
|
|
1854
2163
|
listResourceInstanceWorker(ClusterId: string, ResourceId: string, InstanceName: string, request: ListResourceInstanceWorkerRequest): Promise<ListResourceInstanceWorkerResponse>;
|
|
1855
2164
|
listResourceInstanceWorkerWithOptions(ClusterId: string, ResourceId: string, InstanceName: string, request: ListResourceInstanceWorkerRequest, headers: {
|
|
1856
2165
|
[key: string]: string;
|
|
@@ -1879,14 +2188,26 @@ export default class Client extends OpenApi {
|
|
|
1879
2188
|
releaseServiceWithOptions(ClusterId: string, ServiceName: string, request: ReleaseServiceRequest, headers: {
|
|
1880
2189
|
[key: string]: string;
|
|
1881
2190
|
}, runtime: $Util.RuntimeOptions): Promise<ReleaseServiceResponse>;
|
|
2191
|
+
startBenchmarkTask(ClusterId: string, TaskName: string): Promise<StartBenchmarkTaskResponse>;
|
|
2192
|
+
startBenchmarkTaskWithOptions(ClusterId: string, TaskName: string, headers: {
|
|
2193
|
+
[key: string]: string;
|
|
2194
|
+
}, runtime: $Util.RuntimeOptions): Promise<StartBenchmarkTaskResponse>;
|
|
1882
2195
|
startService(ClusterId: string, ServiceName: string): Promise<StartServiceResponse>;
|
|
1883
2196
|
startServiceWithOptions(ClusterId: string, ServiceName: string, headers: {
|
|
1884
2197
|
[key: string]: string;
|
|
1885
2198
|
}, runtime: $Util.RuntimeOptions): Promise<StartServiceResponse>;
|
|
2199
|
+
stopBenchmarkTask(ClusterId: string, TaskName: string): Promise<StopBenchmarkTaskResponse>;
|
|
2200
|
+
stopBenchmarkTaskWithOptions(ClusterId: string, TaskName: string, headers: {
|
|
2201
|
+
[key: string]: string;
|
|
2202
|
+
}, runtime: $Util.RuntimeOptions): Promise<StopBenchmarkTaskResponse>;
|
|
1886
2203
|
stopService(ClusterId: string, ServiceName: string): Promise<StopServiceResponse>;
|
|
1887
2204
|
stopServiceWithOptions(ClusterId: string, ServiceName: string, headers: {
|
|
1888
2205
|
[key: string]: string;
|
|
1889
2206
|
}, runtime: $Util.RuntimeOptions): Promise<StopServiceResponse>;
|
|
2207
|
+
updateBenchmarkTask(ClusterId: string, TaskName: string, request: UpdateBenchmarkTaskRequest): Promise<UpdateBenchmarkTaskResponse>;
|
|
2208
|
+
updateBenchmarkTaskWithOptions(ClusterId: string, TaskName: string, request: UpdateBenchmarkTaskRequest, headers: {
|
|
2209
|
+
[key: string]: string;
|
|
2210
|
+
}, runtime: $Util.RuntimeOptions): Promise<UpdateBenchmarkTaskResponse>;
|
|
1890
2211
|
updateResource(ClusterId: string, ResourceId: string, request: UpdateResourceRequest): Promise<UpdateResourceResponse>;
|
|
1891
2212
|
updateResourceWithOptions(ClusterId: string, ResourceId: string, request: UpdateResourceRequest, headers: {
|
|
1892
2213
|
[key: string]: string;
|