@alicloud/schedulerx320240624 1.0.4 → 1.2.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 +53 -0
- package/dist/client.js +139 -0
- package/dist/client.js.map +1 -1
- package/dist/models/CreateClusterRequest.d.ts +2 -0
- package/dist/models/CreateClusterRequest.js +6 -0
- package/dist/models/CreateClusterRequest.js.map +1 -1
- package/dist/models/CreateClusterRequestTag.d.ts +15 -0
- package/dist/models/CreateClusterRequestTag.js +60 -0
- package/dist/models/CreateClusterRequestTag.js.map +1 -0
- package/dist/models/CreateClusterShrinkRequest.d.ts +2 -0
- package/dist/models/CreateClusterShrinkRequest.js +6 -0
- package/dist/models/CreateClusterShrinkRequest.js.map +1 -1
- package/dist/models/CreateClusterShrinkRequestTag.d.ts +15 -0
- package/dist/models/CreateClusterShrinkRequestTag.js +60 -0
- package/dist/models/CreateClusterShrinkRequestTag.js.map +1 -0
- package/dist/models/CreateJobRequest.d.ts +1 -3
- package/dist/models/CreateJobRequest.js +2 -0
- package/dist/models/CreateJobRequest.js.map +1 -1
- package/dist/models/CreateJobShrinkRequest.d.ts +1 -3
- package/dist/models/CreateJobShrinkRequest.js +2 -0
- package/dist/models/CreateJobShrinkRequest.js.map +1 -1
- package/dist/models/GetClusterResponseBodyData.d.ts +3 -0
- package/dist/models/GetClusterResponseBodyData.js +5 -0
- package/dist/models/GetClusterResponseBodyData.js.map +1 -1
- package/dist/models/GetJobExecutionRequest.d.ts +38 -0
- package/dist/models/GetJobExecutionRequest.js +64 -0
- package/dist/models/GetJobExecutionRequest.js.map +1 -0
- package/dist/models/GetJobExecutionResponse.d.ts +19 -0
- package/dist/models/GetJobExecutionResponse.js +69 -0
- package/dist/models/GetJobExecutionResponse.js.map +1 -0
- package/dist/models/GetJobExecutionResponseBody.d.ts +42 -0
- package/dist/models/GetJobExecutionResponseBody.js +70 -0
- package/dist/models/GetJobExecutionResponseBody.js.map +1 -0
- package/dist/models/GetJobExecutionResponseBodyData.d.ts +96 -0
- package/dist/models/GetJobExecutionResponseBodyData.js +94 -0
- package/dist/models/GetJobExecutionResponseBodyData.js.map +1 -0
- package/dist/models/GetJobExecutionThreadDumpRequest.d.ts +33 -0
- package/dist/models/GetJobExecutionThreadDumpRequest.js +64 -0
- package/dist/models/GetJobExecutionThreadDumpRequest.js.map +1 -0
- package/dist/models/GetJobExecutionThreadDumpResponse.d.ts +19 -0
- package/dist/models/GetJobExecutionThreadDumpResponse.js +69 -0
- package/dist/models/GetJobExecutionThreadDumpResponse.js.map +1 -0
- package/dist/models/GetJobExecutionThreadDumpResponseBody.d.ts +39 -0
- package/dist/models/GetJobExecutionThreadDumpResponseBody.js +70 -0
- package/dist/models/GetJobExecutionThreadDumpResponseBody.js.map +1 -0
- package/dist/models/GetJobExecutionThreadDumpResponseBodyData.d.ts +18 -0
- package/dist/models/GetJobExecutionThreadDumpResponseBodyData.js +58 -0
- package/dist/models/GetJobExecutionThreadDumpResponseBodyData.js.map +1 -0
- package/dist/models/GetLogEventRequest.d.ts +71 -0
- package/dist/models/GetLogEventRequest.js +78 -0
- package/dist/models/GetLogEventRequest.js.map +1 -0
- package/dist/models/GetLogEventResponse.d.ts +19 -0
- package/dist/models/GetLogEventResponse.js +69 -0
- package/dist/models/GetLogEventResponse.js.map +1 -0
- package/dist/models/GetLogEventResponseBody.d.ts +39 -0
- package/dist/models/GetLogEventResponseBody.js +70 -0
- package/dist/models/GetLogEventResponseBody.js.map +1 -0
- package/dist/models/GetLogEventResponseBodyData.d.ts +34 -0
- package/dist/models/GetLogEventResponseBodyData.js +68 -0
- package/dist/models/GetLogEventResponseBodyData.js.map +1 -0
- package/dist/models/GetLogEventResponseBodyDataRecords.d.ts +48 -0
- package/dist/models/GetLogEventResponseBodyDataRecords.js +70 -0
- package/dist/models/GetLogEventResponseBodyDataRecords.js.map +1 -0
- package/dist/models/ListClustersRequest.d.ts +2 -0
- package/dist/models/ListClustersRequest.js +6 -0
- package/dist/models/ListClustersRequest.js.map +1 -1
- package/dist/models/ListClustersRequestTag.d.ts +15 -0
- package/dist/models/ListClustersRequestTag.js +60 -0
- package/dist/models/ListClustersRequestTag.js.map +1 -0
- package/dist/models/ListClustersResponseBodyDataRecords.d.ts +3 -0
- package/dist/models/ListClustersResponseBodyDataRecords.js +5 -0
- package/dist/models/ListClustersResponseBodyDataRecords.js.map +1 -1
- package/dist/models/ListJobsResponseBodyDataRecords.d.ts +1 -0
- package/dist/models/ListJobsResponseBodyDataRecords.js +2 -0
- package/dist/models/ListJobsResponseBodyDataRecords.js.map +1 -1
- package/dist/models/UpdateJobRequest.d.ts +1 -0
- package/dist/models/UpdateJobRequest.js +2 -0
- package/dist/models/UpdateJobRequest.js.map +1 -1
- package/dist/models/UpdateJobShrinkRequest.d.ts +1 -0
- package/dist/models/UpdateJobShrinkRequest.js +2 -0
- package/dist/models/UpdateJobShrinkRequest.js.map +1 -1
- package/dist/models/model.d.ts +16 -0
- package/dist/models/model.js +36 -4
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +152 -0
- package/src/models/CreateClusterRequest.ts +7 -0
- package/src/models/CreateClusterRequestTag.ts +30 -0
- package/src/models/CreateClusterShrinkRequest.ts +7 -0
- package/src/models/CreateClusterShrinkRequestTag.ts +30 -0
- package/src/models/CreateJobRequest.ts +3 -3
- package/src/models/CreateJobShrinkRequest.ts +3 -3
- package/src/models/GetClusterResponseBodyData.ts +6 -0
- package/src/models/GetJobExecutionRequest.ts +57 -0
- package/src/models/GetJobExecutionResponse.ts +40 -0
- package/src/models/GetJobExecutionResponseBody.ts +66 -0
- package/src/models/GetJobExecutionResponseBodyData.ts +145 -0
- package/src/models/GetJobExecutionThreadDumpRequest.ts +52 -0
- package/src/models/GetJobExecutionThreadDumpResponse.ts +40 -0
- package/src/models/GetJobExecutionThreadDumpResponseBody.ts +63 -0
- package/src/models/GetJobExecutionThreadDumpResponseBodyData.ts +31 -0
- package/src/models/GetLogEventRequest.ts +104 -0
- package/src/models/GetLogEventResponse.ts +40 -0
- package/src/models/GetLogEventResponseBody.ts +63 -0
- package/src/models/GetLogEventResponseBodyData.ts +56 -0
- package/src/models/GetLogEventResponseBodyDataRecords.ts +73 -0
- package/src/models/ListClustersRequest.ts +7 -0
- package/src/models/ListClustersRequestTag.ts +30 -0
- package/src/models/ListClustersResponseBodyDataRecords.ts +6 -0
- package/src/models/ListJobsResponseBodyDataRecords.ts +3 -0
- package/src/models/UpdateJobRequest.ts +3 -0
- package/src/models/UpdateJobShrinkRequest.ts +3 -0
- package/src/models/model.ts +16 -0
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class CreateClusterRequestTag extends $dara.Model {
|
|
6
|
+
key?: string;
|
|
7
|
+
value?: string;
|
|
8
|
+
static names(): { [key: string]: string } {
|
|
9
|
+
return {
|
|
10
|
+
key: 'Key',
|
|
11
|
+
value: 'Value',
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
static types(): { [key: string]: any } {
|
|
16
|
+
return {
|
|
17
|
+
key: 'string',
|
|
18
|
+
value: 'string',
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
validate() {
|
|
23
|
+
super.validate();
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
constructor(map?: { [key: string]: any }) {
|
|
27
|
+
super(map);
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
// This file is auto-generated, don't edit it
|
|
2
2
|
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { CreateClusterShrinkRequestTag } from "./CreateClusterShrinkRequestTag";
|
|
3
4
|
|
|
4
5
|
|
|
5
6
|
export class CreateClusterShrinkRequest extends $dara.Model {
|
|
@@ -27,6 +28,7 @@ export class CreateClusterShrinkRequest extends $dara.Model {
|
|
|
27
28
|
* xxljob
|
|
28
29
|
*/
|
|
29
30
|
engineType?: string;
|
|
31
|
+
tag?: CreateClusterShrinkRequestTag[];
|
|
30
32
|
/**
|
|
31
33
|
* @remarks
|
|
32
34
|
* This parameter is required.
|
|
@@ -47,6 +49,7 @@ export class CreateClusterShrinkRequest extends $dara.Model {
|
|
|
47
49
|
clusterName: 'ClusterName',
|
|
48
50
|
clusterSpec: 'ClusterSpec',
|
|
49
51
|
engineType: 'EngineType',
|
|
52
|
+
tag: 'Tag',
|
|
50
53
|
vSwitchesShrink: 'VSwitches',
|
|
51
54
|
vpcId: 'VpcId',
|
|
52
55
|
};
|
|
@@ -57,12 +60,16 @@ export class CreateClusterShrinkRequest extends $dara.Model {
|
|
|
57
60
|
clusterName: 'string',
|
|
58
61
|
clusterSpec: 'string',
|
|
59
62
|
engineType: 'string',
|
|
63
|
+
tag: { 'type': 'array', 'itemType': CreateClusterShrinkRequestTag },
|
|
60
64
|
vSwitchesShrink: 'string',
|
|
61
65
|
vpcId: 'string',
|
|
62
66
|
};
|
|
63
67
|
}
|
|
64
68
|
|
|
65
69
|
validate() {
|
|
70
|
+
if(Array.isArray(this.tag)) {
|
|
71
|
+
$dara.Model.validateArray(this.tag);
|
|
72
|
+
}
|
|
66
73
|
super.validate();
|
|
67
74
|
}
|
|
68
75
|
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class CreateClusterShrinkRequestTag extends $dara.Model {
|
|
6
|
+
key?: string;
|
|
7
|
+
value?: string;
|
|
8
|
+
static names(): { [key: string]: string } {
|
|
9
|
+
return {
|
|
10
|
+
key: 'Key',
|
|
11
|
+
value: 'Value',
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
static types(): { [key: string]: any } {
|
|
16
|
+
return {
|
|
17
|
+
key: 'string',
|
|
18
|
+
value: 'string',
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
validate() {
|
|
23
|
+
super.validate();
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
constructor(map?: { [key: string]: any }) {
|
|
27
|
+
super(map);
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
|
|
@@ -43,9 +43,6 @@ export class CreateJobRequest extends $dara.Model {
|
|
|
43
43
|
*/
|
|
44
44
|
executorBlockStrategy?: number;
|
|
45
45
|
/**
|
|
46
|
-
* @remarks
|
|
47
|
-
* This parameter is required.
|
|
48
|
-
*
|
|
49
46
|
* @example
|
|
50
47
|
* testJobVoidHandler
|
|
51
48
|
*/
|
|
@@ -93,6 +90,7 @@ export class CreateJobRequest extends $dara.Model {
|
|
|
93
90
|
* 1
|
|
94
91
|
*/
|
|
95
92
|
routeStrategy?: number;
|
|
93
|
+
script?: string;
|
|
96
94
|
/**
|
|
97
95
|
* @example
|
|
98
96
|
* 1701310327000
|
|
@@ -140,6 +138,7 @@ export class CreateJobRequest extends $dara.Model {
|
|
|
140
138
|
parameters: 'Parameters',
|
|
141
139
|
priority: 'Priority',
|
|
142
140
|
routeStrategy: 'RouteStrategy',
|
|
141
|
+
script: 'Script',
|
|
143
142
|
startTime: 'StartTime',
|
|
144
143
|
status: 'Status',
|
|
145
144
|
timeExpression: 'TimeExpression',
|
|
@@ -167,6 +166,7 @@ export class CreateJobRequest extends $dara.Model {
|
|
|
167
166
|
parameters: 'string',
|
|
168
167
|
priority: 'number',
|
|
169
168
|
routeStrategy: 'number',
|
|
169
|
+
script: 'string',
|
|
170
170
|
startTime: 'number',
|
|
171
171
|
status: 'number',
|
|
172
172
|
timeExpression: 'string',
|
|
@@ -41,9 +41,6 @@ export class CreateJobShrinkRequest extends $dara.Model {
|
|
|
41
41
|
*/
|
|
42
42
|
executorBlockStrategy?: number;
|
|
43
43
|
/**
|
|
44
|
-
* @remarks
|
|
45
|
-
* This parameter is required.
|
|
46
|
-
*
|
|
47
44
|
* @example
|
|
48
45
|
* testJobVoidHandler
|
|
49
46
|
*/
|
|
@@ -91,6 +88,7 @@ export class CreateJobShrinkRequest extends $dara.Model {
|
|
|
91
88
|
* 1
|
|
92
89
|
*/
|
|
93
90
|
routeStrategy?: number;
|
|
91
|
+
script?: string;
|
|
94
92
|
/**
|
|
95
93
|
* @example
|
|
96
94
|
* 1701310327000
|
|
@@ -138,6 +136,7 @@ export class CreateJobShrinkRequest extends $dara.Model {
|
|
|
138
136
|
parameters: 'Parameters',
|
|
139
137
|
priority: 'Priority',
|
|
140
138
|
routeStrategy: 'RouteStrategy',
|
|
139
|
+
script: 'Script',
|
|
141
140
|
startTime: 'StartTime',
|
|
142
141
|
status: 'Status',
|
|
143
142
|
timeExpression: 'TimeExpression',
|
|
@@ -165,6 +164,7 @@ export class CreateJobShrinkRequest extends $dara.Model {
|
|
|
165
164
|
parameters: 'string',
|
|
166
165
|
priority: 'number',
|
|
167
166
|
routeStrategy: 'number',
|
|
167
|
+
script: 'string',
|
|
168
168
|
startTime: 'number',
|
|
169
169
|
status: 'number',
|
|
170
170
|
timeExpression: 'string',
|
|
@@ -103,6 +103,7 @@ export class GetClusterResponseBodyData extends $dara.Model {
|
|
|
103
103
|
* 2
|
|
104
104
|
*/
|
|
105
105
|
status?: number;
|
|
106
|
+
tags?: { [key: string]: any };
|
|
106
107
|
vSwitches?: GetClusterResponseBodyDataVSwitches[];
|
|
107
108
|
versionLifecycle?: string;
|
|
108
109
|
/**
|
|
@@ -137,6 +138,7 @@ export class GetClusterResponseBodyData extends $dara.Model {
|
|
|
137
138
|
productType: 'ProductType',
|
|
138
139
|
spm: 'Spm',
|
|
139
140
|
status: 'Status',
|
|
141
|
+
tags: 'Tags',
|
|
140
142
|
vSwitches: 'VSwitches',
|
|
141
143
|
versionLifecycle: 'VersionLifecycle',
|
|
142
144
|
vpcId: 'VpcId',
|
|
@@ -163,6 +165,7 @@ export class GetClusterResponseBodyData extends $dara.Model {
|
|
|
163
165
|
productType: 'number',
|
|
164
166
|
spm: 'number',
|
|
165
167
|
status: 'number',
|
|
168
|
+
tags: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
166
169
|
vSwitches: { 'type': 'array', 'itemType': GetClusterResponseBodyDataVSwitches },
|
|
167
170
|
versionLifecycle: 'string',
|
|
168
171
|
vpcId: 'string',
|
|
@@ -172,6 +175,9 @@ export class GetClusterResponseBodyData extends $dara.Model {
|
|
|
172
175
|
}
|
|
173
176
|
|
|
174
177
|
validate() {
|
|
178
|
+
if(this.tags) {
|
|
179
|
+
$dara.Model.validateMap(this.tags);
|
|
180
|
+
}
|
|
175
181
|
if(Array.isArray(this.vSwitches)) {
|
|
176
182
|
$dara.Model.validateArray(this.vSwitches);
|
|
177
183
|
}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class GetJobExecutionRequest 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-b6ec1xxxx
|
|
20
|
+
*/
|
|
21
|
+
clusterId?: string;
|
|
22
|
+
/**
|
|
23
|
+
* @remarks
|
|
24
|
+
* This parameter is required.
|
|
25
|
+
*
|
|
26
|
+
* @example
|
|
27
|
+
* 1310630367761285120
|
|
28
|
+
*/
|
|
29
|
+
jobExecutionId?: string;
|
|
30
|
+
mseSessionId?: string;
|
|
31
|
+
static names(): { [key: string]: string } {
|
|
32
|
+
return {
|
|
33
|
+
appName: 'AppName',
|
|
34
|
+
clusterId: 'ClusterId',
|
|
35
|
+
jobExecutionId: 'JobExecutionId',
|
|
36
|
+
mseSessionId: 'MseSessionId',
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
static types(): { [key: string]: any } {
|
|
41
|
+
return {
|
|
42
|
+
appName: 'string',
|
|
43
|
+
clusterId: 'string',
|
|
44
|
+
jobExecutionId: 'string',
|
|
45
|
+
mseSessionId: 'string',
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
validate() {
|
|
50
|
+
super.validate();
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
constructor(map?: { [key: string]: any }) {
|
|
54
|
+
super(map);
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { GetJobExecutionResponseBody } from "./GetJobExecutionResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class GetJobExecutionResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: GetJobExecutionResponseBody;
|
|
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: GetJobExecutionResponseBody,
|
|
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,66 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { GetJobExecutionResponseBodyData } from "./GetJobExecutionResponseBodyData";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class GetJobExecutionResponseBody extends $dara.Model {
|
|
7
|
+
/**
|
|
8
|
+
* @example
|
|
9
|
+
* 200
|
|
10
|
+
*/
|
|
11
|
+
code?: number;
|
|
12
|
+
/**
|
|
13
|
+
* @remarks
|
|
14
|
+
* -
|
|
15
|
+
*/
|
|
16
|
+
data?: GetJobExecutionResponseBodyData;
|
|
17
|
+
/**
|
|
18
|
+
* @example
|
|
19
|
+
* Parameter error: content is null.
|
|
20
|
+
*/
|
|
21
|
+
message?: string;
|
|
22
|
+
/**
|
|
23
|
+
* @remarks
|
|
24
|
+
* Id of the request
|
|
25
|
+
*
|
|
26
|
+
* @example
|
|
27
|
+
* 39938688-0BAB-5AD8-BF02-F4910FAC7589
|
|
28
|
+
*/
|
|
29
|
+
requestId?: string;
|
|
30
|
+
/**
|
|
31
|
+
* @example
|
|
32
|
+
* true
|
|
33
|
+
*/
|
|
34
|
+
success?: boolean;
|
|
35
|
+
static names(): { [key: string]: string } {
|
|
36
|
+
return {
|
|
37
|
+
code: 'Code',
|
|
38
|
+
data: 'Data',
|
|
39
|
+
message: 'Message',
|
|
40
|
+
requestId: 'RequestId',
|
|
41
|
+
success: 'Success',
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
static types(): { [key: string]: any } {
|
|
46
|
+
return {
|
|
47
|
+
code: 'number',
|
|
48
|
+
data: GetJobExecutionResponseBodyData,
|
|
49
|
+
message: 'string',
|
|
50
|
+
requestId: 'string',
|
|
51
|
+
success: 'boolean',
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
validate() {
|
|
56
|
+
if(this.data && typeof (this.data as any).validate === 'function') {
|
|
57
|
+
(this.data as any).validate();
|
|
58
|
+
}
|
|
59
|
+
super.validate();
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
constructor(map?: { [key: string]: any }) {
|
|
63
|
+
super(map);
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
|
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class GetJobExecutionResponseBodyData extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* test-app
|
|
9
|
+
*/
|
|
10
|
+
appName?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* 1
|
|
14
|
+
*/
|
|
15
|
+
attempt?: number;
|
|
16
|
+
dataTime?: string;
|
|
17
|
+
/**
|
|
18
|
+
* @example
|
|
19
|
+
* 1
|
|
20
|
+
*/
|
|
21
|
+
duration?: number;
|
|
22
|
+
/**
|
|
23
|
+
* @example
|
|
24
|
+
* 2024-10-29 15:56:36
|
|
25
|
+
*/
|
|
26
|
+
endTime?: string;
|
|
27
|
+
/**
|
|
28
|
+
* @example
|
|
29
|
+
* {\\"Status\\": \\"NORMAL\\", \\"ActiveCount\\": 4, \\"UnavailableCount\\": 0, \\"ExpectedCount\\": 4, \\"RiskCount\\": 0}
|
|
30
|
+
*/
|
|
31
|
+
executor?: string;
|
|
32
|
+
/**
|
|
33
|
+
* @example
|
|
34
|
+
* 1310630367761285120
|
|
35
|
+
*/
|
|
36
|
+
jobExecutionId?: string;
|
|
37
|
+
/**
|
|
38
|
+
* @example
|
|
39
|
+
* 74
|
|
40
|
+
*/
|
|
41
|
+
jobId?: number;
|
|
42
|
+
jobName?: string;
|
|
43
|
+
/**
|
|
44
|
+
* @example
|
|
45
|
+
* xxljob
|
|
46
|
+
*/
|
|
47
|
+
jobType?: string;
|
|
48
|
+
/**
|
|
49
|
+
* @example
|
|
50
|
+
* /home/avatar/system/services/biz/payment/crontab/monitorpayment.php
|
|
51
|
+
*/
|
|
52
|
+
parameters?: string;
|
|
53
|
+
/**
|
|
54
|
+
* @example
|
|
55
|
+
* []
|
|
56
|
+
*/
|
|
57
|
+
result?: string;
|
|
58
|
+
/**
|
|
59
|
+
* @example
|
|
60
|
+
* 1
|
|
61
|
+
*/
|
|
62
|
+
routeStrategy?: number;
|
|
63
|
+
scheduleTime?: string;
|
|
64
|
+
/**
|
|
65
|
+
* @example
|
|
66
|
+
* 172.3.27.76
|
|
67
|
+
*/
|
|
68
|
+
serverIp?: string;
|
|
69
|
+
/**
|
|
70
|
+
* @example
|
|
71
|
+
* 2025-03-11T00:06:10Z
|
|
72
|
+
*/
|
|
73
|
+
startTime?: string;
|
|
74
|
+
/**
|
|
75
|
+
* @example
|
|
76
|
+
* 4
|
|
77
|
+
*/
|
|
78
|
+
status?: number;
|
|
79
|
+
/**
|
|
80
|
+
* @example
|
|
81
|
+
* 1
|
|
82
|
+
*/
|
|
83
|
+
timeType?: number;
|
|
84
|
+
/**
|
|
85
|
+
* @example
|
|
86
|
+
* timer_schedule
|
|
87
|
+
*/
|
|
88
|
+
triggerType?: number;
|
|
89
|
+
static names(): { [key: string]: string } {
|
|
90
|
+
return {
|
|
91
|
+
appName: 'AppName',
|
|
92
|
+
attempt: 'Attempt',
|
|
93
|
+
dataTime: 'DataTime',
|
|
94
|
+
duration: 'Duration',
|
|
95
|
+
endTime: 'EndTime',
|
|
96
|
+
executor: 'Executor',
|
|
97
|
+
jobExecutionId: 'JobExecutionId',
|
|
98
|
+
jobId: 'JobId',
|
|
99
|
+
jobName: 'JobName',
|
|
100
|
+
jobType: 'JobType',
|
|
101
|
+
parameters: 'Parameters',
|
|
102
|
+
result: 'Result',
|
|
103
|
+
routeStrategy: 'RouteStrategy',
|
|
104
|
+
scheduleTime: 'ScheduleTime',
|
|
105
|
+
serverIp: 'ServerIp',
|
|
106
|
+
startTime: 'StartTime',
|
|
107
|
+
status: 'Status',
|
|
108
|
+
timeType: 'TimeType',
|
|
109
|
+
triggerType: 'TriggerType',
|
|
110
|
+
};
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
static types(): { [key: string]: any } {
|
|
114
|
+
return {
|
|
115
|
+
appName: 'string',
|
|
116
|
+
attempt: 'number',
|
|
117
|
+
dataTime: 'string',
|
|
118
|
+
duration: 'number',
|
|
119
|
+
endTime: 'string',
|
|
120
|
+
executor: 'string',
|
|
121
|
+
jobExecutionId: 'string',
|
|
122
|
+
jobId: 'number',
|
|
123
|
+
jobName: 'string',
|
|
124
|
+
jobType: 'string',
|
|
125
|
+
parameters: 'string',
|
|
126
|
+
result: 'string',
|
|
127
|
+
routeStrategy: 'number',
|
|
128
|
+
scheduleTime: 'string',
|
|
129
|
+
serverIp: 'string',
|
|
130
|
+
startTime: 'string',
|
|
131
|
+
status: 'number',
|
|
132
|
+
timeType: 'number',
|
|
133
|
+
triggerType: 'number',
|
|
134
|
+
};
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
validate() {
|
|
138
|
+
super.validate();
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
constructor(map?: { [key: string]: any }) {
|
|
142
|
+
super(map);
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
|
|
@@ -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 GetJobExecutionThreadDumpRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* xxl-job-executor-sample
|
|
9
|
+
*/
|
|
10
|
+
appName?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* xxljob-b6ec1xxxx
|
|
14
|
+
*/
|
|
15
|
+
clusterId?: string;
|
|
16
|
+
/**
|
|
17
|
+
* @example
|
|
18
|
+
* http://192.168.0.215:9966/
|
|
19
|
+
*/
|
|
20
|
+
executorAddr?: string;
|
|
21
|
+
/**
|
|
22
|
+
* @example
|
|
23
|
+
* 1310630367761285120
|
|
24
|
+
*/
|
|
25
|
+
jobExecutionId?: string;
|
|
26
|
+
static names(): { [key: string]: string } {
|
|
27
|
+
return {
|
|
28
|
+
appName: 'AppName',
|
|
29
|
+
clusterId: 'ClusterId',
|
|
30
|
+
executorAddr: 'ExecutorAddr',
|
|
31
|
+
jobExecutionId: 'JobExecutionId',
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
static types(): { [key: string]: any } {
|
|
36
|
+
return {
|
|
37
|
+
appName: 'string',
|
|
38
|
+
clusterId: 'string',
|
|
39
|
+
executorAddr: 'string',
|
|
40
|
+
jobExecutionId: 'string',
|
|
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,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { GetJobExecutionThreadDumpResponseBody } from "./GetJobExecutionThreadDumpResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class GetJobExecutionThreadDumpResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: GetJobExecutionThreadDumpResponseBody;
|
|
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: GetJobExecutionThreadDumpResponseBody,
|
|
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,63 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { GetJobExecutionThreadDumpResponseBodyData } from "./GetJobExecutionThreadDumpResponseBodyData";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class GetJobExecutionThreadDumpResponseBody extends $dara.Model {
|
|
7
|
+
/**
|
|
8
|
+
* @example
|
|
9
|
+
* 200
|
|
10
|
+
*/
|
|
11
|
+
code?: number;
|
|
12
|
+
/**
|
|
13
|
+
* @remarks
|
|
14
|
+
* -
|
|
15
|
+
*/
|
|
16
|
+
data?: GetJobExecutionThreadDumpResponseBodyData;
|
|
17
|
+
/**
|
|
18
|
+
* @example
|
|
19
|
+
* Parameter error: appId is null.
|
|
20
|
+
*/
|
|
21
|
+
message?: string;
|
|
22
|
+
/**
|
|
23
|
+
* @example
|
|
24
|
+
* 3835AA29-2298-5434-BC53-9CC377CDFD2C
|
|
25
|
+
*/
|
|
26
|
+
requestId?: string;
|
|
27
|
+
/**
|
|
28
|
+
* @example
|
|
29
|
+
* true
|
|
30
|
+
*/
|
|
31
|
+
success?: boolean;
|
|
32
|
+
static names(): { [key: string]: string } {
|
|
33
|
+
return {
|
|
34
|
+
code: 'Code',
|
|
35
|
+
data: 'Data',
|
|
36
|
+
message: 'Message',
|
|
37
|
+
requestId: 'RequestId',
|
|
38
|
+
success: 'Success',
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
static types(): { [key: string]: any } {
|
|
43
|
+
return {
|
|
44
|
+
code: 'number',
|
|
45
|
+
data: GetJobExecutionThreadDumpResponseBodyData,
|
|
46
|
+
message: 'string',
|
|
47
|
+
requestId: 'string',
|
|
48
|
+
success: 'boolean',
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
validate() {
|
|
53
|
+
if(this.data && typeof (this.data as any).validate === 'function') {
|
|
54
|
+
(this.data as any).validate();
|
|
55
|
+
}
|
|
56
|
+
super.validate();
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
constructor(map?: { [key: string]: any }) {
|
|
60
|
+
super(map);
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class GetJobExecutionThreadDumpResponseBodyData extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* \\"Thread-7\\" Id=67 TIMED_WAITING\\n\\tat java.base@17.0.5/java.lang.Thread.sleep(Native Method)\\n\\tat app//com.xxl.job.executor.service.jobhandler.SampleXxlJob.shardingJobHandler(SampleXxlJob.java:73)\\n\\tat java.base@17.0.5/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\\n\\tat java.base@17.0.5/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)\\n\\tat java.base@17.0.5/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\\n\\tat java.base@17.0.5/java.lang.reflect.Method.invoke(Method.java:568)\\n\\tat app//com.xxl.job.core.handler.impl.MethodJobHandler.execute(MethodJobHandler.java:29)\\n\\tat app//com.xxl.job.core.thread.JobThread.run(JobThread.java:152)\\n
|
|
9
|
+
*/
|
|
10
|
+
dump?: string;
|
|
11
|
+
static names(): { [key: string]: string } {
|
|
12
|
+
return {
|
|
13
|
+
dump: 'Dump',
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
static types(): { [key: string]: any } {
|
|
18
|
+
return {
|
|
19
|
+
dump: 'string',
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
validate() {
|
|
24
|
+
super.validate();
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
constructor(map?: { [key: string]: any }) {
|
|
28
|
+
super(map);
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|