@alicloud/ehpcinstant20230701 1.0.2 → 1.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +888 -85
- package/dist/client.js +93 -85
- package/dist/client.js.map +1 -1
- package/package.json +2 -2
- package/src/client.ts +922 -109
package/src/client.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
// This file is auto-generated, don't edit it
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
4
3
|
*/
|
|
5
4
|
import Util, * as $Util from '@alicloud/tea-util';
|
|
6
5
|
import OpenApi, * as $OpenApi from '@alicloud/openapi-client';
|
|
@@ -11,7 +10,18 @@ import * as $tea from '@alicloud/tea-typescript';
|
|
|
11
10
|
export class AddImageRequest extends $tea.Model {
|
|
12
11
|
containerImageSpec?: AddImageRequestContainerImageSpec;
|
|
13
12
|
description?: string;
|
|
13
|
+
/**
|
|
14
|
+
* @example
|
|
15
|
+
* V1.0
|
|
16
|
+
*/
|
|
14
17
|
imageVersion?: string;
|
|
18
|
+
/**
|
|
19
|
+
* @remarks
|
|
20
|
+
* This parameter is required.
|
|
21
|
+
*
|
|
22
|
+
* @example
|
|
23
|
+
* app-image
|
|
24
|
+
*/
|
|
15
25
|
name?: string;
|
|
16
26
|
VMImageSpec?: AddImageRequestVMImageSpec;
|
|
17
27
|
static names(): { [key: string]: string } {
|
|
@@ -42,7 +52,18 @@ export class AddImageRequest extends $tea.Model {
|
|
|
42
52
|
export class AddImageShrinkRequest extends $tea.Model {
|
|
43
53
|
containerImageSpecShrink?: string;
|
|
44
54
|
description?: string;
|
|
55
|
+
/**
|
|
56
|
+
* @example
|
|
57
|
+
* V1.0
|
|
58
|
+
*/
|
|
45
59
|
imageVersion?: string;
|
|
60
|
+
/**
|
|
61
|
+
* @remarks
|
|
62
|
+
* This parameter is required.
|
|
63
|
+
*
|
|
64
|
+
* @example
|
|
65
|
+
* app-image
|
|
66
|
+
*/
|
|
46
67
|
name?: string;
|
|
47
68
|
VMImageSpecShrink?: string;
|
|
48
69
|
static names(): { [key: string]: string } {
|
|
@@ -71,8 +92,20 @@ export class AddImageShrinkRequest extends $tea.Model {
|
|
|
71
92
|
}
|
|
72
93
|
|
|
73
94
|
export class AddImageResponseBody extends $tea.Model {
|
|
95
|
+
/**
|
|
96
|
+
* @example
|
|
97
|
+
* m-bp1akkkr1rkxtb******
|
|
98
|
+
*/
|
|
74
99
|
imageId?: string;
|
|
100
|
+
/**
|
|
101
|
+
* @example
|
|
102
|
+
* 04F0F334-1335-436C-A1D7-6C044FE73368
|
|
103
|
+
*/
|
|
75
104
|
requestId?: string;
|
|
105
|
+
/**
|
|
106
|
+
* @example
|
|
107
|
+
* True
|
|
108
|
+
*/
|
|
76
109
|
success?: boolean;
|
|
77
110
|
static names(): { [key: string]: string } {
|
|
78
111
|
return {
|
|
@@ -122,14 +155,31 @@ export class AddImageResponse extends $tea.Model {
|
|
|
122
155
|
|
|
123
156
|
export class CreateJobRequest extends $tea.Model {
|
|
124
157
|
deploymentPolicy?: CreateJobRequestDeploymentPolicy;
|
|
158
|
+
/**
|
|
159
|
+
* @example
|
|
160
|
+
* Demo
|
|
161
|
+
*/
|
|
125
162
|
jobDescription?: string;
|
|
163
|
+
/**
|
|
164
|
+
* @remarks
|
|
165
|
+
* This parameter is required.
|
|
166
|
+
*
|
|
167
|
+
* @example
|
|
168
|
+
* testjob
|
|
169
|
+
*/
|
|
126
170
|
jobName?: string;
|
|
171
|
+
jobScheduler?: string;
|
|
172
|
+
/**
|
|
173
|
+
* @remarks
|
|
174
|
+
* This parameter is required.
|
|
175
|
+
*/
|
|
127
176
|
tasks?: CreateJobRequestTasks[];
|
|
128
177
|
static names(): { [key: string]: string } {
|
|
129
178
|
return {
|
|
130
179
|
deploymentPolicy: 'DeploymentPolicy',
|
|
131
180
|
jobDescription: 'JobDescription',
|
|
132
181
|
jobName: 'JobName',
|
|
182
|
+
jobScheduler: 'JobScheduler',
|
|
133
183
|
tasks: 'Tasks',
|
|
134
184
|
};
|
|
135
185
|
}
|
|
@@ -139,6 +189,7 @@ export class CreateJobRequest extends $tea.Model {
|
|
|
139
189
|
deploymentPolicy: CreateJobRequestDeploymentPolicy,
|
|
140
190
|
jobDescription: 'string',
|
|
141
191
|
jobName: 'string',
|
|
192
|
+
jobScheduler: 'string',
|
|
142
193
|
tasks: { 'type': 'array', 'itemType': CreateJobRequestTasks },
|
|
143
194
|
};
|
|
144
195
|
}
|
|
@@ -150,14 +201,31 @@ export class CreateJobRequest extends $tea.Model {
|
|
|
150
201
|
|
|
151
202
|
export class CreateJobShrinkRequest extends $tea.Model {
|
|
152
203
|
deploymentPolicyShrink?: string;
|
|
204
|
+
/**
|
|
205
|
+
* @example
|
|
206
|
+
* Demo
|
|
207
|
+
*/
|
|
153
208
|
jobDescription?: string;
|
|
209
|
+
/**
|
|
210
|
+
* @remarks
|
|
211
|
+
* This parameter is required.
|
|
212
|
+
*
|
|
213
|
+
* @example
|
|
214
|
+
* testjob
|
|
215
|
+
*/
|
|
154
216
|
jobName?: string;
|
|
217
|
+
jobScheduler?: string;
|
|
218
|
+
/**
|
|
219
|
+
* @remarks
|
|
220
|
+
* This parameter is required.
|
|
221
|
+
*/
|
|
155
222
|
tasksShrink?: string;
|
|
156
223
|
static names(): { [key: string]: string } {
|
|
157
224
|
return {
|
|
158
225
|
deploymentPolicyShrink: 'DeploymentPolicy',
|
|
159
226
|
jobDescription: 'JobDescription',
|
|
160
227
|
jobName: 'JobName',
|
|
228
|
+
jobScheduler: 'JobScheduler',
|
|
161
229
|
tasksShrink: 'Tasks',
|
|
162
230
|
};
|
|
163
231
|
}
|
|
@@ -167,6 +235,7 @@ export class CreateJobShrinkRequest extends $tea.Model {
|
|
|
167
235
|
deploymentPolicyShrink: 'string',
|
|
168
236
|
jobDescription: 'string',
|
|
169
237
|
jobName: 'string',
|
|
238
|
+
jobScheduler: 'string',
|
|
170
239
|
tasksShrink: 'string',
|
|
171
240
|
};
|
|
172
241
|
}
|
|
@@ -177,7 +246,15 @@ export class CreateJobShrinkRequest extends $tea.Model {
|
|
|
177
246
|
}
|
|
178
247
|
|
|
179
248
|
export class CreateJobResponseBody extends $tea.Model {
|
|
249
|
+
/**
|
|
250
|
+
* @example
|
|
251
|
+
* job-xxxx
|
|
252
|
+
*/
|
|
180
253
|
jobId?: string;
|
|
254
|
+
/**
|
|
255
|
+
* @example
|
|
256
|
+
* 896D338C-E4F4-41EC-A154-D605E5DE****
|
|
257
|
+
*/
|
|
181
258
|
requestId?: string;
|
|
182
259
|
tasks?: CreateJobResponseBodyTasks[];
|
|
183
260
|
static names(): { [key: string]: string } {
|
|
@@ -271,6 +348,10 @@ export class DeleteJobsShrinkRequest extends $tea.Model {
|
|
|
271
348
|
}
|
|
272
349
|
|
|
273
350
|
export class DeleteJobsResponseBody extends $tea.Model {
|
|
351
|
+
/**
|
|
352
|
+
* @example
|
|
353
|
+
* 04F0F334-1335-436C-A1D7-6C044FE7****
|
|
354
|
+
*/
|
|
274
355
|
requestId?: string;
|
|
275
356
|
static names(): { [key: string]: string } {
|
|
276
357
|
return {
|
|
@@ -316,8 +397,20 @@ export class DeleteJobsResponse extends $tea.Model {
|
|
|
316
397
|
|
|
317
398
|
export class DescribeJobMetricDataRequest extends $tea.Model {
|
|
318
399
|
arrayIndex?: number[];
|
|
400
|
+
/**
|
|
401
|
+
* @example
|
|
402
|
+
* job-xxxxx
|
|
403
|
+
*/
|
|
319
404
|
jobId?: string;
|
|
405
|
+
/**
|
|
406
|
+
* @example
|
|
407
|
+
* cpu_utilization
|
|
408
|
+
*/
|
|
320
409
|
metricName?: string;
|
|
410
|
+
/**
|
|
411
|
+
* @example
|
|
412
|
+
* Task0
|
|
413
|
+
*/
|
|
321
414
|
taskName?: string;
|
|
322
415
|
static names(): { [key: string]: string } {
|
|
323
416
|
return {
|
|
@@ -344,8 +437,20 @@ export class DescribeJobMetricDataRequest extends $tea.Model {
|
|
|
344
437
|
|
|
345
438
|
export class DescribeJobMetricDataShrinkRequest extends $tea.Model {
|
|
346
439
|
arrayIndexShrink?: string;
|
|
440
|
+
/**
|
|
441
|
+
* @example
|
|
442
|
+
* job-xxxxx
|
|
443
|
+
*/
|
|
347
444
|
jobId?: string;
|
|
445
|
+
/**
|
|
446
|
+
* @example
|
|
447
|
+
* cpu_utilization
|
|
448
|
+
*/
|
|
348
449
|
metricName?: string;
|
|
450
|
+
/**
|
|
451
|
+
* @example
|
|
452
|
+
* Task0
|
|
453
|
+
*/
|
|
349
454
|
taskName?: string;
|
|
350
455
|
static names(): { [key: string]: string } {
|
|
351
456
|
return {
|
|
@@ -371,8 +476,20 @@ export class DescribeJobMetricDataShrinkRequest extends $tea.Model {
|
|
|
371
476
|
}
|
|
372
477
|
|
|
373
478
|
export class DescribeJobMetricDataResponseBody extends $tea.Model {
|
|
479
|
+
/**
|
|
480
|
+
* @example
|
|
481
|
+
* [{"timestamp":1709540685000,"Minimum":28.45,"Maximum":28.45,"Average":28.45}]
|
|
482
|
+
*/
|
|
374
483
|
dataPoints?: string;
|
|
484
|
+
/**
|
|
485
|
+
* @example
|
|
486
|
+
* 15
|
|
487
|
+
*/
|
|
375
488
|
period?: number;
|
|
489
|
+
/**
|
|
490
|
+
* @example
|
|
491
|
+
* 04F0F334-1335-436C-A1D7-6C044FE7****
|
|
492
|
+
*/
|
|
376
493
|
requestId?: string;
|
|
377
494
|
static names(): { [key: string]: string } {
|
|
378
495
|
return {
|
|
@@ -422,7 +539,15 @@ export class DescribeJobMetricDataResponse extends $tea.Model {
|
|
|
422
539
|
|
|
423
540
|
export class DescribeJobMetricLastRequest extends $tea.Model {
|
|
424
541
|
arrayIndex?: number[];
|
|
542
|
+
/**
|
|
543
|
+
* @example
|
|
544
|
+
* job-xxxxx
|
|
545
|
+
*/
|
|
425
546
|
jobId?: string;
|
|
547
|
+
/**
|
|
548
|
+
* @example
|
|
549
|
+
* Task0
|
|
550
|
+
*/
|
|
426
551
|
taskName?: string;
|
|
427
552
|
static names(): { [key: string]: string } {
|
|
428
553
|
return {
|
|
@@ -447,7 +572,15 @@ export class DescribeJobMetricLastRequest extends $tea.Model {
|
|
|
447
572
|
|
|
448
573
|
export class DescribeJobMetricLastShrinkRequest extends $tea.Model {
|
|
449
574
|
arrayIndexShrink?: string;
|
|
575
|
+
/**
|
|
576
|
+
* @example
|
|
577
|
+
* job-xxxxx
|
|
578
|
+
*/
|
|
450
579
|
jobId?: string;
|
|
580
|
+
/**
|
|
581
|
+
* @example
|
|
582
|
+
* Task0
|
|
583
|
+
*/
|
|
451
584
|
taskName?: string;
|
|
452
585
|
static names(): { [key: string]: string } {
|
|
453
586
|
return {
|
|
@@ -472,6 +605,10 @@ export class DescribeJobMetricLastShrinkRequest extends $tea.Model {
|
|
|
472
605
|
|
|
473
606
|
export class DescribeJobMetricLastResponseBody extends $tea.Model {
|
|
474
607
|
metrics?: DescribeJobMetricLastResponseBodyMetrics[];
|
|
608
|
+
/**
|
|
609
|
+
* @example
|
|
610
|
+
* 04F0F334-1335-436C-A1D7-6C044FE7****
|
|
611
|
+
*/
|
|
475
612
|
requestId?: string;
|
|
476
613
|
static names(): { [key: string]: string } {
|
|
477
614
|
return {
|
|
@@ -519,6 +656,13 @@ export class DescribeJobMetricLastResponse extends $tea.Model {
|
|
|
519
656
|
|
|
520
657
|
export class GetImageRequest extends $tea.Model {
|
|
521
658
|
imageCategory?: string;
|
|
659
|
+
/**
|
|
660
|
+
* @remarks
|
|
661
|
+
* This parameter is required.
|
|
662
|
+
*
|
|
663
|
+
* @example
|
|
664
|
+
* m-2ze74g5mvy4pjg*****
|
|
665
|
+
*/
|
|
522
666
|
imageId?: string;
|
|
523
667
|
imageType?: string;
|
|
524
668
|
static names(): { [key: string]: string } {
|
|
@@ -544,8 +688,20 @@ export class GetImageRequest extends $tea.Model {
|
|
|
544
688
|
|
|
545
689
|
export class GetImageResponseBody extends $tea.Model {
|
|
546
690
|
image?: GetImageResponseBodyImage;
|
|
691
|
+
/**
|
|
692
|
+
* @example
|
|
693
|
+
* 04F0F334-1335-436C-A1D7-6C044FE73368
|
|
694
|
+
*/
|
|
547
695
|
requestId?: string;
|
|
696
|
+
/**
|
|
697
|
+
* @example
|
|
698
|
+
* true
|
|
699
|
+
*/
|
|
548
700
|
success?: boolean;
|
|
701
|
+
/**
|
|
702
|
+
* @example
|
|
703
|
+
* 10
|
|
704
|
+
*/
|
|
549
705
|
totalCount?: number;
|
|
550
706
|
static names(): { [key: string]: string } {
|
|
551
707
|
return {
|
|
@@ -596,6 +752,10 @@ export class GetImageResponse extends $tea.Model {
|
|
|
596
752
|
}
|
|
597
753
|
|
|
598
754
|
export class GetJobRequest extends $tea.Model {
|
|
755
|
+
/**
|
|
756
|
+
* @example
|
|
757
|
+
* job-xxxx
|
|
758
|
+
*/
|
|
599
759
|
jobId?: string;
|
|
600
760
|
static names(): { [key: string]: string } {
|
|
601
761
|
return {
|
|
@@ -616,6 +776,10 @@ export class GetJobRequest extends $tea.Model {
|
|
|
616
776
|
|
|
617
777
|
export class GetJobResponseBody extends $tea.Model {
|
|
618
778
|
jobInfo?: GetJobResponseBodyJobInfo;
|
|
779
|
+
/**
|
|
780
|
+
* @example
|
|
781
|
+
* 896D338C-E4F4-41EC-A154-D605E5DE****
|
|
782
|
+
*/
|
|
619
783
|
requestId?: string;
|
|
620
784
|
static names(): { [key: string]: string } {
|
|
621
785
|
return {
|
|
@@ -663,7 +827,15 @@ export class GetJobResponse extends $tea.Model {
|
|
|
663
827
|
|
|
664
828
|
export class ListExecutorsRequest extends $tea.Model {
|
|
665
829
|
filter?: ListExecutorsRequestFilter;
|
|
830
|
+
/**
|
|
831
|
+
* @example
|
|
832
|
+
* 1
|
|
833
|
+
*/
|
|
666
834
|
pageNumber?: string;
|
|
835
|
+
/**
|
|
836
|
+
* @example
|
|
837
|
+
* 50
|
|
838
|
+
*/
|
|
667
839
|
pageSize?: string;
|
|
668
840
|
static names(): { [key: string]: string } {
|
|
669
841
|
return {
|
|
@@ -688,7 +860,15 @@ export class ListExecutorsRequest extends $tea.Model {
|
|
|
688
860
|
|
|
689
861
|
export class ListExecutorsShrinkRequest extends $tea.Model {
|
|
690
862
|
filterShrink?: string;
|
|
863
|
+
/**
|
|
864
|
+
* @example
|
|
865
|
+
* 1
|
|
866
|
+
*/
|
|
691
867
|
pageNumber?: string;
|
|
868
|
+
/**
|
|
869
|
+
* @example
|
|
870
|
+
* 50
|
|
871
|
+
*/
|
|
692
872
|
pageSize?: string;
|
|
693
873
|
static names(): { [key: string]: string } {
|
|
694
874
|
return {
|
|
@@ -713,9 +893,25 @@ export class ListExecutorsShrinkRequest extends $tea.Model {
|
|
|
713
893
|
|
|
714
894
|
export class ListExecutorsResponseBody extends $tea.Model {
|
|
715
895
|
executors?: ListExecutorsResponseBodyExecutors[];
|
|
896
|
+
/**
|
|
897
|
+
* @example
|
|
898
|
+
* 1
|
|
899
|
+
*/
|
|
716
900
|
pageNumber?: string;
|
|
901
|
+
/**
|
|
902
|
+
* @example
|
|
903
|
+
* 50
|
|
904
|
+
*/
|
|
717
905
|
pageSize?: string;
|
|
906
|
+
/**
|
|
907
|
+
* @example
|
|
908
|
+
* 896D338C-E4F4-41EC-A154-D605E5DE****
|
|
909
|
+
*/
|
|
718
910
|
requestId?: string;
|
|
911
|
+
/**
|
|
912
|
+
* @example
|
|
913
|
+
* 40
|
|
914
|
+
*/
|
|
719
915
|
totalCount?: string;
|
|
720
916
|
static names(): { [key: string]: string } {
|
|
721
917
|
return {
|
|
@@ -772,7 +968,15 @@ export class ListImagesRequest extends $tea.Model {
|
|
|
772
968
|
imageIds?: string[];
|
|
773
969
|
imageNames?: string[];
|
|
774
970
|
imageType?: string;
|
|
971
|
+
/**
|
|
972
|
+
* @example
|
|
973
|
+
* 1
|
|
974
|
+
*/
|
|
775
975
|
pageNumber?: number;
|
|
976
|
+
/**
|
|
977
|
+
* @example
|
|
978
|
+
* 10
|
|
979
|
+
*/
|
|
776
980
|
pageSize?: number;
|
|
777
981
|
static names(): { [key: string]: string } {
|
|
778
982
|
return {
|
|
@@ -806,7 +1010,15 @@ export class ListImagesShrinkRequest extends $tea.Model {
|
|
|
806
1010
|
imageIdsShrink?: string;
|
|
807
1011
|
imageNamesShrink?: string;
|
|
808
1012
|
imageType?: string;
|
|
1013
|
+
/**
|
|
1014
|
+
* @example
|
|
1015
|
+
* 1
|
|
1016
|
+
*/
|
|
809
1017
|
pageNumber?: number;
|
|
1018
|
+
/**
|
|
1019
|
+
* @example
|
|
1020
|
+
* 10
|
|
1021
|
+
*/
|
|
810
1022
|
pageSize?: number;
|
|
811
1023
|
static names(): { [key: string]: string } {
|
|
812
1024
|
return {
|
|
@@ -837,10 +1049,30 @@ export class ListImagesShrinkRequest extends $tea.Model {
|
|
|
837
1049
|
|
|
838
1050
|
export class ListImagesResponseBody extends $tea.Model {
|
|
839
1051
|
images?: ListImagesResponseBodyImages[];
|
|
1052
|
+
/**
|
|
1053
|
+
* @example
|
|
1054
|
+
* 1
|
|
1055
|
+
*/
|
|
840
1056
|
pageNumber?: number;
|
|
1057
|
+
/**
|
|
1058
|
+
* @example
|
|
1059
|
+
* 20
|
|
1060
|
+
*/
|
|
841
1061
|
pageSize?: number;
|
|
1062
|
+
/**
|
|
1063
|
+
* @example
|
|
1064
|
+
* 896D338C-E4F4-41EC-A154-D605E5DE****
|
|
1065
|
+
*/
|
|
842
1066
|
requestId?: string;
|
|
1067
|
+
/**
|
|
1068
|
+
* @example
|
|
1069
|
+
* true
|
|
1070
|
+
*/
|
|
843
1071
|
success?: boolean;
|
|
1072
|
+
/**
|
|
1073
|
+
* @example
|
|
1074
|
+
* 1
|
|
1075
|
+
*/
|
|
844
1076
|
totalCount?: number;
|
|
845
1077
|
static names(): { [key: string]: string } {
|
|
846
1078
|
return {
|
|
@@ -895,9 +1127,25 @@ export class ListImagesResponse extends $tea.Model {
|
|
|
895
1127
|
}
|
|
896
1128
|
|
|
897
1129
|
export class ListJobExecutorsRequest extends $tea.Model {
|
|
1130
|
+
/**
|
|
1131
|
+
* @example
|
|
1132
|
+
* job-xxx
|
|
1133
|
+
*/
|
|
898
1134
|
jobId?: string;
|
|
1135
|
+
/**
|
|
1136
|
+
* @example
|
|
1137
|
+
* 1
|
|
1138
|
+
*/
|
|
899
1139
|
pageNumber?: string;
|
|
1140
|
+
/**
|
|
1141
|
+
* @example
|
|
1142
|
+
* 10
|
|
1143
|
+
*/
|
|
900
1144
|
pageSize?: string;
|
|
1145
|
+
/**
|
|
1146
|
+
* @example
|
|
1147
|
+
* task0
|
|
1148
|
+
*/
|
|
901
1149
|
taskName?: string;
|
|
902
1150
|
static names(): { [key: string]: string } {
|
|
903
1151
|
return {
|
|
@@ -924,11 +1172,35 @@ export class ListJobExecutorsRequest extends $tea.Model {
|
|
|
924
1172
|
|
|
925
1173
|
export class ListJobExecutorsResponseBody extends $tea.Model {
|
|
926
1174
|
executors?: ListJobExecutorsResponseBodyExecutors[];
|
|
1175
|
+
/**
|
|
1176
|
+
* @example
|
|
1177
|
+
* job-xxxx
|
|
1178
|
+
*/
|
|
927
1179
|
jobId?: string;
|
|
1180
|
+
/**
|
|
1181
|
+
* @example
|
|
1182
|
+
* 1
|
|
1183
|
+
*/
|
|
928
1184
|
pageNumber?: string;
|
|
1185
|
+
/**
|
|
1186
|
+
* @example
|
|
1187
|
+
* 10
|
|
1188
|
+
*/
|
|
929
1189
|
pageSize?: string;
|
|
1190
|
+
/**
|
|
1191
|
+
* @example
|
|
1192
|
+
* 896D338C-E4F4-41EC-A154-D605E5DE****
|
|
1193
|
+
*/
|
|
930
1194
|
requestId?: string;
|
|
1195
|
+
/**
|
|
1196
|
+
* @example
|
|
1197
|
+
* task0
|
|
1198
|
+
*/
|
|
931
1199
|
taskName?: string;
|
|
1200
|
+
/**
|
|
1201
|
+
* @example
|
|
1202
|
+
* 50
|
|
1203
|
+
*/
|
|
932
1204
|
totalCount?: string;
|
|
933
1205
|
static names(): { [key: string]: string } {
|
|
934
1206
|
return {
|
|
@@ -986,7 +1258,15 @@ export class ListJobExecutorsResponse extends $tea.Model {
|
|
|
986
1258
|
|
|
987
1259
|
export class ListJobsRequest extends $tea.Model {
|
|
988
1260
|
filter?: ListJobsRequestFilter;
|
|
1261
|
+
/**
|
|
1262
|
+
* @example
|
|
1263
|
+
* 1
|
|
1264
|
+
*/
|
|
989
1265
|
pageNumber?: string;
|
|
1266
|
+
/**
|
|
1267
|
+
* @example
|
|
1268
|
+
* 50
|
|
1269
|
+
*/
|
|
990
1270
|
pageSize?: string;
|
|
991
1271
|
sortBy?: ListJobsRequestSortBy;
|
|
992
1272
|
static names(): { [key: string]: string } {
|
|
@@ -1014,7 +1294,15 @@ export class ListJobsRequest extends $tea.Model {
|
|
|
1014
1294
|
|
|
1015
1295
|
export class ListJobsShrinkRequest extends $tea.Model {
|
|
1016
1296
|
filterShrink?: string;
|
|
1297
|
+
/**
|
|
1298
|
+
* @example
|
|
1299
|
+
* 1
|
|
1300
|
+
*/
|
|
1017
1301
|
pageNumber?: string;
|
|
1302
|
+
/**
|
|
1303
|
+
* @example
|
|
1304
|
+
* 50
|
|
1305
|
+
*/
|
|
1018
1306
|
pageSize?: string;
|
|
1019
1307
|
sortByShrink?: string;
|
|
1020
1308
|
static names(): { [key: string]: string } {
|
|
@@ -1042,9 +1330,25 @@ export class ListJobsShrinkRequest extends $tea.Model {
|
|
|
1042
1330
|
|
|
1043
1331
|
export class ListJobsResponseBody extends $tea.Model {
|
|
1044
1332
|
jobList?: ListJobsResponseBodyJobList[];
|
|
1333
|
+
/**
|
|
1334
|
+
* @example
|
|
1335
|
+
* 1
|
|
1336
|
+
*/
|
|
1045
1337
|
pageNumber?: number;
|
|
1338
|
+
/**
|
|
1339
|
+
* @example
|
|
1340
|
+
* 10
|
|
1341
|
+
*/
|
|
1046
1342
|
pageSize?: number;
|
|
1343
|
+
/**
|
|
1344
|
+
* @example
|
|
1345
|
+
* 896D338C-E4F4-41EC-A154-D605E5DE****
|
|
1346
|
+
*/
|
|
1047
1347
|
requestId?: string;
|
|
1348
|
+
/**
|
|
1349
|
+
* @example
|
|
1350
|
+
* 1
|
|
1351
|
+
*/
|
|
1048
1352
|
totalCount?: number;
|
|
1049
1353
|
static names(): { [key: string]: string } {
|
|
1050
1354
|
return {
|
|
@@ -1097,6 +1401,13 @@ export class ListJobsResponse extends $tea.Model {
|
|
|
1097
1401
|
}
|
|
1098
1402
|
|
|
1099
1403
|
export class RemoveImageRequest extends $tea.Model {
|
|
1404
|
+
/**
|
|
1405
|
+
* @remarks
|
|
1406
|
+
* This parameter is required.
|
|
1407
|
+
*
|
|
1408
|
+
* @example
|
|
1409
|
+
* m-bp14wakr1rkxtb******
|
|
1410
|
+
*/
|
|
1100
1411
|
imageId?: string;
|
|
1101
1412
|
static names(): { [key: string]: string } {
|
|
1102
1413
|
return {
|
|
@@ -1116,7 +1427,15 @@ export class RemoveImageRequest extends $tea.Model {
|
|
|
1116
1427
|
}
|
|
1117
1428
|
|
|
1118
1429
|
export class RemoveImageResponseBody extends $tea.Model {
|
|
1430
|
+
/**
|
|
1431
|
+
* @example
|
|
1432
|
+
* 896D338C-E4F4-41EC-A154-D605E5DE****
|
|
1433
|
+
*/
|
|
1119
1434
|
requestId?: string;
|
|
1435
|
+
/**
|
|
1436
|
+
* @example
|
|
1437
|
+
* true
|
|
1438
|
+
*/
|
|
1120
1439
|
success?: boolean;
|
|
1121
1440
|
static names(): { [key: string]: string } {
|
|
1122
1441
|
return {
|
|
@@ -1163,8 +1482,20 @@ export class RemoveImageResponse extends $tea.Model {
|
|
|
1163
1482
|
}
|
|
1164
1483
|
|
|
1165
1484
|
export class AddImageRequestContainerImageSpecRegistryCredential extends $tea.Model {
|
|
1485
|
+
/**
|
|
1486
|
+
* @example
|
|
1487
|
+
* userpassword
|
|
1488
|
+
*/
|
|
1166
1489
|
password?: string;
|
|
1490
|
+
/**
|
|
1491
|
+
* @example
|
|
1492
|
+
* registry-vpc.cn-hangzhou.aliyuncs.com
|
|
1493
|
+
*/
|
|
1167
1494
|
server?: string;
|
|
1495
|
+
/**
|
|
1496
|
+
* @example
|
|
1497
|
+
* username
|
|
1498
|
+
*/
|
|
1168
1499
|
userName?: string;
|
|
1169
1500
|
static names(): { [key: string]: string } {
|
|
1170
1501
|
return {
|
|
@@ -1188,10 +1519,26 @@ export class AddImageRequestContainerImageSpecRegistryCredential extends $tea.Mo
|
|
|
1188
1519
|
}
|
|
1189
1520
|
|
|
1190
1521
|
export class AddImageRequestContainerImageSpec extends $tea.Model {
|
|
1522
|
+
/**
|
|
1523
|
+
* @example
|
|
1524
|
+
* True
|
|
1525
|
+
*/
|
|
1191
1526
|
isACREnterprise?: boolean;
|
|
1527
|
+
/**
|
|
1528
|
+
* @example
|
|
1529
|
+
* True
|
|
1530
|
+
*/
|
|
1192
1531
|
isACRRegistry?: boolean;
|
|
1193
1532
|
registryCredential?: AddImageRequestContainerImageSpecRegistryCredential;
|
|
1533
|
+
/**
|
|
1534
|
+
* @example
|
|
1535
|
+
* cri-xyz795ygf8k9****
|
|
1536
|
+
*/
|
|
1194
1537
|
registryCriId?: string;
|
|
1538
|
+
/**
|
|
1539
|
+
* @example
|
|
1540
|
+
* registry-vpc.cn-hangzhou.aliyuncs.com/ehpc_open/nginx:latest
|
|
1541
|
+
*/
|
|
1195
1542
|
registryUrl?: string;
|
|
1196
1543
|
static names(): { [key: string]: string } {
|
|
1197
1544
|
return {
|
|
@@ -1219,6 +1566,10 @@ export class AddImageRequestContainerImageSpec extends $tea.Model {
|
|
|
1219
1566
|
}
|
|
1220
1567
|
|
|
1221
1568
|
export class AddImageRequestVMImageSpec extends $tea.Model {
|
|
1569
|
+
/**
|
|
1570
|
+
* @example
|
|
1571
|
+
* m-bp1akkkr1rkxtb******
|
|
1572
|
+
*/
|
|
1222
1573
|
imageId?: string;
|
|
1223
1574
|
static names(): { [key: string]: string } {
|
|
1224
1575
|
return {
|
|
@@ -1257,6 +1608,10 @@ export class CreateJobRequestDeploymentPolicyNetwork extends $tea.Model {
|
|
|
1257
1608
|
}
|
|
1258
1609
|
|
|
1259
1610
|
export class CreateJobRequestDeploymentPolicy extends $tea.Model {
|
|
1611
|
+
/**
|
|
1612
|
+
* @example
|
|
1613
|
+
* Dedicated
|
|
1614
|
+
*/
|
|
1260
1615
|
allocationSpec?: string;
|
|
1261
1616
|
network?: CreateJobRequestDeploymentPolicyNetwork;
|
|
1262
1617
|
static names(): { [key: string]: string } {
|
|
@@ -1279,8 +1634,20 @@ export class CreateJobRequestDeploymentPolicy extends $tea.Model {
|
|
|
1279
1634
|
}
|
|
1280
1635
|
|
|
1281
1636
|
export class CreateJobRequestTasksExecutorPolicyArraySpec extends $tea.Model {
|
|
1637
|
+
/**
|
|
1638
|
+
* @example
|
|
1639
|
+
* 9
|
|
1640
|
+
*/
|
|
1282
1641
|
indexEnd?: number;
|
|
1642
|
+
/**
|
|
1643
|
+
* @example
|
|
1644
|
+
* 0
|
|
1645
|
+
*/
|
|
1283
1646
|
indexStart?: number;
|
|
1647
|
+
/**
|
|
1648
|
+
* @example
|
|
1649
|
+
* 1
|
|
1650
|
+
*/
|
|
1284
1651
|
indexStep?: number;
|
|
1285
1652
|
static names(): { [key: string]: string } {
|
|
1286
1653
|
return {
|
|
@@ -1305,6 +1672,10 @@ export class CreateJobRequestTasksExecutorPolicyArraySpec extends $tea.Model {
|
|
|
1305
1672
|
|
|
1306
1673
|
export class CreateJobRequestTasksExecutorPolicy extends $tea.Model {
|
|
1307
1674
|
arraySpec?: CreateJobRequestTasksExecutorPolicyArraySpec;
|
|
1675
|
+
/**
|
|
1676
|
+
* @example
|
|
1677
|
+
* 1
|
|
1678
|
+
*/
|
|
1308
1679
|
maxCount?: number;
|
|
1309
1680
|
static names(): { [key: string]: string } {
|
|
1310
1681
|
return {
|
|
@@ -1326,7 +1697,15 @@ export class CreateJobRequestTasksExecutorPolicy extends $tea.Model {
|
|
|
1326
1697
|
}
|
|
1327
1698
|
|
|
1328
1699
|
export class CreateJobRequestTasksTaskSpecResourceDisks extends $tea.Model {
|
|
1700
|
+
/**
|
|
1701
|
+
* @example
|
|
1702
|
+
* 40
|
|
1703
|
+
*/
|
|
1329
1704
|
size?: number;
|
|
1705
|
+
/**
|
|
1706
|
+
* @example
|
|
1707
|
+
* System
|
|
1708
|
+
*/
|
|
1330
1709
|
type?: string;
|
|
1331
1710
|
static names(): { [key: string]: string } {
|
|
1332
1711
|
return {
|
|
@@ -1348,8 +1727,16 @@ export class CreateJobRequestTasksTaskSpecResourceDisks extends $tea.Model {
|
|
|
1348
1727
|
}
|
|
1349
1728
|
|
|
1350
1729
|
export class CreateJobRequestTasksTaskSpecResource extends $tea.Model {
|
|
1730
|
+
/**
|
|
1731
|
+
* @example
|
|
1732
|
+
* 2
|
|
1733
|
+
*/
|
|
1351
1734
|
cores?: number;
|
|
1352
1735
|
disks?: CreateJobRequestTasksTaskSpecResourceDisks[];
|
|
1736
|
+
/**
|
|
1737
|
+
* @example
|
|
1738
|
+
* 4
|
|
1739
|
+
*/
|
|
1353
1740
|
memory?: number;
|
|
1354
1741
|
static names(): { [key: string]: string } {
|
|
1355
1742
|
return {
|
|
@@ -1373,7 +1760,15 @@ export class CreateJobRequestTasksTaskSpecResource extends $tea.Model {
|
|
|
1373
1760
|
}
|
|
1374
1761
|
|
|
1375
1762
|
export class CreateJobRequestTasksTaskSpecTaskExecutorContainerEnvironmentVars extends $tea.Model {
|
|
1763
|
+
/**
|
|
1764
|
+
* @example
|
|
1765
|
+
* PATH
|
|
1766
|
+
*/
|
|
1376
1767
|
name?: string;
|
|
1768
|
+
/**
|
|
1769
|
+
* @example
|
|
1770
|
+
* /usr/local/bin
|
|
1771
|
+
*/
|
|
1377
1772
|
value?: string;
|
|
1378
1773
|
static names(): { [key: string]: string } {
|
|
1379
1774
|
return {
|
|
@@ -1398,7 +1793,18 @@ export class CreateJobRequestTasksTaskSpecTaskExecutorContainer extends $tea.Mod
|
|
|
1398
1793
|
appId?: string;
|
|
1399
1794
|
command?: string[];
|
|
1400
1795
|
environmentVars?: CreateJobRequestTasksTaskSpecTaskExecutorContainerEnvironmentVars[];
|
|
1796
|
+
/**
|
|
1797
|
+
* @remarks
|
|
1798
|
+
* This parameter is required.
|
|
1799
|
+
*
|
|
1800
|
+
* @example
|
|
1801
|
+
* registry-vpc.cn-hangzhou.aliyuncs.com/ehpc/hpl:latest
|
|
1802
|
+
*/
|
|
1401
1803
|
image?: string;
|
|
1804
|
+
/**
|
|
1805
|
+
* @example
|
|
1806
|
+
* /usr/local/
|
|
1807
|
+
*/
|
|
1402
1808
|
workingDir?: string;
|
|
1403
1809
|
static names(): { [key: string]: string } {
|
|
1404
1810
|
return {
|
|
@@ -1427,8 +1833,23 @@ export class CreateJobRequestTasksTaskSpecTaskExecutorContainer extends $tea.Mod
|
|
|
1427
1833
|
|
|
1428
1834
|
export class CreateJobRequestTasksTaskSpecTaskExecutorVM extends $tea.Model {
|
|
1429
1835
|
appId?: string;
|
|
1836
|
+
/**
|
|
1837
|
+
* @remarks
|
|
1838
|
+
* This parameter is required.
|
|
1839
|
+
*
|
|
1840
|
+
* @example
|
|
1841
|
+
* m-xxxx
|
|
1842
|
+
*/
|
|
1430
1843
|
image?: string;
|
|
1844
|
+
/**
|
|
1845
|
+
* @example
|
|
1846
|
+
* ZWNobyBoZWxsbyBlY3Mh
|
|
1847
|
+
*/
|
|
1431
1848
|
prologScript?: string;
|
|
1849
|
+
/**
|
|
1850
|
+
* @example
|
|
1851
|
+
* ZWNobyBoZWxsbyBlY3Mh
|
|
1852
|
+
*/
|
|
1432
1853
|
script?: string;
|
|
1433
1854
|
static names(): { [key: string]: string } {
|
|
1434
1855
|
return {
|
|
@@ -1476,8 +1897,20 @@ export class CreateJobRequestTasksTaskSpecTaskExecutor extends $tea.Model {
|
|
|
1476
1897
|
}
|
|
1477
1898
|
|
|
1478
1899
|
export class CreateJobRequestTasksTaskSpecVolumeMount extends $tea.Model {
|
|
1900
|
+
/**
|
|
1901
|
+
* @example
|
|
1902
|
+
* {"server":"xxxxx-xxxxx.cn-heyuan.nas.aliyuncs.com","vers":"3","path":"/data","options":"nolock,tcp,noresvport"}
|
|
1903
|
+
*/
|
|
1479
1904
|
mountOptions?: string;
|
|
1905
|
+
/**
|
|
1906
|
+
* @example
|
|
1907
|
+
* /mnt
|
|
1908
|
+
*/
|
|
1480
1909
|
mountPath?: string;
|
|
1910
|
+
/**
|
|
1911
|
+
* @example
|
|
1912
|
+
* alicloud/nas
|
|
1913
|
+
*/
|
|
1481
1914
|
volumeDriver?: string;
|
|
1482
1915
|
static names(): { [key: string]: string } {
|
|
1483
1916
|
return {
|
|
@@ -1502,6 +1935,10 @@ export class CreateJobRequestTasksTaskSpecVolumeMount extends $tea.Model {
|
|
|
1502
1935
|
|
|
1503
1936
|
export class CreateJobRequestTasksTaskSpec extends $tea.Model {
|
|
1504
1937
|
resource?: CreateJobRequestTasksTaskSpecResource;
|
|
1938
|
+
/**
|
|
1939
|
+
* @remarks
|
|
1940
|
+
* This parameter is required.
|
|
1941
|
+
*/
|
|
1505
1942
|
taskExecutor?: CreateJobRequestTasksTaskSpecTaskExecutor[];
|
|
1506
1943
|
volumeMount?: CreateJobRequestTasksTaskSpecVolumeMount[];
|
|
1507
1944
|
static names(): { [key: string]: string } {
|
|
@@ -1527,8 +1964,16 @@ export class CreateJobRequestTasksTaskSpec extends $tea.Model {
|
|
|
1527
1964
|
|
|
1528
1965
|
export class CreateJobRequestTasks extends $tea.Model {
|
|
1529
1966
|
executorPolicy?: CreateJobRequestTasksExecutorPolicy;
|
|
1967
|
+
/**
|
|
1968
|
+
* @example
|
|
1969
|
+
* task0
|
|
1970
|
+
*/
|
|
1530
1971
|
taskName?: string;
|
|
1531
1972
|
taskSpec?: CreateJobRequestTasksTaskSpec;
|
|
1973
|
+
/**
|
|
1974
|
+
* @example
|
|
1975
|
+
* true
|
|
1976
|
+
*/
|
|
1532
1977
|
taskSustainable?: boolean;
|
|
1533
1978
|
static names(): { [key: string]: string } {
|
|
1534
1979
|
return {
|
|
@@ -1577,6 +2022,10 @@ export class CreateJobResponseBodyTasks extends $tea.Model {
|
|
|
1577
2022
|
|
|
1578
2023
|
export class DeleteJobsRequestJobSpecTaskSpec extends $tea.Model {
|
|
1579
2024
|
arrayIndex?: number[];
|
|
2025
|
+
/**
|
|
2026
|
+
* @example
|
|
2027
|
+
* task0
|
|
2028
|
+
*/
|
|
1580
2029
|
taskName?: string;
|
|
1581
2030
|
static names(): { [key: string]: string } {
|
|
1582
2031
|
return {
|
|
@@ -1598,6 +2047,10 @@ export class DeleteJobsRequestJobSpecTaskSpec extends $tea.Model {
|
|
|
1598
2047
|
}
|
|
1599
2048
|
|
|
1600
2049
|
export class DeleteJobsRequestJobSpec extends $tea.Model {
|
|
2050
|
+
/**
|
|
2051
|
+
* @example
|
|
2052
|
+
* job-xxxx
|
|
2053
|
+
*/
|
|
1601
2054
|
jobId?: string;
|
|
1602
2055
|
taskSpec?: DeleteJobsRequestJobSpecTaskSpec[];
|
|
1603
2056
|
static names(): { [key: string]: string } {
|
|
@@ -1620,7 +2073,15 @@ export class DeleteJobsRequestJobSpec extends $tea.Model {
|
|
|
1620
2073
|
}
|
|
1621
2074
|
|
|
1622
2075
|
export class DescribeJobMetricLastResponseBodyMetrics extends $tea.Model {
|
|
2076
|
+
/**
|
|
2077
|
+
* @example
|
|
2078
|
+
* 1
|
|
2079
|
+
*/
|
|
1623
2080
|
arrayIndex?: number;
|
|
2081
|
+
/**
|
|
2082
|
+
* @example
|
|
2083
|
+
* {"memory_utilization": 37.42,"cpu_utilization": 1.008, "disk_utilization": 3.562}
|
|
2084
|
+
*/
|
|
1624
2085
|
metric?: string;
|
|
1625
2086
|
static names(): { [key: string]: string } {
|
|
1626
2087
|
return {
|
|
@@ -1642,8 +2103,20 @@ export class DescribeJobMetricLastResponseBodyMetrics extends $tea.Model {
|
|
|
1642
2103
|
}
|
|
1643
2104
|
|
|
1644
2105
|
export class GetImageResponseBodyImageContainerImageSpecRegistryCredential extends $tea.Model {
|
|
2106
|
+
/**
|
|
2107
|
+
* @example
|
|
2108
|
+
* userpassword
|
|
2109
|
+
*/
|
|
1645
2110
|
password?: string;
|
|
2111
|
+
/**
|
|
2112
|
+
* @example
|
|
2113
|
+
* registry-vpc.cn-hangzhou.aliyuncs.com
|
|
2114
|
+
*/
|
|
1646
2115
|
server?: string;
|
|
2116
|
+
/**
|
|
2117
|
+
* @example
|
|
2118
|
+
* username
|
|
2119
|
+
*/
|
|
1647
2120
|
userName?: string;
|
|
1648
2121
|
static names(): { [key: string]: string } {
|
|
1649
2122
|
return {
|
|
@@ -1667,10 +2140,26 @@ export class GetImageResponseBodyImageContainerImageSpecRegistryCredential exten
|
|
|
1667
2140
|
}
|
|
1668
2141
|
|
|
1669
2142
|
export class GetImageResponseBodyImageContainerImageSpec extends $tea.Model {
|
|
2143
|
+
/**
|
|
2144
|
+
* @example
|
|
2145
|
+
* True
|
|
2146
|
+
*/
|
|
1670
2147
|
isACREnterprise?: boolean;
|
|
2148
|
+
/**
|
|
2149
|
+
* @example
|
|
2150
|
+
* True
|
|
2151
|
+
*/
|
|
1671
2152
|
isACRRegistry?: boolean;
|
|
1672
2153
|
registryCredential?: GetImageResponseBodyImageContainerImageSpecRegistryCredential;
|
|
2154
|
+
/**
|
|
2155
|
+
* @example
|
|
2156
|
+
* cri-xyz795ygf8k9****
|
|
2157
|
+
*/
|
|
1673
2158
|
registryCriId?: string;
|
|
2159
|
+
/**
|
|
2160
|
+
* @example
|
|
2161
|
+
* registry-vpc.cn-hangzhou.aliyuncs.com/ehpc_open/nginx:latest
|
|
2162
|
+
*/
|
|
1674
2163
|
registryUrl?: string;
|
|
1675
2164
|
static names(): { [key: string]: string } {
|
|
1676
2165
|
return {
|
|
@@ -1698,9 +2187,25 @@ export class GetImageResponseBodyImageContainerImageSpec extends $tea.Model {
|
|
|
1698
2187
|
}
|
|
1699
2188
|
|
|
1700
2189
|
export class GetImageResponseBodyImageVMImageSpec extends $tea.Model {
|
|
2190
|
+
/**
|
|
2191
|
+
* @example
|
|
2192
|
+
* x86_64
|
|
2193
|
+
*/
|
|
1701
2194
|
architecture?: string;
|
|
2195
|
+
/**
|
|
2196
|
+
* @example
|
|
2197
|
+
* m-uf60twafjtaart******
|
|
2198
|
+
*/
|
|
1702
2199
|
imageId?: string;
|
|
2200
|
+
/**
|
|
2201
|
+
* @example
|
|
2202
|
+
* CentOS 7.6 64 bit
|
|
2203
|
+
*/
|
|
1703
2204
|
osTag?: string;
|
|
2205
|
+
/**
|
|
2206
|
+
* @example
|
|
2207
|
+
* CentOS
|
|
2208
|
+
*/
|
|
1704
2209
|
platform?: string;
|
|
1705
2210
|
static names(): { [key: string]: string } {
|
|
1706
2211
|
return {
|
|
@@ -1728,13 +2233,36 @@ export class GetImageResponseBodyImageVMImageSpec extends $tea.Model {
|
|
|
1728
2233
|
export class GetImageResponseBodyImage extends $tea.Model {
|
|
1729
2234
|
appId?: string;
|
|
1730
2235
|
containerImageSpec?: GetImageResponseBodyImageContainerImageSpec;
|
|
2236
|
+
/**
|
|
2237
|
+
* @example
|
|
2238
|
+
* 2022-12-23T09:51:39Z
|
|
2239
|
+
*/
|
|
1731
2240
|
createTime?: string;
|
|
1732
2241
|
description?: string;
|
|
2242
|
+
/**
|
|
2243
|
+
* @remarks
|
|
2244
|
+
* This parameter is required.
|
|
2245
|
+
*
|
|
2246
|
+
* @example
|
|
2247
|
+
* VM
|
|
2248
|
+
*/
|
|
1733
2249
|
imageType?: string;
|
|
2250
|
+
/**
|
|
2251
|
+
* @example
|
|
2252
|
+
* app-image
|
|
2253
|
+
*/
|
|
1734
2254
|
name?: string;
|
|
2255
|
+
/**
|
|
2256
|
+
* @example
|
|
2257
|
+
* 40 GiB
|
|
2258
|
+
*/
|
|
1735
2259
|
size?: string;
|
|
1736
2260
|
status?: string;
|
|
1737
2261
|
VMImageSpec?: GetImageResponseBodyImageVMImageSpec;
|
|
2262
|
+
/**
|
|
2263
|
+
* @example
|
|
2264
|
+
* v1.0
|
|
2265
|
+
*/
|
|
1738
2266
|
version?: string;
|
|
1739
2267
|
static names(): { [key: string]: string } {
|
|
1740
2268
|
return {
|
|
@@ -1791,6 +2319,10 @@ export class GetJobResponseBodyJobInfoDeploymentPolicyNetwork extends $tea.Model
|
|
|
1791
2319
|
}
|
|
1792
2320
|
|
|
1793
2321
|
export class GetJobResponseBodyJobInfoDeploymentPolicy extends $tea.Model {
|
|
2322
|
+
/**
|
|
2323
|
+
* @example
|
|
2324
|
+
* Dedicated
|
|
2325
|
+
*/
|
|
1794
2326
|
allocationSpec?: string;
|
|
1795
2327
|
network?: GetJobResponseBodyJobInfoDeploymentPolicyNetwork;
|
|
1796
2328
|
static names(): { [key: string]: string } {
|
|
@@ -1813,8 +2345,20 @@ export class GetJobResponseBodyJobInfoDeploymentPolicy extends $tea.Model {
|
|
|
1813
2345
|
}
|
|
1814
2346
|
|
|
1815
2347
|
export class GetJobResponseBodyJobInfoTasksExecutorPolicyArraySpec extends $tea.Model {
|
|
2348
|
+
/**
|
|
2349
|
+
* @example
|
|
2350
|
+
* 9
|
|
2351
|
+
*/
|
|
1816
2352
|
indexEnd?: number;
|
|
2353
|
+
/**
|
|
2354
|
+
* @example
|
|
2355
|
+
* 0
|
|
2356
|
+
*/
|
|
1817
2357
|
indexStart?: number;
|
|
2358
|
+
/**
|
|
2359
|
+
* @example
|
|
2360
|
+
* 1
|
|
2361
|
+
*/
|
|
1818
2362
|
indexStep?: number;
|
|
1819
2363
|
static names(): { [key: string]: string } {
|
|
1820
2364
|
return {
|
|
@@ -1839,6 +2383,10 @@ export class GetJobResponseBodyJobInfoTasksExecutorPolicyArraySpec extends $tea.
|
|
|
1839
2383
|
|
|
1840
2384
|
export class GetJobResponseBodyJobInfoTasksExecutorPolicy extends $tea.Model {
|
|
1841
2385
|
arraySpec?: GetJobResponseBodyJobInfoTasksExecutorPolicyArraySpec;
|
|
2386
|
+
/**
|
|
2387
|
+
* @example
|
|
2388
|
+
* 10
|
|
2389
|
+
*/
|
|
1842
2390
|
maxCount?: number;
|
|
1843
2391
|
static names(): { [key: string]: string } {
|
|
1844
2392
|
return {
|
|
@@ -1860,11 +2408,35 @@ export class GetJobResponseBodyJobInfoTasksExecutorPolicy extends $tea.Model {
|
|
|
1860
2408
|
}
|
|
1861
2409
|
|
|
1862
2410
|
export class GetJobResponseBodyJobInfoTasksExecutorStatus extends $tea.Model {
|
|
2411
|
+
/**
|
|
2412
|
+
* @example
|
|
2413
|
+
* 0
|
|
2414
|
+
*/
|
|
1863
2415
|
arrayId?: number;
|
|
2416
|
+
/**
|
|
2417
|
+
* @example
|
|
2418
|
+
* 2024-02-04 13:54:10
|
|
2419
|
+
*/
|
|
1864
2420
|
createTime?: string;
|
|
2421
|
+
/**
|
|
2422
|
+
* @example
|
|
2423
|
+
* 2024-02-04 13:54:10
|
|
2424
|
+
*/
|
|
1865
2425
|
endTime?: string;
|
|
2426
|
+
/**
|
|
2427
|
+
* @example
|
|
2428
|
+
* 2024-02-04 13:54:10
|
|
2429
|
+
*/
|
|
1866
2430
|
startTime?: string;
|
|
2431
|
+
/**
|
|
2432
|
+
* @example
|
|
2433
|
+
* Running
|
|
2434
|
+
*/
|
|
1867
2435
|
status?: string;
|
|
2436
|
+
/**
|
|
2437
|
+
* @example
|
|
2438
|
+
* Creating executor
|
|
2439
|
+
*/
|
|
1868
2440
|
statusReason?: string;
|
|
1869
2441
|
static names(): { [key: string]: string } {
|
|
1870
2442
|
return {
|
|
@@ -1894,7 +2466,15 @@ export class GetJobResponseBodyJobInfoTasksExecutorStatus extends $tea.Model {
|
|
|
1894
2466
|
}
|
|
1895
2467
|
|
|
1896
2468
|
export class GetJobResponseBodyJobInfoTasksTaskSpecResourceDisks extends $tea.Model {
|
|
2469
|
+
/**
|
|
2470
|
+
* @example
|
|
2471
|
+
* 100
|
|
2472
|
+
*/
|
|
1897
2473
|
size?: number;
|
|
2474
|
+
/**
|
|
2475
|
+
* @example
|
|
2476
|
+
* System
|
|
2477
|
+
*/
|
|
1898
2478
|
type?: string;
|
|
1899
2479
|
static names(): { [key: string]: string } {
|
|
1900
2480
|
return {
|
|
@@ -1916,8 +2496,16 @@ export class GetJobResponseBodyJobInfoTasksTaskSpecResourceDisks extends $tea.Mo
|
|
|
1916
2496
|
}
|
|
1917
2497
|
|
|
1918
2498
|
export class GetJobResponseBodyJobInfoTasksTaskSpecResource extends $tea.Model {
|
|
2499
|
+
/**
|
|
2500
|
+
* @example
|
|
2501
|
+
* 1
|
|
2502
|
+
*/
|
|
1919
2503
|
cores?: number;
|
|
1920
2504
|
disks?: GetJobResponseBodyJobInfoTasksTaskSpecResourceDisks[];
|
|
2505
|
+
/**
|
|
2506
|
+
* @example
|
|
2507
|
+
* 4
|
|
2508
|
+
*/
|
|
1921
2509
|
memory?: number;
|
|
1922
2510
|
static names(): { [key: string]: string } {
|
|
1923
2511
|
return {
|
|
@@ -1941,8 +2529,20 @@ export class GetJobResponseBodyJobInfoTasksTaskSpecResource extends $tea.Model {
|
|
|
1941
2529
|
}
|
|
1942
2530
|
|
|
1943
2531
|
export class GetJobResponseBodyJobInfoTasksTaskSpecTaskExecutorVM extends $tea.Model {
|
|
2532
|
+
/**
|
|
2533
|
+
* @example
|
|
2534
|
+
* m-xxxx
|
|
2535
|
+
*/
|
|
1944
2536
|
image?: string;
|
|
2537
|
+
/**
|
|
2538
|
+
* @example
|
|
2539
|
+
* ZWNobyAiMTIzNCIgPiBgZGF0ZSArJXNg
|
|
2540
|
+
*/
|
|
1945
2541
|
prologScript?: string;
|
|
2542
|
+
/**
|
|
2543
|
+
* @example
|
|
2544
|
+
* ZWNobyAiMTIzNCIgPiBgZGF0ZSArJXNg
|
|
2545
|
+
*/
|
|
1946
2546
|
script?: string;
|
|
1947
2547
|
static names(): { [key: string]: string } {
|
|
1948
2548
|
return {
|
|
@@ -2009,8 +2609,16 @@ export class GetJobResponseBodyJobInfoTasksTaskSpec extends $tea.Model {
|
|
|
2009
2609
|
export class GetJobResponseBodyJobInfoTasks extends $tea.Model {
|
|
2010
2610
|
executorPolicy?: GetJobResponseBodyJobInfoTasksExecutorPolicy;
|
|
2011
2611
|
executorStatus?: GetJobResponseBodyJobInfoTasksExecutorStatus[];
|
|
2612
|
+
/**
|
|
2613
|
+
* @example
|
|
2614
|
+
* task0
|
|
2615
|
+
*/
|
|
2012
2616
|
taskName?: string;
|
|
2013
2617
|
taskSpec?: GetJobResponseBodyJobInfoTasksTaskSpec;
|
|
2618
|
+
/**
|
|
2619
|
+
* @example
|
|
2620
|
+
* true
|
|
2621
|
+
*/
|
|
2014
2622
|
taskSustainable?: boolean;
|
|
2015
2623
|
static names(): { [key: string]: string } {
|
|
2016
2624
|
return {
|
|
@@ -2038,13 +2646,42 @@ export class GetJobResponseBodyJobInfoTasks extends $tea.Model {
|
|
|
2038
2646
|
}
|
|
2039
2647
|
|
|
2040
2648
|
export class GetJobResponseBodyJobInfo extends $tea.Model {
|
|
2649
|
+
/**
|
|
2650
|
+
* @example
|
|
2651
|
+
* 2024-03-05 20:00:46
|
|
2652
|
+
*/
|
|
2041
2653
|
createTime?: string;
|
|
2042
2654
|
deploymentPolicy?: GetJobResponseBodyJobInfoDeploymentPolicy;
|
|
2655
|
+
/**
|
|
2656
|
+
* @example
|
|
2657
|
+
* 2024-03-05 20:01:48
|
|
2658
|
+
*/
|
|
2043
2659
|
endTime?: string;
|
|
2660
|
+
/**
|
|
2661
|
+
* @example
|
|
2662
|
+
* Demo
|
|
2663
|
+
*/
|
|
2044
2664
|
jobDescription?: string;
|
|
2665
|
+
/**
|
|
2666
|
+
* @example
|
|
2667
|
+
* job-xxxx
|
|
2668
|
+
*/
|
|
2045
2669
|
jobId?: string;
|
|
2670
|
+
/**
|
|
2671
|
+
* @example
|
|
2672
|
+
* testJob
|
|
2673
|
+
*/
|
|
2046
2674
|
jobName?: string;
|
|
2675
|
+
jobScheduler?: string;
|
|
2676
|
+
/**
|
|
2677
|
+
* @example
|
|
2678
|
+
* 2024-03-05 20:00:48
|
|
2679
|
+
*/
|
|
2047
2680
|
startTime?: string;
|
|
2681
|
+
/**
|
|
2682
|
+
* @example
|
|
2683
|
+
* Succeed
|
|
2684
|
+
*/
|
|
2048
2685
|
status?: string;
|
|
2049
2686
|
tasks?: GetJobResponseBodyJobInfoTasks[];
|
|
2050
2687
|
static names(): { [key: string]: string } {
|
|
@@ -2055,6 +2692,7 @@ export class GetJobResponseBodyJobInfo extends $tea.Model {
|
|
|
2055
2692
|
jobDescription: 'JobDescription',
|
|
2056
2693
|
jobId: 'JobId',
|
|
2057
2694
|
jobName: 'JobName',
|
|
2695
|
+
jobScheduler: 'JobScheduler',
|
|
2058
2696
|
startTime: 'StartTime',
|
|
2059
2697
|
status: 'Status',
|
|
2060
2698
|
tasks: 'Tasks',
|
|
@@ -2069,6 +2707,7 @@ export class GetJobResponseBodyJobInfo extends $tea.Model {
|
|
|
2069
2707
|
jobDescription: 'string',
|
|
2070
2708
|
jobId: 'string',
|
|
2071
2709
|
jobName: 'string',
|
|
2710
|
+
jobScheduler: 'string',
|
|
2072
2711
|
startTime: 'string',
|
|
2073
2712
|
status: 'string',
|
|
2074
2713
|
tasks: { 'type': 'array', 'itemType': GetJobResponseBodyJobInfoTasks },
|
|
@@ -2083,8 +2722,20 @@ export class GetJobResponseBodyJobInfo extends $tea.Model {
|
|
|
2083
2722
|
export class ListExecutorsRequestFilter extends $tea.Model {
|
|
2084
2723
|
executorIds?: string[];
|
|
2085
2724
|
ipAddresses?: string[];
|
|
2725
|
+
/**
|
|
2726
|
+
* @example
|
|
2727
|
+
* testJob
|
|
2728
|
+
*/
|
|
2086
2729
|
jobName?: string;
|
|
2730
|
+
/**
|
|
2731
|
+
* @example
|
|
2732
|
+
* 1703819914
|
|
2733
|
+
*/
|
|
2087
2734
|
timeCreatedAfter?: number;
|
|
2735
|
+
/**
|
|
2736
|
+
* @example
|
|
2737
|
+
* 1703820113
|
|
2738
|
+
*/
|
|
2088
2739
|
timeCreatedBefore?: number;
|
|
2089
2740
|
static names(): { [key: string]: string } {
|
|
2090
2741
|
return {
|
|
@@ -2112,16 +2763,52 @@ export class ListExecutorsRequestFilter extends $tea.Model {
|
|
|
2112
2763
|
}
|
|
2113
2764
|
|
|
2114
2765
|
export class ListExecutorsResponseBodyExecutors extends $tea.Model {
|
|
2766
|
+
/**
|
|
2767
|
+
* @example
|
|
2768
|
+
* 0
|
|
2769
|
+
*/
|
|
2115
2770
|
arrayIndex?: number;
|
|
2771
|
+
/**
|
|
2772
|
+
* @example
|
|
2773
|
+
* 2024-02-20 10:04:10
|
|
2774
|
+
*/
|
|
2116
2775
|
createTime?: string;
|
|
2776
|
+
/**
|
|
2777
|
+
* @example
|
|
2778
|
+
* 2024-02-20 10:04:18
|
|
2779
|
+
*/
|
|
2117
2780
|
endTime?: string;
|
|
2781
|
+
/**
|
|
2782
|
+
* @example
|
|
2783
|
+
* job-xxxx-task0-1
|
|
2784
|
+
*/
|
|
2118
2785
|
executorId?: string;
|
|
2119
2786
|
hostName?: string[];
|
|
2120
2787
|
ipAddress?: string[];
|
|
2788
|
+
/**
|
|
2789
|
+
* @example
|
|
2790
|
+
* job-hy1nggvyukuvkr******
|
|
2791
|
+
*/
|
|
2121
2792
|
jobId?: string;
|
|
2793
|
+
/**
|
|
2794
|
+
* @example
|
|
2795
|
+
* testJob
|
|
2796
|
+
*/
|
|
2122
2797
|
jobName?: string;
|
|
2798
|
+
/**
|
|
2799
|
+
* @example
|
|
2800
|
+
* Running
|
|
2801
|
+
*/
|
|
2123
2802
|
status?: string;
|
|
2803
|
+
/**
|
|
2804
|
+
* @example
|
|
2805
|
+
* Succeeded to release executor resource
|
|
2806
|
+
*/
|
|
2124
2807
|
statusReason?: string;
|
|
2808
|
+
/**
|
|
2809
|
+
* @example
|
|
2810
|
+
* task0
|
|
2811
|
+
*/
|
|
2125
2812
|
taskName?: string;
|
|
2126
2813
|
static names(): { [key: string]: string } {
|
|
2127
2814
|
return {
|
|
@@ -2161,12 +2848,42 @@ export class ListExecutorsResponseBodyExecutors extends $tea.Model {
|
|
|
2161
2848
|
}
|
|
2162
2849
|
|
|
2163
2850
|
export class ListImagesResponseBodyImages extends $tea.Model {
|
|
2851
|
+
/**
|
|
2852
|
+
* @remarks
|
|
2853
|
+
* This parameter is required.
|
|
2854
|
+
*/
|
|
2164
2855
|
appId?: string;
|
|
2856
|
+
/**
|
|
2857
|
+
* @example
|
|
2858
|
+
* 2022-12-09T07:06:34Z
|
|
2859
|
+
*/
|
|
2165
2860
|
createTime?: string;
|
|
2166
2861
|
description?: string;
|
|
2862
|
+
/**
|
|
2863
|
+
* @remarks
|
|
2864
|
+
* This parameter is required.
|
|
2865
|
+
*
|
|
2866
|
+
* @example
|
|
2867
|
+
* m-bp181x855551ww5yq****
|
|
2868
|
+
*/
|
|
2167
2869
|
imageId?: string;
|
|
2870
|
+
/**
|
|
2871
|
+
* @remarks
|
|
2872
|
+
* This parameter is required.
|
|
2873
|
+
*
|
|
2874
|
+
* @example
|
|
2875
|
+
* VM
|
|
2876
|
+
*/
|
|
2168
2877
|
imageType?: string;
|
|
2878
|
+
/**
|
|
2879
|
+
* @example
|
|
2880
|
+
* app-image
|
|
2881
|
+
*/
|
|
2169
2882
|
name?: string;
|
|
2883
|
+
/**
|
|
2884
|
+
* @example
|
|
2885
|
+
* v1.0
|
|
2886
|
+
*/
|
|
2170
2887
|
version?: string;
|
|
2171
2888
|
static names(): { [key: string]: string } {
|
|
2172
2889
|
return {
|
|
@@ -2198,12 +2915,32 @@ export class ListImagesResponseBodyImages extends $tea.Model {
|
|
|
2198
2915
|
}
|
|
2199
2916
|
|
|
2200
2917
|
export class ListJobExecutorsResponseBodyExecutors extends $tea.Model {
|
|
2918
|
+
/**
|
|
2919
|
+
* @example
|
|
2920
|
+
* 0
|
|
2921
|
+
*/
|
|
2201
2922
|
arrayIndex?: number;
|
|
2923
|
+
/**
|
|
2924
|
+
* @example
|
|
2925
|
+
* 2024-02-20 10:04:10
|
|
2926
|
+
*/
|
|
2202
2927
|
createTime?: string;
|
|
2928
|
+
/**
|
|
2929
|
+
* @example
|
|
2930
|
+
* 2024-02-20 10:04:18
|
|
2931
|
+
*/
|
|
2203
2932
|
endTime?: string;
|
|
2204
2933
|
hostName?: string[];
|
|
2205
2934
|
ipAddress?: string[];
|
|
2935
|
+
/**
|
|
2936
|
+
* @example
|
|
2937
|
+
* Running
|
|
2938
|
+
*/
|
|
2206
2939
|
status?: string;
|
|
2940
|
+
/**
|
|
2941
|
+
* @example
|
|
2942
|
+
* Creating executor
|
|
2943
|
+
*/
|
|
2207
2944
|
statusReason?: string;
|
|
2208
2945
|
static names(): { [key: string]: string } {
|
|
2209
2946
|
return {
|
|
@@ -2235,10 +2972,30 @@ export class ListJobExecutorsResponseBodyExecutors extends $tea.Model {
|
|
|
2235
2972
|
}
|
|
2236
2973
|
|
|
2237
2974
|
export class ListJobsRequestFilter extends $tea.Model {
|
|
2975
|
+
/**
|
|
2976
|
+
* @example
|
|
2977
|
+
* job-xxxx
|
|
2978
|
+
*/
|
|
2238
2979
|
jobId?: string;
|
|
2980
|
+
/**
|
|
2981
|
+
* @example
|
|
2982
|
+
* testJob
|
|
2983
|
+
*/
|
|
2239
2984
|
jobName?: string;
|
|
2985
|
+
/**
|
|
2986
|
+
* @example
|
|
2987
|
+
* Running
|
|
2988
|
+
*/
|
|
2240
2989
|
status?: string;
|
|
2990
|
+
/**
|
|
2991
|
+
* @example
|
|
2992
|
+
* 1703819914
|
|
2993
|
+
*/
|
|
2241
2994
|
timeCreatedAfter?: number;
|
|
2995
|
+
/**
|
|
2996
|
+
* @example
|
|
2997
|
+
* 1703820113
|
|
2998
|
+
*/
|
|
2242
2999
|
timeCreatedBefore?: number;
|
|
2243
3000
|
static names(): { [key: string]: string } {
|
|
2244
3001
|
return {
|
|
@@ -2266,7 +3023,15 @@ export class ListJobsRequestFilter extends $tea.Model {
|
|
|
2266
3023
|
}
|
|
2267
3024
|
|
|
2268
3025
|
export class ListJobsRequestSortBy extends $tea.Model {
|
|
3026
|
+
/**
|
|
3027
|
+
* @example
|
|
3028
|
+
* time_start
|
|
3029
|
+
*/
|
|
2269
3030
|
label?: string;
|
|
3031
|
+
/**
|
|
3032
|
+
* @example
|
|
3033
|
+
* ASC
|
|
3034
|
+
*/
|
|
2270
3035
|
order?: string;
|
|
2271
3036
|
static names(): { [key: string]: string } {
|
|
2272
3037
|
return {
|
|
@@ -2288,16 +3053,60 @@ export class ListJobsRequestSortBy extends $tea.Model {
|
|
|
2288
3053
|
}
|
|
2289
3054
|
|
|
2290
3055
|
export class ListJobsResponseBodyJobList extends $tea.Model {
|
|
3056
|
+
/**
|
|
3057
|
+
* @example
|
|
3058
|
+
* 2024-01-25 12:29:21
|
|
3059
|
+
*/
|
|
2291
3060
|
createTime?: string;
|
|
3061
|
+
/**
|
|
3062
|
+
* @example
|
|
3063
|
+
* 2024-01-25 12:35:23
|
|
3064
|
+
*/
|
|
2292
3065
|
endTime?: string;
|
|
3066
|
+
/**
|
|
3067
|
+
* @example
|
|
3068
|
+
* 1
|
|
3069
|
+
*/
|
|
2293
3070
|
executorCount?: number;
|
|
3071
|
+
/**
|
|
3072
|
+
* @example
|
|
3073
|
+
* Demo
|
|
3074
|
+
*/
|
|
2294
3075
|
jobDescription?: string;
|
|
3076
|
+
/**
|
|
3077
|
+
* @example
|
|
3078
|
+
* job-xxx
|
|
3079
|
+
*/
|
|
2295
3080
|
jobId?: string;
|
|
3081
|
+
/**
|
|
3082
|
+
* @example
|
|
3083
|
+
* testJob
|
|
3084
|
+
*/
|
|
2296
3085
|
jobName?: string;
|
|
3086
|
+
/**
|
|
3087
|
+
* @example
|
|
3088
|
+
* 129**********
|
|
3089
|
+
*/
|
|
2297
3090
|
ownerUid?: string;
|
|
3091
|
+
/**
|
|
3092
|
+
* @example
|
|
3093
|
+
* 2024-01-25 12:29:23
|
|
3094
|
+
*/
|
|
2298
3095
|
startTime?: string;
|
|
3096
|
+
/**
|
|
3097
|
+
* @example
|
|
3098
|
+
* Running
|
|
3099
|
+
*/
|
|
2299
3100
|
status?: string;
|
|
3101
|
+
/**
|
|
3102
|
+
* @example
|
|
3103
|
+
* 1
|
|
3104
|
+
*/
|
|
2300
3105
|
taskCount?: number;
|
|
3106
|
+
/**
|
|
3107
|
+
* @example
|
|
3108
|
+
* true
|
|
3109
|
+
*/
|
|
2301
3110
|
taskSustainable?: boolean;
|
|
2302
3111
|
static names(): { [key: string]: string } {
|
|
2303
3112
|
return {
|
|
@@ -2360,11 +3169,11 @@ export default class Client extends OpenApi {
|
|
|
2360
3169
|
}
|
|
2361
3170
|
|
|
2362
3171
|
/**
|
|
2363
|
-
*
|
|
2364
|
-
*
|
|
2365
|
-
* @param tmpReq AddImageRequest
|
|
2366
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
2367
|
-
* @
|
|
3172
|
+
* 添加托管侧用户自定义镜像
|
|
3173
|
+
*
|
|
3174
|
+
* @param tmpReq - AddImageRequest
|
|
3175
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3176
|
+
* @returns AddImageResponse
|
|
2368
3177
|
*/
|
|
2369
3178
|
async addImageWithOptions(tmpReq: AddImageRequest, runtime: $Util.RuntimeOptions): Promise<AddImageResponse> {
|
|
2370
3179
|
Util.validateModel(tmpReq);
|
|
@@ -2417,10 +3226,10 @@ export default class Client extends OpenApi {
|
|
|
2417
3226
|
}
|
|
2418
3227
|
|
|
2419
3228
|
/**
|
|
2420
|
-
*
|
|
2421
|
-
*
|
|
2422
|
-
* @param request AddImageRequest
|
|
2423
|
-
* @
|
|
3229
|
+
* 添加托管侧用户自定义镜像
|
|
3230
|
+
*
|
|
3231
|
+
* @param request - AddImageRequest
|
|
3232
|
+
* @returns AddImageResponse
|
|
2424
3233
|
*/
|
|
2425
3234
|
async addImage(request: AddImageRequest): Promise<AddImageResponse> {
|
|
2426
3235
|
let runtime = new $Util.RuntimeOptions({ });
|
|
@@ -2428,11 +3237,11 @@ export default class Client extends OpenApi {
|
|
|
2428
3237
|
}
|
|
2429
3238
|
|
|
2430
3239
|
/**
|
|
2431
|
-
*
|
|
2432
|
-
*
|
|
2433
|
-
* @param tmpReq CreateJobRequest
|
|
2434
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
2435
|
-
* @
|
|
3240
|
+
* 提交任务
|
|
3241
|
+
*
|
|
3242
|
+
* @param tmpReq - CreateJobRequest
|
|
3243
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3244
|
+
* @returns CreateJobResponse
|
|
2436
3245
|
*/
|
|
2437
3246
|
async createJobWithOptions(tmpReq: CreateJobRequest, runtime: $Util.RuntimeOptions): Promise<CreateJobResponse> {
|
|
2438
3247
|
Util.validateModel(tmpReq);
|
|
@@ -2459,6 +3268,10 @@ export default class Client extends OpenApi {
|
|
|
2459
3268
|
query["JobName"] = request.jobName;
|
|
2460
3269
|
}
|
|
2461
3270
|
|
|
3271
|
+
if (!Util.isUnset(request.jobScheduler)) {
|
|
3272
|
+
query["JobScheduler"] = request.jobScheduler;
|
|
3273
|
+
}
|
|
3274
|
+
|
|
2462
3275
|
if (!Util.isUnset(request.tasksShrink)) {
|
|
2463
3276
|
query["Tasks"] = request.tasksShrink;
|
|
2464
3277
|
}
|
|
@@ -2481,10 +3294,10 @@ export default class Client extends OpenApi {
|
|
|
2481
3294
|
}
|
|
2482
3295
|
|
|
2483
3296
|
/**
|
|
2484
|
-
*
|
|
2485
|
-
*
|
|
2486
|
-
* @param request CreateJobRequest
|
|
2487
|
-
* @
|
|
3297
|
+
* 提交任务
|
|
3298
|
+
*
|
|
3299
|
+
* @param request - CreateJobRequest
|
|
3300
|
+
* @returns CreateJobResponse
|
|
2488
3301
|
*/
|
|
2489
3302
|
async createJob(request: CreateJobRequest): Promise<CreateJobResponse> {
|
|
2490
3303
|
let runtime = new $Util.RuntimeOptions({ });
|
|
@@ -2492,11 +3305,11 @@ export default class Client extends OpenApi {
|
|
|
2492
3305
|
}
|
|
2493
3306
|
|
|
2494
3307
|
/**
|
|
2495
|
-
*
|
|
2496
|
-
*
|
|
2497
|
-
* @param tmpReq DeleteJobsRequest
|
|
2498
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
2499
|
-
* @
|
|
3308
|
+
* 删除作业
|
|
3309
|
+
*
|
|
3310
|
+
* @param tmpReq - DeleteJobsRequest
|
|
3311
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3312
|
+
* @returns DeleteJobsResponse
|
|
2500
3313
|
*/
|
|
2501
3314
|
async deleteJobsWithOptions(tmpReq: DeleteJobsRequest, runtime: $Util.RuntimeOptions): Promise<DeleteJobsResponse> {
|
|
2502
3315
|
Util.validateModel(tmpReq);
|
|
@@ -2537,10 +3350,10 @@ export default class Client extends OpenApi {
|
|
|
2537
3350
|
}
|
|
2538
3351
|
|
|
2539
3352
|
/**
|
|
2540
|
-
*
|
|
2541
|
-
*
|
|
2542
|
-
* @param request DeleteJobsRequest
|
|
2543
|
-
* @
|
|
3353
|
+
* 删除作业
|
|
3354
|
+
*
|
|
3355
|
+
* @param request - DeleteJobsRequest
|
|
3356
|
+
* @returns DeleteJobsResponse
|
|
2544
3357
|
*/
|
|
2545
3358
|
async deleteJobs(request: DeleteJobsRequest): Promise<DeleteJobsResponse> {
|
|
2546
3359
|
let runtime = new $Util.RuntimeOptions({ });
|
|
@@ -2548,11 +3361,11 @@ export default class Client extends OpenApi {
|
|
|
2548
3361
|
}
|
|
2549
3362
|
|
|
2550
3363
|
/**
|
|
2551
|
-
*
|
|
2552
|
-
*
|
|
2553
|
-
* @param tmpReq DescribeJobMetricDataRequest
|
|
2554
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
2555
|
-
* @
|
|
3364
|
+
* 查询作业性能数据
|
|
3365
|
+
*
|
|
3366
|
+
* @param tmpReq - DescribeJobMetricDataRequest
|
|
3367
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3368
|
+
* @returns DescribeJobMetricDataResponse
|
|
2556
3369
|
*/
|
|
2557
3370
|
async describeJobMetricDataWithOptions(tmpReq: DescribeJobMetricDataRequest, runtime: $Util.RuntimeOptions): Promise<DescribeJobMetricDataResponse> {
|
|
2558
3371
|
Util.validateModel(tmpReq);
|
|
@@ -2597,10 +3410,10 @@ export default class Client extends OpenApi {
|
|
|
2597
3410
|
}
|
|
2598
3411
|
|
|
2599
3412
|
/**
|
|
2600
|
-
*
|
|
2601
|
-
*
|
|
2602
|
-
* @param request DescribeJobMetricDataRequest
|
|
2603
|
-
* @
|
|
3413
|
+
* 查询作业性能数据
|
|
3414
|
+
*
|
|
3415
|
+
* @param request - DescribeJobMetricDataRequest
|
|
3416
|
+
* @returns DescribeJobMetricDataResponse
|
|
2604
3417
|
*/
|
|
2605
3418
|
async describeJobMetricData(request: DescribeJobMetricDataRequest): Promise<DescribeJobMetricDataResponse> {
|
|
2606
3419
|
let runtime = new $Util.RuntimeOptions({ });
|
|
@@ -2608,11 +3421,11 @@ export default class Client extends OpenApi {
|
|
|
2608
3421
|
}
|
|
2609
3422
|
|
|
2610
3423
|
/**
|
|
2611
|
-
*
|
|
2612
|
-
*
|
|
2613
|
-
* @param tmpReq DescribeJobMetricLastRequest
|
|
2614
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
2615
|
-
* @
|
|
3424
|
+
* 查询作业即时监控项
|
|
3425
|
+
*
|
|
3426
|
+
* @param tmpReq - DescribeJobMetricLastRequest
|
|
3427
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3428
|
+
* @returns DescribeJobMetricLastResponse
|
|
2616
3429
|
*/
|
|
2617
3430
|
async describeJobMetricLastWithOptions(tmpReq: DescribeJobMetricLastRequest, runtime: $Util.RuntimeOptions): Promise<DescribeJobMetricLastResponse> {
|
|
2618
3431
|
Util.validateModel(tmpReq);
|
|
@@ -2653,10 +3466,10 @@ export default class Client extends OpenApi {
|
|
|
2653
3466
|
}
|
|
2654
3467
|
|
|
2655
3468
|
/**
|
|
2656
|
-
*
|
|
2657
|
-
*
|
|
2658
|
-
* @param request DescribeJobMetricLastRequest
|
|
2659
|
-
* @
|
|
3469
|
+
* 查询作业即时监控项
|
|
3470
|
+
*
|
|
3471
|
+
* @param request - DescribeJobMetricLastRequest
|
|
3472
|
+
* @returns DescribeJobMetricLastResponse
|
|
2660
3473
|
*/
|
|
2661
3474
|
async describeJobMetricLast(request: DescribeJobMetricLastRequest): Promise<DescribeJobMetricLastResponse> {
|
|
2662
3475
|
let runtime = new $Util.RuntimeOptions({ });
|
|
@@ -2664,11 +3477,11 @@ export default class Client extends OpenApi {
|
|
|
2664
3477
|
}
|
|
2665
3478
|
|
|
2666
3479
|
/**
|
|
2667
|
-
*
|
|
2668
|
-
*
|
|
2669
|
-
* @param request GetImageRequest
|
|
2670
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
2671
|
-
* @
|
|
3480
|
+
* 查询托管侧镜像详情。
|
|
3481
|
+
*
|
|
3482
|
+
* @param request - GetImageRequest
|
|
3483
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3484
|
+
* @returns GetImageResponse
|
|
2672
3485
|
*/
|
|
2673
3486
|
async getImageWithOptions(request: GetImageRequest, runtime: $Util.RuntimeOptions): Promise<GetImageResponse> {
|
|
2674
3487
|
Util.validateModel(request);
|
|
@@ -2703,10 +3516,10 @@ export default class Client extends OpenApi {
|
|
|
2703
3516
|
}
|
|
2704
3517
|
|
|
2705
3518
|
/**
|
|
2706
|
-
*
|
|
2707
|
-
*
|
|
2708
|
-
* @param request GetImageRequest
|
|
2709
|
-
* @
|
|
3519
|
+
* 查询托管侧镜像详情。
|
|
3520
|
+
*
|
|
3521
|
+
* @param request - GetImageRequest
|
|
3522
|
+
* @returns GetImageResponse
|
|
2710
3523
|
*/
|
|
2711
3524
|
async getImage(request: GetImageRequest): Promise<GetImageResponse> {
|
|
2712
3525
|
let runtime = new $Util.RuntimeOptions({ });
|
|
@@ -2714,11 +3527,11 @@ export default class Client extends OpenApi {
|
|
|
2714
3527
|
}
|
|
2715
3528
|
|
|
2716
3529
|
/**
|
|
2717
|
-
*
|
|
2718
|
-
*
|
|
2719
|
-
* @param request GetJobRequest
|
|
2720
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
2721
|
-
* @
|
|
3530
|
+
* 查询作业详情
|
|
3531
|
+
*
|
|
3532
|
+
* @param request - GetJobRequest
|
|
3533
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3534
|
+
* @returns GetJobResponse
|
|
2722
3535
|
*/
|
|
2723
3536
|
async getJobWithOptions(request: GetJobRequest, runtime: $Util.RuntimeOptions): Promise<GetJobResponse> {
|
|
2724
3537
|
Util.validateModel(request);
|
|
@@ -2745,10 +3558,10 @@ export default class Client extends OpenApi {
|
|
|
2745
3558
|
}
|
|
2746
3559
|
|
|
2747
3560
|
/**
|
|
2748
|
-
*
|
|
2749
|
-
*
|
|
2750
|
-
* @param request GetJobRequest
|
|
2751
|
-
* @
|
|
3561
|
+
* 查询作业详情
|
|
3562
|
+
*
|
|
3563
|
+
* @param request - GetJobRequest
|
|
3564
|
+
* @returns GetJobResponse
|
|
2752
3565
|
*/
|
|
2753
3566
|
async getJob(request: GetJobRequest): Promise<GetJobResponse> {
|
|
2754
3567
|
let runtime = new $Util.RuntimeOptions({ });
|
|
@@ -2756,11 +3569,11 @@ export default class Client extends OpenApi {
|
|
|
2756
3569
|
}
|
|
2757
3570
|
|
|
2758
3571
|
/**
|
|
2759
|
-
*
|
|
2760
|
-
*
|
|
2761
|
-
* @param tmpReq ListExecutorsRequest
|
|
2762
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
2763
|
-
* @
|
|
3572
|
+
* 查询全局Executor信息
|
|
3573
|
+
*
|
|
3574
|
+
* @param tmpReq - ListExecutorsRequest
|
|
3575
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3576
|
+
* @returns ListExecutorsResponse
|
|
2764
3577
|
*/
|
|
2765
3578
|
async listExecutorsWithOptions(tmpReq: ListExecutorsRequest, runtime: $Util.RuntimeOptions): Promise<ListExecutorsResponse> {
|
|
2766
3579
|
Util.validateModel(tmpReq);
|
|
@@ -2801,10 +3614,10 @@ export default class Client extends OpenApi {
|
|
|
2801
3614
|
}
|
|
2802
3615
|
|
|
2803
3616
|
/**
|
|
2804
|
-
*
|
|
2805
|
-
*
|
|
2806
|
-
* @param request ListExecutorsRequest
|
|
2807
|
-
* @
|
|
3617
|
+
* 查询全局Executor信息
|
|
3618
|
+
*
|
|
3619
|
+
* @param request - ListExecutorsRequest
|
|
3620
|
+
* @returns ListExecutorsResponse
|
|
2808
3621
|
*/
|
|
2809
3622
|
async listExecutors(request: ListExecutorsRequest): Promise<ListExecutorsResponse> {
|
|
2810
3623
|
let runtime = new $Util.RuntimeOptions({ });
|
|
@@ -2812,11 +3625,11 @@ export default class Client extends OpenApi {
|
|
|
2812
3625
|
}
|
|
2813
3626
|
|
|
2814
3627
|
/**
|
|
2815
|
-
*
|
|
2816
|
-
*
|
|
2817
|
-
* @param tmpReq ListImagesRequest
|
|
2818
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
2819
|
-
* @
|
|
3628
|
+
* 查看托管侧镜像列表
|
|
3629
|
+
*
|
|
3630
|
+
* @param tmpReq - ListImagesRequest
|
|
3631
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3632
|
+
* @returns ListImagesResponse
|
|
2820
3633
|
*/
|
|
2821
3634
|
async listImagesWithOptions(tmpReq: ListImagesRequest, runtime: $Util.RuntimeOptions): Promise<ListImagesResponse> {
|
|
2822
3635
|
Util.validateModel(tmpReq);
|
|
@@ -2873,10 +3686,10 @@ export default class Client extends OpenApi {
|
|
|
2873
3686
|
}
|
|
2874
3687
|
|
|
2875
3688
|
/**
|
|
2876
|
-
*
|
|
2877
|
-
*
|
|
2878
|
-
* @param request ListImagesRequest
|
|
2879
|
-
* @
|
|
3689
|
+
* 查看托管侧镜像列表
|
|
3690
|
+
*
|
|
3691
|
+
* @param request - ListImagesRequest
|
|
3692
|
+
* @returns ListImagesResponse
|
|
2880
3693
|
*/
|
|
2881
3694
|
async listImages(request: ListImagesRequest): Promise<ListImagesResponse> {
|
|
2882
3695
|
let runtime = new $Util.RuntimeOptions({ });
|
|
@@ -2884,11 +3697,11 @@ export default class Client extends OpenApi {
|
|
|
2884
3697
|
}
|
|
2885
3698
|
|
|
2886
3699
|
/**
|
|
2887
|
-
*
|
|
2888
|
-
*
|
|
2889
|
-
* @param request ListJobExecutorsRequest
|
|
2890
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
2891
|
-
* @
|
|
3700
|
+
* 查询作业Executor信息
|
|
3701
|
+
*
|
|
3702
|
+
* @param request - ListJobExecutorsRequest
|
|
3703
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3704
|
+
* @returns ListJobExecutorsResponse
|
|
2892
3705
|
*/
|
|
2893
3706
|
async listJobExecutorsWithOptions(request: ListJobExecutorsRequest, runtime: $Util.RuntimeOptions): Promise<ListJobExecutorsResponse> {
|
|
2894
3707
|
Util.validateModel(request);
|
|
@@ -2927,10 +3740,10 @@ export default class Client extends OpenApi {
|
|
|
2927
3740
|
}
|
|
2928
3741
|
|
|
2929
3742
|
/**
|
|
2930
|
-
*
|
|
2931
|
-
*
|
|
2932
|
-
* @param request ListJobExecutorsRequest
|
|
2933
|
-
* @
|
|
3743
|
+
* 查询作业Executor信息
|
|
3744
|
+
*
|
|
3745
|
+
* @param request - ListJobExecutorsRequest
|
|
3746
|
+
* @returns ListJobExecutorsResponse
|
|
2934
3747
|
*/
|
|
2935
3748
|
async listJobExecutors(request: ListJobExecutorsRequest): Promise<ListJobExecutorsResponse> {
|
|
2936
3749
|
let runtime = new $Util.RuntimeOptions({ });
|
|
@@ -2938,11 +3751,11 @@ export default class Client extends OpenApi {
|
|
|
2938
3751
|
}
|
|
2939
3752
|
|
|
2940
3753
|
/**
|
|
2941
|
-
*
|
|
2942
|
-
*
|
|
2943
|
-
* @param tmpReq ListJobsRequest
|
|
2944
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
2945
|
-
* @
|
|
3754
|
+
* 查询作业列表
|
|
3755
|
+
*
|
|
3756
|
+
* @param tmpReq - ListJobsRequest
|
|
3757
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3758
|
+
* @returns ListJobsResponse
|
|
2946
3759
|
*/
|
|
2947
3760
|
async listJobsWithOptions(tmpReq: ListJobsRequest, runtime: $Util.RuntimeOptions): Promise<ListJobsResponse> {
|
|
2948
3761
|
Util.validateModel(tmpReq);
|
|
@@ -2991,10 +3804,10 @@ export default class Client extends OpenApi {
|
|
|
2991
3804
|
}
|
|
2992
3805
|
|
|
2993
3806
|
/**
|
|
2994
|
-
*
|
|
2995
|
-
*
|
|
2996
|
-
* @param request ListJobsRequest
|
|
2997
|
-
* @
|
|
3807
|
+
* 查询作业列表
|
|
3808
|
+
*
|
|
3809
|
+
* @param request - ListJobsRequest
|
|
3810
|
+
* @returns ListJobsResponse
|
|
2998
3811
|
*/
|
|
2999
3812
|
async listJobs(request: ListJobsRequest): Promise<ListJobsResponse> {
|
|
3000
3813
|
let runtime = new $Util.RuntimeOptions({ });
|
|
@@ -3002,11 +3815,11 @@ export default class Client extends OpenApi {
|
|
|
3002
3815
|
}
|
|
3003
3816
|
|
|
3004
3817
|
/**
|
|
3005
|
-
*
|
|
3006
|
-
*
|
|
3007
|
-
* @param request RemoveImageRequest
|
|
3008
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
3009
|
-
* @
|
|
3818
|
+
* 移除托管侧镜像信息。
|
|
3819
|
+
*
|
|
3820
|
+
* @param request - RemoveImageRequest
|
|
3821
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3822
|
+
* @returns RemoveImageResponse
|
|
3010
3823
|
*/
|
|
3011
3824
|
async removeImageWithOptions(request: RemoveImageRequest, runtime: $Util.RuntimeOptions): Promise<RemoveImageResponse> {
|
|
3012
3825
|
Util.validateModel(request);
|
|
@@ -3033,10 +3846,10 @@ export default class Client extends OpenApi {
|
|
|
3033
3846
|
}
|
|
3034
3847
|
|
|
3035
3848
|
/**
|
|
3036
|
-
*
|
|
3037
|
-
*
|
|
3038
|
-
* @param request RemoveImageRequest
|
|
3039
|
-
* @
|
|
3849
|
+
* 移除托管侧镜像信息。
|
|
3850
|
+
*
|
|
3851
|
+
* @param request - RemoveImageRequest
|
|
3852
|
+
* @returns RemoveImageResponse
|
|
3040
3853
|
*/
|
|
3041
3854
|
async removeImage(request: RemoveImageRequest): Promise<RemoveImageResponse> {
|
|
3042
3855
|
let runtime = new $Util.RuntimeOptions({ });
|