@alicloud/ehpcinstant20230701 3.2.1 → 3.4.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 +106 -56
- package/dist/client.js +170 -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 +337 -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 +219 -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/ListExecutorEventsRequest.d.ts +57 -0
- package/dist/models/ListExecutorEventsRequest.js +95 -0
- package/dist/models/ListExecutorEventsRequest.js.map +1 -0
- package/dist/models/ListExecutorEventsResponse.d.ts +19 -0
- package/dist/models/ListExecutorEventsResponse.js +69 -0
- package/dist/models/ListExecutorEventsResponse.js.map +1 -0
- package/dist/models/ListExecutorEventsResponseBody.d.ts +71 -0
- package/dist/models/ListExecutorEventsResponseBody.js +96 -0
- package/dist/models/ListExecutorEventsResponseBody.js.map +1 -0
- package/dist/models/ListExecutorEventsShrinkRequest.d.ts +24 -0
- package/dist/models/ListExecutorEventsShrinkRequest.js +62 -0
- package/dist/models/ListExecutorEventsShrinkRequest.js.map +1 -0
- 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 +159 -0
- package/dist/models/ListExecutorsResponseBody.js +2 -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 +145 -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 +10 -0
- package/dist/models/model.js +23 -3
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +180 -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 +337 -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 +219 -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/ListExecutorEventsRequest.ts +98 -0
- package/src/models/ListExecutorEventsResponse.ts +40 -0
- package/src/models/ListExecutorEventsResponseBody.ts +113 -0
- package/src/models/ListExecutorEventsShrinkRequest.ts +41 -0
- package/src/models/ListExecutorsRequest.ts +50 -0
- package/src/models/ListExecutorsResponseBody.ts +161 -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 +145 -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 +10 -0
|
@@ -1,43 +1,90 @@
|
|
|
1
1
|
import * as $dara from '@darabonba/typescript';
|
|
2
2
|
export declare class CreateActionPlanShrinkRequest extends $dara.Model {
|
|
3
3
|
/**
|
|
4
|
+
* @remarks
|
|
5
|
+
* The name of the execution plan.
|
|
6
|
+
*
|
|
4
7
|
* @example
|
|
5
8
|
* TestActionPlan
|
|
6
9
|
*/
|
|
7
10
|
actionPlanName?: string;
|
|
8
11
|
/**
|
|
12
|
+
* @remarks
|
|
13
|
+
* The type of the resource.
|
|
14
|
+
*
|
|
15
|
+
* * Standard
|
|
16
|
+
* * Dedicated: You must enable a whitelist for use.
|
|
17
|
+
* * Economic: You must enable a whitelist for use.
|
|
18
|
+
*
|
|
9
19
|
* @example
|
|
10
20
|
* Standard
|
|
11
21
|
*/
|
|
12
22
|
allocationSpec?: string;
|
|
13
23
|
/**
|
|
24
|
+
* @remarks
|
|
25
|
+
* The ID of the application.
|
|
26
|
+
*
|
|
14
27
|
* @example
|
|
15
28
|
* ci-vm-rYfypJKwlN9Y
|
|
16
29
|
*/
|
|
17
30
|
appId?: string;
|
|
18
31
|
/**
|
|
32
|
+
* @remarks
|
|
33
|
+
* The expected scale of resources for the execution plan. If the ResourceType parameter is set to VcpuCapacity, the execution plan is expected to have 10000 vCPUs.
|
|
34
|
+
*
|
|
19
35
|
* @example
|
|
20
36
|
* 1000
|
|
21
37
|
*/
|
|
22
38
|
desiredCapacity?: number;
|
|
23
39
|
/**
|
|
40
|
+
* @remarks
|
|
41
|
+
* The computing power level. This value is valid only when the resource type is Economic. The following disk categories are supported:
|
|
42
|
+
*
|
|
43
|
+
* * General
|
|
44
|
+
* * Performance
|
|
45
|
+
*
|
|
46
|
+
* Default value: General
|
|
47
|
+
*
|
|
24
48
|
* @example
|
|
25
49
|
* General
|
|
26
50
|
*/
|
|
27
51
|
level?: string;
|
|
28
52
|
/**
|
|
53
|
+
* @remarks
|
|
54
|
+
* The pre-processing script. Base64 encoding is required.
|
|
55
|
+
*
|
|
29
56
|
* @example
|
|
30
57
|
* bHMgLWFsCmxzIC1hbGggfCB3YyAtbA==
|
|
31
58
|
*/
|
|
32
59
|
prologScript?: string;
|
|
60
|
+
/**
|
|
61
|
+
* @remarks
|
|
62
|
+
* The list of resource configurations in the region where the execution plan runs.
|
|
63
|
+
*/
|
|
33
64
|
regionsShrink?: string;
|
|
34
65
|
/**
|
|
66
|
+
* @remarks
|
|
67
|
+
* Target resource type: the capacity of vCPUs or the number of execution nodes. Valid values:
|
|
68
|
+
*
|
|
69
|
+
* * VCpuCapacity
|
|
70
|
+
* * ExecutorCapacity
|
|
71
|
+
*
|
|
35
72
|
* @example
|
|
36
73
|
* VCpuCapacity
|
|
37
74
|
*/
|
|
38
75
|
resourceType?: string;
|
|
76
|
+
/**
|
|
77
|
+
* @remarks
|
|
78
|
+
* The list of resource configurations of the execution plan runtime environment. You can configure 1 to 10 resources.
|
|
79
|
+
*
|
|
80
|
+
* @example
|
|
81
|
+
* 1000
|
|
82
|
+
*/
|
|
39
83
|
resourcesShrink?: string;
|
|
40
84
|
/**
|
|
85
|
+
* @remarks
|
|
86
|
+
* The running-job script. Base64 encoding is required.
|
|
87
|
+
*
|
|
41
88
|
* @example
|
|
42
89
|
* bHMgLWFsCmxzIC1hbGggfCB3YyAtbA==
|
|
43
90
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreateActionPlanShrinkRequest.js","sourceRoot":"","sources":["../../src/models/CreateActionPlanShrinkRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,6BAA8B,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"CreateActionPlanShrinkRequest.js","sourceRoot":"","sources":["../../src/models/CreateActionPlanShrinkRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,6BAA8B,SAAQ,KAAK,CAAC,KAAK;IA0F5D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,cAAc,EAAE,gBAAgB;YAChC,cAAc,EAAE,gBAAgB;YAChC,KAAK,EAAE,OAAO;YACd,eAAe,EAAE,iBAAiB;YAClC,KAAK,EAAE,OAAO;YACd,YAAY,EAAE,cAAc;YAC5B,aAAa,EAAE,SAAS;YACxB,YAAY,EAAE,cAAc;YAC5B,eAAe,EAAE,WAAW;YAC5B,MAAM,EAAE,QAAQ;SACjB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,cAAc,EAAE,QAAQ;YACxB,cAAc,EAAE,QAAQ;YACxB,KAAK,EAAE,QAAQ;YACf,eAAe,EAAE,QAAQ;YACzB,KAAK,EAAE,QAAQ;YACf,YAAY,EAAE,QAAQ;YACtB,aAAa,EAAE,QAAQ;YACvB,YAAY,EAAE,QAAQ;YACtB,eAAe,EAAE,QAAQ;YACzB,MAAM,EAAE,QAAQ;SACjB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AA/HD,sEA+HC"}
|
|
@@ -2,9 +2,28 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class CreateJobRequestDependencyPolicyJobDependency extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
+
* The ID of the job.
|
|
6
|
+
*
|
|
5
7
|
* This parameter is required.
|
|
8
|
+
*
|
|
9
|
+
* @example
|
|
10
|
+
* job-bjxxxxxxxxxxxx
|
|
6
11
|
*/
|
|
7
12
|
jobId?: string;
|
|
13
|
+
/**
|
|
14
|
+
* @remarks
|
|
15
|
+
* The type of the dependency. Valid values:
|
|
16
|
+
*
|
|
17
|
+
* * AfterSucceeded: **All subtasks** of the dependent job or array job succeed. The exit code is 0.
|
|
18
|
+
* * AfterFailed: **All subtasks** of the dependent job or array job fail. The exit code is not 0.
|
|
19
|
+
* * AfterAny: The dependent job completes (succeeds or fails).
|
|
20
|
+
* * AfterCorresponding: The subtask corresponding to the dependent array job succeeds. The exit code is 0.
|
|
21
|
+
*
|
|
22
|
+
* Default value: AfterSucceeded.
|
|
23
|
+
*
|
|
24
|
+
* @example
|
|
25
|
+
* AfterSucceeded
|
|
26
|
+
*/
|
|
8
27
|
type?: string;
|
|
9
28
|
static names(): {
|
|
10
29
|
[key: string]: string;
|
|
@@ -18,6 +37,10 @@ export declare class CreateJobRequestDependencyPolicyJobDependency extends $dara
|
|
|
18
37
|
});
|
|
19
38
|
}
|
|
20
39
|
export declare class CreateJobRequestDependencyPolicy extends $dara.Model {
|
|
40
|
+
/**
|
|
41
|
+
* @remarks
|
|
42
|
+
* The job dependency. A maximum of 10 groups.
|
|
43
|
+
*/
|
|
21
44
|
jobDependency?: CreateJobRequestDependencyPolicyJobDependency[];
|
|
22
45
|
static names(): {
|
|
23
46
|
[key: string]: string;
|
|
@@ -31,7 +54,23 @@ export declare class CreateJobRequestDependencyPolicy extends $dara.Model {
|
|
|
31
54
|
});
|
|
32
55
|
}
|
|
33
56
|
export declare class CreateJobRequestDeploymentPolicyNetwork extends $dara.Model {
|
|
57
|
+
/**
|
|
58
|
+
* @remarks
|
|
59
|
+
* Whether the job creates a public IP address.
|
|
60
|
+
*
|
|
61
|
+
* * true: creates a public IP address.
|
|
62
|
+
* * false: does not create a public IP address.
|
|
63
|
+
*
|
|
64
|
+
* Default value: false.
|
|
65
|
+
*
|
|
66
|
+
* @example
|
|
67
|
+
* true
|
|
68
|
+
*/
|
|
34
69
|
enableExternalIpAddress?: boolean;
|
|
70
|
+
/**
|
|
71
|
+
* @remarks
|
|
72
|
+
* The VSwitch array.
|
|
73
|
+
*/
|
|
35
74
|
vswitch?: string[];
|
|
36
75
|
static names(): {
|
|
37
76
|
[key: string]: string;
|
|
@@ -47,9 +86,21 @@ export declare class CreateJobRequestDeploymentPolicyNetwork extends $dara.Model
|
|
|
47
86
|
export declare class CreateJobRequestDeploymentPolicyTag extends $dara.Model {
|
|
48
87
|
/**
|
|
49
88
|
* @remarks
|
|
89
|
+
* 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.
|
|
90
|
+
*
|
|
50
91
|
* This parameter is required.
|
|
92
|
+
*
|
|
93
|
+
* @example
|
|
94
|
+
* TestKey
|
|
51
95
|
*/
|
|
52
96
|
key?: string;
|
|
97
|
+
/**
|
|
98
|
+
* @remarks
|
|
99
|
+
* 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://.
|
|
100
|
+
*
|
|
101
|
+
* @example
|
|
102
|
+
* TestValue
|
|
103
|
+
*/
|
|
53
104
|
value?: string;
|
|
54
105
|
static names(): {
|
|
55
106
|
[key: string]: string;
|
|
@@ -64,14 +115,55 @@ export declare class CreateJobRequestDeploymentPolicyTag extends $dara.Model {
|
|
|
64
115
|
}
|
|
65
116
|
export declare class CreateJobRequestDeploymentPolicy extends $dara.Model {
|
|
66
117
|
/**
|
|
118
|
+
* @remarks
|
|
119
|
+
* The resource type,
|
|
120
|
+
*
|
|
121
|
+
* * Standard
|
|
122
|
+
* * Dedicated: You must enable a whitelist for use.
|
|
123
|
+
* * Economic: You must enable a whitelist for use.
|
|
124
|
+
*
|
|
67
125
|
* @example
|
|
68
126
|
* Dedicated
|
|
69
127
|
*/
|
|
70
128
|
allocationSpec?: string;
|
|
129
|
+
/**
|
|
130
|
+
* @remarks
|
|
131
|
+
* The computing power level. This value is valid only when the resource type is Economic. The following disk categories are supported:
|
|
132
|
+
*
|
|
133
|
+
* * General
|
|
134
|
+
* * Performance
|
|
135
|
+
*
|
|
136
|
+
* Default value: General.
|
|
137
|
+
*
|
|
138
|
+
* @example
|
|
139
|
+
* General
|
|
140
|
+
*/
|
|
71
141
|
level?: string;
|
|
142
|
+
/**
|
|
143
|
+
* @remarks
|
|
144
|
+
* The network configuration information.
|
|
145
|
+
*/
|
|
72
146
|
network?: CreateJobRequestDeploymentPolicyNetwork;
|
|
147
|
+
/**
|
|
148
|
+
* @remarks
|
|
149
|
+
* The resource pool of the job.
|
|
150
|
+
*
|
|
151
|
+
* @example
|
|
152
|
+
* compute
|
|
153
|
+
*/
|
|
73
154
|
pool?: string;
|
|
155
|
+
/**
|
|
156
|
+
* @remarks
|
|
157
|
+
* The priorities of the jobs. A larger value indicates a higher job scheduling priority. Valid values: 1 to 100.
|
|
158
|
+
*
|
|
159
|
+
* @example
|
|
160
|
+
* 1
|
|
161
|
+
*/
|
|
74
162
|
priority?: number;
|
|
163
|
+
/**
|
|
164
|
+
* @remarks
|
|
165
|
+
* The tag information of the job. A maximum of 20 groups.
|
|
166
|
+
*/
|
|
75
167
|
tag?: CreateJobRequestDeploymentPolicyTag[];
|
|
76
168
|
static names(): {
|
|
77
169
|
[key: string]: string;
|
|
@@ -85,6 +177,10 @@ export declare class CreateJobRequestDeploymentPolicy extends $dara.Model {
|
|
|
85
177
|
});
|
|
86
178
|
}
|
|
87
179
|
export declare class CreateJobRequestSecurityPolicySecurityGroup extends $dara.Model {
|
|
180
|
+
/**
|
|
181
|
+
* @remarks
|
|
182
|
+
* The array of security group IDs.
|
|
183
|
+
*/
|
|
88
184
|
securityGroupIds?: string[];
|
|
89
185
|
static names(): {
|
|
90
186
|
[key: string]: string;
|
|
@@ -98,6 +194,10 @@ export declare class CreateJobRequestSecurityPolicySecurityGroup extends $dara.M
|
|
|
98
194
|
});
|
|
99
195
|
}
|
|
100
196
|
export declare class CreateJobRequestSecurityPolicy extends $dara.Model {
|
|
197
|
+
/**
|
|
198
|
+
* @remarks
|
|
199
|
+
* The security group ID.
|
|
200
|
+
*/
|
|
101
201
|
securityGroup?: CreateJobRequestSecurityPolicySecurityGroup;
|
|
102
202
|
static names(): {
|
|
103
203
|
[key: string]: string;
|
|
@@ -112,16 +212,27 @@ export declare class CreateJobRequestSecurityPolicy extends $dara.Model {
|
|
|
112
212
|
}
|
|
113
213
|
export declare class CreateJobRequestTasksExecutorPolicyArraySpec extends $dara.Model {
|
|
114
214
|
/**
|
|
215
|
+
* @remarks
|
|
216
|
+
* 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.
|
|
217
|
+
*
|
|
115
218
|
* @example
|
|
116
219
|
* 9
|
|
117
220
|
*/
|
|
118
221
|
indexEnd?: number;
|
|
119
222
|
/**
|
|
223
|
+
* @remarks
|
|
224
|
+
* The starting value of the array job index. Valid values: 0 to 4999.
|
|
225
|
+
*
|
|
120
226
|
* @example
|
|
121
227
|
* 0
|
|
122
228
|
*/
|
|
123
229
|
indexStart?: number;
|
|
124
230
|
/**
|
|
231
|
+
* @remarks
|
|
232
|
+
* The interval of the array job index.
|
|
233
|
+
*
|
|
234
|
+
* > 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.
|
|
235
|
+
*
|
|
125
236
|
* @example
|
|
126
237
|
* 1
|
|
127
238
|
*/
|
|
@@ -138,8 +249,27 @@ export declare class CreateJobRequestTasksExecutorPolicyArraySpec extends $dara.
|
|
|
138
249
|
});
|
|
139
250
|
}
|
|
140
251
|
export declare class CreateJobRequestTasksExecutorPolicy extends $dara.Model {
|
|
252
|
+
/**
|
|
253
|
+
* @remarks
|
|
254
|
+
* 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:
|
|
255
|
+
*
|
|
256
|
+
* * EHPC_JOB_NAME: the name of the job. This parameter corresponds to the JobName parameter.
|
|
257
|
+
* * EHPC_JOB_ID: The ID of the job.
|
|
258
|
+
* * EHPC_TASK_NAME: the name of the task. This parameter corresponds to the TaskName parameter.
|
|
259
|
+
* * EHPC_EXECUTOR_ID: The ID of the execution unit.
|
|
260
|
+
* * EHPC_ARRAY_TASK_ID: the sub-job index value.
|
|
261
|
+
* * EHPC_ARRAY_TASK_COUNT: the total number of sub-jobs.
|
|
262
|
+
* * EHPC_ARRAY_TASK_MAX: the maximum sub-job index, which corresponds to the IndexStart parameter.
|
|
263
|
+
* * EHPC_ARRAY_TASK_MIN: the minimum value of the sub-job index, which corresponds to the IndexEnd parameter.
|
|
264
|
+
* * EHPC_ARRAY_TASK_STEP: the index step size of the sub-job, which corresponds to the IndexStep parameter.
|
|
265
|
+
*/
|
|
141
266
|
arraySpec?: CreateJobRequestTasksExecutorPolicyArraySpec;
|
|
142
267
|
/**
|
|
268
|
+
* @remarks
|
|
269
|
+
* The maximum number of nodes to run the job.
|
|
270
|
+
*
|
|
271
|
+
* > Follow the calculation formula: `MaxCount = (IndexEnd - IndexStart) / IndexStep +1`
|
|
272
|
+
*
|
|
143
273
|
* @example
|
|
144
274
|
* 1
|
|
145
275
|
*/
|
|
@@ -157,11 +287,17 @@ export declare class CreateJobRequestTasksExecutorPolicy extends $dara.Model {
|
|
|
157
287
|
}
|
|
158
288
|
export declare class CreateJobRequestTasksTaskSpecResourceDisks extends $dara.Model {
|
|
159
289
|
/**
|
|
290
|
+
* @remarks
|
|
291
|
+
* The size of the disk. Unit: GiB.
|
|
292
|
+
*
|
|
160
293
|
* @example
|
|
161
294
|
* 40
|
|
162
295
|
*/
|
|
163
296
|
size?: number;
|
|
164
297
|
/**
|
|
298
|
+
* @remarks
|
|
299
|
+
* The type of the disk. Currently, only System is supported, which indicates the system disk.
|
|
300
|
+
*
|
|
165
301
|
* @example
|
|
166
302
|
* System
|
|
167
303
|
*/
|
|
@@ -179,15 +315,29 @@ export declare class CreateJobRequestTasksTaskSpecResourceDisks extends $dara.Mo
|
|
|
179
315
|
}
|
|
180
316
|
export declare class CreateJobRequestTasksTaskSpecResource extends $dara.Model {
|
|
181
317
|
/**
|
|
318
|
+
* @remarks
|
|
319
|
+
* The number of CPUs in the running environment.
|
|
320
|
+
*
|
|
182
321
|
* @example
|
|
183
322
|
* 2
|
|
184
323
|
*/
|
|
185
324
|
cores?: number;
|
|
325
|
+
/**
|
|
326
|
+
* @remarks
|
|
327
|
+
* The array of the disks.
|
|
328
|
+
*/
|
|
186
329
|
disks?: CreateJobRequestTasksTaskSpecResourceDisks[];
|
|
187
330
|
enableHT?: boolean;
|
|
188
331
|
hostNamePrefix?: string;
|
|
332
|
+
/**
|
|
333
|
+
* @remarks
|
|
334
|
+
* The instance type of the running environment. A maximum of 5 groups.
|
|
335
|
+
*/
|
|
189
336
|
instanceTypes?: string[];
|
|
190
337
|
/**
|
|
338
|
+
* @remarks
|
|
339
|
+
* The memory size of the running environment. Unit: GiB.
|
|
340
|
+
*
|
|
191
341
|
* @example
|
|
192
342
|
* 4
|
|
193
343
|
*/
|
|
@@ -206,12 +356,25 @@ export declare class CreateJobRequestTasksTaskSpecResource extends $dara.Model {
|
|
|
206
356
|
export declare class CreateJobRequestTasksTaskSpecRetryPolicyExitCodeActions extends $dara.Model {
|
|
207
357
|
/**
|
|
208
358
|
* @remarks
|
|
359
|
+
* The next step behavior of the task.
|
|
360
|
+
*
|
|
361
|
+
* * Retry: The job starts a retry when a specific exit code is hit.
|
|
362
|
+
* * Exit: The job exits when a specific exit code is hit.
|
|
363
|
+
*
|
|
209
364
|
* This parameter is required.
|
|
365
|
+
*
|
|
366
|
+
* @example
|
|
367
|
+
* Retry
|
|
210
368
|
*/
|
|
211
369
|
action?: string;
|
|
212
370
|
/**
|
|
213
371
|
* @remarks
|
|
372
|
+
* The task exit code, which is used together with the action to form a job retry rule. Valid values: 0 to 255.
|
|
373
|
+
*
|
|
214
374
|
* This parameter is required.
|
|
375
|
+
*
|
|
376
|
+
* @example
|
|
377
|
+
* 1
|
|
215
378
|
*/
|
|
216
379
|
exitCode?: number;
|
|
217
380
|
static names(): {
|
|
@@ -226,7 +389,18 @@ export declare class CreateJobRequestTasksTaskSpecRetryPolicyExitCodeActions ext
|
|
|
226
389
|
});
|
|
227
390
|
}
|
|
228
391
|
export declare class CreateJobRequestTasksTaskSpecRetryPolicy extends $dara.Model {
|
|
392
|
+
/**
|
|
393
|
+
* @remarks
|
|
394
|
+
* The retry rule. A maximum of 10 groups.
|
|
395
|
+
*/
|
|
229
396
|
exitCodeActions?: CreateJobRequestTasksTaskSpecRetryPolicyExitCodeActions[];
|
|
397
|
+
/**
|
|
398
|
+
* @remarks
|
|
399
|
+
* The maximum number of retries. Valid values: 1 to 10. Default value: 3.
|
|
400
|
+
*
|
|
401
|
+
* @example
|
|
402
|
+
* 5
|
|
403
|
+
*/
|
|
230
404
|
retryCount?: number;
|
|
231
405
|
static names(): {
|
|
232
406
|
[key: string]: string;
|
|
@@ -241,11 +415,17 @@ export declare class CreateJobRequestTasksTaskSpecRetryPolicy extends $dara.Mode
|
|
|
241
415
|
}
|
|
242
416
|
export declare class CreateJobRequestTasksTaskSpecTaskExecutorContainerEnvironmentVars extends $dara.Model {
|
|
243
417
|
/**
|
|
418
|
+
* @remarks
|
|
419
|
+
* 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.
|
|
420
|
+
*
|
|
244
421
|
* @example
|
|
245
422
|
* PATH
|
|
246
423
|
*/
|
|
247
424
|
name?: string;
|
|
248
425
|
/**
|
|
426
|
+
* @remarks
|
|
427
|
+
* The value of the environment variable for the container. The value must be 0 to 256 bits in length.
|
|
428
|
+
*
|
|
249
429
|
* @example
|
|
250
430
|
* /usr/local/bin
|
|
251
431
|
*/
|
|
@@ -262,12 +442,39 @@ export declare class CreateJobRequestTasksTaskSpecTaskExecutorContainerEnvironme
|
|
|
262
442
|
});
|
|
263
443
|
}
|
|
264
444
|
export declare class CreateJobRequestTasksTaskSpecTaskExecutorContainer extends $dara.Model {
|
|
445
|
+
/**
|
|
446
|
+
* @remarks
|
|
447
|
+
* The application ID.
|
|
448
|
+
*
|
|
449
|
+
* @example
|
|
450
|
+
* ci-vm-32k6LXAi3cOG
|
|
451
|
+
*/
|
|
265
452
|
appId?: string;
|
|
453
|
+
/**
|
|
454
|
+
* @remarks
|
|
455
|
+
* The startup argument of the init container. A maximum of 10 groups.
|
|
456
|
+
*/
|
|
266
457
|
arg?: string[];
|
|
458
|
+
/**
|
|
459
|
+
* @remarks
|
|
460
|
+
* The container startup commands. You can specify up to 20 commands. Each command can be up to 256 characters in length.
|
|
461
|
+
*
|
|
462
|
+
* >
|
|
463
|
+
*
|
|
464
|
+
* * If the start command contains spaces (for example, `sleep 60s` ), the input JSON format parameter is `["sleep", "60s"]`.
|
|
465
|
+
*
|
|
466
|
+
* * 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.
|
|
467
|
+
*/
|
|
267
468
|
command?: string[];
|
|
469
|
+
/**
|
|
470
|
+
* @remarks
|
|
471
|
+
* The environment variables of the container. A maximum of 20 groups.
|
|
472
|
+
*/
|
|
268
473
|
environmentVars?: CreateJobRequestTasksTaskSpecTaskExecutorContainerEnvironmentVars[];
|
|
269
474
|
/**
|
|
270
475
|
* @remarks
|
|
476
|
+
* The image of the container.
|
|
477
|
+
*
|
|
271
478
|
* This parameter is required.
|
|
272
479
|
*
|
|
273
480
|
* @example
|
|
@@ -275,6 +482,9 @@ export declare class CreateJobRequestTasksTaskSpecTaskExecutorContainer extends
|
|
|
275
482
|
*/
|
|
276
483
|
image?: string;
|
|
277
484
|
/**
|
|
485
|
+
* @remarks
|
|
486
|
+
* The working directory of the container.
|
|
487
|
+
*
|
|
278
488
|
* @example
|
|
279
489
|
* /usr/local/
|
|
280
490
|
*/
|
|
@@ -291,22 +501,48 @@ export declare class CreateJobRequestTasksTaskSpecTaskExecutorContainer extends
|
|
|
291
501
|
});
|
|
292
502
|
}
|
|
293
503
|
export declare class CreateJobRequestTasksTaskSpecTaskExecutorVM extends $dara.Model {
|
|
504
|
+
/**
|
|
505
|
+
* @remarks
|
|
506
|
+
* The ID of the virtual machine application.
|
|
507
|
+
*
|
|
508
|
+
* @example
|
|
509
|
+
* ci-vm-9jc58Pm5Leky
|
|
510
|
+
*/
|
|
294
511
|
appId?: string;
|
|
295
512
|
/**
|
|
296
513
|
* @remarks
|
|
514
|
+
* The ID of the image.
|
|
515
|
+
*
|
|
297
516
|
* This parameter is required.
|
|
298
517
|
*
|
|
299
518
|
* @example
|
|
300
519
|
* m-xxxx
|
|
301
520
|
*/
|
|
302
521
|
image?: string;
|
|
522
|
+
/**
|
|
523
|
+
* @remarks
|
|
524
|
+
* 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:
|
|
525
|
+
*
|
|
526
|
+
* ()\\`~!@#$%^&\\*-_+=|{}[]:;\\"<>,.?/ In Windows, the password cannot contain a forward slash (/) as the first character.
|
|
527
|
+
*
|
|
528
|
+
* > We recommend that you use HTTPS to send requests if you specify Password to avoid password leakage.
|
|
529
|
+
*
|
|
530
|
+
* @example
|
|
531
|
+
* EHPC@1234
|
|
532
|
+
*/
|
|
303
533
|
password?: string;
|
|
304
534
|
/**
|
|
535
|
+
* @remarks
|
|
536
|
+
* The pre-processing script. Base64 encoding is required.
|
|
537
|
+
*
|
|
305
538
|
* @example
|
|
306
539
|
* ZWNobyBoZWxsbyBlY3Mh
|
|
307
540
|
*/
|
|
308
541
|
prologScript?: string;
|
|
309
542
|
/**
|
|
543
|
+
* @remarks
|
|
544
|
+
* The running-job script. Base64 encoding is required.
|
|
545
|
+
*
|
|
310
546
|
* @example
|
|
311
547
|
* ZWNobyBoZWxsbyBlY3Mh
|
|
312
548
|
*/
|
|
@@ -323,7 +559,15 @@ export declare class CreateJobRequestTasksTaskSpecTaskExecutorVM extends $dara.M
|
|
|
323
559
|
});
|
|
324
560
|
}
|
|
325
561
|
export declare class CreateJobRequestTasksTaskSpecTaskExecutor extends $dara.Model {
|
|
562
|
+
/**
|
|
563
|
+
* @remarks
|
|
564
|
+
* Use the container environment.
|
|
565
|
+
*/
|
|
326
566
|
container?: CreateJobRequestTasksTaskSpecTaskExecutorContainer;
|
|
567
|
+
/**
|
|
568
|
+
* @remarks
|
|
569
|
+
* Use a virtual machine environment.
|
|
570
|
+
*/
|
|
327
571
|
VM?: CreateJobRequestTasksTaskSpecTaskExecutorVM;
|
|
328
572
|
static names(): {
|
|
329
573
|
[key: string]: string;
|
|
@@ -338,17 +582,46 @@ export declare class CreateJobRequestTasksTaskSpecTaskExecutor extends $dara.Mod
|
|
|
338
582
|
}
|
|
339
583
|
export declare class CreateJobRequestTasksTaskSpecVolumeMount extends $dara.Model {
|
|
340
584
|
/**
|
|
585
|
+
* @remarks
|
|
586
|
+
* The list of data volume mount parameters. Each option is a key-value pair in a JSON string.
|
|
587
|
+
*
|
|
588
|
+
* * Format for mounting a NAS file system:{"server":"xxxxx-xxxxx.cn-heyuan.nas.aliyuncs.com","vers":"3","path":"/data","options":"nolock,tcp,noresvport"}
|
|
589
|
+
*
|
|
590
|
+
* > 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".
|
|
591
|
+
*
|
|
592
|
+
* * OSS mount format:{"bucket":"xxxxx", "url":"oss-cn-heyuan-internal.aliyuncs.com","path":"/data","akId":"xxxxx","akSecret":"xxxxx"}
|
|
593
|
+
*
|
|
594
|
+
* > 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.
|
|
595
|
+
*
|
|
341
596
|
* @example
|
|
342
597
|
* {"server":"xxxxx-xxxxx.cn-heyuan.nas.aliyuncs.com","vers":"3","path":"/data","options":"nolock,tcp,noresvport"}
|
|
343
598
|
*/
|
|
344
599
|
mountOptions?: string;
|
|
345
600
|
/**
|
|
601
|
+
* @remarks
|
|
602
|
+
* The directory where the task mounts the data volume.
|
|
603
|
+
*
|
|
604
|
+
* > The content of the mounted directory is overwritten by the content of the volume. Exercise caution when you use the directory.
|
|
605
|
+
*
|
|
346
606
|
* @example
|
|
347
607
|
* /mnt
|
|
348
608
|
*/
|
|
349
609
|
mountPath?: string;
|
|
610
|
+
/**
|
|
611
|
+
* @remarks
|
|
612
|
+
* Specifies whether the volume is read-only. Default value: false.
|
|
613
|
+
*
|
|
614
|
+
* @example
|
|
615
|
+
* false
|
|
616
|
+
*/
|
|
350
617
|
readOnly?: boolean;
|
|
351
618
|
/**
|
|
619
|
+
* @remarks
|
|
620
|
+
* Currently supported data volume types.
|
|
621
|
+
*
|
|
622
|
+
* * alicloud/nas: mounts NAS.
|
|
623
|
+
* * alicloud/oss: mounts OSS.
|
|
624
|
+
*
|
|
352
625
|
* @example
|
|
353
626
|
* alicloud/nas
|
|
354
627
|
*/
|
|
@@ -365,13 +638,27 @@ export declare class CreateJobRequestTasksTaskSpecVolumeMount extends $dara.Mode
|
|
|
365
638
|
});
|
|
366
639
|
}
|
|
367
640
|
export declare class CreateJobRequestTasksTaskSpec extends $dara.Model {
|
|
641
|
+
/**
|
|
642
|
+
* @remarks
|
|
643
|
+
* The resource information of the running environment.
|
|
644
|
+
*/
|
|
368
645
|
resource?: CreateJobRequestTasksTaskSpecResource;
|
|
646
|
+
/**
|
|
647
|
+
* @remarks
|
|
648
|
+
* Task retry policy.
|
|
649
|
+
*/
|
|
369
650
|
retryPolicy?: CreateJobRequestTasksTaskSpecRetryPolicy;
|
|
370
651
|
/**
|
|
371
652
|
* @remarks
|
|
653
|
+
* The task execution configurations.
|
|
654
|
+
*
|
|
372
655
|
* This parameter is required.
|
|
373
656
|
*/
|
|
374
657
|
taskExecutor?: CreateJobRequestTasksTaskSpecTaskExecutor[];
|
|
658
|
+
/**
|
|
659
|
+
* @remarks
|
|
660
|
+
* The list of data volumes mounted to the task. A maximum of 10 groups.
|
|
661
|
+
*/
|
|
375
662
|
volumeMount?: CreateJobRequestTasksTaskSpecVolumeMount[];
|
|
376
663
|
static names(): {
|
|
377
664
|
[key: string]: string;
|
|
@@ -385,14 +672,33 @@ export declare class CreateJobRequestTasksTaskSpec extends $dara.Model {
|
|
|
385
672
|
});
|
|
386
673
|
}
|
|
387
674
|
export declare class CreateJobRequestTasks extends $dara.Model {
|
|
675
|
+
/**
|
|
676
|
+
* @remarks
|
|
677
|
+
* The task execution policy.
|
|
678
|
+
*/
|
|
388
679
|
executorPolicy?: CreateJobRequestTasksExecutorPolicy;
|
|
389
680
|
/**
|
|
681
|
+
* @remarks
|
|
682
|
+
* 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 (_).
|
|
683
|
+
*
|
|
390
684
|
* @example
|
|
391
685
|
* task0
|
|
392
686
|
*/
|
|
393
687
|
taskName?: string;
|
|
688
|
+
/**
|
|
689
|
+
* @remarks
|
|
690
|
+
* The details of the task specification.
|
|
691
|
+
*/
|
|
394
692
|
taskSpec?: CreateJobRequestTasksTaskSpec;
|
|
395
693
|
/**
|
|
694
|
+
* @remarks
|
|
695
|
+
* Indicate whether the job is a long-running job.
|
|
696
|
+
*
|
|
697
|
+
* * true: background service the job.
|
|
698
|
+
* * false: batch jobs.
|
|
699
|
+
*
|
|
700
|
+
* Default value: false.
|
|
701
|
+
*
|
|
396
702
|
* @example
|
|
397
703
|
* true
|
|
398
704
|
*/
|
|
@@ -409,25 +715,56 @@ export declare class CreateJobRequestTasks extends $dara.Model {
|
|
|
409
715
|
});
|
|
410
716
|
}
|
|
411
717
|
export declare class CreateJobRequest extends $dara.Model {
|
|
718
|
+
/**
|
|
719
|
+
* @remarks
|
|
720
|
+
* Dependency policy.
|
|
721
|
+
*/
|
|
412
722
|
dependencyPolicy?: CreateJobRequestDependencyPolicy;
|
|
723
|
+
/**
|
|
724
|
+
* @remarks
|
|
725
|
+
* The resource deployment policy.
|
|
726
|
+
*/
|
|
413
727
|
deploymentPolicy?: CreateJobRequestDeploymentPolicy;
|
|
414
728
|
/**
|
|
729
|
+
* @remarks
|
|
730
|
+
* The description of the job.
|
|
731
|
+
*
|
|
415
732
|
* @example
|
|
416
733
|
* Demo
|
|
417
734
|
*/
|
|
418
735
|
jobDescription?: string;
|
|
419
736
|
/**
|
|
420
737
|
* @remarks
|
|
738
|
+
* 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 (_).
|
|
739
|
+
*
|
|
421
740
|
* This parameter is required.
|
|
422
741
|
*
|
|
423
742
|
* @example
|
|
424
743
|
* testjob
|
|
425
744
|
*/
|
|
426
745
|
jobName?: string;
|
|
746
|
+
/**
|
|
747
|
+
* @remarks
|
|
748
|
+
* The type of the job scheduler.
|
|
749
|
+
*
|
|
750
|
+
* * HPC
|
|
751
|
+
* * K8S
|
|
752
|
+
*
|
|
753
|
+
* Default value: HPC
|
|
754
|
+
*
|
|
755
|
+
* @example
|
|
756
|
+
* HPC
|
|
757
|
+
*/
|
|
427
758
|
jobScheduler?: string;
|
|
759
|
+
/**
|
|
760
|
+
* @remarks
|
|
761
|
+
* The security policy.
|
|
762
|
+
*/
|
|
428
763
|
securityPolicy?: CreateJobRequestSecurityPolicy;
|
|
429
764
|
/**
|
|
430
765
|
* @remarks
|
|
766
|
+
* The list of tasks. Only one task is supported.
|
|
767
|
+
*
|
|
431
768
|
* This parameter is required.
|
|
432
769
|
*/
|
|
433
770
|
tasks?: CreateJobRequestTasks[];
|