@alicloud/ehpcinstant20230701 3.3.0 → 3.4.1
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 +21 -0
- package/dist/client.js +62 -0
- 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/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 +89 -0
- package/dist/models/ListExecutorEventsRequest.js +95 -0
- package/dist/models/ListExecutorEventsRequest.js.map +1 -0
- package/dist/models/ListExecutorEventsResponse.d.ts +19 -0
- package/dist/models/ListExecutorEventsResponse.js +69 -0
- package/dist/models/ListExecutorEventsResponse.js.map +1 -0
- package/dist/models/ListExecutorEventsResponseBody.d.ts +106 -0
- package/dist/models/ListExecutorEventsResponseBody.js +96 -0
- package/dist/models/ListExecutorEventsResponseBody.js.map +1 -0
- package/dist/models/ListExecutorEventsShrinkRequest.d.ts +36 -0
- package/dist/models/ListExecutorEventsShrinkRequest.js +62 -0
- package/dist/models/ListExecutorEventsShrinkRequest.js.map +1 -0
- 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 +6 -0
- package/dist/models/model.js +15 -3
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +70 -0
- package/src/models/CreateActionPlanRequest.ts +7 -0
- package/src/models/CreateActionPlanShrinkRequest.ts +7 -0
- package/src/models/GetActionPlanResponseBody.ts +7 -0
- package/src/models/ListExecutorEventsRequest.ts +130 -0
- package/src/models/ListExecutorEventsResponse.ts +40 -0
- package/src/models/ListExecutorEventsResponseBody.ts +148 -0
- package/src/models/ListExecutorEventsShrinkRequest.ts +53 -0
- package/src/models/UpdateActionPlanRequest.ts +7 -0
- package/src/models/model.ts +6 -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
|
}
|
|
@@ -1001,6 +1005,68 @@ export default class Client extends OpenApi {
|
|
|
1001
1005
|
return await this.listActionPlansWithOptions(request, runtime);
|
|
1002
1006
|
}
|
|
1003
1007
|
|
|
1008
|
+
/**
|
|
1009
|
+
* Queries the running event list of one or more executers.
|
|
1010
|
+
*
|
|
1011
|
+
* @remarks
|
|
1012
|
+
* Queries job executor information.
|
|
1013
|
+
*
|
|
1014
|
+
* @param tmpReq - ListExecutorEventsRequest
|
|
1015
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
1016
|
+
* @returns ListExecutorEventsResponse
|
|
1017
|
+
*/
|
|
1018
|
+
async listExecutorEventsWithOptions(tmpReq: $_model.ListExecutorEventsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListExecutorEventsResponse> {
|
|
1019
|
+
tmpReq.validate();
|
|
1020
|
+
let request = new $_model.ListExecutorEventsShrinkRequest({ });
|
|
1021
|
+
OpenApiUtil.convert(tmpReq, request);
|
|
1022
|
+
if (!$dara.isNull(tmpReq.filter)) {
|
|
1023
|
+
request.filterShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.filter, "Filter", "json");
|
|
1024
|
+
}
|
|
1025
|
+
|
|
1026
|
+
let query = { };
|
|
1027
|
+
if (!$dara.isNull(request.filterShrink)) {
|
|
1028
|
+
query["Filter"] = request.filterShrink;
|
|
1029
|
+
}
|
|
1030
|
+
|
|
1031
|
+
if (!$dara.isNull(request.pageNumber)) {
|
|
1032
|
+
query["PageNumber"] = request.pageNumber;
|
|
1033
|
+
}
|
|
1034
|
+
|
|
1035
|
+
if (!$dara.isNull(request.pageSize)) {
|
|
1036
|
+
query["PageSize"] = request.pageSize;
|
|
1037
|
+
}
|
|
1038
|
+
|
|
1039
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
1040
|
+
query: OpenApiUtil.query(query),
|
|
1041
|
+
});
|
|
1042
|
+
let params = new $OpenApiUtil.Params({
|
|
1043
|
+
action: "ListExecutorEvents",
|
|
1044
|
+
version: "2023-07-01",
|
|
1045
|
+
protocol: "HTTPS",
|
|
1046
|
+
pathname: "/",
|
|
1047
|
+
method: "POST",
|
|
1048
|
+
authType: "AK",
|
|
1049
|
+
style: "RPC",
|
|
1050
|
+
reqBodyType: "formData",
|
|
1051
|
+
bodyType: "json",
|
|
1052
|
+
});
|
|
1053
|
+
return $dara.cast<$_model.ListExecutorEventsResponse>(await this.callApi(params, req, runtime), new $_model.ListExecutorEventsResponse({}));
|
|
1054
|
+
}
|
|
1055
|
+
|
|
1056
|
+
/**
|
|
1057
|
+
* Queries the running event list of one or more executers.
|
|
1058
|
+
*
|
|
1059
|
+
* @remarks
|
|
1060
|
+
* Queries job executor information.
|
|
1061
|
+
*
|
|
1062
|
+
* @param request - ListExecutorEventsRequest
|
|
1063
|
+
* @returns ListExecutorEventsResponse
|
|
1064
|
+
*/
|
|
1065
|
+
async listExecutorEvents(request: $_model.ListExecutorEventsRequest): Promise<$_model.ListExecutorEventsResponse> {
|
|
1066
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
1067
|
+
return await this.listExecutorEventsWithOptions(request, runtime);
|
|
1068
|
+
}
|
|
1069
|
+
|
|
1004
1070
|
/**
|
|
1005
1071
|
* Querying Global Executor Information
|
|
1006
1072
|
*
|
|
@@ -1595,6 +1661,10 @@ export default class Client extends OpenApi {
|
|
|
1595
1661
|
query["Enabled"] = request.enabled;
|
|
1596
1662
|
}
|
|
1597
1663
|
|
|
1664
|
+
if (!$dara.isNull(request.intervalMinutes)) {
|
|
1665
|
+
query["IntervalMinutes"] = request.intervalMinutes;
|
|
1666
|
+
}
|
|
1667
|
+
|
|
1598
1668
|
let req = new $OpenApiUtil.OpenApiRequest({
|
|
1599
1669
|
query: OpenApiUtil.query(query),
|
|
1600
1670
|
});
|
|
@@ -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',
|
|
@@ -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 },
|
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class ListExecutorEventsRequestFilter extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The list of executor IDs. A maximum of 100 IDs are supported.
|
|
9
|
+
*/
|
|
10
|
+
executorIds?: string[];
|
|
11
|
+
/**
|
|
12
|
+
* @remarks
|
|
13
|
+
* The job ID.
|
|
14
|
+
*
|
|
15
|
+
* @example
|
|
16
|
+
* job-xxxx
|
|
17
|
+
*/
|
|
18
|
+
jobId?: string;
|
|
19
|
+
/**
|
|
20
|
+
* @remarks
|
|
21
|
+
* The level of the running event. Valid value:
|
|
22
|
+
*
|
|
23
|
+
* * Normal
|
|
24
|
+
* * Warning
|
|
25
|
+
* * Error
|
|
26
|
+
*
|
|
27
|
+
* @example
|
|
28
|
+
* Normal
|
|
29
|
+
*/
|
|
30
|
+
level?: string;
|
|
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
|
+
*
|
|
35
|
+
* @example
|
|
36
|
+
* 1703820113
|
|
37
|
+
*/
|
|
38
|
+
timeAfter?: number;
|
|
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
|
+
*
|
|
43
|
+
* @example
|
|
44
|
+
* 1703819914
|
|
45
|
+
*/
|
|
46
|
+
timeBefore?: number;
|
|
47
|
+
static names(): { [key: string]: string } {
|
|
48
|
+
return {
|
|
49
|
+
executorIds: 'ExecutorIds',
|
|
50
|
+
jobId: 'JobId',
|
|
51
|
+
level: 'Level',
|
|
52
|
+
timeAfter: 'TimeAfter',
|
|
53
|
+
timeBefore: 'TimeBefore',
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
static types(): { [key: string]: any } {
|
|
58
|
+
return {
|
|
59
|
+
executorIds: { 'type': 'array', 'itemType': 'string' },
|
|
60
|
+
jobId: 'string',
|
|
61
|
+
level: 'string',
|
|
62
|
+
timeAfter: 'number',
|
|
63
|
+
timeBefore: 'number',
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
validate() {
|
|
68
|
+
if(Array.isArray(this.executorIds)) {
|
|
69
|
+
$dara.Model.validateArray(this.executorIds);
|
|
70
|
+
}
|
|
71
|
+
super.validate();
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
constructor(map?: { [key: string]: any }) {
|
|
75
|
+
super(map);
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
export class ListExecutorEventsRequest extends $dara.Model {
|
|
80
|
+
/**
|
|
81
|
+
* @remarks
|
|
82
|
+
* Queries the Executor filter conditions.
|
|
83
|
+
*/
|
|
84
|
+
filter?: ListExecutorEventsRequestFilter;
|
|
85
|
+
/**
|
|
86
|
+
* @remarks
|
|
87
|
+
* The current page number.\\
|
|
88
|
+
* Starting value: 1\\
|
|
89
|
+
* Default value: 1
|
|
90
|
+
*
|
|
91
|
+
* @example
|
|
92
|
+
* 1
|
|
93
|
+
*/
|
|
94
|
+
pageNumber?: number;
|
|
95
|
+
/**
|
|
96
|
+
* @remarks
|
|
97
|
+
* The number of entries on the current page. Default value: 50. Maximum value: 100.
|
|
98
|
+
*
|
|
99
|
+
* @example
|
|
100
|
+
* 50
|
|
101
|
+
*/
|
|
102
|
+
pageSize?: number;
|
|
103
|
+
static names(): { [key: string]: string } {
|
|
104
|
+
return {
|
|
105
|
+
filter: 'Filter',
|
|
106
|
+
pageNumber: 'PageNumber',
|
|
107
|
+
pageSize: 'PageSize',
|
|
108
|
+
};
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
static types(): { [key: string]: any } {
|
|
112
|
+
return {
|
|
113
|
+
filter: ListExecutorEventsRequestFilter,
|
|
114
|
+
pageNumber: 'number',
|
|
115
|
+
pageSize: 'number',
|
|
116
|
+
};
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
validate() {
|
|
120
|
+
if(this.filter && typeof (this.filter as any).validate === 'function') {
|
|
121
|
+
(this.filter as any).validate();
|
|
122
|
+
}
|
|
123
|
+
super.validate();
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
constructor(map?: { [key: string]: any }) {
|
|
127
|
+
super(map);
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { ListExecutorEventsResponseBody } from "./ListExecutorEventsResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class ListExecutorEventsResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: ListExecutorEventsResponseBody;
|
|
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: ListExecutorEventsResponseBody,
|
|
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,148 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class ListExecutorEventsResponseBodyExecutorEventList extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The content of the running event.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* Executor created successfully
|
|
12
|
+
*/
|
|
13
|
+
content?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The ID of the executor. The format is JobId-TaskName-ArrayIndex.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* job-xxxx-Task0-1
|
|
20
|
+
*/
|
|
21
|
+
executorId?: string;
|
|
22
|
+
/**
|
|
23
|
+
* @remarks
|
|
24
|
+
* The job ID.
|
|
25
|
+
*
|
|
26
|
+
* @example
|
|
27
|
+
* job-xxxx
|
|
28
|
+
*/
|
|
29
|
+
jobId?: string;
|
|
30
|
+
/**
|
|
31
|
+
* @remarks
|
|
32
|
+
* The level of the running event. Valid values:
|
|
33
|
+
*
|
|
34
|
+
* * Normal
|
|
35
|
+
* * Warning
|
|
36
|
+
* * Error
|
|
37
|
+
*
|
|
38
|
+
* @example
|
|
39
|
+
* Normal
|
|
40
|
+
*/
|
|
41
|
+
level?: string;
|
|
42
|
+
/**
|
|
43
|
+
* @remarks
|
|
44
|
+
* The event of the running event.
|
|
45
|
+
*
|
|
46
|
+
* @example
|
|
47
|
+
* 2024-02-20 10:04:13
|
|
48
|
+
*/
|
|
49
|
+
time?: string;
|
|
50
|
+
static names(): { [key: string]: string } {
|
|
51
|
+
return {
|
|
52
|
+
content: 'Content',
|
|
53
|
+
executorId: 'ExecutorId',
|
|
54
|
+
jobId: 'JobId',
|
|
55
|
+
level: 'Level',
|
|
56
|
+
time: 'Time',
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
static types(): { [key: string]: any } {
|
|
61
|
+
return {
|
|
62
|
+
content: 'string',
|
|
63
|
+
executorId: 'string',
|
|
64
|
+
jobId: 'string',
|
|
65
|
+
level: 'string',
|
|
66
|
+
time: 'string',
|
|
67
|
+
};
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
validate() {
|
|
71
|
+
super.validate();
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
constructor(map?: { [key: string]: any }) {
|
|
75
|
+
super(map);
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
export class ListExecutorEventsResponseBody extends $dara.Model {
|
|
80
|
+
/**
|
|
81
|
+
* @remarks
|
|
82
|
+
* The list of the running event.
|
|
83
|
+
*/
|
|
84
|
+
executorEventList?: ListExecutorEventsResponseBodyExecutorEventList[];
|
|
85
|
+
/**
|
|
86
|
+
* @remarks
|
|
87
|
+
* The page number of the returned page.
|
|
88
|
+
*
|
|
89
|
+
* @example
|
|
90
|
+
* 1
|
|
91
|
+
*/
|
|
92
|
+
pageNumber?: number;
|
|
93
|
+
/**
|
|
94
|
+
* @remarks
|
|
95
|
+
* The number of entries returned per page.
|
|
96
|
+
*
|
|
97
|
+
* @example
|
|
98
|
+
* 50
|
|
99
|
+
*/
|
|
100
|
+
pageSize?: number;
|
|
101
|
+
/**
|
|
102
|
+
* @remarks
|
|
103
|
+
* The request ID.
|
|
104
|
+
*
|
|
105
|
+
* @example
|
|
106
|
+
* 896D338C-E4F4-41EC-A154-D605E5DE****
|
|
107
|
+
*/
|
|
108
|
+
requestId?: string;
|
|
109
|
+
/**
|
|
110
|
+
* @remarks
|
|
111
|
+
* The total number of entries returned.
|
|
112
|
+
*
|
|
113
|
+
* @example
|
|
114
|
+
* 40
|
|
115
|
+
*/
|
|
116
|
+
totalCount?: number;
|
|
117
|
+
static names(): { [key: string]: string } {
|
|
118
|
+
return {
|
|
119
|
+
executorEventList: 'ExecutorEventList',
|
|
120
|
+
pageNumber: 'PageNumber',
|
|
121
|
+
pageSize: 'PageSize',
|
|
122
|
+
requestId: 'RequestId',
|
|
123
|
+
totalCount: 'TotalCount',
|
|
124
|
+
};
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
static types(): { [key: string]: any } {
|
|
128
|
+
return {
|
|
129
|
+
executorEventList: { 'type': 'array', 'itemType': ListExecutorEventsResponseBodyExecutorEventList },
|
|
130
|
+
pageNumber: 'number',
|
|
131
|
+
pageSize: 'number',
|
|
132
|
+
requestId: 'string',
|
|
133
|
+
totalCount: 'number',
|
|
134
|
+
};
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
validate() {
|
|
138
|
+
if(Array.isArray(this.executorEventList)) {
|
|
139
|
+
$dara.Model.validateArray(this.executorEventList);
|
|
140
|
+
}
|
|
141
|
+
super.validate();
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
constructor(map?: { [key: string]: any }) {
|
|
145
|
+
super(map);
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class ListExecutorEventsShrinkRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* Queries the Executor filter conditions.
|
|
9
|
+
*/
|
|
10
|
+
filterShrink?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @remarks
|
|
13
|
+
* The current page number.\\
|
|
14
|
+
* Starting value: 1\\
|
|
15
|
+
* Default value: 1
|
|
16
|
+
*
|
|
17
|
+
* @example
|
|
18
|
+
* 1
|
|
19
|
+
*/
|
|
20
|
+
pageNumber?: number;
|
|
21
|
+
/**
|
|
22
|
+
* @remarks
|
|
23
|
+
* The number of entries on the current page. Default value: 50. Maximum value: 100.
|
|
24
|
+
*
|
|
25
|
+
* @example
|
|
26
|
+
* 50
|
|
27
|
+
*/
|
|
28
|
+
pageSize?: number;
|
|
29
|
+
static names(): { [key: string]: string } {
|
|
30
|
+
return {
|
|
31
|
+
filterShrink: 'Filter',
|
|
32
|
+
pageNumber: 'PageNumber',
|
|
33
|
+
pageSize: 'PageSize',
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
static types(): { [key: string]: any } {
|
|
38
|
+
return {
|
|
39
|
+
filterShrink: 'string',
|
|
40
|
+
pageNumber: 'number',
|
|
41
|
+
pageSize: 'number',
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
validate() {
|
|
46
|
+
super.validate();
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
constructor(map?: { [key: string]: any }) {
|
|
50
|
+
super(map);
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
|
|
@@ -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
|
@@ -58,6 +58,8 @@ export { GetPoolResponseBodyPoolInfo } from './GetPoolResponseBody';
|
|
|
58
58
|
export { ListActionPlanActivitiesResponseBodyActionPlanActivitiesJobs } from './ListActionPlanActivitiesResponseBody';
|
|
59
59
|
export { ListActionPlanActivitiesResponseBodyActionPlanActivities } from './ListActionPlanActivitiesResponseBody';
|
|
60
60
|
export { ListActionPlansResponseBodyActionPlans } from './ListActionPlansResponseBody';
|
|
61
|
+
export { ListExecutorEventsRequestFilter } from './ListExecutorEventsRequest';
|
|
62
|
+
export { ListExecutorEventsResponseBodyExecutorEventList } from './ListExecutorEventsResponseBody';
|
|
61
63
|
export { ListExecutorsRequestFilter } from './ListExecutorsRequest';
|
|
62
64
|
export { ListExecutorsResponseBodyExecutorsResourceDisks } from './ListExecutorsResponseBody';
|
|
63
65
|
export { ListExecutorsResponseBodyExecutorsResource } from './ListExecutorsResponseBody';
|
|
@@ -139,6 +141,10 @@ export { ListActionPlansRequest } from './ListActionPlansRequest';
|
|
|
139
141
|
export { ListActionPlansShrinkRequest } from './ListActionPlansShrinkRequest';
|
|
140
142
|
export { ListActionPlansResponseBody } from './ListActionPlansResponseBody';
|
|
141
143
|
export { ListActionPlansResponse } from './ListActionPlansResponse';
|
|
144
|
+
export { ListExecutorEventsRequest } from './ListExecutorEventsRequest';
|
|
145
|
+
export { ListExecutorEventsShrinkRequest } from './ListExecutorEventsShrinkRequest';
|
|
146
|
+
export { ListExecutorEventsResponseBody } from './ListExecutorEventsResponseBody';
|
|
147
|
+
export { ListExecutorEventsResponse } from './ListExecutorEventsResponse';
|
|
142
148
|
export { ListExecutorsRequest } from './ListExecutorsRequest';
|
|
143
149
|
export { ListExecutorsShrinkRequest } from './ListExecutorsShrinkRequest';
|
|
144
150
|
export { ListExecutorsResponseBody } from './ListExecutorsResponseBody';
|