@alicloud/pai-dlc20201203 1.8.0 → 1.9.1

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 (195) hide show
  1. package/dist/client.d.ts +124 -46
  2. package/dist/client.js +196 -46
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/AutoscalingMetricSpec.d.ts +17 -0
  5. package/dist/models/AutoscalingMetricSpec.js +2 -0
  6. package/dist/models/AutoscalingMetricSpec.js.map +1 -1
  7. package/dist/models/CreateJobRequest.d.ts +60 -78
  8. package/dist/models/CreateJobRequest.js.map +1 -1
  9. package/dist/models/CreateJobResponseBody.d.ts +2 -2
  10. package/dist/models/CreateJobTemplateRequest.d.ts +9 -4
  11. package/dist/models/CreateJobTemplateRequest.js.map +1 -1
  12. package/dist/models/CreateJobTemplateResponseBody.d.ts +30 -2
  13. package/dist/models/CreateJobTemplateResponseBody.js.map +1 -1
  14. package/dist/models/CreateRayHistoryServerRequest.d.ts +25 -0
  15. package/dist/models/CreateRayHistoryServerRequest.js.map +1 -1
  16. package/dist/models/CreateRayHistoryServerResponseBody.d.ts +6 -0
  17. package/dist/models/CreateRayHistoryServerResponseBody.js.map +1 -1
  18. package/dist/models/CredentialConfig.d.ts +12 -0
  19. package/dist/models/CredentialConfig.js.map +1 -1
  20. package/dist/models/DataJuicerConfig.d.ts +18 -0
  21. package/dist/models/DataJuicerConfig.js.map +1 -1
  22. package/dist/models/DataSourceItem.d.ts +1 -1
  23. package/dist/models/DebuggerConfig.d.ts +1 -1
  24. package/dist/models/DeleteJobTemplateResponseBody.d.ts +4 -1
  25. package/dist/models/DeleteJobTemplateResponseBody.js.map +1 -1
  26. package/dist/models/DeleteRayHistoryServerResponseBody.d.ts +3 -0
  27. package/dist/models/DeleteRayHistoryServerResponseBody.js.map +1 -1
  28. package/dist/models/DownloadJobResult.d.ts +72 -0
  29. package/dist/models/DownloadJobResult.js.map +1 -1
  30. package/dist/models/ElasticSpotSpec.d.ts +37 -0
  31. package/dist/models/ElasticSpotSpec.js +64 -0
  32. package/dist/models/ElasticSpotSpec.js.map +1 -0
  33. package/dist/models/ExtraPodSpec.d.ts +10 -6
  34. package/dist/models/ExtraPodSpec.js.map +1 -1
  35. package/dist/models/GetDashboardRequest.d.ts +2 -7
  36. package/dist/models/GetDashboardRequest.js.map +1 -1
  37. package/dist/models/GetDashboardResponseBody.d.ts +1 -1
  38. package/dist/models/GetJobRequest.d.ts +1 -1
  39. package/dist/models/GetJobResponseBody.d.ts +188 -87
  40. package/dist/models/GetJobResponseBody.js.map +1 -1
  41. package/dist/models/GetJobTemplateRequest.d.ts +1 -1
  42. package/dist/models/GetJobTemplateResponseBody.d.ts +44 -5
  43. package/dist/models/GetJobTemplateResponseBody.js.map +1 -1
  44. package/dist/models/GetMetricsRequest.d.ts +93 -0
  45. package/dist/models/GetMetricsRequest.js +76 -0
  46. package/dist/models/GetMetricsRequest.js.map +1 -0
  47. package/dist/models/GetMetricsResponse.d.ts +19 -0
  48. package/dist/models/GetMetricsResponse.js +69 -0
  49. package/dist/models/GetMetricsResponse.js.map +1 -0
  50. package/dist/models/GetMetricsResponseBody.d.ts +69 -0
  51. package/dist/models/GetMetricsResponseBody.js +70 -0
  52. package/dist/models/GetMetricsResponseBody.js.map +1 -0
  53. package/dist/models/GetRayDashboardRequest.d.ts +2 -7
  54. package/dist/models/GetRayDashboardRequest.js.map +1 -1
  55. package/dist/models/GetRayDashboardResponseBody.d.ts +1 -1
  56. package/dist/models/GetRayHistoryServerResponseBody.d.ts +55 -1
  57. package/dist/models/GetRayHistoryServerResponseBody.js.map +1 -1
  58. package/dist/models/GetTensorboardRequest.d.ts +3 -3
  59. package/dist/models/HyperNodeSchedulingConfig.d.ts +15 -0
  60. package/dist/models/HyperNodeSchedulingConfig.js +60 -0
  61. package/dist/models/HyperNodeSchedulingConfig.js.map +1 -0
  62. package/dist/models/ImageConfig.d.ts +4 -4
  63. package/dist/models/JobItem.d.ts +69 -72
  64. package/dist/models/JobItem.js +2 -0
  65. package/dist/models/JobItem.js.map +1 -1
  66. package/dist/models/JobReplicaStatus.d.ts +31 -0
  67. package/dist/models/JobReplicaStatus.js +2 -0
  68. package/dist/models/JobReplicaStatus.js.map +1 -1
  69. package/dist/models/JobSettings.d.ts +44 -36
  70. package/dist/models/JobSettings.js +4 -0
  71. package/dist/models/JobSettings.js.map +1 -1
  72. package/dist/models/JobSpec.d.ts +35 -21
  73. package/dist/models/JobSpec.js +14 -0
  74. package/dist/models/JobSpec.js.map +1 -1
  75. package/dist/models/JobTemplateVersionDetail.d.ts +4 -4
  76. package/dist/models/ListEcsSpecsRequest.d.ts +1 -1
  77. package/dist/models/ListJobTemplatesRequest.d.ts +16 -4
  78. package/dist/models/ListJobTemplatesRequest.js.map +1 -1
  79. package/dist/models/ListJobTemplatesResponseBody.d.ts +45 -1
  80. package/dist/models/ListJobTemplatesResponseBody.js.map +1 -1
  81. package/dist/models/ListJobsRequest.d.ts +138 -63
  82. package/dist/models/ListJobsRequest.js.map +1 -1
  83. package/dist/models/ListJobsResponseBody.d.ts +4 -4
  84. package/dist/models/ListJobsShrinkRequest.d.ts +138 -63
  85. package/dist/models/ListJobsShrinkRequest.js.map +1 -1
  86. package/dist/models/ListRayHistoryServersRequest.d.ts +75 -0
  87. package/dist/models/ListRayHistoryServersRequest.js +2 -0
  88. package/dist/models/ListRayHistoryServersRequest.js.map +1 -1
  89. package/dist/models/ListRayHistoryServersResponseBody.d.ts +71 -0
  90. package/dist/models/ListRayHistoryServersResponseBody.js.map +1 -1
  91. package/dist/models/ListTensorboardsRequest.d.ts +34 -44
  92. package/dist/models/ListTensorboardsRequest.js.map +1 -1
  93. package/dist/models/ListTensorboardsResponseBody.d.ts +2 -2
  94. package/dist/models/ResourceRequirements.d.ts +2 -2
  95. package/dist/models/SanityCheckResultItem.d.ts +6 -6
  96. package/dist/models/SeccompProfile.d.ts +6 -0
  97. package/dist/models/SeccompProfile.js.map +1 -1
  98. package/dist/models/SecurityContext.d.ts +18 -0
  99. package/dist/models/SecurityContext.js.map +1 -1
  100. package/dist/models/ServiceSpec.d.ts +10 -0
  101. package/dist/models/ServiceSpec.js.map +1 -1
  102. package/dist/models/SetJobTemplateDefaultVersionRequest.d.ts +1 -1
  103. package/dist/models/SetJobTemplateDefaultVersionResponseBody.d.ts +4 -2
  104. package/dist/models/SetJobTemplateDefaultVersionResponseBody.js.map +1 -1
  105. package/dist/models/SignalTarget.d.ts +16 -0
  106. package/dist/models/SignalTarget.js +68 -0
  107. package/dist/models/SignalTarget.js.map +1 -0
  108. package/dist/models/StartRayHistoryServerResponseBody.d.ts +1 -1
  109. package/dist/models/StatusTransitionItem.d.ts +20 -0
  110. package/dist/models/StatusTransitionItem.js.map +1 -1
  111. package/dist/models/StopRayHistoryServerResponseBody.d.ts +1 -1
  112. package/dist/models/Tensorboard.d.ts +25 -78
  113. package/dist/models/Tensorboard.js.map +1 -1
  114. package/dist/models/TensorboardDataSourceSpec.d.ts +1 -1
  115. package/dist/models/UpdateJobRequest.d.ts +11 -7
  116. package/dist/models/UpdateJobRequest.js.map +1 -1
  117. package/dist/models/UpdateJobResponseBody.d.ts +2 -2
  118. package/dist/models/UpdateJobTemplateRequest.d.ts +17 -4
  119. package/dist/models/UpdateJobTemplateRequest.js.map +1 -1
  120. package/dist/models/UpdateJobTemplateResponseBody.d.ts +12 -1
  121. package/dist/models/UpdateJobTemplateResponseBody.js.map +1 -1
  122. package/dist/models/UpdateTensorboardRequest.d.ts +6 -5
  123. package/dist/models/UpdateTensorboardRequest.js.map +1 -1
  124. package/dist/models/UpdateTensorboardResponseBody.d.ts +2 -2
  125. package/dist/models/model.d.ts +6 -0
  126. package/dist/models/model.js +17 -4
  127. package/dist/models/model.js.map +1 -1
  128. package/package.json +1 -1
  129. package/src/client.ts +209 -46
  130. package/src/models/AutoscalingMetricSpec.ts +19 -0
  131. package/src/models/CreateJobRequest.ts +60 -78
  132. package/src/models/CreateJobResponseBody.ts +2 -2
  133. package/src/models/CreateJobTemplateRequest.ts +9 -4
  134. package/src/models/CreateJobTemplateResponseBody.ts +30 -2
  135. package/src/models/CreateRayHistoryServerRequest.ts +25 -0
  136. package/src/models/CreateRayHistoryServerResponseBody.ts +6 -0
  137. package/src/models/CredentialConfig.ts +12 -0
  138. package/src/models/DataJuicerConfig.ts +18 -0
  139. package/src/models/DataSourceItem.ts +1 -1
  140. package/src/models/DebuggerConfig.ts +1 -1
  141. package/src/models/DeleteJobTemplateResponseBody.ts +4 -1
  142. package/src/models/DeleteRayHistoryServerResponseBody.ts +3 -0
  143. package/src/models/DownloadJobResult.ts +72 -0
  144. package/src/models/ElasticSpotSpec.ts +56 -0
  145. package/src/models/ExtraPodSpec.ts +10 -6
  146. package/src/models/GetDashboardRequest.ts +2 -7
  147. package/src/models/GetDashboardResponseBody.ts +1 -1
  148. package/src/models/GetJobRequest.ts +1 -1
  149. package/src/models/GetJobResponseBody.ts +188 -87
  150. package/src/models/GetJobTemplateRequest.ts +1 -1
  151. package/src/models/GetJobTemplateResponseBody.ts +44 -5
  152. package/src/models/GetMetricsRequest.ts +124 -0
  153. package/src/models/GetMetricsResponse.ts +40 -0
  154. package/src/models/GetMetricsResponseBody.ts +94 -0
  155. package/src/models/GetRayDashboardRequest.ts +2 -7
  156. package/src/models/GetRayDashboardResponseBody.ts +1 -1
  157. package/src/models/GetRayHistoryServerResponseBody.ts +55 -1
  158. package/src/models/GetTensorboardRequest.ts +3 -3
  159. package/src/models/HyperNodeSchedulingConfig.ts +30 -0
  160. package/src/models/ImageConfig.ts +4 -4
  161. package/src/models/JobItem.ts +71 -72
  162. package/src/models/JobReplicaStatus.ts +33 -0
  163. package/src/models/JobSettings.ts +48 -36
  164. package/src/models/JobSpec.ts +47 -21
  165. package/src/models/JobTemplateVersionDetail.ts +4 -4
  166. package/src/models/ListEcsSpecsRequest.ts +1 -1
  167. package/src/models/ListJobTemplatesRequest.ts +16 -4
  168. package/src/models/ListJobTemplatesResponseBody.ts +45 -1
  169. package/src/models/ListJobsRequest.ts +138 -63
  170. package/src/models/ListJobsResponseBody.ts +4 -4
  171. package/src/models/ListJobsShrinkRequest.ts +138 -63
  172. package/src/models/ListRayHistoryServersRequest.ts +77 -0
  173. package/src/models/ListRayHistoryServersResponseBody.ts +71 -0
  174. package/src/models/ListTensorboardsRequest.ts +34 -44
  175. package/src/models/ListTensorboardsResponseBody.ts +2 -2
  176. package/src/models/ResourceRequirements.ts +2 -2
  177. package/src/models/SanityCheckResultItem.ts +6 -6
  178. package/src/models/SeccompProfile.ts +6 -0
  179. package/src/models/SecurityContext.ts +18 -0
  180. package/src/models/ServiceSpec.ts +10 -0
  181. package/src/models/SetJobTemplateDefaultVersionRequest.ts +1 -1
  182. package/src/models/SetJobTemplateDefaultVersionResponseBody.ts +4 -2
  183. package/src/models/SignalTarget.ts +39 -0
  184. package/src/models/StartRayHistoryServerResponseBody.ts +1 -1
  185. package/src/models/StatusTransitionItem.ts +20 -0
  186. package/src/models/StopRayHistoryServerResponseBody.ts +1 -1
  187. package/src/models/Tensorboard.ts +25 -78
  188. package/src/models/TensorboardDataSourceSpec.ts +1 -1
  189. package/src/models/UpdateJobRequest.ts +11 -7
  190. package/src/models/UpdateJobResponseBody.ts +2 -2
  191. package/src/models/UpdateJobTemplateRequest.ts +17 -4
  192. package/src/models/UpdateJobTemplateResponseBody.ts +12 -1
  193. package/src/models/UpdateTensorboardRequest.ts +6 -5
  194. package/src/models/UpdateTensorboardResponseBody.ts +2 -2
  195. package/src/models/model.ts +6 -0
