@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/src/client.ts
CHANGED
|
@@ -255,9 +255,10 @@ export class Service extends $tea.Model {
|
|
|
255
255
|
serviceConfig?: string;
|
|
256
256
|
serviceId?: string;
|
|
257
257
|
serviceName?: string;
|
|
258
|
+
source?: string;
|
|
258
259
|
status?: string;
|
|
259
260
|
totalInstance?: number;
|
|
260
|
-
|
|
261
|
+
updateTime?: string;
|
|
261
262
|
weight?: number;
|
|
262
263
|
static names(): { [key: string]: string } {
|
|
263
264
|
return {
|
|
@@ -284,9 +285,10 @@ export class Service extends $tea.Model {
|
|
|
284
285
|
serviceConfig: 'ServiceConfig',
|
|
285
286
|
serviceId: 'ServiceId',
|
|
286
287
|
serviceName: 'ServiceName',
|
|
288
|
+
source: 'Source',
|
|
287
289
|
status: 'Status',
|
|
288
290
|
totalInstance: 'TotalInstance',
|
|
289
|
-
|
|
291
|
+
updateTime: 'UpdateTime',
|
|
290
292
|
weight: 'Weight',
|
|
291
293
|
};
|
|
292
294
|
}
|
|
@@ -316,9 +318,10 @@ export class Service extends $tea.Model {
|
|
|
316
318
|
serviceConfig: 'string',
|
|
317
319
|
serviceId: 'string',
|
|
318
320
|
serviceName: 'string',
|
|
321
|
+
source: 'string',
|
|
319
322
|
status: 'string',
|
|
320
323
|
totalInstance: 'number',
|
|
321
|
-
|
|
324
|
+
updateTime: 'string',
|
|
322
325
|
weight: 'number',
|
|
323
326
|
};
|
|
324
327
|
}
|
|
@@ -328,6 +331,78 @@ export class Service extends $tea.Model {
|
|
|
328
331
|
}
|
|
329
332
|
}
|
|
330
333
|
|
|
334
|
+
export class CreateBenchmarkTaskRequest extends $tea.Model {
|
|
335
|
+
body?: string;
|
|
336
|
+
static names(): { [key: string]: string } {
|
|
337
|
+
return {
|
|
338
|
+
body: 'body',
|
|
339
|
+
};
|
|
340
|
+
}
|
|
341
|
+
|
|
342
|
+
static types(): { [key: string]: any } {
|
|
343
|
+
return {
|
|
344
|
+
body: 'string',
|
|
345
|
+
};
|
|
346
|
+
}
|
|
347
|
+
|
|
348
|
+
constructor(map?: { [key: string]: any }) {
|
|
349
|
+
super(map);
|
|
350
|
+
}
|
|
351
|
+
}
|
|
352
|
+
|
|
353
|
+
export class CreateBenchmarkTaskResponseBody extends $tea.Model {
|
|
354
|
+
message?: string;
|
|
355
|
+
name?: string;
|
|
356
|
+
region?: string;
|
|
357
|
+
requestId?: string;
|
|
358
|
+
static names(): { [key: string]: string } {
|
|
359
|
+
return {
|
|
360
|
+
message: 'Message',
|
|
361
|
+
name: 'Name',
|
|
362
|
+
region: 'Region',
|
|
363
|
+
requestId: 'RequestId',
|
|
364
|
+
};
|
|
365
|
+
}
|
|
366
|
+
|
|
367
|
+
static types(): { [key: string]: any } {
|
|
368
|
+
return {
|
|
369
|
+
message: 'string',
|
|
370
|
+
name: 'string',
|
|
371
|
+
region: 'string',
|
|
372
|
+
requestId: 'string',
|
|
373
|
+
};
|
|
374
|
+
}
|
|
375
|
+
|
|
376
|
+
constructor(map?: { [key: string]: any }) {
|
|
377
|
+
super(map);
|
|
378
|
+
}
|
|
379
|
+
}
|
|
380
|
+
|
|
381
|
+
export class CreateBenchmarkTaskResponse extends $tea.Model {
|
|
382
|
+
headers: { [key: string]: string };
|
|
383
|
+
statusCode: number;
|
|
384
|
+
body: CreateBenchmarkTaskResponseBody;
|
|
385
|
+
static names(): { [key: string]: string } {
|
|
386
|
+
return {
|
|
387
|
+
headers: 'headers',
|
|
388
|
+
statusCode: 'statusCode',
|
|
389
|
+
body: 'body',
|
|
390
|
+
};
|
|
391
|
+
}
|
|
392
|
+
|
|
393
|
+
static types(): { [key: string]: any } {
|
|
394
|
+
return {
|
|
395
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
396
|
+
statusCode: 'number',
|
|
397
|
+
body: CreateBenchmarkTaskResponseBody,
|
|
398
|
+
};
|
|
399
|
+
}
|
|
400
|
+
|
|
401
|
+
constructor(map?: { [key: string]: any }) {
|
|
402
|
+
super(map);
|
|
403
|
+
}
|
|
404
|
+
}
|
|
405
|
+
|
|
331
406
|
export class CreateResourceRequest extends $tea.Model {
|
|
332
407
|
autoRenewal?: boolean;
|
|
333
408
|
chargeType?: string;
|
|
@@ -389,10 +464,12 @@ export class CreateResourceResponseBody extends $tea.Model {
|
|
|
389
464
|
|
|
390
465
|
export class CreateResourceResponse extends $tea.Model {
|
|
391
466
|
headers: { [key: string]: string };
|
|
467
|
+
statusCode: number;
|
|
392
468
|
body: CreateResourceResponseBody;
|
|
393
469
|
static names(): { [key: string]: string } {
|
|
394
470
|
return {
|
|
395
471
|
headers: 'headers',
|
|
472
|
+
statusCode: 'statusCode',
|
|
396
473
|
body: 'body',
|
|
397
474
|
};
|
|
398
475
|
}
|
|
@@ -400,6 +477,7 @@ export class CreateResourceResponse extends $tea.Model {
|
|
|
400
477
|
static types(): { [key: string]: any } {
|
|
401
478
|
return {
|
|
402
479
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
480
|
+
statusCode: 'number',
|
|
403
481
|
body: CreateResourceResponseBody,
|
|
404
482
|
};
|
|
405
483
|
}
|
|
@@ -464,10 +542,12 @@ export class CreateResourceInstancesResponseBody extends $tea.Model {
|
|
|
464
542
|
|
|
465
543
|
export class CreateResourceInstancesResponse extends $tea.Model {
|
|
466
544
|
headers: { [key: string]: string };
|
|
545
|
+
statusCode: number;
|
|
467
546
|
body: CreateResourceInstancesResponseBody;
|
|
468
547
|
static names(): { [key: string]: string } {
|
|
469
548
|
return {
|
|
470
549
|
headers: 'headers',
|
|
550
|
+
statusCode: 'statusCode',
|
|
471
551
|
body: 'body',
|
|
472
552
|
};
|
|
473
553
|
}
|
|
@@ -475,6 +555,7 @@ export class CreateResourceInstancesResponse extends $tea.Model {
|
|
|
475
555
|
static types(): { [key: string]: any } {
|
|
476
556
|
return {
|
|
477
557
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
558
|
+
statusCode: 'number',
|
|
478
559
|
body: CreateResourceInstancesResponseBody,
|
|
479
560
|
};
|
|
480
561
|
}
|
|
@@ -530,10 +611,12 @@ export class CreateResourceLogResponseBody extends $tea.Model {
|
|
|
530
611
|
|
|
531
612
|
export class CreateResourceLogResponse extends $tea.Model {
|
|
532
613
|
headers: { [key: string]: string };
|
|
614
|
+
statusCode: number;
|
|
533
615
|
body: CreateResourceLogResponseBody;
|
|
534
616
|
static names(): { [key: string]: string } {
|
|
535
617
|
return {
|
|
536
618
|
headers: 'headers',
|
|
619
|
+
statusCode: 'statusCode',
|
|
537
620
|
body: 'body',
|
|
538
621
|
};
|
|
539
622
|
}
|
|
@@ -541,6 +624,7 @@ export class CreateResourceLogResponse extends $tea.Model {
|
|
|
541
624
|
static types(): { [key: string]: any } {
|
|
542
625
|
return {
|
|
543
626
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
627
|
+
statusCode: 'number',
|
|
544
628
|
body: CreateResourceLogResponseBody,
|
|
545
629
|
};
|
|
546
630
|
}
|
|
@@ -608,10 +692,12 @@ export class CreateServiceResponseBody extends $tea.Model {
|
|
|
608
692
|
|
|
609
693
|
export class CreateServiceResponse extends $tea.Model {
|
|
610
694
|
headers: { [key: string]: string };
|
|
695
|
+
statusCode: number;
|
|
611
696
|
body: CreateServiceResponseBody;
|
|
612
697
|
static names(): { [key: string]: string } {
|
|
613
698
|
return {
|
|
614
699
|
headers: 'headers',
|
|
700
|
+
statusCode: 'statusCode',
|
|
615
701
|
body: 'body',
|
|
616
702
|
};
|
|
617
703
|
}
|
|
@@ -619,6 +705,7 @@ export class CreateServiceResponse extends $tea.Model {
|
|
|
619
705
|
static types(): { [key: string]: any } {
|
|
620
706
|
return {
|
|
621
707
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
708
|
+
statusCode: 'number',
|
|
622
709
|
body: CreateServiceResponseBody,
|
|
623
710
|
};
|
|
624
711
|
}
|
|
@@ -634,9 +721,9 @@ export class CreateServiceAutoScalerRequest extends $tea.Model {
|
|
|
634
721
|
strategies?: CreateServiceAutoScalerRequestStrategies;
|
|
635
722
|
static names(): { [key: string]: string } {
|
|
636
723
|
return {
|
|
637
|
-
max: '
|
|
638
|
-
min: '
|
|
639
|
-
strategies: '
|
|
724
|
+
max: 'max',
|
|
725
|
+
min: 'min',
|
|
726
|
+
strategies: 'strategies',
|
|
640
727
|
};
|
|
641
728
|
}
|
|
642
729
|
|
|
@@ -677,10 +764,12 @@ export class CreateServiceAutoScalerResponseBody extends $tea.Model {
|
|
|
677
764
|
|
|
678
765
|
export class CreateServiceAutoScalerResponse extends $tea.Model {
|
|
679
766
|
headers: { [key: string]: string };
|
|
767
|
+
statusCode: number;
|
|
680
768
|
body: CreateServiceAutoScalerResponseBody;
|
|
681
769
|
static names(): { [key: string]: string } {
|
|
682
770
|
return {
|
|
683
771
|
headers: 'headers',
|
|
772
|
+
statusCode: 'statusCode',
|
|
684
773
|
body: 'body',
|
|
685
774
|
};
|
|
686
775
|
}
|
|
@@ -688,6 +777,7 @@ export class CreateServiceAutoScalerResponse extends $tea.Model {
|
|
|
688
777
|
static types(): { [key: string]: any } {
|
|
689
778
|
return {
|
|
690
779
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
780
|
+
statusCode: 'number',
|
|
691
781
|
body: CreateServiceAutoScalerResponseBody,
|
|
692
782
|
};
|
|
693
783
|
}
|
|
@@ -743,10 +833,12 @@ export class CreateServiceCronScalerResponseBody extends $tea.Model {
|
|
|
743
833
|
|
|
744
834
|
export class CreateServiceCronScalerResponse extends $tea.Model {
|
|
745
835
|
headers: { [key: string]: string };
|
|
836
|
+
statusCode: number;
|
|
746
837
|
body: CreateServiceCronScalerResponseBody;
|
|
747
838
|
static names(): { [key: string]: string } {
|
|
748
839
|
return {
|
|
749
840
|
headers: 'headers',
|
|
841
|
+
statusCode: 'statusCode',
|
|
750
842
|
body: 'body',
|
|
751
843
|
};
|
|
752
844
|
}
|
|
@@ -754,6 +846,7 @@ export class CreateServiceCronScalerResponse extends $tea.Model {
|
|
|
754
846
|
static types(): { [key: string]: any } {
|
|
755
847
|
return {
|
|
756
848
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
849
|
+
statusCode: 'number',
|
|
757
850
|
body: CreateServiceCronScalerResponseBody,
|
|
758
851
|
};
|
|
759
852
|
}
|
|
@@ -809,10 +902,12 @@ export class CreateServiceMirrorResponseBody extends $tea.Model {
|
|
|
809
902
|
|
|
810
903
|
export class CreateServiceMirrorResponse extends $tea.Model {
|
|
811
904
|
headers: { [key: string]: string };
|
|
905
|
+
statusCode: number;
|
|
812
906
|
body: CreateServiceMirrorResponseBody;
|
|
813
907
|
static names(): { [key: string]: string } {
|
|
814
908
|
return {
|
|
815
909
|
headers: 'headers',
|
|
910
|
+
statusCode: 'statusCode',
|
|
816
911
|
body: 'body',
|
|
817
912
|
};
|
|
818
913
|
}
|
|
@@ -820,6 +915,7 @@ export class CreateServiceMirrorResponse extends $tea.Model {
|
|
|
820
915
|
static types(): { [key: string]: any } {
|
|
821
916
|
return {
|
|
822
917
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
918
|
+
statusCode: 'number',
|
|
823
919
|
body: CreateServiceMirrorResponseBody,
|
|
824
920
|
};
|
|
825
921
|
}
|
|
@@ -829,6 +925,53 @@ export class CreateServiceMirrorResponse extends $tea.Model {
|
|
|
829
925
|
}
|
|
830
926
|
}
|
|
831
927
|
|
|
928
|
+
export class DeleteBenchmarkTaskResponseBody extends $tea.Model {
|
|
929
|
+
message?: string;
|
|
930
|
+
requestId?: string;
|
|
931
|
+
static names(): { [key: string]: string } {
|
|
932
|
+
return {
|
|
933
|
+
message: 'Message',
|
|
934
|
+
requestId: 'RequestId',
|
|
935
|
+
};
|
|
936
|
+
}
|
|
937
|
+
|
|
938
|
+
static types(): { [key: string]: any } {
|
|
939
|
+
return {
|
|
940
|
+
message: 'string',
|
|
941
|
+
requestId: 'string',
|
|
942
|
+
};
|
|
943
|
+
}
|
|
944
|
+
|
|
945
|
+
constructor(map?: { [key: string]: any }) {
|
|
946
|
+
super(map);
|
|
947
|
+
}
|
|
948
|
+
}
|
|
949
|
+
|
|
950
|
+
export class DeleteBenchmarkTaskResponse extends $tea.Model {
|
|
951
|
+
headers: { [key: string]: string };
|
|
952
|
+
statusCode: number;
|
|
953
|
+
body: DeleteBenchmarkTaskResponseBody;
|
|
954
|
+
static names(): { [key: string]: string } {
|
|
955
|
+
return {
|
|
956
|
+
headers: 'headers',
|
|
957
|
+
statusCode: 'statusCode',
|
|
958
|
+
body: 'body',
|
|
959
|
+
};
|
|
960
|
+
}
|
|
961
|
+
|
|
962
|
+
static types(): { [key: string]: any } {
|
|
963
|
+
return {
|
|
964
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
965
|
+
statusCode: 'number',
|
|
966
|
+
body: DeleteBenchmarkTaskResponseBody,
|
|
967
|
+
};
|
|
968
|
+
}
|
|
969
|
+
|
|
970
|
+
constructor(map?: { [key: string]: any }) {
|
|
971
|
+
super(map);
|
|
972
|
+
}
|
|
973
|
+
}
|
|
974
|
+
|
|
832
975
|
export class DeleteResourceResponseBody extends $tea.Model {
|
|
833
976
|
message?: string;
|
|
834
977
|
requestId?: string;
|
|
@@ -853,10 +996,12 @@ export class DeleteResourceResponseBody extends $tea.Model {
|
|
|
853
996
|
|
|
854
997
|
export class DeleteResourceResponse extends $tea.Model {
|
|
855
998
|
headers: { [key: string]: string };
|
|
999
|
+
statusCode: number;
|
|
856
1000
|
body: DeleteResourceResponseBody;
|
|
857
1001
|
static names(): { [key: string]: string } {
|
|
858
1002
|
return {
|
|
859
1003
|
headers: 'headers',
|
|
1004
|
+
statusCode: 'statusCode',
|
|
860
1005
|
body: 'body',
|
|
861
1006
|
};
|
|
862
1007
|
}
|
|
@@ -864,6 +1009,7 @@ export class DeleteResourceResponse extends $tea.Model {
|
|
|
864
1009
|
static types(): { [key: string]: any } {
|
|
865
1010
|
return {
|
|
866
1011
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1012
|
+
statusCode: 'number',
|
|
867
1013
|
body: DeleteResourceResponseBody,
|
|
868
1014
|
};
|
|
869
1015
|
}
|
|
@@ -897,10 +1043,12 @@ export class DeleteResourceDLinkResponseBody extends $tea.Model {
|
|
|
897
1043
|
|
|
898
1044
|
export class DeleteResourceDLinkResponse extends $tea.Model {
|
|
899
1045
|
headers: { [key: string]: string };
|
|
1046
|
+
statusCode: number;
|
|
900
1047
|
body: DeleteResourceDLinkResponseBody;
|
|
901
1048
|
static names(): { [key: string]: string } {
|
|
902
1049
|
return {
|
|
903
1050
|
headers: 'headers',
|
|
1051
|
+
statusCode: 'statusCode',
|
|
904
1052
|
body: 'body',
|
|
905
1053
|
};
|
|
906
1054
|
}
|
|
@@ -908,6 +1056,7 @@ export class DeleteResourceDLinkResponse extends $tea.Model {
|
|
|
908
1056
|
static types(): { [key: string]: any } {
|
|
909
1057
|
return {
|
|
910
1058
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1059
|
+
statusCode: 'number',
|
|
911
1060
|
body: DeleteResourceDLinkResponseBody,
|
|
912
1061
|
};
|
|
913
1062
|
}
|
|
@@ -963,10 +1112,12 @@ export class DeleteResourceInstancesResponseBody extends $tea.Model {
|
|
|
963
1112
|
|
|
964
1113
|
export class DeleteResourceInstancesResponse extends $tea.Model {
|
|
965
1114
|
headers: { [key: string]: string };
|
|
1115
|
+
statusCode: number;
|
|
966
1116
|
body: DeleteResourceInstancesResponseBody;
|
|
967
1117
|
static names(): { [key: string]: string } {
|
|
968
1118
|
return {
|
|
969
1119
|
headers: 'headers',
|
|
1120
|
+
statusCode: 'statusCode',
|
|
970
1121
|
body: 'body',
|
|
971
1122
|
};
|
|
972
1123
|
}
|
|
@@ -974,6 +1125,7 @@ export class DeleteResourceInstancesResponse extends $tea.Model {
|
|
|
974
1125
|
static types(): { [key: string]: any } {
|
|
975
1126
|
return {
|
|
976
1127
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1128
|
+
statusCode: 'number',
|
|
977
1129
|
body: DeleteResourceInstancesResponseBody,
|
|
978
1130
|
};
|
|
979
1131
|
}
|
|
@@ -1007,10 +1159,12 @@ export class DeleteResourceLogResponseBody extends $tea.Model {
|
|
|
1007
1159
|
|
|
1008
1160
|
export class DeleteResourceLogResponse extends $tea.Model {
|
|
1009
1161
|
headers: { [key: string]: string };
|
|
1162
|
+
statusCode: number;
|
|
1010
1163
|
body: DeleteResourceLogResponseBody;
|
|
1011
1164
|
static names(): { [key: string]: string } {
|
|
1012
1165
|
return {
|
|
1013
1166
|
headers: 'headers',
|
|
1167
|
+
statusCode: 'statusCode',
|
|
1014
1168
|
body: 'body',
|
|
1015
1169
|
};
|
|
1016
1170
|
}
|
|
@@ -1018,6 +1172,7 @@ export class DeleteResourceLogResponse extends $tea.Model {
|
|
|
1018
1172
|
static types(): { [key: string]: any } {
|
|
1019
1173
|
return {
|
|
1020
1174
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1175
|
+
statusCode: 'number',
|
|
1021
1176
|
body: DeleteResourceLogResponseBody,
|
|
1022
1177
|
};
|
|
1023
1178
|
}
|
|
@@ -1051,10 +1206,12 @@ export class DeleteServiceResponseBody extends $tea.Model {
|
|
|
1051
1206
|
|
|
1052
1207
|
export class DeleteServiceResponse extends $tea.Model {
|
|
1053
1208
|
headers: { [key: string]: string };
|
|
1209
|
+
statusCode: number;
|
|
1054
1210
|
body: DeleteServiceResponseBody;
|
|
1055
1211
|
static names(): { [key: string]: string } {
|
|
1056
1212
|
return {
|
|
1057
1213
|
headers: 'headers',
|
|
1214
|
+
statusCode: 'statusCode',
|
|
1058
1215
|
body: 'body',
|
|
1059
1216
|
};
|
|
1060
1217
|
}
|
|
@@ -1062,6 +1219,7 @@ export class DeleteServiceResponse extends $tea.Model {
|
|
|
1062
1219
|
static types(): { [key: string]: any } {
|
|
1063
1220
|
return {
|
|
1064
1221
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1222
|
+
statusCode: 'number',
|
|
1065
1223
|
body: DeleteServiceResponseBody,
|
|
1066
1224
|
};
|
|
1067
1225
|
}
|
|
@@ -1095,10 +1253,12 @@ export class DeleteServiceAutoScalerResponseBody extends $tea.Model {
|
|
|
1095
1253
|
|
|
1096
1254
|
export class DeleteServiceAutoScalerResponse extends $tea.Model {
|
|
1097
1255
|
headers: { [key: string]: string };
|
|
1256
|
+
statusCode: number;
|
|
1098
1257
|
body: DeleteServiceAutoScalerResponseBody;
|
|
1099
1258
|
static names(): { [key: string]: string } {
|
|
1100
1259
|
return {
|
|
1101
1260
|
headers: 'headers',
|
|
1261
|
+
statusCode: 'statusCode',
|
|
1102
1262
|
body: 'body',
|
|
1103
1263
|
};
|
|
1104
1264
|
}
|
|
@@ -1106,6 +1266,7 @@ export class DeleteServiceAutoScalerResponse extends $tea.Model {
|
|
|
1106
1266
|
static types(): { [key: string]: any } {
|
|
1107
1267
|
return {
|
|
1108
1268
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1269
|
+
statusCode: 'number',
|
|
1109
1270
|
body: DeleteServiceAutoScalerResponseBody,
|
|
1110
1271
|
};
|
|
1111
1272
|
}
|
|
@@ -1139,10 +1300,12 @@ export class DeleteServiceCronScalerResponseBody extends $tea.Model {
|
|
|
1139
1300
|
|
|
1140
1301
|
export class DeleteServiceCronScalerResponse extends $tea.Model {
|
|
1141
1302
|
headers: { [key: string]: string };
|
|
1303
|
+
statusCode: number;
|
|
1142
1304
|
body: DeleteServiceCronScalerResponseBody;
|
|
1143
1305
|
static names(): { [key: string]: string } {
|
|
1144
1306
|
return {
|
|
1145
1307
|
headers: 'headers',
|
|
1308
|
+
statusCode: 'statusCode',
|
|
1146
1309
|
body: 'body',
|
|
1147
1310
|
};
|
|
1148
1311
|
}
|
|
@@ -1150,6 +1313,7 @@ export class DeleteServiceCronScalerResponse extends $tea.Model {
|
|
|
1150
1313
|
static types(): { [key: string]: any } {
|
|
1151
1314
|
return {
|
|
1152
1315
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1316
|
+
statusCode: 'number',
|
|
1153
1317
|
body: DeleteServiceCronScalerResponseBody,
|
|
1154
1318
|
};
|
|
1155
1319
|
}
|
|
@@ -1202,10 +1366,12 @@ export class DeleteServiceInstancesResponseBody extends $tea.Model {
|
|
|
1202
1366
|
|
|
1203
1367
|
export class DeleteServiceInstancesResponse extends $tea.Model {
|
|
1204
1368
|
headers: { [key: string]: string };
|
|
1369
|
+
statusCode: number;
|
|
1205
1370
|
body: DeleteServiceInstancesResponseBody;
|
|
1206
1371
|
static names(): { [key: string]: string } {
|
|
1207
1372
|
return {
|
|
1208
1373
|
headers: 'headers',
|
|
1374
|
+
statusCode: 'statusCode',
|
|
1209
1375
|
body: 'body',
|
|
1210
1376
|
};
|
|
1211
1377
|
}
|
|
@@ -1213,6 +1379,7 @@ export class DeleteServiceInstancesResponse extends $tea.Model {
|
|
|
1213
1379
|
static types(): { [key: string]: any } {
|
|
1214
1380
|
return {
|
|
1215
1381
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1382
|
+
statusCode: 'number',
|
|
1216
1383
|
body: DeleteServiceInstancesResponseBody,
|
|
1217
1384
|
};
|
|
1218
1385
|
}
|
|
@@ -1246,10 +1413,12 @@ export class DeleteServiceMirrorResponseBody extends $tea.Model {
|
|
|
1246
1413
|
|
|
1247
1414
|
export class DeleteServiceMirrorResponse extends $tea.Model {
|
|
1248
1415
|
headers: { [key: string]: string };
|
|
1416
|
+
statusCode: number;
|
|
1249
1417
|
body: DeleteServiceMirrorResponseBody;
|
|
1250
1418
|
static names(): { [key: string]: string } {
|
|
1251
1419
|
return {
|
|
1252
1420
|
headers: 'headers',
|
|
1421
|
+
statusCode: 'statusCode',
|
|
1253
1422
|
body: 'body',
|
|
1254
1423
|
};
|
|
1255
1424
|
}
|
|
@@ -1257,6 +1426,7 @@ export class DeleteServiceMirrorResponse extends $tea.Model {
|
|
|
1257
1426
|
static types(): { [key: string]: any } {
|
|
1258
1427
|
return {
|
|
1259
1428
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1429
|
+
statusCode: 'number',
|
|
1260
1430
|
body: DeleteServiceMirrorResponseBody,
|
|
1261
1431
|
};
|
|
1262
1432
|
}
|
|
@@ -1266,19 +1436,96 @@ export class DeleteServiceMirrorResponse extends $tea.Model {
|
|
|
1266
1436
|
}
|
|
1267
1437
|
}
|
|
1268
1438
|
|
|
1269
|
-
export class
|
|
1270
|
-
|
|
1439
|
+
export class DescribeBenchmarkTaskResponseBody extends $tea.Model {
|
|
1440
|
+
availableAgent?: number;
|
|
1441
|
+
callerUid?: string;
|
|
1442
|
+
desiredAgent?: number;
|
|
1443
|
+
message?: string;
|
|
1444
|
+
parentUid?: string;
|
|
1445
|
+
reason?: string;
|
|
1446
|
+
requestId?: string;
|
|
1447
|
+
serviceName?: string;
|
|
1448
|
+
status?: string;
|
|
1449
|
+
taskId?: string;
|
|
1450
|
+
taskName?: string;
|
|
1451
|
+
token?: string;
|
|
1452
|
+
static names(): { [key: string]: string } {
|
|
1453
|
+
return {
|
|
1454
|
+
availableAgent: 'AvailableAgent',
|
|
1455
|
+
callerUid: 'CallerUid',
|
|
1456
|
+
desiredAgent: 'DesiredAgent',
|
|
1457
|
+
message: 'Message',
|
|
1458
|
+
parentUid: 'ParentUid',
|
|
1459
|
+
reason: 'Reason',
|
|
1460
|
+
requestId: 'RequestId',
|
|
1461
|
+
serviceName: 'ServiceName',
|
|
1462
|
+
status: 'Status',
|
|
1463
|
+
taskId: 'TaskId',
|
|
1464
|
+
taskName: 'TaskName',
|
|
1465
|
+
token: 'Token',
|
|
1466
|
+
};
|
|
1467
|
+
}
|
|
1468
|
+
|
|
1469
|
+
static types(): { [key: string]: any } {
|
|
1470
|
+
return {
|
|
1471
|
+
availableAgent: 'number',
|
|
1472
|
+
callerUid: 'string',
|
|
1473
|
+
desiredAgent: 'number',
|
|
1474
|
+
message: 'string',
|
|
1475
|
+
parentUid: 'string',
|
|
1476
|
+
reason: 'string',
|
|
1477
|
+
requestId: 'string',
|
|
1478
|
+
serviceName: 'string',
|
|
1479
|
+
status: 'string',
|
|
1480
|
+
taskId: 'string',
|
|
1481
|
+
taskName: 'string',
|
|
1482
|
+
token: 'string',
|
|
1483
|
+
};
|
|
1484
|
+
}
|
|
1485
|
+
|
|
1486
|
+
constructor(map?: { [key: string]: any }) {
|
|
1487
|
+
super(map);
|
|
1488
|
+
}
|
|
1489
|
+
}
|
|
1490
|
+
|
|
1491
|
+
export class DescribeBenchmarkTaskResponse extends $tea.Model {
|
|
1492
|
+
headers: { [key: string]: string };
|
|
1493
|
+
statusCode: number;
|
|
1494
|
+
body: DescribeBenchmarkTaskResponseBody;
|
|
1495
|
+
static names(): { [key: string]: string } {
|
|
1496
|
+
return {
|
|
1497
|
+
headers: 'headers',
|
|
1498
|
+
statusCode: 'statusCode',
|
|
1499
|
+
body: 'body',
|
|
1500
|
+
};
|
|
1501
|
+
}
|
|
1502
|
+
|
|
1503
|
+
static types(): { [key: string]: any } {
|
|
1504
|
+
return {
|
|
1505
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1506
|
+
statusCode: 'number',
|
|
1507
|
+
body: DescribeBenchmarkTaskResponseBody,
|
|
1508
|
+
};
|
|
1509
|
+
}
|
|
1510
|
+
|
|
1511
|
+
constructor(map?: { [key: string]: any }) {
|
|
1512
|
+
super(map);
|
|
1513
|
+
}
|
|
1514
|
+
}
|
|
1515
|
+
|
|
1516
|
+
export class DescribeBenchmarkTaskReportResponseBody extends $tea.Model {
|
|
1517
|
+
reportUrl?: string;
|
|
1271
1518
|
requestId?: string;
|
|
1272
1519
|
static names(): { [key: string]: string } {
|
|
1273
1520
|
return {
|
|
1274
|
-
|
|
1521
|
+
reportUrl: 'ReportUrl',
|
|
1275
1522
|
requestId: 'RequestId',
|
|
1276
1523
|
};
|
|
1277
1524
|
}
|
|
1278
1525
|
|
|
1279
1526
|
static types(): { [key: string]: any } {
|
|
1280
1527
|
return {
|
|
1281
|
-
|
|
1528
|
+
reportUrl: 'string',
|
|
1282
1529
|
requestId: 'string',
|
|
1283
1530
|
};
|
|
1284
1531
|
}
|
|
@@ -1288,12 +1535,14 @@ export class DescribeRegionsResponseBody extends $tea.Model {
|
|
|
1288
1535
|
}
|
|
1289
1536
|
}
|
|
1290
1537
|
|
|
1291
|
-
export class
|
|
1538
|
+
export class DescribeBenchmarkTaskReportResponse extends $tea.Model {
|
|
1292
1539
|
headers: { [key: string]: string };
|
|
1293
|
-
|
|
1540
|
+
statusCode: number;
|
|
1541
|
+
body: DescribeBenchmarkTaskReportResponseBody;
|
|
1294
1542
|
static names(): { [key: string]: string } {
|
|
1295
1543
|
return {
|
|
1296
1544
|
headers: 'headers',
|
|
1545
|
+
statusCode: 'statusCode',
|
|
1297
1546
|
body: 'body',
|
|
1298
1547
|
};
|
|
1299
1548
|
}
|
|
@@ -1301,7 +1550,8 @@ export class DescribeRegionsResponse extends $tea.Model {
|
|
|
1301
1550
|
static types(): { [key: string]: any } {
|
|
1302
1551
|
return {
|
|
1303
1552
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1304
|
-
|
|
1553
|
+
statusCode: 'number',
|
|
1554
|
+
body: DescribeBenchmarkTaskReportResponseBody,
|
|
1305
1555
|
};
|
|
1306
1556
|
}
|
|
1307
1557
|
|
|
@@ -1373,10 +1623,12 @@ export class DescribeResourceResponseBody extends $tea.Model {
|
|
|
1373
1623
|
|
|
1374
1624
|
export class DescribeResourceResponse extends $tea.Model {
|
|
1375
1625
|
headers: { [key: string]: string };
|
|
1626
|
+
statusCode: number;
|
|
1376
1627
|
body: DescribeResourceResponseBody;
|
|
1377
1628
|
static names(): { [key: string]: string } {
|
|
1378
1629
|
return {
|
|
1379
1630
|
headers: 'headers',
|
|
1631
|
+
statusCode: 'statusCode',
|
|
1380
1632
|
body: 'body',
|
|
1381
1633
|
};
|
|
1382
1634
|
}
|
|
@@ -1384,6 +1636,7 @@ export class DescribeResourceResponse extends $tea.Model {
|
|
|
1384
1636
|
static types(): { [key: string]: any } {
|
|
1385
1637
|
return {
|
|
1386
1638
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1639
|
+
statusCode: 'number',
|
|
1387
1640
|
body: DescribeResourceResponseBody,
|
|
1388
1641
|
};
|
|
1389
1642
|
}
|
|
@@ -1429,10 +1682,12 @@ export class DescribeResourceDLinkResponseBody extends $tea.Model {
|
|
|
1429
1682
|
|
|
1430
1683
|
export class DescribeResourceDLinkResponse extends $tea.Model {
|
|
1431
1684
|
headers: { [key: string]: string };
|
|
1685
|
+
statusCode: number;
|
|
1432
1686
|
body: DescribeResourceDLinkResponseBody;
|
|
1433
1687
|
static names(): { [key: string]: string } {
|
|
1434
1688
|
return {
|
|
1435
1689
|
headers: 'headers',
|
|
1690
|
+
statusCode: 'statusCode',
|
|
1436
1691
|
body: 'body',
|
|
1437
1692
|
};
|
|
1438
1693
|
}
|
|
@@ -1440,6 +1695,7 @@ export class DescribeResourceDLinkResponse extends $tea.Model {
|
|
|
1440
1695
|
static types(): { [key: string]: any } {
|
|
1441
1696
|
return {
|
|
1442
1697
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1698
|
+
statusCode: 'number',
|
|
1443
1699
|
body: DescribeResourceDLinkResponseBody,
|
|
1444
1700
|
};
|
|
1445
1701
|
}
|
|
@@ -1482,10 +1738,12 @@ export class DescribeResourceLogResponseBody extends $tea.Model {
|
|
|
1482
1738
|
|
|
1483
1739
|
export class DescribeResourceLogResponse extends $tea.Model {
|
|
1484
1740
|
headers: { [key: string]: string };
|
|
1741
|
+
statusCode: number;
|
|
1485
1742
|
body: DescribeResourceLogResponseBody;
|
|
1486
1743
|
static names(): { [key: string]: string } {
|
|
1487
1744
|
return {
|
|
1488
1745
|
headers: 'headers',
|
|
1746
|
+
statusCode: 'statusCode',
|
|
1489
1747
|
body: 'body',
|
|
1490
1748
|
};
|
|
1491
1749
|
}
|
|
@@ -1493,6 +1751,7 @@ export class DescribeResourceLogResponse extends $tea.Model {
|
|
|
1493
1751
|
static types(): { [key: string]: any } {
|
|
1494
1752
|
return {
|
|
1495
1753
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1754
|
+
statusCode: 'number',
|
|
1496
1755
|
body: DescribeResourceLogResponseBody,
|
|
1497
1756
|
};
|
|
1498
1757
|
}
|
|
@@ -1504,10 +1763,12 @@ export class DescribeResourceLogResponse extends $tea.Model {
|
|
|
1504
1763
|
|
|
1505
1764
|
export class DescribeServiceResponse extends $tea.Model {
|
|
1506
1765
|
headers: { [key: string]: string };
|
|
1766
|
+
statusCode: number;
|
|
1507
1767
|
body: Service;
|
|
1508
1768
|
static names(): { [key: string]: string } {
|
|
1509
1769
|
return {
|
|
1510
1770
|
headers: 'headers',
|
|
1771
|
+
statusCode: 'statusCode',
|
|
1511
1772
|
body: 'body',
|
|
1512
1773
|
};
|
|
1513
1774
|
}
|
|
@@ -1515,6 +1776,7 @@ export class DescribeServiceResponse extends $tea.Model {
|
|
|
1515
1776
|
static types(): { [key: string]: any } {
|
|
1516
1777
|
return {
|
|
1517
1778
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1779
|
+
statusCode: 'number',
|
|
1518
1780
|
body: Service,
|
|
1519
1781
|
};
|
|
1520
1782
|
}
|
|
@@ -1525,6 +1787,7 @@ export class DescribeServiceResponse extends $tea.Model {
|
|
|
1525
1787
|
}
|
|
1526
1788
|
|
|
1527
1789
|
export class DescribeServiceAutoScalerResponseBody extends $tea.Model {
|
|
1790
|
+
behavior?: { [key: string]: any };
|
|
1528
1791
|
currentValues?: { [key: string]: any };
|
|
1529
1792
|
maxReplica?: number;
|
|
1530
1793
|
minReplica?: number;
|
|
@@ -1533,6 +1796,7 @@ export class DescribeServiceAutoScalerResponseBody extends $tea.Model {
|
|
|
1533
1796
|
strategies?: { [key: string]: any };
|
|
1534
1797
|
static names(): { [key: string]: string } {
|
|
1535
1798
|
return {
|
|
1799
|
+
behavior: 'Behavior',
|
|
1536
1800
|
currentValues: 'CurrentValues',
|
|
1537
1801
|
maxReplica: 'MaxReplica',
|
|
1538
1802
|
minReplica: 'MinReplica',
|
|
@@ -1544,6 +1808,7 @@ export class DescribeServiceAutoScalerResponseBody extends $tea.Model {
|
|
|
1544
1808
|
|
|
1545
1809
|
static types(): { [key: string]: any } {
|
|
1546
1810
|
return {
|
|
1811
|
+
behavior: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
1547
1812
|
currentValues: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
1548
1813
|
maxReplica: 'number',
|
|
1549
1814
|
minReplica: 'number',
|
|
@@ -1560,10 +1825,12 @@ export class DescribeServiceAutoScalerResponseBody extends $tea.Model {
|
|
|
1560
1825
|
|
|
1561
1826
|
export class DescribeServiceAutoScalerResponse extends $tea.Model {
|
|
1562
1827
|
headers: { [key: string]: string };
|
|
1828
|
+
statusCode: number;
|
|
1563
1829
|
body: DescribeServiceAutoScalerResponseBody;
|
|
1564
1830
|
static names(): { [key: string]: string } {
|
|
1565
1831
|
return {
|
|
1566
1832
|
headers: 'headers',
|
|
1833
|
+
statusCode: 'statusCode',
|
|
1567
1834
|
body: 'body',
|
|
1568
1835
|
};
|
|
1569
1836
|
}
|
|
@@ -1571,6 +1838,7 @@ export class DescribeServiceAutoScalerResponse extends $tea.Model {
|
|
|
1571
1838
|
static types(): { [key: string]: any } {
|
|
1572
1839
|
return {
|
|
1573
1840
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1841
|
+
statusCode: 'number',
|
|
1574
1842
|
body: DescribeServiceAutoScalerResponseBody,
|
|
1575
1843
|
};
|
|
1576
1844
|
}
|
|
@@ -1610,10 +1878,12 @@ export class DescribeServiceCronScalerResponseBody extends $tea.Model {
|
|
|
1610
1878
|
|
|
1611
1879
|
export class DescribeServiceCronScalerResponse extends $tea.Model {
|
|
1612
1880
|
headers: { [key: string]: string };
|
|
1881
|
+
statusCode: number;
|
|
1613
1882
|
body: DescribeServiceCronScalerResponseBody;
|
|
1614
1883
|
static names(): { [key: string]: string } {
|
|
1615
1884
|
return {
|
|
1616
1885
|
headers: 'headers',
|
|
1886
|
+
statusCode: 'statusCode',
|
|
1617
1887
|
body: 'body',
|
|
1618
1888
|
};
|
|
1619
1889
|
}
|
|
@@ -1621,6 +1891,7 @@ export class DescribeServiceCronScalerResponse extends $tea.Model {
|
|
|
1621
1891
|
static types(): { [key: string]: any } {
|
|
1622
1892
|
return {
|
|
1623
1893
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1894
|
+
statusCode: 'number',
|
|
1624
1895
|
body: DescribeServiceCronScalerResponseBody,
|
|
1625
1896
|
};
|
|
1626
1897
|
}
|
|
@@ -1697,10 +1968,12 @@ export class DescribeServiceLogResponseBody extends $tea.Model {
|
|
|
1697
1968
|
|
|
1698
1969
|
export class DescribeServiceLogResponse extends $tea.Model {
|
|
1699
1970
|
headers: { [key: string]: string };
|
|
1971
|
+
statusCode: number;
|
|
1700
1972
|
body: DescribeServiceLogResponseBody;
|
|
1701
1973
|
static names(): { [key: string]: string } {
|
|
1702
1974
|
return {
|
|
1703
1975
|
headers: 'headers',
|
|
1976
|
+
statusCode: 'statusCode',
|
|
1704
1977
|
body: 'body',
|
|
1705
1978
|
};
|
|
1706
1979
|
}
|
|
@@ -1708,6 +1981,7 @@ export class DescribeServiceLogResponse extends $tea.Model {
|
|
|
1708
1981
|
static types(): { [key: string]: any } {
|
|
1709
1982
|
return {
|
|
1710
1983
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1984
|
+
statusCode: 'number',
|
|
1711
1985
|
body: DescribeServiceLogResponseBody,
|
|
1712
1986
|
};
|
|
1713
1987
|
}
|
|
@@ -1747,10 +2021,12 @@ export class DescribeServiceMirrorResponseBody extends $tea.Model {
|
|
|
1747
2021
|
|
|
1748
2022
|
export class DescribeServiceMirrorResponse extends $tea.Model {
|
|
1749
2023
|
headers: { [key: string]: string };
|
|
2024
|
+
statusCode: number;
|
|
1750
2025
|
body: DescribeServiceMirrorResponseBody;
|
|
1751
2026
|
static names(): { [key: string]: string } {
|
|
1752
2027
|
return {
|
|
1753
2028
|
headers: 'headers',
|
|
2029
|
+
statusCode: 'statusCode',
|
|
1754
2030
|
body: 'body',
|
|
1755
2031
|
};
|
|
1756
2032
|
}
|
|
@@ -1758,6 +2034,7 @@ export class DescribeServiceMirrorResponse extends $tea.Model {
|
|
|
1758
2034
|
static types(): { [key: string]: any } {
|
|
1759
2035
|
return {
|
|
1760
2036
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2037
|
+
statusCode: 'number',
|
|
1761
2038
|
body: DescribeServiceMirrorResponseBody,
|
|
1762
2039
|
};
|
|
1763
2040
|
}
|
|
@@ -1767,6 +2044,53 @@ export class DescribeServiceMirrorResponse extends $tea.Model {
|
|
|
1767
2044
|
}
|
|
1768
2045
|
}
|
|
1769
2046
|
|
|
2047
|
+
export class ListBenchmarkTaskResponseBody extends $tea.Model {
|
|
2048
|
+
requestId?: string;
|
|
2049
|
+
tasks?: ListBenchmarkTaskResponseBodyTasks[];
|
|
2050
|
+
static names(): { [key: string]: string } {
|
|
2051
|
+
return {
|
|
2052
|
+
requestId: 'RequestId',
|
|
2053
|
+
tasks: 'Tasks',
|
|
2054
|
+
};
|
|
2055
|
+
}
|
|
2056
|
+
|
|
2057
|
+
static types(): { [key: string]: any } {
|
|
2058
|
+
return {
|
|
2059
|
+
requestId: 'string',
|
|
2060
|
+
tasks: { 'type': 'array', 'itemType': ListBenchmarkTaskResponseBodyTasks },
|
|
2061
|
+
};
|
|
2062
|
+
}
|
|
2063
|
+
|
|
2064
|
+
constructor(map?: { [key: string]: any }) {
|
|
2065
|
+
super(map);
|
|
2066
|
+
}
|
|
2067
|
+
}
|
|
2068
|
+
|
|
2069
|
+
export class ListBenchmarkTaskResponse extends $tea.Model {
|
|
2070
|
+
headers: { [key: string]: string };
|
|
2071
|
+
statusCode: number;
|
|
2072
|
+
body: ListBenchmarkTaskResponseBody;
|
|
2073
|
+
static names(): { [key: string]: string } {
|
|
2074
|
+
return {
|
|
2075
|
+
headers: 'headers',
|
|
2076
|
+
statusCode: 'statusCode',
|
|
2077
|
+
body: 'body',
|
|
2078
|
+
};
|
|
2079
|
+
}
|
|
2080
|
+
|
|
2081
|
+
static types(): { [key: string]: any } {
|
|
2082
|
+
return {
|
|
2083
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2084
|
+
statusCode: 'number',
|
|
2085
|
+
body: ListBenchmarkTaskResponseBody,
|
|
2086
|
+
};
|
|
2087
|
+
}
|
|
2088
|
+
|
|
2089
|
+
constructor(map?: { [key: string]: any }) {
|
|
2090
|
+
super(map);
|
|
2091
|
+
}
|
|
2092
|
+
}
|
|
2093
|
+
|
|
1770
2094
|
export class ListResourceInstanceWorkerRequest extends $tea.Model {
|
|
1771
2095
|
pageNumber?: number;
|
|
1772
2096
|
pageSize?: number;
|
|
@@ -1822,10 +2146,12 @@ export class ListResourceInstanceWorkerResponseBody extends $tea.Model {
|
|
|
1822
2146
|
|
|
1823
2147
|
export class ListResourceInstanceWorkerResponse extends $tea.Model {
|
|
1824
2148
|
headers: { [key: string]: string };
|
|
2149
|
+
statusCode: number;
|
|
1825
2150
|
body: ListResourceInstanceWorkerResponseBody;
|
|
1826
2151
|
static names(): { [key: string]: string } {
|
|
1827
2152
|
return {
|
|
1828
2153
|
headers: 'headers',
|
|
2154
|
+
statusCode: 'statusCode',
|
|
1829
2155
|
body: 'body',
|
|
1830
2156
|
};
|
|
1831
2157
|
}
|
|
@@ -1833,6 +2159,7 @@ export class ListResourceInstanceWorkerResponse extends $tea.Model {
|
|
|
1833
2159
|
static types(): { [key: string]: any } {
|
|
1834
2160
|
return {
|
|
1835
2161
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2162
|
+
statusCode: 'number',
|
|
1836
2163
|
body: ListResourceInstanceWorkerResponseBody,
|
|
1837
2164
|
};
|
|
1838
2165
|
}
|
|
@@ -1843,10 +2170,12 @@ export class ListResourceInstanceWorkerResponse extends $tea.Model {
|
|
|
1843
2170
|
}
|
|
1844
2171
|
|
|
1845
2172
|
export class ListResourceInstancesRequest extends $tea.Model {
|
|
2173
|
+
chargeType?: string;
|
|
1846
2174
|
pageNumber?: number;
|
|
1847
2175
|
pageSize?: number;
|
|
1848
2176
|
static names(): { [key: string]: string } {
|
|
1849
2177
|
return {
|
|
2178
|
+
chargeType: 'ChargeType',
|
|
1850
2179
|
pageNumber: 'PageNumber',
|
|
1851
2180
|
pageSize: 'PageSize',
|
|
1852
2181
|
};
|
|
@@ -1854,6 +2183,7 @@ export class ListResourceInstancesRequest extends $tea.Model {
|
|
|
1854
2183
|
|
|
1855
2184
|
static types(): { [key: string]: any } {
|
|
1856
2185
|
return {
|
|
2186
|
+
chargeType: 'string',
|
|
1857
2187
|
pageNumber: 'number',
|
|
1858
2188
|
pageSize: 'number',
|
|
1859
2189
|
};
|
|
@@ -1897,10 +2227,12 @@ export class ListResourceInstancesResponseBody extends $tea.Model {
|
|
|
1897
2227
|
|
|
1898
2228
|
export class ListResourceInstancesResponse extends $tea.Model {
|
|
1899
2229
|
headers: { [key: string]: string };
|
|
2230
|
+
statusCode: number;
|
|
1900
2231
|
body: ListResourceInstancesResponseBody;
|
|
1901
2232
|
static names(): { [key: string]: string } {
|
|
1902
2233
|
return {
|
|
1903
2234
|
headers: 'headers',
|
|
2235
|
+
statusCode: 'statusCode',
|
|
1904
2236
|
body: 'body',
|
|
1905
2237
|
};
|
|
1906
2238
|
}
|
|
@@ -1908,6 +2240,7 @@ export class ListResourceInstancesResponse extends $tea.Model {
|
|
|
1908
2240
|
static types(): { [key: string]: any } {
|
|
1909
2241
|
return {
|
|
1910
2242
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2243
|
+
statusCode: 'number',
|
|
1911
2244
|
body: ListResourceInstancesResponseBody,
|
|
1912
2245
|
};
|
|
1913
2246
|
}
|
|
@@ -1972,10 +2305,12 @@ export class ListResourceServicesResponseBody extends $tea.Model {
|
|
|
1972
2305
|
|
|
1973
2306
|
export class ListResourceServicesResponse extends $tea.Model {
|
|
1974
2307
|
headers: { [key: string]: string };
|
|
2308
|
+
statusCode: number;
|
|
1975
2309
|
body: ListResourceServicesResponseBody;
|
|
1976
2310
|
static names(): { [key: string]: string } {
|
|
1977
2311
|
return {
|
|
1978
2312
|
headers: 'headers',
|
|
2313
|
+
statusCode: 'statusCode',
|
|
1979
2314
|
body: 'body',
|
|
1980
2315
|
};
|
|
1981
2316
|
}
|
|
@@ -1983,6 +2318,7 @@ export class ListResourceServicesResponse extends $tea.Model {
|
|
|
1983
2318
|
static types(): { [key: string]: any } {
|
|
1984
2319
|
return {
|
|
1985
2320
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2321
|
+
statusCode: 'number',
|
|
1986
2322
|
body: ListResourceServicesResponseBody,
|
|
1987
2323
|
};
|
|
1988
2324
|
}
|
|
@@ -2047,10 +2383,12 @@ export class ListResourcesResponseBody extends $tea.Model {
|
|
|
2047
2383
|
|
|
2048
2384
|
export class ListResourcesResponse extends $tea.Model {
|
|
2049
2385
|
headers: { [key: string]: string };
|
|
2386
|
+
statusCode: number;
|
|
2050
2387
|
body: ListResourcesResponseBody;
|
|
2051
2388
|
static names(): { [key: string]: string } {
|
|
2052
2389
|
return {
|
|
2053
2390
|
headers: 'headers',
|
|
2391
|
+
statusCode: 'statusCode',
|
|
2054
2392
|
body: 'body',
|
|
2055
2393
|
};
|
|
2056
2394
|
}
|
|
@@ -2058,6 +2396,7 @@ export class ListResourcesResponse extends $tea.Model {
|
|
|
2058
2396
|
static types(): { [key: string]: any } {
|
|
2059
2397
|
return {
|
|
2060
2398
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2399
|
+
statusCode: 'number',
|
|
2061
2400
|
body: ListResourcesResponseBody,
|
|
2062
2401
|
};
|
|
2063
2402
|
}
|
|
@@ -2122,10 +2461,12 @@ export class ListServiceInstancesResponseBody extends $tea.Model {
|
|
|
2122
2461
|
|
|
2123
2462
|
export class ListServiceInstancesResponse extends $tea.Model {
|
|
2124
2463
|
headers: { [key: string]: string };
|
|
2464
|
+
statusCode: number;
|
|
2125
2465
|
body: ListServiceInstancesResponseBody;
|
|
2126
2466
|
static names(): { [key: string]: string } {
|
|
2127
2467
|
return {
|
|
2128
2468
|
headers: 'headers',
|
|
2469
|
+
statusCode: 'statusCode',
|
|
2129
2470
|
body: 'body',
|
|
2130
2471
|
};
|
|
2131
2472
|
}
|
|
@@ -2133,6 +2474,7 @@ export class ListServiceInstancesResponse extends $tea.Model {
|
|
|
2133
2474
|
static types(): { [key: string]: any } {
|
|
2134
2475
|
return {
|
|
2135
2476
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2477
|
+
statusCode: 'number',
|
|
2136
2478
|
body: ListServiceInstancesResponseBody,
|
|
2137
2479
|
};
|
|
2138
2480
|
}
|
|
@@ -2206,10 +2548,12 @@ export class ListServicesResponseBody extends $tea.Model {
|
|
|
2206
2548
|
|
|
2207
2549
|
export class ListServicesResponse extends $tea.Model {
|
|
2208
2550
|
headers: { [key: string]: string };
|
|
2551
|
+
statusCode: number;
|
|
2209
2552
|
body: ListServicesResponseBody;
|
|
2210
2553
|
static names(): { [key: string]: string } {
|
|
2211
2554
|
return {
|
|
2212
2555
|
headers: 'headers',
|
|
2556
|
+
statusCode: 'statusCode',
|
|
2213
2557
|
body: 'body',
|
|
2214
2558
|
};
|
|
2215
2559
|
}
|
|
@@ -2217,6 +2561,7 @@ export class ListServicesResponse extends $tea.Model {
|
|
|
2217
2561
|
static types(): { [key: string]: any } {
|
|
2218
2562
|
return {
|
|
2219
2563
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2564
|
+
statusCode: 'number',
|
|
2220
2565
|
body: ListServicesResponseBody,
|
|
2221
2566
|
};
|
|
2222
2567
|
}
|
|
@@ -2269,10 +2614,12 @@ export class ReleaseServiceResponseBody extends $tea.Model {
|
|
|
2269
2614
|
|
|
2270
2615
|
export class ReleaseServiceResponse extends $tea.Model {
|
|
2271
2616
|
headers: { [key: string]: string };
|
|
2617
|
+
statusCode: number;
|
|
2272
2618
|
body: ReleaseServiceResponseBody;
|
|
2273
2619
|
static names(): { [key: string]: string } {
|
|
2274
2620
|
return {
|
|
2275
2621
|
headers: 'headers',
|
|
2622
|
+
statusCode: 'statusCode',
|
|
2276
2623
|
body: 'body',
|
|
2277
2624
|
};
|
|
2278
2625
|
}
|
|
@@ -2280,6 +2627,7 @@ export class ReleaseServiceResponse extends $tea.Model {
|
|
|
2280
2627
|
static types(): { [key: string]: any } {
|
|
2281
2628
|
return {
|
|
2282
2629
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2630
|
+
statusCode: 'number',
|
|
2283
2631
|
body: ReleaseServiceResponseBody,
|
|
2284
2632
|
};
|
|
2285
2633
|
}
|
|
@@ -2289,7 +2637,7 @@ export class ReleaseServiceResponse extends $tea.Model {
|
|
|
2289
2637
|
}
|
|
2290
2638
|
}
|
|
2291
2639
|
|
|
2292
|
-
export class
|
|
2640
|
+
export class StartBenchmarkTaskResponseBody extends $tea.Model {
|
|
2293
2641
|
message?: string;
|
|
2294
2642
|
requestId?: string;
|
|
2295
2643
|
static names(): { [key: string]: string } {
|
|
@@ -2311,12 +2659,14 @@ export class StartServiceResponseBody extends $tea.Model {
|
|
|
2311
2659
|
}
|
|
2312
2660
|
}
|
|
2313
2661
|
|
|
2314
|
-
export class
|
|
2662
|
+
export class StartBenchmarkTaskResponse extends $tea.Model {
|
|
2315
2663
|
headers: { [key: string]: string };
|
|
2316
|
-
|
|
2664
|
+
statusCode: number;
|
|
2665
|
+
body: StartBenchmarkTaskResponseBody;
|
|
2317
2666
|
static names(): { [key: string]: string } {
|
|
2318
2667
|
return {
|
|
2319
2668
|
headers: 'headers',
|
|
2669
|
+
statusCode: 'statusCode',
|
|
2320
2670
|
body: 'body',
|
|
2321
2671
|
};
|
|
2322
2672
|
}
|
|
@@ -2324,7 +2674,8 @@ export class StartServiceResponse extends $tea.Model {
|
|
|
2324
2674
|
static types(): { [key: string]: any } {
|
|
2325
2675
|
return {
|
|
2326
2676
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2327
|
-
|
|
2677
|
+
statusCode: 'number',
|
|
2678
|
+
body: StartBenchmarkTaskResponseBody,
|
|
2328
2679
|
};
|
|
2329
2680
|
}
|
|
2330
2681
|
|
|
@@ -2333,7 +2684,7 @@ export class StartServiceResponse extends $tea.Model {
|
|
|
2333
2684
|
}
|
|
2334
2685
|
}
|
|
2335
2686
|
|
|
2336
|
-
export class
|
|
2687
|
+
export class StartServiceResponseBody extends $tea.Model {
|
|
2337
2688
|
message?: string;
|
|
2338
2689
|
requestId?: string;
|
|
2339
2690
|
static names(): { [key: string]: string } {
|
|
@@ -2355,12 +2706,14 @@ export class StopServiceResponseBody extends $tea.Model {
|
|
|
2355
2706
|
}
|
|
2356
2707
|
}
|
|
2357
2708
|
|
|
2358
|
-
export class
|
|
2709
|
+
export class StartServiceResponse extends $tea.Model {
|
|
2359
2710
|
headers: { [key: string]: string };
|
|
2360
|
-
|
|
2711
|
+
statusCode: number;
|
|
2712
|
+
body: StartServiceResponseBody;
|
|
2361
2713
|
static names(): { [key: string]: string } {
|
|
2362
2714
|
return {
|
|
2363
2715
|
headers: 'headers',
|
|
2716
|
+
statusCode: 'statusCode',
|
|
2364
2717
|
body: 'body',
|
|
2365
2718
|
};
|
|
2366
2719
|
}
|
|
@@ -2368,7 +2721,8 @@ export class StopServiceResponse extends $tea.Model {
|
|
|
2368
2721
|
static types(): { [key: string]: any } {
|
|
2369
2722
|
return {
|
|
2370
2723
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2371
|
-
|
|
2724
|
+
statusCode: 'number',
|
|
2725
|
+
body: StartServiceResponseBody,
|
|
2372
2726
|
};
|
|
2373
2727
|
}
|
|
2374
2728
|
|
|
@@ -2377,17 +2731,20 @@ export class StopServiceResponse extends $tea.Model {
|
|
|
2377
2731
|
}
|
|
2378
2732
|
}
|
|
2379
2733
|
|
|
2380
|
-
export class
|
|
2381
|
-
|
|
2734
|
+
export class StopBenchmarkTaskResponseBody extends $tea.Model {
|
|
2735
|
+
message?: string;
|
|
2736
|
+
requestId?: string;
|
|
2382
2737
|
static names(): { [key: string]: string } {
|
|
2383
2738
|
return {
|
|
2384
|
-
|
|
2739
|
+
message: 'Message',
|
|
2740
|
+
requestId: 'RequestId',
|
|
2385
2741
|
};
|
|
2386
2742
|
}
|
|
2387
2743
|
|
|
2388
2744
|
static types(): { [key: string]: any } {
|
|
2389
2745
|
return {
|
|
2390
|
-
|
|
2746
|
+
message: 'string',
|
|
2747
|
+
requestId: 'string',
|
|
2391
2748
|
};
|
|
2392
2749
|
}
|
|
2393
2750
|
|
|
@@ -2396,23 +2753,23 @@ export class UpdateResourceRequest extends $tea.Model {
|
|
|
2396
2753
|
}
|
|
2397
2754
|
}
|
|
2398
2755
|
|
|
2399
|
-
export class
|
|
2400
|
-
|
|
2401
|
-
|
|
2402
|
-
|
|
2756
|
+
export class StopBenchmarkTaskResponse extends $tea.Model {
|
|
2757
|
+
headers: { [key: string]: string };
|
|
2758
|
+
statusCode: number;
|
|
2759
|
+
body: StopBenchmarkTaskResponseBody;
|
|
2403
2760
|
static names(): { [key: string]: string } {
|
|
2404
2761
|
return {
|
|
2405
|
-
|
|
2406
|
-
|
|
2407
|
-
|
|
2762
|
+
headers: 'headers',
|
|
2763
|
+
statusCode: 'statusCode',
|
|
2764
|
+
body: 'body',
|
|
2408
2765
|
};
|
|
2409
2766
|
}
|
|
2410
2767
|
|
|
2411
2768
|
static types(): { [key: string]: any } {
|
|
2412
2769
|
return {
|
|
2413
|
-
|
|
2414
|
-
|
|
2415
|
-
|
|
2770
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2771
|
+
statusCode: 'number',
|
|
2772
|
+
body: StopBenchmarkTaskResponseBody,
|
|
2416
2773
|
};
|
|
2417
2774
|
}
|
|
2418
2775
|
|
|
@@ -2421,20 +2778,20 @@ export class UpdateResourceResponseBody extends $tea.Model {
|
|
|
2421
2778
|
}
|
|
2422
2779
|
}
|
|
2423
2780
|
|
|
2424
|
-
export class
|
|
2425
|
-
|
|
2426
|
-
|
|
2781
|
+
export class StopServiceResponseBody extends $tea.Model {
|
|
2782
|
+
message?: string;
|
|
2783
|
+
requestId?: string;
|
|
2427
2784
|
static names(): { [key: string]: string } {
|
|
2428
2785
|
return {
|
|
2429
|
-
|
|
2430
|
-
|
|
2786
|
+
message: 'Message',
|
|
2787
|
+
requestId: 'RequestId',
|
|
2431
2788
|
};
|
|
2432
2789
|
}
|
|
2433
2790
|
|
|
2434
2791
|
static types(): { [key: string]: any } {
|
|
2435
2792
|
return {
|
|
2436
|
-
|
|
2437
|
-
|
|
2793
|
+
message: 'string',
|
|
2794
|
+
requestId: 'string',
|
|
2438
2795
|
};
|
|
2439
2796
|
}
|
|
2440
2797
|
|
|
@@ -2443,9 +2800,169 @@ export class UpdateResourceResponse extends $tea.Model {
|
|
|
2443
2800
|
}
|
|
2444
2801
|
}
|
|
2445
2802
|
|
|
2446
|
-
export class
|
|
2447
|
-
|
|
2448
|
-
|
|
2803
|
+
export class StopServiceResponse extends $tea.Model {
|
|
2804
|
+
headers: { [key: string]: string };
|
|
2805
|
+
statusCode: number;
|
|
2806
|
+
body: StopServiceResponseBody;
|
|
2807
|
+
static names(): { [key: string]: string } {
|
|
2808
|
+
return {
|
|
2809
|
+
headers: 'headers',
|
|
2810
|
+
statusCode: 'statusCode',
|
|
2811
|
+
body: 'body',
|
|
2812
|
+
};
|
|
2813
|
+
}
|
|
2814
|
+
|
|
2815
|
+
static types(): { [key: string]: any } {
|
|
2816
|
+
return {
|
|
2817
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2818
|
+
statusCode: 'number',
|
|
2819
|
+
body: StopServiceResponseBody,
|
|
2820
|
+
};
|
|
2821
|
+
}
|
|
2822
|
+
|
|
2823
|
+
constructor(map?: { [key: string]: any }) {
|
|
2824
|
+
super(map);
|
|
2825
|
+
}
|
|
2826
|
+
}
|
|
2827
|
+
|
|
2828
|
+
export class UpdateBenchmarkTaskRequest extends $tea.Model {
|
|
2829
|
+
body?: string;
|
|
2830
|
+
static names(): { [key: string]: string } {
|
|
2831
|
+
return {
|
|
2832
|
+
body: 'body',
|
|
2833
|
+
};
|
|
2834
|
+
}
|
|
2835
|
+
|
|
2836
|
+
static types(): { [key: string]: any } {
|
|
2837
|
+
return {
|
|
2838
|
+
body: 'string',
|
|
2839
|
+
};
|
|
2840
|
+
}
|
|
2841
|
+
|
|
2842
|
+
constructor(map?: { [key: string]: any }) {
|
|
2843
|
+
super(map);
|
|
2844
|
+
}
|
|
2845
|
+
}
|
|
2846
|
+
|
|
2847
|
+
export class UpdateBenchmarkTaskResponseBody extends $tea.Model {
|
|
2848
|
+
message?: string;
|
|
2849
|
+
requestId?: string;
|
|
2850
|
+
static names(): { [key: string]: string } {
|
|
2851
|
+
return {
|
|
2852
|
+
message: 'Message',
|
|
2853
|
+
requestId: 'RequestId',
|
|
2854
|
+
};
|
|
2855
|
+
}
|
|
2856
|
+
|
|
2857
|
+
static types(): { [key: string]: any } {
|
|
2858
|
+
return {
|
|
2859
|
+
message: 'string',
|
|
2860
|
+
requestId: 'string',
|
|
2861
|
+
};
|
|
2862
|
+
}
|
|
2863
|
+
|
|
2864
|
+
constructor(map?: { [key: string]: any }) {
|
|
2865
|
+
super(map);
|
|
2866
|
+
}
|
|
2867
|
+
}
|
|
2868
|
+
|
|
2869
|
+
export class UpdateBenchmarkTaskResponse extends $tea.Model {
|
|
2870
|
+
headers: { [key: string]: string };
|
|
2871
|
+
statusCode: number;
|
|
2872
|
+
body: UpdateBenchmarkTaskResponseBody;
|
|
2873
|
+
static names(): { [key: string]: string } {
|
|
2874
|
+
return {
|
|
2875
|
+
headers: 'headers',
|
|
2876
|
+
statusCode: 'statusCode',
|
|
2877
|
+
body: 'body',
|
|
2878
|
+
};
|
|
2879
|
+
}
|
|
2880
|
+
|
|
2881
|
+
static types(): { [key: string]: any } {
|
|
2882
|
+
return {
|
|
2883
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2884
|
+
statusCode: 'number',
|
|
2885
|
+
body: UpdateBenchmarkTaskResponseBody,
|
|
2886
|
+
};
|
|
2887
|
+
}
|
|
2888
|
+
|
|
2889
|
+
constructor(map?: { [key: string]: any }) {
|
|
2890
|
+
super(map);
|
|
2891
|
+
}
|
|
2892
|
+
}
|
|
2893
|
+
|
|
2894
|
+
export class UpdateResourceRequest extends $tea.Model {
|
|
2895
|
+
resourceName?: string;
|
|
2896
|
+
static names(): { [key: string]: string } {
|
|
2897
|
+
return {
|
|
2898
|
+
resourceName: 'ResourceName',
|
|
2899
|
+
};
|
|
2900
|
+
}
|
|
2901
|
+
|
|
2902
|
+
static types(): { [key: string]: any } {
|
|
2903
|
+
return {
|
|
2904
|
+
resourceName: 'string',
|
|
2905
|
+
};
|
|
2906
|
+
}
|
|
2907
|
+
|
|
2908
|
+
constructor(map?: { [key: string]: any }) {
|
|
2909
|
+
super(map);
|
|
2910
|
+
}
|
|
2911
|
+
}
|
|
2912
|
+
|
|
2913
|
+
export class UpdateResourceResponseBody extends $tea.Model {
|
|
2914
|
+
requestId?: string;
|
|
2915
|
+
resourceId?: string;
|
|
2916
|
+
resourceName?: string;
|
|
2917
|
+
static names(): { [key: string]: string } {
|
|
2918
|
+
return {
|
|
2919
|
+
requestId: 'RequestId',
|
|
2920
|
+
resourceId: 'ResourceId',
|
|
2921
|
+
resourceName: 'ResourceName',
|
|
2922
|
+
};
|
|
2923
|
+
}
|
|
2924
|
+
|
|
2925
|
+
static types(): { [key: string]: any } {
|
|
2926
|
+
return {
|
|
2927
|
+
requestId: 'string',
|
|
2928
|
+
resourceId: 'string',
|
|
2929
|
+
resourceName: 'string',
|
|
2930
|
+
};
|
|
2931
|
+
}
|
|
2932
|
+
|
|
2933
|
+
constructor(map?: { [key: string]: any }) {
|
|
2934
|
+
super(map);
|
|
2935
|
+
}
|
|
2936
|
+
}
|
|
2937
|
+
|
|
2938
|
+
export class UpdateResourceResponse extends $tea.Model {
|
|
2939
|
+
headers: { [key: string]: string };
|
|
2940
|
+
statusCode: number;
|
|
2941
|
+
body: UpdateResourceResponseBody;
|
|
2942
|
+
static names(): { [key: string]: string } {
|
|
2943
|
+
return {
|
|
2944
|
+
headers: 'headers',
|
|
2945
|
+
statusCode: 'statusCode',
|
|
2946
|
+
body: 'body',
|
|
2947
|
+
};
|
|
2948
|
+
}
|
|
2949
|
+
|
|
2950
|
+
static types(): { [key: string]: any } {
|
|
2951
|
+
return {
|
|
2952
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2953
|
+
statusCode: 'number',
|
|
2954
|
+
body: UpdateResourceResponseBody,
|
|
2955
|
+
};
|
|
2956
|
+
}
|
|
2957
|
+
|
|
2958
|
+
constructor(map?: { [key: string]: any }) {
|
|
2959
|
+
super(map);
|
|
2960
|
+
}
|
|
2961
|
+
}
|
|
2962
|
+
|
|
2963
|
+
export class UpdateResourceDLinkRequest extends $tea.Model {
|
|
2964
|
+
destinationCIDRs?: string;
|
|
2965
|
+
securityGroupId?: string;
|
|
2449
2966
|
vSwitchId?: string;
|
|
2450
2967
|
vSwitchIdList?: string[];
|
|
2451
2968
|
static names(): { [key: string]: string } {
|
|
@@ -2495,10 +3012,12 @@ export class UpdateResourceDLinkResponseBody extends $tea.Model {
|
|
|
2495
3012
|
|
|
2496
3013
|
export class UpdateResourceDLinkResponse extends $tea.Model {
|
|
2497
3014
|
headers: { [key: string]: string };
|
|
3015
|
+
statusCode: number;
|
|
2498
3016
|
body: UpdateResourceDLinkResponseBody;
|
|
2499
3017
|
static names(): { [key: string]: string } {
|
|
2500
3018
|
return {
|
|
2501
3019
|
headers: 'headers',
|
|
3020
|
+
statusCode: 'statusCode',
|
|
2502
3021
|
body: 'body',
|
|
2503
3022
|
};
|
|
2504
3023
|
}
|
|
@@ -2506,6 +3025,7 @@ export class UpdateResourceDLinkResponse extends $tea.Model {
|
|
|
2506
3025
|
static types(): { [key: string]: any } {
|
|
2507
3026
|
return {
|
|
2508
3027
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3028
|
+
statusCode: 'number',
|
|
2509
3029
|
body: UpdateResourceDLinkResponseBody,
|
|
2510
3030
|
};
|
|
2511
3031
|
}
|
|
@@ -2558,10 +3078,12 @@ export class UpdateServiceResponseBody extends $tea.Model {
|
|
|
2558
3078
|
|
|
2559
3079
|
export class UpdateServiceResponse extends $tea.Model {
|
|
2560
3080
|
headers: { [key: string]: string };
|
|
3081
|
+
statusCode: number;
|
|
2561
3082
|
body: UpdateServiceResponseBody;
|
|
2562
3083
|
static names(): { [key: string]: string } {
|
|
2563
3084
|
return {
|
|
2564
3085
|
headers: 'headers',
|
|
3086
|
+
statusCode: 'statusCode',
|
|
2565
3087
|
body: 'body',
|
|
2566
3088
|
};
|
|
2567
3089
|
}
|
|
@@ -2569,6 +3091,7 @@ export class UpdateServiceResponse extends $tea.Model {
|
|
|
2569
3091
|
static types(): { [key: string]: any } {
|
|
2570
3092
|
return {
|
|
2571
3093
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3094
|
+
statusCode: 'number',
|
|
2572
3095
|
body: UpdateServiceResponseBody,
|
|
2573
3096
|
};
|
|
2574
3097
|
}
|
|
@@ -2584,9 +3107,9 @@ export class UpdateServiceAutoScalerRequest extends $tea.Model {
|
|
|
2584
3107
|
strategies?: UpdateServiceAutoScalerRequestStrategies;
|
|
2585
3108
|
static names(): { [key: string]: string } {
|
|
2586
3109
|
return {
|
|
2587
|
-
max: '
|
|
2588
|
-
min: '
|
|
2589
|
-
strategies: '
|
|
3110
|
+
max: 'max',
|
|
3111
|
+
min: 'min',
|
|
3112
|
+
strategies: 'strategies',
|
|
2590
3113
|
};
|
|
2591
3114
|
}
|
|
2592
3115
|
|
|
@@ -2627,10 +3150,12 @@ export class UpdateServiceAutoScalerResponseBody extends $tea.Model {
|
|
|
2627
3150
|
|
|
2628
3151
|
export class UpdateServiceAutoScalerResponse extends $tea.Model {
|
|
2629
3152
|
headers: { [key: string]: string };
|
|
3153
|
+
statusCode: number;
|
|
2630
3154
|
body: UpdateServiceAutoScalerResponseBody;
|
|
2631
3155
|
static names(): { [key: string]: string } {
|
|
2632
3156
|
return {
|
|
2633
3157
|
headers: 'headers',
|
|
3158
|
+
statusCode: 'statusCode',
|
|
2634
3159
|
body: 'body',
|
|
2635
3160
|
};
|
|
2636
3161
|
}
|
|
@@ -2638,6 +3163,7 @@ export class UpdateServiceAutoScalerResponse extends $tea.Model {
|
|
|
2638
3163
|
static types(): { [key: string]: any } {
|
|
2639
3164
|
return {
|
|
2640
3165
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3166
|
+
statusCode: 'number',
|
|
2641
3167
|
body: UpdateServiceAutoScalerResponseBody,
|
|
2642
3168
|
};
|
|
2643
3169
|
}
|
|
@@ -2693,10 +3219,12 @@ export class UpdateServiceCronScalerResponseBody extends $tea.Model {
|
|
|
2693
3219
|
|
|
2694
3220
|
export class UpdateServiceCronScalerResponse extends $tea.Model {
|
|
2695
3221
|
headers: { [key: string]: string };
|
|
3222
|
+
statusCode: number;
|
|
2696
3223
|
body: UpdateServiceCronScalerResponseBody;
|
|
2697
3224
|
static names(): { [key: string]: string } {
|
|
2698
3225
|
return {
|
|
2699
3226
|
headers: 'headers',
|
|
3227
|
+
statusCode: 'statusCode',
|
|
2700
3228
|
body: 'body',
|
|
2701
3229
|
};
|
|
2702
3230
|
}
|
|
@@ -2704,6 +3232,7 @@ export class UpdateServiceCronScalerResponse extends $tea.Model {
|
|
|
2704
3232
|
static types(): { [key: string]: any } {
|
|
2705
3233
|
return {
|
|
2706
3234
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3235
|
+
statusCode: 'number',
|
|
2707
3236
|
body: UpdateServiceCronScalerResponseBody,
|
|
2708
3237
|
};
|
|
2709
3238
|
}
|
|
@@ -2759,10 +3288,12 @@ export class UpdateServiceMirrorResponseBody extends $tea.Model {
|
|
|
2759
3288
|
|
|
2760
3289
|
export class UpdateServiceMirrorResponse extends $tea.Model {
|
|
2761
3290
|
headers: { [key: string]: string };
|
|
3291
|
+
statusCode: number;
|
|
2762
3292
|
body: UpdateServiceMirrorResponseBody;
|
|
2763
3293
|
static names(): { [key: string]: string } {
|
|
2764
3294
|
return {
|
|
2765
3295
|
headers: 'headers',
|
|
3296
|
+
statusCode: 'statusCode',
|
|
2766
3297
|
body: 'body',
|
|
2767
3298
|
};
|
|
2768
3299
|
}
|
|
@@ -2770,6 +3301,7 @@ export class UpdateServiceMirrorResponse extends $tea.Model {
|
|
|
2770
3301
|
static types(): { [key: string]: any } {
|
|
2771
3302
|
return {
|
|
2772
3303
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3304
|
+
statusCode: 'number',
|
|
2773
3305
|
body: UpdateServiceMirrorResponseBody,
|
|
2774
3306
|
};
|
|
2775
3307
|
}
|
|
@@ -2822,10 +3354,12 @@ export class UpdateServiceVersionResponseBody extends $tea.Model {
|
|
|
2822
3354
|
|
|
2823
3355
|
export class UpdateServiceVersionResponse extends $tea.Model {
|
|
2824
3356
|
headers: { [key: string]: string };
|
|
3357
|
+
statusCode: number;
|
|
2825
3358
|
body: UpdateServiceVersionResponseBody;
|
|
2826
3359
|
static names(): { [key: string]: string } {
|
|
2827
3360
|
return {
|
|
2828
3361
|
headers: 'headers',
|
|
3362
|
+
statusCode: 'statusCode',
|
|
2829
3363
|
body: 'body',
|
|
2830
3364
|
};
|
|
2831
3365
|
}
|
|
@@ -2833,6 +3367,7 @@ export class UpdateServiceVersionResponse extends $tea.Model {
|
|
|
2833
3367
|
static types(): { [key: string]: any } {
|
|
2834
3368
|
return {
|
|
2835
3369
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3370
|
+
statusCode: 'number',
|
|
2836
3371
|
body: UpdateServiceVersionResponseBody,
|
|
2837
3372
|
};
|
|
2838
3373
|
}
|
|
@@ -2847,8 +3382,8 @@ export class CreateServiceAutoScalerRequestStrategies extends $tea.Model {
|
|
|
2847
3382
|
qps?: number;
|
|
2848
3383
|
static names(): { [key: string]: string } {
|
|
2849
3384
|
return {
|
|
2850
|
-
cpu: '
|
|
2851
|
-
qps: '
|
|
3385
|
+
cpu: 'cpu',
|
|
3386
|
+
qps: 'qps',
|
|
2852
3387
|
};
|
|
2853
3388
|
}
|
|
2854
3389
|
|
|
@@ -2889,25 +3424,6 @@ export class CreateServiceCronScalerRequestScaleJobs extends $tea.Model {
|
|
|
2889
3424
|
}
|
|
2890
3425
|
}
|
|
2891
3426
|
|
|
2892
|
-
export class DescribeRegionsResponseBodyRegions extends $tea.Model {
|
|
2893
|
-
regionId?: string;
|
|
2894
|
-
static names(): { [key: string]: string } {
|
|
2895
|
-
return {
|
|
2896
|
-
regionId: 'RegionId',
|
|
2897
|
-
};
|
|
2898
|
-
}
|
|
2899
|
-
|
|
2900
|
-
static types(): { [key: string]: any } {
|
|
2901
|
-
return {
|
|
2902
|
-
regionId: 'string',
|
|
2903
|
-
};
|
|
2904
|
-
}
|
|
2905
|
-
|
|
2906
|
-
constructor(map?: { [key: string]: any }) {
|
|
2907
|
-
super(map);
|
|
2908
|
-
}
|
|
2909
|
-
}
|
|
2910
|
-
|
|
2911
3427
|
export class DescribeServiceCronScalerResponseBodyScaleJobs extends $tea.Model {
|
|
2912
3428
|
createTime?: string;
|
|
2913
3429
|
lastProbeTime?: string;
|
|
@@ -2945,13 +3461,56 @@ export class DescribeServiceCronScalerResponseBodyScaleJobs extends $tea.Model {
|
|
|
2945
3461
|
}
|
|
2946
3462
|
}
|
|
2947
3463
|
|
|
3464
|
+
export class ListBenchmarkTaskResponseBodyTasks extends $tea.Model {
|
|
3465
|
+
availableAgent?: number;
|
|
3466
|
+
createTime?: string;
|
|
3467
|
+
message?: string;
|
|
3468
|
+
region?: string;
|
|
3469
|
+
serviceName?: string;
|
|
3470
|
+
status?: string;
|
|
3471
|
+
taskId?: string;
|
|
3472
|
+
taskName?: string;
|
|
3473
|
+
updateTime?: string;
|
|
3474
|
+
static names(): { [key: string]: string } {
|
|
3475
|
+
return {
|
|
3476
|
+
availableAgent: 'AvailableAgent',
|
|
3477
|
+
createTime: 'CreateTime',
|
|
3478
|
+
message: 'Message',
|
|
3479
|
+
region: 'Region',
|
|
3480
|
+
serviceName: 'ServiceName',
|
|
3481
|
+
status: 'Status',
|
|
3482
|
+
taskId: 'TaskId',
|
|
3483
|
+
taskName: 'TaskName',
|
|
3484
|
+
updateTime: 'UpdateTime',
|
|
3485
|
+
};
|
|
3486
|
+
}
|
|
3487
|
+
|
|
3488
|
+
static types(): { [key: string]: any } {
|
|
3489
|
+
return {
|
|
3490
|
+
availableAgent: 'number',
|
|
3491
|
+
createTime: 'string',
|
|
3492
|
+
message: 'string',
|
|
3493
|
+
region: 'string',
|
|
3494
|
+
serviceName: 'string',
|
|
3495
|
+
status: 'string',
|
|
3496
|
+
taskId: 'string',
|
|
3497
|
+
taskName: 'string',
|
|
3498
|
+
updateTime: 'string',
|
|
3499
|
+
};
|
|
3500
|
+
}
|
|
3501
|
+
|
|
3502
|
+
constructor(map?: { [key: string]: any }) {
|
|
3503
|
+
super(map);
|
|
3504
|
+
}
|
|
3505
|
+
}
|
|
3506
|
+
|
|
2948
3507
|
export class UpdateServiceAutoScalerRequestStrategies extends $tea.Model {
|
|
2949
3508
|
cpu?: number;
|
|
2950
3509
|
qps?: number;
|
|
2951
3510
|
static names(): { [key: string]: string } {
|
|
2952
3511
|
return {
|
|
2953
|
-
cpu: '
|
|
2954
|
-
qps: '
|
|
3512
|
+
cpu: 'cpu',
|
|
3513
|
+
qps: 'qps',
|
|
2955
3514
|
};
|
|
2956
3515
|
}
|
|
2957
3516
|
|
|
@@ -3032,6 +3591,32 @@ export default class Client extends OpenApi {
|
|
|
3032
3591
|
return EndpointUtil.getEndpointRules(productId, regionId, endpointRule, network, suffix);
|
|
3033
3592
|
}
|
|
3034
3593
|
|
|
3594
|
+
async createBenchmarkTask(request: CreateBenchmarkTaskRequest): Promise<CreateBenchmarkTaskResponse> {
|
|
3595
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
3596
|
+
let headers : {[key: string ]: string} = { };
|
|
3597
|
+
return await this.createBenchmarkTaskWithOptions(request, headers, runtime);
|
|
3598
|
+
}
|
|
3599
|
+
|
|
3600
|
+
async createBenchmarkTaskWithOptions(request: CreateBenchmarkTaskRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<CreateBenchmarkTaskResponse> {
|
|
3601
|
+
Util.validateModel(request);
|
|
3602
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
3603
|
+
headers: headers,
|
|
3604
|
+
body: request.body,
|
|
3605
|
+
});
|
|
3606
|
+
let params = new $OpenApi.Params({
|
|
3607
|
+
action: "CreateBenchmarkTask",
|
|
3608
|
+
version: "2021-07-01",
|
|
3609
|
+
protocol: "HTTPS",
|
|
3610
|
+
pathname: `/api/v2/benchmark-tasks`,
|
|
3611
|
+
method: "POST",
|
|
3612
|
+
authType: "AK",
|
|
3613
|
+
style: "ROA",
|
|
3614
|
+
reqBodyType: "json",
|
|
3615
|
+
bodyType: "json",
|
|
3616
|
+
});
|
|
3617
|
+
return $tea.cast<CreateBenchmarkTaskResponse>(await this.callApi(params, req, runtime), new CreateBenchmarkTaskResponse({}));
|
|
3618
|
+
}
|
|
3619
|
+
|
|
3035
3620
|
async createResource(request: CreateResourceRequest): Promise<CreateResourceResponse> {
|
|
3036
3621
|
let runtime = new $Util.RuntimeOptions({ });
|
|
3037
3622
|
let headers : {[key: string ]: string} = { };
|
|
@@ -3199,15 +3784,15 @@ export default class Client extends OpenApi {
|
|
|
3199
3784
|
ServiceName = OpenApiUtil.getEncodeParam(ServiceName);
|
|
3200
3785
|
let body : {[key: string ]: any} = { };
|
|
3201
3786
|
if (!Util.isUnset(request.max)) {
|
|
3202
|
-
body["
|
|
3787
|
+
body["max"] = request.max;
|
|
3203
3788
|
}
|
|
3204
3789
|
|
|
3205
3790
|
if (!Util.isUnset(request.min)) {
|
|
3206
|
-
body["
|
|
3791
|
+
body["min"] = request.min;
|
|
3207
3792
|
}
|
|
3208
3793
|
|
|
3209
3794
|
if (!Util.isUnset($tea.toMap(request.strategies))) {
|
|
3210
|
-
body["
|
|
3795
|
+
body["strategies"] = request.strategies;
|
|
3211
3796
|
}
|
|
3212
3797
|
|
|
3213
3798
|
let req = new $OpenApi.OpenApiRequest({
|
|
@@ -3302,6 +3887,32 @@ export default class Client extends OpenApi {
|
|
|
3302
3887
|
return $tea.cast<CreateServiceMirrorResponse>(await this.callApi(params, req, runtime), new CreateServiceMirrorResponse({}));
|
|
3303
3888
|
}
|
|
3304
3889
|
|
|
3890
|
+
async deleteBenchmarkTask(ClusterId: string, TaskName: string): Promise<DeleteBenchmarkTaskResponse> {
|
|
3891
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
3892
|
+
let headers : {[key: string ]: string} = { };
|
|
3893
|
+
return await this.deleteBenchmarkTaskWithOptions(ClusterId, TaskName, headers, runtime);
|
|
3894
|
+
}
|
|
3895
|
+
|
|
3896
|
+
async deleteBenchmarkTaskWithOptions(ClusterId: string, TaskName: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DeleteBenchmarkTaskResponse> {
|
|
3897
|
+
ClusterId = OpenApiUtil.getEncodeParam(ClusterId);
|
|
3898
|
+
TaskName = OpenApiUtil.getEncodeParam(TaskName);
|
|
3899
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
3900
|
+
headers: headers,
|
|
3901
|
+
});
|
|
3902
|
+
let params = new $OpenApi.Params({
|
|
3903
|
+
action: "DeleteBenchmarkTask",
|
|
3904
|
+
version: "2021-07-01",
|
|
3905
|
+
protocol: "HTTPS",
|
|
3906
|
+
pathname: `/api/v2/benchmark-tasks/${ClusterId}/${TaskName}`,
|
|
3907
|
+
method: "DELETE",
|
|
3908
|
+
authType: "AK",
|
|
3909
|
+
style: "ROA",
|
|
3910
|
+
reqBodyType: "json",
|
|
3911
|
+
bodyType: "json",
|
|
3912
|
+
});
|
|
3913
|
+
return $tea.cast<DeleteBenchmarkTaskResponse>(await this.callApi(params, req, runtime), new DeleteBenchmarkTaskResponse({}));
|
|
3914
|
+
}
|
|
3915
|
+
|
|
3305
3916
|
async deleteResource(ClusterId: string, ResourceId: string): Promise<DeleteResourceResponse> {
|
|
3306
3917
|
let runtime = new $Util.RuntimeOptions({ });
|
|
3307
3918
|
let headers : {[key: string ]: string} = { };
|
|
@@ -3554,28 +4165,56 @@ export default class Client extends OpenApi {
|
|
|
3554
4165
|
return $tea.cast<DeleteServiceMirrorResponse>(await this.callApi(params, req, runtime), new DeleteServiceMirrorResponse({}));
|
|
3555
4166
|
}
|
|
3556
4167
|
|
|
3557
|
-
async
|
|
4168
|
+
async describeBenchmarkTask(ClusterId: string, TaskName: string): Promise<DescribeBenchmarkTaskResponse> {
|
|
3558
4169
|
let runtime = new $Util.RuntimeOptions({ });
|
|
3559
4170
|
let headers : {[key: string ]: string} = { };
|
|
3560
|
-
return await this.
|
|
4171
|
+
return await this.describeBenchmarkTaskWithOptions(ClusterId, TaskName, headers, runtime);
|
|
3561
4172
|
}
|
|
3562
4173
|
|
|
3563
|
-
async
|
|
4174
|
+
async describeBenchmarkTaskWithOptions(ClusterId: string, TaskName: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeBenchmarkTaskResponse> {
|
|
4175
|
+
ClusterId = OpenApiUtil.getEncodeParam(ClusterId);
|
|
4176
|
+
TaskName = OpenApiUtil.getEncodeParam(TaskName);
|
|
3564
4177
|
let req = new $OpenApi.OpenApiRequest({
|
|
3565
4178
|
headers: headers,
|
|
3566
4179
|
});
|
|
3567
4180
|
let params = new $OpenApi.Params({
|
|
3568
|
-
action: "
|
|
4181
|
+
action: "DescribeBenchmarkTask",
|
|
3569
4182
|
version: "2021-07-01",
|
|
3570
4183
|
protocol: "HTTPS",
|
|
3571
|
-
pathname: `/api/v2/
|
|
4184
|
+
pathname: `/api/v2/benchmark-tasks/${ClusterId}/${TaskName}`,
|
|
3572
4185
|
method: "GET",
|
|
3573
4186
|
authType: "AK",
|
|
3574
4187
|
style: "ROA",
|
|
3575
4188
|
reqBodyType: "json",
|
|
3576
4189
|
bodyType: "json",
|
|
3577
4190
|
});
|
|
3578
|
-
return $tea.cast<
|
|
4191
|
+
return $tea.cast<DescribeBenchmarkTaskResponse>(await this.callApi(params, req, runtime), new DescribeBenchmarkTaskResponse({}));
|
|
4192
|
+
}
|
|
4193
|
+
|
|
4194
|
+
async describeBenchmarkTaskReport(ClusterId: string, TaskName: string): Promise<DescribeBenchmarkTaskReportResponse> {
|
|
4195
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
4196
|
+
let headers : {[key: string ]: string} = { };
|
|
4197
|
+
return await this.describeBenchmarkTaskReportWithOptions(ClusterId, TaskName, headers, runtime);
|
|
4198
|
+
}
|
|
4199
|
+
|
|
4200
|
+
async describeBenchmarkTaskReportWithOptions(ClusterId: string, TaskName: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeBenchmarkTaskReportResponse> {
|
|
4201
|
+
ClusterId = OpenApiUtil.getEncodeParam(ClusterId);
|
|
4202
|
+
TaskName = OpenApiUtil.getEncodeParam(TaskName);
|
|
4203
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
4204
|
+
headers: headers,
|
|
4205
|
+
});
|
|
4206
|
+
let params = new $OpenApi.Params({
|
|
4207
|
+
action: "DescribeBenchmarkTaskReport",
|
|
4208
|
+
version: "2021-07-01",
|
|
4209
|
+
protocol: "HTTPS",
|
|
4210
|
+
pathname: `/api/v2/benchmark-tasks/${ClusterId}/${TaskName}/report`,
|
|
4211
|
+
method: "GET",
|
|
4212
|
+
authType: "AK",
|
|
4213
|
+
style: "ROA",
|
|
4214
|
+
reqBodyType: "json",
|
|
4215
|
+
bodyType: "json",
|
|
4216
|
+
});
|
|
4217
|
+
return $tea.cast<DescribeBenchmarkTaskReportResponse>(await this.callApi(params, req, runtime), new DescribeBenchmarkTaskReportResponse({}));
|
|
3579
4218
|
}
|
|
3580
4219
|
|
|
3581
4220
|
async describeResource(ClusterId: string, ResourceId: string): Promise<DescribeResourceResponse> {
|
|
@@ -3813,6 +4452,30 @@ export default class Client extends OpenApi {
|
|
|
3813
4452
|
return $tea.cast<DescribeServiceMirrorResponse>(await this.callApi(params, req, runtime), new DescribeServiceMirrorResponse({}));
|
|
3814
4453
|
}
|
|
3815
4454
|
|
|
4455
|
+
async listBenchmarkTask(): Promise<ListBenchmarkTaskResponse> {
|
|
4456
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
4457
|
+
let headers : {[key: string ]: string} = { };
|
|
4458
|
+
return await this.listBenchmarkTaskWithOptions(headers, runtime);
|
|
4459
|
+
}
|
|
4460
|
+
|
|
4461
|
+
async listBenchmarkTaskWithOptions(headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<ListBenchmarkTaskResponse> {
|
|
4462
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
4463
|
+
headers: headers,
|
|
4464
|
+
});
|
|
4465
|
+
let params = new $OpenApi.Params({
|
|
4466
|
+
action: "ListBenchmarkTask",
|
|
4467
|
+
version: "2021-07-01",
|
|
4468
|
+
protocol: "HTTPS",
|
|
4469
|
+
pathname: `/api/v2/benchmark-tasks`,
|
|
4470
|
+
method: "GET",
|
|
4471
|
+
authType: "AK",
|
|
4472
|
+
style: "ROA",
|
|
4473
|
+
reqBodyType: "json",
|
|
4474
|
+
bodyType: "json",
|
|
4475
|
+
});
|
|
4476
|
+
return $tea.cast<ListBenchmarkTaskResponse>(await this.callApi(params, req, runtime), new ListBenchmarkTaskResponse({}));
|
|
4477
|
+
}
|
|
4478
|
+
|
|
3816
4479
|
async listResourceInstanceWorker(ClusterId: string, ResourceId: string, InstanceName: string, request: ListResourceInstanceWorkerRequest): Promise<ListResourceInstanceWorkerResponse> {
|
|
3817
4480
|
let runtime = new $Util.RuntimeOptions({ });
|
|
3818
4481
|
let headers : {[key: string ]: string} = { };
|
|
@@ -3862,6 +4525,10 @@ export default class Client extends OpenApi {
|
|
|
3862
4525
|
ClusterId = OpenApiUtil.getEncodeParam(ClusterId);
|
|
3863
4526
|
ResourceId = OpenApiUtil.getEncodeParam(ResourceId);
|
|
3864
4527
|
let query : {[key: string ]: any} = { };
|
|
4528
|
+
if (!Util.isUnset(request.chargeType)) {
|
|
4529
|
+
query["ChargeType"] = request.chargeType;
|
|
4530
|
+
}
|
|
4531
|
+
|
|
3865
4532
|
if (!Util.isUnset(request.pageNumber)) {
|
|
3866
4533
|
query["PageNumber"] = request.pageNumber;
|
|
3867
4534
|
}
|
|
@@ -4077,6 +4744,32 @@ export default class Client extends OpenApi {
|
|
|
4077
4744
|
return $tea.cast<ReleaseServiceResponse>(await this.callApi(params, req, runtime), new ReleaseServiceResponse({}));
|
|
4078
4745
|
}
|
|
4079
4746
|
|
|
4747
|
+
async startBenchmarkTask(ClusterId: string, TaskName: string): Promise<StartBenchmarkTaskResponse> {
|
|
4748
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
4749
|
+
let headers : {[key: string ]: string} = { };
|
|
4750
|
+
return await this.startBenchmarkTaskWithOptions(ClusterId, TaskName, headers, runtime);
|
|
4751
|
+
}
|
|
4752
|
+
|
|
4753
|
+
async startBenchmarkTaskWithOptions(ClusterId: string, TaskName: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<StartBenchmarkTaskResponse> {
|
|
4754
|
+
ClusterId = OpenApiUtil.getEncodeParam(ClusterId);
|
|
4755
|
+
TaskName = OpenApiUtil.getEncodeParam(TaskName);
|
|
4756
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
4757
|
+
headers: headers,
|
|
4758
|
+
});
|
|
4759
|
+
let params = new $OpenApi.Params({
|
|
4760
|
+
action: "StartBenchmarkTask",
|
|
4761
|
+
version: "2021-07-01",
|
|
4762
|
+
protocol: "HTTPS",
|
|
4763
|
+
pathname: `/api/v2/benchmark-tasks/${ClusterId}/${TaskName}/start`,
|
|
4764
|
+
method: "PUT",
|
|
4765
|
+
authType: "AK",
|
|
4766
|
+
style: "ROA",
|
|
4767
|
+
reqBodyType: "json",
|
|
4768
|
+
bodyType: "json",
|
|
4769
|
+
});
|
|
4770
|
+
return $tea.cast<StartBenchmarkTaskResponse>(await this.callApi(params, req, runtime), new StartBenchmarkTaskResponse({}));
|
|
4771
|
+
}
|
|
4772
|
+
|
|
4080
4773
|
async startService(ClusterId: string, ServiceName: string): Promise<StartServiceResponse> {
|
|
4081
4774
|
let runtime = new $Util.RuntimeOptions({ });
|
|
4082
4775
|
let headers : {[key: string ]: string} = { };
|
|
@@ -4103,6 +4796,32 @@ export default class Client extends OpenApi {
|
|
|
4103
4796
|
return $tea.cast<StartServiceResponse>(await this.callApi(params, req, runtime), new StartServiceResponse({}));
|
|
4104
4797
|
}
|
|
4105
4798
|
|
|
4799
|
+
async stopBenchmarkTask(ClusterId: string, TaskName: string): Promise<StopBenchmarkTaskResponse> {
|
|
4800
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
4801
|
+
let headers : {[key: string ]: string} = { };
|
|
4802
|
+
return await this.stopBenchmarkTaskWithOptions(ClusterId, TaskName, headers, runtime);
|
|
4803
|
+
}
|
|
4804
|
+
|
|
4805
|
+
async stopBenchmarkTaskWithOptions(ClusterId: string, TaskName: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<StopBenchmarkTaskResponse> {
|
|
4806
|
+
ClusterId = OpenApiUtil.getEncodeParam(ClusterId);
|
|
4807
|
+
TaskName = OpenApiUtil.getEncodeParam(TaskName);
|
|
4808
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
4809
|
+
headers: headers,
|
|
4810
|
+
});
|
|
4811
|
+
let params = new $OpenApi.Params({
|
|
4812
|
+
action: "StopBenchmarkTask",
|
|
4813
|
+
version: "2021-07-01",
|
|
4814
|
+
protocol: "HTTPS",
|
|
4815
|
+
pathname: `/api/v2/benchmark-tasks/${ClusterId}/${TaskName}/stop`,
|
|
4816
|
+
method: "PUT",
|
|
4817
|
+
authType: "AK",
|
|
4818
|
+
style: "ROA",
|
|
4819
|
+
reqBodyType: "json",
|
|
4820
|
+
bodyType: "json",
|
|
4821
|
+
});
|
|
4822
|
+
return $tea.cast<StopBenchmarkTaskResponse>(await this.callApi(params, req, runtime), new StopBenchmarkTaskResponse({}));
|
|
4823
|
+
}
|
|
4824
|
+
|
|
4106
4825
|
async stopService(ClusterId: string, ServiceName: string): Promise<StopServiceResponse> {
|
|
4107
4826
|
let runtime = new $Util.RuntimeOptions({ });
|
|
4108
4827
|
let headers : {[key: string ]: string} = { };
|
|
@@ -4129,6 +4848,34 @@ export default class Client extends OpenApi {
|
|
|
4129
4848
|
return $tea.cast<StopServiceResponse>(await this.callApi(params, req, runtime), new StopServiceResponse({}));
|
|
4130
4849
|
}
|
|
4131
4850
|
|
|
4851
|
+
async updateBenchmarkTask(ClusterId: string, TaskName: string, request: UpdateBenchmarkTaskRequest): Promise<UpdateBenchmarkTaskResponse> {
|
|
4852
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
4853
|
+
let headers : {[key: string ]: string} = { };
|
|
4854
|
+
return await this.updateBenchmarkTaskWithOptions(ClusterId, TaskName, request, headers, runtime);
|
|
4855
|
+
}
|
|
4856
|
+
|
|
4857
|
+
async updateBenchmarkTaskWithOptions(ClusterId: string, TaskName: string, request: UpdateBenchmarkTaskRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<UpdateBenchmarkTaskResponse> {
|
|
4858
|
+
Util.validateModel(request);
|
|
4859
|
+
ClusterId = OpenApiUtil.getEncodeParam(ClusterId);
|
|
4860
|
+
TaskName = OpenApiUtil.getEncodeParam(TaskName);
|
|
4861
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
4862
|
+
headers: headers,
|
|
4863
|
+
body: request.body,
|
|
4864
|
+
});
|
|
4865
|
+
let params = new $OpenApi.Params({
|
|
4866
|
+
action: "UpdateBenchmarkTask",
|
|
4867
|
+
version: "2021-07-01",
|
|
4868
|
+
protocol: "HTTPS",
|
|
4869
|
+
pathname: `/api/v2/benchmark-tasks/${ClusterId}/${TaskName}`,
|
|
4870
|
+
method: "PUT",
|
|
4871
|
+
authType: "AK",
|
|
4872
|
+
style: "ROA",
|
|
4873
|
+
reqBodyType: "json",
|
|
4874
|
+
bodyType: "json",
|
|
4875
|
+
});
|
|
4876
|
+
return $tea.cast<UpdateBenchmarkTaskResponse>(await this.callApi(params, req, runtime), new UpdateBenchmarkTaskResponse({}));
|
|
4877
|
+
}
|
|
4878
|
+
|
|
4132
4879
|
async updateResource(ClusterId: string, ResourceId: string, request: UpdateResourceRequest): Promise<UpdateResourceResponse> {
|
|
4133
4880
|
let runtime = new $Util.RuntimeOptions({ });
|
|
4134
4881
|
let headers : {[key: string ]: string} = { };
|
|
@@ -4247,15 +4994,15 @@ export default class Client extends OpenApi {
|
|
|
4247
4994
|
ServiceName = OpenApiUtil.getEncodeParam(ServiceName);
|
|
4248
4995
|
let body : {[key: string ]: any} = { };
|
|
4249
4996
|
if (!Util.isUnset(request.max)) {
|
|
4250
|
-
body["
|
|
4997
|
+
body["max"] = request.max;
|
|
4251
4998
|
}
|
|
4252
4999
|
|
|
4253
5000
|
if (!Util.isUnset(request.min)) {
|
|
4254
|
-
body["
|
|
5001
|
+
body["min"] = request.min;
|
|
4255
5002
|
}
|
|
4256
5003
|
|
|
4257
5004
|
if (!Util.isUnset($tea.toMap(request.strategies))) {
|
|
4258
|
-
body["
|
|
5005
|
+
body["strategies"] = request.strategies;
|
|
4259
5006
|
}
|
|
4260
5007
|
|
|
4261
5008
|
let req = new $OpenApi.OpenApiRequest({
|