@alicloud/ehpcinstant20230701 3.1.0 → 3.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.
Files changed (89) 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/DeleteActionPlanRequest.d.ts +18 -0
  17. package/dist/models/DeleteActionPlanRequest.js +58 -0
  18. package/dist/models/DeleteActionPlanRequest.js.map +1 -0
  19. package/dist/models/DeleteActionPlanResponse.d.ts +19 -0
  20. package/dist/models/DeleteActionPlanResponse.js +69 -0
  21. package/dist/models/DeleteActionPlanResponse.js.map +1 -0
  22. package/dist/models/DeleteActionPlanResponseBody.d.ts +18 -0
  23. package/dist/models/DeleteActionPlanResponseBody.js +58 -0
  24. package/dist/models/DeleteActionPlanResponseBody.js.map +1 -0
  25. package/dist/models/GetActionPlanRequest.d.ts +18 -0
  26. package/dist/models/GetActionPlanRequest.js +58 -0
  27. package/dist/models/GetActionPlanRequest.js.map +1 -0
  28. package/dist/models/GetActionPlanResponse.d.ts +19 -0
  29. package/dist/models/GetActionPlanResponse.js +69 -0
  30. package/dist/models/GetActionPlanResponse.js.map +1 -0
  31. package/dist/models/GetActionPlanResponseBody.d.ts +121 -0
  32. package/dist/models/GetActionPlanResponseBody.js +142 -0
  33. package/dist/models/GetActionPlanResponseBody.js.map +1 -0
  34. package/dist/models/ListActionPlanActivitiesRequest.d.ts +28 -0
  35. package/dist/models/ListActionPlanActivitiesRequest.js +62 -0
  36. package/dist/models/ListActionPlanActivitiesRequest.js.map +1 -0
  37. package/dist/models/ListActionPlanActivitiesResponse.d.ts +19 -0
  38. package/dist/models/ListActionPlanActivitiesResponse.js +69 -0
  39. package/dist/models/ListActionPlanActivitiesResponse.js.map +1 -0
  40. package/dist/models/ListActionPlanActivitiesResponseBody.d.ts +107 -0
  41. package/dist/models/ListActionPlanActivitiesResponseBody.js +126 -0
  42. package/dist/models/ListActionPlanActivitiesResponseBody.js.map +1 -0
  43. package/dist/models/ListActionPlansRequest.d.ts +24 -0
  44. package/dist/models/ListActionPlansRequest.js +65 -0
  45. package/dist/models/ListActionPlansRequest.js.map +1 -0
  46. package/dist/models/ListActionPlansResponse.d.ts +19 -0
  47. package/dist/models/ListActionPlansResponse.js +69 -0
  48. package/dist/models/ListActionPlansResponse.js.map +1 -0
  49. package/dist/models/ListActionPlansResponseBody.d.ts +74 -0
  50. package/dist/models/ListActionPlansResponseBody.js +96 -0
  51. package/dist/models/ListActionPlansResponseBody.js.map +1 -0
  52. package/dist/models/ListActionPlansShrinkRequest.d.ts +24 -0
  53. package/dist/models/ListActionPlansShrinkRequest.js +62 -0
  54. package/dist/models/ListActionPlansShrinkRequest.js.map +1 -0
  55. package/dist/models/UpdateActionPlanRequest.d.ts +28 -0
  56. package/dist/models/UpdateActionPlanRequest.js +62 -0
  57. package/dist/models/UpdateActionPlanRequest.js.map +1 -0
  58. package/dist/models/UpdateActionPlanResponse.d.ts +19 -0
  59. package/dist/models/UpdateActionPlanResponse.js +69 -0
  60. package/dist/models/UpdateActionPlanResponse.js.map +1 -0
  61. package/dist/models/UpdateActionPlanResponseBody.d.ts +18 -0
  62. package/dist/models/UpdateActionPlanResponseBody.js +58 -0
  63. package/dist/models/UpdateActionPlanResponseBody.js.map +1 -0
  64. package/dist/models/model.d.ts +27 -0
  65. package/dist/models/model.js +58 -4
  66. package/dist/models/model.js.map +1 -1
  67. package/package.json +1 -1
  68. package/src/client.ts +328 -0
  69. package/src/models/CreateActionPlanRequest.ts +171 -0
  70. package/src/models/CreateActionPlanResponse.ts +40 -0
  71. package/src/models/CreateActionPlanResponseBody.ts +38 -0
  72. package/src/models/CreateActionPlanShrinkRequest.ts +86 -0
  73. package/src/models/DeleteActionPlanRequest.ts +31 -0
  74. package/src/models/DeleteActionPlanResponse.ts +40 -0
  75. package/src/models/DeleteActionPlanResponseBody.ts +31 -0
  76. package/src/models/GetActionPlanRequest.ts +31 -0
  77. package/src/models/GetActionPlanResponse.ts +40 -0
  78. package/src/models/GetActionPlanResponseBody.ts +200 -0
  79. package/src/models/ListActionPlanActivitiesRequest.ts +45 -0
  80. package/src/models/ListActionPlanActivitiesResponse.ts +40 -0
  81. package/src/models/ListActionPlanActivitiesResponseBody.ts +170 -0
  82. package/src/models/ListActionPlansRequest.ts +44 -0
  83. package/src/models/ListActionPlansResponse.ts +40 -0
  84. package/src/models/ListActionPlansResponseBody.ts +116 -0
  85. package/src/models/ListActionPlansShrinkRequest.ts +41 -0
  86. package/src/models/UpdateActionPlanRequest.ts +45 -0
  87. package/src/models/UpdateActionPlanResponse.ts +40 -0
  88. package/src/models/UpdateActionPlanResponseBody.ts +31 -0
  89. package/src/models/model.ts +27 -0
