@alicloud/adbai20250812 1.1.0 → 1.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.
- package/dist/client.d.ts +30 -0
- package/dist/client.js +99 -0
- package/dist/client.js.map +1 -1
- package/dist/models/GetEmbodiedAiplatformResourceUsageInfoRequest.d.ts +50 -0
- package/dist/models/GetEmbodiedAiplatformResourceUsageInfoRequest.js +66 -0
- package/dist/models/GetEmbodiedAiplatformResourceUsageInfoRequest.js.map +1 -0
- package/dist/models/GetEmbodiedAiplatformResourceUsageInfoResponse.d.ts +19 -0
- package/dist/models/GetEmbodiedAiplatformResourceUsageInfoResponse.js +69 -0
- package/dist/models/GetEmbodiedAiplatformResourceUsageInfoResponse.js.map +1 -0
- package/dist/models/GetEmbodiedAiplatformResourceUsageInfoResponseBody.d.ts +126 -0
- package/dist/models/GetEmbodiedAiplatformResourceUsageInfoResponseBody.js +184 -0
- package/dist/models/GetEmbodiedAiplatformResourceUsageInfoResponseBody.js.map +1 -0
- package/dist/models/ResetEmbodiedAiplatformPasswordRequest.d.ts +45 -0
- package/dist/models/ResetEmbodiedAiplatformPasswordRequest.js +64 -0
- package/dist/models/ResetEmbodiedAiplatformPasswordRequest.js.map +1 -0
- package/dist/models/ResetEmbodiedAiplatformPasswordResponse.d.ts +19 -0
- package/dist/models/ResetEmbodiedAiplatformPasswordResponse.js +69 -0
- package/dist/models/ResetEmbodiedAiplatformPasswordResponse.js.map +1 -0
- package/dist/models/ResetEmbodiedAiplatformPasswordResponseBody.d.ts +21 -0
- package/dist/models/ResetEmbodiedAiplatformPasswordResponseBody.js +58 -0
- package/dist/models/ResetEmbodiedAiplatformPasswordResponseBody.js.map +1 -0
- package/dist/models/model.d.ts +11 -0
- package/dist/models/model.js +23 -1
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +112 -0
- package/src/models/GetEmbodiedAiplatformResourceUsageInfoRequest.ts +71 -0
- package/src/models/GetEmbodiedAiplatformResourceUsageInfoResponse.ts +40 -0
- package/src/models/GetEmbodiedAiplatformResourceUsageInfoResponseBody.ts +220 -0
- package/src/models/ResetEmbodiedAiplatformPasswordRequest.ts +64 -0
- package/src/models/ResetEmbodiedAiplatformPasswordResponse.ts +40 -0
- package/src/models/ResetEmbodiedAiplatformPasswordResponseBody.ts +34 -0
- package/src/models/model.ts +11 -0
package/src/client.ts
CHANGED
|
@@ -231,4 +231,116 @@ export default class Client extends OpenApi {
|
|
|
231
231
|
return await this.describeEmbodiedAIPlatformsWithOptions(request, runtime);
|
|
232
232
|
}
|
|
233
233
|
|
|
234
|
+
/**
|
|
235
|
+
* 查询具身智能平台资源用量
|
|
236
|
+
*
|
|
237
|
+
* @param request - GetEmbodiedAIPlatformResourceUsageInfoRequest
|
|
238
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
239
|
+
* @returns GetEmbodiedAIPlatformResourceUsageInfoResponse
|
|
240
|
+
*/
|
|
241
|
+
async getEmbodiedAIPlatformResourceUsageInfoWithOptions(request: $_model.GetEmbodiedAIPlatformResourceUsageInfoRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetEmbodiedAIPlatformResourceUsageInfoResponse> {
|
|
242
|
+
request.validate();
|
|
243
|
+
let query = { };
|
|
244
|
+
if (!$dara.isNull(request.DBClusterId)) {
|
|
245
|
+
query["DBClusterId"] = request.DBClusterId;
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
if (!$dara.isNull(request.endTime)) {
|
|
249
|
+
query["EndTime"] = request.endTime;
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
if (!$dara.isNull(request.platformName)) {
|
|
253
|
+
query["PlatformName"] = request.platformName;
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
if (!$dara.isNull(request.regionId)) {
|
|
257
|
+
query["RegionId"] = request.regionId;
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
if (!$dara.isNull(request.startTime)) {
|
|
261
|
+
query["StartTime"] = request.startTime;
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
265
|
+
query: OpenApiUtil.query(query),
|
|
266
|
+
});
|
|
267
|
+
let params = new $OpenApiUtil.Params({
|
|
268
|
+
action: "GetEmbodiedAIPlatformResourceUsageInfo",
|
|
269
|
+
version: "2025-08-12",
|
|
270
|
+
protocol: "HTTPS",
|
|
271
|
+
pathname: "/",
|
|
272
|
+
method: "POST",
|
|
273
|
+
authType: "AK",
|
|
274
|
+
style: "RPC",
|
|
275
|
+
reqBodyType: "formData",
|
|
276
|
+
bodyType: "json",
|
|
277
|
+
});
|
|
278
|
+
return $dara.cast<$_model.GetEmbodiedAIPlatformResourceUsageInfoResponse>(await this.callApi(params, req, runtime), new $_model.GetEmbodiedAIPlatformResourceUsageInfoResponse({}));
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
/**
|
|
282
|
+
* 查询具身智能平台资源用量
|
|
283
|
+
*
|
|
284
|
+
* @param request - GetEmbodiedAIPlatformResourceUsageInfoRequest
|
|
285
|
+
* @returns GetEmbodiedAIPlatformResourceUsageInfoResponse
|
|
286
|
+
*/
|
|
287
|
+
async getEmbodiedAIPlatformResourceUsageInfo(request: $_model.GetEmbodiedAIPlatformResourceUsageInfoRequest): Promise<$_model.GetEmbodiedAIPlatformResourceUsageInfoResponse> {
|
|
288
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
289
|
+
return await this.getEmbodiedAIPlatformResourceUsageInfoWithOptions(request, runtime);
|
|
290
|
+
}
|
|
291
|
+
|
|
292
|
+
/**
|
|
293
|
+
* 重置具身智能平台密码
|
|
294
|
+
*
|
|
295
|
+
* @param request - ResetEmbodiedAIPlatformPasswordRequest
|
|
296
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
297
|
+
* @returns ResetEmbodiedAIPlatformPasswordResponse
|
|
298
|
+
*/
|
|
299
|
+
async resetEmbodiedAIPlatformPasswordWithOptions(request: $_model.ResetEmbodiedAIPlatformPasswordRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ResetEmbodiedAIPlatformPasswordResponse> {
|
|
300
|
+
request.validate();
|
|
301
|
+
let query = { };
|
|
302
|
+
if (!$dara.isNull(request.DBClusterId)) {
|
|
303
|
+
query["DBClusterId"] = request.DBClusterId;
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
if (!$dara.isNull(request.password)) {
|
|
307
|
+
query["Password"] = request.password;
|
|
308
|
+
}
|
|
309
|
+
|
|
310
|
+
if (!$dara.isNull(request.platformName)) {
|
|
311
|
+
query["PlatformName"] = request.platformName;
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
if (!$dara.isNull(request.regionId)) {
|
|
315
|
+
query["RegionId"] = request.regionId;
|
|
316
|
+
}
|
|
317
|
+
|
|
318
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
319
|
+
query: OpenApiUtil.query(query),
|
|
320
|
+
});
|
|
321
|
+
let params = new $OpenApiUtil.Params({
|
|
322
|
+
action: "ResetEmbodiedAIPlatformPassword",
|
|
323
|
+
version: "2025-08-12",
|
|
324
|
+
protocol: "HTTPS",
|
|
325
|
+
pathname: "/",
|
|
326
|
+
method: "POST",
|
|
327
|
+
authType: "AK",
|
|
328
|
+
style: "RPC",
|
|
329
|
+
reqBodyType: "formData",
|
|
330
|
+
bodyType: "json",
|
|
331
|
+
});
|
|
332
|
+
return $dara.cast<$_model.ResetEmbodiedAIPlatformPasswordResponse>(await this.callApi(params, req, runtime), new $_model.ResetEmbodiedAIPlatformPasswordResponse({}));
|
|
333
|
+
}
|
|
334
|
+
|
|
335
|
+
/**
|
|
336
|
+
* 重置具身智能平台密码
|
|
337
|
+
*
|
|
338
|
+
* @param request - ResetEmbodiedAIPlatformPasswordRequest
|
|
339
|
+
* @returns ResetEmbodiedAIPlatformPasswordResponse
|
|
340
|
+
*/
|
|
341
|
+
async resetEmbodiedAIPlatformPassword(request: $_model.ResetEmbodiedAIPlatformPasswordRequest): Promise<$_model.ResetEmbodiedAIPlatformPasswordResponse> {
|
|
342
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
343
|
+
return await this.resetEmbodiedAIPlatformPasswordWithOptions(request, runtime);
|
|
344
|
+
}
|
|
345
|
+
|
|
234
346
|
}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class GetEmbodiedAIPlatformResourceUsageInfoRequest 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
|
+
* 2026-01-20T01:00Z
|
|
20
|
+
*/
|
|
21
|
+
endTime?: string;
|
|
22
|
+
/**
|
|
23
|
+
* @example
|
|
24
|
+
* platform1
|
|
25
|
+
*/
|
|
26
|
+
platformName?: string;
|
|
27
|
+
/**
|
|
28
|
+
* @remarks
|
|
29
|
+
* This parameter is required.
|
|
30
|
+
*
|
|
31
|
+
* @example
|
|
32
|
+
* cn-beijing
|
|
33
|
+
*/
|
|
34
|
+
regionId?: string;
|
|
35
|
+
/**
|
|
36
|
+
* @remarks
|
|
37
|
+
* Use the UTC time format: yyyy-MM-ddTHH:mmZ
|
|
38
|
+
*
|
|
39
|
+
* @example
|
|
40
|
+
* 2026-01-10T01:00Z
|
|
41
|
+
*/
|
|
42
|
+
startTime?: string;
|
|
43
|
+
static names(): { [key: string]: string } {
|
|
44
|
+
return {
|
|
45
|
+
DBClusterId: 'DBClusterId',
|
|
46
|
+
endTime: 'EndTime',
|
|
47
|
+
platformName: 'PlatformName',
|
|
48
|
+
regionId: 'RegionId',
|
|
49
|
+
startTime: 'StartTime',
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
static types(): { [key: string]: any } {
|
|
54
|
+
return {
|
|
55
|
+
DBClusterId: 'string',
|
|
56
|
+
endTime: 'string',
|
|
57
|
+
platformName: 'string',
|
|
58
|
+
regionId: 'string',
|
|
59
|
+
startTime: 'string',
|
|
60
|
+
};
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
validate() {
|
|
64
|
+
super.validate();
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
constructor(map?: { [key: string]: any }) {
|
|
68
|
+
super(map);
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { GetEmbodiedAIPlatformResourceUsageInfoResponseBody } from "./GetEmbodiedAiplatformResourceUsageInfoResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class GetEmbodiedAIPlatformResourceUsageInfoResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: GetEmbodiedAIPlatformResourceUsageInfoResponseBody;
|
|
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: GetEmbodiedAIPlatformResourceUsageInfoResponseBody,
|
|
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,220 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class GetEmbodiedAIPlatformResourceUsageInfoResponseBodyGpuDetails extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* ADB.MLLarge.2
|
|
9
|
+
*/
|
|
10
|
+
gpuModel?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* 1
|
|
14
|
+
*/
|
|
15
|
+
totalCount?: number;
|
|
16
|
+
static names(): { [key: string]: string } {
|
|
17
|
+
return {
|
|
18
|
+
gpuModel: 'GpuModel',
|
|
19
|
+
totalCount: 'TotalCount',
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
static types(): { [key: string]: any } {
|
|
24
|
+
return {
|
|
25
|
+
gpuModel: 'string',
|
|
26
|
+
totalCount: 'number',
|
|
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 GetEmbodiedAIPlatformResourceUsageInfoResponseBodySlbTraffic extends $dara.Model {
|
|
40
|
+
/**
|
|
41
|
+
* @example
|
|
42
|
+
* 0
|
|
43
|
+
*/
|
|
44
|
+
totalBytesIn?: number;
|
|
45
|
+
/**
|
|
46
|
+
* @example
|
|
47
|
+
* 0
|
|
48
|
+
*/
|
|
49
|
+
totalBytesOut?: number;
|
|
50
|
+
static names(): { [key: string]: string } {
|
|
51
|
+
return {
|
|
52
|
+
totalBytesIn: 'TotalBytesIn',
|
|
53
|
+
totalBytesOut: 'TotalBytesOut',
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
static types(): { [key: string]: any } {
|
|
58
|
+
return {
|
|
59
|
+
totalBytesIn: 'number',
|
|
60
|
+
totalBytesOut: 'number',
|
|
61
|
+
};
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
validate() {
|
|
65
|
+
super.validate();
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
constructor(map?: { [key: string]: any }) {
|
|
69
|
+
super(map);
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
export class GetEmbodiedAIPlatformResourceUsageInfoResponseBodyStorageUsageNas extends $dara.Model {
|
|
74
|
+
/**
|
|
75
|
+
* @example
|
|
76
|
+
* 0
|
|
77
|
+
*/
|
|
78
|
+
meteredSize?: number;
|
|
79
|
+
static names(): { [key: string]: string } {
|
|
80
|
+
return {
|
|
81
|
+
meteredSize: 'MeteredSize',
|
|
82
|
+
};
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
static types(): { [key: string]: any } {
|
|
86
|
+
return {
|
|
87
|
+
meteredSize: 'number',
|
|
88
|
+
};
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
validate() {
|
|
92
|
+
super.validate();
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
constructor(map?: { [key: string]: any }) {
|
|
96
|
+
super(map);
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
export class GetEmbodiedAIPlatformResourceUsageInfoResponseBodyStorageUsageOss extends $dara.Model {
|
|
101
|
+
/**
|
|
102
|
+
* @example
|
|
103
|
+
* 0
|
|
104
|
+
*/
|
|
105
|
+
standardStorageSize?: number;
|
|
106
|
+
static names(): { [key: string]: string } {
|
|
107
|
+
return {
|
|
108
|
+
standardStorageSize: 'StandardStorageSize',
|
|
109
|
+
};
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
static types(): { [key: string]: any } {
|
|
113
|
+
return {
|
|
114
|
+
standardStorageSize: 'number',
|
|
115
|
+
};
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
validate() {
|
|
119
|
+
super.validate();
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
constructor(map?: { [key: string]: any }) {
|
|
123
|
+
super(map);
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
export class GetEmbodiedAIPlatformResourceUsageInfoResponseBodyStorageUsage extends $dara.Model {
|
|
128
|
+
nas?: GetEmbodiedAIPlatformResourceUsageInfoResponseBodyStorageUsageNas;
|
|
129
|
+
oss?: GetEmbodiedAIPlatformResourceUsageInfoResponseBodyStorageUsageOss;
|
|
130
|
+
static names(): { [key: string]: string } {
|
|
131
|
+
return {
|
|
132
|
+
nas: 'Nas',
|
|
133
|
+
oss: 'Oss',
|
|
134
|
+
};
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
static types(): { [key: string]: any } {
|
|
138
|
+
return {
|
|
139
|
+
nas: GetEmbodiedAIPlatformResourceUsageInfoResponseBodyStorageUsageNas,
|
|
140
|
+
oss: GetEmbodiedAIPlatformResourceUsageInfoResponseBodyStorageUsageOss,
|
|
141
|
+
};
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
validate() {
|
|
145
|
+
if(this.nas && typeof (this.nas as any).validate === 'function') {
|
|
146
|
+
(this.nas as any).validate();
|
|
147
|
+
}
|
|
148
|
+
if(this.oss && typeof (this.oss as any).validate === 'function') {
|
|
149
|
+
(this.oss as any).validate();
|
|
150
|
+
}
|
|
151
|
+
super.validate();
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
constructor(map?: { [key: string]: any }) {
|
|
155
|
+
super(map);
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
export class GetEmbodiedAIPlatformResourceUsageInfoResponseBody extends $dara.Model {
|
|
160
|
+
gpuDetails?: GetEmbodiedAIPlatformResourceUsageInfoResponseBodyGpuDetails[];
|
|
161
|
+
/**
|
|
162
|
+
* @example
|
|
163
|
+
* 3
|
|
164
|
+
*/
|
|
165
|
+
maxRegisteredDevices?: number;
|
|
166
|
+
/**
|
|
167
|
+
* @example
|
|
168
|
+
* 1
|
|
169
|
+
*/
|
|
170
|
+
registeredDeviceCount?: number;
|
|
171
|
+
/**
|
|
172
|
+
* @remarks
|
|
173
|
+
* Id of the request
|
|
174
|
+
*
|
|
175
|
+
* @example
|
|
176
|
+
* B47EED99-BFA5-529D-8D85-A6642421D390
|
|
177
|
+
*/
|
|
178
|
+
requestId?: string;
|
|
179
|
+
slbTraffic?: GetEmbodiedAIPlatformResourceUsageInfoResponseBodySlbTraffic;
|
|
180
|
+
storageUsage?: GetEmbodiedAIPlatformResourceUsageInfoResponseBodyStorageUsage;
|
|
181
|
+
static names(): { [key: string]: string } {
|
|
182
|
+
return {
|
|
183
|
+
gpuDetails: 'GpuDetails',
|
|
184
|
+
maxRegisteredDevices: 'MaxRegisteredDevices',
|
|
185
|
+
registeredDeviceCount: 'RegisteredDeviceCount',
|
|
186
|
+
requestId: 'RequestId',
|
|
187
|
+
slbTraffic: 'SlbTraffic',
|
|
188
|
+
storageUsage: 'StorageUsage',
|
|
189
|
+
};
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
static types(): { [key: string]: any } {
|
|
193
|
+
return {
|
|
194
|
+
gpuDetails: { 'type': 'array', 'itemType': GetEmbodiedAIPlatformResourceUsageInfoResponseBodyGpuDetails },
|
|
195
|
+
maxRegisteredDevices: 'number',
|
|
196
|
+
registeredDeviceCount: 'number',
|
|
197
|
+
requestId: 'string',
|
|
198
|
+
slbTraffic: GetEmbodiedAIPlatformResourceUsageInfoResponseBodySlbTraffic,
|
|
199
|
+
storageUsage: GetEmbodiedAIPlatformResourceUsageInfoResponseBodyStorageUsage,
|
|
200
|
+
};
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
validate() {
|
|
204
|
+
if(Array.isArray(this.gpuDetails)) {
|
|
205
|
+
$dara.Model.validateArray(this.gpuDetails);
|
|
206
|
+
}
|
|
207
|
+
if(this.slbTraffic && typeof (this.slbTraffic as any).validate === 'function') {
|
|
208
|
+
(this.slbTraffic as any).validate();
|
|
209
|
+
}
|
|
210
|
+
if(this.storageUsage && typeof (this.storageUsage as any).validate === 'function') {
|
|
211
|
+
(this.storageUsage as any).validate();
|
|
212
|
+
}
|
|
213
|
+
super.validate();
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
constructor(map?: { [key: string]: any }) {
|
|
217
|
+
super(map);
|
|
218
|
+
}
|
|
219
|
+
}
|
|
220
|
+
|
|
@@ -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 ResetEmbodiedAIPlatformPasswordRequest 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
|
+
* 123*******
|
|
20
|
+
*/
|
|
21
|
+
password?: string;
|
|
22
|
+
/**
|
|
23
|
+
* @remarks
|
|
24
|
+
* This parameter is required.
|
|
25
|
+
*
|
|
26
|
+
* @example
|
|
27
|
+
* platform1
|
|
28
|
+
*/
|
|
29
|
+
platformName?: string;
|
|
30
|
+
/**
|
|
31
|
+
* @remarks
|
|
32
|
+
* This parameter is required.
|
|
33
|
+
*
|
|
34
|
+
* @example
|
|
35
|
+
* cn-beijing
|
|
36
|
+
*/
|
|
37
|
+
regionId?: string;
|
|
38
|
+
static names(): { [key: string]: string } {
|
|
39
|
+
return {
|
|
40
|
+
DBClusterId: 'DBClusterId',
|
|
41
|
+
password: 'Password',
|
|
42
|
+
platformName: 'PlatformName',
|
|
43
|
+
regionId: 'RegionId',
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
static types(): { [key: string]: any } {
|
|
48
|
+
return {
|
|
49
|
+
DBClusterId: 'string',
|
|
50
|
+
password: 'string',
|
|
51
|
+
platformName: 'string',
|
|
52
|
+
regionId: '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,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { ResetEmbodiedAIPlatformPasswordResponseBody } from "./ResetEmbodiedAiplatformPasswordResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class ResetEmbodiedAIPlatformPasswordResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: ResetEmbodiedAIPlatformPasswordResponseBody;
|
|
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: ResetEmbodiedAIPlatformPasswordResponseBody,
|
|
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,34 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class ResetEmbodiedAIPlatformPasswordResponseBody extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* Id of the request
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* B47EED99-BFA5-529D-8D85-A6642421D390
|
|
12
|
+
*/
|
|
13
|
+
requestId?: string;
|
|
14
|
+
static names(): { [key: string]: string } {
|
|
15
|
+
return {
|
|
16
|
+
requestId: 'RequestId',
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
static types(): { [key: string]: any } {
|
|
21
|
+
return {
|
|
22
|
+
requestId: 'string',
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
validate() {
|
|
27
|
+
super.validate();
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
constructor(map?: { [key: string]: any }) {
|
|
31
|
+
super(map);
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
package/src/models/model.ts
CHANGED
|
@@ -5,6 +5,11 @@ export { DescribeEmbodiedAIPlatformsResponseBodyPlatformsEapConfig } from './Des
|
|
|
5
5
|
export { DescribeEmbodiedAIPlatformsResponseBodyPlatformsRayConfigWorkerGroups } from './DescribeEmbodiedAiplatformsResponseBody';
|
|
6
6
|
export { DescribeEmbodiedAIPlatformsResponseBodyPlatformsRayConfig } from './DescribeEmbodiedAiplatformsResponseBody';
|
|
7
7
|
export { DescribeEmbodiedAIPlatformsResponseBodyPlatforms } from './DescribeEmbodiedAiplatformsResponseBody';
|
|
8
|
+
export { GetEmbodiedAIPlatformResourceUsageInfoResponseBodyGpuDetails } from './GetEmbodiedAiplatformResourceUsageInfoResponseBody';
|
|
9
|
+
export { GetEmbodiedAIPlatformResourceUsageInfoResponseBodySlbTraffic } from './GetEmbodiedAiplatformResourceUsageInfoResponseBody';
|
|
10
|
+
export { GetEmbodiedAIPlatformResourceUsageInfoResponseBodyStorageUsageNas } from './GetEmbodiedAiplatformResourceUsageInfoResponseBody';
|
|
11
|
+
export { GetEmbodiedAIPlatformResourceUsageInfoResponseBodyStorageUsageOss } from './GetEmbodiedAiplatformResourceUsageInfoResponseBody';
|
|
12
|
+
export { GetEmbodiedAIPlatformResourceUsageInfoResponseBodyStorageUsage } from './GetEmbodiedAiplatformResourceUsageInfoResponseBody';
|
|
8
13
|
export { CreateAgentPlatformRequest } from './CreateAgentPlatformRequest';
|
|
9
14
|
export { CreateAgentPlatformShrinkRequest } from './CreateAgentPlatformShrinkRequest';
|
|
10
15
|
export { CreateAgentPlatformResponseBody } from './CreateAgentPlatformResponseBody';
|
|
@@ -16,3 +21,9 @@ export { CreateEmbodiedAIPlatformResponse } from './CreateEmbodiedAiplatformResp
|
|
|
16
21
|
export { DescribeEmbodiedAIPlatformsRequest } from './DescribeEmbodiedAiplatformsRequest';
|
|
17
22
|
export { DescribeEmbodiedAIPlatformsResponseBody } from './DescribeEmbodiedAiplatformsResponseBody';
|
|
18
23
|
export { DescribeEmbodiedAIPlatformsResponse } from './DescribeEmbodiedAiplatformsResponse';
|
|
24
|
+
export { GetEmbodiedAIPlatformResourceUsageInfoRequest } from './GetEmbodiedAiplatformResourceUsageInfoRequest';
|
|
25
|
+
export { GetEmbodiedAIPlatformResourceUsageInfoResponseBody } from './GetEmbodiedAiplatformResourceUsageInfoResponseBody';
|
|
26
|
+
export { GetEmbodiedAIPlatformResourceUsageInfoResponse } from './GetEmbodiedAiplatformResourceUsageInfoResponse';
|
|
27
|
+
export { ResetEmbodiedAIPlatformPasswordRequest } from './ResetEmbodiedAiplatformPasswordRequest';
|
|
28
|
+
export { ResetEmbodiedAIPlatformPasswordResponseBody } from './ResetEmbodiedAiplatformPasswordResponseBody';
|
|
29
|
+
export { ResetEmbodiedAIPlatformPasswordResponse } from './ResetEmbodiedAiplatformPasswordResponse';
|