@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.
- package/LICENSE +13 -0
- package/README.md +25 -0
- package/dist/client.d.ts +41 -0
- package/dist/client.js +188 -0
- package/dist/client.js.map +1 -0
- package/dist/models/CreateEmbodiedAiplatformRequest.d.ts +115 -0
- package/dist/models/CreateEmbodiedAiplatformRequest.js +128 -0
- package/dist/models/CreateEmbodiedAiplatformRequest.js.map +1 -0
- package/dist/models/CreateEmbodiedAiplatformResponse.d.ts +19 -0
- package/dist/models/CreateEmbodiedAiplatformResponse.js +69 -0
- package/dist/models/CreateEmbodiedAiplatformResponse.js.map +1 -0
- package/dist/models/CreateEmbodiedAiplatformResponseBody.d.ts +18 -0
- package/dist/models/CreateEmbodiedAiplatformResponseBody.js +58 -0
- package/dist/models/CreateEmbodiedAiplatformResponseBody.js.map +1 -0
- package/dist/models/CreateEmbodiedAiplatformShrinkRequest.d.ts +43 -0
- package/dist/models/CreateEmbodiedAiplatformShrinkRequest.js +66 -0
- package/dist/models/CreateEmbodiedAiplatformShrinkRequest.js.map +1 -0
- package/dist/models/DescribeEmbodiedAiplatformsRequest.d.ts +67 -0
- package/dist/models/DescribeEmbodiedAiplatformsRequest.js +76 -0
- package/dist/models/DescribeEmbodiedAiplatformsRequest.js.map +1 -0
- package/dist/models/DescribeEmbodiedAiplatformsResponse.d.ts +19 -0
- package/dist/models/DescribeEmbodiedAiplatformsResponse.js +69 -0
- package/dist/models/DescribeEmbodiedAiplatformsResponse.js.map +1 -0
- package/dist/models/DescribeEmbodiedAiplatformsResponseBody.d.ts +187 -0
- package/dist/models/DescribeEmbodiedAiplatformsResponseBody.js +196 -0
- package/dist/models/DescribeEmbodiedAiplatformsResponseBody.js.map +1 -0
- package/dist/models/model.d.ts +13 -0
- package/dist/models/model.js +30 -0
- package/dist/models/model.js.map +1 -0
- package/package.json +29 -0
- package/src/client.ts +174 -0
- package/src/models/CreateEmbodiedAiplatformRequest.ts +178 -0
- package/src/models/CreateEmbodiedAiplatformResponse.ts +40 -0
- package/src/models/CreateEmbodiedAiplatformResponseBody.ts +31 -0
- package/src/models/CreateEmbodiedAiplatformShrinkRequest.ts +64 -0
- package/src/models/DescribeEmbodiedAiplatformsRequest.ts +98 -0
- package/src/models/DescribeEmbodiedAiplatformsResponse.ts +40 -0
- package/src/models/DescribeEmbodiedAiplatformsResponseBody.ts +302 -0
- package/src/models/model.ts +13 -0
|
@@ -0,0 +1,196 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
+
exports.DescribeEmbodiedAIPlatformsResponseBody = exports.DescribeEmbodiedAIPlatformsResponseBodyPlatforms = exports.DescribeEmbodiedAIPlatformsResponseBodyPlatformsRayConfig = exports.DescribeEmbodiedAIPlatformsResponseBodyPlatformsRayConfigWorkerGroups = exports.DescribeEmbodiedAIPlatformsResponseBodyPlatformsEapConfig = void 0;
|
|
37
|
+
// This file is auto-generated, don't edit it
|
|
38
|
+
const $dara = __importStar(require("@darabonba/typescript"));
|
|
39
|
+
class DescribeEmbodiedAIPlatformsResponseBodyPlatformsEapConfig extends $dara.Model {
|
|
40
|
+
static names() {
|
|
41
|
+
return {
|
|
42
|
+
webserverAddress: 'WebserverAddress',
|
|
43
|
+
webserverSpecName: 'WebserverSpecName',
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
static types() {
|
|
47
|
+
return {
|
|
48
|
+
webserverAddress: 'string',
|
|
49
|
+
webserverSpecName: 'string',
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
validate() {
|
|
53
|
+
super.validate();
|
|
54
|
+
}
|
|
55
|
+
constructor(map) {
|
|
56
|
+
super(map);
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
exports.DescribeEmbodiedAIPlatformsResponseBodyPlatformsEapConfig = DescribeEmbodiedAIPlatformsResponseBodyPlatformsEapConfig;
|
|
60
|
+
class DescribeEmbodiedAIPlatformsResponseBodyPlatformsRayConfigWorkerGroups extends $dara.Model {
|
|
61
|
+
static names() {
|
|
62
|
+
return {
|
|
63
|
+
allocateUnit: 'AllocateUnit',
|
|
64
|
+
groupName: 'GroupName',
|
|
65
|
+
maxWorkerQuantity: 'MaxWorkerQuantity',
|
|
66
|
+
minWorkerQuantity: 'MinWorkerQuantity',
|
|
67
|
+
workerDiskCapacity: 'WorkerDiskCapacity',
|
|
68
|
+
workerSpecName: 'WorkerSpecName',
|
|
69
|
+
workerSpecType: 'WorkerSpecType',
|
|
70
|
+
};
|
|
71
|
+
}
|
|
72
|
+
static types() {
|
|
73
|
+
return {
|
|
74
|
+
allocateUnit: 'string',
|
|
75
|
+
groupName: 'string',
|
|
76
|
+
maxWorkerQuantity: 'number',
|
|
77
|
+
minWorkerQuantity: 'number',
|
|
78
|
+
workerDiskCapacity: 'string',
|
|
79
|
+
workerSpecName: 'string',
|
|
80
|
+
workerSpecType: 'string',
|
|
81
|
+
};
|
|
82
|
+
}
|
|
83
|
+
validate() {
|
|
84
|
+
super.validate();
|
|
85
|
+
}
|
|
86
|
+
constructor(map) {
|
|
87
|
+
super(map);
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
exports.DescribeEmbodiedAIPlatformsResponseBodyPlatformsRayConfigWorkerGroups = DescribeEmbodiedAIPlatformsResponseBodyPlatformsRayConfigWorkerGroups;
|
|
91
|
+
class DescribeEmbodiedAIPlatformsResponseBodyPlatformsRayConfig extends $dara.Model {
|
|
92
|
+
static names() {
|
|
93
|
+
return {
|
|
94
|
+
category: 'Category',
|
|
95
|
+
headDiskCapacity: 'HeadDiskCapacity',
|
|
96
|
+
headSpec: 'HeadSpec',
|
|
97
|
+
headSpecType: 'HeadSpecType',
|
|
98
|
+
rayClusterAddress: 'RayClusterAddress',
|
|
99
|
+
rayDashboardAddress: 'RayDashboardAddress',
|
|
100
|
+
rayGrafanaAddress: 'RayGrafanaAddress',
|
|
101
|
+
workerGroups: 'WorkerGroups',
|
|
102
|
+
};
|
|
103
|
+
}
|
|
104
|
+
static types() {
|
|
105
|
+
return {
|
|
106
|
+
category: 'string',
|
|
107
|
+
headDiskCapacity: 'string',
|
|
108
|
+
headSpec: 'string',
|
|
109
|
+
headSpecType: 'string',
|
|
110
|
+
rayClusterAddress: 'string',
|
|
111
|
+
rayDashboardAddress: 'string',
|
|
112
|
+
rayGrafanaAddress: 'string',
|
|
113
|
+
workerGroups: { 'type': 'array', 'itemType': DescribeEmbodiedAIPlatformsResponseBodyPlatformsRayConfigWorkerGroups },
|
|
114
|
+
};
|
|
115
|
+
}
|
|
116
|
+
validate() {
|
|
117
|
+
if (Array.isArray(this.workerGroups)) {
|
|
118
|
+
$dara.Model.validateArray(this.workerGroups);
|
|
119
|
+
}
|
|
120
|
+
super.validate();
|
|
121
|
+
}
|
|
122
|
+
constructor(map) {
|
|
123
|
+
super(map);
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
exports.DescribeEmbodiedAIPlatformsResponseBodyPlatformsRayConfig = DescribeEmbodiedAIPlatformsResponseBodyPlatformsRayConfig;
|
|
127
|
+
class DescribeEmbodiedAIPlatformsResponseBodyPlatforms extends $dara.Model {
|
|
128
|
+
static names() {
|
|
129
|
+
return {
|
|
130
|
+
createTime: 'CreateTime',
|
|
131
|
+
eapConfig: 'EapConfig',
|
|
132
|
+
ossBucketName: 'OssBucketName',
|
|
133
|
+
platformName: 'PlatformName',
|
|
134
|
+
rayConfig: 'RayConfig',
|
|
135
|
+
state: 'State',
|
|
136
|
+
};
|
|
137
|
+
}
|
|
138
|
+
static types() {
|
|
139
|
+
return {
|
|
140
|
+
createTime: 'number',
|
|
141
|
+
eapConfig: DescribeEmbodiedAIPlatformsResponseBodyPlatformsEapConfig,
|
|
142
|
+
ossBucketName: 'string',
|
|
143
|
+
platformName: 'string',
|
|
144
|
+
rayConfig: DescribeEmbodiedAIPlatformsResponseBodyPlatformsRayConfig,
|
|
145
|
+
state: 'string',
|
|
146
|
+
};
|
|
147
|
+
}
|
|
148
|
+
validate() {
|
|
149
|
+
if (this.eapConfig && typeof this.eapConfig.validate === 'function') {
|
|
150
|
+
this.eapConfig.validate();
|
|
151
|
+
}
|
|
152
|
+
if (this.rayConfig && typeof this.rayConfig.validate === 'function') {
|
|
153
|
+
this.rayConfig.validate();
|
|
154
|
+
}
|
|
155
|
+
super.validate();
|
|
156
|
+
}
|
|
157
|
+
constructor(map) {
|
|
158
|
+
super(map);
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
exports.DescribeEmbodiedAIPlatformsResponseBodyPlatforms = DescribeEmbodiedAIPlatformsResponseBodyPlatforms;
|
|
162
|
+
class DescribeEmbodiedAIPlatformsResponseBody extends $dara.Model {
|
|
163
|
+
static names() {
|
|
164
|
+
return {
|
|
165
|
+
maxResults: 'MaxResults',
|
|
166
|
+
nextToken: 'NextToken',
|
|
167
|
+
pageNumber: 'PageNumber',
|
|
168
|
+
pageSize: 'PageSize',
|
|
169
|
+
platforms: 'Platforms',
|
|
170
|
+
requestId: 'RequestId',
|
|
171
|
+
totalCount: 'TotalCount',
|
|
172
|
+
};
|
|
173
|
+
}
|
|
174
|
+
static types() {
|
|
175
|
+
return {
|
|
176
|
+
maxResults: 'number',
|
|
177
|
+
nextToken: 'string',
|
|
178
|
+
pageNumber: 'number',
|
|
179
|
+
pageSize: 'number',
|
|
180
|
+
platforms: { 'type': 'array', 'itemType': DescribeEmbodiedAIPlatformsResponseBodyPlatforms },
|
|
181
|
+
requestId: 'string',
|
|
182
|
+
totalCount: 'number',
|
|
183
|
+
};
|
|
184
|
+
}
|
|
185
|
+
validate() {
|
|
186
|
+
if (Array.isArray(this.platforms)) {
|
|
187
|
+
$dara.Model.validateArray(this.platforms);
|
|
188
|
+
}
|
|
189
|
+
super.validate();
|
|
190
|
+
}
|
|
191
|
+
constructor(map) {
|
|
192
|
+
super(map);
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
exports.DescribeEmbodiedAIPlatformsResponseBody = DescribeEmbodiedAIPlatformsResponseBody;
|
|
196
|
+
//# sourceMappingURL=DescribeEmbodiedAiplatformsResponseBody.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DescribeEmbodiedAi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C;IAED,QAAQ;QACN,IAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,SAAS,CAAC,EAAE,CAAC;YACjC,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;QAC5C,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AA1DD,0FA0DC"}
|
|
@@ -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';
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DescribeEmbodiedAIPlatformsResponse = exports.DescribeEmbodiedAIPlatformsResponseBody = exports.DescribeEmbodiedAIPlatformsRequest = exports.CreateEmbodiedAIPlatformResponse = exports.CreateEmbodiedAIPlatformResponseBody = exports.CreateEmbodiedAIPlatformShrinkRequest = exports.CreateEmbodiedAIPlatformRequest = exports.DescribeEmbodiedAIPlatformsResponseBodyPlatforms = exports.DescribeEmbodiedAIPlatformsResponseBodyPlatformsRayConfig = exports.DescribeEmbodiedAIPlatformsResponseBodyPlatformsRayConfigWorkerGroups = exports.DescribeEmbodiedAIPlatformsResponseBodyPlatformsEapConfig = exports.CreateEmbodiedAIPlatformRequestRayConfig = exports.CreateEmbodiedAIPlatformRequestRayConfigWorkerGroups = void 0;
|
|
4
|
+
var CreateEmbodiedAiplatformRequest_1 = require("./CreateEmbodiedAiplatformRequest");
|
|
5
|
+
Object.defineProperty(exports, "CreateEmbodiedAIPlatformRequestRayConfigWorkerGroups", { enumerable: true, get: function () { return CreateEmbodiedAiplatformRequest_1.CreateEmbodiedAIPlatformRequestRayConfigWorkerGroups; } });
|
|
6
|
+
var CreateEmbodiedAiplatformRequest_2 = require("./CreateEmbodiedAiplatformRequest");
|
|
7
|
+
Object.defineProperty(exports, "CreateEmbodiedAIPlatformRequestRayConfig", { enumerable: true, get: function () { return CreateEmbodiedAiplatformRequest_2.CreateEmbodiedAIPlatformRequestRayConfig; } });
|
|
8
|
+
var DescribeEmbodiedAiplatformsResponseBody_1 = require("./DescribeEmbodiedAiplatformsResponseBody");
|
|
9
|
+
Object.defineProperty(exports, "DescribeEmbodiedAIPlatformsResponseBodyPlatformsEapConfig", { enumerable: true, get: function () { return DescribeEmbodiedAiplatformsResponseBody_1.DescribeEmbodiedAIPlatformsResponseBodyPlatformsEapConfig; } });
|
|
10
|
+
var DescribeEmbodiedAiplatformsResponseBody_2 = require("./DescribeEmbodiedAiplatformsResponseBody");
|
|
11
|
+
Object.defineProperty(exports, "DescribeEmbodiedAIPlatformsResponseBodyPlatformsRayConfigWorkerGroups", { enumerable: true, get: function () { return DescribeEmbodiedAiplatformsResponseBody_2.DescribeEmbodiedAIPlatformsResponseBodyPlatformsRayConfigWorkerGroups; } });
|
|
12
|
+
var DescribeEmbodiedAiplatformsResponseBody_3 = require("./DescribeEmbodiedAiplatformsResponseBody");
|
|
13
|
+
Object.defineProperty(exports, "DescribeEmbodiedAIPlatformsResponseBodyPlatformsRayConfig", { enumerable: true, get: function () { return DescribeEmbodiedAiplatformsResponseBody_3.DescribeEmbodiedAIPlatformsResponseBodyPlatformsRayConfig; } });
|
|
14
|
+
var DescribeEmbodiedAiplatformsResponseBody_4 = require("./DescribeEmbodiedAiplatformsResponseBody");
|
|
15
|
+
Object.defineProperty(exports, "DescribeEmbodiedAIPlatformsResponseBodyPlatforms", { enumerable: true, get: function () { return DescribeEmbodiedAiplatformsResponseBody_4.DescribeEmbodiedAIPlatformsResponseBodyPlatforms; } });
|
|
16
|
+
var CreateEmbodiedAiplatformRequest_3 = require("./CreateEmbodiedAiplatformRequest");
|
|
17
|
+
Object.defineProperty(exports, "CreateEmbodiedAIPlatformRequest", { enumerable: true, get: function () { return CreateEmbodiedAiplatformRequest_3.CreateEmbodiedAIPlatformRequest; } });
|
|
18
|
+
var CreateEmbodiedAiplatformShrinkRequest_1 = require("./CreateEmbodiedAiplatformShrinkRequest");
|
|
19
|
+
Object.defineProperty(exports, "CreateEmbodiedAIPlatformShrinkRequest", { enumerable: true, get: function () { return CreateEmbodiedAiplatformShrinkRequest_1.CreateEmbodiedAIPlatformShrinkRequest; } });
|
|
20
|
+
var CreateEmbodiedAiplatformResponseBody_1 = require("./CreateEmbodiedAiplatformResponseBody");
|
|
21
|
+
Object.defineProperty(exports, "CreateEmbodiedAIPlatformResponseBody", { enumerable: true, get: function () { return CreateEmbodiedAiplatformResponseBody_1.CreateEmbodiedAIPlatformResponseBody; } });
|
|
22
|
+
var CreateEmbodiedAiplatformResponse_1 = require("./CreateEmbodiedAiplatformResponse");
|
|
23
|
+
Object.defineProperty(exports, "CreateEmbodiedAIPlatformResponse", { enumerable: true, get: function () { return CreateEmbodiedAiplatformResponse_1.CreateEmbodiedAIPlatformResponse; } });
|
|
24
|
+
var DescribeEmbodiedAiplatformsRequest_1 = require("./DescribeEmbodiedAiplatformsRequest");
|
|
25
|
+
Object.defineProperty(exports, "DescribeEmbodiedAIPlatformsRequest", { enumerable: true, get: function () { return DescribeEmbodiedAiplatformsRequest_1.DescribeEmbodiedAIPlatformsRequest; } });
|
|
26
|
+
var DescribeEmbodiedAiplatformsResponseBody_5 = require("./DescribeEmbodiedAiplatformsResponseBody");
|
|
27
|
+
Object.defineProperty(exports, "DescribeEmbodiedAIPlatformsResponseBody", { enumerable: true, get: function () { return DescribeEmbodiedAiplatformsResponseBody_5.DescribeEmbodiedAIPlatformsResponseBody; } });
|
|
28
|
+
var DescribeEmbodiedAiplatformsResponse_1 = require("./DescribeEmbodiedAiplatformsResponse");
|
|
29
|
+
Object.defineProperty(exports, "DescribeEmbodiedAIPlatformsResponse", { enumerable: true, get: function () { return DescribeEmbodiedAiplatformsResponse_1.DescribeEmbodiedAIPlatformsResponse; } });
|
|
30
|
+
//# sourceMappingURL=model.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"model.js","sourceRoot":"","sources":["../../src/models/model.ts"],"names":[],"mappings":";;;AAAA,qFAAyG;AAAhG,uKAAA,oDAAoD,OAAA;AAC7D,qFAA6F;AAApF,2JAAA,wCAAwC,OAAA;AACjD,qGAAsH;AAA7G,oLAAA,yDAAyD,OAAA;AAClE,qGAAkI;AAAzH,gMAAA,qEAAqE,OAAA;AAC9E,qGAAsH;AAA7G,oLAAA,yDAAyD,OAAA;AAClE,qGAA6G;AAApG,2KAAA,gDAAgD,OAAA;AACzD,qFAAoF;AAA3E,kJAAA,+BAA+B,OAAA;AACxC,iGAAgG;AAAvF,8JAAA,qCAAqC,OAAA;AAC9C,+FAA8F;AAArF,4JAAA,oCAAoC,OAAA;AAC7C,uFAAsF;AAA7E,oJAAA,gCAAgC,OAAA;AACzC,2FAA0F;AAAjF,wJAAA,kCAAkC,OAAA;AAC3C,qGAAoG;AAA3F,kKAAA,uCAAuC,OAAA;AAChD,6FAA4F;AAAnF,0JAAA,mCAAmC,OAAA"}
|
package/package.json
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@alicloud/adbai20250812",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "",
|
|
5
|
+
"main": "dist/client.js",
|
|
6
|
+
"scripts": {
|
|
7
|
+
"test": "mocha --reporter spec --timeout 3000 test/*.test.js",
|
|
8
|
+
"test-cov": "nyc -e .ts -r=html -r=text -r=lcov npm run test",
|
|
9
|
+
"build": "tsc",
|
|
10
|
+
"prepublishOnly": "tsc"
|
|
11
|
+
},
|
|
12
|
+
"author": "Alibaba Cloud SDK",
|
|
13
|
+
"license": "Apache-2.0",
|
|
14
|
+
"devDependencies": {
|
|
15
|
+
"@types/node": "^16.0.0",
|
|
16
|
+
"nyc": "^15.0.0",
|
|
17
|
+
"source-map-support": "^0.5.16",
|
|
18
|
+
"ts-node": "^10.0.0",
|
|
19
|
+
"typescript": "^5"
|
|
20
|
+
},
|
|
21
|
+
"dependencies": {
|
|
22
|
+
"@darabonba/typescript": "^1.0.0",
|
|
23
|
+
"@alicloud/openapi-core": "^1.0.0"
|
|
24
|
+
},
|
|
25
|
+
"files": [
|
|
26
|
+
"dist",
|
|
27
|
+
"src"
|
|
28
|
+
]
|
|
29
|
+
}
|
package/src/client.ts
ADDED
|
@@ -0,0 +1,174 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import OpenApi from '@alicloud/openapi-core';
|
|
4
|
+
import { OpenApiUtil, $OpenApiUtil }from '@alicloud/openapi-core';
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
import * as $_model from './models/model';
|
|
8
|
+
export * from './models/model';
|
|
9
|
+
|
|
10
|
+
export default class Client extends OpenApi {
|
|
11
|
+
|
|
12
|
+
constructor(config: $OpenApiUtil.Config) {
|
|
13
|
+
super(config);
|
|
14
|
+
this._endpointRule = "";
|
|
15
|
+
this.checkConfig(config);
|
|
16
|
+
this._endpoint = this.getEndpoint("adbai", this._regionId, this._endpointRule, this._network, this._suffix, this._endpointMap, this._endpoint);
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
getEndpoint(productId: string, regionId: string, endpointRule: string, network: string, suffix: string, endpointMap: {[key: string ]: string}, endpoint: string): string {
|
|
21
|
+
if (!$dara.isNull(endpoint)) {
|
|
22
|
+
return endpoint;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
if (!$dara.isNull(endpointMap) && !$dara.isNull(endpointMap[regionId])) {
|
|
26
|
+
return endpointMap[regionId];
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
return OpenApiUtil.getEndpointRules(productId, regionId, endpointRule, network, suffix);
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
/**
|
|
33
|
+
* 创建具身智能平台
|
|
34
|
+
*
|
|
35
|
+
* @param tmpReq - CreateEmbodiedAIPlatformRequest
|
|
36
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
37
|
+
* @returns CreateEmbodiedAIPlatformResponse
|
|
38
|
+
*/
|
|
39
|
+
async createEmbodiedAIPlatformWithOptions(tmpReq: $_model.CreateEmbodiedAIPlatformRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CreateEmbodiedAIPlatformResponse> {
|
|
40
|
+
tmpReq.validate();
|
|
41
|
+
let request = new $_model.CreateEmbodiedAIPlatformShrinkRequest({ });
|
|
42
|
+
OpenApiUtil.convert(tmpReq, request);
|
|
43
|
+
if (!$dara.isNull(tmpReq.rayConfig)) {
|
|
44
|
+
request.rayConfigShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.rayConfig, "RayConfig", "json");
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
let query = { };
|
|
48
|
+
if (!$dara.isNull(request.DBClusterId)) {
|
|
49
|
+
query["DBClusterId"] = request.DBClusterId;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
if (!$dara.isNull(request.platformName)) {
|
|
53
|
+
query["PlatformName"] = request.platformName;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
if (!$dara.isNull(request.rayConfigShrink)) {
|
|
57
|
+
query["RayConfig"] = request.rayConfigShrink;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
if (!$dara.isNull(request.regionId)) {
|
|
61
|
+
query["RegionId"] = request.regionId;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
if (!$dara.isNull(request.webserverSpecName)) {
|
|
65
|
+
query["WebserverSpecName"] = request.webserverSpecName;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
69
|
+
query: OpenApiUtil.query(query),
|
|
70
|
+
});
|
|
71
|
+
let params = new $OpenApiUtil.Params({
|
|
72
|
+
action: "CreateEmbodiedAIPlatform",
|
|
73
|
+
version: "2025-08-12",
|
|
74
|
+
protocol: "HTTPS",
|
|
75
|
+
pathname: "/",
|
|
76
|
+
method: "POST",
|
|
77
|
+
authType: "AK",
|
|
78
|
+
style: "RPC",
|
|
79
|
+
reqBodyType: "formData",
|
|
80
|
+
bodyType: "json",
|
|
81
|
+
});
|
|
82
|
+
return $dara.cast<$_model.CreateEmbodiedAIPlatformResponse>(await this.callApi(params, req, runtime), new $_model.CreateEmbodiedAIPlatformResponse({}));
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
/**
|
|
86
|
+
* 创建具身智能平台
|
|
87
|
+
*
|
|
88
|
+
* @param request - CreateEmbodiedAIPlatformRequest
|
|
89
|
+
* @returns CreateEmbodiedAIPlatformResponse
|
|
90
|
+
*/
|
|
91
|
+
async createEmbodiedAIPlatform(request: $_model.CreateEmbodiedAIPlatformRequest): Promise<$_model.CreateEmbodiedAIPlatformResponse> {
|
|
92
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
93
|
+
return await this.createEmbodiedAIPlatformWithOptions(request, runtime);
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
/**
|
|
97
|
+
* 查询具身智能平台
|
|
98
|
+
*
|
|
99
|
+
* @param request - DescribeEmbodiedAIPlatformsRequest
|
|
100
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
101
|
+
* @returns DescribeEmbodiedAIPlatformsResponse
|
|
102
|
+
*/
|
|
103
|
+
async describeEmbodiedAIPlatformsWithOptions(request: $_model.DescribeEmbodiedAIPlatformsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeEmbodiedAIPlatformsResponse> {
|
|
104
|
+
request.validate();
|
|
105
|
+
let query = { };
|
|
106
|
+
if (!$dara.isNull(request.DBClusterId)) {
|
|
107
|
+
query["DBClusterId"] = request.DBClusterId;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
if (!$dara.isNull(request.endTime)) {
|
|
111
|
+
query["EndTime"] = request.endTime;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
if (!$dara.isNull(request.maxResults)) {
|
|
115
|
+
query["MaxResults"] = request.maxResults;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
if (!$dara.isNull(request.nextToken)) {
|
|
119
|
+
query["NextToken"] = request.nextToken;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
if (!$dara.isNull(request.pageNumber)) {
|
|
123
|
+
query["PageNumber"] = request.pageNumber;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
if (!$dara.isNull(request.pageSize)) {
|
|
127
|
+
query["PageSize"] = request.pageSize;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
if (!$dara.isNull(request.platformName)) {
|
|
131
|
+
query["PlatformName"] = request.platformName;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
if (!$dara.isNull(request.regionId)) {
|
|
135
|
+
query["RegionId"] = request.regionId;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
if (!$dara.isNull(request.startTime)) {
|
|
139
|
+
query["StartTime"] = request.startTime;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
if (!$dara.isNull(request.state)) {
|
|
143
|
+
query["State"] = request.state;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
147
|
+
query: OpenApiUtil.query(query),
|
|
148
|
+
});
|
|
149
|
+
let params = new $OpenApiUtil.Params({
|
|
150
|
+
action: "DescribeEmbodiedAIPlatforms",
|
|
151
|
+
version: "2025-08-12",
|
|
152
|
+
protocol: "HTTPS",
|
|
153
|
+
pathname: "/",
|
|
154
|
+
method: "POST",
|
|
155
|
+
authType: "AK",
|
|
156
|
+
style: "RPC",
|
|
157
|
+
reqBodyType: "formData",
|
|
158
|
+
bodyType: "json",
|
|
159
|
+
});
|
|
160
|
+
return $dara.cast<$_model.DescribeEmbodiedAIPlatformsResponse>(await this.callApi(params, req, runtime), new $_model.DescribeEmbodiedAIPlatformsResponse({}));
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
/**
|
|
164
|
+
* 查询具身智能平台
|
|
165
|
+
*
|
|
166
|
+
* @param request - DescribeEmbodiedAIPlatformsRequest
|
|
167
|
+
* @returns DescribeEmbodiedAIPlatformsResponse
|
|
168
|
+
*/
|
|
169
|
+
async describeEmbodiedAIPlatforms(request: $_model.DescribeEmbodiedAIPlatformsRequest): Promise<$_model.DescribeEmbodiedAIPlatformsResponse> {
|
|
170
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
171
|
+
return await this.describeEmbodiedAIPlatformsWithOptions(request, runtime);
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
}
|
|
@@ -0,0 +1,178 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
*/
|
|
7
|
+
export class CreateEmbodiedAIPlatformRequestRayConfigWorkerGroups extends $dara.Model {
|
|
8
|
+
/**
|
|
9
|
+
* @example
|
|
10
|
+
* 1
|
|
11
|
+
*/
|
|
12
|
+
allocateUnit?: string;
|
|
13
|
+
/**
|
|
14
|
+
* @example
|
|
15
|
+
* test
|
|
16
|
+
*/
|
|
17
|
+
groupName?: string;
|
|
18
|
+
/**
|
|
19
|
+
* @example
|
|
20
|
+
* 2
|
|
21
|
+
*/
|
|
22
|
+
maxWorkerQuantity?: number;
|
|
23
|
+
/**
|
|
24
|
+
* @example
|
|
25
|
+
* 1
|
|
26
|
+
*/
|
|
27
|
+
minWorkerQuantity?: number;
|
|
28
|
+
/**
|
|
29
|
+
* @example
|
|
30
|
+
* 100G
|
|
31
|
+
*/
|
|
32
|
+
workerDiskCapacity?: string;
|
|
33
|
+
/**
|
|
34
|
+
* @example
|
|
35
|
+
* xlarge
|
|
36
|
+
*/
|
|
37
|
+
workerSpecName?: string;
|
|
38
|
+
/**
|
|
39
|
+
* @example
|
|
40
|
+
* CPU
|
|
41
|
+
*/
|
|
42
|
+
workerSpecType?: string;
|
|
43
|
+
static names(): { [key: string]: string } {
|
|
44
|
+
return {
|
|
45
|
+
allocateUnit: 'AllocateUnit',
|
|
46
|
+
groupName: 'GroupName',
|
|
47
|
+
maxWorkerQuantity: 'MaxWorkerQuantity',
|
|
48
|
+
minWorkerQuantity: 'MinWorkerQuantity',
|
|
49
|
+
workerDiskCapacity: 'WorkerDiskCapacity',
|
|
50
|
+
workerSpecName: 'WorkerSpecName',
|
|
51
|
+
workerSpecType: 'WorkerSpecType',
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
static types(): { [key: string]: any } {
|
|
56
|
+
return {
|
|
57
|
+
allocateUnit: 'string',
|
|
58
|
+
groupName: 'string',
|
|
59
|
+
maxWorkerQuantity: 'number',
|
|
60
|
+
minWorkerQuantity: 'number',
|
|
61
|
+
workerDiskCapacity: 'string',
|
|
62
|
+
workerSpecName: 'string',
|
|
63
|
+
workerSpecType: 'string',
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
validate() {
|
|
68
|
+
super.validate();
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
constructor(map?: { [key: string]: any }) {
|
|
72
|
+
super(map);
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
export class CreateEmbodiedAIPlatformRequestRayConfig extends $dara.Model {
|
|
77
|
+
/**
|
|
78
|
+
* @example
|
|
79
|
+
* BASIC
|
|
80
|
+
*/
|
|
81
|
+
category?: string;
|
|
82
|
+
/**
|
|
83
|
+
* @example
|
|
84
|
+
* xlarge
|
|
85
|
+
*/
|
|
86
|
+
headSpec?: string;
|
|
87
|
+
workerGroups?: CreateEmbodiedAIPlatformRequestRayConfigWorkerGroups[];
|
|
88
|
+
static names(): { [key: string]: string } {
|
|
89
|
+
return {
|
|
90
|
+
category: 'Category',
|
|
91
|
+
headSpec: 'HeadSpec',
|
|
92
|
+
workerGroups: 'WorkerGroups',
|
|
93
|
+
};
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
static types(): { [key: string]: any } {
|
|
97
|
+
return {
|
|
98
|
+
category: 'string',
|
|
99
|
+
headSpec: 'string',
|
|
100
|
+
workerGroups: { 'type': 'array', 'itemType': CreateEmbodiedAIPlatformRequestRayConfigWorkerGroups },
|
|
101
|
+
};
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
validate() {
|
|
105
|
+
if(Array.isArray(this.workerGroups)) {
|
|
106
|
+
$dara.Model.validateArray(this.workerGroups);
|
|
107
|
+
}
|
|
108
|
+
super.validate();
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
constructor(map?: { [key: string]: any }) {
|
|
112
|
+
super(map);
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
export class CreateEmbodiedAIPlatformRequest extends $dara.Model {
|
|
117
|
+
/**
|
|
118
|
+
* @remarks
|
|
119
|
+
* This parameter is required.
|
|
120
|
+
*
|
|
121
|
+
* @example
|
|
122
|
+
* amv-bp11q28kvl688****
|
|
123
|
+
*/
|
|
124
|
+
DBClusterId?: string;
|
|
125
|
+
/**
|
|
126
|
+
* @remarks
|
|
127
|
+
* This parameter is required.
|
|
128
|
+
*
|
|
129
|
+
* @example
|
|
130
|
+
* platform1
|
|
131
|
+
*/
|
|
132
|
+
platformName?: string;
|
|
133
|
+
rayConfig?: CreateEmbodiedAIPlatformRequestRayConfig;
|
|
134
|
+
/**
|
|
135
|
+
* @remarks
|
|
136
|
+
* This parameter is required.
|
|
137
|
+
*
|
|
138
|
+
* @example
|
|
139
|
+
* cn-beijing
|
|
140
|
+
*/
|
|
141
|
+
regionId?: string;
|
|
142
|
+
/**
|
|
143
|
+
* @example
|
|
144
|
+
* large
|
|
145
|
+
*/
|
|
146
|
+
webserverSpecName?: string;
|
|
147
|
+
static names(): { [key: string]: string } {
|
|
148
|
+
return {
|
|
149
|
+
DBClusterId: 'DBClusterId',
|
|
150
|
+
platformName: 'PlatformName',
|
|
151
|
+
rayConfig: 'RayConfig',
|
|
152
|
+
regionId: 'RegionId',
|
|
153
|
+
webserverSpecName: 'WebserverSpecName',
|
|
154
|
+
};
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
static types(): { [key: string]: any } {
|
|
158
|
+
return {
|
|
159
|
+
DBClusterId: 'string',
|
|
160
|
+
platformName: 'string',
|
|
161
|
+
rayConfig: CreateEmbodiedAIPlatformRequestRayConfig,
|
|
162
|
+
regionId: 'string',
|
|
163
|
+
webserverSpecName: 'string',
|
|
164
|
+
};
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
validate() {
|
|
168
|
+
if(this.rayConfig && typeof (this.rayConfig as any).validate === 'function') {
|
|
169
|
+
(this.rayConfig as any).validate();
|
|
170
|
+
}
|
|
171
|
+
super.validate();
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
constructor(map?: { [key: string]: any }) {
|
|
175
|
+
super(map);
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { CreateEmbodiedAIPlatformResponseBody } from "./CreateEmbodiedAiplatformResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class CreateEmbodiedAIPlatformResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: CreateEmbodiedAIPlatformResponseBody;
|
|
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: CreateEmbodiedAIPlatformResponseBody,
|
|
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
|
+
|