@alicloud/adbai20250812 1.0.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 (39) hide show
  1. package/LICENSE +13 -0
  2. package/README.md +25 -0
  3. package/dist/client.d.ts +41 -0
  4. package/dist/client.js +188 -0
  5. package/dist/client.js.map +1 -0
  6. package/dist/models/CreateEmbodiedAiplatformRequest.d.ts +115 -0
  7. package/dist/models/CreateEmbodiedAiplatformRequest.js +128 -0
  8. package/dist/models/CreateEmbodiedAiplatformRequest.js.map +1 -0
  9. package/dist/models/CreateEmbodiedAiplatformResponse.d.ts +19 -0
  10. package/dist/models/CreateEmbodiedAiplatformResponse.js +69 -0
  11. package/dist/models/CreateEmbodiedAiplatformResponse.js.map +1 -0
  12. package/dist/models/CreateEmbodiedAiplatformResponseBody.d.ts +18 -0
  13. package/dist/models/CreateEmbodiedAiplatformResponseBody.js +58 -0
  14. package/dist/models/CreateEmbodiedAiplatformResponseBody.js.map +1 -0
  15. package/dist/models/CreateEmbodiedAiplatformShrinkRequest.d.ts +43 -0
  16. package/dist/models/CreateEmbodiedAiplatformShrinkRequest.js +66 -0
  17. package/dist/models/CreateEmbodiedAiplatformShrinkRequest.js.map +1 -0
  18. package/dist/models/DescribeEmbodiedAiplatformsRequest.d.ts +67 -0
  19. package/dist/models/DescribeEmbodiedAiplatformsRequest.js +76 -0
  20. package/dist/models/DescribeEmbodiedAiplatformsRequest.js.map +1 -0
  21. package/dist/models/DescribeEmbodiedAiplatformsResponse.d.ts +19 -0
  22. package/dist/models/DescribeEmbodiedAiplatformsResponse.js +69 -0
  23. package/dist/models/DescribeEmbodiedAiplatformsResponse.js.map +1 -0
  24. package/dist/models/DescribeEmbodiedAiplatformsResponseBody.d.ts +187 -0
  25. package/dist/models/DescribeEmbodiedAiplatformsResponseBody.js +196 -0
  26. package/dist/models/DescribeEmbodiedAiplatformsResponseBody.js.map +1 -0
  27. package/dist/models/model.d.ts +13 -0
  28. package/dist/models/model.js +30 -0
  29. package/dist/models/model.js.map +1 -0
  30. package/package.json +29 -0
  31. package/src/client.ts +174 -0
  32. package/src/models/CreateEmbodiedAiplatformRequest.ts +178 -0
  33. package/src/models/CreateEmbodiedAiplatformResponse.ts +40 -0
  34. package/src/models/CreateEmbodiedAiplatformResponseBody.ts +31 -0
  35. package/src/models/CreateEmbodiedAiplatformShrinkRequest.ts +64 -0
  36. package/src/models/DescribeEmbodiedAiplatformsRequest.ts +98 -0
  37. package/src/models/DescribeEmbodiedAiplatformsResponse.ts +40 -0
  38. package/src/models/DescribeEmbodiedAiplatformsResponseBody.ts +302 -0
  39. package/src/models/model.ts +13 -0
