@alicloud/emr-serverless-spark20230808 2.1.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.
Files changed (168) hide show
  1. package/dist/client.d.ts +84 -48
  2. package/dist/client.js +135 -48
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CreateProcessDefinitionWithScheduleRequest.d.ts +37 -37
  5. package/dist/models/CreateProcessDefinitionWithScheduleResponseBody.d.ts +6 -6
  6. package/dist/models/CreateProcessDefinitionWithScheduleShrinkRequest.d.ts +10 -10
  7. package/dist/models/CreateSessionClusterRequest.d.ts +35 -29
  8. package/dist/models/CreateSessionClusterRequest.js.map +1 -1
  9. package/dist/models/CreateSqlStatementRequest.d.ts +12 -5
  10. package/dist/models/CreateSqlStatementRequest.js.map +1 -1
  11. package/dist/models/CreateSqlStatementResponseBody.d.ts +1 -1
  12. package/dist/models/GetAicenterStateResponseBody.d.ts +4 -7
  13. package/dist/models/GetAicenterStateResponseBody.js.map +1 -1
  14. package/dist/models/GetDoctorApplicationRequest.d.ts +2 -2
  15. package/dist/models/GetDoctorApplicationResponseBody.d.ts +2 -5
  16. package/dist/models/GetDoctorApplicationResponseBody.js.map +1 -1
  17. package/dist/models/GetJobRunResponseBody.d.ts +77 -12
  18. package/dist/models/GetJobRunResponseBody.js +35 -1
  19. package/dist/models/GetJobRunResponseBody.js.map +1 -1
  20. package/dist/models/GetKyuubiServiceResponseBody.d.ts +14 -14
  21. package/dist/models/GetKyuubiTokenResponseBody.d.ts +10 -10
  22. package/dist/models/GetLivyComputeResponseBody.d.ts +21 -20
  23. package/dist/models/GetLivyComputeResponseBody.js.map +1 -1
  24. package/dist/models/GetLivyComputeTokenRequest.d.ts +1 -1
  25. package/dist/models/GetLivyComputeTokenResponseBody.d.ts +13 -15
  26. package/dist/models/GetLivyComputeTokenResponseBody.js.map +1 -1
  27. package/dist/models/GetRayClusterResponseBody.d.ts +31 -31
  28. package/dist/models/GetSessionClusterResponseBody.d.ts +37 -38
  29. package/dist/models/GetSessionClusterResponseBody.js.map +1 -1
  30. package/dist/models/GetWorkspaceRequest.d.ts +21 -0
  31. package/dist/models/GetWorkspaceRequest.js +58 -0
  32. package/dist/models/GetWorkspaceRequest.js.map +1 -0
  33. package/dist/models/GetWorkspaceResponse.d.ts +19 -0
  34. package/dist/models/GetWorkspaceResponse.js +69 -0
  35. package/dist/models/GetWorkspaceResponse.js.map +1 -0
  36. package/dist/models/GetWorkspaceResponseBody.d.ts +519 -0
  37. package/dist/models/GetWorkspaceResponseBody.js +278 -0
  38. package/dist/models/GetWorkspaceResponseBody.js.map +1 -0
  39. package/dist/models/ListExecutorLogsRequest.d.ts +4 -4
  40. package/dist/models/ListExecutorLogsResponseBody.d.ts +8 -8
  41. package/dist/models/ListJobRunsRequest.d.ts +19 -15
  42. package/dist/models/ListJobRunsRequest.js.map +1 -1
  43. package/dist/models/ListJobRunsResponseBody.d.ts +32 -22
  44. package/dist/models/ListJobRunsResponseBody.js.map +1 -1
  45. package/dist/models/ListJobRunsShrinkRequest.d.ts +15 -11
  46. package/dist/models/ListJobRunsShrinkRequest.js.map +1 -1
  47. package/dist/models/ListKyuubiServicesRequest.d.ts +1 -1
  48. package/dist/models/ListKyuubiServicesResponseBody.d.ts +15 -15
  49. package/dist/models/ListKyuubiSparkApplicationsRequest.d.ts +36 -7
  50. package/dist/models/ListKyuubiSparkApplicationsRequest.js.map +1 -1
  51. package/dist/models/ListKyuubiSparkApplicationsResponseBody.d.ts +29 -15
  52. package/dist/models/ListKyuubiSparkApplicationsResponseBody.js.map +1 -1
  53. package/dist/models/ListKyuubiSparkApplicationsShrinkRequest.d.ts +28 -5
  54. package/dist/models/ListKyuubiSparkApplicationsShrinkRequest.js.map +1 -1
  55. package/dist/models/ListKyuubiTokenResponseBody.d.ts +8 -8
  56. package/dist/models/ListLivyComputeRequest.d.ts +1 -1
  57. package/dist/models/ListLivyComputeResponseBody.d.ts +8 -8
  58. package/dist/models/ListLivyComputeSessionsRequest.d.ts +1 -1
  59. package/dist/models/ListLivyComputeSessionsResponseBody.d.ts +12 -17
  60. package/dist/models/ListLivyComputeSessionsResponseBody.js.map +1 -1
  61. package/dist/models/ListLivyComputeTokenResponseBody.d.ts +7 -7
  62. package/dist/models/ListMembersRequest.d.ts +2 -2
  63. package/dist/models/ListMembersResponseBody.d.ts +15 -13
  64. package/dist/models/ListMembersResponseBody.js.map +1 -1
  65. package/dist/models/ListQueueTopJobsRequest.d.ts +29 -0
  66. package/dist/models/ListQueueTopJobsRequest.js +60 -0
  67. package/dist/models/ListQueueTopJobsRequest.js.map +1 -0
  68. package/dist/models/ListQueueTopJobsResponse.d.ts +19 -0
  69. package/dist/models/ListQueueTopJobsResponse.js +69 -0
  70. package/dist/models/ListQueueTopJobsResponse.js.map +1 -0
  71. package/dist/models/ListQueueTopJobsResponseBody.d.ts +127 -0
  72. package/dist/models/ListQueueTopJobsResponseBody.js +120 -0
  73. package/dist/models/ListQueueTopJobsResponseBody.js.map +1 -0
  74. package/dist/models/ListRayClusterRequest.d.ts +1 -1
  75. package/dist/models/ListRayClusterResponseBody.d.ts +29 -28
  76. package/dist/models/ListRayClusterResponseBody.js.map +1 -1
  77. package/dist/models/ListRayJobRequest.d.ts +7 -7
  78. package/dist/models/ListRayJobResponseBody.d.ts +23 -23
  79. package/dist/models/ListRayJobShrinkRequest.d.ts +5 -5
  80. package/dist/models/ListSessionClustersRequest.d.ts +3 -3
  81. package/dist/models/ListSessionClustersResponseBody.d.ts +37 -31
  82. package/dist/models/ListSessionClustersResponseBody.js.map +1 -1
  83. package/dist/models/ListWorkspaceQueuesResponseBody.d.ts +29 -15
  84. package/dist/models/ListWorkspaceQueuesResponseBody.js.map +1 -1
  85. package/dist/models/ListWorkspacesRequest.d.ts +23 -5
  86. package/dist/models/ListWorkspacesRequest.js.map +1 -1
  87. package/dist/models/ListWorkspacesResponseBody.d.ts +117 -27
  88. package/dist/models/ListWorkspacesResponseBody.js.map +1 -1
  89. package/dist/models/ListWorkspacesShrinkRequest.d.ts +16 -4
  90. package/dist/models/ListWorkspacesShrinkRequest.js.map +1 -1
  91. package/dist/models/SubmitRayJobRequest.d.ts +21 -21
  92. package/dist/models/SubmitRayJobResponseBody.d.ts +1 -1
  93. package/dist/models/Task.d.ts +0 -183
  94. package/dist/models/Task.js.map +1 -1
  95. package/dist/models/UpdateProcessDefinitionWithScheduleRequest.d.ts +33 -33
  96. package/dist/models/UpdateProcessDefinitionWithScheduleResponseBody.d.ts +15 -15
  97. package/dist/models/UpdateProcessDefinitionWithScheduleShrinkRequest.d.ts +8 -8
  98. package/dist/models/UpdateRayClusterRequest.d.ts +10 -10
  99. package/dist/models/UpdateWorkspaceRequest.d.ts +45 -9
  100. package/dist/models/UpdateWorkspaceRequest.js.map +1 -1
  101. package/dist/models/UpdateWorkspaceResponseBody.d.ts +1 -1
  102. package/dist/models/model.d.ts +14 -0
  103. package/dist/models/model.js +40 -12
  104. package/dist/models/model.js.map +1 -1
  105. package/package.json +1 -1
  106. package/src/client.ts +142 -48
  107. package/src/models/CreateProcessDefinitionWithScheduleRequest.ts +37 -37
  108. package/src/models/CreateProcessDefinitionWithScheduleResponseBody.ts +6 -6
  109. package/src/models/CreateProcessDefinitionWithScheduleShrinkRequest.ts +10 -10
  110. package/src/models/CreateSessionClusterRequest.ts +35 -29
  111. package/src/models/CreateSqlStatementRequest.ts +12 -5
  112. package/src/models/CreateSqlStatementResponseBody.ts +1 -1
  113. package/src/models/GetAicenterStateResponseBody.ts +4 -7
  114. package/src/models/GetDoctorApplicationRequest.ts +2 -2
  115. package/src/models/GetDoctorApplicationResponseBody.ts +2 -5
  116. package/src/models/GetJobRunResponseBody.ts +102 -12
  117. package/src/models/GetKyuubiServiceResponseBody.ts +14 -14
  118. package/src/models/GetKyuubiTokenResponseBody.ts +10 -10
  119. package/src/models/GetLivyComputeResponseBody.ts +21 -20
  120. package/src/models/GetLivyComputeTokenRequest.ts +1 -1
  121. package/src/models/GetLivyComputeTokenResponseBody.ts +13 -15
  122. package/src/models/GetRayClusterResponseBody.ts +31 -31
  123. package/src/models/GetSessionClusterResponseBody.ts +37 -38
  124. package/src/models/GetWorkspaceRequest.ts +34 -0
  125. package/src/models/GetWorkspaceResponse.ts +40 -0
  126. package/src/models/GetWorkspaceResponseBody.ts +707 -0
  127. package/src/models/ListExecutorLogsRequest.ts +4 -4
  128. package/src/models/ListExecutorLogsResponseBody.ts +8 -8
  129. package/src/models/ListJobRunsRequest.ts +19 -15
  130. package/src/models/ListJobRunsResponseBody.ts +32 -22
  131. package/src/models/ListJobRunsShrinkRequest.ts +15 -11
  132. package/src/models/ListKyuubiServicesRequest.ts +1 -1
  133. package/src/models/ListKyuubiServicesResponseBody.ts +15 -15
  134. package/src/models/ListKyuubiSparkApplicationsRequest.ts +36 -7
  135. package/src/models/ListKyuubiSparkApplicationsResponseBody.ts +29 -15
  136. package/src/models/ListKyuubiSparkApplicationsShrinkRequest.ts +28 -5
  137. package/src/models/ListKyuubiTokenResponseBody.ts +8 -8
  138. package/src/models/ListLivyComputeRequest.ts +1 -1
  139. package/src/models/ListLivyComputeResponseBody.ts +8 -8
  140. package/src/models/ListLivyComputeSessionsRequest.ts +1 -1
  141. package/src/models/ListLivyComputeSessionsResponseBody.ts +12 -17
  142. package/src/models/ListLivyComputeTokenResponseBody.ts +7 -7
  143. package/src/models/ListMembersRequest.ts +2 -2
  144. package/src/models/ListMembersResponseBody.ts +15 -13
  145. package/src/models/ListQueueTopJobsRequest.ts +44 -0
  146. package/src/models/ListQueueTopJobsResponse.ts +40 -0
  147. package/src/models/ListQueueTopJobsResponseBody.ts +184 -0
  148. package/src/models/ListRayClusterRequest.ts +1 -1
  149. package/src/models/ListRayClusterResponseBody.ts +29 -28
  150. package/src/models/ListRayJobRequest.ts +7 -7
  151. package/src/models/ListRayJobResponseBody.ts +23 -23
  152. package/src/models/ListRayJobShrinkRequest.ts +5 -5
  153. package/src/models/ListSessionClustersRequest.ts +3 -3
  154. package/src/models/ListSessionClustersResponseBody.ts +37 -31
  155. package/src/models/ListWorkspaceQueuesResponseBody.ts +29 -15
  156. package/src/models/ListWorkspacesRequest.ts +23 -5
  157. package/src/models/ListWorkspacesResponseBody.ts +117 -27
  158. package/src/models/ListWorkspacesShrinkRequest.ts +16 -4
  159. package/src/models/SubmitRayJobRequest.ts +21 -21
  160. package/src/models/SubmitRayJobResponseBody.ts +1 -1
  161. package/src/models/Task.ts +0 -183
  162. package/src/models/UpdateProcessDefinitionWithScheduleRequest.ts +33 -33
  163. package/src/models/UpdateProcessDefinitionWithScheduleResponseBody.ts +15 -15
  164. package/src/models/UpdateProcessDefinitionWithScheduleShrinkRequest.ts +8 -8
  165. package/src/models/UpdateRayClusterRequest.ts +10 -10
  166. package/src/models/UpdateWorkspaceRequest.ts +45 -9
  167. package/src/models/UpdateWorkspaceResponseBody.ts +1 -1
  168. package/src/models/model.ts +14 -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 alerts.
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 when the workflow definition was created.
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 description of the workflow definition.
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 schedule.
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 release state of the workflow.
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 schedule.
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 when the workflow definition was updated.
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 who scheduled the workflow.
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 who scheduled the workflow.
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 of the version.
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 API.
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 failed operations.
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 that corresponds to the return code.
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
- * The request ID.
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 was successful.
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 for alerts.
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 release state of the workflow.
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 to run the workflow.
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 configuration.
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
- * A JSON array of task definitions. This array contains the descriptive information for all tasks in the workflow.
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 degree of concurrent execution for workflow nodes.
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
- * A JSON array that defines the dependencies between tasks in the workflow. \\`preTaskCode\\` specifies the upstream task ID, and \\`postTaskCode\\` specifies the downstream task ID. Each task must have a unique ID. For a task node without an upstream task, add a dependency and set \\`preTaskCode\\` to 0.
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 period for the workflow execution.
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 automatic scaling.
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 Fault Tolerance configuration.
90
+ * The GCS fault tolerance configuration.
91
91
  */
