@alicloud/ehpcinstant20230701 3.2.0 → 3.3.0
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 +91 -56
- package/dist/client.js +120 -56
- package/dist/client.js.map +1 -1
- package/dist/models/AddImageRequest.d.ts +64 -0
- package/dist/models/AddImageRequest.js.map +1 -1
- package/dist/models/AddImageResponseBody.d.ts +12 -0
- package/dist/models/AddImageResponseBody.js.map +1 -1
- package/dist/models/AddImageShrinkRequest.d.ts +30 -0
- package/dist/models/AddImageShrinkRequest.js.map +1 -1
- package/dist/models/CreateActionPlanRequest.d.ts +64 -0
- package/dist/models/CreateActionPlanRequest.js.map +1 -1
- package/dist/models/CreateActionPlanResponseBody.d.ts +6 -0
- package/dist/models/CreateActionPlanResponseBody.js.map +1 -1
- package/dist/models/CreateActionPlanShrinkRequest.d.ts +47 -0
- package/dist/models/CreateActionPlanShrinkRequest.js.map +1 -1
- package/dist/models/CreateJobRequest.d.ts +339 -0
- package/dist/models/CreateJobRequest.js +4 -0
- package/dist/models/CreateJobRequest.js.map +1 -1
- package/dist/models/CreateJobResponseBody.d.ts +21 -0
- package/dist/models/CreateJobResponseBody.js.map +1 -1
- package/dist/models/CreateJobShrinkRequest.d.ts +31 -0
- package/dist/models/CreateJobShrinkRequest.js.map +1 -1
- package/dist/models/CreatePoolRequest.d.ts +18 -0
- package/dist/models/CreatePoolRequest.js.map +1 -1
- package/dist/models/CreatePoolShrinkRequest.d.ts +15 -0
- package/dist/models/CreatePoolShrinkRequest.js.map +1 -1
- package/dist/models/DeleteActionPlanRequest.d.ts +3 -0
- package/dist/models/DeleteActionPlanRequest.js.map +1 -1
- package/dist/models/DeleteActionPlanResponseBody.d.ts +3 -0
- package/dist/models/DeleteActionPlanResponseBody.js.map +1 -1
- package/dist/models/DeleteJobRecordsRequest.d.ts +18 -0
- package/dist/models/DeleteJobRecordsRequest.js +61 -0
- package/dist/models/DeleteJobRecordsRequest.js.map +1 -0
- package/dist/models/DeleteJobRecordsResponse.d.ts +19 -0
- package/dist/models/DeleteJobRecordsResponse.js +69 -0
- package/dist/models/DeleteJobRecordsResponse.js.map +1 -0
- package/dist/models/DeleteJobRecordsResponseBody.d.ts +21 -0
- package/dist/models/DeleteJobRecordsResponseBody.js +58 -0
- package/dist/models/DeleteJobRecordsResponseBody.js.map +1 -0
- package/dist/models/DeleteJobRecordsShrinkRequest.d.ts +18 -0
- package/dist/models/DeleteJobRecordsShrinkRequest.js +58 -0
- package/dist/models/DeleteJobRecordsShrinkRequest.js.map +1 -0
- package/dist/models/DeleteJobsRequest.d.ts +35 -0
- package/dist/models/DeleteJobsRequest.js.map +1 -1
- package/dist/models/DeleteJobsResponseBody.d.ts +3 -0
- package/dist/models/DeleteJobsResponseBody.js.map +1 -1
- package/dist/models/DeleteJobsShrinkRequest.d.ts +20 -0
- package/dist/models/DeleteJobsShrinkRequest.js.map +1 -1
- package/dist/models/DeletePoolRequest.d.ts +5 -0
- package/dist/models/DeletePoolRequest.js.map +1 -1
- package/dist/models/DescribeJobMetricDataRequest.d.ts +13 -0
- package/dist/models/DescribeJobMetricDataRequest.js.map +1 -1
- package/dist/models/DescribeJobMetricDataResponseBody.d.ts +9 -0
- package/dist/models/DescribeJobMetricDataResponseBody.js.map +1 -1
- package/dist/models/DescribeJobMetricDataShrinkRequest.d.ts +13 -0
- package/dist/models/DescribeJobMetricDataShrinkRequest.js.map +1 -1
- package/dist/models/DescribeJobMetricLastRequest.d.ts +10 -0
- package/dist/models/DescribeJobMetricLastRequest.js.map +1 -1
- package/dist/models/DescribeJobMetricLastResponseBody.d.ts +13 -0
- package/dist/models/DescribeJobMetricLastResponseBody.js.map +1 -1
- package/dist/models/DescribeJobMetricLastShrinkRequest.d.ts +10 -0
- package/dist/models/DescribeJobMetricLastShrinkRequest.js.map +1 -1
- package/dist/models/GetActionPlanRequest.d.ts +3 -0
- package/dist/models/GetActionPlanRequest.js.map +1 -1
- package/dist/models/GetActionPlanResponseBody.d.ts +71 -0
- package/dist/models/GetActionPlanResponseBody.js.map +1 -1
- package/dist/models/GetAppVersionsRequest.d.ts +22 -0
- package/dist/models/GetAppVersionsRequest.js.map +1 -1
- package/dist/models/GetAppVersionsResponseBody.d.ts +31 -0
- package/dist/models/GetAppVersionsResponseBody.js.map +1 -1
- package/dist/models/GetImageRequest.d.ts +25 -0
- package/dist/models/GetImageRequest.js.map +1 -1
- package/dist/models/GetImageResponseBody.d.ts +85 -0
- package/dist/models/GetImageResponseBody.js.map +1 -1
- package/dist/models/GetImageShrinkRequest.d.ts +25 -0
- package/dist/models/GetImageShrinkRequest.js.map +1 -1
- package/dist/models/GetJobRequest.d.ts +3 -0
- package/dist/models/GetJobRequest.js.map +1 -1
- package/dist/models/GetJobResponseBody.d.ts +221 -0
- package/dist/models/GetJobResponseBody.js +4 -0
- package/dist/models/GetJobResponseBody.js.map +1 -1
- package/dist/models/GetPoolRequest.d.ts +5 -0
- package/dist/models/GetPoolRequest.js.map +1 -1
- package/dist/models/GetPoolResponseBody.d.ts +46 -0
- package/dist/models/GetPoolResponseBody.js.map +1 -1
- package/dist/models/ListActionPlanActivitiesRequest.d.ts +13 -0
- package/dist/models/ListActionPlanActivitiesRequest.js.map +1 -1
- package/dist/models/ListActionPlanActivitiesResponseBody.d.ts +53 -0
- package/dist/models/ListActionPlanActivitiesResponseBody.js.map +1 -1
- package/dist/models/ListActionPlansRequest.d.ts +14 -0
- package/dist/models/ListActionPlansRequest.js.map +1 -1
- package/dist/models/ListActionPlansResponseBody.d.ts +34 -0
- package/dist/models/ListActionPlansResponseBody.js.map +1 -1
- package/dist/models/ListActionPlansShrinkRequest.d.ts +14 -0
- package/dist/models/ListActionPlansShrinkRequest.js.map +1 -1
- package/dist/models/ListExecutorsRequest.d.ts +48 -0
- package/dist/models/ListExecutorsRequest.js +2 -0
- package/dist/models/ListExecutorsRequest.js.map +1 -1
- package/dist/models/ListExecutorsResponseBody.d.ts +160 -0
- package/dist/models/ListExecutorsResponseBody.js +4 -0
- package/dist/models/ListExecutorsResponseBody.js.map +1 -1
- package/dist/models/ListExecutorsShrinkRequest.d.ts +12 -0
- package/dist/models/ListExecutorsShrinkRequest.js.map +1 -1
- package/dist/models/ListImagesRequest.d.ts +48 -0
- package/dist/models/ListImagesRequest.js.map +1 -1
- package/dist/models/ListImagesResponseBody.d.ts +72 -0
- package/dist/models/ListImagesResponseBody.js.map +1 -1
- package/dist/models/ListImagesShrinkRequest.d.ts +48 -0
- package/dist/models/ListImagesShrinkRequest.js.map +1 -1
- package/dist/models/ListJobExecutorsRequest.d.ts +12 -0
- package/dist/models/ListJobExecutorsRequest.js.map +1 -1
- package/dist/models/ListJobExecutorsResponseBody.d.ts +146 -0
- package/dist/models/ListJobExecutorsResponseBody.js +2 -0
- package/dist/models/ListJobExecutorsResponseBody.js.map +1 -1
- package/dist/models/ListJobsRequest.d.ts +57 -0
- package/dist/models/ListJobsRequest.js.map +1 -1
- package/dist/models/ListJobsResponseBody.d.ts +85 -0
- package/dist/models/ListJobsResponseBody.js.map +1 -1
- package/dist/models/ListJobsShrinkRequest.d.ts +18 -0
- package/dist/models/ListJobsShrinkRequest.js.map +1 -1
- package/dist/models/ListPoolsRequest.d.ts +24 -0
- package/dist/models/ListPoolsRequest.js.map +1 -1
- package/dist/models/ListPoolsResponseBody.d.ts +43 -0
- package/dist/models/ListPoolsResponseBody.js.map +1 -1
- package/dist/models/ListPoolsShrinkRequest.d.ts +10 -0
- package/dist/models/ListPoolsShrinkRequest.js.map +1 -1
- package/dist/models/ListTagResourcesRequest.d.ts +25 -0
- package/dist/models/ListTagResourcesRequest.js.map +1 -1
- package/dist/models/ListTagResourcesResponseBody.d.ts +22 -0
- package/dist/models/ListTagResourcesResponseBody.js.map +1 -1
- package/dist/models/RemoveImageRequest.d.ts +12 -0
- package/dist/models/RemoveImageRequest.js.map +1 -1
- package/dist/models/RemoveImageResponseBody.d.ts +9 -0
- package/dist/models/RemoveImageResponseBody.js.map +1 -1
- package/dist/models/SynchronizeAppRequest.d.ts +6 -0
- package/dist/models/SynchronizeAppRequest.js.map +1 -1
- package/dist/models/SynchronizeAppResponseBody.d.ts +3 -0
- package/dist/models/SynchronizeAppResponseBody.js.map +1 -1
- package/dist/models/SynchronizeAppShrinkRequest.d.ts +6 -0
- package/dist/models/SynchronizeAppShrinkRequest.js.map +1 -1
- package/dist/models/TagResourcesRequest.d.ts +14 -0
- package/dist/models/TagResourcesRequest.js.map +1 -1
- package/dist/models/TagResourcesResponseBody.d.ts +3 -0
- package/dist/models/TagResourcesResponseBody.js.map +1 -1
- package/dist/models/UnTagResourcesRequest.d.ts +14 -0
- package/dist/models/UnTagResourcesRequest.js.map +1 -1
- package/dist/models/UnTagResourcesResponseBody.d.ts +3 -0
- package/dist/models/UnTagResourcesResponseBody.js.map +1 -1
- package/dist/models/UpdateActionPlanRequest.d.ts +17 -0
- package/dist/models/UpdateActionPlanRequest.js.map +1 -1
- package/dist/models/UpdateActionPlanResponseBody.d.ts +3 -0
- package/dist/models/UpdateActionPlanResponseBody.js.map +1 -1
- package/dist/models/UpdatePoolRequest.d.ts +18 -0
- package/dist/models/UpdatePoolRequest.js.map +1 -1
- package/dist/models/UpdatePoolShrinkRequest.d.ts +15 -0
- package/dist/models/UpdatePoolShrinkRequest.js.map +1 -1
- package/dist/models/model.d.ts +4 -0
- package/dist/models/model.js +11 -3
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +124 -56
- package/src/models/AddImageRequest.ts +64 -0
- package/src/models/AddImageResponseBody.ts +12 -0
- package/src/models/AddImageShrinkRequest.ts +30 -0
- package/src/models/CreateActionPlanRequest.ts +64 -0
- package/src/models/CreateActionPlanResponseBody.ts +6 -0
- package/src/models/CreateActionPlanShrinkRequest.ts +47 -0
- package/src/models/CreateJobRequest.ts +343 -0
- package/src/models/CreateJobResponseBody.ts +21 -0
- package/src/models/CreateJobShrinkRequest.ts +31 -0
- package/src/models/CreatePoolRequest.ts +18 -0
- package/src/models/CreatePoolShrinkRequest.ts +15 -0
- package/src/models/DeleteActionPlanRequest.ts +3 -0
- package/src/models/DeleteActionPlanResponseBody.ts +3 -0
- package/src/models/DeleteJobRecordsRequest.ts +34 -0
- package/src/models/DeleteJobRecordsResponse.ts +40 -0
- package/src/models/DeleteJobRecordsResponseBody.ts +34 -0
- package/src/models/DeleteJobRecordsShrinkRequest.ts +31 -0
- package/src/models/DeleteJobsRequest.ts +35 -0
- package/src/models/DeleteJobsResponseBody.ts +3 -0
- package/src/models/DeleteJobsShrinkRequest.ts +20 -0
- package/src/models/DeletePoolRequest.ts +5 -0
- package/src/models/DescribeJobMetricDataRequest.ts +13 -0
- package/src/models/DescribeJobMetricDataResponseBody.ts +9 -0
- package/src/models/DescribeJobMetricDataShrinkRequest.ts +13 -0
- package/src/models/DescribeJobMetricLastRequest.ts +10 -0
- package/src/models/DescribeJobMetricLastResponseBody.ts +13 -0
- package/src/models/DescribeJobMetricLastShrinkRequest.ts +10 -0
- package/src/models/GetActionPlanRequest.ts +3 -0
- package/src/models/GetActionPlanResponseBody.ts +71 -0
- package/src/models/GetAppVersionsRequest.ts +22 -0
- package/src/models/GetAppVersionsResponseBody.ts +31 -0
- package/src/models/GetImageRequest.ts +25 -0
- package/src/models/GetImageResponseBody.ts +85 -0
- package/src/models/GetImageShrinkRequest.ts +25 -0
- package/src/models/GetJobRequest.ts +3 -0
- package/src/models/GetJobResponseBody.ts +225 -0
- package/src/models/GetPoolRequest.ts +5 -0
- package/src/models/GetPoolResponseBody.ts +46 -0
- package/src/models/ListActionPlanActivitiesRequest.ts +13 -0
- package/src/models/ListActionPlanActivitiesResponseBody.ts +53 -0
- package/src/models/ListActionPlansRequest.ts +14 -0
- package/src/models/ListActionPlansResponseBody.ts +34 -0
- package/src/models/ListActionPlansShrinkRequest.ts +14 -0
- package/src/models/ListExecutorsRequest.ts +50 -0
- package/src/models/ListExecutorsResponseBody.ts +164 -0
- package/src/models/ListExecutorsShrinkRequest.ts +12 -0
- package/src/models/ListImagesRequest.ts +48 -0
- package/src/models/ListImagesResponseBody.ts +72 -0
- package/src/models/ListImagesShrinkRequest.ts +48 -0
- package/src/models/ListJobExecutorsRequest.ts +12 -0
- package/src/models/ListJobExecutorsResponseBody.ts +148 -0
- package/src/models/ListJobsRequest.ts +57 -0
- package/src/models/ListJobsResponseBody.ts +85 -0
- package/src/models/ListJobsShrinkRequest.ts +18 -0
- package/src/models/ListPoolsRequest.ts +24 -0
- package/src/models/ListPoolsResponseBody.ts +43 -0
- package/src/models/ListPoolsShrinkRequest.ts +10 -0
- package/src/models/ListTagResourcesRequest.ts +25 -0
- package/src/models/ListTagResourcesResponseBody.ts +22 -0
- package/src/models/RemoveImageRequest.ts +12 -0
- package/src/models/RemoveImageResponseBody.ts +9 -0
- package/src/models/SynchronizeAppRequest.ts +6 -0
- package/src/models/SynchronizeAppResponseBody.ts +3 -0
- package/src/models/SynchronizeAppShrinkRequest.ts +6 -0
- package/src/models/TagResourcesRequest.ts +14 -0
- package/src/models/TagResourcesResponseBody.ts +3 -0
- package/src/models/UnTagResourcesRequest.ts +14 -0
- package/src/models/UnTagResourcesResponseBody.ts +3 -0
- package/src/models/UpdateActionPlanRequest.ts +17 -0
- package/src/models/UpdateActionPlanResponseBody.ts +3 -0
- package/src/models/UpdatePoolRequest.ts +18 -0
- package/src/models/UpdatePoolShrinkRequest.ts +15 -0
- package/src/models/model.ts +4 -0
|
@@ -5,9 +5,28 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class CreateJobRequestDependencyPolicyJobDependency extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
+
* The ID of the job.
|
|
9
|
+
*
|
|
8
10
|
* This parameter is required.
|
|
11
|
+
*
|
|
12
|
+
* @example
|
|
13
|
+
* job-bjxxxxxxxxxxxx
|
|
9
14
|
*/
|
|
10
15
|
jobId?: string;
|
|
16
|
+
/**
|
|
17
|
+
* @remarks
|
|
18
|
+
* The type of the dependency. Valid values:
|
|
19
|
+
*
|
|
20
|
+
* * AfterSucceeded: **All subtasks** of the dependent job or array job succeed. The exit code is 0.
|
|
21
|
+
* * AfterFailed: **All subtasks** of the dependent job or array job fail. The exit code is not 0.
|
|
22
|
+
* * AfterAny: The dependent job completes (succeeds or fails).
|
|
23
|
+
* * AfterCorresponding: The subtask corresponding to the dependent array job succeeds. The exit code is 0.
|
|
24
|
+
*
|
|
25
|
+
* Default value: AfterSucceeded.
|
|
26
|
+
*
|
|
27
|
+
* @example
|
|
28
|
+
* AfterSucceeded
|
|
29
|
+
*/
|
|
11
30
|
type?: string;
|
|
12
31
|
static names(): { [key: string]: string } {
|
|
13
32
|
return {
|
|
@@ -33,6 +52,10 @@ export class CreateJobRequestDependencyPolicyJobDependency extends $dara.Model {
|
|
|
33
52
|
}
|
|
34
53
|
|
|
35
54
|
export class CreateJobRequestDependencyPolicy extends $dara.Model {
|
|
55
|
+
/**
|
|
56
|
+
* @remarks
|
|
57
|
+
* The job dependency. A maximum of 10 groups.
|
|
58
|
+
*/
|
|
36
59
|
jobDependency?: CreateJobRequestDependencyPolicyJobDependency[];
|
|
37
60
|
static names(): { [key: string]: string } {
|
|
38
61
|
return {
|
|
@@ -59,7 +82,23 @@ export class CreateJobRequestDependencyPolicy extends $dara.Model {
|
|
|
59
82
|
}
|
|
60
83
|
|
|
61
84
|
export class CreateJobRequestDeploymentPolicyNetwork extends $dara.Model {
|
|
85
|
+
/**
|
|
86
|
+
* @remarks
|
|
87
|
+
* Whether the job creates a public IP address.
|
|
88
|
+
*
|
|
89
|
+
* * true: creates a public IP address.
|
|
90
|
+
* * false: does not create a public IP address.
|
|
91
|
+
*
|
|
92
|
+
* Default value: false.
|
|
93
|
+
*
|
|
94
|
+
* @example
|
|
95
|
+
* true
|
|
96
|
+
*/
|
|
62
97
|
enableExternalIpAddress?: boolean;
|
|
98
|
+
/**
|
|
99
|
+
* @remarks
|
|
100
|
+
* The VSwitch array.
|
|
101
|
+
*/
|
|
63
102
|
vswitch?: string[];
|
|
64
103
|
static names(): { [key: string]: string } {
|
|
65
104
|
return {
|
|
@@ -90,9 +129,21 @@ export class CreateJobRequestDeploymentPolicyNetwork extends $dara.Model {
|
|
|
90
129
|
export class CreateJobRequestDeploymentPolicyTag extends $dara.Model {
|
|
91
130
|
/**
|
|
92
131
|
* @remarks
|
|
132
|
+
* The key of the job tag. The tag key cannot be an empty string. The tag key can be up to 128 characters in length and cannot contain http:// or https://. The tag key cannot start with acs: or aliyun.
|
|
133
|
+
*
|
|
93
134
|
* This parameter is required.
|
|
135
|
+
*
|
|
136
|
+
* @example
|
|
137
|
+
* TestKey
|
|
94
138
|
*/
|
|
95
139
|
key?: string;
|
|
140
|
+
/**
|
|
141
|
+
* @remarks
|
|
142
|
+
* The value of the job tag. You can specify empty strings as tag values. The tag value can be up to 128 characters in length and cannot contain http:// or https://.
|
|
143
|
+
*
|
|
144
|
+
* @example
|
|
145
|
+
* TestValue
|
|
146
|
+
*/
|
|
96
147
|
value?: string;
|
|
97
148
|
static names(): { [key: string]: string } {
|
|
98
149
|
return {
|
|
@@ -119,14 +170,55 @@ export class CreateJobRequestDeploymentPolicyTag extends $dara.Model {
|
|
|
119
170
|
|
|
120
171
|
export class CreateJobRequestDeploymentPolicy extends $dara.Model {
|
|
121
172
|
/**
|
|
173
|
+
* @remarks
|
|
174
|
+
* The resource type,
|
|
175
|
+
*
|
|
176
|
+
* * Standard
|
|
177
|
+
* * Dedicated: You must enable a whitelist for use.
|
|
178
|
+
* * Economic: You must enable a whitelist for use.
|
|
179
|
+
*
|
|
122
180
|
* @example
|
|
123
181
|
* Dedicated
|
|
124
182
|
*/
|
|
125
183
|
allocationSpec?: string;
|
|
184
|
+
/**
|
|
185
|
+
* @remarks
|
|
186
|
+
* The computing power level. This value is valid only when the resource type is Economic. The following disk categories are supported:
|
|
187
|
+
*
|
|
188
|
+
* * General
|
|
189
|
+
* * Performance
|
|
190
|
+
*
|
|
191
|
+
* Default value: General.
|
|
192
|
+
*
|
|
193
|
+
* @example
|
|
194
|
+
* General
|
|
195
|
+
*/
|
|
126
196
|
level?: string;
|
|
197
|
+
/**
|
|
198
|
+
* @remarks
|
|
199
|
+
* The network configuration information.
|
|
200
|
+
*/
|
|
127
201
|
network?: CreateJobRequestDeploymentPolicyNetwork;
|
|
202
|
+
/**
|
|
203
|
+
* @remarks
|
|
204
|
+
* The resource pool of the job.
|
|
205
|
+
*
|
|
206
|
+
* @example
|
|
207
|
+
* compute
|
|
208
|
+
*/
|
|
128
209
|
pool?: string;
|
|
210
|
+
/**
|
|
211
|
+
* @remarks
|
|
212
|
+
* The priorities of the jobs. A larger value indicates a higher job scheduling priority. Valid values: 1 to 100.
|
|
213
|
+
*
|
|
214
|
+
* @example
|
|
215
|
+
* 1
|
|
216
|
+
*/
|
|
129
217
|
priority?: number;
|
|
218
|
+
/**
|
|
219
|
+
* @remarks
|
|
220
|
+
* The tag information of the job. A maximum of 20 groups.
|
|
221
|
+
*/
|
|
130
222
|
tag?: CreateJobRequestDeploymentPolicyTag[];
|
|
131
223
|
static names(): { [key: string]: string } {
|
|
132
224
|
return {
|
|
@@ -166,6 +258,10 @@ export class CreateJobRequestDeploymentPolicy extends $dara.Model {
|
|
|
166
258
|
}
|
|
167
259
|
|
|
168
260
|
export class CreateJobRequestSecurityPolicySecurityGroup extends $dara.Model {
|
|
261
|
+
/**
|
|
262
|
+
* @remarks
|
|
263
|
+
* The array of security group IDs.
|
|
264
|
+
*/
|
|
169
265
|
securityGroupIds?: string[];
|
|
170
266
|
static names(): { [key: string]: string } {
|
|
171
267
|
return {
|
|
@@ -192,6 +288,10 @@ export class CreateJobRequestSecurityPolicySecurityGroup extends $dara.Model {
|
|
|
192
288
|
}
|
|
193
289
|
|
|
194
290
|
export class CreateJobRequestSecurityPolicy extends $dara.Model {
|
|
291
|
+
/**
|
|
292
|
+
* @remarks
|
|
293
|
+
* The security group ID.
|
|
294
|
+
*/
|
|
195
295
|
securityGroup?: CreateJobRequestSecurityPolicySecurityGroup;
|
|
196
296
|
static names(): { [key: string]: string } {
|
|
197
297
|
return {
|
|
@@ -219,16 +319,27 @@ export class CreateJobRequestSecurityPolicy extends $dara.Model {
|
|
|
219
319
|
|
|
220
320
|
export class CreateJobRequestTasksExecutorPolicyArraySpec extends $dara.Model {
|
|
221
321
|
/**
|
|
322
|
+
* @remarks
|
|
323
|
+
* The end value of the array job index. Valid values: 0 to 4999. The value must be greater than or equal to the value of IndexStart.
|
|
324
|
+
*
|
|
222
325
|
* @example
|
|
223
326
|
* 9
|
|
224
327
|
*/
|
|
225
328
|
indexEnd?: number;
|
|
226
329
|
/**
|
|
330
|
+
* @remarks
|
|
331
|
+
* The starting value of the array job index. Valid values: 0 to 4999.
|
|
332
|
+
*
|
|
227
333
|
* @example
|
|
228
334
|
* 0
|
|
229
335
|
*/
|
|
230
336
|
indexStart?: number;
|
|
231
337
|
/**
|
|
338
|
+
* @remarks
|
|
339
|
+
* The interval of the array job index.
|
|
340
|
+
*
|
|
341
|
+
* > If the array job property is IndexStart=1,IndexEnd=5, and IndexStep=2, the array job contains three sub-jobs. The index values of the sub-jobs are 1,3, and 5. You can access the sub-jobs by using environment variables.
|
|
342
|
+
*
|
|
232
343
|
* @example
|
|
233
344
|
* 1
|
|
234
345
|
*/
|
|
@@ -259,8 +370,27 @@ export class CreateJobRequestTasksExecutorPolicyArraySpec extends $dara.Model {
|
|
|
259
370
|
}
|
|
260
371
|
|
|
261
372
|
export class CreateJobRequestTasksExecutorPolicy extends $dara.Model {
|
|
373
|
+
/**
|
|
374
|
+
* @remarks
|
|
375
|
+
* The details of the array job. The index value of the sub-job is passed to the running environment through environment variables to support user business program reference. Environment variables include:
|
|
376
|
+
*
|
|
377
|
+
* * EHPC_JOB_NAME: the name of the job. This parameter corresponds to the JobName parameter.
|
|
378
|
+
* * EHPC_JOB_ID: The ID of the job.
|
|
379
|
+
* * EHPC_TASK_NAME: the name of the task. This parameter corresponds to the TaskName parameter.
|
|
380
|
+
* * EHPC_EXECUTOR_ID: The ID of the execution unit.
|
|
381
|
+
* * EHPC_ARRAY_TASK_ID: the sub-job index value.
|
|
382
|
+
* * EHPC_ARRAY_TASK_COUNT: the total number of sub-jobs.
|
|
383
|
+
* * EHPC_ARRAY_TASK_MAX: the maximum sub-job index, which corresponds to the IndexStart parameter.
|
|
384
|
+
* * EHPC_ARRAY_TASK_MIN: the minimum value of the sub-job index, which corresponds to the IndexEnd parameter.
|
|
385
|
+
* * EHPC_ARRAY_TASK_STEP: the index step size of the sub-job, which corresponds to the IndexStep parameter.
|
|
386
|
+
*/
|
|
262
387
|
arraySpec?: CreateJobRequestTasksExecutorPolicyArraySpec;
|
|
263
388
|
/**
|
|
389
|
+
* @remarks
|
|
390
|
+
* The maximum number of nodes to run the job.
|
|
391
|
+
*
|
|
392
|
+
* > Follow the calculation formula: `MaxCount = (IndexEnd - IndexStart) / IndexStep +1`
|
|
393
|
+
*
|
|
264
394
|
* @example
|
|
265
395
|
* 1
|
|
266
396
|
*/
|
|
@@ -293,11 +423,17 @@ export class CreateJobRequestTasksExecutorPolicy extends $dara.Model {
|
|
|
293
423
|
|
|
294
424
|
export class CreateJobRequestTasksTaskSpecResourceDisks extends $dara.Model {
|
|
295
425
|
/**
|
|
426
|
+
* @remarks
|
|
427
|
+
* The size of the disk. Unit: GiB.
|
|
428
|
+
*
|
|
296
429
|
* @example
|
|
297
430
|
* 40
|
|
298
431
|
*/
|
|
299
432
|
size?: number;
|
|
300
433
|
/**
|
|
434
|
+
* @remarks
|
|
435
|
+
* The type of the disk. Currently, only System is supported, which indicates the system disk.
|
|
436
|
+
*
|
|
301
437
|
* @example
|
|
302
438
|
* System
|
|
303
439
|
*/
|
|
@@ -327,13 +463,29 @@ export class CreateJobRequestTasksTaskSpecResourceDisks extends $dara.Model {
|
|
|
327
463
|
|
|
328
464
|
export class CreateJobRequestTasksTaskSpecResource extends $dara.Model {
|
|
329
465
|
/**
|
|
466
|
+
* @remarks
|
|
467
|
+
* The number of CPUs in the running environment.
|
|
468
|
+
*
|
|
330
469
|
* @example
|
|
331
470
|
* 2
|
|
332
471
|
*/
|
|
333
472
|
cores?: number;
|
|
473
|
+
/**
|
|
474
|
+
* @remarks
|
|
475
|
+
* The array of the disks.
|
|
476
|
+
*/
|
|
334
477
|
disks?: CreateJobRequestTasksTaskSpecResourceDisks[];
|
|
478
|
+
enableHT?: boolean;
|
|
479
|
+
hostNamePrefix?: string;
|
|
480
|
+
/**
|
|
481
|
+
* @remarks
|
|
482
|
+
* The instance type of the running environment. A maximum of 5 groups.
|
|
483
|
+
*/
|
|
335
484
|
instanceTypes?: string[];
|
|
336
485
|
/**
|
|
486
|
+
* @remarks
|
|
487
|
+
* The memory size of the running environment. Unit: GiB.
|
|
488
|
+
*
|
|
337
489
|
* @example
|
|
338
490
|
* 4
|
|
339
491
|
*/
|
|
@@ -342,6 +494,8 @@ export class CreateJobRequestTasksTaskSpecResource extends $dara.Model {
|
|
|
342
494
|
return {
|
|
343
495
|
cores: 'Cores',
|
|
344
496
|
disks: 'Disks',
|
|
497
|
+
enableHT: 'EnableHT',
|
|
498
|
+
hostNamePrefix: 'HostNamePrefix',
|
|
345
499
|
instanceTypes: 'InstanceTypes',
|
|
346
500
|
memory: 'Memory',
|
|
347
501
|
};
|
|
@@ -351,6 +505,8 @@ export class CreateJobRequestTasksTaskSpecResource extends $dara.Model {
|
|
|
351
505
|
return {
|
|
352
506
|
cores: 'number',
|
|
353
507
|
disks: { 'type': 'array', 'itemType': CreateJobRequestTasksTaskSpecResourceDisks },
|
|
508
|
+
enableHT: 'boolean',
|
|
509
|
+
hostNamePrefix: 'string',
|
|
354
510
|
instanceTypes: { 'type': 'array', 'itemType': 'string' },
|
|
355
511
|
memory: 'number',
|
|
356
512
|
};
|
|
@@ -374,12 +530,25 @@ export class CreateJobRequestTasksTaskSpecResource extends $dara.Model {
|
|
|
374
530
|
export class CreateJobRequestTasksTaskSpecRetryPolicyExitCodeActions extends $dara.Model {
|
|
375
531
|
/**
|
|
376
532
|
* @remarks
|
|
533
|
+
* The next step behavior of the task.
|
|
534
|
+
*
|
|
535
|
+
* * Retry: The job starts a retry when a specific exit code is hit.
|
|
536
|
+
* * Exit: The job exits when a specific exit code is hit.
|
|
537
|
+
*
|
|
377
538
|
* This parameter is required.
|
|
539
|
+
*
|
|
540
|
+
* @example
|
|
541
|
+
* Retry
|
|
378
542
|
*/
|
|
379
543
|
action?: string;
|
|
380
544
|
/**
|
|
381
545
|
* @remarks
|
|
546
|
+
* The task exit code, which is used together with the action to form a job retry rule. Valid values: 0 to 255.
|
|
547
|
+
*
|
|
382
548
|
* This parameter is required.
|
|
549
|
+
*
|
|
550
|
+
* @example
|
|
551
|
+
* 1
|
|
383
552
|
*/
|
|
384
553
|
exitCode?: number;
|
|
385
554
|
static names(): { [key: string]: string } {
|
|
@@ -406,7 +575,18 @@ export class CreateJobRequestTasksTaskSpecRetryPolicyExitCodeActions extends $da
|
|
|
406
575
|
}
|
|
407
576
|
|
|
408
577
|
export class CreateJobRequestTasksTaskSpecRetryPolicy extends $dara.Model {
|
|
578
|
+
/**
|
|
579
|
+
* @remarks
|
|
580
|
+
* The retry rule. A maximum of 10 groups.
|
|
581
|
+
*/
|
|
409
582
|
exitCodeActions?: CreateJobRequestTasksTaskSpecRetryPolicyExitCodeActions[];
|
|
583
|
+
/**
|
|
584
|
+
* @remarks
|
|
585
|
+
* The maximum number of retries. Valid values: 1 to 10. Default value: 3.
|
|
586
|
+
*
|
|
587
|
+
* @example
|
|
588
|
+
* 5
|
|
589
|
+
*/
|
|
410
590
|
retryCount?: number;
|
|
411
591
|
static names(): { [key: string]: string } {
|
|
412
592
|
return {
|
|
@@ -436,11 +616,17 @@ export class CreateJobRequestTasksTaskSpecRetryPolicy extends $dara.Model {
|
|
|
436
616
|
|
|
437
617
|
export class CreateJobRequestTasksTaskSpecTaskExecutorContainerEnvironmentVars extends $dara.Model {
|
|
438
618
|
/**
|
|
619
|
+
* @remarks
|
|
620
|
+
* The name of the environment variable for the container. It can be 1 to 128 characters in length. Format requirement: [0-9a-zA-Z], and underscores, cannot start with a number.
|
|
621
|
+
*
|
|
439
622
|
* @example
|
|
440
623
|
* PATH
|
|
441
624
|
*/
|
|
442
625
|
name?: string;
|
|
443
626
|
/**
|
|
627
|
+
* @remarks
|
|
628
|
+
* The value of the environment variable for the container. The value must be 0 to 256 bits in length.
|
|
629
|
+
*
|
|
444
630
|
* @example
|
|
445
631
|
* /usr/local/bin
|
|
446
632
|
*/
|
|
@@ -469,12 +655,39 @@ export class CreateJobRequestTasksTaskSpecTaskExecutorContainerEnvironmentVars e
|
|
|
469
655
|
}
|
|
470
656
|
|
|
471
657
|
export class CreateJobRequestTasksTaskSpecTaskExecutorContainer extends $dara.Model {
|
|
658
|
+
/**
|
|
659
|
+
* @remarks
|
|
660
|
+
* The application ID.
|
|
661
|
+
*
|
|
662
|
+
* @example
|
|
663
|
+
* ci-vm-32k6LXAi3cOG
|
|
664
|
+
*/
|
|
472
665
|
appId?: string;
|
|
666
|
+
/**
|
|
667
|
+
* @remarks
|
|
668
|
+
* The startup argument of the init container. A maximum of 10 groups.
|
|
669
|
+
*/
|
|
473
670
|
arg?: string[];
|
|
671
|
+
/**
|
|
672
|
+
* @remarks
|
|
673
|
+
* The container startup commands. You can specify up to 20 commands. Each command can be up to 256 characters in length.
|
|
674
|
+
*
|
|
675
|
+
* >
|
|
676
|
+
*
|
|
677
|
+
* * If the start command contains spaces (for example, `sleep 60s` ), the input JSON format parameter is `["sleep", "60s"]`.
|
|
678
|
+
*
|
|
679
|
+
* * If the startup command is complex, the parameter format may be a combination of `Command: ["/bin/bash"]` and `Arg:["-c", "<customized command>"]`. The `<customized command>` is a user-defined combination of commands and can contain characters such as spaces.
|
|
680
|
+
*/
|
|
474
681
|
command?: string[];
|
|
682
|
+
/**
|
|
683
|
+
* @remarks
|
|
684
|
+
* The environment variables of the container. A maximum of 20 groups.
|
|
685
|
+
*/
|
|
475
686
|
environmentVars?: CreateJobRequestTasksTaskSpecTaskExecutorContainerEnvironmentVars[];
|
|
476
687
|
/**
|
|
477
688
|
* @remarks
|
|
689
|
+
* The image of the container.
|
|
690
|
+
*
|
|
478
691
|
* This parameter is required.
|
|
479
692
|
*
|
|
480
693
|
* @example
|
|
@@ -482,6 +695,9 @@ export class CreateJobRequestTasksTaskSpecTaskExecutorContainer extends $dara.Mo
|
|
|
482
695
|
*/
|
|
483
696
|
image?: string;
|
|
484
697
|
/**
|
|
698
|
+
* @remarks
|
|
699
|
+
* The working directory of the container.
|
|
700
|
+
*
|
|
485
701
|
* @example
|
|
486
702
|
* /usr/local/
|
|
487
703
|
*/
|
|
@@ -527,22 +743,48 @@ export class CreateJobRequestTasksTaskSpecTaskExecutorContainer extends $dara.Mo
|
|
|
527
743
|
}
|
|
528
744
|
|
|
529
745
|
export class CreateJobRequestTasksTaskSpecTaskExecutorVM extends $dara.Model {
|
|
746
|
+
/**
|
|
747
|
+
* @remarks
|
|
748
|
+
* The ID of the virtual machine application.
|
|
749
|
+
*
|
|
750
|
+
* @example
|
|
751
|
+
* ci-vm-9jc58Pm5Leky
|
|
752
|
+
*/
|
|
530
753
|
appId?: string;
|
|
531
754
|
/**
|
|
532
755
|
* @remarks
|
|
756
|
+
* The ID of the image.
|
|
757
|
+
*
|
|
533
758
|
* This parameter is required.
|
|
534
759
|
*
|
|
535
760
|
* @example
|
|
536
761
|
* m-xxxx
|
|
537
762
|
*/
|
|
538
763
|
image?: string;
|
|
764
|
+
/**
|
|
765
|
+
* @remarks
|
|
766
|
+
* The logon password of the virtual machine environment. The password must be 8 to 30 characters in length and contain at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters. The following special characters are supported:
|
|
767
|
+
*
|
|
768
|
+
* ()\\`~!@#$%^&\\*-_+=|{}[]:;\\"<>,.?/ In Windows, the password cannot contain a forward slash (/) as the first character.
|
|
769
|
+
*
|
|
770
|
+
* > We recommend that you use HTTPS to send requests if you specify Password to avoid password leakage.
|
|
771
|
+
*
|
|
772
|
+
* @example
|
|
773
|
+
* EHPC@1234
|
|
774
|
+
*/
|
|
539
775
|
password?: string;
|
|
540
776
|
/**
|
|
777
|
+
* @remarks
|
|
778
|
+
* The pre-processing script. Base64 encoding is required.
|
|
779
|
+
*
|
|
541
780
|
* @example
|
|
542
781
|
* ZWNobyBoZWxsbyBlY3Mh
|
|
543
782
|
*/
|
|
544
783
|
prologScript?: string;
|
|
545
784
|
/**
|
|
785
|
+
* @remarks
|
|
786
|
+
* The running-job script. Base64 encoding is required.
|
|
787
|
+
*
|
|
546
788
|
* @example
|
|
547
789
|
* ZWNobyBoZWxsbyBlY3Mh
|
|
548
790
|
*/
|
|
@@ -577,7 +819,15 @@ export class CreateJobRequestTasksTaskSpecTaskExecutorVM extends $dara.Model {
|
|
|
577
819
|
}
|
|
578
820
|
|
|
579
821
|
export class CreateJobRequestTasksTaskSpecTaskExecutor extends $dara.Model {
|
|
822
|
+
/**
|
|
823
|
+
* @remarks
|
|
824
|
+
* Use the container environment.
|
|
825
|
+
*/
|
|
580
826
|
container?: CreateJobRequestTasksTaskSpecTaskExecutorContainer;
|
|
827
|
+
/**
|
|
828
|
+
* @remarks
|
|
829
|
+
* Use a virtual machine environment.
|
|
830
|
+
*/
|
|
581
831
|
VM?: CreateJobRequestTasksTaskSpecTaskExecutorVM;
|
|
582
832
|
static names(): { [key: string]: string } {
|
|
583
833
|
return {
|
|
@@ -610,17 +860,46 @@ export class CreateJobRequestTasksTaskSpecTaskExecutor extends $dara.Model {
|
|
|
610
860
|
|
|
611
861
|
export class CreateJobRequestTasksTaskSpecVolumeMount extends $dara.Model {
|
|
612
862
|
/**
|
|
863
|
+
* @remarks
|
|
864
|
+
* The list of data volume mount parameters. Each option is a key-value pair in a JSON string.
|
|
865
|
+
*
|
|
866
|
+
* * Format for mounting a NAS file system:{"server":"xxxxx-xxxxx.cn-heyuan.nas.aliyuncs.com","vers":"3","path":"/data","options":"nolock,tcp,noresvport"}
|
|
867
|
+
*
|
|
868
|
+
* > server indicates the address of the mount point of the NAS file system. path indicates the subdirectory of the NAS file system. The subdirectory must start with a (/) and must already exist. vers indicates the version number of the NFS protocol used to mount the file system. We recommend that you use v3. options indicates the custom parameters in the format of "xxx,xxx,xxx".
|
|
869
|
+
*
|
|
870
|
+
* * OSS mount format:{"bucket":"xxxxx", "url":"oss-cn-heyuan-internal.aliyuncs.com","path":"/data","akId":"xxxxx","akSecret":"xxxxx"}
|
|
871
|
+
*
|
|
872
|
+
* > bucket indicates the name of the OSS bucket. url indicates the endpoint of the OSS bucket. You can log on to the OSS console and obtain the endpoint on the Overview page of the destination bucket. path indicates the directory structure of the root file of the bucket. The default value is /, which requires that the directory already exists. akId indicates the AccessKey ID. akSecret indicates the AccessKey secret.
|
|
873
|
+
*
|
|
613
874
|
* @example
|
|
614
875
|
* {"server":"xxxxx-xxxxx.cn-heyuan.nas.aliyuncs.com","vers":"3","path":"/data","options":"nolock,tcp,noresvport"}
|
|
615
876
|
*/
|
|
616
877
|
mountOptions?: string;
|
|
617
878
|
/**
|
|
879
|
+
* @remarks
|
|
880
|
+
* The directory where the task mounts the data volume.
|
|
881
|
+
*
|
|
882
|
+
* > The content of the mounted directory is overwritten by the content of the volume. Exercise caution when you use the directory.
|
|
883
|
+
*
|
|
618
884
|
* @example
|
|
619
885
|
* /mnt
|
|
620
886
|
*/
|
|
621
887
|
mountPath?: string;
|
|
888
|
+
/**
|
|
889
|
+
* @remarks
|
|
890
|
+
* Specifies whether the volume is read-only. Default value: false.
|
|
891
|
+
*
|
|
892
|
+
* @example
|
|
893
|
+
* false
|
|
894
|
+
*/
|
|
622
895
|
readOnly?: boolean;
|
|
623
896
|
/**
|
|
897
|
+
* @remarks
|
|
898
|
+
* Currently supported data volume types.
|
|
899
|
+
*
|
|
900
|
+
* * alicloud/nas: mounts NAS.
|
|
901
|
+
* * alicloud/oss: mounts OSS.
|
|
902
|
+
*
|
|
624
903
|
* @example
|
|
625
904
|
* alicloud/nas
|
|
626
905
|
*/
|
|
@@ -653,13 +932,27 @@ export class CreateJobRequestTasksTaskSpecVolumeMount extends $dara.Model {
|
|
|
653
932
|
}
|
|
654
933
|
|
|
655
934
|
export class CreateJobRequestTasksTaskSpec extends $dara.Model {
|
|
935
|
+
/**
|
|
936
|
+
* @remarks
|
|
937
|
+
* The resource information of the running environment.
|
|
938
|
+
*/
|
|
656
939
|
resource?: CreateJobRequestTasksTaskSpecResource;
|
|
940
|
+
/**
|
|
941
|
+
* @remarks
|
|
942
|
+
* Task retry policy.
|
|
943
|
+
*/
|
|
657
944
|
retryPolicy?: CreateJobRequestTasksTaskSpecRetryPolicy;
|
|
658
945
|
/**
|
|
659
946
|
* @remarks
|
|
947
|
+
* The task execution configurations.
|
|
948
|
+
*
|
|
660
949
|
* This parameter is required.
|
|
661
950
|
*/
|
|
662
951
|
taskExecutor?: CreateJobRequestTasksTaskSpecTaskExecutor[];
|
|
952
|
+
/**
|
|
953
|
+
* @remarks
|
|
954
|
+
* The list of data volumes mounted to the task. A maximum of 10 groups.
|
|
955
|
+
*/
|
|
663
956
|
volumeMount?: CreateJobRequestTasksTaskSpecVolumeMount[];
|
|
664
957
|
static names(): { [key: string]: string } {
|
|
665
958
|
return {
|
|
@@ -701,14 +994,33 @@ export class CreateJobRequestTasksTaskSpec extends $dara.Model {
|
|
|
701
994
|
}
|
|
702
995
|
|
|
703
996
|
export class CreateJobRequestTasks extends $dara.Model {
|
|
997
|
+
/**
|
|
998
|
+
* @remarks
|
|
999
|
+
* The task execution policy.
|
|
1000
|
+
*/
|
|
704
1001
|
executorPolicy?: CreateJobRequestTasksExecutorPolicy;
|
|
705
1002
|
/**
|
|
1003
|
+
* @remarks
|
|
1004
|
+
* The job name. It must be 2 to 32 characters in length and can contain letters, digits, and Chinese characters. It can contain hyphens (-) and underscores (_).
|
|
1005
|
+
*
|
|
706
1006
|
* @example
|
|
707
1007
|
* task0
|
|
708
1008
|
*/
|
|
709
1009
|
taskName?: string;
|
|
1010
|
+
/**
|
|
1011
|
+
* @remarks
|
|
1012
|
+
* The details of the task specification.
|
|
1013
|
+
*/
|
|
710
1014
|
taskSpec?: CreateJobRequestTasksTaskSpec;
|
|
711
1015
|
/**
|
|
1016
|
+
* @remarks
|
|
1017
|
+
* Indicate whether the job is a long-running job.
|
|
1018
|
+
*
|
|
1019
|
+
* * true: background service the job.
|
|
1020
|
+
* * false: batch jobs.
|
|
1021
|
+
*
|
|
1022
|
+
* Default value: false.
|
|
1023
|
+
*
|
|
712
1024
|
* @example
|
|
713
1025
|
* true
|
|
714
1026
|
*/
|
|
@@ -747,25 +1059,56 @@ export class CreateJobRequestTasks extends $dara.Model {
|
|
|
747
1059
|
}
|
|
748
1060
|
|
|
749
1061
|
export class CreateJobRequest extends $dara.Model {
|
|
1062
|
+
/**
|
|
1063
|
+
* @remarks
|
|
1064
|
+
* Dependency policy.
|
|
1065
|
+
*/
|
|
750
1066
|
dependencyPolicy?: CreateJobRequestDependencyPolicy;
|
|
1067
|
+
/**
|
|
1068
|
+
* @remarks
|
|
1069
|
+
* The resource deployment policy.
|
|
1070
|
+
*/
|
|
751
1071
|
deploymentPolicy?: CreateJobRequestDeploymentPolicy;
|
|
752
1072
|
/**
|
|
1073
|
+
* @remarks
|
|
1074
|
+
* The description of the job.
|
|
1075
|
+
*
|
|
753
1076
|
* @example
|
|
754
1077
|
* Demo
|
|
755
1078
|
*/
|
|
756
1079
|
jobDescription?: string;
|
|
757
1080
|
/**
|
|
758
1081
|
* @remarks
|
|
1082
|
+
* The job name. The name must be 2 to 64 characters in length and can contain letters, digits, and Chinese characters. It can contain hyphens (-) and underscores (_).
|
|
1083
|
+
*
|
|
759
1084
|
* This parameter is required.
|
|
760
1085
|
*
|
|
761
1086
|
* @example
|
|
762
1087
|
* testjob
|
|
763
1088
|
*/
|
|
764
1089
|
jobName?: string;
|
|
1090
|
+
/**
|
|
1091
|
+
* @remarks
|
|
1092
|
+
* The type of the job scheduler.
|
|
1093
|
+
*
|
|
1094
|
+
* * HPC
|
|
1095
|
+
* * K8S
|
|
1096
|
+
*
|
|
1097
|
+
* Default value: HPC
|
|
1098
|
+
*
|
|
1099
|
+
* @example
|
|
1100
|
+
* HPC
|
|
1101
|
+
*/
|
|
765
1102
|
jobScheduler?: string;
|
|
1103
|
+
/**
|
|
1104
|
+
* @remarks
|
|
1105
|
+
* The security policy.
|
|
1106
|
+
*/
|
|
766
1107
|
securityPolicy?: CreateJobRequestSecurityPolicy;
|
|
767
1108
|
/**
|
|
768
1109
|
* @remarks
|
|
1110
|
+
* The list of tasks. Only one task is supported.
|
|
1111
|
+
*
|
|
769
1112
|
* This parameter is required.
|
|
770
1113
|
*/
|
|
771
1114
|
tasks?: CreateJobRequestTasks[];
|
|
@@ -3,7 +3,18 @@ import * as $dara from '@darabonba/typescript';
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
export class CreateJobResponseBodyTasks extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The list of executor IDs contained in the task.
|
|
9
|
+
*/
|
|
6
10
|
executorIds?: string[];
|
|
11
|
+
/**
|
|
12
|
+
* @remarks
|
|
13
|
+
* The name of the task.
|
|
14
|
+
*
|
|
15
|
+
* @example
|
|
16
|
+
* task0
|
|
17
|
+
*/
|
|
7
18
|
taskName?: string;
|
|
8
19
|
static names(): { [key: string]: string } {
|
|
9
20
|
return {
|
|
@@ -33,15 +44,25 @@ export class CreateJobResponseBodyTasks extends $dara.Model {
|
|
|
33
44
|
|
|
34
45
|
export class CreateJobResponseBody extends $dara.Model {
|
|
35
46
|
/**
|
|
47
|
+
* @remarks
|
|
48
|
+
* The job ID.
|
|
49
|
+
*
|
|
36
50
|
* @example
|
|
37
51
|
* job-xxxx
|
|
38
52
|
*/
|
|
39
53
|
jobId?: string;
|
|
40
54
|
/**
|
|
55
|
+
* @remarks
|
|
56
|
+
* The request ID.
|
|
57
|
+
*
|
|
41
58
|
* @example
|
|
42
59
|
* 896D338C-E4F4-41EC-A154-D605E5DE****
|
|
43
60
|
*/
|
|
44
61
|
requestId?: string;
|
|
62
|
+
/**
|
|
63
|
+
* @remarks
|
|
64
|
+
* The list of tasks.
|
|
65
|
+
*/
|
|
45
66
|
tasks?: CreateJobResponseBodyTasks[];
|
|
46
67
|
static names(): { [key: string]: string } {
|
|
47
68
|
return {
|