@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,104 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class GetLogEventRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* xxl-job-executor-perf-test-241
|
|
9
|
+
*/
|
|
10
|
+
appName?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @remarks
|
|
13
|
+
* This parameter is required.
|
|
14
|
+
*
|
|
15
|
+
* @example
|
|
16
|
+
* xxljob-684d02ee5a6
|
|
17
|
+
*/
|
|
18
|
+
clusterId?: string;
|
|
19
|
+
/**
|
|
20
|
+
* @example
|
|
21
|
+
* 1721636220
|
|
22
|
+
*/
|
|
23
|
+
endTime?: number;
|
|
24
|
+
/**
|
|
25
|
+
* @example
|
|
26
|
+
* INFO
|
|
27
|
+
*/
|
|
28
|
+
event?: string;
|
|
29
|
+
/**
|
|
30
|
+
* @example
|
|
31
|
+
* 101
|
|
32
|
+
*/
|
|
33
|
+
jobExecutionId?: number;
|
|
34
|
+
/**
|
|
35
|
+
* @example
|
|
36
|
+
* test
|
|
37
|
+
*/
|
|
38
|
+
jobName?: string;
|
|
39
|
+
/**
|
|
40
|
+
* @example
|
|
41
|
+
* test_partition_tbl
|
|
42
|
+
*/
|
|
43
|
+
keyword?: string;
|
|
44
|
+
/**
|
|
45
|
+
* @example
|
|
46
|
+
* 1
|
|
47
|
+
*/
|
|
48
|
+
pageNum?: number;
|
|
49
|
+
/**
|
|
50
|
+
* @example
|
|
51
|
+
* 10
|
|
52
|
+
*/
|
|
53
|
+
pageSize?: number;
|
|
54
|
+
/**
|
|
55
|
+
* @example
|
|
56
|
+
* false
|
|
57
|
+
*/
|
|
58
|
+
reverse?: boolean;
|
|
59
|
+
/**
|
|
60
|
+
* @example
|
|
61
|
+
* 1721268302000
|
|
62
|
+
*/
|
|
63
|
+
startTime?: number;
|
|
64
|
+
static names(): { [key: string]: string } {
|
|
65
|
+
return {
|
|
66
|
+
appName: 'AppName',
|
|
67
|
+
clusterId: 'ClusterId',
|
|
68
|
+
endTime: 'EndTime',
|
|
69
|
+
event: 'Event',
|
|
70
|
+
jobExecutionId: 'JobExecutionId',
|
|
71
|
+
jobName: 'JobName',
|
|
72
|
+
keyword: 'Keyword',
|
|
73
|
+
pageNum: 'PageNum',
|
|
74
|
+
pageSize: 'PageSize',
|
|
75
|
+
reverse: 'Reverse',
|
|
76
|
+
startTime: 'StartTime',
|
|
77
|
+
};
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
static types(): { [key: string]: any } {
|
|
81
|
+
return {
|
|
82
|
+
appName: 'string',
|
|
83
|
+
clusterId: 'string',
|
|
84
|
+
endTime: 'number',
|
|
85
|
+
event: 'string',
|
|
86
|
+
jobExecutionId: 'number',
|
|
87
|
+
jobName: 'string',
|
|
88
|
+
keyword: 'string',
|
|
89
|
+
pageNum: 'number',
|
|
90
|
+
pageSize: 'number',
|
|
91
|
+
reverse: 'boolean',
|
|
92
|
+
startTime: 'number',
|
|
93
|
+
};
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
validate() {
|
|
97
|
+
super.validate();
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
constructor(map?: { [key: string]: any }) {
|
|
101
|
+
super(map);
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { GetLogEventResponseBody } from "./GetLogEventResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class GetLogEventResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: GetLogEventResponseBody;
|
|
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: GetLogEventResponseBody,
|
|
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 { GetLogEventResponseBodyData } from "./GetLogEventResponseBodyData";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class GetLogEventResponseBody extends $dara.Model {
|
|
7
|
+
/**
|
|
8
|
+
* @example
|
|
9
|
+
* 200
|
|
10
|
+
*/
|
|
11
|
+
code?: number;
|
|
12
|
+
/**
|
|
13
|
+
* @remarks
|
|
14
|
+
* -
|
|
15
|
+
*/
|
|
16
|
+
data?: GetLogEventResponseBodyData;
|
|
17
|
+
/**
|
|
18
|
+
* @example
|
|
19
|
+
* Parameter check error
|
|
20
|
+
*/
|
|
21
|
+
message?: string;
|
|
22
|
+
/**
|
|
23
|
+
* @example
|
|
24
|
+
* BAC1ADB5-EEB5-5834-93D8-522E067AF8D9
|
|
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: GetLogEventResponseBodyData,
|
|
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,56 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { GetLogEventResponseBodyDataRecords } from "./GetLogEventResponseBodyDataRecords";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class GetLogEventResponseBodyData extends $dara.Model {
|
|
7
|
+
/**
|
|
8
|
+
* @example
|
|
9
|
+
* 1
|
|
10
|
+
*/
|
|
11
|
+
pageNumber?: number;
|
|
12
|
+
/**
|
|
13
|
+
* @example
|
|
14
|
+
* 10
|
|
15
|
+
*/
|
|
16
|
+
pageSize?: number;
|
|
17
|
+
/**
|
|
18
|
+
* @remarks
|
|
19
|
+
* -
|
|
20
|
+
*/
|
|
21
|
+
records?: GetLogEventResponseBodyDataRecords[];
|
|
22
|
+
/**
|
|
23
|
+
* @example
|
|
24
|
+
* 33
|
|
25
|
+
*/
|
|
26
|
+
total?: number;
|
|
27
|
+
static names(): { [key: string]: string } {
|
|
28
|
+
return {
|
|
29
|
+
pageNumber: 'PageNumber',
|
|
30
|
+
pageSize: 'PageSize',
|
|
31
|
+
records: 'Records',
|
|
32
|
+
total: 'Total',
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
static types(): { [key: string]: any } {
|
|
37
|
+
return {
|
|
38
|
+
pageNumber: 'number',
|
|
39
|
+
pageSize: 'number',
|
|
40
|
+
records: { 'type': 'array', 'itemType': GetLogEventResponseBodyDataRecords },
|
|
41
|
+
total: 'number',
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
validate() {
|
|
46
|
+
if(Array.isArray(this.records)) {
|
|
47
|
+
$dara.Model.validateArray(this.records);
|
|
48
|
+
}
|
|
49
|
+
super.validate();
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
constructor(map?: { [key: string]: any }) {
|
|
53
|
+
super(map);
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class GetLogEventResponseBodyDataRecords extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* portal-dev
|
|
9
|
+
*/
|
|
10
|
+
appName?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* hello word
|
|
14
|
+
*/
|
|
15
|
+
content?: string;
|
|
16
|
+
/**
|
|
17
|
+
* @example
|
|
18
|
+
* info
|
|
19
|
+
*/
|
|
20
|
+
event?: string;
|
|
21
|
+
/**
|
|
22
|
+
* @example
|
|
23
|
+
* 101
|
|
24
|
+
*/
|
|
25
|
+
jobExecutionId?: string;
|
|
26
|
+
/**
|
|
27
|
+
* @example
|
|
28
|
+
* test
|
|
29
|
+
*/
|
|
30
|
+
jobName?: string;
|
|
31
|
+
/**
|
|
32
|
+
* @example
|
|
33
|
+
* 2024-10-31 16:43:51
|
|
34
|
+
*/
|
|
35
|
+
time?: string;
|
|
36
|
+
/**
|
|
37
|
+
* @example
|
|
38
|
+
* 030225016025_9357_60125@127.0.0.1:51363
|
|
39
|
+
*/
|
|
40
|
+
workerAddr?: string;
|
|
41
|
+
static names(): { [key: string]: string } {
|
|
42
|
+
return {
|
|
43
|
+
appName: 'AppName',
|
|
44
|
+
content: 'Content',
|
|
45
|
+
event: 'Event',
|
|
46
|
+
jobExecutionId: 'JobExecutionId',
|
|
47
|
+
jobName: 'JobName',
|
|
48
|
+
time: 'Time',
|
|
49
|
+
workerAddr: 'WorkerAddr',
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
static types(): { [key: string]: any } {
|
|
54
|
+
return {
|
|
55
|
+
appName: 'string',
|
|
56
|
+
content: 'string',
|
|
57
|
+
event: 'string',
|
|
58
|
+
jobExecutionId: 'string',
|
|
59
|
+
jobName: 'string',
|
|
60
|
+
time: 'string',
|
|
61
|
+
workerAddr: 'string',
|
|
62
|
+
};
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
validate() {
|
|
66
|
+
super.validate();
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
constructor(map?: { [key: string]: any }) {
|
|
70
|
+
super(map);
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
|
|
@@ -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 { ListClustersRequestTag } from "./ListClustersRequestTag";
|
|
3
4
|
|
|
4
5
|
|
|
5
6
|
export class ListClustersRequest extends $dara.Model {
|
|
@@ -23,12 +24,14 @@ export class ListClustersRequest extends $dara.Model {
|
|
|
23
24
|
* 10
|
|
24
25
|
*/
|
|
25
26
|
pageSize?: number;
|
|
27
|
+
tag?: ListClustersRequestTag[];
|
|
26
28
|
static names(): { [key: string]: string } {
|
|
27
29
|
return {
|
|
28
30
|
clusterId: 'ClusterId',
|
|
29
31
|
clusterName: 'ClusterName',
|
|
30
32
|
pageNum: 'PageNum',
|
|
31
33
|
pageSize: 'PageSize',
|
|
34
|
+
tag: 'Tag',
|
|
32
35
|
};
|
|
33
36
|
}
|
|
34
37
|
|
|
@@ -38,10 +41,14 @@ export class ListClustersRequest extends $dara.Model {
|
|
|
38
41
|
clusterName: 'string',
|
|
39
42
|
pageNum: 'number',
|
|
40
43
|
pageSize: 'number',
|
|
44
|
+
tag: { 'type': 'array', 'itemType': ListClustersRequestTag },
|
|
41
45
|
};
|
|
42
46
|
}
|
|
43
47
|
|
|
44
48
|
validate() {
|
|
49
|
+
if(Array.isArray(this.tag)) {
|
|
50
|
+
$dara.Model.validateArray(this.tag);
|
|
51
|
+
}
|
|
45
52
|
super.validate();
|
|
46
53
|
}
|
|
47
54
|
|
|
@@ -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 ListClustersRequestTag 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
|
+
|
|
@@ -61,6 +61,7 @@ export class ListClustersResponseBodyDataRecords extends $dara.Model {
|
|
|
61
61
|
* 1
|
|
62
62
|
*/
|
|
63
63
|
status?: number;
|
|
64
|
+
tags?: { [key: string]: any };
|
|
64
65
|
vSwitches?: ListClustersResponseBodyDataRecordsVSwitches[];
|
|
65
66
|
versionLifecycle?: string;
|
|
66
67
|
/**
|
|
@@ -86,6 +87,7 @@ export class ListClustersResponseBodyDataRecords extends $dara.Model {
|
|
|
86
87
|
productType: 'ProductType',
|
|
87
88
|
spInstanceId: 'SpInstanceId',
|
|
88
89
|
status: 'Status',
|
|
90
|
+
tags: 'Tags',
|
|
89
91
|
vSwitches: 'VSwitches',
|
|
90
92
|
versionLifecycle: 'VersionLifecycle',
|
|
91
93
|
vpcId: 'VpcId',
|
|
@@ -107,6 +109,7 @@ export class ListClustersResponseBodyDataRecords extends $dara.Model {
|
|
|
107
109
|
productType: 'number',
|
|
108
110
|
spInstanceId: 'string',
|
|
109
111
|
status: 'number',
|
|
112
|
+
tags: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
110
113
|
vSwitches: { 'type': 'array', 'itemType': ListClustersResponseBodyDataRecordsVSwitches },
|
|
111
114
|
versionLifecycle: 'string',
|
|
112
115
|
vpcId: 'string',
|
|
@@ -114,6 +117,9 @@ export class ListClustersResponseBodyDataRecords extends $dara.Model {
|
|
|
114
117
|
}
|
|
115
118
|
|
|
116
119
|
validate() {
|
|
120
|
+
if(this.tags) {
|
|
121
|
+
$dara.Model.validateMap(this.tags);
|
|
122
|
+
}
|
|
117
123
|
if(Array.isArray(this.vSwitches)) {
|
|
118
124
|
$dara.Model.validateArray(this.vSwitches);
|
|
119
125
|
}
|
|
@@ -94,6 +94,7 @@ export class ListJobsResponseBodyDataRecords extends $dara.Model {
|
|
|
94
94
|
* 1
|
|
95
95
|
*/
|
|
96
96
|
routeStrategy?: number;
|
|
97
|
+
script?: string;
|
|
97
98
|
/**
|
|
98
99
|
* @example
|
|
99
100
|
* 1
|
|
@@ -150,6 +151,7 @@ export class ListJobsResponseBodyDataRecords extends $dara.Model {
|
|
|
150
151
|
parameters: 'Parameters',
|
|
151
152
|
priority: 'Priority',
|
|
152
153
|
routeStrategy: 'RouteStrategy',
|
|
154
|
+
script: 'Script',
|
|
153
155
|
status: 'Status',
|
|
154
156
|
timeExpression: 'TimeExpression',
|
|
155
157
|
timeType: 'TimeType',
|
|
@@ -185,6 +187,7 @@ export class ListJobsResponseBodyDataRecords extends $dara.Model {
|
|
|
185
187
|
parameters: 'string',
|
|
186
188
|
priority: 'number',
|
|
187
189
|
routeStrategy: 'number',
|
|
190
|
+
script: 'string',
|
|
188
191
|
status: 'number',
|
|
189
192
|
timeExpression: 'string',
|
|
190
193
|
timeType: 'number',
|
|
@@ -87,6 +87,7 @@ export class UpdateJobRequest extends $dara.Model {
|
|
|
87
87
|
* 1
|
|
88
88
|
*/
|
|
89
89
|
routeStrategy?: number;
|
|
90
|
+
script?: string;
|
|
90
91
|
/**
|
|
91
92
|
* @example
|
|
92
93
|
* 1716902187
|
|
@@ -126,6 +127,7 @@ export class UpdateJobRequest extends $dara.Model {
|
|
|
126
127
|
parameters: 'Parameters',
|
|
127
128
|
priority: 'Priority',
|
|
128
129
|
routeStrategy: 'RouteStrategy',
|
|
130
|
+
script: 'Script',
|
|
129
131
|
startTime: 'StartTime',
|
|
130
132
|
timeExpression: 'TimeExpression',
|
|
131
133
|
timeType: 'TimeType',
|
|
@@ -152,6 +154,7 @@ export class UpdateJobRequest extends $dara.Model {
|
|
|
152
154
|
parameters: 'string',
|
|
153
155
|
priority: 'number',
|
|
154
156
|
routeStrategy: 'number',
|
|
157
|
+
script: 'string',
|
|
155
158
|
startTime: 'number',
|
|
156
159
|
timeExpression: 'string',
|
|
157
160
|
timeType: 'number',
|
|
@@ -85,6 +85,7 @@ export class UpdateJobShrinkRequest extends $dara.Model {
|
|
|
85
85
|
* 1
|
|
86
86
|
*/
|
|
87
87
|
routeStrategy?: number;
|
|
88
|
+
script?: string;
|
|
88
89
|
/**
|
|
89
90
|
* @example
|
|
90
91
|
* 1716902187
|
|
@@ -124,6 +125,7 @@ export class UpdateJobShrinkRequest extends $dara.Model {
|
|
|
124
125
|
parameters: 'Parameters',
|
|
125
126
|
priority: 'Priority',
|
|
126
127
|
routeStrategy: 'RouteStrategy',
|
|
128
|
+
script: 'Script',
|
|
127
129
|
startTime: 'StartTime',
|
|
128
130
|
timeExpression: 'TimeExpression',
|
|
129
131
|
timeType: 'TimeType',
|
|
@@ -150,6 +152,7 @@ export class UpdateJobShrinkRequest extends $dara.Model {
|
|
|
150
152
|
parameters: 'string',
|
|
151
153
|
priority: 'number',
|
|
152
154
|
routeStrategy: 'number',
|
|
155
|
+
script: 'string',
|
|
153
156
|
startTime: 'number',
|
|
154
157
|
timeExpression: 'string',
|
|
155
158
|
timeType: 'number',
|
package/src/models/model.ts
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
export { CreateAppResponseBodyData } from './CreateAppResponseBodyData';
|
|
2
|
+
export { CreateClusterRequestTag } from './CreateClusterRequestTag';
|
|
2
3
|
export { CreateClusterRequestVSwitches } from './CreateClusterRequestVswitches';
|
|
4
|
+
export { CreateClusterShrinkRequestTag } from './CreateClusterShrinkRequestTag';
|
|
3
5
|
export { CreateClusterResponseBodyData } from './CreateClusterResponseBodyData';
|
|
4
6
|
export { CreateJobRequestNoticeConfig } from './CreateJobRequestNoticeConfig';
|
|
5
7
|
export { CreateJobRequestNoticeContacts } from './CreateJobRequestNoticeContacts';
|
|
@@ -7,6 +9,7 @@ export { CreateJobResponseBodyData } from './CreateJobResponseBodyData';
|
|
|
7
9
|
export { GetClusterResponseBodyDataVSwitches } from './GetClusterResponseBodyDataVswitches';
|
|
8
10
|
export { GetClusterResponseBodyData } from './GetClusterResponseBodyData';
|
|
9
11
|
export { GetDesigateInfoResponseBodyData } from './GetDesigateInfoResponseBodyData';
|
|
12
|
+
export { GetJobExecutionResponseBodyData } from './GetJobExecutionResponseBodyData';
|
|
10
13
|
export { GetJobExecutionProgressResponseBodyDataRootProgress } from './GetJobExecutionProgressResponseBodyDataRootProgress';
|
|
11
14
|
export { GetJobExecutionProgressResponseBodyDataShardingProgressStatusType } from './GetJobExecutionProgressResponseBodyDataShardingProgressStatusType';
|
|
12
15
|
export { GetJobExecutionProgressResponseBodyDataShardingProgress } from './GetJobExecutionProgressResponseBodyDataShardingProgress';
|
|
@@ -14,11 +17,15 @@ export { GetJobExecutionProgressResponseBodyDataTaskProgress } from './GetJobExe
|
|
|
14
17
|
export { GetJobExecutionProgressResponseBodyDataTotalProgress } from './GetJobExecutionProgressResponseBodyDataTotalProgress';
|
|
15
18
|
export { GetJobExecutionProgressResponseBodyDataWorkerProgress } from './GetJobExecutionProgressResponseBodyDataWorkerProgress';
|
|
16
19
|
export { GetJobExecutionProgressResponseBodyData } from './GetJobExecutionProgressResponseBodyData';
|
|
20
|
+
export { GetJobExecutionThreadDumpResponseBodyData } from './GetJobExecutionThreadDumpResponseBodyData';
|
|
21
|
+
export { GetLogEventResponseBodyDataRecords } from './GetLogEventResponseBodyDataRecords';
|
|
22
|
+
export { GetLogEventResponseBodyData } from './GetLogEventResponseBodyData';
|
|
17
23
|
export { ListAlarmEventResponseBodyDataRecords } from './ListAlarmEventResponseBodyDataRecords';
|
|
18
24
|
export { ListAlarmEventResponseBodyData } from './ListAlarmEventResponseBodyData';
|
|
19
25
|
export { ListAppNamesResponseBodyData } from './ListAppNamesResponseBodyData';
|
|
20
26
|
export { ListAppsResponseBodyDataRecords } from './ListAppsResponseBodyDataRecords';
|
|
21
27
|
export { ListAppsResponseBodyData } from './ListAppsResponseBodyData';
|
|
28
|
+
export { ListClustersRequestTag } from './ListClustersRequestTag';
|
|
22
29
|
export { ListClustersResponseBodyDataRecordsVSwitches } from './ListClustersResponseBodyDataRecordsVswitches';
|
|
23
30
|
export { ListClustersResponseBodyDataRecords } from './ListClustersResponseBodyDataRecords';
|
|
24
31
|
export { ListClustersResponseBodyData } from './ListClustersResponseBodyData';
|
|
@@ -65,12 +72,21 @@ export { GetClusterResponse } from './GetClusterResponse';
|
|
|
65
72
|
export { GetDesigateInfoRequest } from './GetDesigateInfoRequest';
|
|
66
73
|
export { GetDesigateInfoResponseBody } from './GetDesigateInfoResponseBody';
|
|
67
74
|
export { GetDesigateInfoResponse } from './GetDesigateInfoResponse';
|
|
75
|
+
export { GetJobExecutionRequest } from './GetJobExecutionRequest';
|
|
76
|
+
export { GetJobExecutionResponseBody } from './GetJobExecutionResponseBody';
|
|
77
|
+
export { GetJobExecutionResponse } from './GetJobExecutionResponse';
|
|
68
78
|
export { GetJobExecutionProgressRequest } from './GetJobExecutionProgressRequest';
|
|
69
79
|
export { GetJobExecutionProgressResponseBody } from './GetJobExecutionProgressResponseBody';
|
|
70
80
|
export { GetJobExecutionProgressResponse } from './GetJobExecutionProgressResponse';
|
|
81
|
+
export { GetJobExecutionThreadDumpRequest } from './GetJobExecutionThreadDumpRequest';
|
|
82
|
+
export { GetJobExecutionThreadDumpResponseBody } from './GetJobExecutionThreadDumpResponseBody';
|
|
83
|
+
export { GetJobExecutionThreadDumpResponse } from './GetJobExecutionThreadDumpResponse';
|
|
71
84
|
export { GetLogRequest } from './GetLogRequest';
|
|
72
85
|
export { GetLogResponseBody } from './GetLogResponseBody';
|
|
73
86
|
export { GetLogResponse } from './GetLogResponse';
|
|
87
|
+
export { GetLogEventRequest } from './GetLogEventRequest';
|
|
88
|
+
export { GetLogEventResponseBody } from './GetLogEventResponseBody';
|
|
89
|
+
export { GetLogEventResponse } from './GetLogEventResponse';
|
|
74
90
|
export { ImportCalendarRequest } from './ImportCalendarRequest';
|
|
75
91
|
export { ImportCalendarResponseBody } from './ImportCalendarResponseBody';
|
|
76
92
|
export { ImportCalendarResponse } from './ImportCalendarResponse';
|