package/dist/client.d.ts CHANGED
@@ -9,10 +9,11 @@ export default class Client extends OpenApi {
9
9
  [key: string]: string;
10
10
  }, endpoint: string): string;
11
11
  /**
12
- * Creates a job that runs in a cluster. You can configure the data source, code source, startup command, and computing resources of each node on which a job runs.
12
+ * Creates a job and runs it in a cluster. You can specify the datasource config, code source configuration, startup command, and compute resource configuration for each node on which the job runs.
13
13
  *
14
14
  * @remarks
15
- * Before you call this operation, make sure that you understand the billing methods and [pricing](https://help.aliyun.com/document_detail/171758.html) of Deep Learning Containers (DLC) of Platform for AI (PAI).
15
+ * Before you call this operation, make sure that you are familiar with the billing and [pricing](https://help.aliyun.com/document_detail/171758.html) of PAI-DLC.
16
+ * >Notice: The total length of CreateJob request parameters, including system-generated parameters, cannot exceed 65,536 bytes..
16
17
  *
17
18
  * @param request - CreateJobRequest
18
19
  * @param headers - map
@@ -23,17 +24,18 @@ export default class Client extends OpenApi {
23
24
  [key: string]: string;
24
25
  }, runtime: $dara.RuntimeOptions): Promise<$_model.CreateJobResponse>;
25
26
  /**
26
- * Creates a job that runs in a cluster. You can configure the data source, code source, startup command, and computing resources of each node on which a job runs.
27
+ * Creates a job and runs it in a cluster. You can specify the datasource config, code source configuration, startup command, and compute resource configuration for each node on which the job runs.
27
28
  *
28
29
  * @remarks
29
- * Before you call this operation, make sure that you understand the billing methods and [pricing](https://help.aliyun.com/document_detail/171758.html) of Deep Learning Containers (DLC) of Platform for AI (PAI).
30
+ * Before you call this operation, make sure that you are familiar with the billing and [pricing](https://help.aliyun.com/document_detail/171758.html) of PAI-DLC.
31
+ * >Notice: The total length of CreateJob request parameters, including system-generated parameters, cannot exceed 65,536 bytes..
30
32
  *
31
33
  * @param request - CreateJobRequest
32
34
  * @returns CreateJobResponse
33
35
  */
