@alicloud/eas20210701 1.1.1 → 1.1.4
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/LICENSE +13 -0
- package/README.md +25 -0
- package/dist/client.d.ts +369 -2
- package/dist/client.js +682 -47
- package/dist/client.js.map +1 -1
- package/package.json +3 -3
- package/src/client.ts +855 -57
package/dist/client.d.ts
CHANGED
|
@@ -13,6 +13,7 @@ export declare class Instance extends $tea.Model {
|
|
|
13
13
|
lastState?: {
|
|
14
14
|
[key: string]: any;
|
|
15
15
|
}[];
|
|
16
|
+
namespace?: string;
|
|
16
17
|
readyProcesses?: number;
|
|
17
18
|
reason?: string;
|
|
18
19
|
restartCount?: number;
|
|
@@ -128,9 +129,10 @@ export declare class Service extends $tea.Model {
|
|
|
128
129
|
serviceConfig?: string;
|
|
129
130
|
serviceId?: string;
|
|
130
131
|
serviceName?: string;
|
|
132
|
+
source?: string;
|
|
131
133
|
status?: string;
|
|
132
134
|
totalInstance?: number;
|
|
133
|
-
|
|
135
|
+
updateTime?: string;
|
|
134
136
|
weight?: number;
|
|
135
137
|
static names(): {
|
|
136
138
|
[key: string]: string;
|
|
@@ -142,6 +144,49 @@ export declare class Service extends $tea.Model {
|
|
|
142
144
|
[key: string]: any;
|
|
143
145
|
});
|
|
144
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
|
+
}
|
|
145
190
|
export declare class CreateResourceRequest extends $tea.Model {
|
|
146
191
|
autoRenewal?: boolean;
|
|
147
192
|
chargeType?: string;
|
|
@@ -161,7 +206,7 @@ export declare class CreateResourceResponseBody extends $tea.Model {
|
|
|
161
206
|
clusterId?: string;
|
|
162
207
|
ownerUid?: string;
|
|
163
208
|
requestId?: string;
|
|
164
|
-
|
|
209
|
+
resourceId?: string;
|
|
165
210
|
resourceName?: string;
|
|
166
211
|
static names(): {
|
|
167
212
|
[key: string]: string;
|
|
@@ -177,6 +222,7 @@ export declare class CreateResourceResponse extends $tea.Model {
|
|
|
177
222
|
headers: {
|
|
178
223
|
[key: string]: string;
|
|
179
224
|
};
|
|
225
|
+
statusCode: number;
|
|
180
226
|
body: CreateResourceResponseBody;
|
|
181
227
|
static names(): {
|
|
182
228
|
[key: string]: string;
|
|
@@ -221,6 +267,7 @@ export declare class CreateResourceInstancesResponse extends $tea.Model {
|
|
|
221
267
|
headers: {
|
|
222
268
|
[key: string]: string;
|
|
223
269
|
};
|
|
270
|
+
statusCode: number;
|
|
224
271
|
body: CreateResourceInstancesResponseBody;
|
|
225
272
|
static names(): {
|
|
226
273
|
[key: string]: string;
|
|
@@ -262,6 +309,7 @@ export declare class CreateResourceLogResponse extends $tea.Model {
|
|
|
262
309
|
headers: {
|
|
263
310
|
[key: string]: string;
|
|
264
311
|
};
|
|
312
|
+
statusCode: number;
|
|
265
313
|
body: CreateResourceLogResponseBody;
|
|
266
314
|
static names(): {
|
|
267
315
|
[key: string]: string;
|
|
@@ -307,6 +355,7 @@ export declare class CreateServiceResponse extends $tea.Model {
|
|
|
307
355
|
headers: {
|
|
308
356
|
[key: string]: string;
|
|
309
357
|
};
|
|
358
|
+
statusCode: number;
|
|
310
359
|
body: CreateServiceResponseBody;
|
|
311
360
|
static names(): {
|
|
312
361
|
[key: string]: string;
|
|
@@ -349,6 +398,7 @@ export declare class CreateServiceAutoScalerResponse extends $tea.Model {
|
|
|
349
398
|
headers: {
|
|
350
399
|
[key: string]: string;
|
|
351
400
|
};
|
|
401
|
+
statusCode: number;
|
|
352
402
|
body: CreateServiceAutoScalerResponseBody;
|
|
353
403
|
static names(): {
|
|
354
404
|
[key: string]: string;
|
|
@@ -390,6 +440,7 @@ export declare class CreateServiceCronScalerResponse extends $tea.Model {
|
|
|
390
440
|
headers: {
|
|
391
441
|
[key: string]: string;
|
|
392
442
|
};
|
|
443
|
+
statusCode: number;
|
|
393
444
|
body: CreateServiceCronScalerResponseBody;
|
|
394
445
|
static names(): {
|
|
395
446
|
[key: string]: string;
|
|
@@ -431,6 +482,7 @@ export declare class CreateServiceMirrorResponse extends $tea.Model {
|
|
|
431
482
|
headers: {
|
|
432
483
|
[key: string]: string;
|
|
433
484
|
};
|
|
485
|
+
statusCode: number;
|
|
434
486
|
body: CreateServiceMirrorResponseBody;
|
|
435
487
|
static names(): {
|
|
436
488
|
[key: string]: string;
|
|
@@ -442,6 +494,35 @@ export declare class CreateServiceMirrorResponse extends $tea.Model {
|
|
|
442
494
|
[key: string]: any;
|
|
443
495
|
});
|
|
444
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
|
+
}
|
|
445
526
|
export declare class DeleteResourceResponseBody extends $tea.Model {
|
|
446
527
|
message?: string;
|
|
447
528
|
requestId?: string;
|
|
@@ -459,6 +540,7 @@ export declare class DeleteResourceResponse extends $tea.Model {
|
|
|
459
540
|
headers: {
|
|
460
541
|
[key: string]: string;
|
|
461
542
|
};
|
|
543
|
+
statusCode: number;
|
|
462
544
|
body: DeleteResourceResponseBody;
|
|
463
545
|
static names(): {
|
|
464
546
|
[key: string]: string;
|
|
@@ -487,6 +569,7 @@ export declare class DeleteResourceDLinkResponse extends $tea.Model {
|
|
|
487
569
|
headers: {
|
|
488
570
|
[key: string]: string;
|
|
489
571
|
};
|
|
572
|
+
statusCode: number;
|
|
490
573
|
body: DeleteResourceDLinkResponseBody;
|
|
491
574
|
static names(): {
|
|
492
575
|
[key: string]: string;
|
|
@@ -528,6 +611,7 @@ export declare class DeleteResourceInstancesResponse extends $tea.Model {
|
|
|
528
611
|
headers: {
|
|
529
612
|
[key: string]: string;
|
|
530
613
|
};
|
|
614
|
+
statusCode: number;
|
|
531
615
|
body: DeleteResourceInstancesResponseBody;
|
|
532
616
|
static names(): {
|
|
533
617
|
[key: string]: string;
|
|
@@ -556,6 +640,7 @@ export declare class DeleteResourceLogResponse extends $tea.Model {
|
|
|
556
640
|
headers: {
|
|
557
641
|
[key: string]: string;
|
|
558
642
|
};
|
|
643
|
+
statusCode: number;
|
|
559
644
|
body: DeleteResourceLogResponseBody;
|
|
560
645
|
static names(): {
|
|
561
646
|
[key: string]: string;
|
|
@@ -584,6 +669,7 @@ export declare class DeleteServiceResponse extends $tea.Model {
|
|
|
584
669
|
headers: {
|
|
585
670
|
[key: string]: string;
|
|
586
671
|
};
|
|
672
|
+
statusCode: number;
|
|
587
673
|
body: DeleteServiceResponseBody;
|
|
588
674
|
static names(): {
|
|
589
675
|
[key: string]: string;
|
|
@@ -612,6 +698,7 @@ export declare class DeleteServiceAutoScalerResponse extends $tea.Model {
|
|
|
612
698
|
headers: {
|
|
613
699
|
[key: string]: string;
|
|
614
700
|
};
|
|
701
|
+
statusCode: number;
|
|
615
702
|
body: DeleteServiceAutoScalerResponseBody;
|
|
616
703
|
static names(): {
|
|
617
704
|
[key: string]: string;
|
|
@@ -640,6 +727,7 @@ export declare class DeleteServiceCronScalerResponse extends $tea.Model {
|
|
|
640
727
|
headers: {
|
|
641
728
|
[key: string]: string;
|
|
642
729
|
};
|
|
730
|
+
statusCode: number;
|
|
643
731
|
body: DeleteServiceCronScalerResponseBody;
|
|
644
732
|
static names(): {
|
|
645
733
|
[key: string]: string;
|
|
@@ -680,6 +768,7 @@ export declare class DeleteServiceInstancesResponse extends $tea.Model {
|
|
|
680
768
|
headers: {
|
|
681
769
|
[key: string]: string;
|
|
682
770
|
};
|
|
771
|
+
statusCode: number;
|
|
683
772
|
body: DeleteServiceInstancesResponseBody;
|
|
684
773
|
static names(): {
|
|
685
774
|
[key: string]: string;
|
|
@@ -708,6 +797,7 @@ export declare class DeleteServiceMirrorResponse extends $tea.Model {
|
|
|
708
797
|
headers: {
|
|
709
798
|
[key: string]: string;
|
|
710
799
|
};
|
|
800
|
+
statusCode: number;
|
|
711
801
|
body: DeleteServiceMirrorResponseBody;
|
|
712
802
|
static names(): {
|
|
713
803
|
[key: string]: string;
|
|
@@ -719,6 +809,74 @@ export declare class DeleteServiceMirrorResponse extends $tea.Model {
|
|
|
719
809
|
[key: string]: any;
|
|
720
810
|
});
|
|
721
811
|
}
|
|
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;
|
|
853
|
+
requestId?: string;
|
|
854
|
+
static names(): {
|
|
855
|
+
[key: string]: string;
|
|
856
|
+
};
|
|
857
|
+
static types(): {
|
|
858
|
+
[key: string]: any;
|
|
859
|
+
};
|
|
860
|
+
constructor(map?: {
|
|
861
|
+
[key: string]: any;
|
|
862
|
+
});
|
|
863
|
+
}
|
|
864
|
+
export declare class DescribeBenchmarkTaskReportResponse extends $tea.Model {
|
|
865
|
+
headers: {
|
|
866
|
+
[key: string]: string;
|
|
867
|
+
};
|
|
868
|
+
statusCode: number;
|
|
869
|
+
body: DescribeBenchmarkTaskReportResponseBody;
|
|
870
|
+
static names(): {
|
|
871
|
+
[key: string]: string;
|
|
872
|
+
};
|
|
873
|
+
static types(): {
|
|
874
|
+
[key: string]: any;
|
|
875
|
+
};
|
|
876
|
+
constructor(map?: {
|
|
877
|
+
[key: string]: any;
|
|
878
|
+
});
|
|
879
|
+
}
|
|
722
880
|
export declare class DescribeResourceResponseBody extends $tea.Model {
|
|
723
881
|
clusterId?: string;
|
|
724
882
|
cpuCount?: number;
|
|
@@ -749,6 +907,7 @@ export declare class DescribeResourceResponse extends $tea.Model {
|
|
|
749
907
|
headers: {
|
|
750
908
|
[key: string]: string;
|
|
751
909
|
};
|
|
910
|
+
statusCode: number;
|
|
752
911
|
body: DescribeResourceResponseBody;
|
|
753
912
|
static names(): {
|
|
754
913
|
[key: string]: string;
|
|
@@ -781,6 +940,7 @@ export declare class DescribeResourceDLinkResponse extends $tea.Model {
|
|
|
781
940
|
headers: {
|
|
782
941
|
[key: string]: string;
|
|
783
942
|
};
|
|
943
|
+
statusCode: number;
|
|
784
944
|
body: DescribeResourceDLinkResponseBody;
|
|
785
945
|
static names(): {
|
|
786
946
|
[key: string]: string;
|
|
@@ -812,6 +972,7 @@ export declare class DescribeResourceLogResponse extends $tea.Model {
|
|
|
812
972
|
headers: {
|
|
813
973
|
[key: string]: string;
|
|
814
974
|
};
|
|
975
|
+
statusCode: number;
|
|
815
976
|
body: DescribeResourceLogResponseBody;
|
|
816
977
|
static names(): {
|
|
817
978
|
[key: string]: string;
|
|
@@ -827,6 +988,7 @@ export declare class DescribeServiceResponse extends $tea.Model {
|
|
|
827
988
|
headers: {
|
|
828
989
|
[key: string]: string;
|
|
829
990
|
};
|
|
991
|
+
statusCode: number;
|
|
830
992
|
body: Service;
|
|
831
993
|
static names(): {
|
|
832
994
|
[key: string]: string;
|
|
@@ -839,6 +1001,9 @@ export declare class DescribeServiceResponse extends $tea.Model {
|
|
|
839
1001
|
});
|
|
840
1002
|
}
|
|
841
1003
|
export declare class DescribeServiceAutoScalerResponseBody extends $tea.Model {
|
|
1004
|
+
currentValues?: {
|
|
1005
|
+
[key: string]: any;
|
|
1006
|
+
};
|
|
842
1007
|
maxReplica?: number;
|
|
843
1008
|
minReplica?: number;
|
|
844
1009
|
requestId?: string;
|
|
@@ -860,6 +1025,7 @@ export declare class DescribeServiceAutoScalerResponse extends $tea.Model {
|
|
|
860
1025
|
headers: {
|
|
861
1026
|
[key: string]: string;
|
|
862
1027
|
};
|
|
1028
|
+
statusCode: number;
|
|
863
1029
|
body: DescribeServiceAutoScalerResponseBody;
|
|
864
1030
|
static names(): {
|
|
865
1031
|
[key: string]: string;
|
|
@@ -890,6 +1056,7 @@ export declare class DescribeServiceCronScalerResponse extends $tea.Model {
|
|
|
890
1056
|
headers: {
|
|
891
1057
|
[key: string]: string;
|
|
892
1058
|
};
|
|
1059
|
+
statusCode: number;
|
|
893
1060
|
body: DescribeServiceCronScalerResponseBody;
|
|
894
1061
|
static names(): {
|
|
895
1062
|
[key: string]: string;
|
|
@@ -938,6 +1105,7 @@ export declare class DescribeServiceLogResponse extends $tea.Model {
|
|
|
938
1105
|
headers: {
|
|
939
1106
|
[key: string]: string;
|
|
940
1107
|
};
|
|
1108
|
+
statusCode: number;
|
|
941
1109
|
body: DescribeServiceLogResponseBody;
|
|
942
1110
|
static names(): {
|
|
943
1111
|
[key: string]: string;
|
|
@@ -968,6 +1136,7 @@ export declare class DescribeServiceMirrorResponse extends $tea.Model {
|
|
|
968
1136
|
headers: {
|
|
969
1137
|
[key: string]: string;
|
|
970
1138
|
};
|
|
1139
|
+
statusCode: number;
|
|
971
1140
|
body: DescribeServiceMirrorResponseBody;
|
|
972
1141
|
static names(): {
|
|
973
1142
|
[key: string]: string;
|
|
@@ -979,6 +1148,35 @@ export declare class DescribeServiceMirrorResponse extends $tea.Model {
|
|
|
979
1148
|
[key: string]: any;
|
|
980
1149
|
});
|
|
981
1150
|
}
|
|
1151
|
+
export declare class ListBenchmarkTaskResponseBody extends $tea.Model {
|
|
1152
|
+
requestId?: string;
|
|
1153
|
+
tasks?: ListBenchmarkTaskResponseBodyTasks[];
|
|
1154
|
+
static names(): {
|
|
1155
|
+
[key: string]: string;
|
|
1156
|
+
};
|
|
1157
|
+
static types(): {
|
|
1158
|
+
[key: string]: any;
|
|
1159
|
+
};
|
|
1160
|
+
constructor(map?: {
|
|
1161
|
+
[key: string]: any;
|
|
1162
|
+
});
|
|
1163
|
+
}
|
|
1164
|
+
export declare class ListBenchmarkTaskResponse extends $tea.Model {
|
|
1165
|
+
headers: {
|
|
1166
|
+
[key: string]: string;
|
|
1167
|
+
};
|
|
1168
|
+
statusCode: number;
|
|
1169
|
+
body: ListBenchmarkTaskResponseBody;
|
|
1170
|
+
static names(): {
|
|
1171
|
+
[key: string]: string;
|
|
1172
|
+
};
|
|
1173
|
+
static types(): {
|
|
1174
|
+
[key: string]: any;
|
|
1175
|
+
};
|
|
1176
|
+
constructor(map?: {
|
|
1177
|
+
[key: string]: any;
|
|
1178
|
+
});
|
|
1179
|
+
}
|
|
982
1180
|
export declare class ListResourceInstanceWorkerRequest extends $tea.Model {
|
|
983
1181
|
pageNumber?: number;
|
|
984
1182
|
pageSize?: number;
|
|
@@ -1012,6 +1210,7 @@ export declare class ListResourceInstanceWorkerResponse extends $tea.Model {
|
|
|
1012
1210
|
headers: {
|
|
1013
1211
|
[key: string]: string;
|
|
1014
1212
|
};
|
|
1213
|
+
statusCode: number;
|
|
1015
1214
|
body: ListResourceInstanceWorkerResponseBody;
|
|
1016
1215
|
static names(): {
|
|
1017
1216
|
[key: string]: string;
|
|
@@ -1024,6 +1223,7 @@ export declare class ListResourceInstanceWorkerResponse extends $tea.Model {
|
|
|
1024
1223
|
});
|
|
1025
1224
|
}
|
|
1026
1225
|
export declare class ListResourceInstancesRequest extends $tea.Model {
|
|
1226
|
+
chargeType?: string;
|
|
1027
1227
|
pageNumber?: number;
|
|
1028
1228
|
pageSize?: number;
|
|
1029
1229
|
static names(): {
|
|
@@ -1056,6 +1256,7 @@ export declare class ListResourceInstancesResponse extends $tea.Model {
|
|
|
1056
1256
|
headers: {
|
|
1057
1257
|
[key: string]: string;
|
|
1058
1258
|
};
|
|
1259
|
+
statusCode: number;
|
|
1059
1260
|
body: ListResourceInstancesResponseBody;
|
|
1060
1261
|
static names(): {
|
|
1061
1262
|
[key: string]: string;
|
|
@@ -1100,6 +1301,7 @@ export declare class ListResourceServicesResponse extends $tea.Model {
|
|
|
1100
1301
|
headers: {
|
|
1101
1302
|
[key: string]: string;
|
|
1102
1303
|
};
|
|
1304
|
+
statusCode: number;
|
|
1103
1305
|
body: ListResourceServicesResponseBody;
|
|
1104
1306
|
static names(): {
|
|
1105
1307
|
[key: string]: string;
|
|
@@ -1144,6 +1346,7 @@ export declare class ListResourcesResponse extends $tea.Model {
|
|
|
1144
1346
|
headers: {
|
|
1145
1347
|
[key: string]: string;
|
|
1146
1348
|
};
|
|
1349
|
+
statusCode: number;
|
|
1147
1350
|
body: ListResourcesResponseBody;
|
|
1148
1351
|
static names(): {
|
|
1149
1352
|
[key: string]: string;
|
|
@@ -1188,6 +1391,7 @@ export declare class ListServiceInstancesResponse extends $tea.Model {
|
|
|
1188
1391
|
headers: {
|
|
1189
1392
|
[key: string]: string;
|
|
1190
1393
|
};
|
|
1394
|
+
statusCode: number;
|
|
1191
1395
|
body: ListServiceInstancesResponseBody;
|
|
1192
1396
|
static names(): {
|
|
1193
1397
|
[key: string]: string;
|
|
@@ -1235,6 +1439,7 @@ export declare class ListServicesResponse extends $tea.Model {
|
|
|
1235
1439
|
headers: {
|
|
1236
1440
|
[key: string]: string;
|
|
1237
1441
|
};
|
|
1442
|
+
statusCode: number;
|
|
1238
1443
|
body: ListServicesResponseBody;
|
|
1239
1444
|
static names(): {
|
|
1240
1445
|
[key: string]: string;
|
|
@@ -1275,6 +1480,7 @@ export declare class ReleaseServiceResponse extends $tea.Model {
|
|
|
1275
1480
|
headers: {
|
|
1276
1481
|
[key: string]: string;
|
|
1277
1482
|
};
|
|
1483
|
+
statusCode: number;
|
|
1278
1484
|
body: ReleaseServiceResponseBody;
|
|
1279
1485
|
static names(): {
|
|
1280
1486
|
[key: string]: string;
|
|
@@ -1286,6 +1492,35 @@ export declare class ReleaseServiceResponse extends $tea.Model {
|
|
|
1286
1492
|
[key: string]: any;
|
|
1287
1493
|
});
|
|
1288
1494
|
}
|
|
1495
|
+
export declare class StartBenchmarkTaskResponseBody extends $tea.Model {
|
|
1496
|
+
message?: string;
|
|
1497
|
+
requestId?: string;
|
|
1498
|
+
static names(): {
|
|
1499
|
+
[key: string]: string;
|
|
1500
|
+
};
|
|
1501
|
+
static types(): {
|
|
1502
|
+
[key: string]: any;
|
|
1503
|
+
};
|
|
1504
|
+
constructor(map?: {
|
|
1505
|
+
[key: string]: any;
|
|
1506
|
+
});
|
|
1507
|
+
}
|
|
1508
|
+
export declare class StartBenchmarkTaskResponse extends $tea.Model {
|
|
1509
|
+
headers: {
|
|
1510
|
+
[key: string]: string;
|
|
1511
|
+
};
|
|
1512
|
+
statusCode: number;
|
|
1513
|
+
body: StartBenchmarkTaskResponseBody;
|
|
1514
|
+
static names(): {
|
|
1515
|
+
[key: string]: string;
|
|
1516
|
+
};
|
|
1517
|
+
static types(): {
|
|
1518
|
+
[key: string]: any;
|
|
1519
|
+
};
|
|
1520
|
+
constructor(map?: {
|
|
1521
|
+
[key: string]: any;
|
|
1522
|
+
});
|
|
1523
|
+
}
|
|
1289
1524
|
export declare class StartServiceResponseBody extends $tea.Model {
|
|
1290
1525
|
message?: string;
|
|
1291
1526
|
requestId?: string;
|
|
@@ -1303,6 +1538,7 @@ export declare class StartServiceResponse extends $tea.Model {
|
|
|
1303
1538
|
headers: {
|
|
1304
1539
|
[key: string]: string;
|
|
1305
1540
|
};
|
|
1541
|
+
statusCode: number;
|
|
1306
1542
|
body: StartServiceResponseBody;
|
|
1307
1543
|
static names(): {
|
|
1308
1544
|
[key: string]: string;
|
|
@@ -1314,6 +1550,35 @@ export declare class StartServiceResponse extends $tea.Model {
|
|
|
1314
1550
|
[key: string]: any;
|
|
1315
1551
|
});
|
|
1316
1552
|
}
|
|
1553
|
+
export declare class StopBenchmarkTaskResponseBody extends $tea.Model {
|
|
1554
|
+
message?: string;
|
|
1555
|
+
requestId?: string;
|
|
1556
|
+
static names(): {
|
|
1557
|
+
[key: string]: string;
|
|
1558
|
+
};
|
|
1559
|
+
static types(): {
|
|
1560
|
+
[key: string]: any;
|
|
1561
|
+
};
|
|
1562
|
+
constructor(map?: {
|
|
1563
|
+
[key: string]: any;
|
|
1564
|
+
});
|
|
1565
|
+
}
|
|
1566
|
+
export declare class StopBenchmarkTaskResponse extends $tea.Model {
|
|
1567
|
+
headers: {
|
|
1568
|
+
[key: string]: string;
|
|
1569
|
+
};
|
|
1570
|
+
statusCode: number;
|
|
1571
|
+
body: StopBenchmarkTaskResponseBody;
|
|
1572
|
+
static names(): {
|
|
1573
|
+
[key: string]: string;
|
|
1574
|
+
};
|
|
1575
|
+
static types(): {
|
|
1576
|
+
[key: string]: any;
|
|
1577
|
+
};
|
|
1578
|
+
constructor(map?: {
|
|
1579
|
+
[key: string]: any;
|
|
1580
|
+
});
|
|
1581
|
+
}
|
|
1317
1582
|
export declare class StopServiceResponseBody extends $tea.Model {
|
|
1318
1583
|
message?: string;
|
|
1319
1584
|
requestId?: string;
|
|
@@ -1331,6 +1596,7 @@ export declare class StopServiceResponse extends $tea.Model {
|
|
|
1331
1596
|
headers: {
|
|
1332
1597
|
[key: string]: string;
|
|
1333
1598
|
};
|
|
1599
|
+
statusCode: number;
|
|
1334
1600
|
body: StopServiceResponseBody;
|
|
1335
1601
|
static names(): {
|
|
1336
1602
|
[key: string]: string;
|
|
@@ -1342,6 +1608,47 @@ export declare class StopServiceResponse extends $tea.Model {
|
|
|
1342
1608
|
[key: string]: any;
|
|
1343
1609
|
});
|
|
1344
1610
|
}
|
|
1611
|
+
export declare class UpdateBenchmarkTaskRequest extends $tea.Model {
|
|
1612
|
+
body?: string;
|
|
1613
|
+
static names(): {
|
|
1614
|
+
[key: string]: string;
|
|
1615
|
+
};
|
|
1616
|
+
static types(): {
|
|
1617
|
+
[key: string]: any;
|
|
1618
|
+
};
|
|
1619
|
+
constructor(map?: {
|
|
1620
|
+
[key: string]: any;
|
|
1621
|
+
});
|
|
1622
|
+
}
|
|
1623
|
+
export declare class UpdateBenchmarkTaskResponseBody extends $tea.Model {
|
|
1624
|
+
message?: string;
|
|
1625
|
+
requestId?: string;
|
|
1626
|
+
static names(): {
|
|
1627
|
+
[key: string]: string;
|
|
1628
|
+
};
|
|
1629
|
+
static types(): {
|
|
1630
|
+
[key: string]: any;
|
|
1631
|
+
};
|
|
1632
|
+
constructor(map?: {
|
|
1633
|
+
[key: string]: any;
|
|
1634
|
+
});
|
|
1635
|
+
}
|
|
1636
|
+
export declare class UpdateBenchmarkTaskResponse extends $tea.Model {
|
|
1637
|
+
headers: {
|
|
1638
|
+
[key: string]: string;
|
|
1639
|
+
};
|
|
1640
|
+
statusCode: number;
|
|
1641
|
+
body: UpdateBenchmarkTaskResponseBody;
|
|
1642
|
+
static names(): {
|
|
1643
|
+
[key: string]: string;
|
|
1644
|
+
};
|
|
1645
|
+
static types(): {
|
|
1646
|
+
[key: string]: any;
|
|
1647
|
+
};
|
|
1648
|
+
constructor(map?: {
|
|
1649
|
+
[key: string]: any;
|
|
1650
|
+
});
|
|
1651
|
+
}
|
|
1345
1652
|
export declare class UpdateResourceRequest extends $tea.Model {
|
|
1346
1653
|
resourceName?: string;
|
|
1347
1654
|
static names(): {
|
|
@@ -1372,6 +1679,7 @@ export declare class UpdateResourceResponse extends $tea.Model {
|
|
|
1372
1679
|
headers: {
|
|
1373
1680
|
[key: string]: string;
|
|
1374
1681
|
};
|
|
1682
|
+
statusCode: number;
|
|
1375
1683
|
body: UpdateResourceResponseBody;
|
|
1376
1684
|
static names(): {
|
|
1377
1685
|
[key: string]: string;
|
|
@@ -1415,6 +1723,7 @@ export declare class UpdateResourceDLinkResponse extends $tea.Model {
|
|
|
1415
1723
|
headers: {
|
|
1416
1724
|
[key: string]: string;
|
|
1417
1725
|
};
|
|
1726
|
+
statusCode: number;
|
|
1418
1727
|
body: UpdateResourceDLinkResponseBody;
|
|
1419
1728
|
static names(): {
|
|
1420
1729
|
[key: string]: string;
|
|
@@ -1455,6 +1764,7 @@ export declare class UpdateServiceResponse extends $tea.Model {
|
|
|
1455
1764
|
headers: {
|
|
1456
1765
|
[key: string]: string;
|
|
1457
1766
|
};
|
|
1767
|
+
statusCode: number;
|
|
1458
1768
|
body: UpdateServiceResponseBody;
|
|
1459
1769
|
static names(): {
|
|
1460
1770
|
[key: string]: string;
|
|
@@ -1497,6 +1807,7 @@ export declare class UpdateServiceAutoScalerResponse extends $tea.Model {
|
|
|
1497
1807
|
headers: {
|
|
1498
1808
|
[key: string]: string;
|
|
1499
1809
|
};
|
|
1810
|
+
statusCode: number;
|
|
1500
1811
|
body: UpdateServiceAutoScalerResponseBody;
|
|
1501
1812
|
static names(): {
|
|
1502
1813
|
[key: string]: string;
|
|
@@ -1538,6 +1849,7 @@ export declare class UpdateServiceCronScalerResponse extends $tea.Model {
|
|
|
1538
1849
|
headers: {
|
|
1539
1850
|
[key: string]: string;
|
|
1540
1851
|
};
|
|
1852
|
+
statusCode: number;
|
|
1541
1853
|
body: UpdateServiceCronScalerResponseBody;
|
|
1542
1854
|
static names(): {
|
|
1543
1855
|
[key: string]: string;
|
|
@@ -1579,6 +1891,7 @@ export declare class UpdateServiceMirrorResponse extends $tea.Model {
|
|
|
1579
1891
|
headers: {
|
|
1580
1892
|
[key: string]: string;
|
|
1581
1893
|
};
|
|
1894
|
+
statusCode: number;
|
|
1582
1895
|
body: UpdateServiceMirrorResponseBody;
|
|
1583
1896
|
static names(): {
|
|
1584
1897
|
[key: string]: string;
|
|
@@ -1619,6 +1932,7 @@ export declare class UpdateServiceVersionResponse extends $tea.Model {
|
|
|
1619
1932
|
headers: {
|
|
1620
1933
|
[key: string]: string;
|
|
1621
1934
|
};
|
|
1935
|
+
statusCode: number;
|
|
1622
1936
|
body: UpdateServiceVersionResponseBody;
|
|
1623
1937
|
static names(): {
|
|
1624
1938
|
[key: string]: string;
|
|
@@ -1658,6 +1972,7 @@ export declare class CreateServiceCronScalerRequestScaleJobs extends $tea.Model
|
|
|
1658
1972
|
});
|
|
1659
1973
|
}
|
|
1660
1974
|
export declare class DescribeServiceCronScalerResponseBodyScaleJobs extends $tea.Model {
|
|
1975
|
+
createTime?: string;
|
|
1661
1976
|
lastProbeTime?: string;
|
|
1662
1977
|
message?: string;
|
|
1663
1978
|
name?: string;
|
|
@@ -1674,6 +1989,26 @@ export declare class DescribeServiceCronScalerResponseBodyScaleJobs extends $tea
|
|
|
1674
1989
|
[key: string]: any;
|
|
1675
1990
|
});
|
|
1676
1991
|
}
|
|
1992
|
+
export declare class ListBenchmarkTaskResponseBodyTasks extends $tea.Model {
|
|
1993
|
+
availableAgent?: number;
|
|
1994
|
+
createTime?: string;
|
|
1995
|
+
message?: string;
|
|
1996
|
+
region?: string;
|
|
1997
|
+
serviceName?: string;
|
|
1998
|
+
status?: string;
|
|
1999
|
+
taskId?: string;
|
|
2000
|
+
taskName?: string;
|
|
2001
|
+
updateTime?: string;
|
|
2002
|
+
static names(): {
|
|
2003
|
+
[key: string]: string;
|
|
2004
|
+
};
|
|
2005
|
+
static types(): {
|
|
2006
|
+
[key: string]: any;
|
|
2007
|
+
};
|
|
2008
|
+
constructor(map?: {
|
|
2009
|
+
[key: string]: any;
|
|
2010
|
+
});
|
|
2011
|
+
}
|
|
1677
2012
|
export declare class UpdateServiceAutoScalerRequestStrategies extends $tea.Model {
|
|
1678
2013
|
cpu?: number;
|
|
1679
2014
|
qps?: number;
|
|
@@ -1706,6 +2041,10 @@ export default class Client extends OpenApi {
|
|
|
1706
2041
|
getEndpoint(productId: string, regionId: string, endpointRule: string, network: string, suffix: string, endpointMap: {
|
|
1707
2042
|
[key: string]: string;
|
|
1708
2043
|
}, endpoint: string): string;
|
|
2044
|
+
createBenchmarkTask(request: CreateBenchmarkTaskRequest): Promise<CreateBenchmarkTaskResponse>;
|
|
2045
|
+
createBenchmarkTaskWithOptions(request: CreateBenchmarkTaskRequest, headers: {
|
|
2046
|
+
[key: string]: string;
|
|
2047
|
+
}, runtime: $Util.RuntimeOptions): Promise<CreateBenchmarkTaskResponse>;
|
|
1709
2048
|
createResource(request: CreateResourceRequest): Promise<CreateResourceResponse>;
|
|
1710
2049
|
createResourceWithOptions(request: CreateResourceRequest, headers: {
|
|
1711
2050
|
[key: string]: string;
|
|
@@ -1734,6 +2073,10 @@ export default class Client extends OpenApi {
|
|
|
1734
2073
|
createServiceMirrorWithOptions(ClusterId: string, ServiceName: string, request: CreateServiceMirrorRequest, headers: {
|
|
1735
2074
|
[key: string]: string;
|
|
1736
2075
|
}, runtime: $Util.RuntimeOptions): Promise<CreateServiceMirrorResponse>;
|
|
2076
|
+
deleteBenchmarkTask(ClusterId: string, TaskName: string): Promise<DeleteBenchmarkTaskResponse>;
|
|
2077
|
+
deleteBenchmarkTaskWithOptions(ClusterId: string, TaskName: string, headers: {
|
|
2078
|
+
[key: string]: string;
|
|
2079
|
+
}, runtime: $Util.RuntimeOptions): Promise<DeleteBenchmarkTaskResponse>;
|
|
1737
2080
|
deleteResource(ClusterId: string, ResourceId: string): Promise<DeleteResourceResponse>;
|
|
1738
2081
|
deleteResourceWithOptions(ClusterId: string, ResourceId: string, headers: {
|
|
1739
2082
|
[key: string]: string;
|
|
@@ -1770,6 +2113,14 @@ export default class Client extends OpenApi {
|
|
|
1770
2113
|
deleteServiceMirrorWithOptions(ClusterId: string, ServiceName: string, headers: {
|
|
1771
2114
|
[key: string]: string;
|
|
1772
2115
|
}, runtime: $Util.RuntimeOptions): Promise<DeleteServiceMirrorResponse>;
|
|
2116
|
+
describeBenchmarkTask(ClusterId: string, TaskName: string): Promise<DescribeBenchmarkTaskResponse>;
|
|
2117
|
+
describeBenchmarkTaskWithOptions(ClusterId: string, TaskName: string, headers: {
|
|
2118
|
+
[key: string]: string;
|
|
2119
|
+
}, runtime: $Util.RuntimeOptions): Promise<DescribeBenchmarkTaskResponse>;
|
|
2120
|
+
describeBenchmarkTaskReport(ClusterId: string, TaskName: string): Promise<DescribeBenchmarkTaskReportResponse>;
|
|
2121
|
+
describeBenchmarkTaskReportWithOptions(ClusterId: string, TaskName: string, headers: {
|
|
2122
|
+
[key: string]: string;
|
|
2123
|
+
}, runtime: $Util.RuntimeOptions): Promise<DescribeBenchmarkTaskReportResponse>;
|
|
1773
2124
|
describeResource(ClusterId: string, ResourceId: string): Promise<DescribeResourceResponse>;
|
|
1774
2125
|
describeResourceWithOptions(ClusterId: string, ResourceId: string, headers: {
|
|
1775
2126
|
[key: string]: string;
|
|
@@ -1802,6 +2153,10 @@ export default class Client extends OpenApi {
|
|
|
1802
2153
|
describeServiceMirrorWithOptions(ClusterId: string, ServiceName: string, headers: {
|
|
1803
2154
|
[key: string]: string;
|
|
1804
2155
|
}, runtime: $Util.RuntimeOptions): Promise<DescribeServiceMirrorResponse>;
|
|
2156
|
+
listBenchmarkTask(): Promise<ListBenchmarkTaskResponse>;
|
|
2157
|
+
listBenchmarkTaskWithOptions(headers: {
|
|
2158
|
+
[key: string]: string;
|
|
2159
|
+
}, runtime: $Util.RuntimeOptions): Promise<ListBenchmarkTaskResponse>;
|
|
1805
2160
|
listResourceInstanceWorker(ClusterId: string, ResourceId: string, InstanceName: string, request: ListResourceInstanceWorkerRequest): Promise<ListResourceInstanceWorkerResponse>;
|
|
1806
2161
|
listResourceInstanceWorkerWithOptions(ClusterId: string, ResourceId: string, InstanceName: string, request: ListResourceInstanceWorkerRequest, headers: {
|
|
1807
2162
|
[key: string]: string;
|
|
@@ -1830,14 +2185,26 @@ export default class Client extends OpenApi {
|
|
|
1830
2185
|
releaseServiceWithOptions(ClusterId: string, ServiceName: string, request: ReleaseServiceRequest, headers: {
|
|
1831
2186
|
[key: string]: string;
|
|
1832
2187
|
}, runtime: $Util.RuntimeOptions): Promise<ReleaseServiceResponse>;
|
|
2188
|
+
startBenchmarkTask(ClusterId: string, TaskName: string): Promise<StartBenchmarkTaskResponse>;
|
|
2189
|
+
startBenchmarkTaskWithOptions(ClusterId: string, TaskName: string, headers: {
|
|
2190
|
+
[key: string]: string;
|
|
2191
|
+
}, runtime: $Util.RuntimeOptions): Promise<StartBenchmarkTaskResponse>;
|
|
1833
2192
|
startService(ClusterId: string, ServiceName: string): Promise<StartServiceResponse>;
|
|
1834
2193
|
startServiceWithOptions(ClusterId: string, ServiceName: string, headers: {
|
|
1835
2194
|
[key: string]: string;
|
|
1836
2195
|
}, runtime: $Util.RuntimeOptions): Promise<StartServiceResponse>;
|
|
2196
|
+
stopBenchmarkTask(ClusterId: string, TaskName: string): Promise<StopBenchmarkTaskResponse>;
|
|
2197
|
+
stopBenchmarkTaskWithOptions(ClusterId: string, TaskName: string, headers: {
|
|
2198
|
+
[key: string]: string;
|
|
2199
|
+
}, runtime: $Util.RuntimeOptions): Promise<StopBenchmarkTaskResponse>;
|
|
1837
2200
|
stopService(ClusterId: string, ServiceName: string): Promise<StopServiceResponse>;
|
|
1838
2201
|
stopServiceWithOptions(ClusterId: string, ServiceName: string, headers: {
|
|
1839
2202
|
[key: string]: string;
|
|
1840
2203
|
}, runtime: $Util.RuntimeOptions): Promise<StopServiceResponse>;
|
|
2204
|
+
updateBenchmarkTask(ClusterId: string, TaskName: string, request: UpdateBenchmarkTaskRequest): Promise<UpdateBenchmarkTaskResponse>;
|
|
2205
|
+
updateBenchmarkTaskWithOptions(ClusterId: string, TaskName: string, request: UpdateBenchmarkTaskRequest, headers: {
|
|
2206
|
+
[key: string]: string;
|
|
2207
|
+
}, runtime: $Util.RuntimeOptions): Promise<UpdateBenchmarkTaskResponse>;
|
|
1841
2208
|
updateResource(ClusterId: string, ResourceId: string, request: UpdateResourceRequest): Promise<UpdateResourceResponse>;
|
|
1842
2209
|
updateResourceWithOptions(ClusterId: string, ResourceId: string, request: UpdateResourceRequest, headers: {
|
|
1843
2210
|
[key: string]: string;
|