@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/src/client.ts
CHANGED
|
@@ -15,6 +15,7 @@ export class Instance extends $tea.Model {
|
|
|
15
15
|
instanceName?: string;
|
|
16
16
|
instancePort?: number;
|
|
17
17
|
lastState?: { [key: string]: any }[];
|
|
18
|
+
namespace?: string;
|
|
18
19
|
readyProcesses?: number;
|
|
19
20
|
reason?: string;
|
|
20
21
|
restartCount?: number;
|
|
@@ -29,6 +30,7 @@ export class Instance extends $tea.Model {
|
|
|
29
30
|
instanceName: 'InstanceName',
|
|
30
31
|
instancePort: 'InstancePort',
|
|
31
32
|
lastState: 'LastState',
|
|
33
|
+
namespace: 'Namespace',
|
|
32
34
|
readyProcesses: 'ReadyProcesses',
|
|
33
35
|
reason: 'Reason',
|
|
34
36
|
restartCount: 'RestartCount',
|
|
@@ -46,6 +48,7 @@ export class Instance extends $tea.Model {
|
|
|
46
48
|
instanceName: 'string',
|
|
47
49
|
instancePort: 'number',
|
|
48
50
|
lastState: { 'type': 'array', 'itemType': { 'type': 'map', 'keyType': 'string', 'valueType': 'any' } },
|
|
51
|
+
namespace: 'string',
|
|
49
52
|
readyProcesses: 'number',
|
|
50
53
|
reason: 'string',
|
|
51
54
|
restartCount: 'number',
|
|
@@ -252,9 +255,10 @@ export class Service extends $tea.Model {
|
|
|
252
255
|
serviceConfig?: string;
|
|
253
256
|
serviceId?: string;
|
|
254
257
|
serviceName?: string;
|
|
258
|
+
source?: string;
|
|
255
259
|
status?: string;
|
|
256
260
|
totalInstance?: number;
|
|
257
|
-
|
|
261
|
+
updateTime?: string;
|
|
258
262
|
weight?: number;
|
|
259
263
|
static names(): { [key: string]: string } {
|
|
260
264
|
return {
|
|
@@ -281,9 +285,10 @@ export class Service extends $tea.Model {
|
|
|
281
285
|
serviceConfig: 'ServiceConfig',
|
|
282
286
|
serviceId: 'ServiceId',
|
|
283
287
|
serviceName: 'ServiceName',
|
|
288
|
+
source: 'Source',
|
|
284
289
|
status: 'Status',
|
|
285
290
|
totalInstance: 'TotalInstance',
|
|
286
|
-
|
|
291
|
+
updateTime: 'UpdateTime',
|
|
287
292
|
weight: 'Weight',
|
|
288
293
|
};
|
|
289
294
|
}
|
|
@@ -313,9 +318,10 @@ export class Service extends $tea.Model {
|
|
|
313
318
|
serviceConfig: 'string',
|
|
314
319
|
serviceId: 'string',
|
|
315
320
|
serviceName: 'string',
|
|
321
|
+
source: 'string',
|
|
316
322
|
status: 'string',
|
|
317
323
|
totalInstance: 'number',
|
|
318
|
-
|
|
324
|
+
updateTime: 'string',
|
|
319
325
|
weight: 'number',
|
|
320
326
|
};
|
|
321
327
|
}
|
|
@@ -325,6 +331,78 @@ export class Service extends $tea.Model {
|
|
|
325
331
|
}
|
|
326
332
|
}
|
|
327
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
|
+
|
|
328
406
|
export class CreateResourceRequest extends $tea.Model {
|
|
329
407
|
autoRenewal?: boolean;
|
|
330
408
|
chargeType?: string;
|
|
@@ -357,14 +435,14 @@ export class CreateResourceResponseBody extends $tea.Model {
|
|
|
357
435
|
clusterId?: string;
|
|
358
436
|
ownerUid?: string;
|
|
359
437
|
requestId?: string;
|
|
360
|
-
|
|
438
|
+
resourceId?: string;
|
|
361
439
|
resourceName?: string;
|
|
362
440
|
static names(): { [key: string]: string } {
|
|
363
441
|
return {
|
|
364
442
|
clusterId: 'ClusterId',
|
|
365
443
|
ownerUid: 'OwnerUid',
|
|
366
444
|
requestId: 'RequestId',
|
|
367
|
-
|
|
445
|
+
resourceId: 'ResourceId',
|
|
368
446
|
resourceName: 'ResourceName',
|
|
369
447
|
};
|
|
370
448
|
}
|
|
@@ -374,7 +452,7 @@ export class CreateResourceResponseBody extends $tea.Model {
|
|
|
374
452
|
clusterId: 'string',
|
|
375
453
|
ownerUid: 'string',
|
|
376
454
|
requestId: 'string',
|
|
377
|
-
|
|
455
|
+
resourceId: 'string',
|
|
378
456
|
resourceName: 'string',
|
|
379
457
|
};
|
|
380
458
|
}
|
|
@@ -386,10 +464,12 @@ export class CreateResourceResponseBody extends $tea.Model {
|
|
|
386
464
|
|
|
387
465
|
export class CreateResourceResponse extends $tea.Model {
|
|
388
466
|
headers: { [key: string]: string };
|
|
467
|
+
statusCode: number;
|
|
389
468
|
body: CreateResourceResponseBody;
|
|
390
469
|
static names(): { [key: string]: string } {
|
|
391
470
|
return {
|
|
392
471
|
headers: 'headers',
|
|
472
|
+
statusCode: 'statusCode',
|
|
393
473
|
body: 'body',
|
|
394
474
|
};
|
|
395
475
|
}
|
|
@@ -397,6 +477,7 @@ export class CreateResourceResponse extends $tea.Model {
|
|
|
397
477
|
static types(): { [key: string]: any } {
|
|
398
478
|
return {
|
|
399
479
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
480
|
+
statusCode: 'number',
|
|
400
481
|
body: CreateResourceResponseBody,
|
|
401
482
|
};
|
|
402
483
|
}
|
|
@@ -461,10 +542,12 @@ export class CreateResourceInstancesResponseBody extends $tea.Model {
|
|
|
461
542
|
|
|
462
543
|
export class CreateResourceInstancesResponse extends $tea.Model {
|
|
463
544
|
headers: { [key: string]: string };
|
|
545
|
+
statusCode: number;
|
|
464
546
|
body: CreateResourceInstancesResponseBody;
|
|
465
547
|
static names(): { [key: string]: string } {
|
|
466
548
|
return {
|
|
467
549
|
headers: 'headers',
|
|
550
|
+
statusCode: 'statusCode',
|
|
468
551
|
body: 'body',
|
|
469
552
|
};
|
|
470
553
|
}
|
|
@@ -472,6 +555,7 @@ export class CreateResourceInstancesResponse extends $tea.Model {
|
|
|
472
555
|
static types(): { [key: string]: any } {
|
|
473
556
|
return {
|
|
474
557
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
558
|
+
statusCode: 'number',
|
|
475
559
|
body: CreateResourceInstancesResponseBody,
|
|
476
560
|
};
|
|
477
561
|
}
|
|
@@ -527,10 +611,12 @@ export class CreateResourceLogResponseBody extends $tea.Model {
|
|
|
527
611
|
|
|
528
612
|
export class CreateResourceLogResponse extends $tea.Model {
|
|
529
613
|
headers: { [key: string]: string };
|
|
614
|
+
statusCode: number;
|
|
530
615
|
body: CreateResourceLogResponseBody;
|
|
531
616
|
static names(): { [key: string]: string } {
|
|
532
617
|
return {
|
|
533
618
|
headers: 'headers',
|
|
619
|
+
statusCode: 'statusCode',
|
|
534
620
|
body: 'body',
|
|
535
621
|
};
|
|
536
622
|
}
|
|
@@ -538,6 +624,7 @@ export class CreateResourceLogResponse extends $tea.Model {
|
|
|
538
624
|
static types(): { [key: string]: any } {
|
|
539
625
|
return {
|
|
540
626
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
627
|
+
statusCode: 'number',
|
|
541
628
|
body: CreateResourceLogResponseBody,
|
|
542
629
|
};
|
|
543
630
|
}
|
|
@@ -605,10 +692,12 @@ export class CreateServiceResponseBody extends $tea.Model {
|
|
|
605
692
|
|
|
606
693
|
export class CreateServiceResponse extends $tea.Model {
|
|
607
694
|
headers: { [key: string]: string };
|
|
695
|
+
statusCode: number;
|
|
608
696
|
body: CreateServiceResponseBody;
|
|
609
697
|
static names(): { [key: string]: string } {
|
|
610
698
|
return {
|
|
611
699
|
headers: 'headers',
|
|
700
|
+
statusCode: 'statusCode',
|
|
612
701
|
body: 'body',
|
|
613
702
|
};
|
|
614
703
|
}
|
|
@@ -616,6 +705,7 @@ export class CreateServiceResponse extends $tea.Model {
|
|
|
616
705
|
static types(): { [key: string]: any } {
|
|
617
706
|
return {
|
|
618
707
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
708
|
+
statusCode: 'number',
|
|
619
709
|
body: CreateServiceResponseBody,
|
|
620
710
|
};
|
|
621
711
|
}
|
|
@@ -674,10 +764,12 @@ export class CreateServiceAutoScalerResponseBody extends $tea.Model {
|
|
|
674
764
|
|
|
675
765
|
export class CreateServiceAutoScalerResponse extends $tea.Model {
|
|
676
766
|
headers: { [key: string]: string };
|
|
767
|
+
statusCode: number;
|
|
677
768
|
body: CreateServiceAutoScalerResponseBody;
|
|
678
769
|
static names(): { [key: string]: string } {
|
|
679
770
|
return {
|
|
680
771
|
headers: 'headers',
|
|
772
|
+
statusCode: 'statusCode',
|
|
681
773
|
body: 'body',
|
|
682
774
|
};
|
|
683
775
|
}
|
|
@@ -685,6 +777,7 @@ export class CreateServiceAutoScalerResponse extends $tea.Model {
|
|
|
685
777
|
static types(): { [key: string]: any } {
|
|
686
778
|
return {
|
|
687
779
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
780
|
+
statusCode: 'number',
|
|
688
781
|
body: CreateServiceAutoScalerResponseBody,
|
|
689
782
|
};
|
|
690
783
|
}
|
|
@@ -740,10 +833,12 @@ export class CreateServiceCronScalerResponseBody extends $tea.Model {
|
|
|
740
833
|
|
|
741
834
|
export class CreateServiceCronScalerResponse extends $tea.Model {
|
|
742
835
|
headers: { [key: string]: string };
|
|
836
|
+
statusCode: number;
|
|
743
837
|
body: CreateServiceCronScalerResponseBody;
|
|
744
838
|
static names(): { [key: string]: string } {
|
|
745
839
|
return {
|
|
746
840
|
headers: 'headers',
|
|
841
|
+
statusCode: 'statusCode',
|
|
747
842
|
body: 'body',
|
|
748
843
|
};
|
|
749
844
|
}
|
|
@@ -751,6 +846,7 @@ export class CreateServiceCronScalerResponse extends $tea.Model {
|
|
|
751
846
|
static types(): { [key: string]: any } {
|
|
752
847
|
return {
|
|
753
848
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
849
|
+
statusCode: 'number',
|
|
754
850
|
body: CreateServiceCronScalerResponseBody,
|
|
755
851
|
};
|
|
756
852
|
}
|
|
@@ -806,10 +902,12 @@ export class CreateServiceMirrorResponseBody extends $tea.Model {
|
|
|
806
902
|
|
|
807
903
|
export class CreateServiceMirrorResponse extends $tea.Model {
|
|
808
904
|
headers: { [key: string]: string };
|
|
905
|
+
statusCode: number;
|
|
809
906
|
body: CreateServiceMirrorResponseBody;
|
|
810
907
|
static names(): { [key: string]: string } {
|
|
811
908
|
return {
|
|
812
909
|
headers: 'headers',
|
|
910
|
+
statusCode: 'statusCode',
|
|
813
911
|
body: 'body',
|
|
814
912
|
};
|
|
815
913
|
}
|
|
@@ -817,6 +915,7 @@ export class CreateServiceMirrorResponse extends $tea.Model {
|
|
|
817
915
|
static types(): { [key: string]: any } {
|
|
818
916
|
return {
|
|
819
917
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
918
|
+
statusCode: 'number',
|
|
820
919
|
body: CreateServiceMirrorResponseBody,
|
|
821
920
|
};
|
|
822
921
|
}
|
|
@@ -826,6 +925,53 @@ export class CreateServiceMirrorResponse extends $tea.Model {
|
|
|
826
925
|
}
|
|
827
926
|
}
|
|
828
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
|
+
|
|
829
975
|
export class DeleteResourceResponseBody extends $tea.Model {
|
|
830
976
|
message?: string;
|
|
831
977
|
requestId?: string;
|
|
@@ -850,10 +996,12 @@ export class DeleteResourceResponseBody extends $tea.Model {
|
|
|
850
996
|
|
|
851
997
|
export class DeleteResourceResponse extends $tea.Model {
|
|
852
998
|
headers: { [key: string]: string };
|
|
999
|
+
statusCode: number;
|
|
853
1000
|
body: DeleteResourceResponseBody;
|
|
854
1001
|
static names(): { [key: string]: string } {
|
|
855
1002
|
return {
|
|
856
1003
|
headers: 'headers',
|
|
1004
|
+
statusCode: 'statusCode',
|
|
857
1005
|
body: 'body',
|
|
858
1006
|
};
|
|
859
1007
|
}
|
|
@@ -861,6 +1009,7 @@ export class DeleteResourceResponse extends $tea.Model {
|
|
|
861
1009
|
static types(): { [key: string]: any } {
|
|
862
1010
|
return {
|
|
863
1011
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1012
|
+
statusCode: 'number',
|
|
864
1013
|
body: DeleteResourceResponseBody,
|
|
865
1014
|
};
|
|
866
1015
|
}
|
|
@@ -894,10 +1043,12 @@ export class DeleteResourceDLinkResponseBody extends $tea.Model {
|
|
|
894
1043
|
|
|
895
1044
|
export class DeleteResourceDLinkResponse extends $tea.Model {
|
|
896
1045
|
headers: { [key: string]: string };
|
|
1046
|
+
statusCode: number;
|
|
897
1047
|
body: DeleteResourceDLinkResponseBody;
|
|
898
1048
|
static names(): { [key: string]: string } {
|
|
899
1049
|
return {
|
|
900
1050
|
headers: 'headers',
|
|
1051
|
+
statusCode: 'statusCode',
|
|
901
1052
|
body: 'body',
|
|
902
1053
|
};
|
|
903
1054
|
}
|
|
@@ -905,6 +1056,7 @@ export class DeleteResourceDLinkResponse extends $tea.Model {
|
|
|
905
1056
|
static types(): { [key: string]: any } {
|
|
906
1057
|
return {
|
|
907
1058
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1059
|
+
statusCode: 'number',
|
|
908
1060
|
body: DeleteResourceDLinkResponseBody,
|
|
909
1061
|
};
|
|
910
1062
|
}
|
|
@@ -960,10 +1112,12 @@ export class DeleteResourceInstancesResponseBody extends $tea.Model {
|
|
|
960
1112
|
|
|
961
1113
|
export class DeleteResourceInstancesResponse extends $tea.Model {
|
|
962
1114
|
headers: { [key: string]: string };
|
|
1115
|
+
statusCode: number;
|
|
963
1116
|
body: DeleteResourceInstancesResponseBody;
|
|
964
1117
|
static names(): { [key: string]: string } {
|
|
965
1118
|
return {
|
|
966
1119
|
headers: 'headers',
|
|
1120
|
+
statusCode: 'statusCode',
|
|
967
1121
|
body: 'body',
|
|
968
1122
|
};
|
|
969
1123
|
}
|
|
@@ -971,6 +1125,7 @@ export class DeleteResourceInstancesResponse extends $tea.Model {
|
|
|
971
1125
|
static types(): { [key: string]: any } {
|
|
972
1126
|
return {
|
|
973
1127
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1128
|
+
statusCode: 'number',
|
|
974
1129
|
body: DeleteResourceInstancesResponseBody,
|
|
975
1130
|
};
|
|
976
1131
|
}
|
|
@@ -1004,10 +1159,12 @@ export class DeleteResourceLogResponseBody extends $tea.Model {
|
|
|
1004
1159
|
|
|
1005
1160
|
export class DeleteResourceLogResponse extends $tea.Model {
|
|
1006
1161
|
headers: { [key: string]: string };
|
|
1162
|
+
statusCode: number;
|
|
1007
1163
|
body: DeleteResourceLogResponseBody;
|
|
1008
1164
|
static names(): { [key: string]: string } {
|
|
1009
1165
|
return {
|
|
1010
1166
|
headers: 'headers',
|
|
1167
|
+
statusCode: 'statusCode',
|
|
1011
1168
|
body: 'body',
|
|
1012
1169
|
};
|
|
1013
1170
|
}
|
|
@@ -1015,6 +1172,7 @@ export class DeleteResourceLogResponse extends $tea.Model {
|
|
|
1015
1172
|
static types(): { [key: string]: any } {
|
|
1016
1173
|
return {
|
|
1017
1174
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1175
|
+
statusCode: 'number',
|
|
1018
1176
|
body: DeleteResourceLogResponseBody,
|
|
1019
1177
|
};
|
|
1020
1178
|
}
|
|
@@ -1048,10 +1206,12 @@ export class DeleteServiceResponseBody extends $tea.Model {
|
|
|
1048
1206
|
|
|
1049
1207
|
export class DeleteServiceResponse extends $tea.Model {
|
|
1050
1208
|
headers: { [key: string]: string };
|
|
1209
|
+
statusCode: number;
|
|
1051
1210
|
body: DeleteServiceResponseBody;
|
|
1052
1211
|
static names(): { [key: string]: string } {
|
|
1053
1212
|
return {
|
|
1054
1213
|
headers: 'headers',
|
|
1214
|
+
statusCode: 'statusCode',
|
|
1055
1215
|
body: 'body',
|
|
1056
1216
|
};
|
|
1057
1217
|
}
|
|
@@ -1059,6 +1219,7 @@ export class DeleteServiceResponse extends $tea.Model {
|
|
|
1059
1219
|
static types(): { [key: string]: any } {
|
|
1060
1220
|
return {
|
|
1061
1221
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1222
|
+
statusCode: 'number',
|
|
1062
1223
|
body: DeleteServiceResponseBody,
|
|
1063
1224
|
};
|
|
1064
1225
|
}
|
|
@@ -1092,10 +1253,12 @@ export class DeleteServiceAutoScalerResponseBody extends $tea.Model {
|
|
|
1092
1253
|
|
|
1093
1254
|
export class DeleteServiceAutoScalerResponse extends $tea.Model {
|
|
1094
1255
|
headers: { [key: string]: string };
|
|
1256
|
+
statusCode: number;
|
|
1095
1257
|
body: DeleteServiceAutoScalerResponseBody;
|
|
1096
1258
|
static names(): { [key: string]: string } {
|
|
1097
1259
|
return {
|
|
1098
1260
|
headers: 'headers',
|
|
1261
|
+
statusCode: 'statusCode',
|
|
1099
1262
|
body: 'body',
|
|
1100
1263
|
};
|
|
1101
1264
|
}
|
|
@@ -1103,6 +1266,7 @@ export class DeleteServiceAutoScalerResponse extends $tea.Model {
|
|
|
1103
1266
|
static types(): { [key: string]: any } {
|
|
1104
1267
|
return {
|
|
1105
1268
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1269
|
+
statusCode: 'number',
|
|
1106
1270
|
body: DeleteServiceAutoScalerResponseBody,
|
|
1107
1271
|
};
|
|
1108
1272
|
}
|
|
@@ -1136,10 +1300,12 @@ export class DeleteServiceCronScalerResponseBody extends $tea.Model {
|
|
|
1136
1300
|
|
|
1137
1301
|
export class DeleteServiceCronScalerResponse extends $tea.Model {
|
|
1138
1302
|
headers: { [key: string]: string };
|
|
1303
|
+
statusCode: number;
|
|
1139
1304
|
body: DeleteServiceCronScalerResponseBody;
|
|
1140
1305
|
static names(): { [key: string]: string } {
|
|
1141
1306
|
return {
|
|
1142
1307
|
headers: 'headers',
|
|
1308
|
+
statusCode: 'statusCode',
|
|
1143
1309
|
body: 'body',
|
|
1144
1310
|
};
|
|
1145
1311
|
}
|
|
@@ -1147,6 +1313,7 @@ export class DeleteServiceCronScalerResponse extends $tea.Model {
|
|
|
1147
1313
|
static types(): { [key: string]: any } {
|
|
1148
1314
|
return {
|
|
1149
1315
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1316
|
+
statusCode: 'number',
|
|
1150
1317
|
body: DeleteServiceCronScalerResponseBody,
|
|
1151
1318
|
};
|
|
1152
1319
|
}
|
|
@@ -1199,10 +1366,12 @@ export class DeleteServiceInstancesResponseBody extends $tea.Model {
|
|
|
1199
1366
|
|
|
1200
1367
|
export class DeleteServiceInstancesResponse extends $tea.Model {
|
|
1201
1368
|
headers: { [key: string]: string };
|
|
1369
|
+
statusCode: number;
|
|
1202
1370
|
body: DeleteServiceInstancesResponseBody;
|
|
1203
1371
|
static names(): { [key: string]: string } {
|
|
1204
1372
|
return {
|
|
1205
1373
|
headers: 'headers',
|
|
1374
|
+
statusCode: 'statusCode',
|
|
1206
1375
|
body: 'body',
|
|
1207
1376
|
};
|
|
1208
1377
|
}
|
|
@@ -1210,6 +1379,7 @@ export class DeleteServiceInstancesResponse extends $tea.Model {
|
|
|
1210
1379
|
static types(): { [key: string]: any } {
|
|
1211
1380
|
return {
|
|
1212
1381
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1382
|
+
statusCode: 'number',
|
|
1213
1383
|
body: DeleteServiceInstancesResponseBody,
|
|
1214
1384
|
};
|
|
1215
1385
|
}
|
|
@@ -1243,10 +1413,12 @@ export class DeleteServiceMirrorResponseBody extends $tea.Model {
|
|
|
1243
1413
|
|
|
1244
1414
|
export class DeleteServiceMirrorResponse extends $tea.Model {
|
|
1245
1415
|
headers: { [key: string]: string };
|
|
1416
|
+
statusCode: number;
|
|
1246
1417
|
body: DeleteServiceMirrorResponseBody;
|
|
1247
1418
|
static names(): { [key: string]: string } {
|
|
1248
1419
|
return {
|
|
1249
1420
|
headers: 'headers',
|
|
1421
|
+
statusCode: 'statusCode',
|
|
1250
1422
|
body: 'body',
|
|
1251
1423
|
};
|
|
1252
1424
|
}
|
|
@@ -1254,6 +1426,7 @@ export class DeleteServiceMirrorResponse extends $tea.Model {
|
|
|
1254
1426
|
static types(): { [key: string]: any } {
|
|
1255
1427
|
return {
|
|
1256
1428
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1429
|
+
statusCode: 'number',
|
|
1257
1430
|
body: DeleteServiceMirrorResponseBody,
|
|
1258
1431
|
};
|
|
1259
1432
|
}
|
|
@@ -1263,6 +1436,130 @@ export class DeleteServiceMirrorResponse extends $tea.Model {
|
|
|
1263
1436
|
}
|
|
1264
1437
|
}
|
|
1265
1438
|
|
|
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;
|
|
1518
|
+
requestId?: string;
|
|
1519
|
+
static names(): { [key: string]: string } {
|
|
1520
|
+
return {
|
|
1521
|
+
reportUrl: 'ReportUrl',
|
|
1522
|
+
requestId: 'RequestId',
|
|
1523
|
+
};
|
|
1524
|
+
}
|
|
1525
|
+
|
|
1526
|
+
static types(): { [key: string]: any } {
|
|
1527
|
+
return {
|
|
1528
|
+
reportUrl: 'string',
|
|
1529
|
+
requestId: 'string',
|
|
1530
|
+
};
|
|
1531
|
+
}
|
|
1532
|
+
|
|
1533
|
+
constructor(map?: { [key: string]: any }) {
|
|
1534
|
+
super(map);
|
|
1535
|
+
}
|
|
1536
|
+
}
|
|
1537
|
+
|
|
1538
|
+
export class DescribeBenchmarkTaskReportResponse extends $tea.Model {
|
|
1539
|
+
headers: { [key: string]: string };
|
|
1540
|
+
statusCode: number;
|
|
1541
|
+
body: DescribeBenchmarkTaskReportResponseBody;
|
|
1542
|
+
static names(): { [key: string]: string } {
|
|
1543
|
+
return {
|
|
1544
|
+
headers: 'headers',
|
|
1545
|
+
statusCode: 'statusCode',
|
|
1546
|
+
body: 'body',
|
|
1547
|
+
};
|
|
1548
|
+
}
|
|
1549
|
+
|
|
1550
|
+
static types(): { [key: string]: any } {
|
|
1551
|
+
return {
|
|
1552
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1553
|
+
statusCode: 'number',
|
|
1554
|
+
body: DescribeBenchmarkTaskReportResponseBody,
|
|
1555
|
+
};
|
|
1556
|
+
}
|
|
1557
|
+
|
|
1558
|
+
constructor(map?: { [key: string]: any }) {
|
|
1559
|
+
super(map);
|
|
1560
|
+
}
|
|
1561
|
+
}
|
|
1562
|
+
|
|
1266
1563
|
export class DescribeResourceResponseBody extends $tea.Model {
|
|
1267
1564
|
clusterId?: string;
|
|
1268
1565
|
cpuCount?: number;
|
|
@@ -1326,10 +1623,12 @@ export class DescribeResourceResponseBody extends $tea.Model {
|
|
|
1326
1623
|
|
|
1327
1624
|
export class DescribeResourceResponse extends $tea.Model {
|
|
1328
1625
|
headers: { [key: string]: string };
|
|
1626
|
+
statusCode: number;
|
|
1329
1627
|
body: DescribeResourceResponseBody;
|
|
1330
1628
|
static names(): { [key: string]: string } {
|
|
1331
1629
|
return {
|
|
1332
1630
|
headers: 'headers',
|
|
1631
|
+
statusCode: 'statusCode',
|
|
1333
1632
|
body: 'body',
|
|
1334
1633
|
};
|
|
1335
1634
|
}
|
|
@@ -1337,6 +1636,7 @@ export class DescribeResourceResponse extends $tea.Model {
|
|
|
1337
1636
|
static types(): { [key: string]: any } {
|
|
1338
1637
|
return {
|
|
1339
1638
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1639
|
+
statusCode: 'number',
|
|
1340
1640
|
body: DescribeResourceResponseBody,
|
|
1341
1641
|
};
|
|
1342
1642
|
}
|
|
@@ -1382,10 +1682,12 @@ export class DescribeResourceDLinkResponseBody extends $tea.Model {
|
|
|
1382
1682
|
|
|
1383
1683
|
export class DescribeResourceDLinkResponse extends $tea.Model {
|
|
1384
1684
|
headers: { [key: string]: string };
|
|
1685
|
+
statusCode: number;
|
|
1385
1686
|
body: DescribeResourceDLinkResponseBody;
|
|
1386
1687
|
static names(): { [key: string]: string } {
|
|
1387
1688
|
return {
|
|
1388
1689
|
headers: 'headers',
|
|
1690
|
+
statusCode: 'statusCode',
|
|
1389
1691
|
body: 'body',
|
|
1390
1692
|
};
|
|
1391
1693
|
}
|
|
@@ -1393,6 +1695,7 @@ export class DescribeResourceDLinkResponse extends $tea.Model {
|
|
|
1393
1695
|
static types(): { [key: string]: any } {
|
|
1394
1696
|
return {
|
|
1395
1697
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1698
|
+
statusCode: 'number',
|
|
1396
1699
|
body: DescribeResourceDLinkResponseBody,
|
|
1397
1700
|
};
|
|
1398
1701
|
}
|
|
@@ -1435,10 +1738,12 @@ export class DescribeResourceLogResponseBody extends $tea.Model {
|
|
|
1435
1738
|
|
|
1436
1739
|
export class DescribeResourceLogResponse extends $tea.Model {
|
|
1437
1740
|
headers: { [key: string]: string };
|
|
1741
|
+
statusCode: number;
|
|
1438
1742
|
body: DescribeResourceLogResponseBody;
|
|
1439
1743
|
static names(): { [key: string]: string } {
|
|
1440
1744
|
return {
|
|
1441
1745
|
headers: 'headers',
|
|
1746
|
+
statusCode: 'statusCode',
|
|
1442
1747
|
body: 'body',
|
|
1443
1748
|
};
|
|
1444
1749
|
}
|
|
@@ -1446,6 +1751,7 @@ export class DescribeResourceLogResponse extends $tea.Model {
|
|
|
1446
1751
|
static types(): { [key: string]: any } {
|
|
1447
1752
|
return {
|
|
1448
1753
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1754
|
+
statusCode: 'number',
|
|
1449
1755
|
body: DescribeResourceLogResponseBody,
|
|
1450
1756
|
};
|
|
1451
1757
|
}
|
|
@@ -1457,10 +1763,12 @@ export class DescribeResourceLogResponse extends $tea.Model {
|
|
|
1457
1763
|
|
|
1458
1764
|
export class DescribeServiceResponse extends $tea.Model {
|
|
1459
1765
|
headers: { [key: string]: string };
|
|
1766
|
+
statusCode: number;
|
|
1460
1767
|
body: Service;
|
|
1461
1768
|
static names(): { [key: string]: string } {
|
|
1462
1769
|
return {
|
|
1463
1770
|
headers: 'headers',
|
|
1771
|
+
statusCode: 'statusCode',
|
|
1464
1772
|
body: 'body',
|
|
1465
1773
|
};
|
|
1466
1774
|
}
|
|
@@ -1468,6 +1776,7 @@ export class DescribeServiceResponse extends $tea.Model {
|
|
|
1468
1776
|
static types(): { [key: string]: any } {
|
|
1469
1777
|
return {
|
|
1470
1778
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1779
|
+
statusCode: 'number',
|
|
1471
1780
|
body: Service,
|
|
1472
1781
|
};
|
|
1473
1782
|
}
|
|
@@ -1478,6 +1787,7 @@ export class DescribeServiceResponse extends $tea.Model {
|
|
|
1478
1787
|
}
|
|
1479
1788
|
|
|
1480
1789
|
export class DescribeServiceAutoScalerResponseBody extends $tea.Model {
|
|
1790
|
+
currentValues?: { [key: string]: any };
|
|
1481
1791
|
maxReplica?: number;
|
|
1482
1792
|
minReplica?: number;
|
|
1483
1793
|
requestId?: string;
|
|
@@ -1485,6 +1795,7 @@ export class DescribeServiceAutoScalerResponseBody extends $tea.Model {
|
|
|
1485
1795
|
strategies?: { [key: string]: any };
|
|
1486
1796
|
static names(): { [key: string]: string } {
|
|
1487
1797
|
return {
|
|
1798
|
+
currentValues: 'CurrentValues',
|
|
1488
1799
|
maxReplica: 'MaxReplica',
|
|
1489
1800
|
minReplica: 'MinReplica',
|
|
1490
1801
|
requestId: 'RequestId',
|
|
@@ -1495,6 +1806,7 @@ export class DescribeServiceAutoScalerResponseBody extends $tea.Model {
|
|
|
1495
1806
|
|
|
1496
1807
|
static types(): { [key: string]: any } {
|
|
1497
1808
|
return {
|
|
1809
|
+
currentValues: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
1498
1810
|
maxReplica: 'number',
|
|
1499
1811
|
minReplica: 'number',
|
|
1500
1812
|
requestId: 'string',
|
|
@@ -1510,10 +1822,12 @@ export class DescribeServiceAutoScalerResponseBody extends $tea.Model {
|
|
|
1510
1822
|
|
|
1511
1823
|
export class DescribeServiceAutoScalerResponse extends $tea.Model {
|
|
1512
1824
|
headers: { [key: string]: string };
|
|
1825
|
+
statusCode: number;
|
|
1513
1826
|
body: DescribeServiceAutoScalerResponseBody;
|
|
1514
1827
|
static names(): { [key: string]: string } {
|
|
1515
1828
|
return {
|
|
1516
1829
|
headers: 'headers',
|
|
1830
|
+
statusCode: 'statusCode',
|
|
1517
1831
|
body: 'body',
|
|
1518
1832
|
};
|
|
1519
1833
|
}
|
|
@@ -1521,6 +1835,7 @@ export class DescribeServiceAutoScalerResponse extends $tea.Model {
|
|
|
1521
1835
|
static types(): { [key: string]: any } {
|
|
1522
1836
|
return {
|
|
1523
1837
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1838
|
+
statusCode: 'number',
|
|
1524
1839
|
body: DescribeServiceAutoScalerResponseBody,
|
|
1525
1840
|
};
|
|
1526
1841
|
}
|
|
@@ -1560,10 +1875,12 @@ export class DescribeServiceCronScalerResponseBody extends $tea.Model {
|
|
|
1560
1875
|
|
|
1561
1876
|
export class DescribeServiceCronScalerResponse extends $tea.Model {
|
|
1562
1877
|
headers: { [key: string]: string };
|
|
1878
|
+
statusCode: number;
|
|
1563
1879
|
body: DescribeServiceCronScalerResponseBody;
|
|
1564
1880
|
static names(): { [key: string]: string } {
|
|
1565
1881
|
return {
|
|
1566
1882
|
headers: 'headers',
|
|
1883
|
+
statusCode: 'statusCode',
|
|
1567
1884
|
body: 'body',
|
|
1568
1885
|
};
|
|
1569
1886
|
}
|
|
@@ -1571,6 +1888,7 @@ export class DescribeServiceCronScalerResponse extends $tea.Model {
|
|
|
1571
1888
|
static types(): { [key: string]: any } {
|
|
1572
1889
|
return {
|
|
1573
1890
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1891
|
+
statusCode: 'number',
|
|
1574
1892
|
body: DescribeServiceCronScalerResponseBody,
|
|
1575
1893
|
};
|
|
1576
1894
|
}
|
|
@@ -1647,10 +1965,12 @@ export class DescribeServiceLogResponseBody extends $tea.Model {
|
|
|
1647
1965
|
|
|
1648
1966
|
export class DescribeServiceLogResponse extends $tea.Model {
|
|
1649
1967
|
headers: { [key: string]: string };
|
|
1968
|
+
statusCode: number;
|
|
1650
1969
|
body: DescribeServiceLogResponseBody;
|
|
1651
1970
|
static names(): { [key: string]: string } {
|
|
1652
1971
|
return {
|
|
1653
1972
|
headers: 'headers',
|
|
1973
|
+
statusCode: 'statusCode',
|
|
1654
1974
|
body: 'body',
|
|
1655
1975
|
};
|
|
1656
1976
|
}
|
|
@@ -1658,6 +1978,7 @@ export class DescribeServiceLogResponse extends $tea.Model {
|
|
|
1658
1978
|
static types(): { [key: string]: any } {
|
|
1659
1979
|
return {
|
|
1660
1980
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1981
|
+
statusCode: 'number',
|
|
1661
1982
|
body: DescribeServiceLogResponseBody,
|
|
1662
1983
|
};
|
|
1663
1984
|
}
|
|
@@ -1697,10 +2018,12 @@ export class DescribeServiceMirrorResponseBody extends $tea.Model {
|
|
|
1697
2018
|
|
|
1698
2019
|
export class DescribeServiceMirrorResponse extends $tea.Model {
|
|
1699
2020
|
headers: { [key: string]: string };
|
|
2021
|
+
statusCode: number;
|
|
1700
2022
|
body: DescribeServiceMirrorResponseBody;
|
|
1701
2023
|
static names(): { [key: string]: string } {
|
|
1702
2024
|
return {
|
|
1703
2025
|
headers: 'headers',
|
|
2026
|
+
statusCode: 'statusCode',
|
|
1704
2027
|
body: 'body',
|
|
1705
2028
|
};
|
|
1706
2029
|
}
|
|
@@ -1708,6 +2031,7 @@ export class DescribeServiceMirrorResponse extends $tea.Model {
|
|
|
1708
2031
|
static types(): { [key: string]: any } {
|
|
1709
2032
|
return {
|
|
1710
2033
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2034
|
+
statusCode: 'number',
|
|
1711
2035
|
body: DescribeServiceMirrorResponseBody,
|
|
1712
2036
|
};
|
|
1713
2037
|
}
|
|
@@ -1717,6 +2041,53 @@ export class DescribeServiceMirrorResponse extends $tea.Model {
|
|
|
1717
2041
|
}
|
|
1718
2042
|
}
|
|
1719
2043
|
|
|
2044
|
+
export class ListBenchmarkTaskResponseBody extends $tea.Model {
|
|
2045
|
+
requestId?: string;
|
|
2046
|
+
tasks?: ListBenchmarkTaskResponseBodyTasks[];
|
|
2047
|
+
static names(): { [key: string]: string } {
|
|
2048
|
+
return {
|
|
2049
|
+
requestId: 'RequestId',
|
|
2050
|
+
tasks: 'Tasks',
|
|
2051
|
+
};
|
|
2052
|
+
}
|
|
2053
|
+
|
|
2054
|
+
static types(): { [key: string]: any } {
|
|
2055
|
+
return {
|
|
2056
|
+
requestId: 'string',
|
|
2057
|
+
tasks: { 'type': 'array', 'itemType': ListBenchmarkTaskResponseBodyTasks },
|
|
2058
|
+
};
|
|
2059
|
+
}
|
|
2060
|
+
|
|
2061
|
+
constructor(map?: { [key: string]: any }) {
|
|
2062
|
+
super(map);
|
|
2063
|
+
}
|
|
2064
|
+
}
|
|
2065
|
+
|
|
2066
|
+
export class ListBenchmarkTaskResponse extends $tea.Model {
|
|
2067
|
+
headers: { [key: string]: string };
|
|
2068
|
+
statusCode: number;
|
|
2069
|
+
body: ListBenchmarkTaskResponseBody;
|
|
2070
|
+
static names(): { [key: string]: string } {
|
|
2071
|
+
return {
|
|
2072
|
+
headers: 'headers',
|
|
2073
|
+
statusCode: 'statusCode',
|
|
2074
|
+
body: 'body',
|
|
2075
|
+
};
|
|
2076
|
+
}
|
|
2077
|
+
|
|
2078
|
+
static types(): { [key: string]: any } {
|
|
2079
|
+
return {
|
|
2080
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2081
|
+
statusCode: 'number',
|
|
2082
|
+
body: ListBenchmarkTaskResponseBody,
|
|
2083
|
+
};
|
|
2084
|
+
}
|
|
2085
|
+
|
|
2086
|
+
constructor(map?: { [key: string]: any }) {
|
|
2087
|
+
super(map);
|
|
2088
|
+
}
|
|
2089
|
+
}
|
|
2090
|
+
|
|
1720
2091
|
export class ListResourceInstanceWorkerRequest extends $tea.Model {
|
|
1721
2092
|
pageNumber?: number;
|
|
1722
2093
|
pageSize?: number;
|
|
@@ -1772,10 +2143,12 @@ export class ListResourceInstanceWorkerResponseBody extends $tea.Model {
|
|
|
1772
2143
|
|
|
1773
2144
|
export class ListResourceInstanceWorkerResponse extends $tea.Model {
|
|
1774
2145
|
headers: { [key: string]: string };
|
|
2146
|
+
statusCode: number;
|
|
1775
2147
|
body: ListResourceInstanceWorkerResponseBody;
|
|
1776
2148
|
static names(): { [key: string]: string } {
|
|
1777
2149
|
return {
|
|
1778
2150
|
headers: 'headers',
|
|
2151
|
+
statusCode: 'statusCode',
|
|
1779
2152
|
body: 'body',
|
|
1780
2153
|
};
|
|
1781
2154
|
}
|
|
@@ -1783,6 +2156,7 @@ export class ListResourceInstanceWorkerResponse extends $tea.Model {
|
|
|
1783
2156
|
static types(): { [key: string]: any } {
|
|
1784
2157
|
return {
|
|
1785
2158
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2159
|
+
statusCode: 'number',
|
|
1786
2160
|
body: ListResourceInstanceWorkerResponseBody,
|
|
1787
2161
|
};
|
|
1788
2162
|
}
|
|
@@ -1793,10 +2167,12 @@ export class ListResourceInstanceWorkerResponse extends $tea.Model {
|
|
|
1793
2167
|
}
|
|
1794
2168
|
|
|
1795
2169
|
export class ListResourceInstancesRequest extends $tea.Model {
|
|
2170
|
+
chargeType?: string;
|
|
1796
2171
|
pageNumber?: number;
|
|
1797
2172
|
pageSize?: number;
|
|
1798
2173
|
static names(): { [key: string]: string } {
|
|
1799
2174
|
return {
|
|
2175
|
+
chargeType: 'ChargeType',
|
|
1800
2176
|
pageNumber: 'PageNumber',
|
|
1801
2177
|
pageSize: 'PageSize',
|
|
1802
2178
|
};
|
|
@@ -1804,6 +2180,7 @@ export class ListResourceInstancesRequest extends $tea.Model {
|
|
|
1804
2180
|
|
|
1805
2181
|
static types(): { [key: string]: any } {
|
|
1806
2182
|
return {
|
|
2183
|
+
chargeType: 'string',
|
|
1807
2184
|
pageNumber: 'number',
|
|
1808
2185
|
pageSize: 'number',
|
|
1809
2186
|
};
|
|
@@ -1847,10 +2224,12 @@ export class ListResourceInstancesResponseBody extends $tea.Model {
|
|
|
1847
2224
|
|
|
1848
2225
|
export class ListResourceInstancesResponse extends $tea.Model {
|
|
1849
2226
|
headers: { [key: string]: string };
|
|
2227
|
+
statusCode: number;
|
|
1850
2228
|
body: ListResourceInstancesResponseBody;
|
|
1851
2229
|
static names(): { [key: string]: string } {
|
|
1852
2230
|
return {
|
|
1853
2231
|
headers: 'headers',
|
|
2232
|
+
statusCode: 'statusCode',
|
|
1854
2233
|
body: 'body',
|
|
1855
2234
|
};
|
|
1856
2235
|
}
|
|
@@ -1858,6 +2237,7 @@ export class ListResourceInstancesResponse extends $tea.Model {
|
|
|
1858
2237
|
static types(): { [key: string]: any } {
|
|
1859
2238
|
return {
|
|
1860
2239
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2240
|
+
statusCode: 'number',
|
|
1861
2241
|
body: ListResourceInstancesResponseBody,
|
|
1862
2242
|
};
|
|
1863
2243
|
}
|
|
@@ -1922,10 +2302,12 @@ export class ListResourceServicesResponseBody extends $tea.Model {
|
|
|
1922
2302
|
|
|
1923
2303
|
export class ListResourceServicesResponse extends $tea.Model {
|
|
1924
2304
|
headers: { [key: string]: string };
|
|
2305
|
+
statusCode: number;
|
|
1925
2306
|
body: ListResourceServicesResponseBody;
|
|
1926
2307
|
static names(): { [key: string]: string } {
|
|
1927
2308
|
return {
|
|
1928
2309
|
headers: 'headers',
|
|
2310
|
+
statusCode: 'statusCode',
|
|
1929
2311
|
body: 'body',
|
|
1930
2312
|
};
|
|
1931
2313
|
}
|
|
@@ -1933,6 +2315,7 @@ export class ListResourceServicesResponse extends $tea.Model {
|
|
|
1933
2315
|
static types(): { [key: string]: any } {
|
|
1934
2316
|
return {
|
|
1935
2317
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2318
|
+
statusCode: 'number',
|
|
1936
2319
|
body: ListResourceServicesResponseBody,
|
|
1937
2320
|
};
|
|
1938
2321
|
}
|
|
@@ -1997,10 +2380,12 @@ export class ListResourcesResponseBody extends $tea.Model {
|
|
|
1997
2380
|
|
|
1998
2381
|
export class ListResourcesResponse extends $tea.Model {
|
|
1999
2382
|
headers: { [key: string]: string };
|
|
2383
|
+
statusCode: number;
|
|
2000
2384
|
body: ListResourcesResponseBody;
|
|
2001
2385
|
static names(): { [key: string]: string } {
|
|
2002
2386
|
return {
|
|
2003
2387
|
headers: 'headers',
|
|
2388
|
+
statusCode: 'statusCode',
|
|
2004
2389
|
body: 'body',
|
|
2005
2390
|
};
|
|
2006
2391
|
}
|
|
@@ -2008,6 +2393,7 @@ export class ListResourcesResponse extends $tea.Model {
|
|
|
2008
2393
|
static types(): { [key: string]: any } {
|
|
2009
2394
|
return {
|
|
2010
2395
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2396
|
+
statusCode: 'number',
|
|
2011
2397
|
body: ListResourcesResponseBody,
|
|
2012
2398
|
};
|
|
2013
2399
|
}
|
|
@@ -2072,10 +2458,12 @@ export class ListServiceInstancesResponseBody extends $tea.Model {
|
|
|
2072
2458
|
|
|
2073
2459
|
export class ListServiceInstancesResponse extends $tea.Model {
|
|
2074
2460
|
headers: { [key: string]: string };
|
|
2461
|
+
statusCode: number;
|
|
2075
2462
|
body: ListServiceInstancesResponseBody;
|
|
2076
2463
|
static names(): { [key: string]: string } {
|
|
2077
2464
|
return {
|
|
2078
2465
|
headers: 'headers',
|
|
2466
|
+
statusCode: 'statusCode',
|
|
2079
2467
|
body: 'body',
|
|
2080
2468
|
};
|
|
2081
2469
|
}
|
|
@@ -2083,6 +2471,7 @@ export class ListServiceInstancesResponse extends $tea.Model {
|
|
|
2083
2471
|
static types(): { [key: string]: any } {
|
|
2084
2472
|
return {
|
|
2085
2473
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2474
|
+
statusCode: 'number',
|
|
2086
2475
|
body: ListServiceInstancesResponseBody,
|
|
2087
2476
|
};
|
|
2088
2477
|
}
|
|
@@ -2156,10 +2545,12 @@ export class ListServicesResponseBody extends $tea.Model {
|
|
|
2156
2545
|
|
|
2157
2546
|
export class ListServicesResponse extends $tea.Model {
|
|
2158
2547
|
headers: { [key: string]: string };
|
|
2548
|
+
statusCode: number;
|
|
2159
2549
|
body: ListServicesResponseBody;
|
|
2160
2550
|
static names(): { [key: string]: string } {
|
|
2161
2551
|
return {
|
|
2162
2552
|
headers: 'headers',
|
|
2553
|
+
statusCode: 'statusCode',
|
|
2163
2554
|
body: 'body',
|
|
2164
2555
|
};
|
|
2165
2556
|
}
|
|
@@ -2167,6 +2558,7 @@ export class ListServicesResponse extends $tea.Model {
|
|
|
2167
2558
|
static types(): { [key: string]: any } {
|
|
2168
2559
|
return {
|
|
2169
2560
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2561
|
+
statusCode: 'number',
|
|
2170
2562
|
body: ListServicesResponseBody,
|
|
2171
2563
|
};
|
|
2172
2564
|
}
|
|
@@ -2219,10 +2611,12 @@ export class ReleaseServiceResponseBody extends $tea.Model {
|
|
|
2219
2611
|
|
|
2220
2612
|
export class ReleaseServiceResponse extends $tea.Model {
|
|
2221
2613
|
headers: { [key: string]: string };
|
|
2614
|
+
statusCode: number;
|
|
2222
2615
|
body: ReleaseServiceResponseBody;
|
|
2223
2616
|
static names(): { [key: string]: string } {
|
|
2224
2617
|
return {
|
|
2225
2618
|
headers: 'headers',
|
|
2619
|
+
statusCode: 'statusCode',
|
|
2226
2620
|
body: 'body',
|
|
2227
2621
|
};
|
|
2228
2622
|
}
|
|
@@ -2230,6 +2624,7 @@ export class ReleaseServiceResponse extends $tea.Model {
|
|
|
2230
2624
|
static types(): { [key: string]: any } {
|
|
2231
2625
|
return {
|
|
2232
2626
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2627
|
+
statusCode: 'number',
|
|
2233
2628
|
body: ReleaseServiceResponseBody,
|
|
2234
2629
|
};
|
|
2235
2630
|
}
|
|
@@ -2239,7 +2634,7 @@ export class ReleaseServiceResponse extends $tea.Model {
|
|
|
2239
2634
|
}
|
|
2240
2635
|
}
|
|
2241
2636
|
|
|
2242
|
-
export class
|
|
2637
|
+
export class StartBenchmarkTaskResponseBody extends $tea.Model {
|
|
2243
2638
|
message?: string;
|
|
2244
2639
|
requestId?: string;
|
|
2245
2640
|
static names(): { [key: string]: string } {
|
|
@@ -2261,12 +2656,14 @@ export class StartServiceResponseBody extends $tea.Model {
|
|
|
2261
2656
|
}
|
|
2262
2657
|
}
|
|
2263
2658
|
|
|
2264
|
-
export class
|
|
2659
|
+
export class StartBenchmarkTaskResponse extends $tea.Model {
|
|
2265
2660
|
headers: { [key: string]: string };
|
|
2266
|
-
|
|
2661
|
+
statusCode: number;
|
|
2662
|
+
body: StartBenchmarkTaskResponseBody;
|
|
2267
2663
|
static names(): { [key: string]: string } {
|
|
2268
2664
|
return {
|
|
2269
2665
|
headers: 'headers',
|
|
2666
|
+
statusCode: 'statusCode',
|
|
2270
2667
|
body: 'body',
|
|
2271
2668
|
};
|
|
2272
2669
|
}
|
|
@@ -2274,7 +2671,8 @@ export class StartServiceResponse extends $tea.Model {
|
|
|
2274
2671
|
static types(): { [key: string]: any } {
|
|
2275
2672
|
return {
|
|
2276
2673
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2277
|
-
|
|
2674
|
+
statusCode: 'number',
|
|
2675
|
+
body: StartBenchmarkTaskResponseBody,
|
|
2278
2676
|
};
|
|
2279
2677
|
}
|
|
2280
2678
|
|
|
@@ -2283,7 +2681,7 @@ export class StartServiceResponse extends $tea.Model {
|
|
|
2283
2681
|
}
|
|
2284
2682
|
}
|
|
2285
2683
|
|
|
2286
|
-
export class
|
|
2684
|
+
export class StartServiceResponseBody extends $tea.Model {
|
|
2287
2685
|
message?: string;
|
|
2288
2686
|
requestId?: string;
|
|
2289
2687
|
static names(): { [key: string]: string } {
|
|
@@ -2305,12 +2703,14 @@ export class StopServiceResponseBody extends $tea.Model {
|
|
|
2305
2703
|
}
|
|
2306
2704
|
}
|
|
2307
2705
|
|
|
2308
|
-
export class
|
|
2706
|
+
export class StartServiceResponse extends $tea.Model {
|
|
2309
2707
|
headers: { [key: string]: string };
|
|
2310
|
-
|
|
2708
|
+
statusCode: number;
|
|
2709
|
+
body: StartServiceResponseBody;
|
|
2311
2710
|
static names(): { [key: string]: string } {
|
|
2312
2711
|
return {
|
|
2313
2712
|
headers: 'headers',
|
|
2713
|
+
statusCode: 'statusCode',
|
|
2314
2714
|
body: 'body',
|
|
2315
2715
|
};
|
|
2316
2716
|
}
|
|
@@ -2318,7 +2718,168 @@ export class StopServiceResponse extends $tea.Model {
|
|
|
2318
2718
|
static types(): { [key: string]: any } {
|
|
2319
2719
|
return {
|
|
2320
2720
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2321
|
-
|
|
2721
|
+
statusCode: 'number',
|
|
2722
|
+
body: StartServiceResponseBody,
|
|
2723
|
+
};
|
|
2724
|
+
}
|
|
2725
|
+
|
|
2726
|
+
constructor(map?: { [key: string]: any }) {
|
|
2727
|
+
super(map);
|
|
2728
|
+
}
|
|
2729
|
+
}
|
|
2730
|
+
|
|
2731
|
+
export class StopBenchmarkTaskResponseBody extends $tea.Model {
|
|
2732
|
+
message?: string;
|
|
2733
|
+
requestId?: string;
|
|
2734
|
+
static names(): { [key: string]: string } {
|
|
2735
|
+
return {
|
|
2736
|
+
message: 'Message',
|
|
2737
|
+
requestId: 'RequestId',
|
|
2738
|
+
};
|
|
2739
|
+
}
|
|
2740
|
+
|
|
2741
|
+
static types(): { [key: string]: any } {
|
|
2742
|
+
return {
|
|
2743
|
+
message: 'string',
|
|
2744
|
+
requestId: 'string',
|
|
2745
|
+
};
|
|
2746
|
+
}
|
|
2747
|
+
|
|
2748
|
+
constructor(map?: { [key: string]: any }) {
|
|
2749
|
+
super(map);
|
|
2750
|
+
}
|
|
2751
|
+
}
|
|
2752
|
+
|
|
2753
|
+
export class StopBenchmarkTaskResponse extends $tea.Model {
|
|
2754
|
+
headers: { [key: string]: string };
|
|
2755
|
+
statusCode: number;
|
|
2756
|
+
body: StopBenchmarkTaskResponseBody;
|
|
2757
|
+
static names(): { [key: string]: string } {
|
|
2758
|
+
return {
|
|
2759
|
+
headers: 'headers',
|
|
2760
|
+
statusCode: 'statusCode',
|
|
2761
|
+
body: 'body',
|
|
2762
|
+
};
|
|
2763
|
+
}
|
|
2764
|
+
|
|
2765
|
+
static types(): { [key: string]: any } {
|
|
2766
|
+
return {
|
|
2767
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2768
|
+
statusCode: 'number',
|
|
2769
|
+
body: StopBenchmarkTaskResponseBody,
|
|
2770
|
+
};
|
|
2771
|
+
}
|
|
2772
|
+
|
|
2773
|
+
constructor(map?: { [key: string]: any }) {
|
|
2774
|
+
super(map);
|
|
2775
|
+
}
|
|
2776
|
+
}
|
|
2777
|
+
|
|
2778
|
+
export class StopServiceResponseBody extends $tea.Model {
|
|
2779
|
+
message?: string;
|
|
2780
|
+
requestId?: string;
|
|
2781
|
+
static names(): { [key: string]: string } {
|
|
2782
|
+
return {
|
|
2783
|
+
message: 'Message',
|
|
2784
|
+
requestId: 'RequestId',
|
|
2785
|
+
};
|
|
2786
|
+
}
|
|
2787
|
+
|
|
2788
|
+
static types(): { [key: string]: any } {
|
|
2789
|
+
return {
|
|
2790
|
+
message: 'string',
|
|
2791
|
+
requestId: 'string',
|
|
2792
|
+
};
|
|
2793
|
+
}
|
|
2794
|
+
|
|
2795
|
+
constructor(map?: { [key: string]: any }) {
|
|
2796
|
+
super(map);
|
|
2797
|
+
}
|
|
2798
|
+
}
|
|
2799
|
+
|
|
2800
|
+
export class StopServiceResponse extends $tea.Model {
|
|
2801
|
+
headers: { [key: string]: string };
|
|
2802
|
+
statusCode: number;
|
|
2803
|
+
body: StopServiceResponseBody;
|
|
2804
|
+
static names(): { [key: string]: string } {
|
|
2805
|
+
return {
|
|
2806
|
+
headers: 'headers',
|
|
2807
|
+
statusCode: 'statusCode',
|
|
2808
|
+
body: 'body',
|
|
2809
|
+
};
|
|
2810
|
+
}
|
|
2811
|
+
|
|
2812
|
+
static types(): { [key: string]: any } {
|
|
2813
|
+
return {
|
|
2814
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2815
|
+
statusCode: 'number',
|
|
2816
|
+
body: StopServiceResponseBody,
|
|
2817
|
+
};
|
|
2818
|
+
}
|
|
2819
|
+
|
|
2820
|
+
constructor(map?: { [key: string]: any }) {
|
|
2821
|
+
super(map);
|
|
2822
|
+
}
|
|
2823
|
+
}
|
|
2824
|
+
|
|
2825
|
+
export class UpdateBenchmarkTaskRequest extends $tea.Model {
|
|
2826
|
+
body?: string;
|
|
2827
|
+
static names(): { [key: string]: string } {
|
|
2828
|
+
return {
|
|
2829
|
+
body: 'body',
|
|
2830
|
+
};
|
|
2831
|
+
}
|
|
2832
|
+
|
|
2833
|
+
static types(): { [key: string]: any } {
|
|
2834
|
+
return {
|
|
2835
|
+
body: 'string',
|
|
2836
|
+
};
|
|
2837
|
+
}
|
|
2838
|
+
|
|
2839
|
+
constructor(map?: { [key: string]: any }) {
|
|
2840
|
+
super(map);
|
|
2841
|
+
}
|
|
2842
|
+
}
|
|
2843
|
+
|
|
2844
|
+
export class UpdateBenchmarkTaskResponseBody extends $tea.Model {
|
|
2845
|
+
message?: string;
|
|
2846
|
+
requestId?: string;
|
|
2847
|
+
static names(): { [key: string]: string } {
|
|
2848
|
+
return {
|
|
2849
|
+
message: 'Message',
|
|
2850
|
+
requestId: 'RequestId',
|
|
2851
|
+
};
|
|
2852
|
+
}
|
|
2853
|
+
|
|
2854
|
+
static types(): { [key: string]: any } {
|
|
2855
|
+
return {
|
|
2856
|
+
message: 'string',
|
|
2857
|
+
requestId: 'string',
|
|
2858
|
+
};
|
|
2859
|
+
}
|
|
2860
|
+
|
|
2861
|
+
constructor(map?: { [key: string]: any }) {
|
|
2862
|
+
super(map);
|
|
2863
|
+
}
|
|
2864
|
+
}
|
|
2865
|
+
|
|
2866
|
+
export class UpdateBenchmarkTaskResponse extends $tea.Model {
|
|
2867
|
+
headers: { [key: string]: string };
|
|
2868
|
+
statusCode: number;
|
|
2869
|
+
body: UpdateBenchmarkTaskResponseBody;
|
|
2870
|
+
static names(): { [key: string]: string } {
|
|
2871
|
+
return {
|
|
2872
|
+
headers: 'headers',
|
|
2873
|
+
statusCode: 'statusCode',
|
|
2874
|
+
body: 'body',
|
|
2875
|
+
};
|
|
2876
|
+
}
|
|
2877
|
+
|
|
2878
|
+
static types(): { [key: string]: any } {
|
|
2879
|
+
return {
|
|
2880
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2881
|
+
statusCode: 'number',
|
|
2882
|
+
body: UpdateBenchmarkTaskResponseBody,
|
|
2322
2883
|
};
|
|
2323
2884
|
}
|
|
2324
2885
|
|
|
@@ -2373,10 +2934,12 @@ export class UpdateResourceResponseBody extends $tea.Model {
|
|
|
2373
2934
|
|
|
2374
2935
|
export class UpdateResourceResponse extends $tea.Model {
|
|
2375
2936
|
headers: { [key: string]: string };
|
|
2937
|
+
statusCode: number;
|
|
2376
2938
|
body: UpdateResourceResponseBody;
|
|
2377
2939
|
static names(): { [key: string]: string } {
|
|
2378
2940
|
return {
|
|
2379
2941
|
headers: 'headers',
|
|
2942
|
+
statusCode: 'statusCode',
|
|
2380
2943
|
body: 'body',
|
|
2381
2944
|
};
|
|
2382
2945
|
}
|
|
@@ -2384,6 +2947,7 @@ export class UpdateResourceResponse extends $tea.Model {
|
|
|
2384
2947
|
static types(): { [key: string]: any } {
|
|
2385
2948
|
return {
|
|
2386
2949
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2950
|
+
statusCode: 'number',
|
|
2387
2951
|
body: UpdateResourceResponseBody,
|
|
2388
2952
|
};
|
|
2389
2953
|
}
|
|
@@ -2445,10 +3009,12 @@ export class UpdateResourceDLinkResponseBody extends $tea.Model {
|
|
|
2445
3009
|
|
|
2446
3010
|
export class UpdateResourceDLinkResponse extends $tea.Model {
|
|
2447
3011
|
headers: { [key: string]: string };
|
|
3012
|
+
statusCode: number;
|
|
2448
3013
|
body: UpdateResourceDLinkResponseBody;
|
|
2449
3014
|
static names(): { [key: string]: string } {
|
|
2450
3015
|
return {
|
|
2451
3016
|
headers: 'headers',
|
|
3017
|
+
statusCode: 'statusCode',
|
|
2452
3018
|
body: 'body',
|
|
2453
3019
|
};
|
|
2454
3020
|
}
|
|
@@ -2456,6 +3022,7 @@ export class UpdateResourceDLinkResponse extends $tea.Model {
|
|
|
2456
3022
|
static types(): { [key: string]: any } {
|
|
2457
3023
|
return {
|
|
2458
3024
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3025
|
+
statusCode: 'number',
|
|
2459
3026
|
body: UpdateResourceDLinkResponseBody,
|
|
2460
3027
|
};
|
|
2461
3028
|
}
|
|
@@ -2508,10 +3075,12 @@ export class UpdateServiceResponseBody extends $tea.Model {
|
|
|
2508
3075
|
|
|
2509
3076
|
export class UpdateServiceResponse extends $tea.Model {
|
|
2510
3077
|
headers: { [key: string]: string };
|
|
3078
|
+
statusCode: number;
|
|
2511
3079
|
body: UpdateServiceResponseBody;
|
|
2512
3080
|
static names(): { [key: string]: string } {
|
|
2513
3081
|
return {
|
|
2514
3082
|
headers: 'headers',
|
|
3083
|
+
statusCode: 'statusCode',
|
|
2515
3084
|
body: 'body',
|
|
2516
3085
|
};
|
|
2517
3086
|
}
|
|
@@ -2519,6 +3088,7 @@ export class UpdateServiceResponse extends $tea.Model {
|
|
|
2519
3088
|
static types(): { [key: string]: any } {
|
|
2520
3089
|
return {
|
|
2521
3090
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3091
|
+
statusCode: 'number',
|
|
2522
3092
|
body: UpdateServiceResponseBody,
|
|
2523
3093
|
};
|
|
2524
3094
|
}
|
|
@@ -2577,10 +3147,12 @@ export class UpdateServiceAutoScalerResponseBody extends $tea.Model {
|
|
|
2577
3147
|
|
|
2578
3148
|
export class UpdateServiceAutoScalerResponse extends $tea.Model {
|
|
2579
3149
|
headers: { [key: string]: string };
|
|
3150
|
+
statusCode: number;
|
|
2580
3151
|
body: UpdateServiceAutoScalerResponseBody;
|
|
2581
3152
|
static names(): { [key: string]: string } {
|
|
2582
3153
|
return {
|
|
2583
3154
|
headers: 'headers',
|
|
3155
|
+
statusCode: 'statusCode',
|
|
2584
3156
|
body: 'body',
|
|
2585
3157
|
};
|
|
2586
3158
|
}
|
|
@@ -2588,6 +3160,7 @@ export class UpdateServiceAutoScalerResponse extends $tea.Model {
|
|
|
2588
3160
|
static types(): { [key: string]: any } {
|
|
2589
3161
|
return {
|
|
2590
3162
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3163
|
+
statusCode: 'number',
|
|
2591
3164
|
body: UpdateServiceAutoScalerResponseBody,
|
|
2592
3165
|
};
|
|
2593
3166
|
}
|
|
@@ -2643,10 +3216,12 @@ export class UpdateServiceCronScalerResponseBody extends $tea.Model {
|
|
|
2643
3216
|
|
|
2644
3217
|
export class UpdateServiceCronScalerResponse extends $tea.Model {
|
|
2645
3218
|
headers: { [key: string]: string };
|
|
3219
|
+
statusCode: number;
|
|
2646
3220
|
body: UpdateServiceCronScalerResponseBody;
|
|
2647
3221
|
static names(): { [key: string]: string } {
|
|
2648
3222
|
return {
|
|
2649
3223
|
headers: 'headers',
|
|
3224
|
+
statusCode: 'statusCode',
|
|
2650
3225
|
body: 'body',
|
|
2651
3226
|
};
|
|
2652
3227
|
}
|
|
@@ -2654,6 +3229,7 @@ export class UpdateServiceCronScalerResponse extends $tea.Model {
|
|
|
2654
3229
|
static types(): { [key: string]: any } {
|
|
2655
3230
|
return {
|
|
2656
3231
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3232
|
+
statusCode: 'number',
|
|
2657
3233
|
body: UpdateServiceCronScalerResponseBody,
|
|
2658
3234
|
};
|
|
2659
3235
|
}
|
|
@@ -2709,10 +3285,12 @@ export class UpdateServiceMirrorResponseBody extends $tea.Model {
|
|
|
2709
3285
|
|
|
2710
3286
|
export class UpdateServiceMirrorResponse extends $tea.Model {
|
|
2711
3287
|
headers: { [key: string]: string };
|
|
3288
|
+
statusCode: number;
|
|
2712
3289
|
body: UpdateServiceMirrorResponseBody;
|
|
2713
3290
|
static names(): { [key: string]: string } {
|
|
2714
3291
|
return {
|
|
2715
3292
|
headers: 'headers',
|
|
3293
|
+
statusCode: 'statusCode',
|
|
2716
3294
|
body: 'body',
|
|
2717
3295
|
};
|
|
2718
3296
|
}
|
|
@@ -2720,6 +3298,7 @@ export class UpdateServiceMirrorResponse extends $tea.Model {
|
|
|
2720
3298
|
static types(): { [key: string]: any } {
|
|
2721
3299
|
return {
|
|
2722
3300
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3301
|
+
statusCode: 'number',
|
|
2723
3302
|
body: UpdateServiceMirrorResponseBody,
|
|
2724
3303
|
};
|
|
2725
3304
|
}
|
|
@@ -2772,10 +3351,12 @@ export class UpdateServiceVersionResponseBody extends $tea.Model {
|
|
|
2772
3351
|
|
|
2773
3352
|
export class UpdateServiceVersionResponse extends $tea.Model {
|
|
2774
3353
|
headers: { [key: string]: string };
|
|
3354
|
+
statusCode: number;
|
|
2775
3355
|
body: UpdateServiceVersionResponseBody;
|
|
2776
3356
|
static names(): { [key: string]: string } {
|
|
2777
3357
|
return {
|
|
2778
3358
|
headers: 'headers',
|
|
3359
|
+
statusCode: 'statusCode',
|
|
2779
3360
|
body: 'body',
|
|
2780
3361
|
};
|
|
2781
3362
|
}
|
|
@@ -2783,6 +3364,7 @@ export class UpdateServiceVersionResponse extends $tea.Model {
|
|
|
2783
3364
|
static types(): { [key: string]: any } {
|
|
2784
3365
|
return {
|
|
2785
3366
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3367
|
+
statusCode: 'number',
|
|
2786
3368
|
body: UpdateServiceVersionResponseBody,
|
|
2787
3369
|
};
|
|
2788
3370
|
}
|
|
@@ -2840,6 +3422,7 @@ export class CreateServiceCronScalerRequestScaleJobs extends $tea.Model {
|
|
|
2840
3422
|
}
|
|
2841
3423
|
|
|
2842
3424
|
export class DescribeServiceCronScalerResponseBodyScaleJobs extends $tea.Model {
|
|
3425
|
+
createTime?: string;
|
|
2843
3426
|
lastProbeTime?: string;
|
|
2844
3427
|
message?: string;
|
|
2845
3428
|
name?: string;
|
|
@@ -2848,6 +3431,7 @@ export class DescribeServiceCronScalerResponseBodyScaleJobs extends $tea.Model {
|
|
|
2848
3431
|
targetSize?: number;
|
|
2849
3432
|
static names(): { [key: string]: string } {
|
|
2850
3433
|
return {
|
|
3434
|
+
createTime: 'CreateTime',
|
|
2851
3435
|
lastProbeTime: 'LastProbeTime',
|
|
2852
3436
|
message: 'Message',
|
|
2853
3437
|
name: 'Name',
|
|
@@ -2859,6 +3443,7 @@ export class DescribeServiceCronScalerResponseBodyScaleJobs extends $tea.Model {
|
|
|
2859
3443
|
|
|
2860
3444
|
static types(): { [key: string]: any } {
|
|
2861
3445
|
return {
|
|
3446
|
+
createTime: 'string',
|
|
2862
3447
|
lastProbeTime: 'string',
|
|
2863
3448
|
message: 'string',
|
|
2864
3449
|
name: 'string',
|
|
@@ -2873,6 +3458,49 @@ export class DescribeServiceCronScalerResponseBodyScaleJobs extends $tea.Model {
|
|
|
2873
3458
|
}
|
|
2874
3459
|
}
|
|
2875
3460
|
|
|
3461
|
+
export class ListBenchmarkTaskResponseBodyTasks extends $tea.Model {
|
|
3462
|
+
availableAgent?: number;
|
|
3463
|
+
createTime?: string;
|
|
3464
|
+
message?: string;
|
|
3465
|
+
region?: string;
|
|
3466
|
+
serviceName?: string;
|
|
3467
|
+
status?: string;
|
|
3468
|
+
taskId?: string;
|
|
3469
|
+
taskName?: string;
|
|
3470
|
+
updateTime?: string;
|
|
3471
|
+
static names(): { [key: string]: string } {
|
|
3472
|
+
return {
|
|
3473
|
+
availableAgent: 'AvailableAgent',
|
|
3474
|
+
createTime: 'CreateTime',
|
|
3475
|
+
message: 'Message',
|
|
3476
|
+
region: 'Region',
|
|
3477
|
+
serviceName: 'ServiceName',
|
|
3478
|
+
status: 'Status',
|
|
3479
|
+
taskId: 'TaskId',
|
|
3480
|
+
taskName: 'TaskName',
|
|
3481
|
+
updateTime: 'UpdateTime',
|
|
3482
|
+
};
|
|
3483
|
+
}
|
|
3484
|
+
|
|
3485
|
+
static types(): { [key: string]: any } {
|
|
3486
|
+
return {
|
|
3487
|
+
availableAgent: 'number',
|
|
3488
|
+
createTime: 'string',
|
|
3489
|
+
message: 'string',
|
|
3490
|
+
region: 'string',
|
|
3491
|
+
serviceName: 'string',
|
|
3492
|
+
status: 'string',
|
|
3493
|
+
taskId: 'string',
|
|
3494
|
+
taskName: 'string',
|
|
3495
|
+
updateTime: 'string',
|
|
3496
|
+
};
|
|
3497
|
+
}
|
|
3498
|
+
|
|
3499
|
+
constructor(map?: { [key: string]: any }) {
|
|
3500
|
+
super(map);
|
|
3501
|
+
}
|
|
3502
|
+
}
|
|
3503
|
+
|
|
2876
3504
|
export class UpdateServiceAutoScalerRequestStrategies extends $tea.Model {
|
|
2877
3505
|
cpu?: number;
|
|
2878
3506
|
qps?: number;
|
|
@@ -2935,55 +3563,13 @@ export default class Client extends OpenApi {
|
|
|
2935
3563
|
'cn-hongkong': "pai-eas.cn-hongkong.aliyuncs.com",
|
|
2936
3564
|
'ap-southeast-1': "pai-eas.ap-southeast-1.aliyuncs.com",
|
|
2937
3565
|
'ap-southeast-5': "pai-eas.ap-southeast-5.aliyuncs.com",
|
|
2938
|
-
'us-west-1': "pai-eas.us-west-1.aliyuncs.com",
|
|
2939
3566
|
'us-east-1': "pai-eas.us-east-1.aliyuncs.com",
|
|
3567
|
+
'us-west-1': "pai-eas.us-west-1.aliyuncs.com",
|
|
2940
3568
|
'eu-central-1': "pai-eas.eu-central-1.aliyuncs.com",
|
|
2941
3569
|
'ap-south-1': "pai-eas.ap-south-1.aliyuncs.com",
|
|
2942
3570
|
'cn-shanghai-finance-1': "pai-eas.cn-shanghai-finance-1.aliyuncs.com",
|
|
2943
3571
|
'cn-north-2-gov-1': "pai-eas.cn-north-2-gov-1.aliyuncs.com",
|
|
2944
|
-
'ap-northeast-1': "eas.aliyuncs.com",
|
|
2945
|
-
'ap-northeast-2-pop': "eas.aliyuncs.com",
|
|
2946
|
-
'ap-southeast-2': "eas.aliyuncs.com",
|
|
2947
|
-
'ap-southeast-3': "eas.aliyuncs.com",
|
|
2948
|
-
'cn-beijing-finance-1': "eas.aliyuncs.com",
|
|
2949
|
-
'cn-beijing-finance-pop': "eas.aliyuncs.com",
|
|
2950
|
-
'cn-beijing-gov-1': "eas.aliyuncs.com",
|
|
2951
|
-
'cn-beijing-nu16-b01': "eas.aliyuncs.com",
|
|
2952
3572
|
'cn-chengdu': "pai-eas.cn-chengdu.aliyuncs.com",
|
|
2953
|
-
'cn-edge-1': "eas.aliyuncs.com",
|
|
2954
|
-
'cn-fujian': "eas.aliyuncs.com",
|
|
2955
|
-
'cn-haidian-cm12-c01': "eas.aliyuncs.com",
|
|
2956
|
-
'cn-hangzhou-bj-b01': "eas.aliyuncs.com",
|
|
2957
|
-
'cn-hangzhou-finance': "eas.aliyuncs.com",
|
|
2958
|
-
'cn-hangzhou-internal-prod-1': "eas.aliyuncs.com",
|
|
2959
|
-
'cn-hangzhou-internal-test-1': "eas.aliyuncs.com",
|
|
2960
|
-
'cn-hangzhou-internal-test-2': "eas.aliyuncs.com",
|
|
2961
|
-
'cn-hangzhou-internal-test-3': "eas.aliyuncs.com",
|
|
2962
|
-
'cn-hangzhou-test-306': "eas.aliyuncs.com",
|
|
2963
|
-
'cn-hongkong-finance-pop': "eas.aliyuncs.com",
|
|
2964
|
-
'cn-huhehaote': "eas.aliyuncs.com",
|
|
2965
|
-
'cn-huhehaote-nebula-1': "eas.aliyuncs.com",
|
|
2966
|
-
'cn-qingdao': "eas.aliyuncs.com",
|
|
2967
|
-
'cn-qingdao-nebula': "eas.aliyuncs.com",
|
|
2968
|
-
'cn-shanghai-et15-b01': "eas.aliyuncs.com",
|
|
2969
|
-
'cn-shanghai-et2-b01': "eas.aliyuncs.com",
|
|
2970
|
-
'cn-shanghai-inner': "eas.aliyuncs.com",
|
|
2971
|
-
'cn-shanghai-internal-test-1': "eas.aliyuncs.com",
|
|
2972
|
-
'cn-shenzhen-finance-1': "eas.aliyuncs.com",
|
|
2973
|
-
'cn-shenzhen-inner': "eas.aliyuncs.com",
|
|
2974
|
-
'cn-shenzhen-st4-d01': "eas.aliyuncs.com",
|
|
2975
|
-
'cn-shenzhen-su18-b01': "eas.aliyuncs.com",
|
|
2976
|
-
'cn-wuhan': "eas.aliyuncs.com",
|
|
2977
|
-
'cn-wulanchabu': "eas.aliyuncs.com",
|
|
2978
|
-
'cn-yushanfang': "eas.aliyuncs.com",
|
|
2979
|
-
'cn-zhangbei': "eas.aliyuncs.com",
|
|
2980
|
-
'cn-zhangbei-na61-b01': "eas.aliyuncs.com",
|
|
2981
|
-
'cn-zhangjiakou-na62-a01': "eas.aliyuncs.com",
|
|
2982
|
-
'cn-zhengzhou-nebula-1': "eas.aliyuncs.com",
|
|
2983
|
-
'eu-west-1': "eas.aliyuncs.com",
|
|
2984
|
-
'eu-west-1-oxs': "eas.aliyuncs.com",
|
|
2985
|
-
'me-east-1': "eas.aliyuncs.com",
|
|
2986
|
-
'rus-west-1-pop': "eas.aliyuncs.com",
|
|
2987
3573
|
};
|
|
2988
3574
|
this.checkConfig(config);
|
|
2989
3575
|
this._endpoint = this.getEndpoint("eas", this._regionId, this._endpointRule, this._network, this._suffix, this._endpointMap, this._endpoint);
|
|
@@ -3002,6 +3588,32 @@ export default class Client extends OpenApi {
|
|
|
3002
3588
|
return EndpointUtil.getEndpointRules(productId, regionId, endpointRule, network, suffix);
|
|
3003
3589
|
}
|
|
3004
3590
|
|
|
3591
|
+
async createBenchmarkTask(request: CreateBenchmarkTaskRequest): Promise<CreateBenchmarkTaskResponse> {
|
|
3592
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
3593
|
+
let headers : {[key: string ]: string} = { };
|
|
3594
|
+
return await this.createBenchmarkTaskWithOptions(request, headers, runtime);
|
|
3595
|
+
}
|
|
3596
|
+
|
|
3597
|
+
async createBenchmarkTaskWithOptions(request: CreateBenchmarkTaskRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<CreateBenchmarkTaskResponse> {
|
|
3598
|
+
Util.validateModel(request);
|
|
3599
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
3600
|
+
headers: headers,
|
|
3601
|
+
body: request.body,
|
|
3602
|
+
});
|
|
3603
|
+
let params = new $OpenApi.Params({
|
|
3604
|
+
action: "CreateBenchmarkTask",
|
|
3605
|
+
version: "2021-07-01",
|
|
3606
|
+
protocol: "HTTPS",
|
|
3607
|
+
pathname: `/api/v2/benchmark-tasks`,
|
|
3608
|
+
method: "POST",
|
|
3609
|
+
authType: "AK",
|
|
3610
|
+
style: "ROA",
|
|
3611
|
+
reqBodyType: "json",
|
|
3612
|
+
bodyType: "json",
|
|
3613
|
+
});
|
|
3614
|
+
return $tea.cast<CreateBenchmarkTaskResponse>(await this.callApi(params, req, runtime), new CreateBenchmarkTaskResponse({}));
|
|
3615
|
+
}
|
|
3616
|
+
|
|
3005
3617
|
async createResource(request: CreateResourceRequest): Promise<CreateResourceResponse> {
|
|
3006
3618
|
let runtime = new $Util.RuntimeOptions({ });
|
|
3007
3619
|
let headers : {[key: string ]: string} = { };
|
|
@@ -3272,6 +3884,32 @@ export default class Client extends OpenApi {
|
|
|
3272
3884
|
return $tea.cast<CreateServiceMirrorResponse>(await this.callApi(params, req, runtime), new CreateServiceMirrorResponse({}));
|
|
3273
3885
|
}
|
|
3274
3886
|
|
|
3887
|
+
async deleteBenchmarkTask(ClusterId: string, TaskName: string): Promise<DeleteBenchmarkTaskResponse> {
|
|
3888
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
3889
|
+
let headers : {[key: string ]: string} = { };
|
|
3890
|
+
return await this.deleteBenchmarkTaskWithOptions(ClusterId, TaskName, headers, runtime);
|
|
3891
|
+
}
|
|
3892
|
+
|
|
3893
|
+
async deleteBenchmarkTaskWithOptions(ClusterId: string, TaskName: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DeleteBenchmarkTaskResponse> {
|
|
3894
|
+
ClusterId = OpenApiUtil.getEncodeParam(ClusterId);
|
|
3895
|
+
TaskName = OpenApiUtil.getEncodeParam(TaskName);
|
|
3896
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
3897
|
+
headers: headers,
|
|
3898
|
+
});
|
|
3899
|
+
let params = new $OpenApi.Params({
|
|
3900
|
+
action: "DeleteBenchmarkTask",
|
|
3901
|
+
version: "2021-07-01",
|
|
3902
|
+
protocol: "HTTPS",
|
|
3903
|
+
pathname: `/api/v2/benchmark-tasks/${ClusterId}/${TaskName}`,
|
|
3904
|
+
method: "DELETE",
|
|
3905
|
+
authType: "AK",
|
|
3906
|
+
style: "ROA",
|
|
3907
|
+
reqBodyType: "json",
|
|
3908
|
+
bodyType: "json",
|
|
3909
|
+
});
|
|
3910
|
+
return $tea.cast<DeleteBenchmarkTaskResponse>(await this.callApi(params, req, runtime), new DeleteBenchmarkTaskResponse({}));
|
|
3911
|
+
}
|
|
3912
|
+
|
|
3275
3913
|
async deleteResource(ClusterId: string, ResourceId: string): Promise<DeleteResourceResponse> {
|
|
3276
3914
|
let runtime = new $Util.RuntimeOptions({ });
|
|
3277
3915
|
let headers : {[key: string ]: string} = { };
|
|
@@ -3524,6 +4162,58 @@ export default class Client extends OpenApi {
|
|
|
3524
4162
|
return $tea.cast<DeleteServiceMirrorResponse>(await this.callApi(params, req, runtime), new DeleteServiceMirrorResponse({}));
|
|
3525
4163
|
}
|
|
3526
4164
|
|
|
4165
|
+
async describeBenchmarkTask(ClusterId: string, TaskName: string): Promise<DescribeBenchmarkTaskResponse> {
|
|
4166
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
4167
|
+
let headers : {[key: string ]: string} = { };
|
|
4168
|
+
return await this.describeBenchmarkTaskWithOptions(ClusterId, TaskName, headers, runtime);
|
|
4169
|
+
}
|
|
4170
|
+
|
|
4171
|
+
async describeBenchmarkTaskWithOptions(ClusterId: string, TaskName: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeBenchmarkTaskResponse> {
|
|
4172
|
+
ClusterId = OpenApiUtil.getEncodeParam(ClusterId);
|
|
4173
|
+
TaskName = OpenApiUtil.getEncodeParam(TaskName);
|
|
4174
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
4175
|
+
headers: headers,
|
|
4176
|
+
});
|
|
4177
|
+
let params = new $OpenApi.Params({
|
|
4178
|
+
action: "DescribeBenchmarkTask",
|
|
4179
|
+
version: "2021-07-01",
|
|
4180
|
+
protocol: "HTTPS",
|
|
4181
|
+
pathname: `/api/v2/benchmark-tasks/${ClusterId}/${TaskName}`,
|
|
4182
|
+
method: "GET",
|
|
4183
|
+
authType: "AK",
|
|
4184
|
+
style: "ROA",
|
|
4185
|
+
reqBodyType: "json",
|
|
4186
|
+
bodyType: "json",
|
|
4187
|
+
});
|
|
4188
|
+
return $tea.cast<DescribeBenchmarkTaskResponse>(await this.callApi(params, req, runtime), new DescribeBenchmarkTaskResponse({}));
|
|
4189
|
+
}
|
|
4190
|
+
|
|
4191
|
+
async describeBenchmarkTaskReport(ClusterId: string, TaskName: string): Promise<DescribeBenchmarkTaskReportResponse> {
|
|
4192
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
4193
|
+
let headers : {[key: string ]: string} = { };
|
|
4194
|
+
return await this.describeBenchmarkTaskReportWithOptions(ClusterId, TaskName, headers, runtime);
|
|
4195
|
+
}
|
|
4196
|
+
|
|
4197
|
+
async describeBenchmarkTaskReportWithOptions(ClusterId: string, TaskName: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeBenchmarkTaskReportResponse> {
|
|
4198
|
+
ClusterId = OpenApiUtil.getEncodeParam(ClusterId);
|
|
4199
|
+
TaskName = OpenApiUtil.getEncodeParam(TaskName);
|
|
4200
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
4201
|
+
headers: headers,
|
|
4202
|
+
});
|
|
4203
|
+
let params = new $OpenApi.Params({
|
|
4204
|
+
action: "DescribeBenchmarkTaskReport",
|
|
4205
|
+
version: "2021-07-01",
|
|
4206
|
+
protocol: "HTTPS",
|
|
4207
|
+
pathname: `/api/v2/benchmark-tasks/${ClusterId}/${TaskName}/report`,
|
|
4208
|
+
method: "GET",
|
|
4209
|
+
authType: "AK",
|
|
4210
|
+
style: "ROA",
|
|
4211
|
+
reqBodyType: "json",
|
|
4212
|
+
bodyType: "json",
|
|
4213
|
+
});
|
|
4214
|
+
return $tea.cast<DescribeBenchmarkTaskReportResponse>(await this.callApi(params, req, runtime), new DescribeBenchmarkTaskReportResponse({}));
|
|
4215
|
+
}
|
|
4216
|
+
|
|
3527
4217
|
async describeResource(ClusterId: string, ResourceId: string): Promise<DescribeResourceResponse> {
|
|
3528
4218
|
let runtime = new $Util.RuntimeOptions({ });
|
|
3529
4219
|
let headers : {[key: string ]: string} = { };
|
|
@@ -3759,6 +4449,30 @@ export default class Client extends OpenApi {
|
|
|
3759
4449
|
return $tea.cast<DescribeServiceMirrorResponse>(await this.callApi(params, req, runtime), new DescribeServiceMirrorResponse({}));
|
|
3760
4450
|
}
|
|
3761
4451
|
|
|
4452
|
+
async listBenchmarkTask(): Promise<ListBenchmarkTaskResponse> {
|
|
4453
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
4454
|
+
let headers : {[key: string ]: string} = { };
|
|
4455
|
+
return await this.listBenchmarkTaskWithOptions(headers, runtime);
|
|
4456
|
+
}
|
|
4457
|
+
|
|
4458
|
+
async listBenchmarkTaskWithOptions(headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<ListBenchmarkTaskResponse> {
|
|
4459
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
4460
|
+
headers: headers,
|
|
4461
|
+
});
|
|
4462
|
+
let params = new $OpenApi.Params({
|
|
4463
|
+
action: "ListBenchmarkTask",
|
|
4464
|
+
version: "2021-07-01",
|
|
4465
|
+
protocol: "HTTPS",
|
|
4466
|
+
pathname: `/api/v2/benchmark-tasks`,
|
|
4467
|
+
method: "GET",
|
|
4468
|
+
authType: "AK",
|
|
4469
|
+
style: "ROA",
|
|
4470
|
+
reqBodyType: "json",
|
|
4471
|
+
bodyType: "json",
|
|
4472
|
+
});
|
|
4473
|
+
return $tea.cast<ListBenchmarkTaskResponse>(await this.callApi(params, req, runtime), new ListBenchmarkTaskResponse({}));
|
|
4474
|
+
}
|
|
4475
|
+
|
|
3762
4476
|
async listResourceInstanceWorker(ClusterId: string, ResourceId: string, InstanceName: string, request: ListResourceInstanceWorkerRequest): Promise<ListResourceInstanceWorkerResponse> {
|
|
3763
4477
|
let runtime = new $Util.RuntimeOptions({ });
|
|
3764
4478
|
let headers : {[key: string ]: string} = { };
|
|
@@ -3808,6 +4522,10 @@ export default class Client extends OpenApi {
|
|
|
3808
4522
|
ClusterId = OpenApiUtil.getEncodeParam(ClusterId);
|
|
3809
4523
|
ResourceId = OpenApiUtil.getEncodeParam(ResourceId);
|
|
3810
4524
|
let query : {[key: string ]: any} = { };
|
|
4525
|
+
if (!Util.isUnset(request.chargeType)) {
|
|
4526
|
+
query["ChargeType"] = request.chargeType;
|
|
4527
|
+
}
|
|
4528
|
+
|
|
3811
4529
|
if (!Util.isUnset(request.pageNumber)) {
|
|
3812
4530
|
query["PageNumber"] = request.pageNumber;
|
|
3813
4531
|
}
|
|
@@ -4023,6 +4741,32 @@ export default class Client extends OpenApi {
|
|
|
4023
4741
|
return $tea.cast<ReleaseServiceResponse>(await this.callApi(params, req, runtime), new ReleaseServiceResponse({}));
|
|
4024
4742
|
}
|
|
4025
4743
|
|
|
4744
|
+
async startBenchmarkTask(ClusterId: string, TaskName: string): Promise<StartBenchmarkTaskResponse> {
|
|
4745
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
4746
|
+
let headers : {[key: string ]: string} = { };
|
|
4747
|
+
return await this.startBenchmarkTaskWithOptions(ClusterId, TaskName, headers, runtime);
|
|
4748
|
+
}
|
|
4749
|
+
|
|
4750
|
+
async startBenchmarkTaskWithOptions(ClusterId: string, TaskName: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<StartBenchmarkTaskResponse> {
|
|
4751
|
+
ClusterId = OpenApiUtil.getEncodeParam(ClusterId);
|
|
4752
|
+
TaskName = OpenApiUtil.getEncodeParam(TaskName);
|
|
4753
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
4754
|
+
headers: headers,
|
|
4755
|
+
});
|
|
4756
|
+
let params = new $OpenApi.Params({
|
|
4757
|
+
action: "StartBenchmarkTask",
|
|
4758
|
+
version: "2021-07-01",
|
|
4759
|
+
protocol: "HTTPS",
|
|
4760
|
+
pathname: `/api/v2/benchmark-tasks/${ClusterId}/${TaskName}/start`,
|
|
4761
|
+
method: "PUT",
|
|
4762
|
+
authType: "AK",
|
|
4763
|
+
style: "ROA",
|
|
4764
|
+
reqBodyType: "json",
|
|
4765
|
+
bodyType: "json",
|
|
4766
|
+
});
|
|
4767
|
+
return $tea.cast<StartBenchmarkTaskResponse>(await this.callApi(params, req, runtime), new StartBenchmarkTaskResponse({}));
|
|
4768
|
+
}
|
|
4769
|
+
|
|
4026
4770
|
async startService(ClusterId: string, ServiceName: string): Promise<StartServiceResponse> {
|
|
4027
4771
|
let runtime = new $Util.RuntimeOptions({ });
|
|
4028
4772
|
let headers : {[key: string ]: string} = { };
|
|
@@ -4049,6 +4793,32 @@ export default class Client extends OpenApi {
|
|
|
4049
4793
|
return $tea.cast<StartServiceResponse>(await this.callApi(params, req, runtime), new StartServiceResponse({}));
|
|
4050
4794
|
}
|
|
4051
4795
|
|
|
4796
|
+
async stopBenchmarkTask(ClusterId: string, TaskName: string): Promise<StopBenchmarkTaskResponse> {
|
|
4797
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
4798
|
+
let headers : {[key: string ]: string} = { };
|
|
4799
|
+
return await this.stopBenchmarkTaskWithOptions(ClusterId, TaskName, headers, runtime);
|
|
4800
|
+
}
|
|
4801
|
+
|
|
4802
|
+
async stopBenchmarkTaskWithOptions(ClusterId: string, TaskName: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<StopBenchmarkTaskResponse> {
|
|
4803
|
+
ClusterId = OpenApiUtil.getEncodeParam(ClusterId);
|
|
4804
|
+
TaskName = OpenApiUtil.getEncodeParam(TaskName);
|
|
4805
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
4806
|
+
headers: headers,
|
|
4807
|
+
});
|
|
4808
|
+
let params = new $OpenApi.Params({
|
|
4809
|
+
action: "StopBenchmarkTask",
|
|
4810
|
+
version: "2021-07-01",
|
|
4811
|
+
protocol: "HTTPS",
|
|
4812
|
+
pathname: `/api/v2/benchmark-tasks/${ClusterId}/${TaskName}/stop`,
|
|
4813
|
+
method: "PUT",
|
|
4814
|
+
authType: "AK",
|
|
4815
|
+
style: "ROA",
|
|
4816
|
+
reqBodyType: "json",
|
|
4817
|
+
bodyType: "json",
|
|
4818
|
+
});
|
|
4819
|
+
return $tea.cast<StopBenchmarkTaskResponse>(await this.callApi(params, req, runtime), new StopBenchmarkTaskResponse({}));
|
|
4820
|
+
}
|
|
4821
|
+
|
|
4052
4822
|
async stopService(ClusterId: string, ServiceName: string): Promise<StopServiceResponse> {
|
|
4053
4823
|
let runtime = new $Util.RuntimeOptions({ });
|
|
4054
4824
|
let headers : {[key: string ]: string} = { };
|
|
@@ -4075,6 +4845,34 @@ export default class Client extends OpenApi {
|
|
|
4075
4845
|
return $tea.cast<StopServiceResponse>(await this.callApi(params, req, runtime), new StopServiceResponse({}));
|
|
4076
4846
|
}
|
|
4077
4847
|
|
|
4848
|
+
async updateBenchmarkTask(ClusterId: string, TaskName: string, request: UpdateBenchmarkTaskRequest): Promise<UpdateBenchmarkTaskResponse> {
|
|
4849
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
4850
|
+
let headers : {[key: string ]: string} = { };
|
|
4851
|
+
return await this.updateBenchmarkTaskWithOptions(ClusterId, TaskName, request, headers, runtime);
|
|
4852
|
+
}
|
|
4853
|
+
|
|
4854
|
+
async updateBenchmarkTaskWithOptions(ClusterId: string, TaskName: string, request: UpdateBenchmarkTaskRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<UpdateBenchmarkTaskResponse> {
|
|
4855
|
+
Util.validateModel(request);
|
|
4856
|
+
ClusterId = OpenApiUtil.getEncodeParam(ClusterId);
|
|
4857
|
+
TaskName = OpenApiUtil.getEncodeParam(TaskName);
|
|
4858
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
4859
|
+
headers: headers,
|
|
4860
|
+
body: request.body,
|
|
4861
|
+
});
|
|
4862
|
+
let params = new $OpenApi.Params({
|
|
4863
|
+
action: "UpdateBenchmarkTask",
|
|
4864
|
+
version: "2021-07-01",
|
|
4865
|
+
protocol: "HTTPS",
|
|
4866
|
+
pathname: `/api/v2/benchmark-tasks/${ClusterId}/${TaskName}`,
|
|
4867
|
+
method: "PUT",
|
|
4868
|
+
authType: "AK",
|
|
4869
|
+
style: "ROA",
|
|
4870
|
+
reqBodyType: "json",
|
|
4871
|
+
bodyType: "json",
|
|
4872
|
+
});
|
|
4873
|
+
return $tea.cast<UpdateBenchmarkTaskResponse>(await this.callApi(params, req, runtime), new UpdateBenchmarkTaskResponse({}));
|
|
4874
|
+
}
|
|
4875
|
+
|
|
4078
4876
|
async updateResource(ClusterId: string, ResourceId: string, request: UpdateResourceRequest): Promise<UpdateResourceResponse> {
|
|
4079
4877
|
let runtime = new $Util.RuntimeOptions({ });
|
|
4080
4878
|
let headers : {[key: string ]: string} = { };
|