@alicloud/emr-serverless-spark20230808 2.0.0 → 2.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 +102 -48
- package/dist/client.js +206 -48
- package/dist/client.js.map +1 -1
- package/dist/models/CreateProcessDefinitionWithScheduleRequest.d.ts +37 -37
- package/dist/models/CreateProcessDefinitionWithScheduleResponseBody.d.ts +6 -6
- package/dist/models/CreateProcessDefinitionWithScheduleShrinkRequest.d.ts +10 -10
- package/dist/models/CreateSessionClusterRequest.d.ts +35 -29
- package/dist/models/CreateSessionClusterRequest.js.map +1 -1
- package/dist/models/CreateSqlStatementRequest.d.ts +12 -5
- package/dist/models/CreateSqlStatementRequest.js.map +1 -1
- package/dist/models/CreateSqlStatementResponseBody.d.ts +1 -1
- package/dist/models/CreateWorkspaceQueueRequest.d.ts +131 -0
- package/dist/models/CreateWorkspaceQueueRequest.js +107 -0
- package/dist/models/CreateWorkspaceQueueRequest.js.map +1 -0
- package/dist/models/CreateWorkspaceQueueResponse.d.ts +19 -0
- package/dist/models/CreateWorkspaceQueueResponse.js +69 -0
- package/dist/models/CreateWorkspaceQueueResponse.js.map +1 -0
- package/dist/models/CreateWorkspaceQueueResponseBody.d.ts +21 -0
- package/dist/models/CreateWorkspaceQueueResponseBody.js +58 -0
- package/dist/models/CreateWorkspaceQueueResponseBody.js.map +1 -0
- package/dist/models/GetAicenterStateResponseBody.d.ts +4 -7
- package/dist/models/GetAicenterStateResponseBody.js.map +1 -1
- package/dist/models/GetDoctorApplicationRequest.d.ts +2 -2
- package/dist/models/GetDoctorApplicationResponseBody.d.ts +2 -5
- package/dist/models/GetDoctorApplicationResponseBody.js.map +1 -1
- package/dist/models/GetJobRunResponseBody.d.ts +77 -12
- package/dist/models/GetJobRunResponseBody.js +35 -1
- package/dist/models/GetJobRunResponseBody.js.map +1 -1
- package/dist/models/GetKyuubiServiceResponseBody.d.ts +14 -14
- package/dist/models/GetKyuubiTokenResponseBody.d.ts +10 -10
- package/dist/models/GetLivyComputeResponseBody.d.ts +21 -20
- package/dist/models/GetLivyComputeResponseBody.js.map +1 -1
- package/dist/models/GetLivyComputeTokenRequest.d.ts +1 -1
- package/dist/models/GetLivyComputeTokenResponseBody.d.ts +13 -15
- package/dist/models/GetLivyComputeTokenResponseBody.js.map +1 -1
- package/dist/models/GetRayClusterResponseBody.d.ts +31 -31
- package/dist/models/GetSessionClusterResponseBody.d.ts +37 -38
- package/dist/models/GetSessionClusterResponseBody.js.map +1 -1
- package/dist/models/GetWorkspaceRequest.d.ts +21 -0
- package/dist/models/GetWorkspaceRequest.js +58 -0
- package/dist/models/GetWorkspaceRequest.js.map +1 -0
- package/dist/models/GetWorkspaceResponse.d.ts +19 -0
- package/dist/models/GetWorkspaceResponse.js +69 -0
- package/dist/models/GetWorkspaceResponse.js.map +1 -0
- package/dist/models/GetWorkspaceResponseBody.d.ts +519 -0
- package/dist/models/GetWorkspaceResponseBody.js +278 -0
- package/dist/models/GetWorkspaceResponseBody.js.map +1 -0
- package/dist/models/ListExecutorLogsRequest.d.ts +4 -4
- package/dist/models/ListExecutorLogsResponseBody.d.ts +8 -8
- package/dist/models/ListJobRunsRequest.d.ts +19 -15
- package/dist/models/ListJobRunsRequest.js.map +1 -1
- package/dist/models/ListJobRunsResponseBody.d.ts +32 -22
- package/dist/models/ListJobRunsResponseBody.js.map +1 -1
- package/dist/models/ListJobRunsShrinkRequest.d.ts +15 -11
- package/dist/models/ListJobRunsShrinkRequest.js.map +1 -1
- package/dist/models/ListKyuubiServicesRequest.d.ts +1 -1
- package/dist/models/ListKyuubiServicesResponseBody.d.ts +15 -15
- package/dist/models/ListKyuubiSparkApplicationsRequest.d.ts +36 -7
- package/dist/models/ListKyuubiSparkApplicationsRequest.js.map +1 -1
- package/dist/models/ListKyuubiSparkApplicationsResponseBody.d.ts +29 -15
- package/dist/models/ListKyuubiSparkApplicationsResponseBody.js.map +1 -1
- package/dist/models/ListKyuubiSparkApplicationsShrinkRequest.d.ts +28 -5
- package/dist/models/ListKyuubiSparkApplicationsShrinkRequest.js.map +1 -1
- package/dist/models/ListKyuubiTokenResponseBody.d.ts +8 -8
- package/dist/models/ListLivyComputeRequest.d.ts +1 -1
- package/dist/models/ListLivyComputeResponseBody.d.ts +8 -8
- package/dist/models/ListLivyComputeSessionsRequest.d.ts +1 -1
- package/dist/models/ListLivyComputeSessionsResponseBody.d.ts +12 -17
- package/dist/models/ListLivyComputeSessionsResponseBody.js.map +1 -1
- package/dist/models/ListLivyComputeTokenResponseBody.d.ts +7 -7
- package/dist/models/ListMembersRequest.d.ts +2 -2
- package/dist/models/ListMembersResponseBody.d.ts +15 -13
- package/dist/models/ListMembersResponseBody.js.map +1 -1
- package/dist/models/ListQueueTopJobsRequest.d.ts +29 -0
- package/dist/models/ListQueueTopJobsRequest.js +60 -0
- package/dist/models/ListQueueTopJobsRequest.js.map +1 -0
- package/dist/models/ListQueueTopJobsResponse.d.ts +19 -0
- package/dist/models/ListQueueTopJobsResponse.js +69 -0
- package/dist/models/ListQueueTopJobsResponse.js.map +1 -0
- package/dist/models/ListQueueTopJobsResponseBody.d.ts +127 -0
- package/dist/models/ListQueueTopJobsResponseBody.js +120 -0
- package/dist/models/ListQueueTopJobsResponseBody.js.map +1 -0
- package/dist/models/ListRayClusterRequest.d.ts +1 -1
- package/dist/models/ListRayClusterResponseBody.d.ts +29 -28
- package/dist/models/ListRayClusterResponseBody.js.map +1 -1
- package/dist/models/ListRayJobRequest.d.ts +7 -7
- package/dist/models/ListRayJobResponseBody.d.ts +23 -23
- package/dist/models/ListRayJobShrinkRequest.d.ts +5 -5
- package/dist/models/ListSessionClustersRequest.d.ts +3 -3
- package/dist/models/ListSessionClustersResponseBody.d.ts +37 -31
- package/dist/models/ListSessionClustersResponseBody.js.map +1 -1
- package/dist/models/ListWorkspaceQueuesResponseBody.d.ts +29 -15
- package/dist/models/ListWorkspaceQueuesResponseBody.js.map +1 -1
- package/dist/models/ListWorkspacesRequest.d.ts +23 -5
- package/dist/models/ListWorkspacesRequest.js.map +1 -1
- package/dist/models/ListWorkspacesResponseBody.d.ts +117 -27
- package/dist/models/ListWorkspacesResponseBody.js.map +1 -1
- package/dist/models/ListWorkspacesShrinkRequest.d.ts +16 -4
- package/dist/models/ListWorkspacesShrinkRequest.js.map +1 -1
- package/dist/models/SubmitRayJobRequest.d.ts +21 -21
- package/dist/models/SubmitRayJobResponseBody.d.ts +1 -1
- package/dist/models/Task.d.ts +0 -183
- package/dist/models/Task.js.map +1 -1
- package/dist/models/UpdateProcessDefinitionWithScheduleRequest.d.ts +33 -33
- package/dist/models/UpdateProcessDefinitionWithScheduleResponseBody.d.ts +15 -15
- package/dist/models/UpdateProcessDefinitionWithScheduleShrinkRequest.d.ts +8 -8
- package/dist/models/UpdateRayClusterRequest.d.ts +10 -10
- package/dist/models/UpdateWorkspaceRequest.d.ts +45 -9
- package/dist/models/UpdateWorkspaceRequest.js.map +1 -1
- package/dist/models/UpdateWorkspaceResponseBody.d.ts +1 -1
- package/dist/models/model.d.ts +18 -0
- package/dist/models/model.js +48 -12
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +225 -48
- package/src/models/CreateProcessDefinitionWithScheduleRequest.ts +37 -37
- package/src/models/CreateProcessDefinitionWithScheduleResponseBody.ts +6 -6
- package/src/models/CreateProcessDefinitionWithScheduleShrinkRequest.ts +10 -10
- package/src/models/CreateSessionClusterRequest.ts +35 -29
- package/src/models/CreateSqlStatementRequest.ts +12 -5
- package/src/models/CreateSqlStatementResponseBody.ts +1 -1
- package/src/models/CreateWorkspaceQueueRequest.ts +184 -0
- package/src/models/CreateWorkspaceQueueResponse.ts +40 -0
- package/src/models/CreateWorkspaceQueueResponseBody.ts +34 -0
- package/src/models/GetAicenterStateResponseBody.ts +4 -7
- package/src/models/GetDoctorApplicationRequest.ts +2 -2
- package/src/models/GetDoctorApplicationResponseBody.ts +2 -5
- package/src/models/GetJobRunResponseBody.ts +102 -12
- package/src/models/GetKyuubiServiceResponseBody.ts +14 -14
- package/src/models/GetKyuubiTokenResponseBody.ts +10 -10
- package/src/models/GetLivyComputeResponseBody.ts +21 -20
- package/src/models/GetLivyComputeTokenRequest.ts +1 -1
- package/src/models/GetLivyComputeTokenResponseBody.ts +13 -15
- package/src/models/GetRayClusterResponseBody.ts +31 -31
- package/src/models/GetSessionClusterResponseBody.ts +37 -38
- package/src/models/GetWorkspaceRequest.ts +34 -0
- package/src/models/GetWorkspaceResponse.ts +40 -0
- package/src/models/GetWorkspaceResponseBody.ts +707 -0
- package/src/models/ListExecutorLogsRequest.ts +4 -4
- package/src/models/ListExecutorLogsResponseBody.ts +8 -8
- package/src/models/ListJobRunsRequest.ts +19 -15
- package/src/models/ListJobRunsResponseBody.ts +32 -22
- package/src/models/ListJobRunsShrinkRequest.ts +15 -11
- package/src/models/ListKyuubiServicesRequest.ts +1 -1
- package/src/models/ListKyuubiServicesResponseBody.ts +15 -15
- package/src/models/ListKyuubiSparkApplicationsRequest.ts +36 -7
- package/src/models/ListKyuubiSparkApplicationsResponseBody.ts +29 -15
- package/src/models/ListKyuubiSparkApplicationsShrinkRequest.ts +28 -5
- package/src/models/ListKyuubiTokenResponseBody.ts +8 -8
- package/src/models/ListLivyComputeRequest.ts +1 -1
- package/src/models/ListLivyComputeResponseBody.ts +8 -8
- package/src/models/ListLivyComputeSessionsRequest.ts +1 -1
- package/src/models/ListLivyComputeSessionsResponseBody.ts +12 -17
- package/src/models/ListLivyComputeTokenResponseBody.ts +7 -7
- package/src/models/ListMembersRequest.ts +2 -2
- package/src/models/ListMembersResponseBody.ts +15 -13
- package/src/models/ListQueueTopJobsRequest.ts +44 -0
- package/src/models/ListQueueTopJobsResponse.ts +40 -0
- package/src/models/ListQueueTopJobsResponseBody.ts +184 -0
- package/src/models/ListRayClusterRequest.ts +1 -1
- package/src/models/ListRayClusterResponseBody.ts +29 -28
- package/src/models/ListRayJobRequest.ts +7 -7
- package/src/models/ListRayJobResponseBody.ts +23 -23
- package/src/models/ListRayJobShrinkRequest.ts +5 -5
- package/src/models/ListSessionClustersRequest.ts +3 -3
- package/src/models/ListSessionClustersResponseBody.ts +37 -31
- package/src/models/ListWorkspaceQueuesResponseBody.ts +29 -15
- package/src/models/ListWorkspacesRequest.ts +23 -5
- package/src/models/ListWorkspacesResponseBody.ts +117 -27
- package/src/models/ListWorkspacesShrinkRequest.ts +16 -4
- package/src/models/SubmitRayJobRequest.ts +21 -21
- package/src/models/SubmitRayJobResponseBody.ts +1 -1
- package/src/models/Task.ts +0 -183
- package/src/models/UpdateProcessDefinitionWithScheduleRequest.ts +33 -33
- package/src/models/UpdateProcessDefinitionWithScheduleResponseBody.ts +15 -15
- package/src/models/UpdateProcessDefinitionWithScheduleShrinkRequest.ts +8 -8
- package/src/models/UpdateRayClusterRequest.ts +10 -10
- package/src/models/UpdateWorkspaceRequest.ts +45 -9
- package/src/models/UpdateWorkspaceResponseBody.ts +1 -1
- package/src/models/model.ts +18 -0
|
@@ -0,0 +1,184 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class CreateWorkspaceQueueRequestResourceSpec extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The maximum workspace resource capacity.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* 1000
|
|
12
|
+
*/
|
|
13
|
+
cu?: number;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The number of GPUs.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* 100
|
|
20
|
+
*/
|
|
21
|
+
gpu?: number;
|
|
22
|
+
/**
|
|
23
|
+
* @remarks
|
|
24
|
+
* The number of GPU machines. This parameter is valid only for subscription instances.
|
|
25
|
+
*
|
|
26
|
+
* @example
|
|
27
|
+
* 8
|
|
28
|
+
*/
|
|
29
|
+
gpuMachineNum?: number;
|
|
30
|
+
/**
|
|
31
|
+
* @remarks
|
|
32
|
+
* The maximum number of CUs.
|
|
33
|
+
*
|
|
34
|
+
* @example
|
|
35
|
+
* 0.5
|
|
36
|
+
*/
|
|
37
|
+
maxCu?: number;
|
|
38
|
+
static names(): { [key: string]: string } {
|
|
39
|
+
return {
|
|
40
|
+
cu: 'cu',
|
|
41
|
+
gpu: 'gpu',
|
|
42
|
+
gpuMachineNum: 'gpuMachineNum',
|
|
43
|
+
maxCu: 'maxCu',
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
static types(): { [key: string]: any } {
|
|
48
|
+
return {
|
|
49
|
+
cu: 'number',
|
|
50
|
+
gpu: 'number',
|
|
51
|
+
gpuMachineNum: 'number',
|
|
52
|
+
maxCu: 'number',
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
validate() {
|
|
57
|
+
super.validate();
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
constructor(map?: { [key: string]: any }) {
|
|
61
|
+
super(map);
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
export class CreateWorkspaceQueueRequest extends $dara.Model {
|
|
66
|
+
/**
|
|
67
|
+
* @remarks
|
|
68
|
+
* The description.
|
|
69
|
+
*
|
|
70
|
+
* @example
|
|
71
|
+
* Ray Cluster for dev.
|
|
72
|
+
*/
|
|
73
|
+
description?: string;
|
|
74
|
+
/**
|
|
75
|
+
* @remarks
|
|
76
|
+
* The list of GPU models.
|
|
77
|
+
*/
|
|
78
|
+
gpuSpec?: string[];
|
|
79
|
+
/**
|
|
80
|
+
* @remarks
|
|
81
|
+
* The Ray cluster instance ID.
|
|
82
|
+
*
|
|
83
|
+
* @example
|
|
84
|
+
* ray-k7nm8ahl5te4tg91-ey7blpbg
|
|
85
|
+
*/
|
|
86
|
+
instanceId?: string;
|
|
87
|
+
/**
|
|
88
|
+
* @remarks
|
|
89
|
+
* The billing method of the instance. Valid values:
|
|
90
|
+
*
|
|
91
|
+
* - PayAsYouGo: pay-as-you-go
|
|
92
|
+
* - Pre: subscription
|
|
93
|
+
*
|
|
94
|
+
* @example
|
|
95
|
+
* PayAsYouGo
|
|
96
|
+
*/
|
|
97
|
+
paymentType?: string;
|
|
98
|
+
/**
|
|
99
|
+
* @remarks
|
|
100
|
+
* Indicates whether resource prefetch is enabled.
|
|
101
|
+
*/
|
|
102
|
+
preheat?: boolean;
|
|
103
|
+
/**
|
|
104
|
+
* @remarks
|
|
105
|
+
* The queue type. Valid values: CPU and GPU.
|
|
106
|
+
*
|
|
107
|
+
* @example
|
|
108
|
+
* CPU
|
|
109
|
+
*/
|
|
110
|
+
queueCategory?: string;
|
|
111
|
+
/**
|
|
112
|
+
* @remarks
|
|
113
|
+
* The resource specifications.
|
|
114
|
+
*/
|
|
115
|
+
resourceSpec?: CreateWorkspaceQueueRequestResourceSpec;
|
|
116
|
+
/**
|
|
117
|
+
* @remarks
|
|
118
|
+
* The workspace ID.
|
|
119
|
+
*
|
|
120
|
+
* @example
|
|
121
|
+
* w-975bcfda9625****
|
|
122
|
+
*/
|
|
123
|
+
workspaceId?: string;
|
|
124
|
+
/**
|
|
125
|
+
* @remarks
|
|
126
|
+
* The workspace queue name.
|
|
127
|
+
*
|
|
128
|
+
* @example
|
|
129
|
+
* dev_queue
|
|
130
|
+
*/
|
|
131
|
+
workspaceQueueName?: string;
|
|
132
|
+
/**
|
|
133
|
+
* @remarks
|
|
134
|
+
* The region ID.
|
|
135
|
+
*
|
|
136
|
+
* @example
|
|
137
|
+
* cn-hangzhou
|
|
138
|
+
*/
|
|
139
|
+
regionId?: string;
|
|
140
|
+
static names(): { [key: string]: string } {
|
|
141
|
+
return {
|
|
142
|
+
description: 'description',
|
|
143
|
+
gpuSpec: 'gpuSpec',
|
|
144
|
+
instanceId: 'instanceId',
|
|
145
|
+
paymentType: 'paymentType',
|
|
146
|
+
preheat: 'preheat',
|
|
147
|
+
queueCategory: 'queueCategory',
|
|
148
|
+
resourceSpec: 'resourceSpec',
|
|
149
|
+
workspaceId: 'workspaceId',
|
|
150
|
+
workspaceQueueName: 'workspaceQueueName',
|
|
151
|
+
regionId: 'regionId',
|
|
152
|
+
};
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
static types(): { [key: string]: any } {
|
|
156
|
+
return {
|
|
157
|
+
description: 'string',
|
|
158
|
+
gpuSpec: { 'type': 'array', 'itemType': 'string' },
|
|
159
|
+
instanceId: 'string',
|
|
160
|
+
paymentType: 'string',
|
|
161
|
+
preheat: 'boolean',
|
|
162
|
+
queueCategory: 'string',
|
|
163
|
+
resourceSpec: CreateWorkspaceQueueRequestResourceSpec,
|
|
164
|
+
workspaceId: 'string',
|
|
165
|
+
workspaceQueueName: 'string',
|
|
166
|
+
regionId: 'string',
|
|
167
|
+
};
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
validate() {
|
|
171
|
+
if(Array.isArray(this.gpuSpec)) {
|
|
172
|
+
$dara.Model.validateArray(this.gpuSpec);
|
|
173
|
+
}
|
|
174
|
+
if(this.resourceSpec && typeof (this.resourceSpec as any).validate === 'function') {
|
|
175
|
+
(this.resourceSpec as any).validate();
|
|
176
|
+
}
|
|
177
|
+
super.validate();
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
constructor(map?: { [key: string]: any }) {
|
|
181
|
+
super(map);
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { CreateWorkspaceQueueResponseBody } from "./CreateWorkspaceQueueResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class CreateWorkspaceQueueResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: CreateWorkspaceQueueResponseBody;
|
|
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: CreateWorkspaceQueueResponseBody,
|
|
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 CreateWorkspaceQueueResponseBody extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The request ID.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* DD6B1B2A-5837-5237-ABE4-FF0C8944****
|
|
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
|
+
|
|
@@ -13,13 +13,10 @@ export class GetAICenterStateResponseBody extends $dara.Model {
|
|
|
13
13
|
requestId?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The
|
|
17
|
-
*
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
* - inactive
|
|
21
|
-
*
|
|
22
|
-
* - activating
|
|
16
|
+
* The status of AI Hub. Valid values:
|
|
17
|
+
* * active
|
|
18
|
+
* * inactive
|
|
19
|
+
* * activating
|
|
23
20
|
*
|
|
24
21
|
* @example
|
|
25
22
|
* Running
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class GetDoctorApplicationRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The language of diagnostic information.
|
|
8
|
+
* The language of the diagnostic information.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* zh-CN
|
|
@@ -13,7 +13,7 @@ export class GetDoctorApplicationRequest extends $dara.Model {
|
|
|
13
13
|
locale?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The query
|
|
16
|
+
* The query date in the YYYY-MM-DD format.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* 2024-01-01
|
|
@@ -5,10 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class GetDoctorApplicationResponseBodyData extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The
|
|
9
|
-
*
|
|
10
|
-
* @example
|
|
11
|
-
* Normal.
|
|
8
|
+
* The list of diagnostic information.
|
|
12
9
|
*/
|
|
13
10
|
suggestions?: string[];
|
|
14
11
|
static names(): { [key: string]: string } {
|
|
@@ -38,7 +35,7 @@ export class GetDoctorApplicationResponseBodyData extends $dara.Model {
|
|
|
38
35
|
export class GetDoctorApplicationResponseBody extends $dara.Model {
|
|
39
36
|
/**
|
|
40
37
|
* @remarks
|
|
41
|
-
* The
|
|
38
|
+
* The returned result.
|
|
42
39
|
*/
|
|
43
40
|
data?: GetDoctorApplicationResponseBodyData;
|
|
44
41
|
static names(): { [key: string]: string } {
|
|
@@ -9,7 +9,7 @@ import { Configuration } from "./Configuration";
|
|
|
9
9
|
export class GetJobRunResponseBodyJobRunConfigurationOverrides extends $dara.Model {
|
|
10
10
|
/**
|
|
11
11
|
* @remarks
|
|
12
|
-
* The list
|
|
12
|
+
* The configuration list.
|
|
13
13
|
*/
|
|
14
14
|
configurations?: Configuration[];
|
|
15
15
|
static names(): { [key: string]: string } {
|
|
@@ -76,10 +76,90 @@ export class GetJobRunResponseBodyJobRunStateChangeReason extends $dara.Model {
|
|
|
76
76
|
}
|
|
77
77
|
}
|
|
78
78
|
|
|
79
|
+
export class GetJobRunResponseBodyJobRunTokenDetails extends $dara.Model {
|
|
80
|
+
/**
|
|
81
|
+
* @remarks
|
|
82
|
+
* Specifies whether thinking mode is enabled.
|
|
83
|
+
*
|
|
84
|
+
* @example
|
|
85
|
+
* true
|
|
86
|
+
*/
|
|
87
|
+
enableThinking?: string;
|
|
88
|
+
/**
|
|
89
|
+
* @remarks
|
|
90
|
+
* The input modality.
|
|
91
|
+
*
|
|
92
|
+
* @example
|
|
93
|
+
* -
|
|
94
|
+
*/
|
|
95
|
+
inputModality?: string;
|
|
96
|
+
/**
|
|
97
|
+
* @remarks
|
|
98
|
+
* The model name.
|
|
99
|
+
*
|
|
100
|
+
* @example
|
|
101
|
+
* qwen-plus
|
|
102
|
+
*/
|
|
103
|
+
modelName?: string;
|
|
104
|
+
/**
|
|
105
|
+
* @remarks
|
|
106
|
+
* The input token range.
|
|
107
|
+
*
|
|
108
|
+
* @example
|
|
109
|
+
* 0<Token≤256K
|
|
110
|
+
*/
|
|
111
|
+
tokenRange?: string;
|
|
112
|
+
/**
|
|
113
|
+
* @remarks
|
|
114
|
+
* The token source. Valid values: input and output.
|
|
115
|
+
*
|
|
116
|
+
* @example
|
|
117
|
+
* input
|
|
118
|
+
*/
|
|
119
|
+
tokenSource?: string;
|
|
120
|
+
/**
|
|
121
|
+
* @remarks
|
|
122
|
+
* The number of tokens consumed.
|
|
123
|
+
*
|
|
124
|
+
* @example
|
|
125
|
+
* 10000
|
|
126
|
+
*/
|
|
127
|
+
tokenUsed?: number;
|
|
128
|
+
static names(): { [key: string]: string } {
|
|
129
|
+
return {
|
|
130
|
+
enableThinking: 'enableThinking',
|
|
131
|
+
inputModality: 'inputModality',
|
|
132
|
+
modelName: 'modelName',
|
|
133
|
+
tokenRange: 'tokenRange',
|
|
134
|
+
tokenSource: 'tokenSource',
|
|
135
|
+
tokenUsed: 'tokenUsed',
|
|
136
|
+
};
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
static types(): { [key: string]: any } {
|
|
140
|
+
return {
|
|
141
|
+
enableThinking: 'string',
|
|
142
|
+
inputModality: 'string',
|
|
143
|
+
modelName: 'string',
|
|
144
|
+
tokenRange: 'string',
|
|
145
|
+
tokenSource: 'string',
|
|
146
|
+
tokenUsed: 'number',
|
|
147
|
+
};
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
validate() {
|
|
151
|
+
super.validate();
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
constructor(map?: { [key: string]: any }) {
|
|
155
|
+
super(map);
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
|
|
79
159
|
export class GetJobRunResponseBodyJobRun extends $dara.Model {
|
|
80
160
|
/**
|
|
81
161
|
* @remarks
|
|
82
|
-
* The code type
|
|
162
|
+
* The job code type. Valid values:
|
|
83
163
|
*
|
|
84
164
|
* - SQL
|
|
85
165
|
*
|
|
@@ -106,7 +186,7 @@ export class GetJobRunResponseBodyJobRun extends $dara.Model {
|
|
|
106
186
|
displayReleaseVersion?: string;
|
|
107
187
|
/**
|
|
108
188
|
* @remarks
|
|
109
|
-
* The time
|
|
189
|
+
* The job end time. The value is a Unix timestamp in milliseconds.
|
|
110
190
|
*
|
|
111
191
|
* @example
|
|
112
192
|
* 1684122914000
|
|
@@ -122,7 +202,7 @@ export class GetJobRunResponseBodyJobRun extends $dara.Model {
|
|
|
122
202
|
environmentId?: string;
|
|
123
203
|
/**
|
|
124
204
|
* @remarks
|
|
125
|
-
* The execution timeout period
|
|
205
|
+
* The execution timeout period.
|
|
126
206
|
*
|
|
127
207
|
* @example
|
|
128
208
|
* 3600
|
|
@@ -130,7 +210,7 @@ export class GetJobRunResponseBodyJobRun extends $dara.Model {
|
|
|
130
210
|
executionTimeoutSeconds?: number;
|
|
131
211
|
/**
|
|
132
212
|
* @remarks
|
|
133
|
-
*
|
|
213
|
+
* Specifies whether the Fusion engine acceleration is enabled.
|
|
134
214
|
*
|
|
135
215
|
* @example
|
|
136
216
|
* false
|
|
@@ -156,7 +236,7 @@ export class GetJobRunResponseBodyJobRun extends $dara.Model {
|
|
|
156
236
|
log?: RunLog;
|
|
157
237
|
/**
|
|
158
238
|
* @remarks
|
|
159
|
-
* The job
|
|
239
|
+
* The job name.
|
|
160
240
|
*
|
|
161
241
|
* @example
|
|
162
242
|
* jobName
|
|
@@ -164,7 +244,7 @@ export class GetJobRunResponseBodyJobRun extends $dara.Model {
|
|
|
164
244
|
name?: string;
|
|
165
245
|
/**
|
|
166
246
|
* @remarks
|
|
167
|
-
* The download URL of the NOTEBOOK file. This parameter is returned only
|
|
247
|
+
* The download URL of the NOTEBOOK file. This parameter is returned only if the job type is NOTEBOOK.
|
|
168
248
|
*
|
|
169
249
|
* @example
|
|
170
250
|
* http://workflow-ide-cn-hangzhou.oss-cn-hangzhou.aliyuncs.com/spark-notebook-output/w-xxxxxxxxx/xxxxxxx
|
|
@@ -180,7 +260,7 @@ export class GetJobRunResponseBodyJobRun extends $dara.Model {
|
|
|
180
260
|
priority?: string;
|
|
181
261
|
/**
|
|
182
262
|
* @remarks
|
|
183
|
-
* The Spark DPI engine version used to run the
|
|
263
|
+
* The Spark DPI engine version used to run the node.
|
|
184
264
|
*
|
|
185
265
|
* @example
|
|
186
266
|
* esr-3.3.1
|
|
@@ -204,7 +284,7 @@ export class GetJobRunResponseBodyJobRun extends $dara.Model {
|
|
|
204
284
|
resourceQueueId?: string;
|
|
205
285
|
/**
|
|
206
286
|
* @remarks
|
|
207
|
-
* The job
|
|
287
|
+
* The job status.
|
|
208
288
|
*
|
|
209
289
|
* @example
|
|
210
290
|
* Running
|
|
@@ -212,12 +292,12 @@ export class GetJobRunResponseBodyJobRun extends $dara.Model {
|
|
|
212
292
|
state?: string;
|
|
213
293
|
/**
|
|
214
294
|
* @remarks
|
|
215
|
-
* The reason for the
|
|
295
|
+
* The reason for the status change.
|
|
216
296
|
*/
|
|
217
297
|
stateChangeReason?: GetJobRunResponseBodyJobRunStateChangeReason;
|
|
218
298
|
/**
|
|
219
299
|
* @remarks
|
|
220
|
-
* The time
|
|
300
|
+
* The job submission time. The value is a Unix timestamp in milliseconds.
|
|
221
301
|
*
|
|
222
302
|
* @example
|
|
223
303
|
* 1684119314000
|
|
@@ -225,9 +305,14 @@ export class GetJobRunResponseBodyJobRun extends $dara.Model {
|
|
|
225
305
|
submitTime?: number;
|
|
226
306
|
/**
|
|
227
307
|
* @remarks
|
|
228
|
-
* The list
|
|
308
|
+
* The tag list.
|
|
229
309
|
*/
|
|
230
310
|
tags?: Tag[];
|
|
311
|
+
/**
|
|
312
|
+
* @remarks
|
|
313
|
+
* The details of token consumption.
|
|
314
|
+
*/
|
|
315
|
+
tokenDetails?: GetJobRunResponseBodyJobRunTokenDetails[];
|
|
231
316
|
/**
|
|
232
317
|
* @remarks
|
|
233
318
|
* The total number of tokens consumed.
|
|
@@ -274,6 +359,7 @@ export class GetJobRunResponseBodyJobRun extends $dara.Model {
|
|
|
274
359
|
stateChangeReason: 'stateChangeReason',
|
|
275
360
|
submitTime: 'submitTime',
|
|
276
361
|
tags: 'tags',
|
|
362
|
+
tokenDetails: 'tokenDetails',
|
|
277
363
|
totalTokens: 'totalTokens',
|
|
278
364
|
webUI: 'webUI',
|
|
279
365
|
workspaceId: 'workspaceId',
|
|
@@ -302,6 +388,7 @@ export class GetJobRunResponseBodyJobRun extends $dara.Model {
|
|
|
302
388
|
stateChangeReason: GetJobRunResponseBodyJobRunStateChangeReason,
|
|
303
389
|
submitTime: 'number',
|
|
304
390
|
tags: { 'type': 'array', 'itemType': Tag },
|
|
391
|
+
tokenDetails: { 'type': 'array', 'itemType': GetJobRunResponseBodyJobRunTokenDetails },
|
|
305
392
|
totalTokens: 'number',
|
|
306
393
|
webUI: 'string',
|
|
307
394
|
workspaceId: 'string',
|
|
@@ -324,6 +411,9 @@ export class GetJobRunResponseBodyJobRun extends $dara.Model {
|
|
|
324
411
|
if(Array.isArray(this.tags)) {
|
|
325
412
|
$dara.Model.validateArray(this.tags);
|
|
326
413
|
}
|
|
414
|
+
if(Array.isArray(this.tokenDetails)) {
|
|
415
|
+
$dara.Model.validateArray(this.tokenDetails);
|
|
416
|
+
}
|
|
327
417
|
super.validate();
|
|
328
418
|
}
|
|
329
419
|
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class GetKyuubiServiceResponseBodyData extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The
|
|
8
|
+
* The Kyuubi service specifications.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* 2c8g
|
|
@@ -13,7 +13,7 @@ export class GetKyuubiServiceResponseBodyData extends $dara.Model {
|
|
|
13
13
|
computeInstance?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The
|
|
16
|
+
* The creation time. The value is a UNIX timestamp in milliseconds.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* 1749456094000
|
|
@@ -29,7 +29,7 @@ export class GetKyuubiServiceResponseBodyData extends $dara.Model {
|
|
|
29
29
|
creator?: string;
|
|
30
30
|
/**
|
|
31
31
|
* @remarks
|
|
32
|
-
* The internal
|
|
32
|
+
* The internal network domain name.
|
|
33
33
|
*
|
|
34
34
|
* @example
|
|
35
35
|
* kyuubi-cn-beijing-internal.spark.emr.aliyuncs.com
|
|
@@ -37,7 +37,7 @@ export class GetKyuubiServiceResponseBodyData extends $dara.Model {
|
|
|
37
37
|
innerEndpoint?: string;
|
|
38
38
|
/**
|
|
39
39
|
* @remarks
|
|
40
|
-
* The
|
|
40
|
+
* The Kyuubi service configuration.
|
|
41
41
|
*
|
|
42
42
|
* @example
|
|
43
43
|
* []
|
|
@@ -45,7 +45,7 @@ export class GetKyuubiServiceResponseBodyData extends $dara.Model {
|
|
|
45
45
|
kyuubiConfigs?: string;
|
|
46
46
|
/**
|
|
47
47
|
* @remarks
|
|
48
|
-
* The Kyuubi service engine version.
|
|
48
|
+
* The Kyuubi service DPI engine version.
|
|
49
49
|
*
|
|
50
50
|
* @example
|
|
51
51
|
* 1.9.2-0.0.2
|
|
@@ -53,7 +53,7 @@ export class GetKyuubiServiceResponseBodyData extends $dara.Model {
|
|
|
53
53
|
kyuubiReleaseVersion?: string;
|
|
54
54
|
/**
|
|
55
55
|
* @remarks
|
|
56
|
-
*
|
|
56
|
+
* Kyuubi Service ID。
|
|
57
57
|
*
|
|
58
58
|
* @example
|
|
59
59
|
* kb-4e209b04588***95f04ad3538ae4
|
|
@@ -61,7 +61,7 @@ export class GetKyuubiServiceResponseBodyData extends $dara.Model {
|
|
|
61
61
|
kyuubiServiceId?: string;
|
|
62
62
|
/**
|
|
63
63
|
* @remarks
|
|
64
|
-
* The
|
|
64
|
+
* The Kyuubi service name.
|
|
65
65
|
*
|
|
66
66
|
* @example
|
|
67
67
|
* dev_serverless_spark
|
|
@@ -77,7 +77,7 @@ export class GetKyuubiServiceResponseBodyData extends $dara.Model {
|
|
|
77
77
|
publicEndpoint?: string;
|
|
78
78
|
/**
|
|
79
79
|
* @remarks
|
|
80
|
-
*
|
|
80
|
+
* Specifies whether public network access is enabled.
|
|
81
81
|
*
|
|
82
82
|
* @example
|
|
83
83
|
* true
|
|
@@ -85,7 +85,7 @@ export class GetKyuubiServiceResponseBodyData extends $dara.Model {
|
|
|
85
85
|
publicEndpointEnabled?: boolean;
|
|
86
86
|
/**
|
|
87
87
|
* @remarks
|
|
88
|
-
* The name
|
|
88
|
+
* The queue name.
|
|
89
89
|
*
|
|
90
90
|
* @example
|
|
91
91
|
* dev_queue
|
|
@@ -93,7 +93,7 @@ export class GetKyuubiServiceResponseBodyData extends $dara.Model {
|
|
|
93
93
|
queue?: string;
|
|
94
94
|
/**
|
|
95
95
|
* @remarks
|
|
96
|
-
* The Spark engine version.
|
|
96
|
+
* The Spark DPI engine version.
|
|
97
97
|
*
|
|
98
98
|
* @example
|
|
99
99
|
* esr-4.6.0 (Spark 3.5.2, Scala 2.12)
|
|
@@ -101,7 +101,7 @@ export class GetKyuubiServiceResponseBodyData extends $dara.Model {
|
|
|
101
101
|
releaseVersion?: string;
|
|
102
102
|
/**
|
|
103
103
|
* @remarks
|
|
104
|
-
* The number of high
|
|
104
|
+
* The number of replicas enabled for high availability.
|
|
105
105
|
*
|
|
106
106
|
* @example
|
|
107
107
|
* 0
|
|
@@ -117,7 +117,7 @@ export class GetKyuubiServiceResponseBodyData extends $dara.Model {
|
|
|
117
117
|
sparkConfigs?: string;
|
|
118
118
|
/**
|
|
119
119
|
* @remarks
|
|
120
|
-
* The
|
|
120
|
+
* The start time. The value is a UNIX timestamp in milliseconds.
|
|
121
121
|
*
|
|
122
122
|
* @example
|
|
123
123
|
* 1749456094000
|
|
@@ -125,7 +125,7 @@ export class GetKyuubiServiceResponseBodyData extends $dara.Model {
|
|
|
125
125
|
startTime?: string;
|
|
126
126
|
/**
|
|
127
127
|
* @remarks
|
|
128
|
-
* The
|
|
128
|
+
* The Kyuubi service status.
|
|
129
129
|
*
|
|
130
130
|
* @example
|
|
131
131
|
* RUNNING
|
|
@@ -185,7 +185,7 @@ export class GetKyuubiServiceResponseBodyData extends $dara.Model {
|
|
|
185
185
|
export class GetKyuubiServiceResponseBody extends $dara.Model {
|
|
186
186
|
/**
|
|
187
187
|
* @remarks
|
|
188
|
-
* The returned
|
|
188
|
+
* The returned result.
|
|
189
189
|
*/
|
|
190
190
|
data?: GetKyuubiServiceResponseBodyData;
|
|
191
191
|
/**
|