@alicloud/schedulerx320240624 1.3.0 → 1.3.2
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.js +18 -0
- package/dist/client.js.map +1 -1
- package/dist/models/CreateAppRequest.d.ts +5 -0
- package/dist/models/CreateAppRequest.js +2 -0
- package/dist/models/CreateAppRequest.js.map +1 -1
- package/dist/models/CreateClusterRequest.d.ts +15 -0
- package/dist/models/CreateClusterRequest.js +6 -0
- package/dist/models/CreateClusterRequest.js.map +1 -1
- package/dist/models/CreateClusterShrinkRequest.d.ts +15 -0
- package/dist/models/CreateClusterShrinkRequest.js +6 -0
- package/dist/models/CreateClusterShrinkRequest.js.map +1 -1
- package/dist/models/CreateJobRequest.d.ts +5 -0
- package/dist/models/CreateJobRequest.js +2 -0
- package/dist/models/CreateJobRequest.js.map +1 -1
- package/dist/models/CreateJobShrinkRequest.d.ts +5 -0
- package/dist/models/CreateJobShrinkRequest.js +2 -0
- package/dist/models/CreateJobShrinkRequest.js.map +1 -1
- package/dist/models/GetAppResponseBody.d.ts +5 -0
- package/dist/models/GetAppResponseBody.js +2 -0
- package/dist/models/GetAppResponseBody.js.map +1 -1
- package/dist/models/GetJobExecutionProgressResponseBody.d.ts +10 -0
- package/dist/models/GetJobExecutionProgressResponseBody.js +4 -0
- package/dist/models/GetJobExecutionProgressResponseBody.js.map +1 -1
- package/dist/models/ListAppNamesResponseBody.d.ts +10 -0
- package/dist/models/ListAppNamesResponseBody.js +4 -0
- package/dist/models/ListAppNamesResponseBody.js.map +1 -1
- package/dist/models/ListAppsResponseBody.d.ts +10 -0
- package/dist/models/ListAppsResponseBody.js +4 -0
- package/dist/models/ListAppsResponseBody.js.map +1 -1
- package/dist/models/ListExecutorsResponseBody.d.ts +5 -0
- package/dist/models/ListExecutorsResponseBody.js +2 -0
- package/dist/models/ListExecutorsResponseBody.js.map +1 -1
- package/dist/models/ListJobsResponseBody.d.ts +5 -0
- package/dist/models/ListJobsResponseBody.js +2 -0
- package/dist/models/ListJobsResponseBody.js.map +1 -1
- package/dist/models/UpdateJobRequest.d.ts +5 -0
- package/dist/models/UpdateJobRequest.js +2 -0
- package/dist/models/UpdateJobRequest.js.map +1 -1
- package/dist/models/UpdateJobShrinkRequest.d.ts +5 -0
- package/dist/models/UpdateJobShrinkRequest.js +2 -0
- package/dist/models/UpdateJobShrinkRequest.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +24 -0
- package/src/models/CreateAppRequest.ts +7 -0
- package/src/models/CreateClusterRequest.ts +21 -0
- package/src/models/CreateClusterShrinkRequest.ts +21 -0
- package/src/models/CreateJobRequest.ts +7 -0
- package/src/models/CreateJobShrinkRequest.ts +7 -0
- package/src/models/GetAppResponseBody.ts +7 -0
- package/src/models/GetJobExecutionProgressResponseBody.ts +14 -0
- package/src/models/ListAppNamesResponseBody.ts +14 -0
- package/src/models/ListAppsResponseBody.ts +14 -0
- package/src/models/ListExecutorsResponseBody.ts +7 -0
- package/src/models/ListJobsResponseBody.ts +7 -0
- package/src/models/UpdateJobRequest.ts +7 -0
- package/src/models/UpdateJobShrinkRequest.ts +7 -0
|
@@ -117,6 +117,11 @@ export class CreateJobShrinkRequest extends $dara.Model {
|
|
|
117
117
|
* GMT+8
|
|
118
118
|
*/
|
|
119
119
|
timezone?: string;
|
|
120
|
+
/**
|
|
121
|
+
* @example
|
|
122
|
+
* 1
|
|
123
|
+
*/
|
|
124
|
+
weight?: number;
|
|
120
125
|
static names(): { [key: string]: string } {
|
|
121
126
|
return {
|
|
122
127
|
appName: 'AppName',
|
|
@@ -142,6 +147,7 @@ export class CreateJobShrinkRequest extends $dara.Model {
|
|
|
142
147
|
timeExpression: 'TimeExpression',
|
|
143
148
|
timeType: 'TimeType',
|
|
144
149
|
timezone: 'Timezone',
|
|
150
|
+
weight: 'Weight',
|
|
145
151
|
};
|
|
146
152
|
}
|
|
147
153
|
|
|
@@ -170,6 +176,7 @@ export class CreateJobShrinkRequest extends $dara.Model {
|
|
|
170
176
|
timeExpression: 'string',
|
|
171
177
|
timeType: 'number',
|
|
172
178
|
timezone: 'string',
|
|
179
|
+
weight: 'number',
|
|
173
180
|
};
|
|
174
181
|
}
|
|
175
182
|
|
|
@@ -16,6 +16,11 @@ export class GetAppResponseBodyData extends $dara.Model {
|
|
|
16
16
|
* test-app
|
|
17
17
|
*/
|
|
18
18
|
appName?: string;
|
|
19
|
+
/**
|
|
20
|
+
* @example
|
|
21
|
+
* 1
|
|
22
|
+
*/
|
|
23
|
+
appType?: number;
|
|
19
24
|
/**
|
|
20
25
|
* @example
|
|
21
26
|
* 18582193685027xx
|
|
@@ -67,6 +72,7 @@ export class GetAppResponseBodyData extends $dara.Model {
|
|
|
67
72
|
return {
|
|
68
73
|
accessToken: 'AccessToken',
|
|
69
74
|
appName: 'AppName',
|
|
75
|
+
appType: 'AppType',
|
|
70
76
|
creator: 'Creator',
|
|
71
77
|
enableLog: 'EnableLog',
|
|
72
78
|
executorNum: 'ExecutorNum',
|
|
@@ -85,6 +91,7 @@ export class GetAppResponseBodyData extends $dara.Model {
|
|
|
85
91
|
return {
|
|
86
92
|
accessToken: 'string',
|
|
87
93
|
appName: 'string',
|
|
94
|
+
appType: 'number',
|
|
88
95
|
creator: 'string',
|
|
89
96
|
enableLog: 'boolean',
|
|
90
97
|
executorNum: 'number',
|
|
@@ -324,17 +324,29 @@ export class GetJobExecutionProgressResponseBodyDataWorkerProgress extends $dara
|
|
|
324
324
|
}
|
|
325
325
|
|
|
326
326
|
export class GetJobExecutionProgressResponseBodyData extends $dara.Model {
|
|
327
|
+
/**
|
|
328
|
+
* @example
|
|
329
|
+
* 1758594961000
|
|
330
|
+
*/
|
|
331
|
+
endTime?: string;
|
|
327
332
|
jobDescription?: string;
|
|
328
333
|
rootProgress?: GetJobExecutionProgressResponseBodyDataRootProgress;
|
|
329
334
|
shardingProgress?: GetJobExecutionProgressResponseBodyDataShardingProgress[];
|
|
335
|
+
/**
|
|
336
|
+
* @example
|
|
337
|
+
* 1758506761000
|
|
338
|
+
*/
|
|
339
|
+
startTime?: string;
|
|
330
340
|
taskProgress?: GetJobExecutionProgressResponseBodyDataTaskProgress[];
|
|
331
341
|
totalProgress?: GetJobExecutionProgressResponseBodyDataTotalProgress;
|
|
332
342
|
workerProgress?: GetJobExecutionProgressResponseBodyDataWorkerProgress[];
|
|
333
343
|
static names(): { [key: string]: string } {
|
|
334
344
|
return {
|
|
345
|
+
endTime: 'EndTime',
|
|
335
346
|
jobDescription: 'JobDescription',
|
|
336
347
|
rootProgress: 'RootProgress',
|
|
337
348
|
shardingProgress: 'ShardingProgress',
|
|
349
|
+
startTime: 'StartTime',
|
|
338
350
|
taskProgress: 'TaskProgress',
|
|
339
351
|
totalProgress: 'TotalProgress',
|
|
340
352
|
workerProgress: 'WorkerProgress',
|
|
@@ -343,9 +355,11 @@ export class GetJobExecutionProgressResponseBodyData extends $dara.Model {
|
|
|
343
355
|
|
|
344
356
|
static types(): { [key: string]: any } {
|
|
345
357
|
return {
|
|
358
|
+
endTime: 'string',
|
|
346
359
|
jobDescription: 'string',
|
|
347
360
|
rootProgress: GetJobExecutionProgressResponseBodyDataRootProgress,
|
|
348
361
|
shardingProgress: { 'type': 'array', 'itemType': GetJobExecutionProgressResponseBodyDataShardingProgress },
|
|
362
|
+
startTime: 'string',
|
|
349
363
|
taskProgress: { 'type': 'array', 'itemType': GetJobExecutionProgressResponseBodyDataTaskProgress },
|
|
350
364
|
totalProgress: GetJobExecutionProgressResponseBodyDataTotalProgress,
|
|
351
365
|
workerProgress: { 'type': 'array', 'itemType': GetJobExecutionProgressResponseBodyDataWorkerProgress },
|
|
@@ -13,18 +13,30 @@ export class ListAppNamesResponseBodyData extends $dara.Model {
|
|
|
13
13
|
* test-app
|
|
14
14
|
*/
|
|
15
15
|
appName?: string;
|
|
16
|
+
/**
|
|
17
|
+
* @example
|
|
18
|
+
* 1
|
|
19
|
+
*/
|
|
20
|
+
appType?: number;
|
|
16
21
|
/**
|
|
17
22
|
* @example
|
|
18
23
|
* 15
|
|
19
24
|
*/
|
|
20
25
|
id?: number;
|
|
21
26
|
title?: string;
|
|
27
|
+
/**
|
|
28
|
+
* @example
|
|
29
|
+
* k8s_service
|
|
30
|
+
*/
|
|
31
|
+
workerRegistry?: string;
|
|
22
32
|
static names(): { [key: string]: string } {
|
|
23
33
|
return {
|
|
24
34
|
appGroupId: 'AppGroupId',
|
|
25
35
|
appName: 'AppName',
|
|
36
|
+
appType: 'AppType',
|
|
26
37
|
id: 'Id',
|
|
27
38
|
title: 'Title',
|
|
39
|
+
workerRegistry: 'WorkerRegistry',
|
|
28
40
|
};
|
|
29
41
|
}
|
|
30
42
|
|
|
@@ -32,8 +44,10 @@ export class ListAppNamesResponseBodyData extends $dara.Model {
|
|
|
32
44
|
return {
|
|
33
45
|
appGroupId: 'string',
|
|
34
46
|
appName: 'string',
|
|
47
|
+
appType: 'number',
|
|
35
48
|
id: 'number',
|
|
36
49
|
title: 'string',
|
|
50
|
+
workerRegistry: 'string',
|
|
37
51
|
};
|
|
38
52
|
}
|
|
39
53
|
|
|
@@ -16,6 +16,11 @@ export class ListAppsResponseBodyDataRecords extends $dara.Model {
|
|
|
16
16
|
* test-app
|
|
17
17
|
*/
|
|
18
18
|
appName?: string;
|
|
19
|
+
/**
|
|
20
|
+
* @example
|
|
21
|
+
* 1
|
|
22
|
+
*/
|
|
23
|
+
appType?: number;
|
|
19
24
|
/**
|
|
20
25
|
* @example
|
|
21
26
|
* 1827811800555555
|
|
@@ -63,10 +68,16 @@ export class ListAppsResponseBodyDataRecords extends $dara.Model {
|
|
|
63
68
|
* 1827811800555555
|
|
64
69
|
*/
|
|
65
70
|
updater?: string;
|
|
71
|
+
/**
|
|
72
|
+
* @example
|
|
73
|
+
* k8s_service
|
|
74
|
+
*/
|
|
75
|
+
workerRegistry?: string;
|
|
66
76
|
static names(): { [key: string]: string } {
|
|
67
77
|
return {
|
|
68
78
|
accessToken: 'AccessToken',
|
|
69
79
|
appName: 'AppName',
|
|
80
|
+
appType: 'AppType',
|
|
70
81
|
creator: 'Creator',
|
|
71
82
|
enableLog: 'EnableLog',
|
|
72
83
|
executorNum: 'ExecutorNum',
|
|
@@ -78,6 +89,7 @@ export class ListAppsResponseBodyDataRecords extends $dara.Model {
|
|
|
78
89
|
maxJobs: 'MaxJobs',
|
|
79
90
|
title: 'Title',
|
|
80
91
|
updater: 'Updater',
|
|
92
|
+
workerRegistry: 'WorkerRegistry',
|
|
81
93
|
};
|
|
82
94
|
}
|
|
83
95
|
|
|
@@ -85,6 +97,7 @@ export class ListAppsResponseBodyDataRecords extends $dara.Model {
|
|
|
85
97
|
return {
|
|
86
98
|
accessToken: 'string',
|
|
87
99
|
appName: 'string',
|
|
100
|
+
appType: 'number',
|
|
88
101
|
creator: 'string',
|
|
89
102
|
enableLog: 'boolean',
|
|
90
103
|
executorNum: 'number',
|
|
@@ -96,6 +109,7 @@ export class ListAppsResponseBodyDataRecords extends $dara.Model {
|
|
|
96
109
|
maxJobs: 'number',
|
|
97
110
|
title: 'string',
|
|
98
111
|
updater: 'string',
|
|
112
|
+
workerRegistry: 'string',
|
|
99
113
|
};
|
|
100
114
|
}
|
|
101
115
|
|
|
@@ -38,6 +38,11 @@ export class ListExecutorsResponseBodyData extends $dara.Model {
|
|
|
38
38
|
* 2.0.2
|
|
39
39
|
*/
|
|
40
40
|
version?: string;
|
|
41
|
+
/**
|
|
42
|
+
* @example
|
|
43
|
+
* 1
|
|
44
|
+
*/
|
|
45
|
+
weight?: number;
|
|
41
46
|
static names(): { [key: string]: string } {
|
|
42
47
|
return {
|
|
43
48
|
address: 'Address',
|
|
@@ -47,6 +52,7 @@ export class ListExecutorsResponseBodyData extends $dara.Model {
|
|
|
47
52
|
online: 'Online',
|
|
48
53
|
port: 'Port',
|
|
49
54
|
version: 'Version',
|
|
55
|
+
weight: 'Weight',
|
|
50
56
|
};
|
|
51
57
|
}
|
|
52
58
|
|
|
@@ -59,6 +65,7 @@ export class ListExecutorsResponseBodyData extends $dara.Model {
|
|
|
59
65
|
online: 'boolean',
|
|
60
66
|
port: 'number',
|
|
61
67
|
version: 'string',
|
|
68
|
+
weight: 'number',
|
|
62
69
|
};
|
|
63
70
|
}
|
|
64
71
|
|
|
@@ -125,6 +125,11 @@ export class ListJobsResponseBodyDataRecords extends $dara.Model {
|
|
|
125
125
|
* 1963096506470832
|
|
126
126
|
*/
|
|
127
127
|
updater?: string;
|
|
128
|
+
/**
|
|
129
|
+
* @example
|
|
130
|
+
* 1
|
|
131
|
+
*/
|
|
132
|
+
weight?: number;
|
|
128
133
|
xattrs?: string;
|
|
129
134
|
static names(): { [key: string]: string } {
|
|
130
135
|
return {
|
|
@@ -158,6 +163,7 @@ export class ListJobsResponseBodyDataRecords extends $dara.Model {
|
|
|
158
163
|
timeZone: 'TimeZone',
|
|
159
164
|
timezone: 'Timezone',
|
|
160
165
|
updater: 'Updater',
|
|
166
|
+
weight: 'Weight',
|
|
161
167
|
xattrs: 'Xattrs',
|
|
162
168
|
};
|
|
163
169
|
}
|
|
@@ -194,6 +200,7 @@ export class ListJobsResponseBodyDataRecords extends $dara.Model {
|
|
|
194
200
|
timeZone: 'string',
|
|
195
201
|
timezone: 'string',
|
|
196
202
|
updater: 'string',
|
|
203
|
+
weight: 'number',
|
|
197
204
|
xattrs: 'string',
|
|
198
205
|
};
|
|
199
206
|
}
|
|
@@ -216,6 +216,11 @@ export class UpdateJobRequest extends $dara.Model {
|
|
|
216
216
|
* Asia/Beijing
|
|
217
217
|
*/
|
|
218
218
|
timezone?: string;
|
|
219
|
+
/**
|
|
220
|
+
* @example
|
|
221
|
+
* 1
|
|
222
|
+
*/
|
|
223
|
+
weight?: number;
|
|
219
224
|
static names(): { [key: string]: string } {
|
|
220
225
|
return {
|
|
221
226
|
appName: 'AppName',
|
|
@@ -240,6 +245,7 @@ export class UpdateJobRequest extends $dara.Model {
|
|
|
240
245
|
timeExpression: 'TimeExpression',
|
|
241
246
|
timeType: 'TimeType',
|
|
242
247
|
timezone: 'Timezone',
|
|
248
|
+
weight: 'Weight',
|
|
243
249
|
};
|
|
244
250
|
}
|
|
245
251
|
|
|
@@ -267,6 +273,7 @@ export class UpdateJobRequest extends $dara.Model {
|
|
|
267
273
|
timeExpression: 'string',
|
|
268
274
|
timeType: 'number',
|
|
269
275
|
timezone: 'string',
|
|
276
|
+
weight: 'number',
|
|
270
277
|
};
|
|
271
278
|
}
|
|
272
279
|
|
|
@@ -106,6 +106,11 @@ export class UpdateJobShrinkRequest extends $dara.Model {
|
|
|
106
106
|
* Asia/Beijing
|
|
107
107
|
*/
|
|
108
108
|
timezone?: string;
|
|
109
|
+
/**
|
|
110
|
+
* @example
|
|
111
|
+
* 1
|
|
112
|
+
*/
|
|
113
|
+
weight?: number;
|
|
109
114
|
static names(): { [key: string]: string } {
|
|
110
115
|
return {
|
|
111
116
|
appName: 'AppName',
|
|
@@ -130,6 +135,7 @@ export class UpdateJobShrinkRequest extends $dara.Model {
|
|
|
130
135
|
timeExpression: 'TimeExpression',
|
|
131
136
|
timeType: 'TimeType',
|
|
132
137
|
timezone: 'Timezone',
|
|
138
|
+
weight: 'Weight',
|
|
133
139
|
};
|
|
134
140
|
}
|
|
135
141
|
|
|
@@ -157,6 +163,7 @@ export class UpdateJobShrinkRequest extends $dara.Model {
|
|
|
157
163
|
timeExpression: 'string',
|
|
158
164
|
timeType: 'number',
|
|
159
165
|
timezone: 'string',
|
|
166
|
+
weight: 'number',
|
|
160
167
|
};
|
|
161
168
|
}
|
|
162
169
|
|