34
36
  createJob(request: $_model.CreateJobRequest): Promise<$_model.CreateJobResponse>;
35
37
  /**
36
- * Create a job template.
38
+ * Creates a job template.
37
39
  *
38
40
  * @param request - CreateJobTemplateRequest
39
41
  * @param headers - map
@@ -44,14 +46,18 @@ export default class Client extends OpenApi {
44
46
  [key: string]: string;
45
47
  }, runtime: $dara.RuntimeOptions): Promise<$_model.CreateJobTemplateResponse>;
46
48
  /**
47
- * Create a job template.
49
+ * Creates a job template.
48
50
  *
49
51
  * @param request - CreateJobTemplateRequest
50
52
  * @returns CreateJobTemplateResponse
51
53
  */
52
54
  createJobTemplate(request: $_model.CreateJobTemplateRequest): Promise<$_model.CreateJobTemplateResponse>;
53
55
  /**
54
- * 创建 RayHistoryServer
56
+ * Creates a RayHistoryServer.
57
+ *
58
+ * @remarks
59
+ * Before you use this operation, make sure that you are familiar with the billing of PAI-DLC and the [pricing](https://help.aliyun.com/document_detail/171758.html).
60
+ * >Notice: The total length of CreateJob request parameters, including system-generated parameters, cannot exceed 65,536 bytes..
55
61
  *
56
62
  * @param request - CreateRayHistoryServerRequest
57
63
  * @param headers - map
@@ -62,7 +68,11 @@ export default class Client extends OpenApi {
62
68
  [key: string]: string;
63
69
  }, runtime: $dara.RuntimeOptions): Promise<$_model.CreateRayHistoryServerResponse>;
64
70
  /**
65
- * 创建 RayHistoryServer
71
+ * Creates a RayHistoryServer.
72
+ *
73
+ * @remarks
74
+ * Before you use this operation, make sure that you are familiar with the billing of PAI-DLC and the [pricing](https://help.aliyun.com/document_detail/171758.html).
75
+ * >Notice: The total length of CreateJob request parameters, including system-generated parameters, cannot exceed 65,536 bytes..
66
76
  *
67
77
  * @param request - CreateRayHistoryServerRequest
68
78
  * @returns CreateRayHistoryServerResponse
@@ -102,7 +112,7 @@ export default class Client extends OpenApi {
102
112
  */