@@ -0,0 +1,171 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class CreateActionPlanRequestRegions extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * cn-hangzhou
9
+ */
10
+ regionId?: string;
11
+ securityGroupId?: string[];
12
+ securityGroupIds?: string[];
13
+ vSwitchIds?: string[];
14
+ static names(): { [key: string]: string } {
15
+ return {
16
+ regionId: 'RegionId',
17
+ securityGroupId: 'SecurityGroupId',
18
+ securityGroupIds: 'SecurityGroupIds',
19
+ vSwitchIds: 'VSwitchIds',
20
+ };
21
+ }
22
+
23
+ static types(): { [key: string]: any } {
24
+ return {
25
+ regionId: 'string',
26
+ securityGroupId: { 'type': 'array', 'itemType': 'string' },
27
+ securityGroupIds: { 'type': 'array', 'itemType': 'string' },
28
+ vSwitchIds: { 'type': 'array', 'itemType': 'string' },
29
+ };
30
+ }
31
+
32
+ validate() {
33
+ if(Array.isArray(this.securityGroupId)) {
34
+ $dara.Model.validateArray(this.securityGroupId);
35
+ }
36
+ if(Array.isArray(this.securityGroupIds)) {
37
+ $dara.Model.validateArray(this.securityGroupIds);
38
+ }
39
+ if(Array.isArray(this.vSwitchIds)) {
40
+ $dara.Model.validateArray(this.vSwitchIds);
41
+ }
42
+ super.validate();
43
+ }
44
+
45
+ constructor(map?: { [key: string]: any }) {
46
+ super(map);
47
+ }
48
+ }
49
+
50
+ export class CreateActionPlanRequestResources extends $dara.Model {
51
+ /**
52
+ * @example
53
+ * 2
54
+ */
55
+ cores?: number;
56
+ /**
57
+ * @example
58
+ * 4
59
+ */
60
+ memory?: number;
61
+ static names(): { [key: string]: string } {
62
+ return {
63
+ cores: 'Cores',
64
+ memory: 'Memory',
65
+ };
66
+ }
67
+
68
+ static types(): { [key: string]: any } {
69
+ return {
70
+ cores: 'number',
71
+ memory: 'number',
72
+ };
73
+ }
74
+
75
+ validate() {
76
+ super.validate();
77
+ }
78
+
79
+ constructor(map?: { [key: string]: any }) {
80
+ super(map);
81
+ }
82
+ }
83
+
84
+ export class CreateActionPlanRequest extends $dara.Model {
85
+ /**
86
+ * @example
87
+ * TestActionPlan
88
+ */
89
+ actionPlanName?: string;
90
+ /**
91
+ * @example
92
+ * Standard
93
+ */
94
+ allocationSpec?: string;
95
+ /**
96
+ * @example
97
+ * ci-vm-rYfypJKwlN9Y
98
+ */
99
+ appId?: string;
100
+ /**
101
+ * @example
102
+ * 1000
103
+ */
104
+ desiredCapacity?: number;
105
+ /**
106
+ * @example
107
+ * General
108
+ */
109
+ level?: string;
110
+ /**
111
+ * @example
112
+ * bHMgLWFsCmxzIC1hbGggfCB3YyAtbA==
113
+ */
114
+ prologScript?: string;
115
+ regions?: CreateActionPlanRequestRegions[];
116
+ /**
117
+ * @example
118
+ * VCpuCapacity
119
+ */
120
+ resourceType?: string;
121
+ resources?: CreateActionPlanRequestResources[];
122
+ /**
123
+ * @example
124
+ * bHMgLWFsCmxzIC1hbGggfCB3YyAtbA==
125
+ */
126
+ script?: string;
127
+ static names(): { [key: string]: string } {
128
+ return {
129
+ actionPlanName: 'ActionPlanName',
130
+ allocationSpec: 'AllocationSpec',
131
+ appId: 'AppId',
132
+ desiredCapacity: 'DesiredCapacity',
133
+ level: 'Level',
134
+ prologScript: 'PrologScript',
135
+ regions: 'Regions',
136
+ resourceType: 'ResourceType',
137
+ resources: 'Resources',
138
+ script: 'Script',
139
+ };
140
+ }
141
+
142
+ static types(): { [key: string]: any } {
143
+ return {
144
+ actionPlanName: 'string',
145
+ allocationSpec: 'string',
146
+ appId: 'string',
147
+ desiredCapacity: 'number',
148
+ level: 'string',
149
+ prologScript: 'string',
150
+ regions: { 'type': 'array', 'itemType': CreateActionPlanRequestRegions },
151
+ resourceType: 'string',
152
+ resources: { 'type': 'array', 'itemType': CreateActionPlanRequestResources },
153
+ script: 'string',
154
+ };
155
+ }
156
+
157
+ validate() {
158
+ if(Array.isArray(this.regions)) {
159
+ $dara.Model.validateArray(this.regions);
160
+ }
161
+ if(Array.isArray(this.resources)) {
162
+ $dara.Model.validateArray(this.resources);
163
+ }
164
+ super.validate();
165
+ }
166
+
167
+ constructor(map?: { [key: string]: any }) {
168
+ super(map);
169
+ }
170
+ }
171
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { CreateActionPlanResponseBody } from "./CreateActionPlanResponseBody";
4
+
5
+
6
+ export class CreateActionPlanResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: CreateActionPlanResponseBody;
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: CreateActionPlanResponseBody,
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,38 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class CreateActionPlanResponseBody extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * ap-hz036ubmx2qmw93k****
9
+ */
10
+ actionPlanId?: string;
11
+ /**
12
+ * @example
13
+ * 896D338C-E4F4-41EC-A154-D605E5DE****
14
+ */
15
+ requestId?: string;
16
+ static names(): { [key: string]: string } {
17
+ return {
18
+ actionPlanId: 'ActionPlanId',
19
+ requestId: 'RequestId',
20
+ };
21
+ }
22
+
23
+ static types(): { [key: string]: any } {
24
+ return {
25
+ actionPlanId: 'string',
26
+ requestId: 'string',
27
+ };
28
+ }
29
+
30
+ validate() {
31
+ super.validate();
32
+ }
33
+
34
+ constructor(map?: { [key: string]: any }) {
35
+ super(map);
36
+ }
37
+ }
38
+
@@ -0,0 +1,86 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class CreateActionPlanShrinkRequest extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * TestActionPlan
9
+ */
10
+ actionPlanName?: string;
11
+ /**
12
+ * @example
13
+ * Standard
14
+ */
15
+ allocationSpec?: string;
16
+ /**
17
+ * @example
18
+ * ci-vm-rYfypJKwlN9Y
19
+ */
20
+ appId?: string;
21
+ /**
22
+ * @example
23
+ * 1000
24
+ */
25
+ desiredCapacity?: number;
26
+ /**
27
+ * @example
28
+ * General
29
+ */
30
+ level?: string;
31
+ /**
32
+ * @example
33
+ * bHMgLWFsCmxzIC1hbGggfCB3YyAtbA==
34
+ */
35
+ prologScript?: string;
36
+ regionsShrink?: string;
37
+ /**
38
+ * @example
39
+ * VCpuCapacity
40
+ */
41
+ resourceType?: string;
42
+ resourcesShrink?: string;
43
+ /**
44
+ * @example
45
+ * bHMgLWFsCmxzIC1hbGggfCB3YyAtbA==
46
+ */
47
+ script?: string;
48
+ static names(): { [key: string]: string } {
49
+ return {
50
+ actionPlanName: 'ActionPlanName',
51
+ allocationSpec: 'AllocationSpec',
52
+ appId: 'AppId',
53
+ desiredCapacity: 'DesiredCapacity',
54
+ level: 'Level',
55
+ prologScript: 'PrologScript',
56
+ regionsShrink: 'Regions',
57
+ resourceType: 'ResourceType',
58
+ resourcesShrink: 'Resources',
59
+ script: 'Script',
60
+ };
61
+ }
62
+
63
+ static types(): { [key: string]: any } {
64
+ return {
65
+ actionPlanName: 'string',
66
+ allocationSpec: 'string',
67
+ appId: 'string',
68
+ desiredCapacity: 'number',
69
+ level: 'string',
70
+ prologScript: 'string',
71
+ regionsShrink: 'string',
72
+ resourceType: 'string',
73
+ resourcesShrink: 'string',
74
+ script: 'string',
75
+ };
76
+ }
77
+
78
+ validate() {
79
+ super.validate();
80
+ }
81
+
82
+ constructor(map?: { [key: string]: any }) {
83
+ super(map);
84
+ }
85
+ }
86
+
@@ -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
+