@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
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class UpdateProcessDefinitionWithScheduleResponseBodyData extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The email address for
|
|
8
|
+
* The email address for alert notifications.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* foo_bar@spark.alert.invalid.com
|
|
@@ -29,7 +29,7 @@ export class UpdateProcessDefinitionWithScheduleResponseBodyData extends $dara.M
|
|
|
29
29
|
code?: string;
|
|
30
30
|
/**
|
|
31
31
|
* @remarks
|
|
32
|
-
* The time
|
|
32
|
+
* The creation time of the workflow definition. The time is in UTC and follows the ISO 8601 standard.
|
|
33
33
|
*
|
|
34
34
|
* @example
|
|
35
35
|
* 2024-09-05T02:03:19Z
|
|
@@ -45,7 +45,7 @@ export class UpdateProcessDefinitionWithScheduleResponseBodyData extends $dara.M
|
|
|
45
45
|
crontab?: string;
|
|
46
46
|
/**
|
|
47
47
|
* @remarks
|
|
48
|
-
* The
|
|
48
|
+
* The node definition description.
|
|
49
49
|
*
|
|
50
50
|
* @example
|
|
51
51
|
* 1
|
|
@@ -53,7 +53,7 @@ export class UpdateProcessDefinitionWithScheduleResponseBodyData extends $dara.M
|
|
|
53
53
|
description?: string;
|
|
54
54
|
/**
|
|
55
55
|
* @remarks
|
|
56
|
-
* The end time of the
|
|
56
|
+
* The end time of the task time range. The value is a UNIX timestamp in milliseconds.
|
|
57
57
|
*
|
|
58
58
|
* @example
|
|
59
59
|
* 1710432000000
|
|
@@ -93,7 +93,7 @@ export class UpdateProcessDefinitionWithScheduleResponseBodyData extends $dara.M
|
|
|
93
93
|
projectName?: string;
|
|
94
94
|
/**
|
|
95
95
|
* @remarks
|
|
96
|
-
* The
|
|
96
|
+
* The online status of the workflow.
|
|
97
97
|
*
|
|
98
98
|
* @example
|
|
99
99
|
* ONLINE
|
|
@@ -101,7 +101,7 @@ export class UpdateProcessDefinitionWithScheduleResponseBodyData extends $dara.M
|
|
|
101
101
|
releaseState?: string;
|
|
102
102
|
/**
|
|
103
103
|
* @remarks
|
|
104
|
-
* The start time of the
|
|
104
|
+
* The start time of the scheduling.
|
|
105
105
|
*
|
|
106
106
|
* @example
|
|
107
107
|
* 0
|
|
@@ -117,7 +117,7 @@ export class UpdateProcessDefinitionWithScheduleResponseBodyData extends $dara.M
|
|
|
117
117
|
timezoneId?: string;
|
|
118
118
|
/**
|
|
119
119
|
* @remarks
|
|
120
|
-
* The time
|
|
120
|
+
* The update time of the workflow definition. The time is in UTC and follows the ISO 8601 standard.
|
|
121
121
|
*
|
|
122
122
|
* @example
|
|
123
123
|
* 2024-03-05T06:24:27Z
|
|
@@ -125,7 +125,7 @@ export class UpdateProcessDefinitionWithScheduleResponseBodyData extends $dara.M
|
|
|
125
125
|
updateTime?: string;
|
|
126
126
|
/**
|
|
127
127
|
* @remarks
|
|
128
|
-
* The ID of the user
|
|
128
|
+
* The ID of the scheduling user.
|
|
129
129
|
*
|
|
130
130
|
* @example
|
|
131
131
|
* 113*********
|
|
@@ -133,7 +133,7 @@ export class UpdateProcessDefinitionWithScheduleResponseBodyData extends $dara.M
|
|
|
133
133
|
userId?: string;
|
|
134
134
|
/**
|
|
135
135
|
* @remarks
|
|
136
|
-
* The name of the user
|
|
136
|
+
* The name of the scheduling user.
|
|
137
137
|
*
|
|
138
138
|
* @example
|
|
139
139
|
* w-********
|
|
@@ -149,7 +149,7 @@ export class UpdateProcessDefinitionWithScheduleResponseBodyData extends $dara.M
|
|
|
149
149
|
version?: number;
|
|
150
150
|
/**
|
|
151
151
|
* @remarks
|
|
152
|
-
* The hash code
|
|
152
|
+
* The version hash code.
|
|
153
153
|
*
|
|
154
154
|
* @example
|
|
155
155
|
* dwerf*********
|
|
@@ -215,7 +215,7 @@ export class UpdateProcessDefinitionWithScheduleResponseBodyData extends $dara.M
|
|
|
215
215
|
export class UpdateProcessDefinitionWithScheduleResponseBody extends $dara.Model {
|
|
216
216
|
/**
|
|
217
217
|
* @remarks
|
|
218
|
-
* The return code from the backend
|
|
218
|
+
* The return code from the API backend.
|
|
219
219
|
*
|
|
220
220
|
* @example
|
|
221
221
|
* 1400009
|
|
@@ -228,7 +228,7 @@ export class UpdateProcessDefinitionWithScheduleResponseBody extends $dara.Model
|
|
|
228
228
|
data?: UpdateProcessDefinitionWithScheduleResponseBodyData;
|
|
229
229
|
/**
|
|
230
230
|
* @remarks
|
|
231
|
-
* The number of
|
|
231
|
+
* The number of failures.
|
|
232
232
|
*
|
|
233
233
|
* @example
|
|
234
234
|
* false
|
|
@@ -244,7 +244,7 @@ export class UpdateProcessDefinitionWithScheduleResponseBody extends $dara.Model
|
|
|
244
244
|
httpStatusCode?: number;
|
|
245
245
|
/**
|
|
246
246
|
* @remarks
|
|
247
|
-
* The detailed description
|
|
247
|
+
* The detailed description corresponding to the request code.
|
|
248
248
|
*
|
|
249
249
|
* @example
|
|
250
250
|
* No permission for resource action
|
|
@@ -252,7 +252,7 @@ export class UpdateProcessDefinitionWithScheduleResponseBody extends $dara.Model
|
|
|
252
252
|
msg?: string;
|
|
253
253
|
/**
|
|
254
254
|
* @remarks
|
|
255
|
-
*
|
|
255
|
+
* Id of the request
|
|
256
256
|
*
|
|
257
257
|
* @example
|
|
258
258
|
* DD6B1B2A-5837-5237-ABE4-FF0C8944****
|
|
@@ -260,7 +260,7 @@ export class UpdateProcessDefinitionWithScheduleResponseBody extends $dara.Model
|
|
|
260
260
|
requestId?: string;
|
|
261
261
|
/**
|
|
262
262
|
* @remarks
|
|
263
|
-
* Indicates whether the request
|
|
263
|
+
* Indicates whether the request is successful.
|
|
264
264
|
*
|
|
265
265
|
* @example
|
|
266
266
|
* true
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class UpdateProcessDefinitionWithScheduleShrinkRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The email address
|
|
8
|
+
* The alert email address.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* foo_bar@spark.alert.invalid.com
|
|
@@ -68,7 +68,7 @@ export class UpdateProcessDefinitionWithScheduleShrinkRequest extends $dara.Mode
|
|
|
68
68
|
regionId?: string;
|
|
69
69
|
/**
|
|
70
70
|
* @remarks
|
|
71
|
-
* The
|
|
71
|
+
* The online status of the workflow.
|
|
72
72
|
*
|
|
73
73
|
* @example
|
|
74
74
|
* ONLINE
|
|
@@ -92,7 +92,7 @@ export class UpdateProcessDefinitionWithScheduleShrinkRequest extends $dara.Mode
|
|
|
92
92
|
retryTimes?: number;
|
|
93
93
|
/**
|
|
94
94
|
* @remarks
|
|
95
|
-
* The user
|
|
95
|
+
* The execution user.
|
|
96
96
|
*
|
|
97
97
|
* @example
|
|
98
98
|
* 113***************
|
|
@@ -100,7 +100,7 @@ export class UpdateProcessDefinitionWithScheduleShrinkRequest extends $dara.Mode
|
|
|
100
100
|
runAs?: string;
|
|
101
101
|
/**
|
|
102
102
|
* @remarks
|
|
103
|
-
* The scheduling
|
|
103
|
+
* The scheduling structure.
|
|
104
104
|
*/
|
|
105
105
|
scheduleShrink?: string;
|
|
106
106
|
/**
|
|
@@ -110,14 +110,14 @@ export class UpdateProcessDefinitionWithScheduleShrinkRequest extends $dara.Mode
|
|
|
110
110
|
tagsShrink?: string;
|
|
111
111
|
/**
|
|
112
112
|
* @remarks
|
|
113
|
-
*
|
|
113
|
+
* The JSON array of node definitions, which contains the description information of all nodes in the workflow.
|
|
114
114
|
*
|
|
115
115
|
* This parameter is required.
|
|
116
116
|
*/
|
|
117
117
|
taskDefinitionJsonShrink?: string;
|
|
118
118
|
/**
|
|
119
119
|
* @remarks
|
|
120
|
-
* The
|
|
120
|
+
* The concurrency of workflow node execution.
|
|
121
121
|
*
|
|
122
122
|
* @example
|
|
123
123
|
* 1
|
|
@@ -125,14 +125,14 @@ export class UpdateProcessDefinitionWithScheduleShrinkRequest extends $dara.Mode
|
|
|
125
125
|
taskParallelism?: number;
|
|
126
126
|
/**
|
|
127
127
|
* @remarks
|
|
128
|
-
*
|
|
128
|
+
* The JSON array of node dependencies, which contains the dependencies among all nodes in the workflow. preTaskCode is the upstream node ID, and postTaskCode is the downstream node ID. Each node must have a unique ID. If a node does not have an upstream node, you must add a dependency with preTaskCode set to 0.
|
|
129
129
|
*
|
|
130
130
|
* This parameter is required.
|
|
131
131
|
*/
|
|
132
132
|
taskRelationJsonShrink?: string;
|
|
133
133
|
/**
|
|
134
134
|
* @remarks
|
|
135
|
-
* The default timeout
|
|
135
|
+
* The default timeout for workflow execution.
|
|
136
136
|
*
|
|
137
137
|
* @example
|
|
138
138
|
* 300
|
|
@@ -71,7 +71,7 @@ export class UpdateRayClusterRequestHeadSpec extends $dara.Model {
|
|
|
71
71
|
displayReleaseVersion?: string;
|
|
72
72
|
/**
|
|
73
73
|
* @remarks
|
|
74
|
-
* Specifies whether to enable
|
|
74
|
+
* Specifies whether to enable auto scaling.
|
|
75
75
|
*
|
|
76
76
|
* @example
|
|
77
77
|
* false
|
|
@@ -87,12 +87,12 @@ export class UpdateRayClusterRequestHeadSpec extends $dara.Model {
|
|
|
87
87
|
env?: string;
|
|
88
88
|
/**
|
|
89
89
|
* @remarks
|
|
90
|
-
* The GCS
|
|
90
|
+
* The GCS fault tolerance configuration.
|
|
91
91
|
*/
|
|
92
92
|
gftConfig?: UpdateRayClusterRequestHeadSpecGftConfig;
|
|
93
93
|
/**
|
|
94
94
|
* @remarks
|
|
95
|
-
* Specifies whether to enable GCS
|
|
95
|
+
* Specifies whether to enable GCS fault tolerance.
|
|
96
96
|
*
|
|
97
97
|
* **if can be null:**
|
|
98
98
|
* true
|
|
@@ -108,7 +108,7 @@ export class UpdateRayClusterRequestHeadSpec extends $dara.Model {
|
|
|
108
108
|
gpuSpec?: string;
|
|
109
109
|
/**
|
|
110
110
|
* @remarks
|
|
111
|
-
* The idle timeout period
|
|
111
|
+
* The idle timeout period for workers after auto scaling is enabled.
|
|
112
112
|
*
|
|
113
113
|
* @example
|
|
114
114
|
* 60
|
|
@@ -241,7 +241,7 @@ export class UpdateRayClusterRequestWorkerSpec extends $dara.Model {
|
|
|
241
241
|
memory?: string;
|
|
242
242
|
/**
|
|
243
243
|
* @remarks
|
|
244
|
-
* The minimum number of workers. Minimum value: 1. The value must be less than or equal to maxReplica.
|
|
244
|
+
* The minimum number of workers. Minimum value: 1. The value must be less than or equal to the value of maxReplica.
|
|
245
245
|
*
|
|
246
246
|
* @example
|
|
247
247
|
* 1
|
|
@@ -349,12 +349,12 @@ export class UpdateRayClusterRequest extends $dara.Model {
|
|
|
349
349
|
extraParam?: string;
|
|
350
350
|
/**
|
|
351
351
|
* @remarks
|
|
352
|
-
* The
|
|
352
|
+
* The head node information for the Ray cluster.
|
|
353
353
|
*/
|
|
354
354
|
headSpec?: UpdateRayClusterRequestHeadSpec;
|
|
355
355
|
/**
|
|
356
356
|
* @remarks
|
|
357
|
-
* The Ray cluster
|
|
357
|
+
* The name of the Ray cluster. The name must be 1 to 64 characters in length.
|
|
358
358
|
*
|
|
359
359
|
* @example
|
|
360
360
|
* myRayCluster
|
|
@@ -362,7 +362,7 @@ export class UpdateRayClusterRequest extends $dara.Model {
|
|
|
362
362
|
name?: string;
|
|
363
363
|
/**
|
|
364
364
|
* @remarks
|
|
365
|
-
* The network
|
|
365
|
+
* The network connection name.
|
|
366
366
|
*
|
|
367
367
|
* @example
|
|
368
368
|
* vpc
|
|
@@ -370,12 +370,12 @@ export class UpdateRayClusterRequest extends $dara.Model {
|
|
|
370
370
|
networkServiceName?: string;
|
|
371
371
|
/**
|
|
372
372
|
* @remarks
|
|
373
|
-
* The list of managed
|
|
373
|
+
* The list of managed directory IDs to mount.
|
|
374
374
|
*/
|
|
375
375
|
volumeIds?: string[];
|
|
376
376
|
/**
|
|
377
377
|
* @remarks
|
|
378
|
-
* The
|
|
378
|
+
* The worker node information for the Ray cluster. A maximum of 50 worker groups are supported.
|
|
379
379
|
*/
|
|
380
380
|
workerSpec?: UpdateRayClusterRequestWorkerSpec[];
|
|
381
381
|
static names(): { [key: string]: string } {
|
|
@@ -3,24 +3,52 @@ import * as $dara from '@darabonba/typescript';
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
export class UpdateWorkspaceRequestGpuSubscription extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* Specifies whether to enable auto-renewal.
|
|
9
|
+
*/
|
|
6
10
|
autoRenew?: boolean;
|
|
11
|
+
/**
|
|
12
|
+
* @remarks
|
|
13
|
+
* The number of subscription periods.
|
|
14
|
+
*/
|
|
7
15
|
duration?: number;
|
|
8
16
|
/**
|
|
17
|
+
* @remarks
|
|
18
|
+
* The number of GPU machines.
|
|
19
|
+
*
|
|
9
20
|
* @example
|
|
10
21
|
* 8
|
|
11
22
|
*/
|
|
12
23
|
gpuMachineNum?: number;
|
|
24
|
+
/**
|
|
25
|
+
* @remarks
|
|
26
|
+
* The ID of the GPU quota instance to be upgraded. This parameter is required when the operation parameter is set to UPGRADE.
|
|
27
|
+
*/
|
|
13
28
|
instanceId?: string;
|
|
14
29
|
/**
|
|
30
|
+
* @remarks
|
|
31
|
+
* The GPU instance type.
|
|
32
|
+
*
|
|
15
33
|
* @example
|
|
16
34
|
* ecs.gn7i-c8g1.2xlarge
|
|
17
35
|
*/
|
|
18
36
|
instanceTypeId?: string;
|
|
19
37
|
/**
|
|
38
|
+
* @remarks
|
|
39
|
+
* The operation type. Valid values: BUY and UPGRADE. BUY indicates a new purchase, and UPGRADE indicates an upgrade. If you set this parameter to UPGRADE, you must specify the orderId parameter. Default value: BUY.
|
|
40
|
+
*
|
|
20
41
|
* @example
|
|
21
42
|
* BUY
|
|
22
43
|
*/
|
|
23
44
|
operation?: string;
|
|
45
|
+
/**
|
|
46
|
+
* @remarks
|
|
47
|
+
* The subscription period unit.
|
|
48
|
+
*
|
|
49
|
+
* @example
|
|
50
|
+
* MONTH
|
|
51
|
+
*/
|
|
24
52
|
paymentDurationUnit?: string;
|
|
25
53
|
static names(): { [key: string]: string } {
|
|
26
54
|
return {
|
|
@@ -58,7 +86,7 @@ export class UpdateWorkspaceRequestGpuSubscription extends $dara.Model {
|
|
|
58
86
|
export class UpdateWorkspaceRequestSubscription extends $dara.Model {
|
|
59
87
|
/**
|
|
60
88
|
* @remarks
|
|
61
|
-
* Specifies whether to enable auto-renewal. This parameter is required for the
|
|
89
|
+
* Specifies whether to enable auto-renewal. This parameter is required for the subscription billing method.
|
|
62
90
|
*
|
|
63
91
|
* @example
|
|
64
92
|
* true
|
|
@@ -66,7 +94,7 @@ export class UpdateWorkspaceRequestSubscription extends $dara.Model {
|
|
|
66
94
|
autoRenew?: string;
|
|
67
95
|
/**
|
|
68
96
|
* @remarks
|
|
69
|
-
* The auto-renewal
|
|
97
|
+
* The auto-renewal period. This parameter is required for the subscription billing method.
|
|
70
98
|
*
|
|
71
99
|
* @example
|
|
72
100
|
* 1
|
|
@@ -74,7 +102,7 @@ export class UpdateWorkspaceRequestSubscription extends $dara.Model {
|
|
|
74
102
|
autoRenewPeriod?: string;
|
|
75
103
|
/**
|
|
76
104
|
* @remarks
|
|
77
|
-
* The auto-renewal
|
|
105
|
+
* The auto-renewal cycle. This parameter is required for the subscription billing method.
|
|
78
106
|
*
|
|
79
107
|
* @example
|
|
80
108
|
* MONTH
|
|
@@ -82,7 +110,7 @@ export class UpdateWorkspaceRequestSubscription extends $dara.Model {
|
|
|
82
110
|
autoRenewPeriodUnit?: string;
|
|
83
111
|
/**
|
|
84
112
|
* @remarks
|
|
85
|
-
* The idempotency
|
|
113
|
+
* The client token for idempotency verification.
|
|
86
114
|
*
|
|
87
115
|
* @example
|
|
88
116
|
* my-token-asxkxxxxxxx
|
|
@@ -90,7 +118,7 @@ export class UpdateWorkspaceRequestSubscription extends $dara.Model {
|
|
|
90
118
|
clientToken?: string;
|
|
91
119
|
/**
|
|
92
120
|
* @remarks
|
|
93
|
-
* The number of subscription periods. This parameter is required for the
|
|
121
|
+
* The number of subscription periods. This parameter is required for the subscription billing method.
|
|
94
122
|
*
|
|
95
123
|
* @example
|
|
96
124
|
* 1799
|
|
@@ -106,7 +134,7 @@ export class UpdateWorkspaceRequestSubscription extends $dara.Model {
|
|
|
106
134
|
paymentDurationUnit?: string;
|
|
107
135
|
/**
|
|
108
136
|
* @remarks
|
|
109
|
-
* The list of running queues to be
|
|
137
|
+
* The list of running queues to be switched.
|
|
110
138
|
*/
|
|
111
139
|
queue?: string[];
|
|
112
140
|
static names(): { [key: string]: string } {
|
|
@@ -148,7 +176,7 @@ export class UpdateWorkspaceRequestSubscription extends $dara.Model {
|
|
|
148
176
|
export class UpdateWorkspaceRequest extends $dara.Model {
|
|
149
177
|
/**
|
|
150
178
|
* @remarks
|
|
151
|
-
* The
|
|
179
|
+
* The resource limit of the workspace.
|
|
152
180
|
*
|
|
153
181
|
* @example
|
|
154
182
|
* 5000
|
|
@@ -156,7 +184,7 @@ export class UpdateWorkspaceRequest extends $dara.Model {
|
|
|
156
184
|
cu?: number;
|
|
157
185
|
/**
|
|
158
186
|
* @remarks
|
|
159
|
-
* The number of
|
|
187
|
+
* The number of GPUs.
|
|
160
188
|
*
|
|
161
189
|
* @example
|
|
162
190
|
* 100
|
|
@@ -167,7 +195,15 @@ export class UpdateWorkspaceRequest extends $dara.Model {
|
|
|
167
195
|
* The GPU instance type.
|
|
168
196
|
*/
|
|
169
197
|
gpuSpec?: string[];
|
|
198
|
+
/**
|
|
199
|
+
* @remarks
|
|
200
|
+
* The GPU subscription information.
|
|
201
|
+
*/
|
|
170
202
|
gpuSubscription?: UpdateWorkspaceRequestGpuSubscription;
|
|
203
|
+
/**
|
|
204
|
+
* @remarks
|
|
205
|
+
* The workspace IP address whitelist.
|
|
206
|
+
*/
|
|
171
207
|
ipWhiteList?: string[];
|
|
172
208
|
/**
|
|
173
209
|
* @remarks
|
|
@@ -179,7 +215,7 @@ export class UpdateWorkspaceRequest extends $dara.Model {
|
|
|
179
215
|
resourceGroupId?: string;
|
|
180
216
|
/**
|
|
181
217
|
* @remarks
|
|
182
|
-
* The information
|
|
218
|
+
* The information about switching the billing method from pay-as-you-go to subscription.
|
|
183
219
|
*/
|
|
184
220
|
subscription?: UpdateWorkspaceRequestSubscription;
|
|
185
221
|
/**
|
package/src/models/model.ts
CHANGED
|
@@ -38,11 +38,13 @@ export { CreateSessionClusterRequestAutoStopConfiguration } from './CreateSessio
|
|
|
38
38
|
export { CreateSqlStatementResponseBodyData } from './CreateSqlStatementResponseBody';
|
|
39
39
|
export { CreateWorkspaceRequestResourceSpec } from './CreateWorkspaceRequest';
|
|
40
40
|
export { CreateWorkspaceRequestTag } from './CreateWorkspaceRequest';
|
|
41
|
+
export { CreateWorkspaceQueueRequestResourceSpec } from './CreateWorkspaceQueueRequest';
|
|
41
42
|
export { EditWorkspaceQueueRequestResourceSpec } from './EditWorkspaceQueueRequest';
|
|
42
43
|
export { GetCuHoursResponseBodyData } from './GetCuHoursResponseBody';
|
|
43
44
|
export { GetDoctorApplicationResponseBodyData } from './GetDoctorApplicationResponseBody';
|
|
44
45
|
export { GetJobRunResponseBodyJobRunConfigurationOverrides } from './GetJobRunResponseBody';
|
|
45
46
|
export { GetJobRunResponseBodyJobRunStateChangeReason } from './GetJobRunResponseBody';
|
|
47
|
+
export { GetJobRunResponseBodyJobRunTokenDetails } from './GetJobRunResponseBody';
|
|
46
48
|
export { GetJobRunResponseBodyJobRun } from './GetJobRunResponseBody';
|
|
47
49
|
export { GetKyuubiServiceResponseBodyData } from './GetKyuubiServiceResponseBody';
|
|
48
50
|
export { GetKyuubiTokenResponseBodyDataAutoExpireConfiguration } from './GetKyuubiTokenResponseBody';
|
|
@@ -69,6 +71,11 @@ export { GetSessionClusterResponseBodySessionClusterStateChangeReason } from './
|
|
|
69
71
|
export { GetSessionClusterResponseBodySessionCluster } from './GetSessionClusterResponseBody';
|
|
70
72
|
export { GetSqlStatementResponseBodyDataSqlOutputs } from './GetSqlStatementResponseBody';
|
|
71
73
|
export { GetSqlStatementResponseBodyData } from './GetSqlStatementResponseBody';
|
|
74
|
+
export { GetWorkspaceResponseBodyWorkspacePrePaidQuota } from './GetWorkspaceResponseBody';
|
|
75
|
+
export { GetWorkspaceResponseBodyWorkspacePrePaidQuotaGpu } from './GetWorkspaceResponseBody';
|
|
76
|
+
export { GetWorkspaceResponseBodyWorkspaceStateChangeReason } from './GetWorkspaceResponseBody';
|
|
77
|
+
export { GetWorkspaceResponseBodyWorkspaceTags } from './GetWorkspaceResponseBody';
|
|
78
|
+
export { GetWorkspaceResponseBodyWorkspace } from './GetWorkspaceResponseBody';
|
|
72
79
|
export { ListCatalogsResponseBodyCatalogs } from './ListCatalogsResponseBody';
|
|
73
80
|
export { ListExecutorLogsResponseBodyLogs } from './ListExecutorLogsResponseBody';
|
|
74
81
|
export { ListJobExecutorsResponseBodyExexutors } from './ListJobExecutorsResponseBody';
|
|
@@ -100,6 +107,8 @@ export { ListNetworkServicesResponseBodyNetworkServicesStateChangeReason } from
|
|
|
100
107
|
export { ListNetworkServicesResponseBodyNetworkServices } from './ListNetworkServicesResponseBody';
|
|
101
108
|
export { ListNetworkServicesResponseBodyQueuesStateChangeReason } from './ListNetworkServicesResponseBody';
|
|
102
109
|
export { ListNetworkServicesResponseBodyQueues } from './ListNetworkServicesResponseBody';
|
|
110
|
+
export { ListQueueTopJobsResponseBodyQueueTopJobsJobs } from './ListQueueTopJobsResponseBody';
|
|
111
|
+
export { ListQueueTopJobsResponseBodyQueueTopJobs } from './ListQueueTopJobsResponseBody';
|
|
103
112
|
export { ListRayClusterResponseBodyRayClustersHeadSpec } from './ListRayClusterResponseBody';
|
|
104
113
|
export { ListRayClusterResponseBodyRayClustersWorkerSpec } from './ListRayClusterResponseBody';
|
|
105
114
|
export { ListRayClusterResponseBodyRayClusters } from './ListRayClusterResponseBody';
|
|
@@ -215,6 +224,9 @@ export { CreateSqlStatementResponse } from './CreateSqlStatementResponse';
|
|
|
215
224
|
export { CreateWorkspaceRequest } from './CreateWorkspaceRequest';
|
|
216
225
|
export { CreateWorkspaceResponseBody } from './CreateWorkspaceResponseBody';
|
|
217
226
|
export { CreateWorkspaceResponse } from './CreateWorkspaceResponse';
|
|
227
|
+
export { CreateWorkspaceQueueRequest } from './CreateWorkspaceQueueRequest';
|
|
228
|
+
export { CreateWorkspaceQueueResponseBody } from './CreateWorkspaceQueueResponseBody';
|
|
229
|
+
export { CreateWorkspaceQueueResponse } from './CreateWorkspaceQueueResponse';
|
|
218
230
|
export { DeleteKyuubiServiceResponseBody } from './DeleteKyuubiServiceResponseBody';
|
|
219
231
|
export { DeleteKyuubiServiceResponse } from './DeleteKyuubiServiceResponse';
|
|
220
232
|
export { DeleteKyuubiTokenRequest } from './DeleteKyuubiTokenRequest';
|
|
@@ -283,6 +295,9 @@ export { GetSqlStatementResponse } from './GetSqlStatementResponse';
|
|
|
283
295
|
export { GetTemplateRequest } from './GetTemplateRequest';
|
|
284
296
|
export { GetTemplateResponseBody } from './GetTemplateResponseBody';
|
|
285
297
|
export { GetTemplateResponse } from './GetTemplateResponse';
|
|
298
|
+
export { GetWorkspaceRequest } from './GetWorkspaceRequest';
|
|
299
|
+
export { GetWorkspaceResponseBody } from './GetWorkspaceResponseBody';
|
|
300
|
+
export { GetWorkspaceResponse } from './GetWorkspaceResponse';
|
|
286
301
|
export { GrantRoleToUsersRequest } from './GrantRoleToUsersRequest';
|
|
287
302
|
export { GrantRoleToUsersResponseBody } from './GrantRoleToUsersResponseBody';
|
|
288
303
|
export { GrantRoleToUsersResponse } from './GrantRoleToUsersResponse';
|
|
@@ -327,6 +342,9 @@ export { ListMembersResponse } from './ListMembersResponse';
|
|
|
327
342
|
export { ListNetworkServicesRequest } from './ListNetworkServicesRequest';
|
|
328
343
|
export { ListNetworkServicesResponseBody } from './ListNetworkServicesResponseBody';
|
|
329
344
|
export { ListNetworkServicesResponse } from './ListNetworkServicesResponse';
|
|
345
|
+
export { ListQueueTopJobsRequest } from './ListQueueTopJobsRequest';
|
|
346
|
+
export { ListQueueTopJobsResponseBody } from './ListQueueTopJobsResponseBody';
|
|
347
|
+
export { ListQueueTopJobsResponse } from './ListQueueTopJobsResponse';
|
|
330
348
|
export { ListRayClusterRequest } from './ListRayClusterRequest';
|
|
331
349
|
export { ListRayClusterResponseBody } from './ListRayClusterResponseBody';
|
|
332
350
|
export { ListRayClusterResponse } from './ListRayClusterResponse';
|