@alicloud/ehpcinstant20230701 3.4.0 → 3.5.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 +23 -2
- package/dist/client.js +68 -2
- package/dist/client.js.map +1 -1
- package/dist/models/CreateActionPlanRequest.d.ts +5 -0
- package/dist/models/CreateActionPlanRequest.js +2 -0
- package/dist/models/CreateActionPlanRequest.js.map +1 -1
- package/dist/models/CreateActionPlanShrinkRequest.d.ts +5 -0
- package/dist/models/CreateActionPlanShrinkRequest.js +2 -0
- package/dist/models/CreateActionPlanShrinkRequest.js.map +1 -1
- package/dist/models/DescribeJobResultsRequest.d.ts +43 -0
- package/dist/models/DescribeJobResultsRequest.js +68 -0
- package/dist/models/DescribeJobResultsRequest.js.map +1 -0
- package/dist/models/DescribeJobResultsResponse.d.ts +19 -0
- package/dist/models/DescribeJobResultsResponse.js +69 -0
- package/dist/models/DescribeJobResultsResponse.js.map +1 -0
- package/dist/models/DescribeJobResultsResponseBody.d.ts +31 -0
- package/dist/models/DescribeJobResultsResponseBody.js +62 -0
- package/dist/models/DescribeJobResultsResponseBody.js.map +1 -0
- package/dist/models/GetActionPlanResponseBody.d.ts +5 -0
- package/dist/models/GetActionPlanResponseBody.js +2 -0
- package/dist/models/GetActionPlanResponseBody.js.map +1 -1
- package/dist/models/ListExecutorEventsRequest.d.ts +32 -0
- package/dist/models/ListExecutorEventsRequest.js.map +1 -1
- package/dist/models/ListExecutorEventsResponseBody.d.ts +35 -0
- package/dist/models/ListExecutorEventsResponseBody.js.map +1 -1
- package/dist/models/ListExecutorEventsShrinkRequest.d.ts +12 -0
- package/dist/models/ListExecutorEventsShrinkRequest.js.map +1 -1
- package/dist/models/UpdateActionPlanRequest.d.ts +5 -0
- package/dist/models/UpdateActionPlanRequest.js +2 -0
- package/dist/models/UpdateActionPlanRequest.js.map +1 -1
- package/dist/models/model.d.ts +3 -0
- package/dist/models/model.js +8 -2
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +78 -2
- package/src/models/CreateActionPlanRequest.ts +7 -0
- package/src/models/CreateActionPlanShrinkRequest.ts +7 -0
- package/src/models/DescribeJobResultsRequest.ts +66 -0
- package/src/models/DescribeJobResultsResponse.ts +40 -0
- package/src/models/DescribeJobResultsResponseBody.ts +48 -0
- package/src/models/GetActionPlanResponseBody.ts +7 -0
- package/src/models/ListExecutorEventsRequest.ts +32 -0
- package/src/models/ListExecutorEventsResponseBody.ts +35 -0
- package/src/models/ListExecutorEventsShrinkRequest.ts +12 -0
- package/src/models/UpdateActionPlanRequest.ts +7 -0
- package/src/models/model.ts +3 -0
package/src/client.ts
CHANGED
|
@@ -140,6 +140,10 @@ export default class Client extends OpenApi {
|
|
|
140
140
|
query["DesiredCapacity"] = request.desiredCapacity;
|
|
141
141
|
}
|
|
142
142
|
|
|
143
|
+
if (!$dara.isNull(request.intervalMinutes)) {
|
|
144
|
+
query["IntervalMinutes"] = request.intervalMinutes;
|
|
145
|
+
}
|
|
146
|
+
|
|
143
147
|
if (!$dara.isNull(request.level)) {
|
|
144
148
|
query["Level"] = request.level;
|
|
145
149
|
}
|
|
@@ -651,6 +655,68 @@ export default class Client extends OpenApi {
|
|
|
651
655
|
return await this.describeJobMetricLastWithOptions(request, runtime);
|
|
652
656
|
}
|
|
653
657
|
|
|
658
|
+
/**
|
|
659
|
+
* 查询作业输出
|
|
660
|
+
*
|
|
661
|
+
* @param request - DescribeJobResultsRequest
|
|
662
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
663
|
+
* @returns DescribeJobResultsResponse
|
|
664
|
+
*/
|
|
665
|
+
async describeJobResultsWithOptions(request: $_model.DescribeJobResultsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeJobResultsResponse> {
|
|
666
|
+
request.validate();
|
|
667
|
+
let query = { };
|
|
668
|
+
if (!$dara.isNull(request.arrayIndex)) {
|
|
669
|
+
query["ArrayIndex"] = request.arrayIndex;
|
|
670
|
+
}
|
|
671
|
+
|
|
672
|
+
if (!$dara.isNull(request.contentEncoding)) {
|
|
673
|
+
query["ContentEncoding"] = request.contentEncoding;
|
|
674
|
+
}
|
|
675
|
+
|
|
676
|
+
if (!$dara.isNull(request.jobId)) {
|
|
677
|
+
query["JobId"] = request.jobId;
|
|
678
|
+
}
|
|
679
|
+
|
|
680
|
+
if (!$dara.isNull(request.limitBytes)) {
|
|
681
|
+
query["LimitBytes"] = request.limitBytes;
|
|
682
|
+
}
|
|
683
|
+
|
|
684
|
+
if (!$dara.isNull(request.startTime)) {
|
|
685
|
+
query["StartTime"] = request.startTime;
|
|
686
|
+
}
|
|
687
|
+
|
|
688
|
+
if (!$dara.isNull(request.taskName)) {
|
|
689
|
+
query["TaskName"] = request.taskName;
|
|
690
|
+
}
|
|
691
|
+
|
|
692
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
693
|
+
query: OpenApiUtil.query(query),
|
|
694
|
+
});
|
|
695
|
+
let params = new $OpenApiUtil.Params({
|
|
696
|
+
action: "DescribeJobResults",
|
|
697
|
+
version: "2023-07-01",
|
|
698
|
+
protocol: "HTTPS",
|
|
699
|
+
pathname: "/",
|
|
700
|
+
method: "POST",
|
|
701
|
+
authType: "AK",
|
|
702
|
+
style: "RPC",
|
|
703
|
+
reqBodyType: "formData",
|
|
704
|
+
bodyType: "json",
|
|
705
|
+
});
|
|
706
|
+
return $dara.cast<$_model.DescribeJobResultsResponse>(await this.callApi(params, req, runtime), new $_model.DescribeJobResultsResponse({}));
|
|
707
|
+
}
|
|
708
|
+
|
|
709
|
+
/**
|
|
710
|
+
* 查询作业输出
|
|
711
|
+
*
|
|
712
|
+
* @param request - DescribeJobResultsRequest
|
|
713
|
+
* @returns DescribeJobResultsResponse
|
|
714
|
+
*/
|
|
715
|
+
async describeJobResults(request: $_model.DescribeJobResultsRequest): Promise<$_model.DescribeJobResultsResponse> {
|
|
716
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
717
|
+
return await this.describeJobResultsWithOptions(request, runtime);
|
|
718
|
+
}
|
|
719
|
+
|
|
654
720
|
/**
|
|
655
721
|
* Querying Execution Plan Details
|
|
656
722
|
*
|
|
@@ -1002,7 +1068,10 @@ export default class Client extends OpenApi {
|
|
|
1002
1068
|
}
|
|
1003
1069
|
|
|
1004
1070
|
/**
|
|
1005
|
-
*
|
|
1071
|
+
* Queries the running event list of one or more executers.
|
|
1072
|
+
*
|
|
1073
|
+
* @remarks
|
|
1074
|
+
* Queries job executor information.
|
|
1006
1075
|
*
|
|
1007
1076
|
* @param tmpReq - ListExecutorEventsRequest
|
|
1008
1077
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1047,7 +1116,10 @@ export default class Client extends OpenApi {
|
|
|
1047
1116
|
}
|
|
1048
1117
|
|
|
1049
1118
|
/**
|
|
1050
|
-
*
|
|
1119
|
+
* Queries the running event list of one or more executers.
|
|
1120
|
+
*
|
|
1121
|
+
* @remarks
|
|
1122
|
+
* Queries job executor information.
|
|
1051
1123
|
*
|
|
1052
1124
|
* @param request - ListExecutorEventsRequest
|
|
1053
1125
|
* @returns ListExecutorEventsResponse
|
|
@@ -1651,6 +1723,10 @@ export default class Client extends OpenApi {
|
|
|
1651
1723
|
query["Enabled"] = request.enabled;
|
|
1652
1724
|
}
|
|
1653
1725
|
|
|
1726
|
+
if (!$dara.isNull(request.intervalMinutes)) {
|
|
1727
|
+
query["IntervalMinutes"] = request.intervalMinutes;
|
|
1728
|
+
}
|
|
1729
|
+
|
|
1654
1730
|
let req = new $OpenApiUtil.OpenApiRequest({
|
|
1655
1731
|
query: OpenApiUtil.query(query),
|
|
1656
1732
|
});
|
|
@@ -135,6 +135,11 @@ export class CreateActionPlanRequest extends $dara.Model {
|
|
|
135
135
|
* 1000
|
|
136
136
|
*/
|
|
137
137
|
desiredCapacity?: number;
|
|
138
|
+
/**
|
|
139
|
+
* @example
|
|
140
|
+
* 60
|
|
141
|
+
*/
|
|
142
|
+
intervalMinutes?: number;
|
|
138
143
|
/**
|
|
139
144
|
* @remarks
|
|
140
145
|
* The computing power level. This value is valid only when the resource type is Economic. The following disk categories are supported:
|
|
@@ -194,6 +199,7 @@ export class CreateActionPlanRequest extends $dara.Model {
|
|
|
194
199
|
allocationSpec: 'AllocationSpec',
|
|
195
200
|
appId: 'AppId',
|
|
196
201
|
desiredCapacity: 'DesiredCapacity',
|
|
202
|
+
intervalMinutes: 'IntervalMinutes',
|
|
197
203
|
level: 'Level',
|
|
198
204
|
prologScript: 'PrologScript',
|
|
199
205
|
regions: 'Regions',
|
|
@@ -209,6 +215,7 @@ export class CreateActionPlanRequest extends $dara.Model {
|
|
|
209
215
|
allocationSpec: 'string',
|
|
210
216
|
appId: 'string',
|
|
211
217
|
desiredCapacity: 'number',
|
|
218
|
+
intervalMinutes: 'number',
|
|
212
219
|
level: 'string',
|
|
213
220
|
prologScript: 'string',
|
|
214
221
|
regions: { 'type': 'array', 'itemType': CreateActionPlanRequestRegions },
|
|
@@ -39,6 +39,11 @@ export class CreateActionPlanShrinkRequest extends $dara.Model {
|
|
|
39
39
|
* 1000
|
|
40
40
|
*/
|
|
41
41
|
desiredCapacity?: number;
|
|
42
|
+
/**
|
|
43
|
+
* @example
|
|
44
|
+
* 60
|
|
45
|
+
*/
|
|
46
|
+
intervalMinutes?: number;
|
|
42
47
|
/**
|
|
43
48
|
* @remarks
|
|
44
49
|
* The computing power level. This value is valid only when the resource type is Economic. The following disk categories are supported:
|
|
@@ -98,6 +103,7 @@ export class CreateActionPlanShrinkRequest extends $dara.Model {
|
|
|
98
103
|
allocationSpec: 'AllocationSpec',
|
|
99
104
|
appId: 'AppId',
|
|
100
105
|
desiredCapacity: 'DesiredCapacity',
|
|
106
|
+
intervalMinutes: 'IntervalMinutes',
|
|
101
107
|
level: 'Level',
|
|
102
108
|
prologScript: 'PrologScript',
|
|
103
109
|
regionsShrink: 'Regions',
|
|
@@ -113,6 +119,7 @@ export class CreateActionPlanShrinkRequest extends $dara.Model {
|
|
|
113
119
|
allocationSpec: 'string',
|
|
114
120
|
appId: 'string',
|
|
115
121
|
desiredCapacity: 'number',
|
|
122
|
+
intervalMinutes: 'number',
|
|
116
123
|
level: 'string',
|
|
117
124
|
prologScript: 'string',
|
|
118
125
|
regionsShrink: 'string',
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DescribeJobResultsRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* 0_1
|
|
9
|
+
*/
|
|
10
|
+
arrayIndex?: number;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* PlainText
|
|
14
|
+
*/
|
|
15
|
+
contentEncoding?: string;
|
|
16
|
+
/**
|
|
17
|
+
* @example
|
|
18
|
+
* job-xxxxxxx
|
|
19
|
+
*/
|
|
20
|
+
jobId?: string;
|
|
21
|
+
/**
|
|
22
|
+
* @example
|
|
23
|
+
* 1048576
|
|
24
|
+
*/
|
|
25
|
+
limitBytes?: string;
|
|
26
|
+
/**
|
|
27
|
+
* @example
|
|
28
|
+
* 2024-09-02T16:00:00Z
|
|
29
|
+
*/
|
|
30
|
+
startTime?: string;
|
|
31
|
+
/**
|
|
32
|
+
* @example
|
|
33
|
+
* Task0
|
|
34
|
+
*/
|
|
35
|
+
taskName?: string;
|
|
36
|
+
static names(): { [key: string]: string } {
|
|
37
|
+
return {
|
|
38
|
+
arrayIndex: 'ArrayIndex',
|
|
39
|
+
contentEncoding: 'ContentEncoding',
|
|
40
|
+
jobId: 'JobId',
|
|
41
|
+
limitBytes: 'LimitBytes',
|
|
42
|
+
startTime: 'StartTime',
|
|
43
|
+
taskName: 'TaskName',
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
static types(): { [key: string]: any } {
|
|
48
|
+
return {
|
|
49
|
+
arrayIndex: 'number',
|
|
50
|
+
contentEncoding: 'string',
|
|
51
|
+
jobId: 'string',
|
|
52
|
+
limitBytes: 'string',
|
|
53
|
+
startTime: 'string',
|
|
54
|
+
taskName: 'string',
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
validate() {
|
|
59
|
+
super.validate();
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
constructor(map?: { [key: string]: any }) {
|
|
63
|
+
super(map);
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { DescribeJobResultsResponseBody } from "./DescribeJobResultsResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class DescribeJobResultsResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: DescribeJobResultsResponseBody;
|
|
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: DescribeJobResultsResponseBody,
|
|
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,48 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DescribeJobResultsResponseBody extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* 0
|
|
9
|
+
*/
|
|
10
|
+
exitCode?: number;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* MTU6MzA6MDEK
|
|
14
|
+
*/
|
|
15
|
+
output?: string;
|
|
16
|
+
/**
|
|
17
|
+
* @remarks
|
|
18
|
+
* Id of the request
|
|
19
|
+
*
|
|
20
|
+
* @example
|
|
21
|
+
* BABC742E-04D7-5BA5-8A5F-7D9461D37B19
|
|
22
|
+
*/
|
|
23
|
+
requestId?: string;
|
|
24
|
+
static names(): { [key: string]: string } {
|
|
25
|
+
return {
|
|
26
|
+
exitCode: 'ExitCode',
|
|
27
|
+
output: 'Output',
|
|
28
|
+
requestId: 'RequestId',
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
static types(): { [key: string]: any } {
|
|
33
|
+
return {
|
|
34
|
+
exitCode: 'number',
|
|
35
|
+
output: 'string',
|
|
36
|
+
requestId: 'string',
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
validate() {
|
|
41
|
+
super.validate();
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
constructor(map?: { [key: string]: any }) {
|
|
45
|
+
super(map);
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
|
|
@@ -141,6 +141,11 @@ export class GetActionPlanResponseBody extends $dara.Model {
|
|
|
141
141
|
* 1000
|
|
142
142
|
*/
|
|
143
143
|
desiredCapacity?: number;
|
|
144
|
+
/**
|
|
145
|
+
* @example
|
|
146
|
+
* 60
|
|
147
|
+
*/
|
|
148
|
+
intervalMinutes?: number;
|
|
144
149
|
/**
|
|
145
150
|
* @remarks
|
|
146
151
|
* The computing power level.
|
|
@@ -222,6 +227,7 @@ export class GetActionPlanResponseBody extends $dara.Model {
|
|
|
222
227
|
appId: 'AppId',
|
|
223
228
|
createTime: 'CreateTime',
|
|
224
229
|
desiredCapacity: 'DesiredCapacity',
|
|
230
|
+
intervalMinutes: 'IntervalMinutes',
|
|
225
231
|
level: 'Level',
|
|
226
232
|
prologScript: 'PrologScript',
|
|
227
233
|
regions: 'Regions',
|
|
@@ -242,6 +248,7 @@ export class GetActionPlanResponseBody extends $dara.Model {
|
|
|
242
248
|
appId: 'string',
|
|
243
249
|
createTime: 'string',
|
|
244
250
|
desiredCapacity: 'number',
|
|
251
|
+
intervalMinutes: 'number',
|
|
245
252
|
level: 'string',
|
|
246
253
|
prologScript: 'string',
|
|
247
254
|
regions: { 'type': 'array', 'itemType': GetActionPlanResponseBodyRegions },
|
|
@@ -3,23 +3,43 @@ import * as $dara from '@darabonba/typescript';
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
export class ListExecutorEventsRequestFilter extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The list of executor IDs. A maximum of 100 IDs are supported.
|
|
9
|
+
*/
|
|
6
10
|
executorIds?: string[];
|
|
7
11
|
/**
|
|
12
|
+
* @remarks
|
|
13
|
+
* The job ID.
|
|
14
|
+
*
|
|
8
15
|
* @example
|
|
9
16
|
* job-xxxx
|
|
10
17
|
*/
|
|
11
18
|
jobId?: string;
|
|
12
19
|
/**
|
|
20
|
+
* @remarks
|
|
21
|
+
* The level of the running event. Valid value:
|
|
22
|
+
*
|
|
23
|
+
* * Normal
|
|
24
|
+
* * Warning
|
|
25
|
+
* * Error
|
|
26
|
+
*
|
|
13
27
|
* @example
|
|
14
28
|
* Normal
|
|
15
29
|
*/
|
|
16
30
|
level?: string;
|
|
17
31
|
/**
|
|
32
|
+
* @remarks
|
|
33
|
+
* For jobs submitted after this time, the time in the region is converted into a Unix timestamp (UI8 regionfor Aliyun sites).
|
|
34
|
+
*
|
|
18
35
|
* @example
|
|
19
36
|
* 1703820113
|
|
20
37
|
*/
|
|
21
38
|
timeAfter?: number;
|
|
22
39
|
/**
|
|
40
|
+
* @remarks
|
|
41
|
+
* For jobs submitted before this time, the time in the region is converted into a Unix timestamp (UI8 regionfor Aliyun sites).
|
|
42
|
+
*
|
|
23
43
|
* @example
|
|
24
44
|
* 1703819914
|
|
25
45
|
*/
|
|
@@ -57,13 +77,25 @@ export class ListExecutorEventsRequestFilter extends $dara.Model {
|
|
|
57
77
|
}
|
|
58
78
|
|
|
59
79
|
export class ListExecutorEventsRequest extends $dara.Model {
|
|
80
|
+
/**
|
|
81
|
+
* @remarks
|
|
82
|
+
* Queries the Executor filter conditions.
|
|
83
|
+
*/
|
|
60
84
|
filter?: ListExecutorEventsRequestFilter;
|
|
61
85
|
/**
|
|
86
|
+
* @remarks
|
|
87
|
+
* The current page number.\\
|
|
88
|
+
* Starting value: 1\\
|
|
89
|
+
* Default value: 1
|
|
90
|
+
*
|
|
62
91
|
* @example
|
|
63
92
|
* 1
|
|
64
93
|
*/
|
|
65
94
|
pageNumber?: number;
|
|
66
95
|
/**
|
|
96
|
+
* @remarks
|
|
97
|
+
* The number of entries on the current page. Default value: 50. Maximum value: 100.
|
|
98
|
+
*
|
|
67
99
|
* @example
|
|
68
100
|
* 50
|
|
69
101
|
*/
|
|
@@ -4,26 +4,45 @@ import * as $dara from '@darabonba/typescript';
|
|
|
4
4
|
|
|
5
5
|
export class ListExecutorEventsResponseBodyExecutorEventList extends $dara.Model {
|
|
6
6
|
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The content of the running event.
|
|
9
|
+
*
|
|
7
10
|
* @example
|
|
8
11
|
* Executor created successfully
|
|
9
12
|
*/
|
|
10
13
|
content?: string;
|
|
11
14
|
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The ID of the executor. The format is JobId-TaskName-ArrayIndex.
|
|
17
|
+
*
|
|
12
18
|
* @example
|
|
13
19
|
* job-xxxx-Task0-1
|
|
14
20
|
*/
|
|
15
21
|
executorId?: string;
|
|
16
22
|
/**
|
|
23
|
+
* @remarks
|
|
24
|
+
* The job ID.
|
|
25
|
+
*
|
|
17
26
|
* @example
|
|
18
27
|
* job-xxxx
|
|
19
28
|
*/
|
|
20
29
|
jobId?: string;
|
|
21
30
|
/**
|
|
31
|
+
* @remarks
|
|
32
|
+
* The level of the running event. Valid values:
|
|
33
|
+
*
|
|
34
|
+
* * Normal
|
|
35
|
+
* * Warning
|
|
36
|
+
* * Error
|
|
37
|
+
*
|
|
22
38
|
* @example
|
|
23
39
|
* Normal
|
|
24
40
|
*/
|
|
25
41
|
level?: string;
|
|
26
42
|
/**
|
|
43
|
+
* @remarks
|
|
44
|
+
* The event of the running event.
|
|
45
|
+
*
|
|
27
46
|
* @example
|
|
28
47
|
* 2024-02-20 10:04:13
|
|
29
48
|
*/
|
|
@@ -58,23 +77,39 @@ export class ListExecutorEventsResponseBodyExecutorEventList extends $dara.Model
|
|
|
58
77
|
}
|
|
59
78
|
|
|
60
79
|
export class ListExecutorEventsResponseBody extends $dara.Model {
|
|
80
|
+
/**
|
|
81
|
+
* @remarks
|
|
82
|
+
* The list of the running event.
|
|
83
|
+
*/
|
|
61
84
|
executorEventList?: ListExecutorEventsResponseBodyExecutorEventList[];
|
|
62
85
|
/**
|
|
86
|
+
* @remarks
|
|
87
|
+
* The page number of the returned page.
|
|
88
|
+
*
|
|
63
89
|
* @example
|
|
64
90
|
* 1
|
|
65
91
|
*/
|
|
66
92
|
pageNumber?: number;
|
|
67
93
|
/**
|
|
94
|
+
* @remarks
|
|
95
|
+
* The number of entries returned per page.
|
|
96
|
+
*
|
|
68
97
|
* @example
|
|
69
98
|
* 50
|
|
70
99
|
*/
|
|
71
100
|
pageSize?: number;
|
|
72
101
|
/**
|
|
102
|
+
* @remarks
|
|
103
|
+
* The request ID.
|
|
104
|
+
*
|
|
73
105
|
* @example
|
|
74
106
|
* 896D338C-E4F4-41EC-A154-D605E5DE****
|
|
75
107
|
*/
|
|
76
108
|
requestId?: string;
|
|
77
109
|
/**
|
|
110
|
+
* @remarks
|
|
111
|
+
* The total number of entries returned.
|
|
112
|
+
*
|
|
78
113
|
* @example
|
|
79
114
|
* 40
|
|
80
115
|
*/
|
|
@@ -3,13 +3,25 @@ import * as $dara from '@darabonba/typescript';
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
export class ListExecutorEventsShrinkRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* Queries the Executor filter conditions.
|
|
9
|
+
*/
|
|
6
10
|
filterShrink?: string;
|
|
7
11
|
/**
|
|
12
|
+
* @remarks
|
|
13
|
+
* The current page number.\\
|
|
14
|
+
* Starting value: 1\\
|
|
15
|
+
* Default value: 1
|
|
16
|
+
*
|
|
8
17
|
* @example
|
|
9
18
|
* 1
|
|
10
19
|
*/
|
|
11
20
|
pageNumber?: number;
|
|
12
21
|
/**
|
|
22
|
+
* @remarks
|
|
23
|
+
* The number of entries on the current page. Default value: 50. Maximum value: 100.
|
|
24
|
+
*
|
|
13
25
|
* @example
|
|
14
26
|
* 50
|
|
15
27
|
*/
|
|
@@ -35,11 +35,17 @@ export class UpdateActionPlanRequest extends $dara.Model {
|
|
|
35
35
|
* true
|
|
36
36
|
*/
|
|
37
37
|
enabled?: string;
|
|
38
|
+
/**
|
|
39
|
+
* @example
|
|
40
|
+
* 60
|
|
41
|
+
*/
|
|
42
|
+
intervalMinutes?: number;
|
|
38
43
|
static names(): { [key: string]: string } {
|
|
39
44
|
return {
|
|
40
45
|
actionPlanId: 'ActionPlanId',
|
|
41
46
|
desiredCapacity: 'DesiredCapacity',
|
|
42
47
|
enabled: 'Enabled',
|
|
48
|
+
intervalMinutes: 'IntervalMinutes',
|
|
43
49
|
};
|
|
44
50
|
}
|
|
45
51
|
|
|
@@ -48,6 +54,7 @@ export class UpdateActionPlanRequest extends $dara.Model {
|
|
|
48
54
|
actionPlanId: 'string',
|
|
49
55
|
desiredCapacity: 'number',
|
|
50
56
|
enabled: 'string',
|
|
57
|
+
intervalMinutes: 'number',
|
|
51
58
|
};
|
|
52
59
|
}
|
|
53
60
|
|
package/src/models/model.ts
CHANGED
|
@@ -118,6 +118,9 @@ export { DescribeJobMetricLastRequest } from './DescribeJobMetricLastRequest';
|
|
|
118
118
|
export { DescribeJobMetricLastShrinkRequest } from './DescribeJobMetricLastShrinkRequest';
|
|
119
119
|
export { DescribeJobMetricLastResponseBody } from './DescribeJobMetricLastResponseBody';
|
|
120
120
|
export { DescribeJobMetricLastResponse } from './DescribeJobMetricLastResponse';
|
|
121
|
+
export { DescribeJobResultsRequest } from './DescribeJobResultsRequest';
|
|
122
|
+
export { DescribeJobResultsResponseBody } from './DescribeJobResultsResponseBody';
|
|
123
|
+
export { DescribeJobResultsResponse } from './DescribeJobResultsResponse';
|
|
121
124
|
export { GetActionPlanRequest } from './GetActionPlanRequest';
|
|
122
125
|
export { GetActionPlanResponseBody } from './GetActionPlanResponseBody';
|
|
123
126
|
export { GetActionPlanResponse } from './GetActionPlanResponse';
|