@alicloud/ehpcinstant20230701 3.1.0 → 3.2.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.
Files changed (105) hide show
  1. package/dist/client.d.ts +90 -0
  2. package/dist/client.js +292 -0
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CreateActionPlanRequest.d.ts +97 -0
  5. package/dist/models/CreateActionPlanRequest.js +137 -0
  6. package/dist/models/CreateActionPlanRequest.js.map +1 -0
  7. package/dist/models/CreateActionPlanResponse.d.ts +19 -0
  8. package/dist/models/CreateActionPlanResponse.js +69 -0
  9. package/dist/models/CreateActionPlanResponse.js.map +1 -0
  10. package/dist/models/CreateActionPlanResponseBody.d.ts +23 -0
  11. package/dist/models/CreateActionPlanResponseBody.js +60 -0
  12. package/dist/models/CreateActionPlanResponseBody.js.map +1 -0
  13. package/dist/models/CreateActionPlanShrinkRequest.d.ts +55 -0
  14. package/dist/models/CreateActionPlanShrinkRequest.js +76 -0
  15. package/dist/models/CreateActionPlanShrinkRequest.js.map +1 -0
  16. package/dist/models/CreateJobRequest.d.ts +2 -0
  17. package/dist/models/CreateJobRequest.js +4 -0
  18. package/dist/models/CreateJobRequest.js.map +1 -1
  19. package/dist/models/DeleteActionPlanRequest.d.ts +18 -0
  20. package/dist/models/DeleteActionPlanRequest.js +58 -0
  21. package/dist/models/DeleteActionPlanRequest.js.map +1 -0
  22. package/dist/models/DeleteActionPlanResponse.d.ts +19 -0
  23. package/dist/models/DeleteActionPlanResponse.js +69 -0
  24. package/dist/models/DeleteActionPlanResponse.js.map +1 -0
  25. package/dist/models/DeleteActionPlanResponseBody.d.ts +18 -0
  26. package/dist/models/DeleteActionPlanResponseBody.js +58 -0
  27. package/dist/models/DeleteActionPlanResponseBody.js.map +1 -0
  28. package/dist/models/GetActionPlanRequest.d.ts +18 -0
  29. package/dist/models/GetActionPlanRequest.js +58 -0
  30. package/dist/models/GetActionPlanRequest.js.map +1 -0
  31. package/dist/models/GetActionPlanResponse.d.ts +19 -0
  32. package/dist/models/GetActionPlanResponse.js +69 -0
  33. package/dist/models/GetActionPlanResponse.js.map +1 -0
  34. package/dist/models/GetActionPlanResponseBody.d.ts +121 -0
  35. package/dist/models/GetActionPlanResponseBody.js +142 -0
  36. package/dist/models/GetActionPlanResponseBody.js.map +1 -0
  37. package/dist/models/GetJobResponseBody.d.ts +2 -0
  38. package/dist/models/GetJobResponseBody.js +4 -0
  39. package/dist/models/GetJobResponseBody.js.map +1 -1
  40. package/dist/models/ListActionPlanActivitiesRequest.d.ts +28 -0
  41. package/dist/models/ListActionPlanActivitiesRequest.js +62 -0
  42. package/dist/models/ListActionPlanActivitiesRequest.js.map +1 -0
  43. package/dist/models/ListActionPlanActivitiesResponse.d.ts +19 -0
  44. package/dist/models/ListActionPlanActivitiesResponse.js +69 -0
  45. package/dist/models/ListActionPlanActivitiesResponse.js.map +1 -0
  46. package/dist/models/ListActionPlanActivitiesResponseBody.d.ts +107 -0
  47. package/dist/models/ListActionPlanActivitiesResponseBody.js +126 -0
  48. package/dist/models/ListActionPlanActivitiesResponseBody.js.map +1 -0
  49. package/dist/models/ListActionPlansRequest.d.ts +24 -0
  50. package/dist/models/ListActionPlansRequest.js +65 -0
  51. package/dist/models/ListActionPlansRequest.js.map +1 -0
  52. package/dist/models/ListActionPlansResponse.d.ts +19 -0
  53. package/dist/models/ListActionPlansResponse.js +69 -0
  54. package/dist/models/ListActionPlansResponse.js.map +1 -0
  55. package/dist/models/ListActionPlansResponseBody.d.ts +74 -0
  56. package/dist/models/ListActionPlansResponseBody.js +96 -0
  57. package/dist/models/ListActionPlansResponseBody.js.map +1 -0
  58. package/dist/models/ListActionPlansShrinkRequest.d.ts +24 -0
  59. package/dist/models/ListActionPlansShrinkRequest.js +62 -0
  60. package/dist/models/ListActionPlansShrinkRequest.js.map +1 -0
  61. package/dist/models/ListExecutorsResponseBody.d.ts +1 -0
  62. package/dist/models/ListExecutorsResponseBody.js +2 -0
  63. package/dist/models/ListExecutorsResponseBody.js.map +1 -1
  64. package/dist/models/ListJobExecutorsResponseBody.d.ts +1 -0
  65. package/dist/models/ListJobExecutorsResponseBody.js +2 -0
  66. package/dist/models/ListJobExecutorsResponseBody.js.map +1 -1
  67. package/dist/models/UpdateActionPlanRequest.d.ts +28 -0
  68. package/dist/models/UpdateActionPlanRequest.js +62 -0
  69. package/dist/models/UpdateActionPlanRequest.js.map +1 -0
  70. package/dist/models/UpdateActionPlanResponse.d.ts +19 -0
  71. package/dist/models/UpdateActionPlanResponse.js +69 -0
  72. package/dist/models/UpdateActionPlanResponse.js.map +1 -0
  73. package/dist/models/UpdateActionPlanResponseBody.d.ts +18 -0
  74. package/dist/models/UpdateActionPlanResponseBody.js +58 -0
  75. package/dist/models/UpdateActionPlanResponseBody.js.map +1 -0
  76. package/dist/models/model.d.ts +27 -0
  77. package/dist/models/model.js +58 -4
  78. package/dist/models/model.js.map +1 -1
  79. package/package.json +1 -1
  80. package/src/client.ts +328 -0
  81. package/src/models/CreateActionPlanRequest.ts +171 -0
  82. package/src/models/CreateActionPlanResponse.ts +40 -0
  83. package/src/models/CreateActionPlanResponseBody.ts +38 -0
  84. package/src/models/CreateActionPlanShrinkRequest.ts +86 -0
  85. package/src/models/CreateJobRequest.ts +6 -0
  86. package/src/models/DeleteActionPlanRequest.ts +31 -0
  87. package/src/models/DeleteActionPlanResponse.ts +40 -0
  88. package/src/models/DeleteActionPlanResponseBody.ts +31 -0
  89. package/src/models/GetActionPlanRequest.ts +31 -0
  90. package/src/models/GetActionPlanResponse.ts +40 -0
  91. package/src/models/GetActionPlanResponseBody.ts +200 -0
  92. package/src/models/GetJobResponseBody.ts +6 -0
  93. package/src/models/ListActionPlanActivitiesRequest.ts +45 -0
  94. package/src/models/ListActionPlanActivitiesResponse.ts +40 -0
  95. package/src/models/ListActionPlanActivitiesResponseBody.ts +170 -0
  96. package/src/models/ListActionPlansRequest.ts +44 -0
  97. package/src/models/ListActionPlansResponse.ts +40 -0
  98. package/src/models/ListActionPlansResponseBody.ts +116 -0
  99. package/src/models/ListActionPlansShrinkRequest.ts +41 -0
  100. package/src/models/ListExecutorsResponseBody.ts +3 -0
  101. package/src/models/ListJobExecutorsResponseBody.ts +3 -0
  102. package/src/models/UpdateActionPlanRequest.ts +45 -0
  103. package/src/models/UpdateActionPlanResponse.ts +40 -0
  104. package/src/models/UpdateActionPlanResponseBody.ts +31 -0
  105. package/src/models/model.ts +27 -0