92
92
  gftConfig?: UpdateRayClusterRequestHeadSpecGftConfig;
93
93
  /**
94
94
  * @remarks
95
- * Specifies whether to enable GCS Fault Tolerance.
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 of workers after automatic scaling is enabled.
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 Ray cluster head node information.
352
+ * The head node information for the Ray cluster.
353
353
  */
354
354
  headSpec?: UpdateRayClusterRequestHeadSpec;
355
355
  /**
356
356
  * @remarks
357
- * The Ray cluster name. The name must be 1 to 64 characters in length.
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 connectivity name.
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 folder IDs to mount.
373
+ * The list of managed directory IDs to mount.
374
374
  */
375
375
  volumeIds?: string[];
376
376
  /**
377
377
  * @remarks
378
- * The Ray cluster worker node information. A maximum of 50 groups are supported.
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 pre-paid billing type.
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 duration. This parameter is required for the pre-paid billing type.
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 period unit. This parameter is required for the pre-paid billing type.
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 token.
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 pre-paid billing type.
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 converted.
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 upper limit of workspace resources.
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 GPU cards.
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 for converting from pay-as-you-go to subscription.
218
+ * The information about switching the billing method from pay-as-you-go to subscription.
183
219
  */
184
220
  subscription?: UpdateWorkspaceRequestSubscription;
