@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
package/LICENSE
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
Copyright (c) 2009-present, Alibaba Cloud All rights reserved.
|
|
2
|
+
|
|
3
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
you may not use this file except in compliance with the License.
|
|
5
|
+
You may obtain a copy of the License at
|
|
6
|
+
|
|
7
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
+
|
|
9
|
+
Unless required by applicable law or agreed to in writing, software
|
|
10
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
+
See the License for the specific language governing permissions and
|
|
13
|
+
limitations under the License.
|
package/README.md
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
English | [简体中文](README-CN.md)
|
|
2
|
+

|
|
3
|
+
|
|
4
|
+
# Alibaba Cloud ADBAI SDK for NodeJS
|
|
5
|
+
|
|
6
|
+
## Installation
|
|
7
|
+
If you use `npm` to manage your dependence, you can use the following command:
|
|
8
|
+
|
|
9
|
+
```sh
|
|
10
|
+
npm install @alicloud/adbai20250812 -S
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
## Issues
|
|
14
|
+
[Opening an Issue](https://github.com/aliyun/alibabacloud-typescript-sdk/issues/new), Issues not conforming to the guidelines may be closed immediately.
|
|
15
|
+
|
|
16
|
+
## Usage
|
|
17
|
+
[Usage Document](https://github.com/aliyun/alibabacloud-typescript-sdk/blob/master/docs/Usage-EN.md#quick-examples)
|
|
18
|
+
|
|
19
|
+
## References
|
|
20
|
+
* [Latest Release](https://github.com/aliyun/alibabacloud-typescript-sdk/)
|
|
21
|
+
|
|
22
|
+
## License
|
|
23
|
+
[Apache-2.0](http://www.apache.org/licenses/LICENSE-2.0)
|
|
24
|
+
|
|
25
|
+
Copyright (c) 2009-present, Alibaba Cloud All rights reserved.
|
package/dist/client.d.ts
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import * as $dara from '@darabonba/typescript';
|
|
2
|
+
import OpenApi from '@alicloud/openapi-core';
|
|
3
|
+
import { $OpenApiUtil } from '@alicloud/openapi-core';
|
|
4
|
+
import * as $_model from './models/model';
|
|
5
|
+
export * from './models/model';
|
|
6
|
+
export default class Client extends OpenApi {
|
|
7
|
+
constructor(config: $OpenApiUtil.Config);
|
|
8
|
+
getEndpoint(productId: string, regionId: string, endpointRule: string, network: string, suffix: string, endpointMap: {
|
|
9
|
+
[key: string]: string;
|
|
10
|
+
}, endpoint: string): string;
|
|
11
|
+
/**
|
|
12
|
+
* 创建具身智能平台
|
|
13
|
+
*
|
|
14
|
+
* @param tmpReq - CreateEmbodiedAIPlatformRequest
|
|
15
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
16
|
+
* @returns CreateEmbodiedAIPlatformResponse
|
|
17
|
+
*/
|
|
18
|
+
createEmbodiedAIPlatformWithOptions(tmpReq: $_model.CreateEmbodiedAIPlatformRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CreateEmbodiedAIPlatformResponse>;
|
|
19
|
+
/**
|
|
20
|
+
* 创建具身智能平台
|
|
21
|
+
*
|
|
22
|
+
* @param request - CreateEmbodiedAIPlatformRequest
|
|
23
|
+
* @returns CreateEmbodiedAIPlatformResponse
|
|
24
|
+
*/
|
|
25
|
+
createEmbodiedAIPlatform(request: $_model.CreateEmbodiedAIPlatformRequest): Promise<$_model.CreateEmbodiedAIPlatformResponse>;
|
|
26
|
+
/**
|
|
27
|
+
* 查询具身智能平台
|
|
28
|
+
*
|
|
29
|
+
* @param request - DescribeEmbodiedAIPlatformsRequest
|
|
30
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
31
|
+
* @returns DescribeEmbodiedAIPlatformsResponse
|
|
32
|
+
*/
|
|
33
|
+
describeEmbodiedAIPlatformsWithOptions(request: $_model.DescribeEmbodiedAIPlatformsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeEmbodiedAIPlatformsResponse>;
|
|
34
|
+
/**
|
|
35
|
+
* 查询具身智能平台
|
|
36
|
+
*
|
|
37
|
+
* @param request - DescribeEmbodiedAIPlatformsRequest
|
|
38
|
+
* @returns DescribeEmbodiedAIPlatformsResponse
|
|
39
|
+
*/
|
|
40
|
+
describeEmbodiedAIPlatforms(request: $_model.DescribeEmbodiedAIPlatformsRequest): Promise<$_model.DescribeEmbodiedAIPlatformsResponse>;
|
|
41
|
+
}
|
package/dist/client.js
ADDED
|
@@ -0,0 +1,188 @@
|
|
|
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
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
36
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
37
|
+
};
|
|
38
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
39
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
40
|
+
};
|
|
41
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
42
|
+
// This file is auto-generated, don't edit it
|
|
43
|
+
const $dara = __importStar(require("@darabonba/typescript"));
|
|
44
|
+
const openapi_core_1 = __importDefault(require("@alicloud/openapi-core"));
|
|
45
|
+
const openapi_core_2 = require("@alicloud/openapi-core");
|
|
46
|
+
const $_model = __importStar(require("./models/model"));
|
|
47
|
+
__exportStar(require("./models/model"), exports);
|
|
48
|
+
class Client extends openapi_core_1.default {
|
|
49
|
+
constructor(config) {
|
|
50
|
+
super(config);
|
|
51
|
+
this._endpointRule = "";
|
|
52
|
+
this.checkConfig(config);
|
|
53
|
+
this._endpoint = this.getEndpoint("adbai", this._regionId, this._endpointRule, this._network, this._suffix, this._endpointMap, this._endpoint);
|
|
54
|
+
}
|
|
55
|
+
getEndpoint(productId, regionId, endpointRule, network, suffix, endpointMap, endpoint) {
|
|
56
|
+
if (!$dara.isNull(endpoint)) {
|
|
57
|
+
return endpoint;
|
|
58
|
+
}
|
|
59
|
+
if (!$dara.isNull(endpointMap) && !$dara.isNull(endpointMap[regionId])) {
|
|
60
|
+
return endpointMap[regionId];
|
|
61
|
+
}
|
|
62
|
+
return openapi_core_2.OpenApiUtil.getEndpointRules(productId, regionId, endpointRule, network, suffix);
|
|
63
|
+
}
|
|
64
|
+
/**
|
|
65
|
+
* 创建具身智能平台
|
|
66
|
+
*
|
|
67
|
+
* @param tmpReq - CreateEmbodiedAIPlatformRequest
|
|
68
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
69
|
+
* @returns CreateEmbodiedAIPlatformResponse
|
|
70
|
+
*/
|
|
71
|
+
async createEmbodiedAIPlatformWithOptions(tmpReq, runtime) {
|
|
72
|
+
tmpReq.validate();
|
|
73
|
+
let request = new $_model.CreateEmbodiedAIPlatformShrinkRequest({});
|
|
74
|
+
openapi_core_2.OpenApiUtil.convert(tmpReq, request);
|
|
75
|
+
if (!$dara.isNull(tmpReq.rayConfig)) {
|
|
76
|
+
request.rayConfigShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.rayConfig, "RayConfig", "json");
|
|
77
|
+
}
|
|
78
|
+
let query = {};
|
|
79
|
+
if (!$dara.isNull(request.DBClusterId)) {
|
|
80
|
+
query["DBClusterId"] = request.DBClusterId;
|
|
81
|
+
}
|
|
82
|
+
if (!$dara.isNull(request.platformName)) {
|
|
83
|
+
query["PlatformName"] = request.platformName;
|
|
84
|
+
}
|
|
85
|
+
if (!$dara.isNull(request.rayConfigShrink)) {
|
|
86
|
+
query["RayConfig"] = request.rayConfigShrink;
|
|
87
|
+
}
|
|
88
|
+
if (!$dara.isNull(request.regionId)) {
|
|
89
|
+
query["RegionId"] = request.regionId;
|
|
90
|
+
}
|
|
91
|
+
if (!$dara.isNull(request.webserverSpecName)) {
|
|
92
|
+
query["WebserverSpecName"] = request.webserverSpecName;
|
|
93
|
+
}
|
|
94
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
95
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
96
|
+
});
|
|
97
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
98
|
+
action: "CreateEmbodiedAIPlatform",
|
|
99
|
+
version: "2025-08-12",
|
|
100
|
+
protocol: "HTTPS",
|
|
101
|
+
pathname: "/",
|
|
102
|
+
method: "POST",
|
|
103
|
+
authType: "AK",
|
|
104
|
+
style: "RPC",
|
|
105
|
+
reqBodyType: "formData",
|
|
106
|
+
bodyType: "json",
|
|
107
|
+
});
|
|
108
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateEmbodiedAIPlatformResponse({}));
|
|
109
|
+
}
|
|
110
|
+
/**
|
|
111
|
+
* 创建具身智能平台
|
|
112
|
+
*
|
|
113
|
+
* @param request - CreateEmbodiedAIPlatformRequest
|
|
114
|
+
* @returns CreateEmbodiedAIPlatformResponse
|
|
115
|
+
*/
|
|
116
|
+
async createEmbodiedAIPlatform(request) {
|
|
117
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
118
|
+
return await this.createEmbodiedAIPlatformWithOptions(request, runtime);
|
|
119
|
+
}
|
|
120
|
+
/**
|
|
121
|
+
* 查询具身智能平台
|
|
122
|
+
*
|
|
123
|
+
* @param request - DescribeEmbodiedAIPlatformsRequest
|
|
124
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
125
|
+
* @returns DescribeEmbodiedAIPlatformsResponse
|
|
126
|
+
*/
|
|
127
|
+
async describeEmbodiedAIPlatformsWithOptions(request, runtime) {
|
|
128
|
+
request.validate();
|
|
129
|
+
let query = {};
|
|
130
|
+
if (!$dara.isNull(request.DBClusterId)) {
|
|
131
|
+
query["DBClusterId"] = request.DBClusterId;
|
|
132
|
+
}
|
|
133
|
+
if (!$dara.isNull(request.endTime)) {
|
|
134
|
+
query["EndTime"] = request.endTime;
|
|
135
|
+
}
|
|
136
|
+
if (!$dara.isNull(request.maxResults)) {
|
|
137
|
+
query["MaxResults"] = request.maxResults;
|
|
138
|
+
}
|
|
139
|
+
if (!$dara.isNull(request.nextToken)) {
|
|
140
|
+
query["NextToken"] = request.nextToken;
|
|
141
|
+
}
|
|
142
|
+
if (!$dara.isNull(request.pageNumber)) {
|
|
143
|
+
query["PageNumber"] = request.pageNumber;
|
|
144
|
+
}
|
|
145
|
+
if (!$dara.isNull(request.pageSize)) {
|
|
146
|
+
query["PageSize"] = request.pageSize;
|
|
147
|
+
}
|
|
148
|
+
if (!$dara.isNull(request.platformName)) {
|
|
149
|
+
query["PlatformName"] = request.platformName;
|
|
150
|
+
}
|
|
151
|
+
if (!$dara.isNull(request.regionId)) {
|
|
152
|
+
query["RegionId"] = request.regionId;
|
|
153
|
+
}
|
|
154
|
+
if (!$dara.isNull(request.startTime)) {
|
|
155
|
+
query["StartTime"] = request.startTime;
|
|
156
|
+
}
|
|
157
|
+
if (!$dara.isNull(request.state)) {
|
|
158
|
+
query["State"] = request.state;
|
|
159
|
+
}
|
|
160
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
161
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
162
|
+
});
|
|
163
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
164
|
+
action: "DescribeEmbodiedAIPlatforms",
|
|
165
|
+
version: "2025-08-12",
|
|
166
|
+
protocol: "HTTPS",
|
|
167
|
+
pathname: "/",
|
|
168
|
+
method: "POST",
|
|
169
|
+
authType: "AK",
|
|
170
|
+
style: "RPC",
|
|
171
|
+
reqBodyType: "formData",
|
|
172
|
+
bodyType: "json",
|
|
173
|
+
});
|
|
174
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeEmbodiedAIPlatformsResponse({}));
|
|
175
|
+
}
|
|
176
|
+
/**
|
|
177
|
+
* 查询具身智能平台
|
|
178
|
+
*
|
|
179
|
+
* @param request - DescribeEmbodiedAIPlatformsRequest
|
|
180
|
+
* @returns DescribeEmbodiedAIPlatformsResponse
|
|
181
|
+
*/
|
|
182
|
+
async describeEmbodiedAIPlatforms(request) {
|
|
183
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
184
|
+
return await this.describeEmbodiedAIPlatformsWithOptions(request, runtime);
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
exports.default = Client;
|
|
188
|
+
//# sourceMappingURL=client.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"client.js","sourceRoot":"","sources":["../src/client.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAC/C,0EAA6C;AAC7C,yDAAkE;AAGlE,wDAA0C;AAC1C,iDAA+B;AAE/B,MAAqB,MAAO,SAAQ,sBAAO;IAEzC,YAAY,MAA2B;QACrC,KAAK,CAAC,MAAM,CAAC,CAAC;QACd,IAAI,CAAC,aAAa,GAAG,EAAE,CAAC;QACxB,IAAI,CAAC,WAAW,CAAC,MAAM,CAAC,CAAC;QACzB,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC,WAAW,CAAC,OAAO,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,aAAa,EAAE,IAAI,CAAC,QAAQ,EAAE,IAAI,CAAC,OAAO,EAAE,IAAI,CAAC,YAAY,EAAE,IAAI,CAAC,SAAS,CAAC,CAAC;IACjJ,CAAC;IAGD,WAAW,CAAC,SAAiB,EAAE,QAAgB,EAAE,YAAoB,EAAE,OAAe,EAAE,MAAc,EAAE,WAAqC,EAAE,QAAgB;QAC7J,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,QAAQ,CAAC,EAAE,CAAC;YAC5B,OAAO,QAAQ,CAAC;QAClB,CAAC;QAED,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,WAAW,CAAC,IAAI,CAAC,KAAK,C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model {
|
|
5
|
+
/**
|
|
6
|
+
* @example
|
|
7
|
+
* 1
|
|
8
|
+
*/
|
|
9
|
+
allocateUnit?: string;
|
|
10
|
+
/**
|
|
11
|
+
* @example
|
|
12
|
+
* test
|
|
13
|
+
*/
|
|
14
|
+
groupName?: string;
|
|
15
|
+
/**
|
|
16
|
+
* @example
|
|
17
|
+
* 2
|
|
18
|
+
*/
|
|
19
|
+
maxWorkerQuantity?: number;
|
|
20
|
+
/**
|
|
21
|
+
* @example
|
|
22
|
+
* 1
|
|
23
|
+
*/
|
|
24
|
+
minWorkerQuantity?: number;
|
|
25
|
+
/**
|
|
26
|
+
* @example
|
|
27
|
+
* 100G
|
|
28
|
+
*/
|
|
29
|
+
workerDiskCapacity?: string;
|
|
30
|
+
/**
|
|
31
|
+
* @example
|
|
32
|
+
* xlarge
|
|
33
|
+
*/
|
|
34
|
+
workerSpecName?: string;
|
|
35
|
+
/**
|
|
36
|
+
* @example
|
|
37
|
+
* CPU
|
|
38
|
+
*/
|
|
39
|
+
workerSpecType?: string;
|
|
40
|
+
static names(): {
|
|
41
|
+
[key: string]: string;
|
|
42
|
+
};
|
|
43
|
+
static types(): {
|
|
44
|
+
[key: string]: any;
|
|
45
|
+
};
|
|
46
|
+
validate(): void;
|
|
47
|
+
constructor(map?: {
|
|
48
|
+
[key: string]: any;
|
|
49
|
+
});
|
|
50
|
+
}
|
|
51
|
+
export declare class CreateEmbodiedAIPlatformRequestRayConfig extends $dara.Model {
|
|
52
|
+
/**
|
|
53
|
+
* @example
|
|
54
|
+
* BASIC
|
|
55
|
+
*/
|
|
56
|
+
category?: string;
|
|
57
|
+
/**
|
|
58
|
+
* @example
|
|
59
|
+
* xlarge
|
|
60
|
+
*/
|
|
61
|
+
headSpec?: string;
|
|
62
|
+
workerGroups?: CreateEmbodiedAIPlatformRequestRayConfigWorkerGroups[];
|
|
63
|
+
static names(): {
|
|
64
|
+
[key: string]: string;
|
|
65
|
+
};
|
|
66
|
+
static types(): {
|
|
67
|
+
[key: string]: any;
|
|
68
|
+
};
|
|
69
|
+
validate(): void;
|
|
70
|
+
constructor(map?: {
|
|
71
|
+
[key: string]: any;
|
|
72
|
+
});
|
|
73
|
+
}
|
|
74
|
+
export declare class CreateEmbodiedAIPlatformRequest extends $dara.Model {
|
|
75
|
+
/**
|
|
76
|
+
* @remarks
|
|
77
|
+
* This parameter is required.
|
|
78
|
+
*
|
|
79
|
+
* @example
|
|
80
|
+
* amv-bp11q28kvl688****
|
|
81
|
+
*/
|
|
82
|
+
DBClusterId?: string;
|
|
83
|
+
/**
|
|
84
|
+
* @remarks
|
|
85
|
+
* This parameter is required.
|
|
86
|
+
*
|
|
87
|
+
* @example
|
|
88
|
+
* platform1
|
|
89
|
+
*/
|
|
90
|
+
platformName?: string;
|
|
91
|
+
rayConfig?: CreateEmbodiedAIPlatformRequestRayConfig;
|
|
92
|
+
/**
|
|
93
|
+
* @remarks
|
|
94
|
+
* This parameter is required.
|
|
95
|
+
*
|
|
96
|
+
* @example
|
|
97
|
+
* cn-beijing
|
|
98
|
+
*/
|
|
99
|
+
regionId?: string;
|
|
100
|
+
/**
|
|
101
|
+
* @example
|
|
102
|
+
* large
|
|
103
|
+
*/
|
|
104
|
+
webserverSpecName?: string;
|
|
105
|
+
static names(): {
|
|
106
|
+
[key: string]: string;
|
|
107
|
+
};
|
|
108
|
+
static types(): {
|
|
109
|
+
[key: string]: any;
|
|
110
|
+
};
|
|
111
|
+
validate(): void;
|
|
112
|
+
constructor(map?: {
|
|
113
|
+
[key: string]: any;
|
|
114
|
+
});
|
|
115
|
+
}
|
|
@@ -0,0 +1,128 @@
|
|
|
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.CreateEmbodiedAIPlatformRequest = exports.CreateEmbodiedAIPlatformRequestRayConfig = exports.CreateEmbodiedAIPlatformRequestRayConfigWorkerGroups = void 0;
|
|
37
|
+
// This file is auto-generated, don't edit it
|
|
38
|
+
const $dara = __importStar(require("@darabonba/typescript"));
|
|
39
|
+
/**
|
|
40
|
+
*/
|
|
41
|
+
class CreateEmbodiedAIPlatformRequestRayConfigWorkerGroups extends $dara.Model {
|
|
42
|
+
static names() {
|
|
43
|
+
return {
|
|
44
|
+
allocateUnit: 'AllocateUnit',
|
|
45
|
+
groupName: 'GroupName',
|
|
46
|
+
maxWorkerQuantity: 'MaxWorkerQuantity',
|
|
47
|
+
minWorkerQuantity: 'MinWorkerQuantity',
|
|
48
|
+
workerDiskCapacity: 'WorkerDiskCapacity',
|
|
49
|
+
workerSpecName: 'WorkerSpecName',
|
|
50
|
+
workerSpecType: 'WorkerSpecType',
|
|
51
|
+
};
|
|
52
|
+
}
|
|
53
|
+
static types() {
|
|
54
|
+
return {
|
|
55
|
+
allocateUnit: 'string',
|
|
56
|
+
groupName: 'string',
|
|
57
|
+
maxWorkerQuantity: 'number',
|
|
58
|
+
minWorkerQuantity: 'number',
|
|
59
|
+
workerDiskCapacity: 'string',
|
|
60
|
+
workerSpecName: 'string',
|
|
61
|
+
workerSpecType: 'string',
|
|
62
|
+
};
|
|
63
|
+
}
|
|
64
|
+
validate() {
|
|
65
|
+
super.validate();
|
|
66
|
+
}
|
|
67
|
+
constructor(map) {
|
|
68
|
+
super(map);
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
exports.CreateEmbodiedAIPlatformRequestRayConfigWorkerGroups = CreateEmbodiedAIPlatformRequestRayConfigWorkerGroups;
|
|
72
|
+
class CreateEmbodiedAIPlatformRequestRayConfig extends $dara.Model {
|
|
73
|
+
static names() {
|
|
74
|
+
return {
|
|
75
|
+
category: 'Category',
|
|
76
|
+
headSpec: 'HeadSpec',
|
|
77
|
+
workerGroups: 'WorkerGroups',
|
|
78
|
+
};
|
|
79
|
+
}
|
|
80
|
+
static types() {
|
|
81
|
+
return {
|
|
82
|
+
category: 'string',
|
|
83
|
+
headSpec: 'string',
|
|
84
|
+
workerGroups: { 'type': 'array', 'itemType': CreateEmbodiedAIPlatformRequestRayConfigWorkerGroups },
|
|
85
|
+
};
|
|
86
|
+
}
|
|
87
|
+
validate() {
|
|
88
|
+
if (Array.isArray(this.workerGroups)) {
|
|
89
|
+
$dara.Model.validateArray(this.workerGroups);
|
|
90
|
+
}
|
|
91
|
+
super.validate();
|
|
92
|
+
}
|
|
93
|
+
constructor(map) {
|
|
94
|
+
super(map);
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
exports.CreateEmbodiedAIPlatformRequestRayConfig = CreateEmbodiedAIPlatformRequestRayConfig;
|
|
98
|
+
class CreateEmbodiedAIPlatformRequest extends $dara.Model {
|
|
99
|
+
static names() {
|
|
100
|
+
return {
|
|
101
|
+
DBClusterId: 'DBClusterId',
|
|
102
|
+
platformName: 'PlatformName',
|
|
103
|
+
rayConfig: 'RayConfig',
|
|
104
|
+
regionId: 'RegionId',
|
|
105
|
+
webserverSpecName: 'WebserverSpecName',
|
|
106
|
+
};
|
|
107
|
+
}
|
|
108
|
+
static types() {
|
|
109
|
+
return {
|
|
110
|
+
DBClusterId: 'string',
|
|
111
|
+
platformName: 'string',
|
|
112
|
+
rayConfig: CreateEmbodiedAIPlatformRequestRayConfig,
|
|
113
|
+
regionId: 'string',
|
|
114
|
+
webserverSpecName: 'string',
|
|
115
|
+
};
|
|
116
|
+
}
|
|
117
|
+
validate() {
|
|
118
|
+
if (this.rayConfig && typeof this.rayConfig.validate === 'function') {
|
|
119
|
+
this.rayConfig.validate();
|
|
120
|
+
}
|
|
121
|
+
super.validate();
|
|
122
|
+
}
|
|
123
|
+
constructor(map) {
|
|
124
|
+
super(map);
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
exports.CreateEmbodiedAIPlatformRequest = CreateEmbodiedAIPlatformRequest;
|
|
128
|
+
//# sourceMappingURL=CreateEmbodiedAiplatformRequest.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CreateEmbodiedAiplatformRequest.js","sourceRoot":"","sources":["../../src/models/CreateEmbodiedAiplatformRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C;GACG;AACH,MAAa,oDAAqD,SAAQ,KAAK,CAAC,KAAK;IAo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QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAtCD,4FAsCC;AAED,MAAa,+BAAgC,SAAQ,KAAK,CAAC,KAAK;IA+B9D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,WAAW,EAAE,aAAa;YAC1B,YAAY,EAAE,cAAc;YAC5B,SAAS,EAAE,WAAW;YACtB,QAAQ,EAAE,UAAU;YACpB,iBAAiB,EAAE,mBAAmB;SACvC,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,WAAW,EAAE,QAAQ;YACrB,YAAY,EAAE,QAAQ;YACtB,SAAS,EAAE,wCAAwC;YACnD,QAAQ,EAAE,QAAQ;YAClB,iBAAiB,EAAE,QAAQ;SAC5B,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,IAAI,CAAC,SAAS,IAAI,OAAQ,IAAI,CAAC,SAAiB,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;YAC3E,IAAI,CAAC,SAAiB,CAAC,QAAQ,EAAE,CAAC;QACrC,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AA7DD,0EA6DC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import * as $dara from '@darabonba/typescript';
|
|
2
|
+
import { CreateEmbodiedAIPlatformResponseBody } from "./CreateEmbodiedAiplatformResponseBody";
|
|
3
|
+
export declare class CreateEmbodiedAIPlatformResponse extends $dara.Model {
|
|
4
|
+
headers?: {
|
|
5
|
+
[key: string]: string;
|
|
6
|
+
};
|
|
7
|
+
statusCode?: number;
|
|
8
|
+
body?: CreateEmbodiedAIPlatformResponseBody;
|
|
9
|
+
static names(): {
|
|
10
|
+
[key: string]: string;
|
|
11
|
+
};
|
|
12
|
+
static types(): {
|
|
13
|
+
[key: string]: any;
|
|
14
|
+
};
|
|
15
|
+
validate(): void;
|
|
16
|
+
constructor(map?: {
|
|
17
|
+
[key: string]: any;
|
|
18
|
+
});
|
|
19
|
+
}
|
|
@@ -0,0 +1,69 @@
|
|
|
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.CreateEmbodiedAIPlatformResponse = void 0;
|
|
37
|
+
// This file is auto-generated, don't edit it
|
|
38
|
+
const $dara = __importStar(require("@darabonba/typescript"));
|
|
39
|
+
const CreateEmbodiedAiplatformResponseBody_1 = require("./CreateEmbodiedAiplatformResponseBody");
|
|
40
|
+
class CreateEmbodiedAIPlatformResponse extends $dara.Model {
|
|
41
|
+
static names() {
|
|
42
|
+
return {
|
|
43
|
+
headers: 'headers',
|
|
44
|
+
statusCode: 'statusCode',
|
|
45
|
+
body: 'body',
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
static types() {
|
|
49
|
+
return {
|
|
50
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
51
|
+
statusCode: 'number',
|
|
52
|
+
body: CreateEmbodiedAiplatformResponseBody_1.CreateEmbodiedAIPlatformResponseBody,
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
validate() {
|
|
56
|
+
if (this.headers) {
|
|
57
|
+
$dara.Model.validateMap(this.headers);
|
|
58
|
+
}
|
|
59
|
+
if (this.body && typeof this.body.validate === 'function') {
|
|
60
|
+
this.body.validate();
|
|
61
|
+
}
|
|
62
|
+
super.validate();
|
|
63
|
+
}
|
|
64
|
+
constructor(map) {
|
|
65
|
+
super(map);
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
exports.CreateEmbodiedAIPlatformResponse = CreateEmbodiedAIPlatformResponse;
|
|
69
|
+
//# sourceMappingURL=CreateEmbodiedAiplatformResponse.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CreateEmbodiedAiplatformResponse.js","sourceRoot":"","sources":["../../src/models/CreateEmbodiedAiplatformResponse.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAC/C,iGAA8F;AAG9F,MAAa,gCAAiC,SAAQ,KAAK,CAAC,KAAK;IAI/D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,SAAS;YAClB,UAAU,EAAE,YAAY;YACxB,IAAI,EAAE,MAAM;SACb,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,SAAS,EAAE,QAAQ,EAAE,WAAW,EAAE,QAAQ,EAAE;YACtE,UAAU,EAAE,QAAQ;YACpB,IAAI,EAAE,2EAAoC;SAC3C,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,IAAI,CAAC,OAAO,EAAE,CAAC;YAChB,KAAK,CAAC,KAAK,CAAC,WAAW,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACxC,CAAC;QACD,IAAG,IAAI,CAAC,IAAI,IAAI,OAAQ,IAAI,CAAC,IAAY,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;YACjE,IAAI,CAAC,IAAY,CAAC,QAAQ,EAAE,CAAC;QAChC,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAjCD,4EAiCC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import * as $dara from '@darabonba/typescript';
|
|
2
|
+
export declare class CreateEmbodiedAIPlatformResponseBody extends $dara.Model {
|
|
3
|
+
/**
|
|
4
|
+
* @example
|
|
5
|
+
* 19E994DC-A816-56DB-9F90-5F8E403DD19D
|
|
6
|
+
*/
|
|
7
|
+
requestId?: string;
|
|
8
|
+
static names(): {
|
|
9
|
+
[key: string]: string;
|
|
10
|
+
};
|
|
11
|
+
static types(): {
|
|
12
|
+
[key: string]: any;
|
|
13
|
+
};
|
|
14
|
+
validate(): void;
|
|
15
|
+
constructor(map?: {
|
|
16
|
+
[key: string]: any;
|
|
17
|
+
});
|
|
18
|
+
}
|