103
113
  deleteJob(JobId: string): Promise<$_model.DeleteJobResponse>;
104
114
  /**
105
- * Deletes an unused job template. Templates that are used by jobs cannot be deleted.
115
+ * Deletes a job template. You cannot delete a job template that is in use by a job.
106
116
  *
107
117
  * @param request - DeleteJobTemplateRequest
108
118
  * @param headers - map
@@ -113,14 +123,17 @@ export default class Client extends OpenApi {
113
123
  [key: string]: string;
114
124
  }, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteJobTemplateResponse>;
115
125
  /**
116
- * Deletes an unused job template. Templates that are used by jobs cannot be deleted.
126
+ * Deletes a job template. You cannot delete a job template that is in use by a job.
117
127
  *
118
128
  * @param request - DeleteJobTemplateRequest
119
129
  * @returns DeleteJobTemplateResponse
120
130
  */
121
131
  deleteJobTemplate(TemplateId: string, request: $_model.DeleteJobTemplateRequest): Promise<$_model.DeleteJobTemplateResponse>;
122
132
  /**
123
- * 删除RayHistoryServer
133
+ * Deletes a Ray History Server.
134
+ *
135
+ * @remarks
136
+ * Before calling this API, ensure you understand the billing methods and [Pricing](https://help.aliyun.com/document_detail/171758.html) of PAI-DLC.
124
137
  *
125
138
  * @param request - DeleteRayHistoryServerRequest
126
139
  * @param headers - map
@@ -131,7 +144,10 @@ export default class Client extends OpenApi {
131
144
  [key: string]: string;
132
145
  }, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteRayHistoryServerResponse>;
133
146
  /**
134
- * 删除RayHistoryServer
147
+ * Deletes a Ray History Server.
148
+ *
149
+ * @remarks
150
+ * Before calling this API, ensure you understand the billing methods and [Pricing](https://help.aliyun.com/document_detail/171758.html) of PAI-DLC.
135
151
  *
136
152
  * @param request - DeleteRayHistoryServerRequest
137
153
  * @returns DeleteRayHistoryServerResponse
@@ -156,10 +172,10 @@ export default class Client extends OpenApi {
156
172
  */