185
221
  /**
@@ -35,7 +35,7 @@ export class UpdateWorkspaceResponseBodyData extends $dara.Model {
35
35
  export class UpdateWorkspaceResponseBody extends $dara.Model {
36
36
  /**
37
37
  * @remarks
38
- * The returned data.
38
+ * The response data.
39
39
  */
40
40
  data?: UpdateWorkspaceResponseBodyData;
41
41
  /**
@@ -44,6 +44,7 @@ export { GetCuHoursResponseBodyData } from './GetCuHoursResponseBody';
44
44
  export { GetDoctorApplicationResponseBodyData } from './GetDoctorApplicationResponseBody';
45
45
  export { GetJobRunResponseBodyJobRunConfigurationOverrides } from './GetJobRunResponseBody';
46
46
  export { GetJobRunResponseBodyJobRunStateChangeReason } from './GetJobRunResponseBody';
47
+ export { GetJobRunResponseBodyJobRunTokenDetails } from './GetJobRunResponseBody';
47
48
  export { GetJobRunResponseBodyJobRun } from './GetJobRunResponseBody';
48
49
  export { GetKyuubiServiceResponseBodyData } from './GetKyuubiServiceResponseBody';
49
50
  export { GetKyuubiTokenResponseBodyDataAutoExpireConfiguration } from './GetKyuubiTokenResponseBody';
@@ -70,6 +71,11 @@ export { GetSessionClusterResponseBodySessionClusterStateChangeReason } from './
70
71
  export { GetSessionClusterResponseBodySessionCluster } from './GetSessionClusterResponseBody';
71
72
  export { GetSqlStatementResponseBodyDataSqlOutputs } from './GetSqlStatementResponseBody';
72
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';
73
79
  export { ListCatalogsResponseBodyCatalogs } from './ListCatalogsResponseBody';
74
80
  export { ListExecutorLogsResponseBodyLogs } from './ListExecutorLogsResponseBody';
75
81
  export { ListJobExecutorsResponseBodyExexutors } from './ListJobExecutorsResponseBody';
@@ -101,6 +107,8 @@ export { ListNetworkServicesResponseBodyNetworkServicesStateChangeReason } from
101
107
  export { ListNetworkServicesResponseBodyNetworkServices } from './ListNetworkServicesResponseBody';
102
108
  export { ListNetworkServicesResponseBodyQueuesStateChangeReason } from './ListNetworkServicesResponseBody';
103
109
  export { ListNetworkServicesResponseBodyQueues } from './ListNetworkServicesResponseBody';
110
+ export { ListQueueTopJobsResponseBodyQueueTopJobsJobs } from './ListQueueTopJobsResponseBody';
111
+ export { ListQueueTopJobsResponseBodyQueueTopJobs } from './ListQueueTopJobsResponseBody';
104
112
  export { ListRayClusterResponseBodyRayClustersHeadSpec } from './ListRayClusterResponseBody';
105
113
  export { ListRayClusterResponseBodyRayClustersWorkerSpec } from './ListRayClusterResponseBody';
106
114
  export { ListRayClusterResponseBodyRayClusters } from './ListRayClusterResponseBody';
@@ -287,6 +295,9 @@ export { GetSqlStatementResponse } from './GetSqlStatementResponse';
287
295
  export { GetTemplateRequest } from './GetTemplateRequest';
288
296
  export { GetTemplateResponseBody } from './GetTemplateResponseBody';
289
297
  export { GetTemplateResponse } from './GetTemplateResponse';
298
+ export { GetWorkspaceRequest } from './GetWorkspaceRequest';
299
+ export { GetWorkspaceResponseBody } from './GetWorkspaceResponseBody';
300
+ export { GetWorkspaceResponse } from './GetWorkspaceResponse';
290
301
  export { GrantRoleToUsersRequest } from './GrantRoleToUsersRequest';
291
302
  export { GrantRoleToUsersResponseBody } from './GrantRoleToUsersResponseBody';
292
303
  export { GrantRoleToUsersResponse } from './GrantRoleToUsersResponse';
@@ -331,6 +342,9 @@ export { ListMembersResponse } from './ListMembersResponse';
331
342
  export { ListNetworkServicesRequest } from './ListNetworkServicesRequest';
332
343
  export { ListNetworkServicesResponseBody } from './ListNetworkServicesResponseBody';
333
344
  export { ListNetworkServicesResponse } from './ListNetworkServicesResponse';
345
+ export { ListQueueTopJobsRequest } from './ListQueueTopJobsRequest';
346
+ export { ListQueueTopJobsResponseBody } from './ListQueueTopJobsResponseBody';
347
+ export { ListQueueTopJobsResponse } from './ListQueueTopJobsResponse';
334
348
  export { ListRayClusterRequest } from './ListRayClusterRequest';
335
349
  export { ListRayClusterResponseBody } from './ListRayClusterResponseBody';
336
350
  export { ListRayClusterResponse } from './ListRayClusterResponse';