@alicloud/schedulerx320240624 1.3.2 → 1.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 +77 -2
- package/dist/client.js +335 -6
- package/dist/client.js.map +1 -1
- package/dist/models/CreateExecutorsRequest.d.ts +45 -0
- package/dist/models/CreateExecutorsRequest.js +64 -0
- package/dist/models/CreateExecutorsRequest.js.map +1 -0
- package/dist/models/CreateExecutorsResponse.d.ts +19 -0
- package/dist/models/CreateExecutorsResponse.js +69 -0
- package/dist/models/CreateExecutorsResponse.js.map +1 -0
- package/dist/models/CreateExecutorsResponseBody.d.ts +79 -0
- package/dist/models/CreateExecutorsResponseBody.js +98 -0
- package/dist/models/CreateExecutorsResponseBody.js.map +1 -0
- package/dist/models/CreateJobRequest.d.ts +57 -0
- package/dist/models/CreateJobRequest.js +39 -1
- package/dist/models/CreateJobRequest.js.map +1 -1
- package/dist/models/CreateJobShrinkRequest.d.ts +19 -0
- package/dist/models/CreateJobShrinkRequest.js +6 -0
- package/dist/models/CreateJobShrinkRequest.js.map +1 -1
- package/dist/models/GetClusterResponseBody.d.ts +10 -0
- package/dist/models/GetClusterResponseBody.js +4 -0
- package/dist/models/GetClusterResponseBody.js.map +1 -1
- package/dist/models/GetExecutorConfigRequest.d.ts +29 -0
- package/dist/models/GetExecutorConfigRequest.js +60 -0
- package/dist/models/GetExecutorConfigRequest.js.map +1 -0
- package/dist/models/GetExecutorConfigResponse.d.ts +19 -0
- package/dist/models/GetExecutorConfigResponse.js +69 -0
- package/dist/models/GetExecutorConfigResponse.js.map +1 -0
- package/dist/models/GetExecutorConfigResponseBody.d.ts +59 -0
- package/dist/models/GetExecutorConfigResponseBody.js +90 -0
- package/dist/models/GetExecutorConfigResponseBody.js.map +1 -0
- package/dist/models/GetLogEventRequest.d.ts +15 -0
- package/dist/models/GetLogEventRequest.js +6 -0
- package/dist/models/GetLogEventRequest.js.map +1 -1
- package/dist/models/GetLogEventResponseBody.d.ts +15 -0
- package/dist/models/GetLogEventResponseBody.js +6 -0
- package/dist/models/GetLogEventResponseBody.js.map +1 -1
- package/dist/models/GetLogRequest.d.ts +10 -0
- package/dist/models/GetLogRequest.js +4 -0
- package/dist/models/GetLogRequest.js.map +1 -1
- package/dist/models/ListJobExecutionsRequest.d.ts +5 -0
- package/dist/models/ListJobExecutionsRequest.js +2 -0
- package/dist/models/ListJobExecutionsRequest.js.map +1 -1
- package/dist/models/ListJobExecutionsResponseBody.d.ts +19 -0
- package/dist/models/ListJobExecutionsResponseBody.js +6 -0
- package/dist/models/ListJobExecutionsResponseBody.js.map +1 -1
- package/dist/models/ListJobsRequest.d.ts +5 -0
- package/dist/models/ListJobsRequest.js +2 -0
- package/dist/models/ListJobsRequest.js.map +1 -1
- package/dist/models/ListJobsResponseBody.d.ts +20 -0
- package/dist/models/ListJobsResponseBody.js +8 -0
- package/dist/models/ListJobsResponseBody.js.map +1 -1
- package/dist/models/ListK8sResourceRequest.d.ts +44 -0
- package/dist/models/ListK8sResourceRequest.js +66 -0
- package/dist/models/ListK8sResourceRequest.js.map +1 -0
- package/dist/models/ListK8sResourceResponse.d.ts +19 -0
- package/dist/models/ListK8sResourceResponse.js +69 -0
- package/dist/models/ListK8sResourceResponse.js.map +1 -0
- package/dist/models/ListK8sResourceResponseBody.d.ts +63 -0
- package/dist/models/ListK8sResourceResponseBody.js +90 -0
- package/dist/models/ListK8sResourceResponseBody.js.map +1 -0
- package/dist/models/ListScheduleEventRequest.d.ts +14 -0
- package/dist/models/ListScheduleEventRequest.js +4 -0
- package/dist/models/ListScheduleEventRequest.js.map +1 -1
- package/dist/models/ListScheduleEventResponseBody.d.ts +15 -0
- package/dist/models/ListScheduleEventResponseBody.js +6 -0
- package/dist/models/ListScheduleEventResponseBody.js.map +1 -1
- package/dist/models/OperateRetryJobExecutionRequest.d.ts +1 -0
- package/dist/models/OperateRetryJobExecutionRequest.js +2 -0
- package/dist/models/OperateRetryJobExecutionRequest.js.map +1 -1
- package/dist/models/OperateRetryJobExecutionShrinkRequest.d.ts +1 -0
- package/dist/models/OperateRetryJobExecutionShrinkRequest.js +2 -0
- package/dist/models/OperateRetryJobExecutionShrinkRequest.js.map +1 -1
- package/dist/models/SyncJobsRequest.d.ts +50 -0
- package/dist/models/SyncJobsRequest.js +69 -0
- package/dist/models/SyncJobsRequest.js.map +1 -0
- package/dist/models/SyncJobsResponse.d.ts +19 -0
- package/dist/models/SyncJobsResponse.js +69 -0
- package/dist/models/SyncJobsResponse.js.map +1 -0
- package/dist/models/SyncJobsResponseBody.d.ts +33 -0
- package/dist/models/SyncJobsResponseBody.js +64 -0
- package/dist/models/SyncJobsResponseBody.js.map +1 -0
- package/dist/models/SyncJobsShrinkRequest.d.ts +50 -0
- package/dist/models/SyncJobsShrinkRequest.js +66 -0
- package/dist/models/SyncJobsShrinkRequest.js.map +1 -0
- package/dist/models/UpdateExecutorsRequest.d.ts +39 -0
- package/dist/models/UpdateExecutorsRequest.js +64 -0
- package/dist/models/UpdateExecutorsRequest.js.map +1 -0
- package/dist/models/UpdateExecutorsResponse.d.ts +19 -0
- package/dist/models/UpdateExecutorsResponse.js +69 -0
- package/dist/models/UpdateExecutorsResponse.js.map +1 -0
- package/dist/models/UpdateExecutorsResponseBody.d.ts +83 -0
- package/dist/models/UpdateExecutorsResponseBody.js +98 -0
- package/dist/models/UpdateExecutorsResponseBody.js.map +1 -0
- package/dist/models/UpdateJobRequest.d.ts +24 -0
- package/dist/models/UpdateJobRequest.js +8 -0
- package/dist/models/UpdateJobRequest.js.map +1 -1
- package/dist/models/UpdateJobShrinkRequest.d.ts +18 -0
- package/dist/models/UpdateJobShrinkRequest.js +4 -0
- package/dist/models/UpdateJobShrinkRequest.js.map +1 -1
- package/dist/models/model.d.ts +21 -0
- package/dist/models/model.js +51 -8
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +394 -6
- package/src/models/CreateExecutorsRequest.ts +64 -0
- package/src/models/CreateExecutorsResponse.ts +40 -0
- package/src/models/CreateExecutorsResponseBody.ts +123 -0
- package/src/models/CreateJobRequest.ts +86 -0
- package/src/models/CreateJobShrinkRequest.ts +25 -0
- package/src/models/GetClusterResponseBody.ts +14 -0
- package/src/models/GetExecutorConfigRequest.ts +44 -0
- package/src/models/GetExecutorConfigResponse.ts +40 -0
- package/src/models/GetExecutorConfigResponseBody.ts +95 -0
- package/src/models/GetLogEventRequest.ts +21 -0
- package/src/models/GetLogEventResponseBody.ts +21 -0
- package/src/models/GetLogRequest.ts +14 -0
- package/src/models/ListJobExecutionsRequest.ts +7 -0
- package/src/models/ListJobExecutionsResponseBody.ts +25 -0
- package/src/models/ListJobsRequest.ts +7 -0
- package/src/models/ListJobsResponseBody.ts +28 -0
- package/src/models/ListK8sResourceRequest.ts +65 -0
- package/src/models/ListK8sResourceResponse.ts +40 -0
- package/src/models/ListK8sResourceResponseBody.ts +99 -0
- package/src/models/ListScheduleEventRequest.ts +18 -0
- package/src/models/ListScheduleEventResponseBody.ts +21 -0
- package/src/models/OperateRetryJobExecutionRequest.ts +3 -0
- package/src/models/OperateRetryJobExecutionShrinkRequest.ts +3 -0
- package/src/models/SyncJobsRequest.ts +74 -0
- package/src/models/SyncJobsResponse.ts +40 -0
- package/src/models/SyncJobsResponseBody.ts +52 -0
- package/src/models/SyncJobsShrinkRequest.ts +71 -0
- package/src/models/UpdateExecutorsRequest.ts +58 -0
- package/src/models/UpdateExecutorsResponse.ts +40 -0
- package/src/models/UpdateExecutorsResponseBody.ts +127 -0
- package/src/models/UpdateJobRequest.ts +32 -0
- package/src/models/UpdateJobShrinkRequest.ts +22 -0
- package/src/models/model.ts +21 -0
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { SyncJobsResponseBody } from "./SyncJobsResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class SyncJobsResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: SyncJobsResponseBody;
|
|
10
|
+
static names(): { [key: string]: string } {
|
|
11
|
+
return {
|
|
12
|
+
headers: 'headers',
|
|
13
|
+
statusCode: 'statusCode',
|
|
14
|
+
body: 'body',
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
static types(): { [key: string]: any } {
|
|
19
|
+
return {
|
|
20
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
21
|
+
statusCode: 'number',
|
|
22
|
+
body: SyncJobsResponseBody,
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
validate() {
|
|
27
|
+
if(this.headers) {
|
|
28
|
+
$dara.Model.validateMap(this.headers);
|
|
29
|
+
}
|
|
30
|
+
if(this.body && typeof (this.body as any).validate === 'function') {
|
|
31
|
+
(this.body as any).validate();
|
|
32
|
+
}
|
|
33
|
+
super.validate();
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
constructor(map?: { [key: string]: any }) {
|
|
37
|
+
super(map);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class SyncJobsResponseBody extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* 200
|
|
9
|
+
*/
|
|
10
|
+
code?: number;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* Not found: appName not found.
|
|
14
|
+
*/
|
|
15
|
+
message?: string;
|
|
16
|
+
/**
|
|
17
|
+
* @example
|
|
18
|
+
* 6BCE89B3-E882-511D-9A75-D452A56EC4B1
|
|
19
|
+
*/
|
|
20
|
+
requestId?: string;
|
|
21
|
+
/**
|
|
22
|
+
* @example
|
|
23
|
+
* true
|
|
24
|
+
*/
|
|
25
|
+
success?: boolean;
|
|
26
|
+
static names(): { [key: string]: string } {
|
|
27
|
+
return {
|
|
28
|
+
code: 'Code',
|
|
29
|
+
message: 'Message',
|
|
30
|
+
requestId: 'RequestId',
|
|
31
|
+
success: 'Success',
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
static types(): { [key: string]: any } {
|
|
36
|
+
return {
|
|
37
|
+
code: 'number',
|
|
38
|
+
message: 'string',
|
|
39
|
+
requestId: 'string',
|
|
40
|
+
success: 'boolean',
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
validate() {
|
|
45
|
+
super.validate();
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
constructor(map?: { [key: string]: any }) {
|
|
49
|
+
super(map);
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class SyncJobsShrinkRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* This parameter is required.
|
|
9
|
+
*/
|
|
10
|
+
jobIdsShrink?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @remarks
|
|
13
|
+
* This parameter is required.
|
|
14
|
+
*
|
|
15
|
+
* @example
|
|
16
|
+
* test-source
|
|
17
|
+
*/
|
|
18
|
+
originalAppName?: string;
|
|
19
|
+
/**
|
|
20
|
+
* @remarks
|
|
21
|
+
* This parameter is required.
|
|
22
|
+
*
|
|
23
|
+
* @example
|
|
24
|
+
* xxljob-00ed7f0d742b1
|
|
25
|
+
*/
|
|
26
|
+
originalClusterId?: string;
|
|
27
|
+
/**
|
|
28
|
+
* @remarks
|
|
29
|
+
* This parameter is required.
|
|
30
|
+
*
|
|
31
|
+
* @example
|
|
32
|
+
* test-target
|
|
33
|
+
*/
|
|
34
|
+
targetAppName?: string;
|
|
35
|
+
/**
|
|
36
|
+
* @remarks
|
|
37
|
+
* This parameter is required.
|
|
38
|
+
*
|
|
39
|
+
* @example
|
|
40
|
+
* xxljob-008bfb1541111
|
|
41
|
+
*/
|
|
42
|
+
targetClusterId?: string;
|
|
43
|
+
static names(): { [key: string]: string } {
|
|
44
|
+
return {
|
|
45
|
+
jobIdsShrink: 'JobIds',
|
|
46
|
+
originalAppName: 'OriginalAppName',
|
|
47
|
+
originalClusterId: 'OriginalClusterId',
|
|
48
|
+
targetAppName: 'TargetAppName',
|
|
49
|
+
targetClusterId: 'TargetClusterId',
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
static types(): { [key: string]: any } {
|
|
54
|
+
return {
|
|
55
|
+
jobIdsShrink: 'string',
|
|
56
|
+
originalAppName: 'string',
|
|
57
|
+
originalClusterId: 'string',
|
|
58
|
+
targetAppName: 'string',
|
|
59
|
+
targetClusterId: 'string',
|
|
60
|
+
};
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
validate() {
|
|
64
|
+
super.validate();
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
constructor(map?: { [key: string]: any }) {
|
|
68
|
+
super(map);
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class UpdateExecutorsRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* This parameter is required.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* test-app
|
|
12
|
+
*/
|
|
13
|
+
appName?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* This parameter is required.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* xxljob-a1804a3226d
|
|
20
|
+
*/
|
|
21
|
+
clusterId?: string;
|
|
22
|
+
/**
|
|
23
|
+
* @example
|
|
24
|
+
* k8s_service
|
|
25
|
+
*/
|
|
26
|
+
workerType?: string;
|
|
27
|
+
/**
|
|
28
|
+
* @example
|
|
29
|
+
* [{"cluster":"xxxxx","namespace":"xxxxx","service":"xxxxx"}]
|
|
30
|
+
*/
|
|
31
|
+
workers?: string;
|
|
32
|
+
static names(): { [key: string]: string } {
|
|
33
|
+
return {
|
|
34
|
+
appName: 'AppName',
|
|
35
|
+
clusterId: 'ClusterId',
|
|
36
|
+
workerType: 'WorkerType',
|
|
37
|
+
workers: 'Workers',
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
static types(): { [key: string]: any } {
|
|
42
|
+
return {
|
|
43
|
+
appName: 'string',
|
|
44
|
+
clusterId: 'string',
|
|
45
|
+
workerType: 'string',
|
|
46
|
+
workers: 'string',
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
validate() {
|
|
51
|
+
super.validate();
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
constructor(map?: { [key: string]: any }) {
|
|
55
|
+
super(map);
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { UpdateExecutorsResponseBody } from "./UpdateExecutorsResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class UpdateExecutorsResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: UpdateExecutorsResponseBody;
|
|
10
|
+
static names(): { [key: string]: string } {
|
|
11
|
+
return {
|
|
12
|
+
headers: 'headers',
|
|
13
|
+
statusCode: 'statusCode',
|
|
14
|
+
body: 'body',
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
static types(): { [key: string]: any } {
|
|
19
|
+
return {
|
|
20
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
21
|
+
statusCode: 'number',
|
|
22
|
+
body: UpdateExecutorsResponseBody,
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
validate() {
|
|
27
|
+
if(this.headers) {
|
|
28
|
+
$dara.Model.validateMap(this.headers);
|
|
29
|
+
}
|
|
30
|
+
if(this.body && typeof (this.body as any).validate === 'function') {
|
|
31
|
+
(this.body as any).validate();
|
|
32
|
+
}
|
|
33
|
+
super.validate();
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
constructor(map?: { [key: string]: any }) {
|
|
37
|
+
super(map);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class UpdateExecutorsResponseBodyData extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* 1
|
|
9
|
+
*/
|
|
10
|
+
appGroupId?: number;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* 1
|
|
14
|
+
*/
|
|
15
|
+
appType?: number;
|
|
16
|
+
/**
|
|
17
|
+
* @example
|
|
18
|
+
* [{"cluster":"xxxxx","namespace":"xxxxx","service":"xxxxx"}]
|
|
19
|
+
*/
|
|
20
|
+
failedService?: string;
|
|
21
|
+
/**
|
|
22
|
+
* @example
|
|
23
|
+
* 1
|
|
24
|
+
*/
|
|
25
|
+
workId?: number;
|
|
26
|
+
/**
|
|
27
|
+
* @example
|
|
28
|
+
* k8s_service
|
|
29
|
+
*/
|
|
30
|
+
workerType?: string;
|
|
31
|
+
/**
|
|
32
|
+
* @example
|
|
33
|
+
* [{"cluster":"xxxxx","namespace":"xxxxx","service":"xxxxx"}]
|
|
34
|
+
*/
|
|
35
|
+
workers?: string;
|
|
36
|
+
static names(): { [key: string]: string } {
|
|
37
|
+
return {
|
|
38
|
+
appGroupId: 'AppGroupId',
|
|
39
|
+
appType: 'AppType',
|
|
40
|
+
failedService: 'FailedService',
|
|
41
|
+
workId: 'WorkId',
|
|
42
|
+
workerType: 'WorkerType',
|
|
43
|
+
workers: 'Workers',
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
static types(): { [key: string]: any } {
|
|
48
|
+
return {
|
|
49
|
+
appGroupId: 'number',
|
|
50
|
+
appType: 'number',
|
|
51
|
+
failedService: 'string',
|
|
52
|
+
workId: 'number',
|
|
53
|
+
workerType: 'string',
|
|
54
|
+
workers: 'string',
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
validate() {
|
|
59
|
+
super.validate();
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
constructor(map?: { [key: string]: any }) {
|
|
63
|
+
super(map);
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
export class UpdateExecutorsResponseBody extends $dara.Model {
|
|
68
|
+
/**
|
|
69
|
+
* @example
|
|
70
|
+
* 200
|
|
71
|
+
*/
|
|
72
|
+
code?: number;
|
|
73
|
+
/**
|
|
74
|
+
* @remarks
|
|
75
|
+
* -
|
|
76
|
+
*/
|
|
77
|
+
data?: UpdateExecutorsResponseBodyData;
|
|
78
|
+
/**
|
|
79
|
+
* @example
|
|
80
|
+
* Parameter error: content is null.
|
|
81
|
+
*/
|
|
82
|
+
message?: string;
|
|
83
|
+
/**
|
|
84
|
+
* @remarks
|
|
85
|
+
* Id of the request
|
|
86
|
+
*
|
|
87
|
+
* @example
|
|
88
|
+
* 3835AA29-2298-5434-BC53-9CC377CDFD2C
|
|
89
|
+
*/
|
|
90
|
+
requestId?: string;
|
|
91
|
+
/**
|
|
92
|
+
* @example
|
|
93
|
+
* true
|
|
94
|
+
*/
|
|
95
|
+
success?: boolean;
|
|
96
|
+
static names(): { [key: string]: string } {
|
|
97
|
+
return {
|
|
98
|
+
code: 'Code',
|
|
99
|
+
data: 'Data',
|
|
100
|
+
message: 'Message',
|
|
101
|
+
requestId: 'RequestId',
|
|
102
|
+
success: 'Success',
|
|
103
|
+
};
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
static types(): { [key: string]: any } {
|
|
107
|
+
return {
|
|
108
|
+
code: 'number',
|
|
109
|
+
data: UpdateExecutorsResponseBodyData,
|
|
110
|
+
message: 'string',
|
|
111
|
+
requestId: 'string',
|
|
112
|
+
success: 'boolean',
|
|
113
|
+
};
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
validate() {
|
|
117
|
+
if(this.data && typeof (this.data as any).validate === 'function') {
|
|
118
|
+
(this.data as any).validate();
|
|
119
|
+
}
|
|
120
|
+
super.validate();
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
constructor(map?: { [key: string]: any }) {
|
|
124
|
+
super(map);
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
|
|
@@ -3,6 +3,12 @@ import * as $dara from '@darabonba/typescript';
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
export class UpdateJobRequestNoticeConfig extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* 30
|
|
9
|
+
*/
|
|
10
|
+
endEarly?: number;
|
|
11
|
+
endEarlyEnable?: boolean;
|
|
6
12
|
/**
|
|
7
13
|
* @example
|
|
8
14
|
* true
|
|
@@ -45,6 +51,8 @@ export class UpdateJobRequestNoticeConfig extends $dara.Model {
|
|
|
45
51
|
timeoutKillEnable?: boolean;
|
|
46
52
|
static names(): { [key: string]: string } {
|
|
47
53
|
return {
|
|
54
|
+
endEarly: 'EndEarly',
|
|
55
|
+
endEarlyEnable: 'EndEarlyEnable',
|
|
48
56
|
failEnable: 'FailEnable',
|
|
49
57
|
failLimitTimes: 'FailLimitTimes',
|
|
50
58
|
missWorkerEnable: 'MissWorkerEnable',
|
|
@@ -58,6 +66,8 @@ export class UpdateJobRequestNoticeConfig extends $dara.Model {
|
|
|
58
66
|
|
|
59
67
|
static types(): { [key: string]: any } {
|
|
60
68
|
return {
|
|
69
|
+
endEarly: 'number',
|
|
70
|
+
endEarlyEnable: 'boolean',
|
|
61
71
|
failEnable: 'boolean',
|
|
62
72
|
failLimitTimes: 'number',
|
|
63
73
|
missWorkerEnable: 'boolean',
|
|
@@ -131,6 +141,10 @@ export class UpdateJobRequest extends $dara.Model {
|
|
|
131
141
|
* workday
|
|
132
142
|
*/
|
|
133
143
|
calendar?: string;
|
|
144
|
+
/**
|
|
145
|
+
* @example
|
|
146
|
+
* 1,2
|
|
147
|
+
*/
|
|
134
148
|
childJobId?: string;
|
|
135
149
|
/**
|
|
136
150
|
* @remarks
|
|
@@ -140,6 +154,11 @@ export class UpdateJobRequest extends $dara.Model {
|
|
|
140
154
|
* xxljob-b6ec1xxxx
|
|
141
155
|
*/
|
|
142
156
|
clusterId?: string;
|
|
157
|
+
/**
|
|
158
|
+
* @example
|
|
159
|
+
* 1
|
|
160
|
+
*/
|
|
161
|
+
dependentStrategy?: number;
|
|
143
162
|
/**
|
|
144
163
|
* @example
|
|
145
164
|
* test
|
|
@@ -195,12 +214,21 @@ export class UpdateJobRequest extends $dara.Model {
|
|
|
195
214
|
* 1
|
|
196
215
|
*/
|
|
197
216
|
routeStrategy?: number;
|
|
217
|
+
/**
|
|
218
|
+
* @example
|
|
219
|
+
* echo "hello world"
|
|
220
|
+
*/
|
|
198
221
|
script?: string;
|
|
199
222
|
/**
|
|
200
223
|
* @example
|
|
201
224
|
* 1716902187
|
|
202
225
|
*/
|
|
203
226
|
startTime?: number;
|
|
227
|
+
/**
|
|
228
|
+
* @example
|
|
229
|
+
* 1
|
|
230
|
+
*/
|
|
231
|
+
startTimeType?: string;
|
|
204
232
|
/**
|
|
205
233
|
* @example
|
|
206
234
|
* 0 0 4 ? * Mon/1
|
|
@@ -228,6 +256,7 @@ export class UpdateJobRequest extends $dara.Model {
|
|
|
228
256
|
calendar: 'Calendar',
|
|
229
257
|
childJobId: 'ChildJobId',
|
|
230
258
|
clusterId: 'ClusterId',
|
|
259
|
+
dependentStrategy: 'DependentStrategy',
|
|
231
260
|
description: 'Description',
|
|
232
261
|
executorBlockStrategy: 'ExecutorBlockStrategy',
|
|
233
262
|
jobHandler: 'JobHandler',
|
|
@@ -242,6 +271,7 @@ export class UpdateJobRequest extends $dara.Model {
|
|
|
242
271
|
routeStrategy: 'RouteStrategy',
|
|
243
272
|
script: 'Script',
|
|
244
273
|
startTime: 'StartTime',
|
|
274
|
+
startTimeType: 'StartTimeType',
|
|
245
275
|
timeExpression: 'TimeExpression',
|
|
246
276
|
timeType: 'TimeType',
|
|
247
277
|
timezone: 'Timezone',
|
|
@@ -256,6 +286,7 @@ export class UpdateJobRequest extends $dara.Model {
|
|
|
256
286
|
calendar: 'string',
|
|
257
287
|
childJobId: 'string',
|
|
258
288
|
clusterId: 'string',
|
|
289
|
+
dependentStrategy: 'number',
|
|
259
290
|
description: 'string',
|
|
260
291
|
executorBlockStrategy: 'number',
|
|
261
292
|
jobHandler: 'string',
|
|
@@ -270,6 +301,7 @@ export class UpdateJobRequest extends $dara.Model {
|
|
|
270
301
|
routeStrategy: 'number',
|
|
271
302
|
script: 'string',
|
|
272
303
|
startTime: 'number',
|
|
304
|
+
startTimeType: 'string',
|
|
273
305
|
timeExpression: 'string',
|
|
274
306
|
timeType: 'number',
|
|
275
307
|
timezone: 'string',
|
|
@@ -21,6 +21,10 @@ export class UpdateJobShrinkRequest extends $dara.Model {
|
|
|
21
21
|
* workday
|
|
22
22
|
*/
|
|
23
23
|
calendar?: string;
|
|
24
|
+
/**
|
|
25
|
+
* @example
|
|
26
|
+
* 1,2
|
|
27
|
+
*/
|
|
24
28
|
childJobId?: string;
|
|
25
29
|
/**
|
|
26
30
|
* @remarks
|
|
@@ -30,6 +34,11 @@ export class UpdateJobShrinkRequest extends $dara.Model {
|
|
|
30
34
|
* xxljob-b6ec1xxxx
|
|
31
35
|
*/
|
|
32
36
|
clusterId?: string;
|
|
37
|
+
/**
|
|
38
|
+
* @example
|
|
39
|
+
* 1
|
|
40
|
+
*/
|
|
41
|
+
dependentStrategy?: number;
|
|
33
42
|
/**
|
|
34
43
|
* @example
|
|
35
44
|
* test
|
|
@@ -85,12 +94,21 @@ export class UpdateJobShrinkRequest extends $dara.Model {
|
|
|
85
94
|
* 1
|
|
86
95
|
*/
|
|
87
96
|
routeStrategy?: number;
|
|
97
|
+
/**
|
|
98
|
+
* @example
|
|
99
|
+
* echo "hello world"
|
|
100
|
+
*/
|
|
88
101
|
script?: string;
|
|
89
102
|
/**
|
|
90
103
|
* @example
|
|
91
104
|
* 1716902187
|
|
92
105
|
*/
|
|
93
106
|
startTime?: number;
|
|
107
|
+
/**
|
|
108
|
+
* @example
|
|
109
|
+
* 1
|
|
110
|
+
*/
|
|
111
|
+
startTimeType?: string;
|
|
94
112
|
/**
|
|
95
113
|
* @example
|
|
96
114
|
* 0 0 4 ? * Mon/1
|
|
@@ -118,6 +136,7 @@ export class UpdateJobShrinkRequest extends $dara.Model {
|
|
|
118
136
|
calendar: 'Calendar',
|
|
119
137
|
childJobId: 'ChildJobId',
|
|
120
138
|
clusterId: 'ClusterId',
|
|
139
|
+
dependentStrategy: 'DependentStrategy',
|
|
121
140
|
description: 'Description',
|
|
122
141
|
executorBlockStrategy: 'ExecutorBlockStrategy',
|
|
123
142
|
jobHandler: 'JobHandler',
|
|
@@ -132,6 +151,7 @@ export class UpdateJobShrinkRequest extends $dara.Model {
|
|
|
132
151
|
routeStrategy: 'RouteStrategy',
|
|
133
152
|
script: 'Script',
|
|
134
153
|
startTime: 'StartTime',
|
|
154
|
+
startTimeType: 'StartTimeType',
|
|
135
155
|
timeExpression: 'TimeExpression',
|
|
136
156
|
timeType: 'TimeType',
|
|
137
157
|
timezone: 'Timezone',
|
|
@@ -146,6 +166,7 @@ export class UpdateJobShrinkRequest extends $dara.Model {
|
|
|
146
166
|
calendar: 'string',
|
|
147
167
|
childJobId: 'string',
|
|
148
168
|
clusterId: 'string',
|
|
169
|
+
dependentStrategy: 'number',
|
|
149
170
|
description: 'string',
|
|
150
171
|
executorBlockStrategy: 'number',
|
|
151
172
|
jobHandler: 'string',
|
|
@@ -160,6 +181,7 @@ export class UpdateJobShrinkRequest extends $dara.Model {
|
|
|
160
181
|
routeStrategy: 'number',
|
|
161
182
|
script: 'string',
|
|
162
183
|
startTime: 'number',
|
|
184
|
+
startTimeType: 'string',
|
|
163
185
|
timeExpression: 'string',
|
|
164
186
|
timeType: 'number',
|
|
165
187
|
timezone: 'string',
|
package/src/models/model.ts
CHANGED
|
@@ -3,6 +3,8 @@ export { CreateClusterRequestTag } from './CreateClusterRequest';
|
|
|
3
3
|
export { CreateClusterRequestVSwitches } from './CreateClusterRequest';
|
|
4
4
|
export { CreateClusterShrinkRequestTag } from './CreateClusterShrinkRequest';
|
|
5
5
|
export { CreateClusterResponseBodyData } from './CreateClusterResponseBody';
|
|
6
|
+
export { CreateExecutorsResponseBodyData } from './CreateExecutorsResponseBody';
|
|
7
|
+
export { CreateJobRequestCoordinate } from './CreateJobRequest';
|
|
6
8
|
export { CreateJobRequestNoticeConfig } from './CreateJobRequest';
|
|
7
9
|
export { CreateJobRequestNoticeContacts } from './CreateJobRequest';
|
|
8
10
|
export { CreateJobResponseBodyData } from './CreateJobResponseBody';
|
|
@@ -10,6 +12,7 @@ export { GetAppResponseBodyData } from './GetAppResponseBody';
|
|
|
10
12
|
export { GetClusterResponseBodyDataVSwitches } from './GetClusterResponseBody';
|
|
11
13
|
export { GetClusterResponseBodyData } from './GetClusterResponseBody';
|
|
12
14
|
export { GetDesigateInfoResponseBodyData } from './GetDesigateInfoResponseBody';
|
|
15
|
+
export { GetExecutorConfigResponseBodyData } from './GetExecutorConfigResponseBody';
|
|
13
16
|
export { GetJobExecutionResponseBodyData } from './GetJobExecutionResponseBody';
|
|
14
17
|
export { GetJobExecutionProgressResponseBodyDataRootProgress } from './GetJobExecutionProgressResponseBody';
|
|
15
18
|
export { GetJobExecutionProgressResponseBodyDataShardingProgressStatusType } from './GetJobExecutionProgressResponseBody';
|
|
@@ -37,12 +40,14 @@ export { ListJobScriptHistoryResponseBodyDataRecords } from './ListJobScriptHist
|
|
|
37
40
|
export { ListJobScriptHistoryResponseBodyData } from './ListJobScriptHistoryResponseBody';
|
|
38
41
|
export { ListJobsResponseBodyDataRecords } from './ListJobsResponseBody';
|
|
39
42
|
export { ListJobsResponseBodyData } from './ListJobsResponseBody';
|
|
43
|
+
export { ListK8sResourceResponseBodyData } from './ListK8sResourceResponseBody';
|
|
40
44
|
export { ListLablesResponseBodyData } from './ListLablesResponseBody';
|
|
41
45
|
export { ListRegionZoneResponseBodyData } from './ListRegionZoneResponseBody';
|
|
42
46
|
export { ListRegionsResponseBodyRegions } from './ListRegionsResponseBody';
|
|
43
47
|
export { ListScheduleEventResponseBodyDataRecords } from './ListScheduleEventResponseBody';
|
|
44
48
|
export { ListScheduleEventResponseBodyData } from './ListScheduleEventResponseBody';
|
|
45
49
|
export { OperateExecuteJobResponseBodyData } from './OperateExecuteJobResponseBody';
|
|
50
|
+
export { UpdateExecutorsResponseBodyData } from './UpdateExecutorsResponseBody';
|
|
46
51
|
export { UpdateJobRequestNoticeConfig } from './UpdateJobRequest';
|
|
47
52
|
export { UpdateJobRequestNoticeContacts } from './UpdateJobRequest';
|
|
48
53
|
export { CreateAppRequest } from './CreateAppRequest';
|
|
@@ -52,6 +57,9 @@ export { CreateClusterRequest } from './CreateClusterRequest';
|
|
|
52
57
|
export { CreateClusterShrinkRequest } from './CreateClusterShrinkRequest';
|
|
53
58
|
export { CreateClusterResponseBody } from './CreateClusterResponseBody';
|
|
54
59
|
export { CreateClusterResponse } from './CreateClusterResponse';
|
|
60
|
+
export { CreateExecutorsRequest } from './CreateExecutorsRequest';
|
|
61
|
+
export { CreateExecutorsResponseBody } from './CreateExecutorsResponseBody';
|
|
62
|
+
export { CreateExecutorsResponse } from './CreateExecutorsResponse';
|
|
55
63
|
export { CreateJobRequest } from './CreateJobRequest';
|
|
56
64
|
export { CreateJobShrinkRequest } from './CreateJobShrinkRequest';
|
|
57
65
|
export { CreateJobResponseBody } from './CreateJobResponseBody';
|
|
@@ -78,6 +86,9 @@ export { GetClusterResponse } from './GetClusterResponse';
|
|
|
78
86
|
export { GetDesigateInfoRequest } from './GetDesigateInfoRequest';
|
|
79
87
|
export { GetDesigateInfoResponseBody } from './GetDesigateInfoResponseBody';
|
|
80
88
|
export { GetDesigateInfoResponse } from './GetDesigateInfoResponse';
|
|
89
|
+
export { GetExecutorConfigRequest } from './GetExecutorConfigRequest';
|
|
90
|
+
export { GetExecutorConfigResponseBody } from './GetExecutorConfigResponseBody';
|
|
91
|
+
export { GetExecutorConfigResponse } from './GetExecutorConfigResponse';
|
|
81
92
|
export { GetJobExecutionRequest } from './GetJobExecutionRequest';
|
|
82
93
|
export { GetJobExecutionResponseBody } from './GetJobExecutionResponseBody';
|
|
83
94
|
export { GetJobExecutionResponse } from './GetJobExecutionResponse';
|
|
@@ -126,6 +137,9 @@ export { ListJobScriptHistoryResponse } from './ListJobScriptHistoryResponse';
|
|
|
126
137
|
export { ListJobsRequest } from './ListJobsRequest';
|
|
127
138
|
export { ListJobsResponseBody } from './ListJobsResponseBody';
|
|
128
139
|
export { ListJobsResponse } from './ListJobsResponse';
|
|
140
|
+
export { ListK8sResourceRequest } from './ListK8sResourceRequest';
|
|
141
|
+
export { ListK8sResourceResponseBody } from './ListK8sResourceResponseBody';
|
|
142
|
+
export { ListK8sResourceResponse } from './ListK8sResourceResponse';
|
|
129
143
|
export { ListLablesRequest } from './ListLablesRequest';
|
|
130
144
|
export { ListLablesResponseBody } from './ListLablesResponseBody';
|
|
131
145
|
export { ListLablesResponse } from './ListLablesResponse';
|
|
@@ -165,12 +179,19 @@ export { OperateStopJobExecutionRequest } from './OperateStopJobExecutionRequest
|
|
|
165
179
|
export { OperateStopJobExecutionShrinkRequest } from './OperateStopJobExecutionShrinkRequest';
|
|
166
180
|
export { OperateStopJobExecutionResponseBody } from './OperateStopJobExecutionResponseBody';
|
|
167
181
|
export { OperateStopJobExecutionResponse } from './OperateStopJobExecutionResponse';
|
|
182
|
+
export { SyncJobsRequest } from './SyncJobsRequest';
|
|
183
|
+
export { SyncJobsShrinkRequest } from './SyncJobsShrinkRequest';
|
|
184
|
+
export { SyncJobsResponseBody } from './SyncJobsResponseBody';
|
|
185
|
+
export { SyncJobsResponse } from './SyncJobsResponse';
|
|
168
186
|
export { UpdateAppRequest } from './UpdateAppRequest';
|
|
169
187
|
export { UpdateAppResponseBody } from './UpdateAppResponseBody';
|
|
170
188
|
export { UpdateAppResponse } from './UpdateAppResponse';
|
|
171
189
|
export { UpdateClusterRequest } from './UpdateClusterRequest';
|
|
172
190
|
export { UpdateClusterResponseBody } from './UpdateClusterResponseBody';
|
|
173
191
|
export { UpdateClusterResponse } from './UpdateClusterResponse';
|
|
192
|
+
export { UpdateExecutorsRequest } from './UpdateExecutorsRequest';
|
|
193
|
+
export { UpdateExecutorsResponseBody } from './UpdateExecutorsResponseBody';
|
|
194
|
+
export { UpdateExecutorsResponse } from './UpdateExecutorsResponse';
|
|
174
195
|
export { UpdateJobRequest } from './UpdateJobRequest';
|
|
175
196
|
export { UpdateJobShrinkRequest } from './UpdateJobShrinkRequest';
|
|
176
197
|
export { UpdateJobResponseBody } from './UpdateJobResponseBody';
|