157
173
  deleteTensorboard(TensorboardId: string, request: $_model.DeleteTensorboardRequest): Promise<$_model.DeleteTensorboardResponse>;
158
174
  /**
159
- * Gets the DLC task\\"s Dashboard URL, if one exists.
175
+ * Retrieves the Dashboard URL for a DLC job, if available.
160
176
  *
161
177
  * @remarks
162
- * Before you call this operation, make sure that you understand the billing methods and [pricing](https://help.aliyun.com/document_detail/171758.html) of Deep Learning Containers (DLC) of Platform for AI (PAI).
178
+ * Before using this API, review the billing methods and [pricing](https://help.aliyun.com/document_detail/171758.html) for PAI-DLC.
163
179
  *
164
180
  * @param request - GetDashboardRequest
165
181
  * @param headers - map
@@ -170,17 +186,17 @@ export default class Client extends OpenApi {
170
186
  [key: string]: string;
171
187
  }, runtime: $dara.RuntimeOptions): Promise<$_model.GetDashboardResponse>;
172
188
  /**
173
- * Gets the DLC task\\"s Dashboard URL, if one exists.
189
+ * Retrieves the Dashboard URL for a DLC job, if available.
174
190
  *
175
191
  * @remarks
176
- * Before you call this operation, make sure that you understand the billing methods and [pricing](https://help.aliyun.com/document_detail/171758.html) of Deep Learning Containers (DLC) of Platform for AI (PAI).
192
+ * Before using this API, review the billing methods and [pricing](https://help.aliyun.com/document_detail/171758.html) for PAI-DLC.
177
193
  *
178
194
  * @param request - GetDashboardRequest
179
195
  * @returns GetDashboardResponse
180
196
  */
181
197
  getDashboard(jobId: string, request: $_model.GetDashboardRequest): Promise<$_model.GetDashboardResponse>;
182
198
  /**
183
- * Obtains the configuration and runtime information of a job.
199
+ * Retrieves the detailed configuration and runtime information of a DLC job.
184
200
  *
185
201
  * @param request - GetJobRequest
186
202
  * @param headers - map
@@ -191,7 +207,7 @@ export default class Client extends OpenApi {
191
207
  [key: string]: string;
192
208
  }, runtime: $dara.RuntimeOptions): Promise<$_model.GetJobResponse>;
193
209
  /**
194
- * Obtains the configuration and runtime information of a job.
210
+ * Retrieves the detailed configuration and runtime information of a DLC job.
195
211
  *
196
212
  * @param request - GetJobRequest
197
213
  * @returns GetJobResponse
@@ -252,7 +268,7 @@ export default class Client extends OpenApi {
252
268
  */
253
269
  getJobSanityCheckResult(JobId: string, request: $_model.GetJobSanityCheckResultRequest): Promise<$_model.GetJobSanityCheckResultResponse>;
254
270
  /**
255
- * Obtains the details of a job template.
271
+ * Retrieves the details of a job template.
256
272
  *
257
273
  * @param request - GetJobTemplateRequest
258
274
  * @param headers - map
@@ -263,12 +279,48 @@ export default class Client extends OpenApi {
263
279
  [key: string]: string;
264
280
  }, runtime: $dara.RuntimeOptions): Promise<$_model.GetJobTemplateResponse>;
265
281
  /**
266
- * Obtains the details of a job template.
282
+ * Retrieves the details of a job template.
267
283
  *
268
284
  * @param request - GetJobTemplateRequest
269
285
  * @returns GetJobTemplateResponse
270
286
  */
271
287
  getJobTemplate(TemplateId: string, request: $_model.GetJobTemplateRequest): Promise<$_model.GetJobTemplateResponse>;