@@ -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 CreateEmbodiedAIPlatformResponseBody extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * 19E994DC-A816-56DB-9F90-5F8E403DD19D
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,64 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class CreateEmbodiedAIPlatformShrinkRequest extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * This parameter is required.
9
+ *
10
+ * @example
11
+ * amv-bp11q28kvl688****
12
+ */
13
+ DBClusterId?: string;
14
+ /**
15
+ * @remarks
16
+ * This parameter is required.
17
+ *
18
+ * @example
19
+ * platform1
20
+ */
21
+ platformName?: string;
22
+ rayConfigShrink?: string;
23
+ /**
24
+ * @remarks
25
+ * This parameter is required.
26
+ *
27
+ * @example
28
+ * cn-beijing
29
+ */
30
+ regionId?: string;
31
+ /**
32
+ * @example
33
+ * large
34
+ */
35
+ webserverSpecName?: string;
36
+ static names(): { [key: string]: string } {
37
+ return {
38
+ DBClusterId: 'DBClusterId',
39
+ platformName: 'PlatformName',
40
+ rayConfigShrink: 'RayConfig',
41
+ regionId: 'RegionId',
42
+ webserverSpecName: 'WebserverSpecName',
43
+ };
44
+ }
45
+
46
+ static types(): { [key: string]: any } {
47
+ return {
48
+ DBClusterId: 'string',
49
+ platformName: 'string',
50
+ rayConfigShrink: 'string',
51
+ regionId: 'string',
52
+ webserverSpecName: 'string',
53
+ };
54
+ }
55
+
56
+ validate() {
57
+ super.validate();
58
+ }
59
+
60
+ constructor(map?: { [key: string]: any }) {
61
+ super(map);
62
+ }
63
+ }
64
+
@@ -0,0 +1,98 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class DescribeEmbodiedAIPlatformsRequest extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * This parameter is required.
9
+ *
10
+ * @example
11
+ * amv-bp11q28kvl688****
12
+ */
13
+ DBClusterId?: string;
14
+ /**
15
+ * @remarks
16
+ * Use the UTC time format: yyyy-MM-ddTHH:mmZ
17
+ *
18
+ * @example
19
+ * 2025-12-01T03:05Z
20
+ */
21
+ endTime?: string;
22
+ maxResults?: number;
23
+ nextToken?: string;
24
+ /**
25
+ * @example
26
+ * 1
27
+ */
28
+ pageNumber?: number;
29
+ /**
30
+ * @example
31
+ * 30
32
+ */
33
+ pageSize?: number;
34
+ /**
35
+ * @example
36
+ * platform1
37
+ */
38
+ platformName?: string;
39
+ /**
40
+ * @remarks
41
+ * This parameter is required.
42
+ *
43
+ * @example
44
+ * cn-shanghai
45
+ */
46
+ regionId?: string;
47
+ /**
48
+ * @remarks
49
+ * Use the UTC time format: yyyy-MM-ddTHH:mmZ
50
+ *
51
+ * @example
52
+ * 2025-12-01T02:05Z
53
+ */
54
+ startTime?: string;
55
+ /**
56
+ * @example
57
+ * running
58
+ */
59
+ state?: string;
60
+ static names(): { [key: string]: string } {
61
+ return {
62
+ DBClusterId: 'DBClusterId',
63
+ endTime: 'EndTime',
64
+ maxResults: 'MaxResults',
65
+ nextToken: 'NextToken',
66
+ pageNumber: 'PageNumber',
67
+ pageSize: 'PageSize',
68
+ platformName: 'PlatformName',
69
+ regionId: 'RegionId',
70
+ startTime: 'StartTime',
71
+ state: 'State',
72
+ };
73
+ }
74
+
75
+ static types(): { [key: string]: any } {
76
+ return {
77
+ DBClusterId: 'string',
78
+ endTime: 'string',
79
+ maxResults: 'number',
80
+ nextToken: 'string',
81
+ pageNumber: 'number',
82
+ pageSize: 'number',
83
+ platformName: 'string',
84
+ regionId: 'string',
85
+ startTime: 'string',
86
+ state: 'string',
87
+ };
88
+ }
89
+
90
+ validate() {
91
+ super.validate();
92
+ }
93
+
94
+ constructor(map?: { [key: string]: any }) {
95
+ super(map);
96
+ }
97
+ }
98
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { DescribeEmbodiedAIPlatformsResponseBody } from "./DescribeEmbodiedAiplatformsResponseBody";
4
+
5
+
6
+ export class DescribeEmbodiedAIPlatformsResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: DescribeEmbodiedAIPlatformsResponseBody;
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: DescribeEmbodiedAIPlatformsResponseBody,
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,302 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class DescribeEmbodiedAIPlatformsResponseBodyPlatformsEapConfig extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * http://amv-2z******-***-roboto.ads.example.com:80
9
+ */
10
+ webserverAddress?: string;
11
+ /**
12
+ * @example
13
+ * large
14
+ */
15
+ webserverSpecName?: string;
16
+ static names(): { [key: string]: string } {
17
+ return {
18
+ webserverAddress: 'WebserverAddress',
19
+ webserverSpecName: 'WebserverSpecName',
20
+ };
21
+ }
22
+
23
+ static types(): { [key: string]: any } {
24
+ return {
25
+ webserverAddress: 'string',
26
+ webserverSpecName: 'string',
27
+ };
28
+ }
29
+
30
+ validate() {
31
+ super.validate();
32
+ }
33
+
34
+ constructor(map?: { [key: string]: any }) {
35
+ super(map);
36
+ }
37
+ }
38
+
39
+ export class DescribeEmbodiedAIPlatformsResponseBodyPlatformsRayConfigWorkerGroups extends $dara.Model {
40
+ /**
41
+ * @example
42
+ * 1
43
+ */
44
+ allocateUnit?: string;
45
+ /**
46
+ * @example
47
+ * worker1
48
+ */
49
+ groupName?: string;
50
+ /**
51
+ * @example
52
+ * 2
53
+ */
54
+ maxWorkerQuantity?: number;
55
+ /**
56
+ * @example
57
+ * 1
58
+ */
59
+ minWorkerQuantity?: number;
60
+ /**
61
+ * @example
62
+ * 100G
63
+ */
64
+ workerDiskCapacity?: string;
65
+ /**
66
+ * @example
67
+ * large
68
+ */
69
+ workerSpecName?: string;
70
+ /**
71
+ * @example
72
+ * CPU
73
+ */
74
+ workerSpecType?: string;
75
+ static names(): { [key: string]: string } {
76
+ return {
77
+ allocateUnit: 'AllocateUnit',
78
+ groupName: 'GroupName',
79
+ maxWorkerQuantity: 'MaxWorkerQuantity',
80
+ minWorkerQuantity: 'MinWorkerQuantity',
81
+ workerDiskCapacity: 'WorkerDiskCapacity',
82
+ workerSpecName: 'WorkerSpecName',
83
+ workerSpecType: 'WorkerSpecType',
84
+ };
85
+ }
86
+
87
+ static types(): { [key: string]: any } {
88
+ return {
89
+ allocateUnit: 'string',
90
+ groupName: 'string',
91
+ maxWorkerQuantity: 'number',
92
+ minWorkerQuantity: 'number',
93
+ workerDiskCapacity: 'string',
94
+ workerSpecName: 'string',
95
+ workerSpecType: 'string',
96
+ };
97
+ }
98
+
99
+ validate() {
100
+ super.validate();
101
+ }
102
+
103
+ constructor(map?: { [key: string]: any }) {
104
+ super(map);
105
+ }
106
+ }
107
+
108
+ export class DescribeEmbodiedAIPlatformsResponseBodyPlatformsRayConfig extends $dara.Model {
109
+ /**
110
+ * @example
111
+ * BASIC
112
+ */
113
+ category?: string;
114
+ /**
115
+ * @example
116
+ * 100G
117
+ */
118
+ headDiskCapacity?: string;
119
+ /**
120
+ * @example
121
+ * large
122
+ */
123
+ headSpec?: string;
124
+ /**
125
+ * @example
126
+ * CPU
127
+ */
128
+ headSpecType?: string;
129
+ /**
130
+ * @example
131
+ * http://ray-cluster-address.example.com
132
+ */
133
+ rayClusterAddress?: string;
134
+ /**
135
+ * @example
136
+ * http://ray-dashboard-address.example.com
137
+ */
138
+ rayDashboardAddress?: string;
139
+ /**
140
+ * @example
141
+ * http://ray-grafana-address.example.com
142
+ */
143
+ rayGrafanaAddress?: string;
144
+ workerGroups?: DescribeEmbodiedAIPlatformsResponseBodyPlatformsRayConfigWorkerGroups[];
145
+ static names(): { [key: string]: string } {
146
+ return {
147
+ category: 'Category',
148
+ headDiskCapacity: 'HeadDiskCapacity',
149
+ headSpec: 'HeadSpec',
150
+ headSpecType: 'HeadSpecType',
151
+ rayClusterAddress: 'RayClusterAddress',
152
+ rayDashboardAddress: 'RayDashboardAddress',
153
+ rayGrafanaAddress: 'RayGrafanaAddress',
154
+ workerGroups: 'WorkerGroups',
155
+ };
156
+ }
157
+
158
+ static types(): { [key: string]: any } {
159
+ return {
160
+ category: 'string',
161
+ headDiskCapacity: 'string',
162
+ headSpec: 'string',
163
+ headSpecType: 'string',
164
+ rayClusterAddress: 'string',
165
+ rayDashboardAddress: 'string',
166
+ rayGrafanaAddress: 'string',
167
+ workerGroups: { 'type': 'array', 'itemType': DescribeEmbodiedAIPlatformsResponseBodyPlatformsRayConfigWorkerGroups },
168
+ };
169
+ }
170
+
171
+ validate() {
172
+ if(Array.isArray(this.workerGroups)) {
173
+ $dara.Model.validateArray(this.workerGroups);
174
+ }
175
+ super.validate();
176
+ }
177
+
178
+ constructor(map?: { [key: string]: any }) {
179
+ super(map);
180
+ }
181
+ }
182
+
183
+ export class DescribeEmbodiedAIPlatformsResponseBodyPlatforms extends $dara.Model {
184
+ /**
185
+ * @example
186
+ * 2025-12-01 14:55:36
187
+ */
188
+ createTime?: number;
189
+ eapConfig?: DescribeEmbodiedAIPlatformsResponseBodyPlatformsEapConfig;
190
+ /**
191
+ * @example
192
+ * adb-lake-cn-beijing-5q1w******
193
+ */
194
+ ossBucketName?: string;
195
+ /**
196
+ * @example
197
+ * platform1
198
+ */
199
+ platformName?: string;
200
+ rayConfig?: DescribeEmbodiedAIPlatformsResponseBodyPlatformsRayConfig;
201
+ /**
202
+ * @example
203
+ * running
204
+ */
205
+ state?: string;
206
+ static names(): { [key: string]: string } {
207
+ return {
208
+ createTime: 'CreateTime',
209
+ eapConfig: 'EapConfig',
210
+ ossBucketName: 'OssBucketName',
211
+ platformName: 'PlatformName',
212
+ rayConfig: 'RayConfig',
213
+ state: 'State',
214
+ };
215
+ }
216
+
217
+ static types(): { [key: string]: any } {
218
+ return {
219
+ createTime: 'number',
220
+ eapConfig: DescribeEmbodiedAIPlatformsResponseBodyPlatformsEapConfig,
221
+ ossBucketName: 'string',
222
+ platformName: 'string',
223
+ rayConfig: DescribeEmbodiedAIPlatformsResponseBodyPlatformsRayConfig,
224
+ state: 'string',
225
+ };
226
+ }
227
+
228
+ validate() {
229
+ if(this.eapConfig && typeof (this.eapConfig as any).validate === 'function') {
230
+ (this.eapConfig as any).validate();
231
+ }
232
+ if(this.rayConfig && typeof (this.rayConfig as any).validate === 'function') {
233
+ (this.rayConfig as any).validate();
234
+ }
235
+ super.validate();
236
+ }
237
+
238
+ constructor(map?: { [key: string]: any }) {
239
+ super(map);
240
+ }
241
+ }
242
+
243
+ export class DescribeEmbodiedAIPlatformsResponseBody extends $dara.Model {
244
+ maxResults?: number;
245
+ nextToken?: string;
246
+ /**
247
+ * @example
248
+ * 1
249
+ */
250
+ pageNumber?: number;
251
+ /**
252
+ * @example
253
+ * 30
254
+ */
255
+ pageSize?: number;
256
+ platforms?: DescribeEmbodiedAIPlatformsResponseBodyPlatforms[];
257
+ /**
258
+ * @example
259
+ * B47EED99-BFA5-529D-8D85-A6642421D390
260
+ */
261
+ requestId?: string;
262
+ /**
263
+ * @example
264
+ * 50
265
+ */
266
+ totalCount?: number;
267
+ static names(): { [key: string]: string } {
268
+ return {
269
+ maxResults: 'MaxResults',
270
+ nextToken: 'NextToken',
271
+ pageNumber: 'PageNumber',
272
+ pageSize: 'PageSize',
273
+ platforms: 'Platforms',
274
+ requestId: 'RequestId',
275
+ totalCount: 'TotalCount',
276
+ };
277
+ }
278
+
279
+ static types(): { [key: string]: any } {
280
+ return {
281
+ maxResults: 'number',
282
+ nextToken: 'string',
283
+ pageNumber: 'number',
284
+ pageSize: 'number',
285
+ platforms: { 'type': 'array', 'itemType': DescribeEmbodiedAIPlatformsResponseBodyPlatforms },
286
+ requestId: 'string',
287
+ totalCount: 'number',
288
+ };
289
+ }
290
+
291
+ validate() {
292
+ if(Array.isArray(this.platforms)) {
293
+ $dara.Model.validateArray(this.platforms);
294
+ }
295
+ super.validate();
296
+ }
297
+
298
+ constructor(map?: { [key: string]: any }) {
299
+ super(map);
300
+ }
301
+ }
302
+
@@ -0,0 +1,13 @@
1
+ export { CreateEmbodiedAIPlatformRequestRayConfigWorkerGroups } from './CreateEmbodiedAiplatformRequest';
2
+ export { CreateEmbodiedAIPlatformRequestRayConfig } from './CreateEmbodiedAiplatformRequest';
3
+ export { DescribeEmbodiedAIPlatformsResponseBodyPlatformsEapConfig } from './DescribeEmbodiedAiplatformsResponseBody';
4
+ export { DescribeEmbodiedAIPlatformsResponseBodyPlatformsRayConfigWorkerGroups } from './DescribeEmbodiedAiplatformsResponseBody';
5
+ export { DescribeEmbodiedAIPlatformsResponseBodyPlatformsRayConfig } from './DescribeEmbodiedAiplatformsResponseBody';
6
+ export { DescribeEmbodiedAIPlatformsResponseBodyPlatforms } from './DescribeEmbodiedAiplatformsResponseBody';
7
+ export { CreateEmbodiedAIPlatformRequest } from './CreateEmbodiedAiplatformRequest';
8
+ export { CreateEmbodiedAIPlatformShrinkRequest } from './CreateEmbodiedAiplatformShrinkRequest';
9
+ export { CreateEmbodiedAIPlatformResponseBody } from './CreateEmbodiedAiplatformResponseBody';
10
+ export { CreateEmbodiedAIPlatformResponse } from './CreateEmbodiedAiplatformResponse';
11
+ export { DescribeEmbodiedAIPlatformsRequest } from './DescribeEmbodiedAiplatformsRequest';
12
+ export { DescribeEmbodiedAIPlatformsResponseBody } from './DescribeEmbodiedAiplatformsResponseBody';
13
+ export { DescribeEmbodiedAIPlatformsResponse } from './DescribeEmbodiedAiplatformsResponse';