@@ -332,6 +332,8 @@ export class CreateJobRequestTasksTaskSpecResource extends $dara.Model {
332
332
  */
333
333
  cores?: number;
334
334
  disks?: CreateJobRequestTasksTaskSpecResourceDisks[];
335
+ enableHT?: boolean;
336
+ hostNamePrefix?: string;
335
337
  instanceTypes?: string[];
336
338
  /**
337
339
  * @example
@@ -342,6 +344,8 @@ export class CreateJobRequestTasksTaskSpecResource extends $dara.Model {
342
344
  return {
343
345
  cores: 'Cores',
344
346
  disks: 'Disks',
347
+ enableHT: 'EnableHT',
348
+ hostNamePrefix: 'HostNamePrefix',
345
349
  instanceTypes: 'InstanceTypes',
346
350
  memory: 'Memory',
347
351
  };
@@ -351,6 +355,8 @@ export class CreateJobRequestTasksTaskSpecResource extends $dara.Model {
351
355
  return {
352
356
  cores: 'number',
353
357
  disks: { 'type': 'array', 'itemType': CreateJobRequestTasksTaskSpecResourceDisks },
358
+ enableHT: 'boolean',
359
+ hostNamePrefix: 'string',
354
360
  instanceTypes: { 'type': 'array', 'itemType': 'string' },
355
361
  memory: 'number',
356
362
  };
@@ -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 DeleteActionPlanRequest extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * ap-hz036ubmx2qmw93k****
9
+ */
10
+ actionPlanId?: string;
11
+ static names(): { [key: string]: string } {
12
+ return {
13
+ actionPlanId: 'ActionPlanId',
14
+ };
15
+ }
16
+
17
+ static types(): { [key: string]: any } {
18
+ return {
19
+ actionPlanId: 'string',
20
+ };
21
+ }
22
+
23
+ validate() {
24
+ super.validate();
25
+ }
26
+
27
+ constructor(map?: { [key: string]: any }) {
28
+ super(map);
29
+ }
30
+ }
31
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { DeleteActionPlanResponseBody } from "./DeleteActionPlanResponseBody";
4
+
5
+
6
+ export class DeleteActionPlanResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: DeleteActionPlanResponseBody;
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: DeleteActionPlanResponseBody,
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,31 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class DeleteActionPlanResponseBody extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * 04F0F334-1335-436C-A1D7-6C044FE7****
9
+ */
10
+ requestId?: string;
11
+ static names(): { [key: string]: string } {
12
+ return {
13
+ requestId: 'RequestId',
14
+ };
15
+ }
16
+
17
+ static types(): { [key: string]: any } {
18
+ return {
19
+ requestId: 'string',
20
+ };
21
+ }
22
+
23
+ validate() {
24
+ super.validate();
25
+ }
26
+
27
+ constructor(map?: { [key: string]: any }) {
28
+ super(map);
29
+ }
30
+ }
31
+
@@ -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 GetActionPlanRequest extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * ap-hz036ubmx2qmw93k****
9
+ */
10
+ actionPlanId?: string;
11
+ static names(): { [key: string]: string } {
12
+ return {
13
+ actionPlanId: 'ActionPlanId',
14
+ };
15
+ }
16
+
17
+ static types(): { [key: string]: any } {
18
+ return {
19
+ actionPlanId: 'string',
20
+ };
21
+ }
22
+
23
+ validate() {
24
+ super.validate();
25
+ }
26
+
27
+ constructor(map?: { [key: string]: any }) {
28
+ super(map);
29
+ }
30
+ }
31
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { GetActionPlanResponseBody } from "./GetActionPlanResponseBody";
4
+
5
+
6
+ export class GetActionPlanResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: GetActionPlanResponseBody;
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: GetActionPlanResponseBody,
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,200 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class GetActionPlanResponseBodyRegions extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * cn-hangzhou
9
+ */
10
+ regionId?: string;
11
+ securityGroupIds?: string[];
12
+ vSwitchIds?: string[];
13
+ static names(): { [key: string]: string } {
14
+ return {
15
+ regionId: 'RegionId',
16
+ securityGroupIds: 'SecurityGroupIds',
17
+ vSwitchIds: 'VSwitchIds',
18
+ };
19
+ }
20
+
21
+ static types(): { [key: string]: any } {
22
+ return {
23
+ regionId: 'string',
24
+ securityGroupIds: { 'type': 'array', 'itemType': 'string' },
25
+ vSwitchIds: { 'type': 'array', 'itemType': 'string' },
26
+ };
27
+ }
28
+
29
+ validate() {
30
+ if(Array.isArray(this.securityGroupIds)) {
31
+ $dara.Model.validateArray(this.securityGroupIds);
32
+ }
33
+ if(Array.isArray(this.vSwitchIds)) {
34
+ $dara.Model.validateArray(this.vSwitchIds);
35
+ }
36
+ super.validate();
37
+ }
38
+
39
+ constructor(map?: { [key: string]: any }) {
40
+ super(map);
41
+ }
42
+ }
43
+
44
+ export class GetActionPlanResponseBodyResources extends $dara.Model {
45
+ /**
46
+ * @example
47
+ * 64
48
+ */
49
+ cores?: number;
50
+ /**
51
+ * @example
52
+ * 128
53
+ */
54
+ memory?: number;
55
+ static names(): { [key: string]: string } {
56
+ return {
57
+ cores: 'Cores',
58
+ memory: 'Memory',
59
+ };
60
+ }
61
+
62
+ static types(): { [key: string]: any } {
63
+ return {
64
+ cores: 'number',
65
+ memory: 'number',
66
+ };
67
+ }
68
+
69
+ validate() {
70
+ super.validate();
71
+ }
72
+
73
+ constructor(map?: { [key: string]: any }) {
74
+ super(map);
75
+ }
76
+ }
77
+
78
+ export class GetActionPlanResponseBody extends $dara.Model {
79
+ /**
80
+ * @example
81
+ * ap-hz036ubmx2qmw93k****
82
+ */
83
+ actionPlanId?: string;
84
+ /**
85
+ * @example
86
+ * TestActionPlan
87
+ */
88
+ actionPlanName?: string;
89
+ /**
90
+ * @example
91
+ * Standard
92
+ */
93
+ allocationSpec?: string;
94
+ /**
95
+ * @example
96
+ * ci-vm-rYfypJKwlN9Y
97
+ */
98
+ appId?: string;
99
+ /**
100
+ * @example
101
+ * 2025-08-10 18:28:05
102
+ */
103
+ createTime?: string;
104
+ /**
105
+ * @example
106
+ * 1000
107
+ */
108
+ desiredCapacity?: number;
109
+ /**
110
+ * @example
111
+ * General
112
+ */
113
+ level?: string;
114
+ /**
115
+ * @example
116
+ * bHMgLWFsCmxzIC1hbGggfCB3YyAtbA==
117
+ */
118
+ prologScript?: string;
119
+ regions?: GetActionPlanResponseBodyRegions[];
120
+ /**
121
+ * @example
122
+ * 896D338C-E4F4-41EC-A154-D605E5DE****
123
+ */
124
+ requestId?: string;
125
+ /**
126
+ * @example
127
+ * VCpuCapacity
128
+ */
129
+ resourceType?: string;
130
+ resources?: GetActionPlanResponseBodyResources[];
131
+ /**
132
+ * @example
133
+ * Active
134
+ */
135
+ status?: string;
136
+ /**
137
+ * @example
138
+ * 1000
139
+ */
140
+ totalCapacity?: number;
141
+ /**
142
+ * @example
143
+ * 2025-08-10 18:28:05
144
+ */
145
+ updateTime?: string;
146
+ static names(): { [key: string]: string } {
147
+ return {
148
+ actionPlanId: 'ActionPlanId',
149
+ actionPlanName: 'ActionPlanName',
150
+ allocationSpec: 'AllocationSpec',
151
+ appId: 'AppId',
152
+ createTime: 'CreateTime',
153
+ desiredCapacity: 'DesiredCapacity',
154
+ level: 'Level',
155
+ prologScript: 'PrologScript',
156
+ regions: 'Regions',
157
+ requestId: 'RequestId',
158
+ resourceType: 'ResourceType',
159
+ resources: 'Resources',
160
+ status: 'Status',
161
+ totalCapacity: 'TotalCapacity',
162
+ updateTime: 'UpdateTime',
163
+ };
164
+ }
165
+
166
+ static types(): { [key: string]: any } {
167
+ return {
168
+ actionPlanId: 'string',
169
+ actionPlanName: 'string',
170
+ allocationSpec: 'string',
171
+ appId: 'string',
172
+ createTime: 'string',
173
+ desiredCapacity: 'number',
174
+ level: 'string',
175
+ prologScript: 'string',
176
+ regions: { 'type': 'array', 'itemType': GetActionPlanResponseBodyRegions },
177
+ requestId: 'string',
178
+ resourceType: 'string',
179
+ resources: { 'type': 'array', 'itemType': GetActionPlanResponseBodyResources },
180
+ status: 'string',
181
+ totalCapacity: 'number',
182
+ updateTime: 'string',
183
+ };
184
+ }
185
+
186
+ validate() {
187
+ if(Array.isArray(this.regions)) {
188
+ $dara.Model.validateArray(this.regions);
189
+ }
190
+ if(Array.isArray(this.resources)) {
191
+ $dara.Model.validateArray(this.resources);
192
+ }
193
+ super.validate();
194
+ }
195
+
196
+ constructor(map?: { [key: string]: any }) {
197
+ super(map);
198
+ }
199
+ }
200
+
@@ -331,6 +331,8 @@ export class GetJobResponseBodyJobInfoTasksTaskSpecResource extends $dara.Model
331
331
  */