288
+ /**
289
+ * Retrieve metrics data.
290
+ *
291
+ * @remarks
292
+ * ## Request description
293
+ * - This API retrieves monitoring metrics for a specific job (JobId) or dimensions under a given namespace.
294
+ * - It supports custom time ranges. By default, it returns data from the last hour.
295
+ * - Select different time intervals (Period) to obtain data points with finer or coarser granularity.
296
+ * - To paginate through large datasets, use the `NextToken` parameter.
297
+ * - The `MetricName` parameter is required and specifies the monitoring metric to query.
298
+ * - For advanced features or specific metric types, see the related documentation.
299
+ *
300
+ * @param request - GetMetricsRequest
301
+ * @param headers - map
302
+ * @param runtime - runtime options for this request RuntimeOptions
303
+ * @returns GetMetricsResponse
304
+ */
305
+ getMetricsWithOptions(request: $_model.GetMetricsRequest, headers: {
306
+ [key: string]: string;
307
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.GetMetricsResponse>;
308
+ /**
309
+ * Retrieve metrics data.
310
+ *
311
+ * @remarks
312
+ * ## Request description
313
+ * - This API retrieves monitoring metrics for a specific job (JobId) or dimensions under a given namespace.
314
+ * - It supports custom time ranges. By default, it returns data from the last hour.
315
+ * - Select different time intervals (Period) to obtain data points with finer or coarser granularity.
316
+ * - To paginate through large datasets, use the `NextToken` parameter.
317
+ * - The `MetricName` parameter is required and specifies the monitoring metric to query.
318
+ * - For advanced features or specific metric types, see the related documentation.
319
+ *
320
+ * @param request - GetMetricsRequest
321
+ * @returns GetMetricsResponse
322
+ */
323
+ getMetrics(request: $_model.GetMetricsRequest): Promise<$_model.GetMetricsResponse>;
272
324
  /**
273
325
  * Obtains the system events of a specific node in a job to locate and troubleshoot issues.
274
326
  *
@@ -306,10 +358,10 @@ export default class Client extends OpenApi {
306
358
  */
307
359
  getPodLogs(JobId: string, PodId: string, request: $_model.GetPodLogsRequest): Promise<$_model.GetPodLogsResponse>;
308
360
  /**
309
- * Obtains a Ray Dashboard URL.
361
+ * Retrieve the Ray Dashboard URL.
310
362
  *
311
363
  * @remarks
312
- * Before you call this operation, make sure that you understand the billing methods and [pricing](https://help.aliyun.com/document_detail/171758.html) of Deep Learning Containers (DLC) of Platform for AI (PAI).
364
+ * Before you use this operation, review the PAI-DLC billing model and [pricing](https://help.aliyun.com/document_detail/171758.html).
313
365
  *
314
366
  * @param request - GetRayDashboardRequest
315
367
  * @param headers - map
@@ -320,17 +372,20 @@ export default class Client extends OpenApi {
320
372
  [key: string]: string;
321
373
  }, runtime: $dara.RuntimeOptions): Promise<$_model.GetRayDashboardResponse>;
322
374
  /**
323
- * Obtains a Ray Dashboard URL.
375
+ * Retrieve the Ray Dashboard URL.
324
376
  *
325
377
  * @remarks
326
- * Before you call this operation, make sure that you understand the billing methods and [pricing](https://help.aliyun.com/document_detail/171758.html) of Deep Learning Containers (DLC) of Platform for AI (PAI).
378
+ * Before you use this operation, review the PAI-DLC billing model and [pricing](https://help.aliyun.com/document_detail/171758.html).
327
379
  *
328
380
  * @param request - GetRayDashboardRequest
329
381
  * @returns GetRayDashboardResponse
330
382
  */
331
383
  getRayDashboard(jobId: string, request: $_model.GetRayDashboardRequest): Promise<$_model.GetRayDashboardResponse>;
332
384
  /**
333
- * 查询 RayHistoryServer
385
+ * Retrieves the details of a specific RayHistoryServer.
386
+ *
387
+ * @remarks
388
+ * Before you call this API operation, make sure that you understand the billing methods and [pricing](https://help.aliyun.com/document_detail/171758.html) of PAI-DLC.>Notice: The total length of the parameters for the CreateJob API, including system-generated parameters, cannot exceed 65,536 bytes.
334
389
  *
335
390
  * @param request - GetRayHistoryServerRequest
336
391
  * @param headers - map
@@ -341,14 +396,17 @@ export default class Client extends OpenApi {
341
396
  [key: string]: string;
342
397
  }, runtime: $dara.RuntimeOptions): Promise<$_model.GetRayHistoryServerResponse>;
343
398
  /**
344
- * 查询 RayHistoryServer
399
+ * Retrieves the details of a specific RayHistoryServer.
400
+ *
401
+ * @remarks
402
+ * Before you call this API operation, make sure that you understand the billing methods and [pricing](https://help.aliyun.com/document_detail/171758.html) of PAI-DLC.>Notice: The total length of the parameters for the CreateJob API, including system-generated parameters, cannot exceed 65,536 bytes.
345
403
  *
346
404
  * @param request - GetRayHistoryServerRequest
347
405
  * @returns GetRayHistoryServerResponse
348
406
  */
349
407
  getRayHistoryServer(RayHistoryServerId: string, request: $_model.GetRayHistoryServerRequest): Promise<$_model.GetRayHistoryServerResponse>;
350
408
  /**
351
- * Queries the information of a TensorBoard instance.
409
+ * Retrieves the details of a Tensorboard instance.
352
410
  *
353
411
  * @param request - GetTensorboardRequest
354
412
  * @param headers - map
@@ -359,7 +417,7 @@ export default class Client extends OpenApi {
359
417
  [key: string]: string;
360
418
  }, runtime: $dara.RuntimeOptions): Promise<$_model.GetTensorboardResponse>;
361
419
  /**
362
- * Queries the information of a TensorBoard instance.
420
+ * Retrieves the details of a Tensorboard instance.
363
421
  *
364
422
  * @param request - GetTensorboardRequest
365
423
  * @returns GetTensorboardResponse
@@ -456,7 +514,7 @@ export default class Client extends OpenApi {
456
514
  */
457
515
  listJobSanityCheckResults(JobId: string, request: $_model.ListJobSanityCheckResultsRequest): Promise<$_model.ListJobSanityCheckResultsResponse>;
458
516
  /**
459
- * List job templates by workspace. Support paging and sorting. Filter by creator, TemplateId, or TemplateName.
517
+ * Lists job templates in a specified workspace. You can paginate, sort, and filter the results by creator, `TemplateId`, or `TemplateName`.
460
518
  *
461
519
  * @param request - ListJobTemplatesRequest
462
520
  * @param headers - map
@@ -467,14 +525,14 @@ export default class Client extends OpenApi {
467
525
  [key: string]: string;
468
526
  }, runtime: $dara.RuntimeOptions): Promise<$_model.ListJobTemplatesResponse>;
469
527
  /**
470
- * List job templates by workspace. Support paging and sorting. Filter by creator, TemplateId, or TemplateName.
528
+ * Lists job templates in a specified workspace. You can paginate, sort, and filter the results by creator, `TemplateId`, or `TemplateName`.
471
529
  *
472
530
  * @param request - ListJobTemplatesRequest
473
531
  * @returns ListJobTemplatesResponse
474
532
  */
475
533
  listJobTemplates(request: $_model.ListJobTemplatesRequest): Promise<$_model.ListJobTemplatesResponse>;
476
534
  /**
477
- * Queries a list of jobs and supports pagination, sorting, and filtering by conditions.
535
+ * Retrieves a list of jobs with support for pagination, sorting, and conditional filtering.
478
536
  *
479
537
  * @param tmpReq - ListJobsRequest
480
538
  * @param headers - map
@@ -485,14 +543,18 @@ export default class Client extends OpenApi {
485
543
  [key: string]: string;
486
544
  }, runtime: $dara.RuntimeOptions): Promise<$_model.ListJobsResponse>;
487
545
  /**
488
- * Queries a list of jobs and supports pagination, sorting, and filtering by conditions.
546
+ * Retrieves a list of jobs with support for pagination, sorting, and conditional filtering.
489
547
  *
490
548
  * @param request - ListJobsRequest
491
549
  * @returns ListJobsResponse
492
550
  */
493
551
  listJobs(request: $_model.ListJobsRequest): Promise<$_model.ListJobsResponse>;
494
552
  /**
495
- * 列出资源RayHistoryServer
553
+ * Lists RayHistoryServer resources.
554
+ *
555
+ * @remarks
556
+ * Before you use this operation, make sure that you are familiar with the billing and [pricing](https://help.aliyun.com/document_detail/171758.html) of Platform for AI - Deep Learning Containers (PAI-DLC).
557
+ * >Notice: The total length of the CreateJob operation parameters, including system-generated parameters, cannot exceed 65,536 bytes..
496
558
  *
497
559
  * @param request - ListRayHistoryServersRequest
498
560
  * @param headers - map
@@ -503,14 +565,18 @@ export default class Client extends OpenApi {
503
565
  [key: string]: string;
504
566
  }, runtime: $dara.RuntimeOptions): Promise<$_model.ListRayHistoryServersResponse>;
505
567
  /**
506
- * 列出资源RayHistoryServer
568
+ * Lists RayHistoryServer resources.
569
+ *
570
+ * @remarks
571
+ * Before you use this operation, make sure that you are familiar with the billing and [pricing](https://help.aliyun.com/document_detail/171758.html) of Platform for AI - Deep Learning Containers (PAI-DLC).
572
+ * >Notice: The total length of the CreateJob operation parameters, including system-generated parameters, cannot exceed 65,536 bytes..
507
573
  *
508
574
  * @param request - ListRayHistoryServersRequest
509
575
  * @returns ListRayHistoryServersResponse
510
576
  */
511
577
  listRayHistoryServers(request: $_model.ListRayHistoryServersRequest): Promise<$_model.ListRayHistoryServersResponse>;
512
578
  /**
513
- * Queries a list of TensorBoard instances.
579
+ * Queries a list of created Tensorboard instances.
514
580
  *
515
581
  * @param request - ListTensorboardsRequest
516
582
  * @param headers - map
@@ -521,14 +587,14 @@ export default class Client extends OpenApi {
521
587
  [key: string]: string;
522
588
  }, runtime: $dara.RuntimeOptions): Promise<$_model.ListTensorboardsResponse>;
523
589
  /**
524
- * Queries a list of TensorBoard instances.
590
+ * Queries a list of created Tensorboard instances.
525
591
  *
526
592
  * @param request - ListTensorboardsRequest
527
593
  * @returns ListTensorboardsResponse
528
594
  */
529
595
  listTensorboards(request: $_model.ListTensorboardsRequest): Promise<$_model.ListTensorboardsResponse>;
530
596
  /**
531
- * Sets the default version of the template.
597
+ * Sets the default version of a job template.
532
598
  *
533
599
  * @param request - SetJobTemplateDefaultVersionRequest
534
600
  * @param headers - map
@@ -539,14 +605,17 @@ export default class Client extends OpenApi {
539
605
  [key: string]: string;
540
606
  }, runtime: $dara.RuntimeOptions): Promise<$_model.SetJobTemplateDefaultVersionResponse>;
541
607
  /**
542
- * Sets the default version of the template.
608
+ * Sets the default version of a job template.
543
609
  *
544
610
  * @param request - SetJobTemplateDefaultVersionRequest
545
611
  * @returns SetJobTemplateDefaultVersionResponse
546
612
  */
547
613
  setJobTemplateDefaultVersion(TemplateId: string, request: $_model.SetJobTemplateDefaultVersionRequest): Promise<$_model.SetJobTemplateDefaultVersionResponse>;
548
614
  /**
549
- * 启动 Ray History Server
615
+ * Starts a Ray History Server.
616
+ *
617
+ * @remarks
618
+ * Before calling this operation, familiarize yourself with the billing methods and [pricing](https://help.aliyun.com/document_detail/171758.html) of PAI-DLC.>Notice: The total length of the API parameters for the CreateJob operation, including system-generated parameters, cannot exceed 65,536 bytes.
550
619
  *
551
620
  * @param request - StartRayHistoryServerRequest
552
621
  * @param headers - map
@@ -557,7 +626,10 @@ export default class Client extends OpenApi {
557
626
  [key: string]: string;
558
627
  }, runtime: $dara.RuntimeOptions): Promise<$_model.StartRayHistoryServerResponse>;
559
628
  /**
560
- * 启动 Ray History Server
629
+ * Starts a Ray History Server.
630
+ *
631
+ * @remarks
632
+ * Before calling this operation, familiarize yourself with the billing methods and [pricing](https://help.aliyun.com/document_detail/171758.html) of PAI-DLC.>Notice: The total length of the API parameters for the CreateJob operation, including system-generated parameters, cannot exceed 65,536 bytes.
561
633
  *
562
634
  * @param request - StartRayHistoryServerRequest
563
635
  * @returns StartRayHistoryServerResponse
@@ -597,7 +669,10 @@ export default class Client extends OpenApi {
597
669
  */
598
670
  stopJob(JobId: string): Promise<$_model.StopJobResponse>;
599
671
  /**
600
- * 停止 Ray History Server
672
+ * Stops a Ray History Server.
673
+ *
674
+ * @remarks
675
+ * Before calling this operation, ensure you understand the billing methods and [pricing](https://help.aliyun.com/document_detail/171758.html) for PAI-DLC.>Notice: The total length of the parameters for the CreateJob interface, including system-generated parameters, cannot exceed 65,536 bytes.
601
676
  *
602
677
  * @param request - StopRayHistoryServerRequest
603
678
  * @param headers - map
@@ -608,7 +683,10 @@ export default class Client extends OpenApi {
608
683
  [key: string]: string;
609
684
  }, runtime: $dara.RuntimeOptions): Promise<$_model.StopRayHistoryServerResponse>;
610
685
  /**
611
- * 停止 Ray History Server
686
+ * Stops a Ray History Server.
687
+ *
688
+ * @remarks
689
+ * Before calling this operation, ensure you understand the billing methods and [pricing](https://help.aliyun.com/document_detail/171758.html) for PAI-DLC.>Notice: The total length of the parameters for the CreateJob interface, including system-generated parameters, cannot exceed 65,536 bytes.
612
690
  *
613
691
  * @param request - StopRayHistoryServerRequest
614
692
  * @returns StopRayHistoryServerResponse
@@ -633,7 +711,7 @@ export default class Client extends OpenApi {
633
711
  */
634
712
  stopTensorboard(TensorboardId: string, request: $_model.StopTensorboardRequest): Promise<$_model.StopTensorboardResponse>;
635
713
  /**
636
- * Updates the configuration information of a job. For example, you can modify the priority of a job in a queue.
714
+ * Updates a job\\"s configuration, such as its priority.
637
715
  *
638
716
  * @param request - UpdateJobRequest
639
717
  * @param headers - map
@@ -644,7 +722,7 @@ export default class Client extends OpenApi {
644
722
  [key: string]: string;
645
723
  }, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateJobResponse>;
646
724
  /**
647
- * Updates the configuration information of a job. For example, you can modify the priority of a job in a queue.
725
+ * Updates a job\\"s configuration, such as its priority.
648
726
  *
649
727
  * @param request - UpdateJobRequest
650
728
  * @returns UpdateJobResponse
@@ -669,7 +747,7 @@ export default class Client extends OpenApi {
669
747
  */
670
748
  updateJobTemplate(TemplateId: string, request: $_model.UpdateJobTemplateRequest): Promise<$_model.UpdateJobTemplateResponse>;
671
749
  /**
672
- * Updates a TensorBoard instance.
750
+ * Update a Tensorboard.
673
751
  *
674
752
  * @param request - UpdateTensorboardRequest
675
753
  * @param headers - map
@@ -680,7 +758,7 @@ export default class Client extends OpenApi {
680
758
  [key: string]: string;
681
759
  }, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateTensorboardResponse>;
682
760
  /**
683
- * Updates a TensorBoard instance.
761
+ * Update a Tensorboard.
684
762
  *
685
763
  * @param request - UpdateTensorboardRequest
686
764
  * @returns UpdateTensorboardResponse