@alicloud/adbai20250812 1.0.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 +45 -0
- package/dist/client.js +152 -0
- package/dist/client.js.map +1 -1
- package/dist/models/CreateAgentPlatformRequest.d.ts +101 -0
- package/dist/models/CreateAgentPlatformRequest.js +98 -0
- package/dist/models/CreateAgentPlatformRequest.js.map +1 -0
- package/dist/models/CreateAgentPlatformResponse.d.ts +19 -0
- package/dist/models/CreateAgentPlatformResponse.js +69 -0
- package/dist/models/CreateAgentPlatformResponse.js.map +1 -0
- package/dist/models/CreateAgentPlatformResponseBody.d.ts +21 -0
- package/dist/models/CreateAgentPlatformResponseBody.js +58 -0
- package/dist/models/CreateAgentPlatformResponseBody.js.map +1 -0
- package/dist/models/CreateAgentPlatformShrinkRequest.d.ts +39 -0
- package/dist/models/CreateAgentPlatformShrinkRequest.js +64 -0
- package/dist/models/CreateAgentPlatformShrinkRequest.js.map +1 -0
- package/dist/models/CreateEmbodiedAiplatformRequest.d.ts +0 -2
- package/dist/models/CreateEmbodiedAiplatformRequest.js +0 -2
- package/dist/models/CreateEmbodiedAiplatformRequest.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 +16 -0
- package/dist/models/model.js +33 -1
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +172 -0
- package/src/models/CreateAgentPlatformRequest.ts +143 -0
- package/src/models/CreateAgentPlatformResponse.ts +40 -0
- package/src/models/CreateAgentPlatformResponseBody.ts +34 -0
- package/src/models/CreateAgentPlatformShrinkRequest.ts +58 -0
- package/src/models/CreateEmbodiedAiplatformRequest.ts +0 -2
- 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 +16 -0
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
*/
|
|
7
|
+
export class CreateAgentPlatformRequestAiPlatformConfig extends $dara.Model {
|
|
8
|
+
/**
|
|
9
|
+
* @remarks
|
|
10
|
+
* This parameter is required.
|
|
11
|
+
*
|
|
12
|
+
* @example
|
|
13
|
+
* 3760d3**************************
|
|
14
|
+
*/
|
|
15
|
+
serveApiKey?: string;
|
|
16
|
+
/**
|
|
17
|
+
* @remarks
|
|
18
|
+
* This parameter is required.
|
|
19
|
+
*
|
|
20
|
+
* @example
|
|
21
|
+
* http://111.xx.xx.xx:8100/inferenceservice/emb
|
|
22
|
+
*/
|
|
23
|
+
serveEmbeddingEndpoint?: string;
|
|
24
|
+
/**
|
|
25
|
+
* @remarks
|
|
26
|
+
* This parameter is required.
|
|
27
|
+
*
|
|
28
|
+
* @example
|
|
29
|
+
* Qwen3-Embedding-8B
|
|
30
|
+
*/
|
|
31
|
+
serveEmbeddingModelName?: string;
|
|
32
|
+
/**
|
|
33
|
+
* @remarks
|
|
34
|
+
* This parameter is required.
|
|
35
|
+
*
|
|
36
|
+
* @example
|
|
37
|
+
* http://111.xx.xx.xx:8100/inferenceservice/base
|
|
38
|
+
*/
|
|
39
|
+
serveEndpoint?: string;
|
|
40
|
+
/**
|
|
41
|
+
* @remarks
|
|
42
|
+
* This parameter is required.
|
|
43
|
+
*
|
|
44
|
+
* @example
|
|
45
|
+
* Qwen3-235B-A22B-Instruct-2507
|
|
46
|
+
*/
|
|
47
|
+
serveModelName?: string;
|
|
48
|
+
/**
|
|
49
|
+
* @remarks
|
|
50
|
+
* This parameter is required.
|
|
51
|
+
*
|
|
52
|
+
* @example
|
|
53
|
+
* large
|
|
54
|
+
*/
|
|
55
|
+
specName?: string;
|
|
56
|
+
static names(): { [key: string]: string } {
|
|
57
|
+
return {
|
|
58
|
+
serveApiKey: 'ServeApiKey',
|
|
59
|
+
serveEmbeddingEndpoint: 'ServeEmbeddingEndpoint',
|
|
60
|
+
serveEmbeddingModelName: 'ServeEmbeddingModelName',
|
|
61
|
+
serveEndpoint: 'ServeEndpoint',
|
|
62
|
+
serveModelName: 'ServeModelName',
|
|
63
|
+
specName: 'SpecName',
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
static types(): { [key: string]: any } {
|
|
68
|
+
return {
|
|
69
|
+
serveApiKey: 'string',
|
|
70
|
+
serveEmbeddingEndpoint: 'string',
|
|
71
|
+
serveEmbeddingModelName: 'string',
|
|
72
|
+
serveEndpoint: 'string',
|
|
73
|
+
serveModelName: 'string',
|
|
74
|
+
specName: 'string',
|
|
75
|
+
};
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
validate() {
|
|
79
|
+
super.validate();
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
constructor(map?: { [key: string]: any }) {
|
|
83
|
+
super(map);
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
export class CreateAgentPlatformRequest extends $dara.Model {
|
|
88
|
+
/**
|
|
89
|
+
* @remarks
|
|
90
|
+
* This parameter is required.
|
|
91
|
+
*/
|
|
92
|
+
aiPlatformConfig?: CreateAgentPlatformRequestAiPlatformConfig;
|
|
93
|
+
/**
|
|
94
|
+
* @remarks
|
|
95
|
+
* This parameter is required.
|
|
96
|
+
*
|
|
97
|
+
* @example
|
|
98
|
+
* amv-bp11q28kvl688****
|
|
99
|
+
*/
|
|
100
|
+
DBClusterId?: string;
|
|
101
|
+
/**
|
|
102
|
+
* @remarks
|
|
103
|
+
* This parameter is required.
|
|
104
|
+
*
|
|
105
|
+
* @example
|
|
106
|
+
* testplatform
|
|
107
|
+
*/
|
|
108
|
+
name?: string;
|
|
109
|
+
/**
|
|
110
|
+
* @example
|
|
111
|
+
* cn-beijing
|
|
112
|
+
*/
|
|
113
|
+
regionId?: string;
|
|
114
|
+
static names(): { [key: string]: string } {
|
|
115
|
+
return {
|
|
116
|
+
aiPlatformConfig: 'AiPlatformConfig',
|
|
117
|
+
DBClusterId: 'DBClusterId',
|
|
118
|
+
name: 'Name',
|
|
119
|
+
regionId: 'RegionId',
|
|
120
|
+
};
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
static types(): { [key: string]: any } {
|
|
124
|
+
return {
|
|
125
|
+
aiPlatformConfig: CreateAgentPlatformRequestAiPlatformConfig,
|
|
126
|
+
DBClusterId: 'string',
|
|
127
|
+
name: 'string',
|
|
128
|
+
regionId: 'string',
|
|
129
|
+
};
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
validate() {
|
|
133
|
+
if(this.aiPlatformConfig && typeof (this.aiPlatformConfig as any).validate === 'function') {
|
|
134
|
+
(this.aiPlatformConfig as any).validate();
|
|
135
|
+
}
|
|
136
|
+
super.validate();
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
constructor(map?: { [key: string]: any }) {
|
|
140
|
+
super(map);
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { CreateAgentPlatformResponseBody } from "./CreateAgentPlatformResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class CreateAgentPlatformResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: CreateAgentPlatformResponseBody;
|
|
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: CreateAgentPlatformResponseBody,
|
|
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 CreateAgentPlatformResponseBody 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
|
+
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class CreateAgentPlatformShrinkRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* This parameter is required.
|
|
9
|
+
*/
|
|
10
|
+
aiPlatformConfigShrink?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @remarks
|
|
13
|
+
* This parameter is required.
|
|
14
|
+
*
|
|
15
|
+
* @example
|
|
16
|
+
* amv-bp11q28kvl688****
|
|
17
|
+
*/
|
|
18
|
+
DBClusterId?: string;
|
|
19
|
+
/**
|
|
20
|
+
* @remarks
|
|
21
|
+
* This parameter is required.
|
|
22
|
+
*
|
|
23
|
+
* @example
|
|
24
|
+
* testplatform
|
|
25
|
+
*/
|
|
26
|
+
name?: string;
|
|
27
|
+
/**
|
|
28
|
+
* @example
|
|
29
|
+
* cn-beijing
|
|
30
|
+
*/
|
|
31
|
+
regionId?: string;
|
|
32
|
+
static names(): { [key: string]: string } {
|
|
33
|
+
return {
|
|
34
|
+
aiPlatformConfigShrink: 'AiPlatformConfig',
|
|
35
|
+
DBClusterId: 'DBClusterId',
|
|
36
|
+
name: 'Name',
|
|
37
|
+
regionId: 'RegionId',
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
static types(): { [key: string]: any } {
|
|
42
|
+
return {
|
|
43
|
+
aiPlatformConfigShrink: 'string',
|
|
44
|
+
DBClusterId: 'string',
|
|
45
|
+
name: 'string',
|
|
46
|
+
regionId: 'string',
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
validate() {
|
|
51
|
+
super.validate();
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
constructor(map?: { [key: string]: any }) {
|
|
55
|
+
super(map);
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
|
|
@@ -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
|
+
|