332
332
  cores?: number;
333
333
  disks?: GetJobResponseBodyJobInfoTasksTaskSpecResourceDisks[];
334
+ enableHT?: boolean;
335
+ hostNamePrefix?: string;
334
336
  instanceTypes?: string[];
335
337
  /**
336
338
  * @example
@@ -341,6 +343,8 @@ export class GetJobResponseBodyJobInfoTasksTaskSpecResource extends $dara.Model
341
343
  return {
342
344
  cores: 'Cores',
343
345
  disks: 'Disks',
346
+ enableHT: 'EnableHT',
347
+ hostNamePrefix: 'HostNamePrefix',
344
348
  instanceTypes: 'InstanceTypes',
345
349
  memory: 'Memory',
346
350
  };
@@ -350,6 +354,8 @@ export class GetJobResponseBodyJobInfoTasksTaskSpecResource extends $dara.Model
350
354
  return {
351
355
  cores: 'number',
352
356
  disks: { 'type': 'array', 'itemType': GetJobResponseBodyJobInfoTasksTaskSpecResourceDisks },
357
+ enableHT: 'boolean',
358
+ hostNamePrefix: 'string',
353
359
  instanceTypes: { 'type': 'array', 'itemType': 'string' },
354
360
  memory: 'number',
355
361
  };
@@ -0,0 +1,45 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class ListActionPlanActivitiesRequest extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * ap-hz036ubmx2qmw93k****
9
+ */
10
+ actionPlanId?: string;
11
+ /**
12
+ * @example
13
+ * 100
14
+ */
15
+ maxResults?: number;
16
+ /**
17
+ * @example
18
+ * 1d2db86scXXXXXXXXXX
19
+ */
20
+ nextToken?: string;
21
+ static names(): { [key: string]: string } {
22
+ return {
23
+ actionPlanId: 'ActionPlanId',
24
+ maxResults: 'MaxResults',
25
+ nextToken: 'NextToken',
26
+ };
27
+ }
28
+
29
+ static types(): { [key: string]: any } {
30
+ return {
31
+ actionPlanId: 'string',
32
+ maxResults: 'number',
33
+ nextToken: 'string',
34
+ };
35
+ }
36
+
37
+ validate() {
38
+ super.validate();
39
+ }
40
+
41
+ constructor(map?: { [key: string]: any }) {
42
+ super(map);
43
+ }
44
+ }
45
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { ListActionPlanActivitiesResponseBody } from "./ListActionPlanActivitiesResponseBody";
4
+
5
+
6
+ export class ListActionPlanActivitiesResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: ListActionPlanActivitiesResponseBody;
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: ListActionPlanActivitiesResponseBody,
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,170 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class ListActionPlanActivitiesResponseBodyActionPlanActivitiesJobs extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * job-hz12dqq8y3ormo1hz49h
9
+ */
10
+ jobId?: string;
11
+ /**
12
+ * @example
13
+ * Create
14
+ */
15
+ jobOperationType?: string;
16
+ /**
17
+ * @example
18
+ * cn-hangzhou
19
+ */
20
+ regionId?: string;
21
+ static names(): { [key: string]: string } {
22
+ return {
23
+ jobId: 'JobId',
24
+ jobOperationType: 'JobOperationType',
25
+ regionId: 'RegionId',
26
+ };
27
+ }
28
+
29
+ static types(): { [key: string]: any } {
30
+ return {
31
+ jobId: 'string',
32
+ jobOperationType: 'string',
33
+ regionId: 'string',
34
+ };
35
+ }
36
+
37
+ validate() {
38
+ super.validate();
39
+ }
40
+
41
+ constructor(map?: { [key: string]: any }) {
42
+ super(map);
43
+ }
44
+ }
45
+
46
+ export class ListActionPlanActivitiesResponseBodyActionPlanActivities extends $dara.Model {
47
+ /**
48
+ * @example
49
+ * et-4119e3f60eb34fc4
50
+ */
51
+ actionPlanActivityId?: string;
52
+ /**
53
+ * @example
54
+ * 100
55
+ */
56
+ createdCapacity?: number;
57
+ /**
58
+ * @example
59
+ * 0
60
+ */
61
+ destroyCapacity?: number;
62
+ /**
63
+ * @example
64
+ * 2025-08-10 18:28:05
65
+ */
66
+ endTime?: string;
67
+ jobs?: ListActionPlanActivitiesResponseBodyActionPlanActivitiesJobs[];
68
+ /**
69
+ * @example
70
+ * 2025-08-10 18:28:05
71
+ */
72
+ startTime?: string;
73
+ /**
74
+ * @example
75
+ * InProcess
76
+ */
77
+ status?: string;
78
+ static names(): { [key: string]: string } {
79
+ return {
80
+ actionPlanActivityId: 'ActionPlanActivityId',
81
+ createdCapacity: 'CreatedCapacity',
82
+ destroyCapacity: 'DestroyCapacity',
83
+ endTime: 'EndTime',
84
+ jobs: 'Jobs',
85
+ startTime: 'StartTime',
86
+ status: 'Status',
87
+ };
88
+ }
89
+
90
+ static types(): { [key: string]: any } {
91
+ return {
92
+ actionPlanActivityId: 'string',
93
+ createdCapacity: 'number',
94
+ destroyCapacity: 'number',
95
+ endTime: 'string',
96
+ jobs: { 'type': 'array', 'itemType': ListActionPlanActivitiesResponseBodyActionPlanActivitiesJobs },
97
+ startTime: 'string',
98
+ status: 'string',
99
+ };
100
+ }
101
+
102
+ validate() {
103
+ if(Array.isArray(this.jobs)) {
104
+ $dara.Model.validateArray(this.jobs);
105
+ }
106
+ super.validate();
107
+ }
108
+
109
+ constructor(map?: { [key: string]: any }) {
110
+ super(map);
111
+ }
112
+ }
113
+
114
+ export class ListActionPlanActivitiesResponseBody extends $dara.Model {
115
+ actionPlanActivities?: ListActionPlanActivitiesResponseBodyActionPlanActivities[];
116
+ /**
117
+ * @example
118
+ * 100
119
+ */
120
+ maxResults?: number;
121
+ /**
122
+ * @remarks
123
+ * This parameter is required.
124
+ *
125
+ * @example
126
+ * 1d2db86scXXXXXXXXXX
127
+ */
128
+ nextToken?: string;
129
+ /**
130
+ * @example
131
+ * 896D338C-E4F4-41EC-A154-D605E5DE****
132
+ */
133
+ requestId?: string;
134
+ /**
135
+ * @example
136
+ * 40
137
+ */
138
+ totalCount?: number;
139
+ static names(): { [key: string]: string } {
140
+ return {
141
+ actionPlanActivities: 'ActionPlanActivities',
142
+ maxResults: 'MaxResults',
143
+ nextToken: 'NextToken',
144
+ requestId: 'RequestId',
145
+ totalCount: 'TotalCount',
146
+ };
147
+ }
148
+
149
+ static types(): { [key: string]: any } {
150
+ return {
151
+ actionPlanActivities: { 'type': 'array', 'itemType': ListActionPlanActivitiesResponseBodyActionPlanActivities },
152
+ maxResults: 'number',
153
+ nextToken: 'string',
154
+ requestId: 'string',
155
+ totalCount: 'number',
156
+ };
157
+ }
158
+
159
+ validate() {
160
+ if(Array.isArray(this.actionPlanActivities)) {
161
+ $dara.Model.validateArray(this.actionPlanActivities);
162
+ }
163
+ super.validate();
164
+ }
165
+
166
+ constructor(map?: { [key: string]: any }) {
167
+ super(map);
168
+ }
169
+ }
170
+