@alicloud/pai-dlc20201203 1.4.19 → 1.5.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 +1544 -68
- package/dist/client.js +248 -192
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +1661 -196
package/dist/client.d.ts
CHANGED
|
@@ -128,21 +128,33 @@ export declare class LifecyclePreStop extends $dara.Model {
|
|
|
128
128
|
}
|
|
129
129
|
export declare class CreateJobRequestCodeSource extends $dara.Model {
|
|
130
130
|
/**
|
|
131
|
+
* @remarks
|
|
132
|
+
* The branch of the referenced code repository. By default, the branch configured in the code source is used. This parameter is optional.
|
|
133
|
+
*
|
|
131
134
|
* @example
|
|
132
135
|
* master
|
|
133
136
|
*/
|
|
134
137
|
branch?: string;
|
|
135
138
|
/**
|
|
139
|
+
* @remarks
|
|
140
|
+
* The ID of the code source.
|
|
141
|
+
*
|
|
136
142
|
* @example
|
|
137
143
|
* code-20210111103721-xxxxxxx
|
|
138
144
|
*/
|
|
139
145
|
codeSourceId?: string;
|
|
140
146
|
/**
|
|
147
|
+
* @remarks
|
|
148
|
+
* The commit ID of the code to be downloaded. By default, the commit ID configured in the code source is used. This parameter is optional.
|
|
149
|
+
*
|
|
141
150
|
* @example
|
|
142
151
|
* 44da109b5******
|
|
143
152
|
*/
|
|
144
153
|
commit?: string;
|
|
145
154
|
/**
|
|
155
|
+
* @remarks
|
|
156
|
+
* The path to which the job is mounted. By default, the mount path configured in the data source is used. This parameter is optional.
|
|
157
|
+
*
|
|
146
158
|
* @example
|
|
147
159
|
* /root/data
|
|
148
160
|
*/
|
|
@@ -160,18 +172,39 @@ export declare class CreateJobRequestCodeSource extends $dara.Model {
|
|
|
160
172
|
}
|
|
161
173
|
export declare class CreateJobRequestDataSources extends $dara.Model {
|
|
162
174
|
/**
|
|
175
|
+
* @remarks
|
|
176
|
+
* The data source ID.
|
|
177
|
+
*
|
|
163
178
|
* @example
|
|
164
179
|
* d-cn9dl*******
|
|
165
180
|
*/
|
|
166
181
|
dataSourceId?: string;
|
|
167
182
|
dataSourceVersion?: string;
|
|
183
|
+
mountAccess?: string;
|
|
168
184
|
/**
|
|
185
|
+
* @remarks
|
|
186
|
+
* The path to which the job is mounted. By default, the mount path in the data source configuration is used. This parameter is optional.
|
|
187
|
+
*
|
|
169
188
|
* @example
|
|
170
189
|
* /root/data
|
|
171
190
|
*/
|
|
172
191
|
mountPath?: string;
|
|
192
|
+
/**
|
|
193
|
+
* @remarks
|
|
194
|
+
* The mount attribute of the custom dataset. Set the value to OSS.
|
|
195
|
+
*
|
|
196
|
+
* @example
|
|
197
|
+
* {
|
|
198
|
+
* "fs.oss.download.thread.concurrency": "10",
|
|
199
|
+
* "fs.oss.upload.thread.concurrency": "10",
|
|
200
|
+
* "fs.jindo.args": "-oattr_timeout=3 -oentry_timeout=0 -onegative_timeout=0 -oauto_cache -ono_symlink"
|
|
201
|
+
* }
|
|
202
|
+
*/
|
|
173
203
|
options?: string;
|
|
174
204
|
/**
|
|
205
|
+
* @remarks
|
|
206
|
+
* The data source path.
|
|
207
|
+
*
|
|
175
208
|
* @example
|
|
176
209
|
* oss://bucket.oss-cn-hangzhou-internal.aliyuncs.com/path/
|
|
177
210
|
*/
|
|
@@ -188,19 +221,48 @@ export declare class CreateJobRequestDataSources extends $dara.Model {
|
|
|
188
221
|
});
|
|
189
222
|
}
|
|
190
223
|
export declare class CreateJobRequestUserVpc extends $dara.Model {
|
|
224
|
+
/**
|
|
225
|
+
* @remarks
|
|
226
|
+
* The default route. Default value: false. Valid values:
|
|
227
|
+
*
|
|
228
|
+
* * eth0: The default network interface is used to access the Internet through the public gateway.
|
|
229
|
+
* * eth1: The user\\"s Elastic Network Interface is used to access the Internet through the private gateway. For more information about the configuration method, see [Enable Internet access for a DSW instance by using a private Internet NAT gateway](https://help.aliyun.com/document_detail/2525343.html).
|
|
230
|
+
*
|
|
231
|
+
* @example
|
|
232
|
+
* eth0
|
|
233
|
+
*/
|
|
191
234
|
defaultRoute?: string;
|
|
235
|
+
/**
|
|
236
|
+
* @remarks
|
|
237
|
+
* The extended CIDR block.
|
|
238
|
+
*
|
|
239
|
+
* * If you leave the SwitchId and ExtendedCIDRs parameters empty, the system automatically obtains all CIDR blocks in a VPC.
|
|
240
|
+
* * If you configure the SwitchId and ExtendedCIDRs parameters, we recommend that you specify all CIDR blocks in a VPC.
|
|
241
|
+
*/
|
|
192
242
|
extendedCIDRs?: string[];
|
|
193
243
|
/**
|
|
244
|
+
* @remarks
|
|
245
|
+
* The ID of the security group.
|
|
246
|
+
*
|
|
194
247
|
* @example
|
|
195
248
|
* sg-abcdef****
|
|
196
249
|
*/
|
|
197
250
|
securityGroupId?: string;
|
|
198
251
|
/**
|
|
252
|
+
* @remarks
|
|
253
|
+
* The vSwitch ID. This parameter is optional.
|
|
254
|
+
*
|
|
255
|
+
* * If you leave this parameter empty, the system automatically selects a vSwitch based on the inventory status.
|
|
256
|
+
* * You can also specify a vSwitch ID.
|
|
257
|
+
*
|
|
199
258
|
* @example
|
|
200
259
|
* vs-abcdef****
|
|
201
260
|
*/
|
|
202
261
|
switchId?: string;
|
|
203
262
|
/**
|
|
263
|
+
* @remarks
|
|
264
|
+
* The VPC ID.
|
|
265
|
+
*
|
|
204
266
|
* @example
|
|
205
267
|
* vpc-abcdef****
|
|
206
268
|
*/
|
|
@@ -218,21 +280,33 @@ export declare class CreateJobRequestUserVpc extends $dara.Model {
|
|
|
218
280
|
}
|
|
219
281
|
export declare class GetJobResponseBodyCodeSource extends $dara.Model {
|
|
220
282
|
/**
|
|
283
|
+
* @remarks
|
|
284
|
+
* The code branch.
|
|
285
|
+
*
|
|
221
286
|
* @example
|
|
222
287
|
* master
|
|
223
288
|
*/
|
|
224
289
|
branch?: string;
|
|
225
290
|
/**
|
|
291
|
+
* @remarks
|
|
292
|
+
* The code source ID.
|
|
293
|
+
*
|
|
226
294
|
* @example
|
|
227
295
|
* code******
|
|
228
296
|
*/
|
|
229
297
|
codeSourceId?: string;
|
|
230
298
|
/**
|
|
299
|
+
* @remarks
|
|
300
|
+
* The code commit ID
|
|
301
|
+
*
|
|
231
302
|
* @example
|
|
232
303
|
* 44da109b59f8596152987eaa8f3b2487xxxxxx
|
|
233
304
|
*/
|
|
234
305
|
commit?: string;
|
|
235
306
|
/**
|
|
307
|
+
* @remarks
|
|
308
|
+
* The local mount path.
|
|
309
|
+
*
|
|
236
310
|
* @example
|
|
237
311
|
* /mnt/data
|
|
238
312
|
*/
|
|
@@ -250,16 +324,25 @@ export declare class GetJobResponseBodyCodeSource extends $dara.Model {
|
|
|
250
324
|
}
|
|
251
325
|
export declare class GetJobResponseBodyDataSources extends $dara.Model {
|
|
252
326
|
/**
|
|
327
|
+
* @remarks
|
|
328
|
+
* The data source ID.
|
|
329
|
+
*
|
|
253
330
|
* @example
|
|
254
331
|
* d*******
|
|
255
332
|
*/
|
|
256
333
|
dataSourceId?: string;
|
|
257
334
|
/**
|
|
335
|
+
* @remarks
|
|
336
|
+
* The local mount path. This parameter is optional. The default value is empty, which specifies that the mount path in the data source is used.
|
|
337
|
+
*
|
|
258
338
|
* @example
|
|
259
339
|
* /mnt/data/
|
|
260
340
|
*/
|
|
261
341
|
mountPath?: string;
|
|
262
342
|
/**
|
|
343
|
+
* @remarks
|
|
344
|
+
* The data source URL.
|
|
345
|
+
*
|
|
263
346
|
* @example
|
|
264
347
|
* oss://bucket.oss-cn-hangzhou-internal.aliyuncs.com/path/
|
|
265
348
|
*/
|
|
@@ -277,51 +360,84 @@ export declare class GetJobResponseBodyDataSources extends $dara.Model {
|
|
|
277
360
|
}
|
|
278
361
|
export declare class GetJobResponseBodyPodsHistoryPods extends $dara.Model {
|
|
279
362
|
/**
|
|
363
|
+
* @remarks
|
|
364
|
+
* The time when the node was created (UTC).
|
|
365
|
+
*
|
|
280
366
|
* @example
|
|
281
367
|
* 2021-01-12T14:36:01Z
|
|
282
368
|
*/
|
|
283
369
|
gmtCreateTime?: string;
|
|
284
370
|
/**
|
|
371
|
+
* @remarks
|
|
372
|
+
* The end time of the node (UTC).
|
|
373
|
+
*
|
|
285
374
|
* @example
|
|
286
375
|
* 2021-01-12T14:36:01Z
|
|
287
376
|
*/
|
|
288
377
|
gmtFinishTime?: string;
|
|
289
378
|
/**
|
|
379
|
+
* @remarks
|
|
380
|
+
* The start time of the node (UTC).
|
|
381
|
+
*
|
|
290
382
|
* @example
|
|
291
383
|
* 2021-01-12T14:36:01Z
|
|
292
384
|
*/
|
|
293
385
|
gmtStartTime?: string;
|
|
294
386
|
/**
|
|
387
|
+
* @remarks
|
|
388
|
+
* The IP address of the node.
|
|
389
|
+
*
|
|
295
390
|
* @example
|
|
296
391
|
* 10.0.1.3
|
|
297
392
|
*/
|
|
298
393
|
ip?: string;
|
|
299
394
|
/**
|
|
395
|
+
* @remarks
|
|
396
|
+
* The ID of the node.
|
|
397
|
+
*
|
|
300
398
|
* @example
|
|
301
399
|
* Worker
|
|
302
400
|
*/
|
|
303
401
|
podId?: string;
|
|
304
402
|
/**
|
|
403
|
+
* @remarks
|
|
404
|
+
* The UID of the node.
|
|
405
|
+
*
|
|
305
406
|
* @example
|
|
306
407
|
* fe846462-af2c-4521-bd6f-96787a57591d
|
|
307
408
|
*/
|
|
308
409
|
podUid?: string;
|
|
309
410
|
/**
|
|
411
|
+
* @remarks
|
|
412
|
+
* The resource type of the node.
|
|
413
|
+
*
|
|
310
414
|
* @example
|
|
311
415
|
* Normal
|
|
312
416
|
*/
|
|
313
417
|
resourceType?: string;
|
|
314
418
|
/**
|
|
419
|
+
* @remarks
|
|
420
|
+
* The status of the node.
|
|
421
|
+
*
|
|
315
422
|
* @example
|
|
316
423
|
* Failed
|
|
317
424
|
*/
|
|
318
425
|
status?: string;
|
|
319
426
|
/**
|
|
427
|
+
* @remarks
|
|
428
|
+
* The sub-status of the node, such as its preemption status. Valid values:
|
|
429
|
+
*
|
|
430
|
+
* * Normal
|
|
431
|
+
* * Evicted
|
|
432
|
+
*
|
|
320
433
|
* @example
|
|
321
434
|
* Normal
|
|
322
435
|
*/
|
|
323
436
|
subStatus?: string;
|
|
324
437
|
/**
|
|
438
|
+
* @remarks
|
|
439
|
+
* The type of the node.
|
|
440
|
+
*
|
|
325
441
|
* @example
|
|
326
442
|
* Worker
|
|
327
443
|
*/
|
|
@@ -339,52 +455,95 @@ export declare class GetJobResponseBodyPodsHistoryPods extends $dara.Model {
|
|
|
339
455
|
}
|
|
340
456
|
export declare class GetJobResponseBodyPods extends $dara.Model {
|
|
341
457
|
/**
|
|
458
|
+
* @remarks
|
|
459
|
+
* The time when the node was created (UTC).
|
|
460
|
+
*
|
|
342
461
|
* @example
|
|
343
462
|
* 2021-01-12T14:36:01Z
|
|
344
463
|
*/
|
|
345
464
|
gmtCreateTime?: string;
|
|
346
465
|
/**
|
|
466
|
+
* @remarks
|
|
467
|
+
* The end time of the node (UTC).
|
|
468
|
+
*
|
|
347
469
|
* @example
|
|
348
470
|
* 2021-01-12T15:36:05Z
|
|
349
471
|
*/
|
|
350
472
|
gmtFinishTime?: string;
|
|
351
473
|
/**
|
|
474
|
+
* @remarks
|
|
475
|
+
* The start time of the node (UTC).
|
|
476
|
+
*
|
|
352
477
|
* @example
|
|
353
478
|
* 2021-01-12T14:36:01Z
|
|
354
479
|
*/
|
|
355
480
|
gmtStartTime?: string;
|
|
481
|
+
/**
|
|
482
|
+
* @remarks
|
|
483
|
+
* The historical nodes.
|
|
484
|
+
*/
|
|
356
485
|
historyPods?: GetJobResponseBodyPodsHistoryPods[];
|
|
357
486
|
/**
|
|
487
|
+
* @remarks
|
|
488
|
+
* The IP address of the node.
|
|
489
|
+
*
|
|
358
490
|
* @example
|
|
359
491
|
* 10.0.1.2
|
|
360
492
|
*/
|
|
361
493
|
ip?: string;
|
|
362
494
|
/**
|
|
495
|
+
* @remarks
|
|
496
|
+
* The node ID. It can be used in the GetPodLogs and GetPodEvents operations to obtain the detailed logs and events of the node.
|
|
497
|
+
*
|
|
363
498
|
* @example
|
|
364
499
|
* Worker
|
|
365
500
|
*/
|
|
366
501
|
podId?: string;
|
|
367
502
|
/**
|
|
503
|
+
* @remarks
|
|
504
|
+
* The UID of the node.
|
|
505
|
+
*
|
|
368
506
|
* @example
|
|
369
507
|
* fe846462-af2c-4521-bd6f-96787a57591d
|
|
370
508
|
*/
|
|
371
509
|
podUid?: string;
|
|
372
510
|
/**
|
|
511
|
+
* @remarks
|
|
512
|
+
* The resource type of the node.
|
|
513
|
+
*
|
|
373
514
|
* @example
|
|
374
515
|
* Normal
|
|
375
516
|
*/
|
|
376
517
|
resourceType?: string;
|
|
377
518
|
/**
|
|
519
|
+
* @remarks
|
|
520
|
+
* The status of the node. Valid values:
|
|
521
|
+
*
|
|
522
|
+
* * Pending
|
|
523
|
+
* * Running
|
|
524
|
+
* * Succeeded
|
|
525
|
+
* * Failed
|
|
526
|
+
* * Unknown
|
|
527
|
+
*
|
|
378
528
|
* @example
|
|
379
529
|
* Running
|
|
380
530
|
*/
|
|
381
531
|
status?: string;
|
|
382
532
|
/**
|
|
533
|
+
* @remarks
|
|
534
|
+
* The sub-status of the node, such as its preemption status. Valid values:
|
|
535
|
+
*
|
|
536
|
+
* * Normal
|
|
537
|
+
* * Evicted
|
|
538
|
+
*
|
|
383
539
|
* @example
|
|
384
540
|
* Normal
|
|
385
541
|
*/
|
|
386
542
|
subStatus?: string;
|
|
387
543
|
/**
|
|
544
|
+
* @remarks
|
|
545
|
+
* The node type, which corresponds to a specific JobSpec in JobSpecs of the CreateJob operation.
|
|
546
|
+
*
|
|
388
547
|
* @example
|
|
389
548
|
* Worker
|
|
390
549
|
*/
|
|
@@ -401,19 +560,38 @@ export declare class GetJobResponseBodyPods extends $dara.Model {
|
|
|
401
560
|
});
|
|
402
561
|
}
|
|
403
562
|
export declare class GetJobResponseBodyUserVpc extends $dara.Model {
|
|
563
|
+
/**
|
|
564
|
+
* @remarks
|
|
565
|
+
* The default router. This parameter is valid only for general-purpose computing resources. Valid values:
|
|
566
|
+
*
|
|
567
|
+
* eth0: The default network interface is used to access the Internet through the public gateway. eth1: The user\\"s Elastic Network Interface is used to access the Internet through the private gateway.
|
|
568
|
+
*/
|
|
404
569
|
defaultRoute?: string;
|
|
570
|
+
/**
|
|
571
|
+
* @remarks
|
|
572
|
+
* The extended CIDR block. Example: 192.168.0.1/24.
|
|
573
|
+
*/
|
|
405
574
|
extendedCidrs?: string[];
|
|
406
575
|
/**
|
|
576
|
+
* @remarks
|
|
577
|
+
* The security group ID.
|
|
578
|
+
*
|
|
407
579
|
* @example
|
|
408
580
|
* sg-abcdef****
|
|
409
581
|
*/
|
|
410
582
|
securityGroupId?: string;
|
|
411
583
|
/**
|
|
584
|
+
* @remarks
|
|
585
|
+
* The vSwitch ID.
|
|
586
|
+
*
|
|
412
587
|
* @example
|
|
413
588
|
* vs-abcdef****
|
|
414
589
|
*/
|
|
415
590
|
switchId?: string;
|
|
416
591
|
/**
|
|
592
|
+
* @remarks
|
|
593
|
+
* The VPC ID.
|
|
594
|
+
*
|
|
417
595
|
* @example
|
|
418
596
|
* vpc-abcdef****
|
|
419
597
|
*/
|
|
@@ -1033,9 +1211,15 @@ export declare class EventInfo extends $dara.Model {
|
|
|
1033
1211
|
export declare class ExtraPodSpec extends $dara.Model {
|
|
1034
1212
|
initContainers?: ContainerSpec[];
|
|
1035
1213
|
lifecycle?: Lifecycle;
|
|
1214
|
+
/**
|
|
1215
|
+
* @deprecated
|
|
1216
|
+
*/
|
|
1036
1217
|
podAnnotations?: {
|
|
1037
1218
|
[key: string]: string;
|
|
1038
1219
|
};
|
|
1220
|
+
/**
|
|
1221
|
+
* @deprecated
|
|
1222
|
+
*/
|
|
1039
1223
|
podLabels?: {
|
|
1040
1224
|
[key: string]: string;
|
|
1041
1225
|
};
|
|
@@ -1714,6 +1898,7 @@ export declare class Lifecycle extends $dara.Model {
|
|
|
1714
1898
|
export declare class LogInfo extends $dara.Model {
|
|
1715
1899
|
content?: string;
|
|
1716
1900
|
id?: string;
|
|
1901
|
+
isTruncated?: boolean;
|
|
1717
1902
|
podId?: string;
|
|
1718
1903
|
podUid?: string;
|
|
1719
1904
|
/**
|
|
@@ -1817,6 +2002,7 @@ export declare class PodItem extends $dara.Model {
|
|
|
1817
2002
|
* 10.0.1.2
|
|
1818
2003
|
*/
|
|
1819
2004
|
ip?: string;
|
|
2005
|
+
nodeName?: string;
|
|
1820
2006
|
/**
|
|
1821
2007
|
* @example
|
|
1822
2008
|
* dlc-20210126170216-mtl37ge7gkvdz-worker-0
|
|
@@ -1832,6 +2018,7 @@ export declare class PodItem extends $dara.Model {
|
|
|
1832
2018
|
* Stopped
|
|
1833
2019
|
*/
|
|
1834
2020
|
status?: string;
|
|
2021
|
+
subStatus?: string;
|
|
1835
2022
|
/**
|
|
1836
2023
|
* @example
|
|
1837
2024
|
* Worker
|
|
@@ -2075,6 +2262,51 @@ export declare class SanityCheckResultItem extends $dara.Model {
|
|
|
2075
2262
|
[key: string]: any;
|
|
2076
2263
|
});
|
|
2077
2264
|
}
|
|
2265
|
+
export declare class SeccompProfile extends $dara.Model {
|
|
2266
|
+
/**
|
|
2267
|
+
* @example
|
|
2268
|
+
* my-profiles/profile-allow.json
|
|
2269
|
+
*/
|
|
2270
|
+
localhostProfile?: string;
|
|
2271
|
+
/**
|
|
2272
|
+
* @example
|
|
2273
|
+
* Unconfined
|
|
2274
|
+
*/
|
|
2275
|
+
type?: string;
|
|
2276
|
+
static names(): {
|
|
2277
|
+
[key: string]: string;
|
|
2278
|
+
};
|
|
2279
|
+
static types(): {
|
|
2280
|
+
[key: string]: any;
|
|
2281
|
+
};
|
|
2282
|
+
validate(): void;
|
|
2283
|
+
constructor(map?: {
|
|
2284
|
+
[key: string]: any;
|
|
2285
|
+
});
|
|
2286
|
+
}
|
|
2287
|
+
export declare class SecurityContext extends $dara.Model {
|
|
2288
|
+
/**
|
|
2289
|
+
* @example
|
|
2290
|
+
* 1000
|
|
2291
|
+
*/
|
|
2292
|
+
runAsGroup?: number;
|
|
2293
|
+
/**
|
|
2294
|
+
* @example
|
|
2295
|
+
* 1000
|
|
2296
|
+
*/
|
|
2297
|
+
runAsUser?: number;
|
|
2298
|
+
seccompProfile?: SeccompProfile;
|
|
2299
|
+
static names(): {
|
|
2300
|
+
[key: string]: string;
|
|
2301
|
+
};
|
|
2302
|
+
static types(): {
|
|
2303
|
+
[key: string]: any;
|
|
2304
|
+
};
|
|
2305
|
+
validate(): void;
|
|
2306
|
+
constructor(map?: {
|
|
2307
|
+
[key: string]: any;
|
|
2308
|
+
});
|
|
2309
|
+
}
|
|
2078
2310
|
export declare class SmartCache extends $dara.Model {
|
|
2079
2311
|
/**
|
|
2080
2312
|
* @example
|
|
@@ -2431,39 +2663,106 @@ export declare class Workspace extends $dara.Model {
|
|
|
2431
2663
|
});
|
|
2432
2664
|
}
|
|
2433
2665
|
export declare class CreateJobRequest extends $dara.Model {
|
|
2666
|
+
/**
|
|
2667
|
+
* @remarks
|
|
2668
|
+
* The job visibility. Valid values:
|
|
2669
|
+
*
|
|
2670
|
+
* * PUBLIC: The job is visible to all members in the workspace.
|
|
2671
|
+
* * PRIVATE: The job is visible only to you and the administrator of the workspace.
|
|
2672
|
+
*
|
|
2673
|
+
* @example
|
|
2674
|
+
* PRIVATE
|
|
2675
|
+
*/
|
|
2434
2676
|
accessibility?: string;
|
|
2677
|
+
/**
|
|
2678
|
+
* @remarks
|
|
2679
|
+
* The code source of the job. Before the node of the job runs, DLC automatically downloads the configured code from the code source and mounts the code to the local path of the container.
|
|
2680
|
+
*/
|
|
2435
2681
|
codeSource?: CreateJobRequestCodeSource;
|
|
2682
|
+
/**
|
|
2683
|
+
* @remarks
|
|
2684
|
+
* The access credential configuration.
|
|
2685
|
+
*/
|
|
2436
2686
|
credentialConfig?: CredentialConfig;
|
|
2687
|
+
/**
|
|
2688
|
+
* @remarks
|
|
2689
|
+
* The data sources for job running.
|
|
2690
|
+
*/
|
|
2437
2691
|
dataSources?: CreateJobRequestDataSources[];
|
|
2438
2692
|
/**
|
|
2693
|
+
* @remarks
|
|
2694
|
+
* This parameter is not supported.
|
|
2695
|
+
*
|
|
2439
2696
|
* @example
|
|
2440
2697
|
* “”
|
|
2441
2698
|
*/
|
|
2442
2699
|
debuggerConfigContent?: string;
|
|
2443
2700
|
/**
|
|
2444
2701
|
* @remarks
|
|
2702
|
+
* The job name. The name must be in the following format:
|
|
2703
|
+
*
|
|
2704
|
+
* * The name must be 1 to 256 characters in length.
|
|
2705
|
+
* * The name can contain digits, letters, underscores (_), periods (.), and hyphens (-).
|
|
2706
|
+
*
|
|
2445
2707
|
* This parameter is required.
|
|
2446
2708
|
*
|
|
2447
2709
|
* @example
|
|
2448
2710
|
* tf-mnist-test
|
|
2449
2711
|
*/
|
|
2450
2712
|
displayName?: string;
|
|
2713
|
+
/**
|
|
2714
|
+
* @remarks
|
|
2715
|
+
* This parameter is not supported.
|
|
2716
|
+
*/
|
|
2451
2717
|
elasticSpec?: JobElasticSpec;
|
|
2718
|
+
/**
|
|
2719
|
+
* @remarks
|
|
2720
|
+
* The environment variables.
|
|
2721
|
+
*/
|
|
2452
2722
|
envs?: {
|
|
2453
2723
|
[key: string]: string;
|
|
2454
2724
|
};
|
|
2455
2725
|
/**
|
|
2726
|
+
* @remarks
|
|
2727
|
+
* The maximum running duration of the job. Unit: minutes.
|
|
2728
|
+
*
|
|
2456
2729
|
* @example
|
|
2457
2730
|
* 1024
|
|
2458
2731
|
*/
|
|
2459
2732
|
jobMaxRunningTimeMinutes?: number;
|
|
2460
2733
|
/**
|
|
2461
2734
|
* @remarks
|
|
2735
|
+
* The configurations for job running, such as the image address, startup command, node resource declaration, and number of replicas.****
|
|
2736
|
+
*
|
|
2737
|
+
* A DLC job consists of different types of nodes. If nodes of the same type have exactly the same configuration, the configuration is called JobSpec. **JobSpecs** specifies the configurations of all types of nodes. The value is of the array type.
|
|
2738
|
+
*
|
|
2462
2739
|
* This parameter is required.
|
|
2463
2740
|
*/
|
|
2464
2741
|
jobSpecs?: JobSpec[];
|
|
2465
2742
|
/**
|
|
2466
2743
|
* @remarks
|
|
2744
|
+
* The job type. The value is case-sensitive. The following job types are supported:
|
|
2745
|
+
*
|
|
2746
|
+
* * TFJob
|
|
2747
|
+
* * PyTorchJob
|
|
2748
|
+
* * MPIJob
|
|
2749
|
+
* * XGBoostJob
|
|
2750
|
+
* * OneFlowJob
|
|
2751
|
+
* * ElasticBatchJob
|
|
2752
|
+
* * SlurmJob
|
|
2753
|
+
* * RayJob
|
|
2754
|
+
*
|
|
2755
|
+
* Valid values for each job type:
|
|
2756
|
+
*
|
|
2757
|
+
* * OneFlowJob: OneFlow.
|
|
2758
|
+
* * PyTorchJob: PyTorch.
|
|
2759
|
+
* * SlurmJob: Slurm.
|
|
2760
|
+
* * XGBoostJob: XGBoost.
|
|
2761
|
+
* * ElasticBatchJob: ElasticBatch.
|
|
2762
|
+
* * MPIJob: MPIJob.
|
|
2763
|
+
* * TFJob: Tensorflow.
|
|
2764
|
+
* * RayJob: Ray.
|
|
2765
|
+
*
|
|
2467
2766
|
* This parameter is required.
|
|
2468
2767
|
*
|
|
2469
2768
|
* @example
|
|
@@ -2471,42 +2770,83 @@ export declare class CreateJobRequest extends $dara.Model {
|
|
|
2471
2770
|
*/
|
|
2472
2771
|
jobType?: string;
|
|
2473
2772
|
/**
|
|
2773
|
+
* @remarks
|
|
2774
|
+
* The additional configuration of the job. You can use this parameter to adjust the behavior of the attached data source. For example, if the attached data source of the job is of the OSS type, you can use this parameter to add the following configurations to override the default parameters of JindoFS: `fs.oss.download.thread.concurrency=4,fs.oss.download.queue.size=16`.
|
|
2775
|
+
*
|
|
2474
2776
|
* @example
|
|
2475
2777
|
* key1=value1,key2=value2
|
|
2476
2778
|
*/
|
|
2477
2779
|
options?: string;
|
|
2478
2780
|
/**
|
|
2781
|
+
* @remarks
|
|
2782
|
+
* The priority of the job. Default value: 1. Valid values: 1 to 9.
|
|
2783
|
+
*
|
|
2784
|
+
* * 1: the lowest priority.
|
|
2785
|
+
* * 9: the highest priority.
|
|
2786
|
+
*
|
|
2479
2787
|
* @example
|
|
2480
2788
|
* 8
|
|
2481
2789
|
*/
|
|
2482
2790
|
priority?: number;
|
|
2483
2791
|
/**
|
|
2792
|
+
* @remarks
|
|
2793
|
+
* The ID of the resource group. This parameter is optional.
|
|
2794
|
+
*
|
|
2795
|
+
* * If you leave this parameter empty, the job is submitted to a public resource group.
|
|
2796
|
+
* * If a resource quota is bound to the current workspace, you can specify the resource quota ID. For more information about how to query the resource quota ID, see [Manage resource quotas](https://help.aliyun.com/document_detail/2651299.html).
|
|
2797
|
+
*
|
|
2484
2798
|
* @example
|
|
2485
2799
|
* rs-xxx
|
|
2486
2800
|
*/
|
|
2487
2801
|
resourceId?: string;
|
|
2802
|
+
/**
|
|
2803
|
+
* @remarks
|
|
2804
|
+
* The additional parameter configurations of the job.
|
|
2805
|
+
*/
|
|
2488
2806
|
settings?: JobSettings;
|
|
2489
2807
|
/**
|
|
2808
|
+
* @remarks
|
|
2809
|
+
* The policy that is used to check whether a distributed multi-node job is successful. Only TensorFlow distributed multi-node jobs are supported.
|
|
2810
|
+
*
|
|
2811
|
+
* * ChiefWorker: If you use this policy, the job is considered successful when the pod on the chief node completes operations.
|
|
2812
|
+
* * AllWorkers (default): If you use this policy, the job is considered successful when all worker nodes complete operations.
|
|
2813
|
+
*
|
|
2490
2814
|
* @example
|
|
2491
2815
|
* AllWorkers
|
|
2492
2816
|
*/
|
|
2493
2817
|
successPolicy?: string;
|
|
2494
2818
|
/**
|
|
2819
|
+
* @remarks
|
|
2820
|
+
* The folder in which the third-party Python library file requirements.txt is stored. Before the startup command specified by the UserCommand parameter is run on each node, DLC fetches the requirements.txt file from the folder and runs `pip install -r` to install the required package and library.
|
|
2821
|
+
*
|
|
2495
2822
|
* @example
|
|
2496
2823
|
* /root/code/
|
|
2497
2824
|
*/
|
|
2498
2825
|
thirdpartyLibDir?: string;
|
|
2826
|
+
/**
|
|
2827
|
+
* @remarks
|
|
2828
|
+
* The third-party Python libraries to be installed.
|
|
2829
|
+
*/
|
|
2499
2830
|
thirdpartyLibs?: string[];
|
|
2500
2831
|
/**
|
|
2501
2832
|
* @remarks
|
|
2833
|
+
* The startup command for all nodes of the job.
|
|
2834
|
+
*
|
|
2502
2835
|
* This parameter is required.
|
|
2503
2836
|
*
|
|
2504
2837
|
* @example
|
|
2505
2838
|
* python /root/code/mnist.py
|
|
2506
2839
|
*/
|
|
2507
2840
|
userCommand?: string;
|
|
2841
|
+
/**
|
|
2842
|
+
* @remarks
|
|
2843
|
+
* The VPC settings.
|
|
2844
|
+
*/
|
|
2508
2845
|
userVpc?: CreateJobRequestUserVpc;
|
|
2509
2846
|
/**
|
|
2847
|
+
* @remarks
|
|
2848
|
+
* The workspace ID.
|
|
2849
|
+
*
|
|
2510
2850
|
* @example
|
|
2511
2851
|
* ws-20210126170216-xxxxxxx
|
|
2512
2852
|
*/
|
|
@@ -2524,11 +2864,17 @@ export declare class CreateJobRequest extends $dara.Model {
|
|
|
2524
2864
|
}
|
|
2525
2865
|
export declare class CreateJobResponseBody extends $dara.Model {
|
|
2526
2866
|
/**
|
|
2867
|
+
* @remarks
|
|
2868
|
+
* The job ID.
|
|
2869
|
+
*
|
|
2527
2870
|
* @example
|
|
2528
2871
|
* dlc7*******
|
|
2529
2872
|
*/
|
|
2530
2873
|
jobId?: string;
|
|
2531
2874
|
/**
|
|
2875
|
+
* @remarks
|
|
2876
|
+
* The request ID used to troubleshoot issues.
|
|
2877
|
+
*
|
|
2532
2878
|
* @example
|
|
2533
2879
|
* 473469C7-AA6F-4DC5-B3DB-xxxxxxx
|
|
2534
2880
|
*/
|
|
@@ -2562,74 +2908,168 @@ export declare class CreateJobResponse extends $dara.Model {
|
|
|
2562
2908
|
});
|
|
2563
2909
|
}
|
|
2564
2910
|
export declare class CreateTensorboardRequest extends $dara.Model {
|
|
2911
|
+
/**
|
|
2912
|
+
* @remarks
|
|
2913
|
+
* The visibility of the job. Valid values:
|
|
2914
|
+
*
|
|
2915
|
+
* * PUBLIC: The configuration is public in the workspace.
|
|
2916
|
+
* * PRIVATE: The configuration is visible only to you and the administrator of the workspace.
|
|
2917
|
+
*
|
|
2918
|
+
* @example
|
|
2919
|
+
* PRIVATE
|
|
2920
|
+
*/
|
|
2565
2921
|
accessibility?: string;
|
|
2566
2922
|
/**
|
|
2923
|
+
* @remarks
|
|
2924
|
+
* The number of vCPU cores.
|
|
2925
|
+
*
|
|
2567
2926
|
* @example
|
|
2568
2927
|
* 1
|
|
2569
2928
|
*/
|
|
2570
2929
|
cpu?: number;
|
|
2571
2930
|
/**
|
|
2931
|
+
* @remarks
|
|
2932
|
+
* The dataset ID.
|
|
2933
|
+
* <props="china">Call [ListDatasets](https://help.aliyun.com/document_detail/457222.html) to get the dataset ID.
|
|
2934
|
+
*
|
|
2572
2935
|
* @example
|
|
2573
2936
|
* d-xxxxxxxx
|
|
2574
2937
|
*/
|
|
2575
2938
|
dataSourceId?: string;
|
|
2939
|
+
/**
|
|
2940
|
+
* @remarks
|
|
2941
|
+
* The dataset type. Valid values:
|
|
2942
|
+
*
|
|
2943
|
+
* * OSS
|
|
2944
|
+
* * NAS
|
|
2945
|
+
*
|
|
2946
|
+
* @example
|
|
2947
|
+
* OSS
|
|
2948
|
+
*/
|
|
2576
2949
|
dataSourceType?: string;
|
|
2950
|
+
/**
|
|
2951
|
+
* @remarks
|
|
2952
|
+
* The configurations of the data source.
|
|
2953
|
+
*/
|
|
2577
2954
|
dataSources?: DataSourceItem[];
|
|
2578
2955
|
/**
|
|
2956
|
+
* @remarks
|
|
2957
|
+
* The TensorBoard name
|
|
2958
|
+
*
|
|
2579
2959
|
* @example
|
|
2580
2960
|
* tensorboard
|
|
2581
2961
|
*/
|
|
2582
2962
|
displayName?: string;
|
|
2583
2963
|
/**
|
|
2964
|
+
* @remarks
|
|
2965
|
+
* The job ID. Call [ListJobs](https://help.aliyun.com/document_detail/459676.html) to get the job ID.
|
|
2966
|
+
*
|
|
2584
2967
|
* @example
|
|
2585
2968
|
* dlc-20210126170216-mtl37ge7gkvdz
|
|
2586
2969
|
*/
|
|
2587
2970
|
jobId?: string;
|
|
2588
2971
|
/**
|
|
2972
|
+
* @remarks
|
|
2973
|
+
* The maximum running duration. Unit: minutes.
|
|
2974
|
+
*
|
|
2589
2975
|
* @example
|
|
2590
2976
|
* 240
|
|
2591
2977
|
*/
|
|
2592
2978
|
maxRunningTimeMinutes?: number;
|
|
2593
2979
|
/**
|
|
2980
|
+
* @remarks
|
|
2981
|
+
* The memory size. Unit: GB.
|
|
2982
|
+
*
|
|
2594
2983
|
* @example
|
|
2595
2984
|
* 1000
|
|
2596
2985
|
*/
|
|
2597
2986
|
memory?: number;
|
|
2598
2987
|
/**
|
|
2988
|
+
* @remarks
|
|
2989
|
+
* The extended fields of the dataset are in the JSON format. MountPath: the path to mount the dataset.
|
|
2990
|
+
*
|
|
2599
2991
|
* @example
|
|
2600
2992
|
* {"mountpath":"/root/data/"}
|
|
2601
2993
|
*/
|
|
2602
2994
|
options?: string;
|
|
2603
|
-
priority?: string;
|
|
2604
|
-
quotaId?: string;
|
|
2605
2995
|
/**
|
|
2996
|
+
* @remarks
|
|
2997
|
+
* The priority of the job. Default value: 1. Valid values: 1 to 9.
|
|
2998
|
+
*
|
|
2999
|
+
* * 1 is the lowest priority.
|
|
3000
|
+
* * 9 is the highest priority.
|
|
3001
|
+
*
|
|
2606
3002
|
* @example
|
|
2607
|
-
*
|
|
3003
|
+
* 1
|
|
2608
3004
|
*/
|
|
2609
|
-
|
|
3005
|
+
priority?: string;
|
|
2610
3006
|
/**
|
|
2611
|
-
* @
|
|
3007
|
+
* @remarks
|
|
3008
|
+
* The resource quota ID. This parameter is required when you create a TensorBoard job by using a resource quota. <props="china">Call [ListQuotas](https://help.aliyun.com/document_detail/2628071.html) to get the quota ID.
|
|
3009
|
+
* This feature is currently limited to whitelisted users. If you need to use this feature, contact us.
|
|
3010
|
+
*
|
|
3011
|
+
* @example
|
|
3012
|
+
* quota12345
|
|
3013
|
+
*/
|
|
3014
|
+
quotaId?: string;
|
|
3015
|
+
/**
|
|
3016
|
+
* @remarks
|
|
3017
|
+
* The source ID.
|
|
3018
|
+
*
|
|
3019
|
+
* @example
|
|
3020
|
+
* dlc-xxxxxx
|
|
3021
|
+
*/
|
|
3022
|
+
sourceId?: string;
|
|
3023
|
+
/**
|
|
3024
|
+
* @remarks
|
|
3025
|
+
* The source type.
|
|
3026
|
+
*
|
|
3027
|
+
* @example
|
|
2612
3028
|
* job
|
|
2613
3029
|
*/
|
|
2614
3030
|
sourceType?: string;
|
|
2615
3031
|
/**
|
|
3032
|
+
* @remarks
|
|
3033
|
+
* The directory of summary.
|
|
3034
|
+
*
|
|
2616
3035
|
* @example
|
|
2617
3036
|
* /root/data/
|
|
2618
3037
|
*/
|
|
2619
3038
|
summaryPath?: string;
|
|
2620
3039
|
/**
|
|
3040
|
+
* @remarks
|
|
3041
|
+
* The relative path of summary.
|
|
3042
|
+
*
|
|
2621
3043
|
* @example
|
|
2622
3044
|
* /summary/
|
|
2623
3045
|
*/
|
|
2624
3046
|
summaryRelativePath?: string;
|
|
3047
|
+
/**
|
|
3048
|
+
* @remarks
|
|
3049
|
+
* The configurations of datasets mounted with the TensorBoard job.
|
|
3050
|
+
*/
|
|
2625
3051
|
tensorboardDataSources?: TensorboardDataSourceSpec[];
|
|
3052
|
+
/**
|
|
3053
|
+
* @remarks
|
|
3054
|
+
* The pay-as-you-go configuration of TensorBoard, which is used to create TensorBoard jobs that use pay-as-you-go resources.
|
|
3055
|
+
*/
|
|
2626
3056
|
tensorboardSpec?: TensorboardSpec;
|
|
2627
3057
|
/**
|
|
3058
|
+
* @remarks
|
|
3059
|
+
* The dataset URI.
|
|
3060
|
+
*
|
|
3061
|
+
* * Value format when DataSourceType is set to OSS: `oss://[oss-bucket].[endpoint]/[path]`.
|
|
3062
|
+
* * Value format when DataSourceType is set to NAS:`nas://[nas-filesystem-id].[region]/[path]`.
|
|
3063
|
+
*
|
|
2628
3064
|
* @example
|
|
2629
3065
|
* oss://.oss-cn-shanghai-finance-1.aliyuncs.com/
|
|
2630
3066
|
*/
|
|
2631
3067
|
uri?: string;
|
|
2632
3068
|
/**
|
|
3069
|
+
* @remarks
|
|
3070
|
+
* The workspace ID.
|
|
3071
|
+
* <props="china">Call [ListWorkspaces](https://help.aliyun.com/document_detail/449124.html) to obtain the workspace ID.
|
|
3072
|
+
*
|
|
2633
3073
|
* @example
|
|
2634
3074
|
* 123***
|
|
2635
3075
|
*/
|
|
@@ -2647,21 +3087,33 @@ export declare class CreateTensorboardRequest extends $dara.Model {
|
|
|
2647
3087
|
}
|
|
2648
3088
|
export declare class CreateTensorboardResponseBody extends $dara.Model {
|
|
2649
3089
|
/**
|
|
3090
|
+
* @remarks
|
|
3091
|
+
* The dataset ID.
|
|
3092
|
+
*
|
|
2650
3093
|
* @example
|
|
2651
3094
|
* ds-20210126170216-xxxxxxxx
|
|
2652
3095
|
*/
|
|
2653
3096
|
dataSourceId?: string;
|
|
2654
3097
|
/**
|
|
3098
|
+
* @remarks
|
|
3099
|
+
* The job ID.
|
|
3100
|
+
*
|
|
2655
3101
|
* @example
|
|
2656
3102
|
* dlc-20210126170216-xxxxxxxx
|
|
2657
3103
|
*/
|
|
2658
3104
|
jobId?: string;
|
|
2659
3105
|
/**
|
|
3106
|
+
* @remarks
|
|
3107
|
+
* The ID of the request.
|
|
3108
|
+
*
|
|
2660
3109
|
* @example
|
|
2661
3110
|
* 473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E
|
|
2662
3111
|
*/
|
|
2663
3112
|
requestId?: string;
|
|
2664
3113
|
/**
|
|
3114
|
+
* @remarks
|
|
3115
|
+
* TensorBoard ID
|
|
3116
|
+
*
|
|
2665
3117
|
* @example
|
|
2666
3118
|
* tbxxxxxxxx
|
|
2667
3119
|
*/
|
|
@@ -2696,11 +3148,17 @@ export declare class CreateTensorboardResponse extends $dara.Model {
|
|
|
2696
3148
|
}
|
|
2697
3149
|
export declare class DeleteJobResponseBody extends $dara.Model {
|
|
2698
3150
|
/**
|
|
3151
|
+
* @remarks
|
|
3152
|
+
* The job ID.
|
|
3153
|
+
*
|
|
2699
3154
|
* @example
|
|
2700
3155
|
* dlc*************
|
|
2701
3156
|
*/
|
|
2702
3157
|
jobId?: string;
|
|
2703
3158
|
/**
|
|
3159
|
+
* @remarks
|
|
3160
|
+
* The request ID. You can troubleshoot issues based on the request ID.
|
|
3161
|
+
*
|
|
2704
3162
|
* @example
|
|
2705
3163
|
* 473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E
|
|
2706
3164
|
*/
|
|
@@ -2735,6 +3193,10 @@ export declare class DeleteJobResponse extends $dara.Model {
|
|
|
2735
3193
|
}
|
|
2736
3194
|
export declare class DeleteTensorboardRequest extends $dara.Model {
|
|
2737
3195
|
/**
|
|
3196
|
+
* @remarks
|
|
3197
|
+
* The workspace ID.
|
|
3198
|
+
* <props="china">For more information about how to obtain the workspace ID, see [ListWorkspaces](https://help.aliyun.com/document_detail/449124.html).
|
|
3199
|
+
*
|
|
2738
3200
|
* @example
|
|
2739
3201
|
* 46099
|
|
2740
3202
|
*/
|
|
@@ -2752,11 +3214,17 @@ export declare class DeleteTensorboardRequest extends $dara.Model {
|
|
|
2752
3214
|
}
|
|
2753
3215
|
export declare class DeleteTensorboardResponseBody extends $dara.Model {
|
|
2754
3216
|
/**
|
|
3217
|
+
* @remarks
|
|
3218
|
+
* The request ID.
|
|
3219
|
+
*
|
|
2755
3220
|
* @example
|
|
2756
3221
|
* 473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E
|
|
2757
3222
|
*/
|
|
2758
3223
|
requestId?: string;
|
|
2759
3224
|
/**
|
|
3225
|
+
* @remarks
|
|
3226
|
+
* The TensorBoard ID.
|
|
3227
|
+
*
|
|
2760
3228
|
* @example
|
|
2761
3229
|
* tensorboard-20210114104214-vf9lowjt3pso
|
|
2762
3230
|
*/
|
|
@@ -2791,6 +3259,9 @@ export declare class DeleteTensorboardResponse extends $dara.Model {
|
|
|
2791
3259
|
}
|
|
2792
3260
|
export declare class GetJobRequest extends $dara.Model {
|
|
2793
3261
|
/**
|
|
3262
|
+
* @remarks
|
|
3263
|
+
* Specifies whether to return the job details. Default value: true.
|
|
3264
|
+
*
|
|
2794
3265
|
* @example
|
|
2795
3266
|
* true
|
|
2796
3267
|
*/
|
|
@@ -2807,157 +3278,316 @@ export declare class GetJobRequest extends $dara.Model {
|
|
|
2807
3278
|
});
|
|
2808
3279
|
}
|
|
2809
3280
|
export declare class GetJobResponseBody extends $dara.Model {
|
|
3281
|
+
/**
|
|
3282
|
+
* @remarks
|
|
3283
|
+
* The visibility of the job. Valid values:
|
|
3284
|
+
*
|
|
3285
|
+
* * PUBLIC: The code is public in the workspace.
|
|
3286
|
+
* * PRIVATE: The workspace is visible only to you and the administrator of the workspace. This is the default value.
|
|
3287
|
+
*
|
|
3288
|
+
* @example
|
|
3289
|
+
* PRIVATE
|
|
3290
|
+
*/
|
|
2810
3291
|
accessibility?: string;
|
|
2811
3292
|
/**
|
|
3293
|
+
* @remarks
|
|
3294
|
+
* The cluster ID.
|
|
3295
|
+
*
|
|
2812
3296
|
* @example
|
|
2813
3297
|
* a*****
|
|
2814
3298
|
*/
|
|
2815
3299
|
clusterId?: string;
|
|
3300
|
+
/**
|
|
3301
|
+
* @remarks
|
|
3302
|
+
* The code source.
|
|
3303
|
+
*/
|
|
2816
3304
|
codeSource?: GetJobResponseBodyCodeSource;
|
|
3305
|
+
/**
|
|
3306
|
+
* @remarks
|
|
3307
|
+
* The access credential configurations.
|
|
3308
|
+
*/
|
|
2817
3309
|
credentialConfig?: CredentialConfig;
|
|
3310
|
+
/**
|
|
3311
|
+
* @remarks
|
|
3312
|
+
* The data sources.
|
|
3313
|
+
*/
|
|
2818
3314
|
dataSources?: GetJobResponseBodyDataSources[];
|
|
2819
3315
|
/**
|
|
3316
|
+
* @remarks
|
|
3317
|
+
* The job name.
|
|
3318
|
+
*
|
|
2820
3319
|
* @example
|
|
2821
3320
|
* tf-mnist-test
|
|
2822
3321
|
*/
|
|
2823
3322
|
displayName?: string;
|
|
2824
3323
|
/**
|
|
3324
|
+
* @remarks
|
|
3325
|
+
* The duration of the job (seconds).
|
|
3326
|
+
*
|
|
2825
3327
|
* @example
|
|
2826
3328
|
* 3602
|
|
2827
3329
|
*/
|
|
2828
3330
|
duration?: number;
|
|
3331
|
+
/**
|
|
3332
|
+
* @remarks
|
|
3333
|
+
* The elastic job parameters.
|
|
3334
|
+
*/
|
|
2829
3335
|
elasticSpec?: JobElasticSpec;
|
|
2830
3336
|
/**
|
|
3337
|
+
* @remarks
|
|
3338
|
+
* Specifies whether to enable the debugger job.
|
|
3339
|
+
*
|
|
2831
3340
|
* @example
|
|
2832
3341
|
* false
|
|
2833
3342
|
*/
|
|
2834
3343
|
enabledDebugger?: boolean;
|
|
3344
|
+
/**
|
|
3345
|
+
* @remarks
|
|
3346
|
+
* The configurations of environment variables.
|
|
3347
|
+
*/
|
|
2835
3348
|
envs?: {
|
|
2836
3349
|
[key: string]: string;
|
|
2837
3350
|
};
|
|
2838
3351
|
/**
|
|
3352
|
+
* @remarks
|
|
3353
|
+
* The time when the job was created (UTC).
|
|
3354
|
+
*
|
|
2839
3355
|
* @example
|
|
2840
3356
|
* 2021-01-12T14:35:01Z
|
|
2841
3357
|
*/
|
|
2842
3358
|
gmtCreateTime?: string;
|
|
2843
3359
|
/**
|
|
3360
|
+
* @remarks
|
|
3361
|
+
* The time of the job failed (UTC).
|
|
3362
|
+
*
|
|
2844
3363
|
* @example
|
|
2845
3364
|
* 2021-01-12T15:36:08Z
|
|
2846
3365
|
*/
|
|
2847
3366
|
gmtFailedTime?: string;
|
|
2848
3367
|
/**
|
|
3368
|
+
* @remarks
|
|
3369
|
+
* The time when the job ended (UTC).
|
|
3370
|
+
*
|
|
2849
3371
|
* @example
|
|
2850
3372
|
* 2021-01-12T15:36:08Z
|
|
2851
3373
|
*/
|
|
2852
3374
|
gmtFinishTime?: string;
|
|
2853
3375
|
/**
|
|
3376
|
+
* @remarks
|
|
3377
|
+
* The start time of the job (UTC).
|
|
3378
|
+
*
|
|
2854
3379
|
* @example
|
|
2855
3380
|
* 2021-01-12T14:36:21Z
|
|
2856
3381
|
*/
|
|
2857
3382
|
gmtRunningTime?: string;
|
|
2858
3383
|
/**
|
|
3384
|
+
* @remarks
|
|
3385
|
+
* The time when the job stopped (UTC).
|
|
3386
|
+
*
|
|
2859
3387
|
* @example
|
|
2860
3388
|
* 2021-01-12T15:36:08Z
|
|
2861
3389
|
*/
|
|
2862
3390
|
gmtStoppedTime?: string;
|
|
2863
3391
|
/**
|
|
3392
|
+
* @remarks
|
|
3393
|
+
* The time when the job was submitted to the cluster (UTC).
|
|
3394
|
+
*
|
|
2864
3395
|
* @example
|
|
2865
3396
|
* 2021-01-12T14:36:01Z
|
|
2866
3397
|
*/
|
|
2867
3398
|
gmtSubmittedTime?: string;
|
|
2868
3399
|
/**
|
|
3400
|
+
* @remarks
|
|
3401
|
+
* The time when the job succeeded (UTC).
|
|
3402
|
+
*
|
|
2869
3403
|
* @example
|
|
2870
3404
|
* 2021-01-12T15:36:08Z
|
|
2871
3405
|
*/
|
|
2872
3406
|
gmtSuccessedTime?: string;
|
|
2873
3407
|
/**
|
|
3408
|
+
* @remarks
|
|
3409
|
+
* The job ID.
|
|
3410
|
+
*
|
|
2874
3411
|
* @example
|
|
2875
3412
|
* dlc*******
|
|
2876
3413
|
*/
|
|
2877
3414
|
jobId?: string;
|
|
3415
|
+
/**
|
|
3416
|
+
* @remarks
|
|
3417
|
+
* The node configurations of the job, which is **JobSpecs** in the CreateJob operation.
|
|
3418
|
+
*/
|
|
2878
3419
|
jobSpecs?: JobSpec[];
|
|
2879
3420
|
/**
|
|
3421
|
+
* @remarks
|
|
3422
|
+
* The job type. Specified by the JobType parameter of the [CreateJob](https://help.aliyun.com/document_detail/459672.html) operation.
|
|
3423
|
+
*
|
|
2880
3424
|
* @example
|
|
2881
3425
|
* TFJob
|
|
2882
3426
|
*/
|
|
2883
3427
|
jobType?: string;
|
|
3428
|
+
/**
|
|
3429
|
+
* @remarks
|
|
3430
|
+
* All running nodes of the job.
|
|
3431
|
+
*/
|
|
2884
3432
|
pods?: GetJobResponseBodyPods[];
|
|
2885
3433
|
/**
|
|
3434
|
+
* @remarks
|
|
3435
|
+
* The priority of the job. Valid values: 1 to 9.
|
|
3436
|
+
*
|
|
2886
3437
|
* @example
|
|
2887
3438
|
* 1
|
|
2888
3439
|
*/
|
|
2889
3440
|
priority?: number;
|
|
2890
3441
|
/**
|
|
3442
|
+
* @remarks
|
|
3443
|
+
* The status detail code, which is a sub-status under the current status.
|
|
3444
|
+
*
|
|
2891
3445
|
* @example
|
|
2892
3446
|
* JobStoppedByUser
|
|
2893
3447
|
*/
|
|
2894
3448
|
reasonCode?: string;
|
|
2895
3449
|
/**
|
|
3450
|
+
* @remarks
|
|
3451
|
+
* The description of the status detail code.
|
|
3452
|
+
*
|
|
2896
3453
|
* @example
|
|
2897
3454
|
* Job is stopped by user.
|
|
2898
3455
|
*/
|
|
2899
3456
|
reasonMessage?: string;
|
|
2900
3457
|
/**
|
|
3458
|
+
* @remarks
|
|
3459
|
+
* The request ID, which can be used for troubleshooting.
|
|
3460
|
+
*
|
|
2901
3461
|
* @example
|
|
2902
3462
|
* 473469C7-AA6F-4DC5-B3DB-xxxxxxxx
|
|
2903
3463
|
*/
|
|
2904
3464
|
requestId?: string;
|
|
2905
3465
|
/**
|
|
3466
|
+
* @remarks
|
|
3467
|
+
* The ID of the resource group to which the job belongs.
|
|
3468
|
+
*
|
|
2906
3469
|
* @example
|
|
2907
3470
|
* r******
|
|
2908
3471
|
*/
|
|
2909
3472
|
resourceId?: string;
|
|
2910
3473
|
/**
|
|
3474
|
+
* @remarks
|
|
3475
|
+
* The resource level that the job uses.
|
|
3476
|
+
*
|
|
2911
3477
|
* @example
|
|
2912
3478
|
* L0
|
|
2913
3479
|
*/
|
|
2914
3480
|
resourceLevel?: string;
|
|
2915
3481
|
/**
|
|
3482
|
+
* @remarks
|
|
3483
|
+
* The resource type. Valid values: ECS, Lingjun, and ACS.
|
|
3484
|
+
*
|
|
2916
3485
|
* @example
|
|
2917
3486
|
* ECS
|
|
2918
3487
|
*/
|
|
2919
3488
|
resourceType?: string;
|
|
2920
3489
|
/**
|
|
3490
|
+
* @remarks
|
|
3491
|
+
* The number of retries and the maximum number of retries used by the job.
|
|
3492
|
+
*
|
|
2921
3493
|
* @example
|
|
2922
3494
|
* 0/10
|
|
2923
3495
|
*/
|
|
2924
3496
|
restartTimes?: string;
|
|
3497
|
+
/**
|
|
3498
|
+
* @remarks
|
|
3499
|
+
* The settings of the additional parameters of the job.
|
|
3500
|
+
*/
|
|
2925
3501
|
settings?: JobSettings;
|
|
2926
3502
|
/**
|
|
3503
|
+
* @remarks
|
|
3504
|
+
* The status of the job. Valid values:
|
|
3505
|
+
*
|
|
3506
|
+
* * Creating
|
|
3507
|
+
* * Queuing
|
|
3508
|
+
* * Bidding (Only for Lingjun preemptible jobs)
|
|
3509
|
+
* * EnvPreparing
|
|
3510
|
+
* * SanityChecking
|
|
3511
|
+
* * Running
|
|
3512
|
+
* * Restarting
|
|
3513
|
+
* * Stopping
|
|
3514
|
+
* * SucceededReserving
|
|
3515
|
+
* * FailedReserving
|
|
3516
|
+
* * Succeeded
|
|
3517
|
+
* * Failed
|
|
3518
|
+
* * Stopped
|
|
3519
|
+
*
|
|
2927
3520
|
* @example
|
|
2928
3521
|
* Stopped
|
|
2929
3522
|
*/
|
|
2930
3523
|
status?: string;
|
|
3524
|
+
/**
|
|
3525
|
+
* @remarks
|
|
3526
|
+
* The status history.
|
|
3527
|
+
*/
|
|
2931
3528
|
statusHistory?: StatusTransitionItem[];
|
|
2932
3529
|
/**
|
|
3530
|
+
* @remarks
|
|
3531
|
+
* The sub-status of the job, such as its preemption status.
|
|
3532
|
+
*
|
|
2933
3533
|
* @example
|
|
2934
3534
|
* Restarting
|
|
2935
3535
|
*/
|
|
2936
3536
|
subStatus?: string;
|
|
3537
|
+
/**
|
|
3538
|
+
* @remarks
|
|
3539
|
+
* The tenant ID.
|
|
3540
|
+
*
|
|
3541
|
+
* @example
|
|
3542
|
+
* GAR***W134
|
|
3543
|
+
*/
|
|
2937
3544
|
tenantId?: string;
|
|
2938
3545
|
/**
|
|
3546
|
+
* @remarks
|
|
3547
|
+
* The directory that contains requirements.txt.
|
|
3548
|
+
*
|
|
2939
3549
|
* @example
|
|
2940
3550
|
* /root/code/
|
|
2941
3551
|
*/
|
|
2942
3552
|
thirdpartyLibDir?: string;
|
|
3553
|
+
/**
|
|
3554
|
+
* @remarks
|
|
3555
|
+
* The third-party Python libraries to be installed.
|
|
3556
|
+
*/
|
|
2943
3557
|
thirdpartyLibs?: string[];
|
|
2944
3558
|
/**
|
|
3559
|
+
* @remarks
|
|
3560
|
+
* The command that is run to start each node.
|
|
3561
|
+
*
|
|
2945
3562
|
* @example
|
|
2946
3563
|
* python /root/code/mnist.py
|
|
2947
3564
|
*/
|
|
2948
3565
|
userCommand?: string;
|
|
2949
3566
|
/**
|
|
3567
|
+
* @remarks
|
|
3568
|
+
* The UID of the Alibaba Cloud account who submitted the job.
|
|
3569
|
+
*
|
|
2950
3570
|
* @example
|
|
2951
3571
|
* 12*********
|
|
2952
3572
|
*/
|
|
2953
3573
|
userId?: string;
|
|
3574
|
+
/**
|
|
3575
|
+
* @remarks
|
|
3576
|
+
* The VPC of the user.
|
|
3577
|
+
*/
|
|
2954
3578
|
userVpc?: GetJobResponseBodyUserVpc;
|
|
2955
3579
|
/**
|
|
3580
|
+
* @remarks
|
|
3581
|
+
* The ID of the workspace to which the job belongs.
|
|
3582
|
+
*
|
|
2956
3583
|
* @example
|
|
2957
3584
|
* 268
|
|
2958
3585
|
*/
|
|
2959
3586
|
workspaceId?: string;
|
|
2960
3587
|
/**
|
|
3588
|
+
* @remarks
|
|
3589
|
+
* The name of the workspace to which the job belongs.
|
|
3590
|
+
*
|
|
2961
3591
|
* @example
|
|
2962
3592
|
* dlc-workspace
|
|
2963
3593
|
*/
|
|
@@ -2992,16 +3622,25 @@ export declare class GetJobResponse extends $dara.Model {
|
|
|
2992
3622
|
}
|
|
2993
3623
|
export declare class GetJobEventsRequest extends $dara.Model {
|
|
2994
3624
|
/**
|
|
3625
|
+
* @remarks
|
|
3626
|
+
* The end time (UTC) of the time range for querying events. The default value is the current time.
|
|
3627
|
+
*
|
|
2995
3628
|
* @example
|
|
2996
3629
|
* 2020-11-08T18:00:00Z
|
|
2997
3630
|
*/
|
|
2998
3631
|
endTime?: string;
|
|
2999
3632
|
/**
|
|
3633
|
+
* @remarks
|
|
3634
|
+
* The maximum number of events that can be returned. Default value: 2000.
|
|
3635
|
+
*
|
|
3000
3636
|
* @example
|
|
3001
3637
|
* 100
|
|
3002
3638
|
*/
|
|
3003
3639
|
maxEventsNum?: number;
|
|
3004
3640
|
/**
|
|
3641
|
+
* @remarks
|
|
3642
|
+
* The start time (UTC) of the time range for querying events. The default value is 7 days ago.
|
|
3643
|
+
*
|
|
3005
3644
|
* @example
|
|
3006
3645
|
* 2020-11-08T16:00:00Z
|
|
3007
3646
|
*/
|
|
@@ -3018,13 +3657,23 @@ export declare class GetJobEventsRequest extends $dara.Model {
|
|
|
3018
3657
|
});
|
|
3019
3658
|
}
|
|
3020
3659
|
export declare class GetJobEventsResponseBody extends $dara.Model {
|
|
3660
|
+
/**
|
|
3661
|
+
* @remarks
|
|
3662
|
+
* The events.
|
|
3663
|
+
*/
|
|
3021
3664
|
events?: string[];
|
|
3022
3665
|
/**
|
|
3666
|
+
* @remarks
|
|
3667
|
+
* The job ID.
|
|
3668
|
+
*
|
|
3023
3669
|
* @example
|
|
3024
3670
|
* dlc-20210126170216-******
|
|
3025
3671
|
*/
|
|
3026
3672
|
jobId?: string;
|
|
3027
3673
|
/**
|
|
3674
|
+
* @remarks
|
|
3675
|
+
* The request ID, which can be used for troubleshooting.
|
|
3676
|
+
*
|
|
3028
3677
|
* @example
|
|
3029
3678
|
* 78F6FCE2-278F-4C4A-A6B7-DD8ECEA9C456
|
|
3030
3679
|
*/
|
|
@@ -3059,12 +3708,26 @@ export declare class GetJobEventsResponse extends $dara.Model {
|
|
|
3059
3708
|
}
|
|
3060
3709
|
export declare class GetJobMetricsRequest extends $dara.Model {
|
|
3061
3710
|
/**
|
|
3711
|
+
* @remarks
|
|
3712
|
+
* The end time of the time range to query monitoring data. The time is displayed in UTC. The default value is the current time.
|
|
3713
|
+
*
|
|
3062
3714
|
* @example
|
|
3063
3715
|
* 2020-11-09T16:00:00Z
|
|
3064
3716
|
*/
|
|
3065
3717
|
endTime?: string;
|
|
3066
3718
|
/**
|
|
3067
3719
|
* @remarks
|
|
3720
|
+
* The type of the monitoring metrics. Valid values:
|
|
3721
|
+
*
|
|
3722
|
+
* * GpuCoreUsage: GPU utilization
|
|
3723
|
+
* * GpuMemoryUsage: GPU memory utilization
|
|
3724
|
+
* * CpuCoreUsage: CPU utilization
|
|
3725
|
+
* * MemoryUsage: memory utilization
|
|
3726
|
+
* * NetworkInputRate: the network write in rate.
|
|
3727
|
+
* * NetworkOutputRate: the network write out rate
|
|
3728
|
+
* * DiskReadRate: the disk read rate
|
|
3729
|
+
* * DiskWriteRate: the disk write rate
|
|
3730
|
+
*
|
|
3068
3731
|
* This parameter is required.
|
|
3069
3732
|
*
|
|
3070
3733
|
* @example
|
|
@@ -3072,16 +3735,25 @@ export declare class GetJobMetricsRequest extends $dara.Model {
|
|
|
3072
3735
|
*/
|
|
3073
3736
|
metricType?: string;
|
|
3074
3737
|
/**
|
|
3738
|
+
* @remarks
|
|
3739
|
+
* The beginning of the time range to query monitoring data. The time is displayed in UTC. The default value is the time 1 hour before the current time.
|
|
3740
|
+
*
|
|
3075
3741
|
* @example
|
|
3076
3742
|
* 2020-11-08T16:00:00Z
|
|
3077
3743
|
*/
|
|
3078
3744
|
startTime?: string;
|
|
3079
3745
|
/**
|
|
3746
|
+
* @remarks
|
|
3747
|
+
* The interval at which monitoring data is returned. Default value: 5. Unit: minutes.
|
|
3748
|
+
*
|
|
3080
3749
|
* @example
|
|
3081
3750
|
* 5m
|
|
3082
3751
|
*/
|
|
3083
3752
|
timeStep?: string;
|
|
3084
3753
|
/**
|
|
3754
|
+
* @remarks
|
|
3755
|
+
* The temporary token used for authentication.
|
|
3756
|
+
*
|
|
3085
3757
|
* @example
|
|
3086
3758
|
* eyXXXX-XXXX.XXXXX
|
|
3087
3759
|
*/
|
|
@@ -3099,12 +3771,22 @@ export declare class GetJobMetricsRequest extends $dara.Model {
|
|
|
3099
3771
|
}
|
|
3100
3772
|
export declare class GetJobMetricsResponseBody extends $dara.Model {
|
|
3101
3773
|
/**
|
|
3774
|
+
* @remarks
|
|
3775
|
+
* The job ID.
|
|
3776
|
+
*
|
|
3102
3777
|
* @example
|
|
3103
3778
|
* dlc-20210126170216-*******
|
|
3104
3779
|
*/
|
|
3105
3780
|
jobId?: string;
|
|
3781
|
+
/**
|
|
3782
|
+
* @remarks
|
|
3783
|
+
* The monitoring metrics of the job.
|
|
3784
|
+
*/
|
|
3106
3785
|
podMetrics?: PodMetric[];
|
|
3107
3786
|
/**
|
|
3787
|
+
* @remarks
|
|
3788
|
+
* The request ID. You can troubleshoot issues based on the request ID.
|
|
3789
|
+
*
|
|
3108
3790
|
* @example
|
|
3109
3791
|
* 473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E
|
|
3110
3792
|
*/
|
|
@@ -3140,6 +3822,8 @@ export declare class GetJobMetricsResponse extends $dara.Model {
|
|
|
3140
3822
|
export declare class GetJobSanityCheckResultRequest extends $dara.Model {
|
|
3141
3823
|
/**
|
|
3142
3824
|
* @remarks
|
|
3825
|
+
* The nth time for which the job sanity check is performed.
|
|
3826
|
+
*
|
|
3143
3827
|
* This parameter is required.
|
|
3144
3828
|
*
|
|
3145
3829
|
* @example
|
|
@@ -3147,10 +3831,26 @@ export declare class GetJobSanityCheckResultRequest extends $dara.Model {
|
|
|
3147
3831
|
*/
|
|
3148
3832
|
sanityCheckNumber?: number;
|
|
3149
3833
|
/**
|
|
3834
|
+
* @remarks
|
|
3835
|
+
* The phase in which the job sanity check is performed.
|
|
3836
|
+
*
|
|
3837
|
+
* * CheckInit
|
|
3838
|
+
* * DeviceCheck
|
|
3839
|
+
* * SingleNodeCommCheck
|
|
3840
|
+
* * TwoNodeCommCheck
|
|
3841
|
+
* * AllNodeCommCheck
|
|
3842
|
+
*
|
|
3150
3843
|
* @example
|
|
3151
3844
|
* DeviceCheck
|
|
3152
3845
|
*/
|
|
3153
3846
|
sanityCheckPhase?: string;
|
|
3847
|
+
/**
|
|
3848
|
+
* @remarks
|
|
3849
|
+
* The token information for job sharing. For more information about how to obtain the token information, see [GetToken](https://help.aliyun.com/document_detail/2557812.html).
|
|
3850
|
+
*
|
|
3851
|
+
* @example
|
|
3852
|
+
* eyJhbG******zI1NiIsInR5cCI6IkpXVCJ9.eyJle****jE3MDk1Mzk0NDIsImlhdCI6MTcwODkzNDY0MiwidXNlcl9pZCI6IjE3NTgwNTQxNjI0Mzg2NTUiLCJ0YXJnZXRfaWQiOiJkbGM1OGh1a2xyYzZwdGMyIiwidGFyZ2V0X3R5cGUiOiJqb2IifQ.GNL7jo6****mgKKv0QeGIYgvBufSU-PH_EQttX****
|
|
3853
|
+
*/
|
|
3154
3854
|
token?: string;
|
|
3155
3855
|
static names(): {
|
|
3156
3856
|
[key: string]: string;
|
|
@@ -3165,15 +3865,25 @@ export declare class GetJobSanityCheckResultRequest extends $dara.Model {
|
|
|
3165
3865
|
}
|
|
3166
3866
|
export declare class GetJobSanityCheckResultResponseBody extends $dara.Model {
|
|
3167
3867
|
/**
|
|
3868
|
+
* @remarks
|
|
3869
|
+
* The job ID.
|
|
3870
|
+
*
|
|
3168
3871
|
* @example
|
|
3169
3872
|
* dlc-20210126170216-xxxxxx
|
|
3170
3873
|
*/
|
|
3171
3874
|
jobId?: string;
|
|
3172
3875
|
/**
|
|
3876
|
+
* @remarks
|
|
3877
|
+
* The request ID.
|
|
3878
|
+
*
|
|
3173
3879
|
* @example
|
|
3174
3880
|
* B3789344-F1xxxBE-5xx2-A04D-xxxxx
|
|
3175
3881
|
*/
|
|
3176
3882
|
requestID?: string;
|
|
3883
|
+
/**
|
|
3884
|
+
* @remarks
|
|
3885
|
+
* The job sanity check result.
|
|
3886
|
+
*/
|
|
3177
3887
|
sanityCheckResult?: SanityCheckResultItem[];
|
|
3178
3888
|
static names(): {
|
|
3179
3889
|
[key: string]: string;
|
|
@@ -3205,21 +3915,33 @@ export declare class GetJobSanityCheckResultResponse extends $dara.Model {
|
|
|
3205
3915
|
}
|
|
3206
3916
|
export declare class GetPodEventsRequest extends $dara.Model {
|
|
3207
3917
|
/**
|
|
3918
|
+
* @remarks
|
|
3919
|
+
* The end time (UTC).
|
|
3920
|
+
*
|
|
3208
3921
|
* @example
|
|
3209
3922
|
* 2020-11-09T16:00:00Z
|
|
3210
3923
|
*/
|
|
3211
3924
|
endTime?: string;
|
|
3212
3925
|
/**
|
|
3926
|
+
* @remarks
|
|
3927
|
+
* The maximum number of events that can be returned.
|
|
3928
|
+
*
|
|
3213
3929
|
* @example
|
|
3214
3930
|
* 100
|
|
3215
3931
|
*/
|
|
3216
3932
|
maxEventsNum?: number;
|
|
3217
3933
|
/**
|
|
3934
|
+
* @remarks
|
|
3935
|
+
* The node UID. Call [GetJob](https://help.aliyun.com/document_detail/459677.html) to get the node UID.
|
|
3936
|
+
*
|
|
3218
3937
|
* @example
|
|
3219
3938
|
* dlc-20210126170216-*****-chief-0
|
|
3220
3939
|
*/
|
|
3221
3940
|
podUid?: string;
|
|
3222
3941
|
/**
|
|
3942
|
+
* @remarks
|
|
3943
|
+
* The start time (UTC).
|
|
3944
|
+
*
|
|
3223
3945
|
* @example
|
|
3224
3946
|
* 2020-11-08T16:00:00Z
|
|
3225
3947
|
*/
|
|
@@ -3236,14 +3958,23 @@ export declare class GetPodEventsRequest extends $dara.Model {
|
|
|
3236
3958
|
});
|
|
3237
3959
|
}
|
|
3238
3960
|
export declare class GetPodEventsResponseBody extends $dara.Model {
|
|
3961
|
+
/**
|
|
3962
|
+
* @remarks
|
|
3963
|
+
* The events returned.
|
|
3964
|
+
*/
|
|
3239
3965
|
events?: string[];
|
|
3240
3966
|
/**
|
|
3967
|
+
* @remarks
|
|
3968
|
+
* The job ID.
|
|
3969
|
+
*
|
|
3241
3970
|
* @example
|
|
3242
3971
|
* dlc-20210126170216-*****
|
|
3243
3972
|
*/
|
|
3244
3973
|
jobId?: string;
|
|
3245
3974
|
/**
|
|
3246
3975
|
* @remarks
|
|
3976
|
+
* The node ID.
|
|
3977
|
+
*
|
|
3247
3978
|
* This parameter is required.
|
|
3248
3979
|
*
|
|
3249
3980
|
* @example
|
|
@@ -3251,11 +3982,17 @@ export declare class GetPodEventsResponseBody extends $dara.Model {
|
|
|
3251
3982
|
*/
|
|
3252
3983
|
podId?: string;
|
|
3253
3984
|
/**
|
|
3985
|
+
* @remarks
|
|
3986
|
+
* The node UID.
|
|
3987
|
+
*
|
|
3254
3988
|
* @example
|
|
3255
3989
|
* 94a7cc7c-0033-48b5-85bd-71c63592c268
|
|
3256
3990
|
*/
|
|
3257
3991
|
podUid?: string;
|
|
3258
3992
|
/**
|
|
3993
|
+
* @remarks
|
|
3994
|
+
* The request ID, which can be used for troubleshooting.
|
|
3995
|
+
*
|
|
3259
3996
|
* @example
|
|
3260
3997
|
* 473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E
|
|
3261
3998
|
*/
|
|
@@ -3290,26 +4027,44 @@ export declare class GetPodEventsResponse extends $dara.Model {
|
|
|
3290
4027
|
}
|
|
3291
4028
|
export declare class GetPodLogsRequest extends $dara.Model {
|
|
3292
4029
|
/**
|
|
4030
|
+
* @remarks
|
|
4031
|
+
* Specifies whether to download the log file. Default value: false. Valid values:
|
|
4032
|
+
*
|
|
4033
|
+
* * false
|
|
4034
|
+
* * true
|
|
4035
|
+
*
|
|
3293
4036
|
* @example
|
|
3294
4037
|
* true
|
|
3295
4038
|
*/
|
|
3296
4039
|
downloadToFile?: boolean;
|
|
3297
4040
|
/**
|
|
4041
|
+
* @remarks
|
|
4042
|
+
* The end time of the query. Default value: current time.
|
|
4043
|
+
*
|
|
3298
4044
|
* @example
|
|
3299
4045
|
* 2020-11-08T17:00:00Z
|
|
3300
4046
|
*/
|
|
3301
4047
|
endTime?: string;
|
|
3302
4048
|
/**
|
|
4049
|
+
* @remarks
|
|
4050
|
+
* The maximum number of log entries. Default value: 2000.
|
|
4051
|
+
*
|
|
3303
4052
|
* @example
|
|
3304
4053
|
* 100
|
|
3305
4054
|
*/
|
|
3306
4055
|
maxLines?: number;
|
|
3307
4056
|
/**
|
|
4057
|
+
* @remarks
|
|
4058
|
+
* The node UID. For more information about how to obtain a node UID, see [GetJob](https://help.aliyun.com/document_detail/459677.html).
|
|
4059
|
+
*
|
|
3308
4060
|
* @example
|
|
3309
4061
|
* fe846462-af2c-4521-bd6f-96787a57****
|
|
3310
4062
|
*/
|
|
3311
4063
|
podUid?: string;
|
|
3312
4064
|
/**
|
|
4065
|
+
* @remarks
|
|
4066
|
+
* The start time of the query. Default value: 7 days ago.
|
|
4067
|
+
*
|
|
3313
4068
|
* @example
|
|
3314
4069
|
* 2020-11-08T16:00:00Z
|
|
3315
4070
|
*/
|
|
@@ -3327,22 +4082,38 @@ export declare class GetPodLogsRequest extends $dara.Model {
|
|
|
3327
4082
|
}
|
|
3328
4083
|
export declare class GetPodLogsResponseBody extends $dara.Model {
|
|
3329
4084
|
/**
|
|
4085
|
+
* @remarks
|
|
4086
|
+
* The job ID.
|
|
4087
|
+
*
|
|
3330
4088
|
* @example
|
|
3331
4089
|
* dlc-20210126170216-******
|
|
3332
4090
|
*/
|
|
3333
4091
|
jobId?: string;
|
|
4092
|
+
/**
|
|
4093
|
+
* @remarks
|
|
4094
|
+
* The logs.
|
|
4095
|
+
*/
|
|
3334
4096
|
logs?: string[];
|
|
3335
4097
|
/**
|
|
4098
|
+
* @remarks
|
|
4099
|
+
* The node ID.
|
|
4100
|
+
*
|
|
3336
4101
|
* @example
|
|
3337
4102
|
* dlc-20210126170216-****-chief-0
|
|
3338
4103
|
*/
|
|
3339
4104
|
podId?: string;
|
|
3340
4105
|
/**
|
|
4106
|
+
* @remarks
|
|
4107
|
+
* The instance UID.
|
|
4108
|
+
*
|
|
3341
4109
|
* @example
|
|
3342
4110
|
* 94a7cc7c-0033-48b5-85bd-71c63592c268
|
|
3343
4111
|
*/
|
|
3344
4112
|
podUid?: string;
|
|
3345
4113
|
/**
|
|
4114
|
+
* @remarks
|
|
4115
|
+
* The request ID which is used for diagnostics and Q\\&A.
|
|
4116
|
+
*
|
|
3346
4117
|
* @example
|
|
3347
4118
|
* 473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E
|
|
3348
4119
|
*/
|
|
@@ -3375,18 +4146,17 @@ export declare class GetPodLogsResponse extends $dara.Model {
|
|
|
3375
4146
|
[key: string]: any;
|
|
3376
4147
|
});
|
|
3377
4148
|
}
|
|
3378
|
-
export declare class
|
|
4149
|
+
export declare class GetRayDashboardRequest extends $dara.Model {
|
|
3379
4150
|
/**
|
|
3380
4151
|
* @example
|
|
3381
|
-
*
|
|
4152
|
+
* false
|
|
3382
4153
|
*/
|
|
3383
|
-
|
|
3384
|
-
token?: string;
|
|
4154
|
+
isShared?: boolean;
|
|
3385
4155
|
/**
|
|
3386
4156
|
* @example
|
|
3387
|
-
*
|
|
4157
|
+
* some_token_value
|
|
3388
4158
|
*/
|
|
3389
|
-
|
|
4159
|
+
token?: string;
|
|
3390
4160
|
static names(): {
|
|
3391
4161
|
[key: string]: string;
|
|
3392
4162
|
};
|
|
@@ -3398,15 +4168,94 @@ export declare class GetTensorboardRequest extends $dara.Model {
|
|
|
3398
4168
|
[key: string]: any;
|
|
3399
4169
|
});
|
|
3400
4170
|
}
|
|
3401
|
-
export declare class
|
|
3402
|
-
|
|
3403
|
-
|
|
3404
|
-
|
|
3405
|
-
|
|
3406
|
-
|
|
3407
|
-
|
|
3408
|
-
|
|
3409
|
-
|
|
4171
|
+
export declare class GetRayDashboardResponseBody extends $dara.Model {
|
|
4172
|
+
/**
|
|
4173
|
+
* @example
|
|
4174
|
+
* true
|
|
4175
|
+
*/
|
|
4176
|
+
metricsEnabled?: string;
|
|
4177
|
+
/**
|
|
4178
|
+
* @example
|
|
4179
|
+
* https://pre-pai-dlc-proxy-cn-hangzhou.aliyun.com/ray/dashboard/dlc1k7426goc7bvy
|
|
4180
|
+
*/
|
|
4181
|
+
url?: string;
|
|
4182
|
+
static names(): {
|
|
4183
|
+
[key: string]: string;
|
|
4184
|
+
};
|
|
4185
|
+
static types(): {
|
|
4186
|
+
[key: string]: any;
|
|
4187
|
+
};
|
|
4188
|
+
validate(): void;
|
|
4189
|
+
constructor(map?: {
|
|
4190
|
+
[key: string]: any;
|
|
4191
|
+
});
|
|
4192
|
+
}
|
|
4193
|
+
export declare class GetRayDashboardResponse extends $dara.Model {
|
|
4194
|
+
headers?: {
|
|
4195
|
+
[key: string]: string;
|
|
4196
|
+
};
|
|
4197
|
+
statusCode?: number;
|
|
4198
|
+
body?: GetRayDashboardResponseBody;
|
|
4199
|
+
static names(): {
|
|
4200
|
+
[key: string]: string;
|
|
4201
|
+
};
|
|
4202
|
+
static types(): {
|
|
4203
|
+
[key: string]: any;
|
|
4204
|
+
};
|
|
4205
|
+
validate(): void;
|
|
4206
|
+
constructor(map?: {
|
|
4207
|
+
[key: string]: any;
|
|
4208
|
+
});
|
|
4209
|
+
}
|
|
4210
|
+
export declare class GetTensorboardRequest extends $dara.Model {
|
|
4211
|
+
/**
|
|
4212
|
+
* @remarks
|
|
4213
|
+
* The job ID. For more information about how to query the job ID, see [ListJob](https://help.aliyun.com/document_detail/459676.html).
|
|
4214
|
+
*
|
|
4215
|
+
* @example
|
|
4216
|
+
* dlc-xxxxxxxx
|
|
4217
|
+
*/
|
|
4218
|
+
jodId?: string;
|
|
4219
|
+
/**
|
|
4220
|
+
* @remarks
|
|
4221
|
+
* The information about the shared token. You can specify this parameter to obtain the permission to view a TensorBoard job based on the shared token information. You can execute [GetTensorboardSharedUrl](https://help.aliyun.com/document_detail/2557813.html) and extract the shared token from the obtained information.
|
|
4222
|
+
*
|
|
4223
|
+
* @example
|
|
4224
|
+
* eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.e
|
|
4225
|
+
* yJleHAiOjE2OTUyODA0NTMsImlhdCI6MTY5NTE5NDA1MywidXNlcl9pZCI6IjExN
|
|
4226
|
+
* Tc3MDMyNzA5OTQ5MDEiLCJ0YXJnZXRfaWQiOiJ0YjRrOGxjNXhmdTM2b3B0Iiw
|
|
4227
|
+
* idGFyZ2V0X3R5cGUiOiJ0ZW5zb3Jib2FyZCJ9.6eT68J-KMBwwfN2d7fj7u6vyPcf0erfqYeizd2N****
|
|
4228
|
+
*/
|
|
4229
|
+
token?: string;
|
|
4230
|
+
/**
|
|
4231
|
+
* @remarks
|
|
4232
|
+
* The workspace ID.
|
|
4233
|
+
* <props="china">For more information about how to query the workspace ID, see [ListWorkspaces](https://help.aliyun.com/document_detail/449124.html).
|
|
4234
|
+
*
|
|
4235
|
+
* @example
|
|
4236
|
+
* 46099
|
|
4237
|
+
*/
|
|
4238
|
+
workspaceId?: string;
|
|
4239
|
+
static names(): {
|
|
4240
|
+
[key: string]: string;
|
|
4241
|
+
};
|
|
4242
|
+
static types(): {
|
|
4243
|
+
[key: string]: any;
|
|
4244
|
+
};
|
|
4245
|
+
validate(): void;
|
|
4246
|
+
constructor(map?: {
|
|
4247
|
+
[key: string]: any;
|
|
4248
|
+
});
|
|
4249
|
+
}
|
|
4250
|
+
export declare class GetTensorboardResponse extends $dara.Model {
|
|
4251
|
+
headers?: {
|
|
4252
|
+
[key: string]: string;
|
|
4253
|
+
};
|
|
4254
|
+
statusCode?: number;
|
|
4255
|
+
body?: Tensorboard;
|
|
4256
|
+
static names(): {
|
|
4257
|
+
[key: string]: string;
|
|
4258
|
+
};
|
|
3410
4259
|
static types(): {
|
|
3411
4260
|
[key: string]: any;
|
|
3412
4261
|
};
|
|
@@ -3417,6 +4266,9 @@ export declare class GetTensorboardResponse extends $dara.Model {
|
|
|
3417
4266
|
}
|
|
3418
4267
|
export declare class GetTensorboardSharedUrlRequest extends $dara.Model {
|
|
3419
4268
|
/**
|
|
4269
|
+
* @remarks
|
|
4270
|
+
* The validity period of the shareable link. Unit: seconds. Maximum value: 604800.
|
|
4271
|
+
*
|
|
3420
4272
|
* @example
|
|
3421
4273
|
* 86400
|
|
3422
4274
|
*/
|
|
@@ -3434,11 +4286,17 @@ export declare class GetTensorboardSharedUrlRequest extends $dara.Model {
|
|
|
3434
4286
|
}
|
|
3435
4287
|
export declare class GetTensorboardSharedUrlResponseBody extends $dara.Model {
|
|
3436
4288
|
/**
|
|
4289
|
+
* @remarks
|
|
4290
|
+
* The request ID which is used for troubleshooting.
|
|
4291
|
+
*
|
|
3437
4292
|
* @example
|
|
3438
4293
|
* 473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E
|
|
3439
4294
|
*/
|
|
3440
4295
|
requestId?: string;
|
|
3441
4296
|
/**
|
|
4297
|
+
* @remarks
|
|
4298
|
+
* The shareable link of the TensorBoard task.
|
|
4299
|
+
*
|
|
3442
4300
|
* @example
|
|
3443
4301
|
* http://pai-dlc-proxy-xxx.alicyuncs.com/xxx/xxx/token/
|
|
3444
4302
|
*/
|
|
@@ -3473,16 +4331,25 @@ export declare class GetTensorboardSharedUrlResponse extends $dara.Model {
|
|
|
3473
4331
|
}
|
|
3474
4332
|
export declare class GetTokenRequest extends $dara.Model {
|
|
3475
4333
|
/**
|
|
4334
|
+
* @remarks
|
|
4335
|
+
* The time when the share link expires. Default value: 604800 seconds. Minimum value: 0.
|
|
4336
|
+
*
|
|
3476
4337
|
* @example
|
|
3477
4338
|
* 60
|
|
3478
4339
|
*/
|
|
3479
4340
|
expireTime?: number;
|
|
3480
4341
|
/**
|
|
4342
|
+
* @remarks
|
|
4343
|
+
* The ID of the job that is waiting to be shared.
|
|
4344
|
+
*
|
|
3481
4345
|
* @example
|
|
3482
4346
|
* dlc*******
|
|
3483
4347
|
*/
|
|
3484
4348
|
targetId?: string;
|
|
3485
4349
|
/**
|
|
4350
|
+
* @remarks
|
|
4351
|
+
* The type of the job that you want to share. Valid values: job and tensorboard.
|
|
4352
|
+
*
|
|
3486
4353
|
* @example
|
|
3487
4354
|
* job
|
|
3488
4355
|
*/
|
|
@@ -3500,11 +4367,17 @@ export declare class GetTokenRequest extends $dara.Model {
|
|
|
3500
4367
|
}
|
|
3501
4368
|
export declare class GetTokenResponseBody extends $dara.Model {
|
|
3502
4369
|
/**
|
|
4370
|
+
* @remarks
|
|
4371
|
+
* The request ID, which is used to troubleshoot issues.
|
|
4372
|
+
*
|
|
3503
4373
|
* @example
|
|
3504
4374
|
* 473469C7-AA6F-4DC5-B3DB-xxxxxxxx
|
|
3505
4375
|
*/
|
|
3506
4376
|
requestId?: string;
|
|
3507
4377
|
/**
|
|
4378
|
+
* @remarks
|
|
4379
|
+
* The token of the shared job, which can be used as the value of the Token parameter in the GetJob API operation to view information about the shared job.
|
|
4380
|
+
*
|
|
3508
4381
|
* @example
|
|
3509
4382
|
* eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9*****
|
|
3510
4383
|
*/
|
|
@@ -3538,10 +4411,20 @@ export declare class GetTokenResponse extends $dara.Model {
|
|
|
3538
4411
|
});
|
|
3539
4412
|
}
|
|
3540
4413
|
export declare class GetWebTerminalRequest extends $dara.Model {
|
|
4414
|
+
/**
|
|
4415
|
+
* @remarks
|
|
4416
|
+
* Specifies whether to create a shareable link to access the container. Valid values:
|
|
4417
|
+
*
|
|
4418
|
+
* * true: returns a shareable link to access the container. The link will expire after 30 seconds and can only be used once. After you access the container by using the link, other requests that use this link to access the container become invalid.
|
|
4419
|
+
* * false: returns a common shareable link to access the container. If you use a common shareable link to access a container, Alibaba Cloud identity authentication is required. The link will expire after 30 seconds.
|
|
4420
|
+
*
|
|
4421
|
+
* @example
|
|
4422
|
+
* true
|
|
4423
|
+
*/
|
|
3541
4424
|
isShared?: boolean;
|
|
3542
4425
|
/**
|
|
3543
4426
|
* @remarks
|
|
3544
|
-
*
|
|
4427
|
+
* The pod UID.
|
|
3545
4428
|
*
|
|
3546
4429
|
* @example
|
|
3547
4430
|
* 94a7cc7c-0033-48b5-85bd-71c63592c268
|
|
@@ -3559,7 +4442,59 @@ export declare class GetWebTerminalRequest extends $dara.Model {
|
|
|
3559
4442
|
});
|
|
3560
4443
|
}
|
|
3561
4444
|
export declare class GetWebTerminalResponseBody extends $dara.Model {
|
|
4445
|
+
/**
|
|
4446
|
+
* @remarks
|
|
4447
|
+
* The request ID which is used for diagnostics and Q\\&A.
|
|
4448
|
+
*
|
|
4449
|
+
* @example
|
|
4450
|
+
* 473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E
|
|
4451
|
+
*/
|
|
3562
4452
|
requestId?: string;
|
|
4453
|
+
/**
|
|
4454
|
+
* @remarks
|
|
4455
|
+
* The WebSocket URI for accessing the container. You must build a WebSocket client. For more information about the communication format, see the following code:
|
|
4456
|
+
*
|
|
4457
|
+
* ws = new WebSocket(
|
|
4458
|
+
* `wss://xxxxx`,
|
|
4459
|
+
* );
|
|
4460
|
+
* ws.onopen = function open() {
|
|
4461
|
+
* console.warn(\\"connected\\");
|
|
4462
|
+
* term.write(\\"\\r\\");
|
|
4463
|
+
* };
|
|
4464
|
+
*
|
|
4465
|
+
* ws.onclose = function close() {
|
|
4466
|
+
* console.warn(\\"disconnected\\");
|
|
4467
|
+
* term.write(\\"Connection closed\\");
|
|
4468
|
+
* };
|
|
4469
|
+
*
|
|
4470
|
+
* // Return the following information in the backend.
|
|
4471
|
+
* ws.onmessage = function incoming(event) {
|
|
4472
|
+
* const msg = JSON.parse(event.data);
|
|
4473
|
+
* console.warn(msg);
|
|
4474
|
+
* if (msg.operation === \\"stdout\\") {
|
|
4475
|
+
* term.write(msg.data);
|
|
4476
|
+
* } else {
|
|
4477
|
+
* console.warn(\\"invalid msg operation: \\" + msg);
|
|
4478
|
+
* }
|
|
4479
|
+
* };
|
|
4480
|
+
*
|
|
4481
|
+
* // Enter the following code in the console.
|
|
4482
|
+
* term.onData(data => {
|
|
4483
|
+
* const msg = { operation: \\"stdin\\", data: data };
|
|
4484
|
+
* ws.send(JSON.stringify(msg));
|
|
4485
|
+
* });
|
|
4486
|
+
*
|
|
4487
|
+
* term.onResize(size => {
|
|
4488
|
+
* const msg = { operation: \\"resize\\", cols: size.cols, rows: size.rows };
|
|
4489
|
+
* ws.send(JSON.stringify(msg));
|
|
4490
|
+
* });
|
|
4491
|
+
*
|
|
4492
|
+
* fitAddon.fit();
|
|
4493
|
+
* };
|
|
4494
|
+
*
|
|
4495
|
+
* @example
|
|
4496
|
+
* wss://*****
|
|
4497
|
+
*/
|
|
3563
4498
|
webTerminalUrl?: string;
|
|
3564
4499
|
static names(): {
|
|
3565
4500
|
[key: string]: string;
|
|
@@ -3591,36 +4526,71 @@ export declare class GetWebTerminalResponse extends $dara.Model {
|
|
|
3591
4526
|
}
|
|
3592
4527
|
export declare class ListEcsSpecsRequest extends $dara.Model {
|
|
3593
4528
|
/**
|
|
4529
|
+
* @remarks
|
|
4530
|
+
* Filter by accelerator type. Valid values:
|
|
4531
|
+
*
|
|
4532
|
+
* * CPU
|
|
4533
|
+
* * GPU
|
|
4534
|
+
*
|
|
3594
4535
|
* @example
|
|
3595
4536
|
* GPU
|
|
3596
4537
|
*/
|
|
3597
4538
|
acceleratorType?: string;
|
|
3598
4539
|
/**
|
|
4540
|
+
* @remarks
|
|
4541
|
+
* The instance types to query. Separate the types with commas (,).
|
|
4542
|
+
*
|
|
3599
4543
|
* @example
|
|
3600
4544
|
* ecs.g6.large,ecs.g6.xlarge
|
|
3601
4545
|
*/
|
|
3602
4546
|
instanceTypes?: string;
|
|
3603
4547
|
/**
|
|
4548
|
+
* @remarks
|
|
4549
|
+
* The sorting order. Valid values:
|
|
4550
|
+
*
|
|
4551
|
+
* * desc: descending order.
|
|
4552
|
+
* * asc: ascending order.
|
|
4553
|
+
*
|
|
3604
4554
|
* @example
|
|
3605
4555
|
* desc
|
|
3606
4556
|
*/
|
|
3607
4557
|
order?: string;
|
|
3608
4558
|
/**
|
|
4559
|
+
* @remarks
|
|
4560
|
+
* The number of the page to query. The start value is 1.
|
|
4561
|
+
*
|
|
3609
4562
|
* @example
|
|
3610
4563
|
* 1
|
|
3611
4564
|
*/
|
|
3612
4565
|
pageNumber?: number;
|
|
3613
4566
|
/**
|
|
4567
|
+
* @remarks
|
|
4568
|
+
* The number of entries returned per page.
|
|
4569
|
+
*
|
|
3614
4570
|
* @example
|
|
3615
4571
|
* 10
|
|
3616
4572
|
*/
|
|
3617
4573
|
pageSize?: number;
|
|
3618
4574
|
/**
|
|
4575
|
+
* @remarks
|
|
4576
|
+
* The type of the resource. Valid values:
|
|
4577
|
+
*
|
|
4578
|
+
* * ECS
|
|
4579
|
+
* * Lingjun
|
|
4580
|
+
*
|
|
3619
4581
|
* @example
|
|
3620
4582
|
* ECS
|
|
3621
4583
|
*/
|
|
3622
4584
|
resourceType?: string;
|
|
3623
4585
|
/**
|
|
4586
|
+
* @remarks
|
|
4587
|
+
* The field based on which the results are sorted. Valid values:
|
|
4588
|
+
*
|
|
4589
|
+
* * CPU
|
|
4590
|
+
* * GPU
|
|
4591
|
+
* * Memory
|
|
4592
|
+
* * GmtCreateTime
|
|
4593
|
+
*
|
|
3624
4594
|
* @example
|
|
3625
4595
|
* Gpu
|
|
3626
4596
|
*/
|
|
@@ -3637,13 +4607,23 @@ export declare class ListEcsSpecsRequest extends $dara.Model {
|
|
|
3637
4607
|
});
|
|
3638
4608
|
}
|
|
3639
4609
|
export declare class ListEcsSpecsResponseBody extends $dara.Model {
|
|
4610
|
+
/**
|
|
4611
|
+
* @remarks
|
|
4612
|
+
* The list of ECS specifications.
|
|
4613
|
+
*/
|
|
3640
4614
|
ecsSpecs?: EcsSpec[];
|
|
3641
4615
|
/**
|
|
4616
|
+
* @remarks
|
|
4617
|
+
* The request ID.
|
|
4618
|
+
*
|
|
3642
4619
|
* @example
|
|
3643
4620
|
* 473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E
|
|
3644
4621
|
*/
|
|
3645
4622
|
requestId?: string;
|
|
3646
4623
|
/**
|
|
4624
|
+
* @remarks
|
|
4625
|
+
* The number of types that meet the filter conditions.
|
|
4626
|
+
*
|
|
3647
4627
|
* @example
|
|
3648
4628
|
* 10
|
|
3649
4629
|
*/
|
|
@@ -3678,6 +4658,12 @@ export declare class ListEcsSpecsResponse extends $dara.Model {
|
|
|
3678
4658
|
}
|
|
3679
4659
|
export declare class ListJobSanityCheckResultsRequest extends $dara.Model {
|
|
3680
4660
|
/**
|
|
4661
|
+
* @remarks
|
|
4662
|
+
* The sorting order:
|
|
4663
|
+
*
|
|
4664
|
+
* * desc: descending order
|
|
4665
|
+
* * asc: ascending order
|
|
4666
|
+
*
|
|
3681
4667
|
* @example
|
|
3682
4668
|
* desc
|
|
3683
4669
|
*/
|
|
@@ -3695,12 +4681,22 @@ export declare class ListJobSanityCheckResultsRequest extends $dara.Model {
|
|
|
3695
4681
|
}
|
|
3696
4682
|
export declare class ListJobSanityCheckResultsResponseBody extends $dara.Model {
|
|
3697
4683
|
/**
|
|
4684
|
+
* @remarks
|
|
4685
|
+
* The request ID.
|
|
4686
|
+
*
|
|
3698
4687
|
* @example
|
|
3699
4688
|
* 1AC9xxx-3xxx-5xxx2-xxxx-FA5
|
|
3700
4689
|
*/
|
|
3701
4690
|
requestID?: string;
|
|
4691
|
+
/**
|
|
4692
|
+
* @remarks
|
|
4693
|
+
* The sanity check results.
|
|
4694
|
+
*/
|
|
3702
4695
|
sanityCheckResults?: SanityCheckResultItem[][];
|
|
3703
4696
|
/**
|
|
4697
|
+
* @remarks
|
|
4698
|
+
* The total number of results that meet the filter conditions.
|
|
4699
|
+
*
|
|
3704
4700
|
* @example
|
|
3705
4701
|
* 10
|
|
3706
4702
|
*/
|
|
@@ -3734,96 +4730,223 @@ export declare class ListJobSanityCheckResultsResponse extends $dara.Model {
|
|
|
3734
4730
|
});
|
|
3735
4731
|
}
|
|
3736
4732
|
export declare class ListJobsRequest extends $dara.Model {
|
|
4733
|
+
/**
|
|
4734
|
+
* @remarks
|
|
4735
|
+
* The job visibility. Valid values:
|
|
4736
|
+
*
|
|
4737
|
+
* * PUBLIC: The job is visible to all members in the workspace.
|
|
4738
|
+
* * PRIVATE: The job is visible only to you and the administrator of the workspace.
|
|
4739
|
+
*
|
|
4740
|
+
* @example
|
|
4741
|
+
* PRIVATE
|
|
4742
|
+
*/
|
|
3737
4743
|
accessibility?: string;
|
|
3738
4744
|
/**
|
|
4745
|
+
* @remarks
|
|
4746
|
+
* The ID of the user associated with the job.
|
|
4747
|
+
*
|
|
3739
4748
|
* @example
|
|
3740
4749
|
* 16****
|
|
3741
4750
|
*/
|
|
3742
4751
|
businessUserId?: string;
|
|
3743
4752
|
/**
|
|
4753
|
+
* @remarks
|
|
4754
|
+
* The caller.
|
|
4755
|
+
*
|
|
3744
4756
|
* @example
|
|
3745
4757
|
* local
|
|
3746
4758
|
*/
|
|
3747
4759
|
caller?: string;
|
|
3748
4760
|
/**
|
|
4761
|
+
* @remarks
|
|
4762
|
+
* The job name. Fuzzy query is supported. The name is case-insensitive. Wildcards are not supported. For example, if you enter test, test-job1, job-test, job-test2, or job-test can be matched, and job-t1 cannot be matched. The default value null indicates any job name.
|
|
4763
|
+
*
|
|
3749
4764
|
* @example
|
|
3750
4765
|
* tf-mnist-test
|
|
3751
4766
|
*/
|
|
3752
4767
|
displayName?: string;
|
|
3753
4768
|
/**
|
|
4769
|
+
* @remarks
|
|
4770
|
+
* The end time of the query. Use the job creation time to filter data. The default value is the current time.
|
|
4771
|
+
*
|
|
3754
4772
|
* @example
|
|
3755
4773
|
* 2020-11-09T14:45:00Z
|
|
3756
4774
|
*/
|
|
3757
4775
|
endTime?: string;
|
|
3758
4776
|
/**
|
|
4777
|
+
* @remarks
|
|
4778
|
+
* Specifies whether to query a list of jobs across workspaces. This parameter must be used together with `ShowOwn=true`. You can use this parameter to query a list of jobs recently submitted by the current user.
|
|
4779
|
+
*
|
|
3759
4780
|
* @example
|
|
3760
4781
|
* false
|
|
3761
4782
|
*/
|
|
3762
4783
|
fromAllWorkspaces?: boolean;
|
|
3763
4784
|
/**
|
|
4785
|
+
* @remarks
|
|
4786
|
+
* The job ID. Fuzzy query is supported. The name is case-insensitive. Wildcards are not supported. The default value null indicates any job ID.
|
|
4787
|
+
*
|
|
3764
4788
|
* @example
|
|
3765
4789
|
* dlc********
|
|
3766
4790
|
*/
|
|
3767
4791
|
jobId?: string;
|
|
3768
4792
|
/**
|
|
4793
|
+
* @remarks
|
|
4794
|
+
* The job type. The default value null indicates any type. Valid values:
|
|
4795
|
+
*
|
|
4796
|
+
* * TFJob
|
|
4797
|
+
* * PyTorchJob
|
|
4798
|
+
* * XGBoostJob
|
|
4799
|
+
* * OneFlowJob
|
|
4800
|
+
* * ElasticBatchJob
|
|
4801
|
+
*
|
|
3769
4802
|
* @example
|
|
3770
4803
|
* TFJob
|
|
3771
4804
|
*/
|
|
3772
4805
|
jobType?: string;
|
|
3773
4806
|
/**
|
|
4807
|
+
* @remarks
|
|
4808
|
+
* The sorting order. Valid values:
|
|
4809
|
+
*
|
|
4810
|
+
* * desc (default)
|
|
4811
|
+
* * asc
|
|
4812
|
+
*
|
|
3774
4813
|
* @example
|
|
3775
4814
|
* desc
|
|
3776
4815
|
*/
|
|
3777
4816
|
order?: string;
|
|
4817
|
+
/**
|
|
4818
|
+
* @remarks
|
|
4819
|
+
* The Idle resource information. Valid values:
|
|
4820
|
+
*
|
|
4821
|
+
* * ForbiddenQuotaOverSold
|
|
4822
|
+
* * ForceQuotaOverSold
|
|
4823
|
+
* * AcceptQuotaOverSold-true (true indicates that the job uses idle resources.)
|
|
4824
|
+
* * AcceptQuotaOverSold-false (false indicates that the job uses guaranteed resources.)
|
|
4825
|
+
*
|
|
4826
|
+
* @example
|
|
4827
|
+
* ForbiddenQuotaOverSold
|
|
4828
|
+
*/
|
|
3778
4829
|
oversoldInfo?: string;
|
|
3779
4830
|
/**
|
|
4831
|
+
* @remarks
|
|
4832
|
+
* The number of the page to return for the current query. Minimum value: 1. Default value: 1.
|
|
4833
|
+
*
|
|
3780
4834
|
* @example
|
|
3781
4835
|
* 1
|
|
3782
4836
|
*/
|
|
3783
4837
|
pageNumber?: number;
|
|
3784
4838
|
/**
|
|
4839
|
+
* @remarks
|
|
4840
|
+
* The number of jobs per page.
|
|
4841
|
+
*
|
|
3785
4842
|
* @example
|
|
3786
4843
|
* 50
|
|
3787
4844
|
*/
|
|
3788
4845
|
pageSize?: number;
|
|
3789
4846
|
paymentType?: string;
|
|
3790
4847
|
/**
|
|
4848
|
+
* @remarks
|
|
4849
|
+
* The specific pipeline ID used to filter jobs.
|
|
4850
|
+
*
|
|
3791
4851
|
* @example
|
|
3792
4852
|
* flow-*******
|
|
3793
4853
|
*/
|
|
3794
4854
|
pipelineId?: string;
|
|
3795
4855
|
/**
|
|
4856
|
+
* @remarks
|
|
4857
|
+
* The resource group ID. For information about how to obtain the ID of a dedicated resource group, see [Manage resource quota](https://help.aliyun.com/document_detail/2651299.html).
|
|
4858
|
+
*
|
|
3796
4859
|
* @example
|
|
3797
4860
|
* r*****
|
|
3798
4861
|
*/
|
|
3799
4862
|
resourceId?: string;
|
|
4863
|
+
/**
|
|
4864
|
+
* @remarks
|
|
4865
|
+
* The resource quota name used to filter jobs. Fuzzy search is supported. Wildcards are not supported. The default value null indicates that jobs are not filtered by resource quota name.
|
|
4866
|
+
*
|
|
4867
|
+
* @example
|
|
4868
|
+
* quota***
|
|
4869
|
+
*/
|
|
3800
4870
|
resourceQuotaName?: string;
|
|
3801
4871
|
/**
|
|
4872
|
+
* @remarks
|
|
4873
|
+
* Specifies whether to query only the jobs submitted by the current user.
|
|
4874
|
+
*
|
|
3802
4875
|
* @example
|
|
3803
4876
|
* true
|
|
3804
4877
|
*/
|
|
3805
4878
|
showOwn?: boolean;
|
|
3806
4879
|
/**
|
|
4880
|
+
* @remarks
|
|
4881
|
+
* The sorting field. Valid values:
|
|
4882
|
+
*
|
|
4883
|
+
* * DisplayName
|
|
4884
|
+
* * JobType
|
|
4885
|
+
* * Status
|
|
4886
|
+
* * GmtCreateTime
|
|
4887
|
+
* * GmtFinishTime
|
|
4888
|
+
*
|
|
3807
4889
|
* @example
|
|
3808
4890
|
* GmtCreateTime
|
|
3809
4891
|
*/
|
|
3810
4892
|
sortBy?: string;
|
|
3811
4893
|
/**
|
|
4894
|
+
* @remarks
|
|
4895
|
+
* The start time of the query. Use the job creation time to filter data. The default value is the current time minus seven days. In other words, if you do not configure the StartTime and EndTime parameters, the system queries the job list in the last seven days.
|
|
4896
|
+
*
|
|
3812
4897
|
* @example
|
|
3813
4898
|
* 2020-11-08T16:00:00Z
|
|
3814
4899
|
*/
|
|
3815
4900
|
startTime?: string;
|
|
3816
4901
|
/**
|
|
4902
|
+
* @remarks
|
|
4903
|
+
* The job status. Valid values:
|
|
4904
|
+
*
|
|
4905
|
+
* * Creating
|
|
4906
|
+
* * Queuing
|
|
4907
|
+
* * Bidding (only available for spot jobs that use Lingjun resources)
|
|
4908
|
+
* * EnvPreparing
|
|
4909
|
+
* * SanityChecking
|
|
4910
|
+
* * Running
|
|
4911
|
+
* * Restarting
|
|
4912
|
+
* * Stopping
|
|
4913
|
+
* * SucceededReserving
|
|
4914
|
+
* * FailedReserving
|
|
4915
|
+
* * Succeeded
|
|
4916
|
+
* * Failed
|
|
4917
|
+
* * Stopped
|
|
4918
|
+
*
|
|
3817
4919
|
* @example
|
|
3818
4920
|
* Running
|
|
3819
4921
|
*/
|
|
3820
4922
|
status?: string;
|
|
4923
|
+
/**
|
|
4924
|
+
* @remarks
|
|
4925
|
+
* The tags.
|
|
4926
|
+
*/
|
|
3821
4927
|
tags?: {
|
|
3822
4928
|
[key: string]: string;
|
|
3823
4929
|
};
|
|
4930
|
+
/**
|
|
4931
|
+
* @remarks
|
|
4932
|
+
* The user ID used to filter jobs.
|
|
4933
|
+
*
|
|
4934
|
+
* @example
|
|
4935
|
+
* 20**************
|
|
4936
|
+
*/
|
|
3824
4937
|
userIdForFilter?: string;
|
|
4938
|
+
/**
|
|
4939
|
+
* @remarks
|
|
4940
|
+
* The username used to filter jobs. Fuzzy search is supported. Wildcards are not supported. The default value null indicates that jobs are not filtered by username.
|
|
4941
|
+
*
|
|
4942
|
+
* @example
|
|
4943
|
+
* test***
|
|
4944
|
+
*/
|
|
3825
4945
|
username?: string;
|
|
3826
4946
|
/**
|
|
4947
|
+
* @remarks
|
|
4948
|
+
* The workspace ID.
|
|
4949
|
+
*
|
|
3827
4950
|
* @example
|
|
3828
4951
|
* 1****
|
|
3829
4952
|
*/
|
|
@@ -3840,94 +4963,221 @@ export declare class ListJobsRequest extends $dara.Model {
|
|
|
3840
4963
|
});
|
|
3841
4964
|
}
|
|
3842
4965
|
export declare class ListJobsShrinkRequest extends $dara.Model {
|
|
4966
|
+
/**
|
|
4967
|
+
* @remarks
|
|
4968
|
+
* The job visibility. Valid values:
|
|
4969
|
+
*
|
|
4970
|
+
* * PUBLIC: The job is visible to all members in the workspace.
|
|
4971
|
+
* * PRIVATE: The job is visible only to you and the administrator of the workspace.
|
|
4972
|
+
*
|
|
4973
|
+
* @example
|
|
4974
|
+
* PRIVATE
|
|
4975
|
+
*/
|
|
3843
4976
|
accessibility?: string;
|
|
3844
4977
|
/**
|
|
4978
|
+
* @remarks
|
|
4979
|
+
* The ID of the user associated with the job.
|
|
4980
|
+
*
|
|
3845
4981
|
* @example
|
|
3846
4982
|
* 16****
|
|
3847
4983
|
*/
|
|
3848
4984
|
businessUserId?: string;
|
|
3849
4985
|
/**
|
|
4986
|
+
* @remarks
|
|
4987
|
+
* The caller.
|
|
4988
|
+
*
|
|
3850
4989
|
* @example
|
|
3851
4990
|
* local
|
|
3852
4991
|
*/
|
|
3853
4992
|
caller?: string;
|
|
3854
4993
|
/**
|
|
4994
|
+
* @remarks
|
|
4995
|
+
* The job name. Fuzzy query is supported. The name is case-insensitive. Wildcards are not supported. For example, if you enter test, test-job1, job-test, job-test2, or job-test can be matched, and job-t1 cannot be matched. The default value null indicates any job name.
|
|
4996
|
+
*
|
|
3855
4997
|
* @example
|
|
3856
4998
|
* tf-mnist-test
|
|
3857
4999
|
*/
|
|
3858
5000
|
displayName?: string;
|
|
3859
5001
|
/**
|
|
5002
|
+
* @remarks
|
|
5003
|
+
* The end time of the query. Use the job creation time to filter data. The default value is the current time.
|
|
5004
|
+
*
|
|
3860
5005
|
* @example
|
|
3861
5006
|
* 2020-11-09T14:45:00Z
|
|
3862
5007
|
*/
|
|
3863
5008
|
endTime?: string;
|
|
3864
5009
|
/**
|
|
5010
|
+
* @remarks
|
|
5011
|
+
* Specifies whether to query a list of jobs across workspaces. This parameter must be used together with `ShowOwn=true`. You can use this parameter to query a list of jobs recently submitted by the current user.
|
|
5012
|
+
*
|
|
3865
5013
|
* @example
|
|
3866
5014
|
* false
|
|
3867
5015
|
*/
|
|
3868
5016
|
fromAllWorkspaces?: boolean;
|
|
3869
5017
|
/**
|
|
5018
|
+
* @remarks
|
|
5019
|
+
* The job ID. Fuzzy query is supported. The name is case-insensitive. Wildcards are not supported. The default value null indicates any job ID.
|
|
5020
|
+
*
|
|
3870
5021
|
* @example
|
|
3871
5022
|
* dlc********
|
|
3872
5023
|
*/
|
|
3873
5024
|
jobId?: string;
|
|
3874
5025
|
/**
|
|
5026
|
+
* @remarks
|
|
5027
|
+
* The job type. The default value null indicates any type. Valid values:
|
|
5028
|
+
*
|
|
5029
|
+
* * TFJob
|
|
5030
|
+
* * PyTorchJob
|
|
5031
|
+
* * XGBoostJob
|
|
5032
|
+
* * OneFlowJob
|
|
5033
|
+
* * ElasticBatchJob
|
|
5034
|
+
*
|
|
3875
5035
|
* @example
|
|
3876
5036
|
* TFJob
|
|
3877
5037
|
*/
|
|
3878
5038
|
jobType?: string;
|
|
3879
5039
|
/**
|
|
5040
|
+
* @remarks
|
|
5041
|
+
* The sorting order. Valid values:
|
|
5042
|
+
*
|
|
5043
|
+
* * desc (default)
|
|
5044
|
+
* * asc
|
|
5045
|
+
*
|
|
3880
5046
|
* @example
|
|
3881
5047
|
* desc
|
|
3882
5048
|
*/
|
|
3883
5049
|
order?: string;
|
|
5050
|
+
/**
|
|
5051
|
+
* @remarks
|
|
5052
|
+
* The Idle resource information. Valid values:
|
|
5053
|
+
*
|
|
5054
|
+
* * ForbiddenQuotaOverSold
|
|
5055
|
+
* * ForceQuotaOverSold
|
|
5056
|
+
* * AcceptQuotaOverSold-true (true indicates that the job uses idle resources.)
|
|
5057
|
+
* * AcceptQuotaOverSold-false (false indicates that the job uses guaranteed resources.)
|
|
5058
|
+
*
|
|
5059
|
+
* @example
|
|
5060
|
+
* ForbiddenQuotaOverSold
|
|
5061
|
+
*/
|
|
3884
5062
|
oversoldInfo?: string;
|
|
3885
5063
|
/**
|
|
5064
|
+
* @remarks
|
|
5065
|
+
* The number of the page to return for the current query. Minimum value: 1. Default value: 1.
|
|
5066
|
+
*
|
|
3886
5067
|
* @example
|
|
3887
5068
|
* 1
|
|
3888
5069
|
*/
|
|
3889
5070
|
pageNumber?: number;
|
|
3890
5071
|
/**
|
|
5072
|
+
* @remarks
|
|
5073
|
+
* The number of jobs per page.
|
|
5074
|
+
*
|
|
3891
5075
|
* @example
|
|
3892
5076
|
* 50
|
|
3893
5077
|
*/
|
|
3894
5078
|
pageSize?: number;
|
|
3895
5079
|
paymentType?: string;
|
|
3896
5080
|
/**
|
|
5081
|
+
* @remarks
|
|
5082
|
+
* The specific pipeline ID used to filter jobs.
|
|
5083
|
+
*
|
|
3897
5084
|
* @example
|
|
3898
5085
|
* flow-*******
|
|
3899
5086
|
*/
|
|
3900
5087
|
pipelineId?: string;
|
|
3901
5088
|
/**
|
|
5089
|
+
* @remarks
|
|
5090
|
+
* The resource group ID. For information about how to obtain the ID of a dedicated resource group, see [Manage resource quota](https://help.aliyun.com/document_detail/2651299.html).
|
|
5091
|
+
*
|
|
3902
5092
|
* @example
|
|
3903
5093
|
* r*****
|
|
3904
5094
|
*/
|
|
3905
5095
|
resourceId?: string;
|
|
5096
|
+
/**
|
|
5097
|
+
* @remarks
|
|
5098
|
+
* The resource quota name used to filter jobs. Fuzzy search is supported. Wildcards are not supported. The default value null indicates that jobs are not filtered by resource quota name.
|
|
5099
|
+
*
|
|
5100
|
+
* @example
|
|
5101
|
+
* quota***
|
|
5102
|
+
*/
|
|
3906
5103
|
resourceQuotaName?: string;
|
|
3907
5104
|
/**
|
|
5105
|
+
* @remarks
|
|
5106
|
+
* Specifies whether to query only the jobs submitted by the current user.
|
|
5107
|
+
*
|
|
3908
5108
|
* @example
|
|
3909
5109
|
* true
|
|
3910
5110
|
*/
|
|
3911
5111
|
showOwn?: boolean;
|
|
3912
5112
|
/**
|
|
5113
|
+
* @remarks
|
|
5114
|
+
* The sorting field. Valid values:
|
|
5115
|
+
*
|
|
5116
|
+
* * DisplayName
|
|
5117
|
+
* * JobType
|
|
5118
|
+
* * Status
|
|
5119
|
+
* * GmtCreateTime
|
|
5120
|
+
* * GmtFinishTime
|
|
5121
|
+
*
|
|
3913
5122
|
* @example
|
|
3914
5123
|
* GmtCreateTime
|
|
3915
5124
|
*/
|
|
3916
5125
|
sortBy?: string;
|
|
3917
5126
|
/**
|
|
5127
|
+
* @remarks
|
|
5128
|
+
* The start time of the query. Use the job creation time to filter data. The default value is the current time minus seven days. In other words, if you do not configure the StartTime and EndTime parameters, the system queries the job list in the last seven days.
|
|
5129
|
+
*
|
|
3918
5130
|
* @example
|
|
3919
5131
|
* 2020-11-08T16:00:00Z
|
|
3920
5132
|
*/
|
|
3921
5133
|
startTime?: string;
|
|
3922
5134
|
/**
|
|
5135
|
+
* @remarks
|
|
5136
|
+
* The job status. Valid values:
|
|
5137
|
+
*
|
|
5138
|
+
* * Creating
|
|
5139
|
+
* * Queuing
|
|
5140
|
+
* * Bidding (only available for spot jobs that use Lingjun resources)
|
|
5141
|
+
* * EnvPreparing
|
|
5142
|
+
* * SanityChecking
|
|
5143
|
+
* * Running
|
|
5144
|
+
* * Restarting
|
|
5145
|
+
* * Stopping
|
|
5146
|
+
* * SucceededReserving
|
|
5147
|
+
* * FailedReserving
|
|
5148
|
+
* * Succeeded
|
|
5149
|
+
* * Failed
|
|
5150
|
+
* * Stopped
|
|
5151
|
+
*
|
|
3923
5152
|
* @example
|
|
3924
5153
|
* Running
|
|
3925
5154
|
*/
|
|
3926
5155
|
status?: string;
|
|
5156
|
+
/**
|
|
5157
|
+
* @remarks
|
|
5158
|
+
* The tags.
|
|
5159
|
+
*/
|
|
3927
5160
|
tagsShrink?: string;
|
|
5161
|
+
/**
|
|
5162
|
+
* @remarks
|
|
5163
|
+
* The user ID used to filter jobs.
|
|
5164
|
+
*
|
|
5165
|
+
* @example
|
|
5166
|
+
* 20**************
|
|
5167
|
+
*/
|
|
3928
5168
|
userIdForFilter?: string;
|
|
5169
|
+
/**
|
|
5170
|
+
* @remarks
|
|
5171
|
+
* The username used to filter jobs. Fuzzy search is supported. Wildcards are not supported. The default value null indicates that jobs are not filtered by username.
|
|
5172
|
+
*
|
|
5173
|
+
* @example
|
|
5174
|
+
* test***
|
|
5175
|
+
*/
|
|
3929
5176
|
username?: string;
|
|
3930
5177
|
/**
|
|
5178
|
+
* @remarks
|
|
5179
|
+
* The workspace ID.
|
|
5180
|
+
*
|
|
3931
5181
|
* @example
|
|
3932
5182
|
* 1****
|
|
3933
5183
|
*/
|
|
@@ -3944,13 +5194,23 @@ export declare class ListJobsShrinkRequest extends $dara.Model {
|
|
|
3944
5194
|
});
|
|
3945
5195
|
}
|
|
3946
5196
|
export declare class ListJobsResponseBody extends $dara.Model {
|
|
5197
|
+
/**
|
|
5198
|
+
* @remarks
|
|
5199
|
+
* The jobs.
|
|
5200
|
+
*/
|
|
3947
5201
|
jobs?: JobItem[];
|
|
3948
5202
|
/**
|
|
5203
|
+
* @remarks
|
|
5204
|
+
* The request ID used to troubleshoot issues.
|
|
5205
|
+
*
|
|
3949
5206
|
* @example
|
|
3950
5207
|
* 473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E
|
|
3951
5208
|
*/
|
|
3952
5209
|
requestId?: string;
|
|
3953
5210
|
/**
|
|
5211
|
+
* @remarks
|
|
5212
|
+
* The total number of jobs that meet the filter conditions.
|
|
5213
|
+
*
|
|
3954
5214
|
* @example
|
|
3955
5215
|
* 2
|
|
3956
5216
|
*/
|
|
@@ -3984,78 +5244,190 @@ export declare class ListJobsResponse extends $dara.Model {
|
|
|
3984
5244
|
});
|
|
3985
5245
|
}
|
|
3986
5246
|
export declare class ListTensorboardsRequest extends $dara.Model {
|
|
5247
|
+
/**
|
|
5248
|
+
* @remarks
|
|
5249
|
+
* The instance visibility.
|
|
5250
|
+
*
|
|
5251
|
+
* * PUBLIC: TensorBoard instances are visible to all members in the workspace.
|
|
5252
|
+
* * PRIVATE: TensorBoard instances are visible only to you and the administrator of the workspace.
|
|
5253
|
+
*
|
|
5254
|
+
* @example
|
|
5255
|
+
* PRIVATE
|
|
5256
|
+
*/
|
|
3987
5257
|
accessibility?: string;
|
|
3988
5258
|
/**
|
|
5259
|
+
* @remarks
|
|
5260
|
+
* The TensorBoard instance name.
|
|
5261
|
+
*
|
|
3989
5262
|
* @example
|
|
3990
5263
|
* TestTensorboard
|
|
3991
5264
|
*/
|
|
3992
5265
|
displayName?: string;
|
|
3993
5266
|
/**
|
|
5267
|
+
* @remarks
|
|
5268
|
+
* The end time of the query. Use the UTC time when the TensorBoard instance is created to filter data. If you leave this parameter empty, the default value is the current time.
|
|
5269
|
+
*
|
|
3994
5270
|
* @example
|
|
3995
5271
|
* 2020-11-09T14:45:00Z
|
|
3996
5272
|
*/
|
|
3997
5273
|
endTime?: string;
|
|
3998
5274
|
/**
|
|
5275
|
+
* @remarks
|
|
5276
|
+
* The job ID used to filter TensorBoard instances. For more information about how to obtain the ID of a job, see [ListJobs](https://help.aliyun.com/document_detail/459676.html).
|
|
5277
|
+
*
|
|
3999
5278
|
* @example
|
|
4000
5279
|
* dlc-xxx
|
|
4001
5280
|
*/
|
|
4002
5281
|
jobId?: string;
|
|
4003
5282
|
/**
|
|
5283
|
+
* @remarks
|
|
5284
|
+
* The sorting order.
|
|
5285
|
+
*
|
|
5286
|
+
* * desc
|
|
5287
|
+
* * asc
|
|
5288
|
+
*
|
|
4004
5289
|
* @example
|
|
4005
5290
|
* desc
|
|
4006
5291
|
*/
|
|
4007
5292
|
order?: string;
|
|
4008
5293
|
/**
|
|
5294
|
+
* @remarks
|
|
5295
|
+
* The page number. Minimum value: 1.
|
|
5296
|
+
*
|
|
4009
5297
|
* @example
|
|
4010
5298
|
* 1
|
|
4011
5299
|
*/
|
|
4012
5300
|
pageNumber?: number;
|
|
4013
5301
|
/**
|
|
5302
|
+
* @remarks
|
|
5303
|
+
* The number of TensorBoard instances per page.
|
|
5304
|
+
*
|
|
4014
5305
|
* @example
|
|
4015
5306
|
* 50
|
|
4016
5307
|
*/
|
|
4017
5308
|
pageSize?: number;
|
|
5309
|
+
/**
|
|
5310
|
+
* @remarks
|
|
5311
|
+
* The billing method of TensorBoard instances.
|
|
5312
|
+
*
|
|
5313
|
+
* * Free: the TensorBoard instance that uses free resources.
|
|
5314
|
+
* * Postpaid: the TensorBoard instance that uses pay-as-you-go resources.
|
|
5315
|
+
*
|
|
5316
|
+
* @example
|
|
5317
|
+
* Postpaid
|
|
5318
|
+
*/
|
|
4018
5319
|
paymentType?: string;
|
|
5320
|
+
/**
|
|
5321
|
+
* @remarks
|
|
5322
|
+
* The resource quota ID.
|
|
5323
|
+
*
|
|
5324
|
+
* >
|
|
5325
|
+
*
|
|
5326
|
+
* * Only whitelisted users can use resource quotas to create TensorBoard instances. If you want to use this feature, contact us.
|
|
5327
|
+
*
|
|
5328
|
+
* * This parameter takes effect only when TensorBoard instances use resource quotas.
|
|
5329
|
+
*
|
|
5330
|
+
* @example
|
|
5331
|
+
* quota12***
|
|
5332
|
+
*/
|
|
4019
5333
|
quotaId?: string;
|
|
5334
|
+
/**
|
|
5335
|
+
* @remarks
|
|
5336
|
+
* Specifies whether to return only the TensorBoard instances created by the current logon account.
|
|
5337
|
+
*
|
|
5338
|
+
* @example
|
|
5339
|
+
* false
|
|
5340
|
+
*/
|
|
4020
5341
|
showOwn?: boolean;
|
|
4021
5342
|
/**
|
|
5343
|
+
* @remarks
|
|
5344
|
+
* The returned field used to sort TensorBoard instances.
|
|
5345
|
+
*
|
|
5346
|
+
* * DisplayName: the name of the TensorBoard instance.
|
|
5347
|
+
* * GmtCreateTime: the time when the TensorBoard instance is created.
|
|
5348
|
+
*
|
|
4022
5349
|
* @example
|
|
4023
5350
|
* GmtCreateTime
|
|
4024
5351
|
*/
|
|
4025
5352
|
sortBy?: string;
|
|
4026
5353
|
/**
|
|
5354
|
+
* @remarks
|
|
5355
|
+
* The data source ID. For more information about how to obtain the ID of a job, see [ListJobs](https://help.aliyun.com/document_detail/459676.html).
|
|
5356
|
+
*
|
|
4027
5357
|
* @example
|
|
4028
5358
|
* dlc-xxxxxx
|
|
4029
5359
|
*/
|
|
4030
5360
|
sourceId?: string;
|
|
4031
5361
|
/**
|
|
5362
|
+
* @remarks
|
|
5363
|
+
* The data source associated with the TensorBoard instance. This parameter is no longer used. Only Deep Learning Containers (DLC) training jobs are supported.
|
|
5364
|
+
*
|
|
4032
5365
|
* @example
|
|
4033
5366
|
* job
|
|
4034
5367
|
*/
|
|
4035
5368
|
sourceType?: string;
|
|
4036
5369
|
/**
|
|
5370
|
+
* @remarks
|
|
5371
|
+
* The start time of the query. Use the UTC time when the TensorBoard instance is created to filter data. If you leave this parameter empty, the default value is seven days before the current time.
|
|
5372
|
+
*
|
|
4037
5373
|
* @example
|
|
4038
5374
|
* 2020-11-08T16:00:00Z
|
|
4039
5375
|
*/
|
|
4040
5376
|
startTime?: string;
|
|
4041
5377
|
/**
|
|
5378
|
+
* @remarks
|
|
5379
|
+
* The TensorBoard instance status. Valid values:
|
|
5380
|
+
*
|
|
5381
|
+
* * Creating
|
|
5382
|
+
* * Running
|
|
5383
|
+
* * Stopped
|
|
5384
|
+
* * Succeeded
|
|
5385
|
+
* * Failed
|
|
5386
|
+
*
|
|
4042
5387
|
* @example
|
|
4043
5388
|
* Running
|
|
4044
5389
|
*/
|
|
4045
5390
|
status?: string;
|
|
4046
5391
|
/**
|
|
5392
|
+
* @remarks
|
|
5393
|
+
* The TensorBoard instance ID used to filter TensorBoard instances.
|
|
5394
|
+
*
|
|
4047
5395
|
* @example
|
|
4048
5396
|
* tensorboard-xxx
|
|
4049
5397
|
*/
|
|
4050
5398
|
tensorboardId?: string;
|
|
5399
|
+
/**
|
|
5400
|
+
* @remarks
|
|
5401
|
+
* The user ID.
|
|
5402
|
+
*
|
|
5403
|
+
* @example
|
|
5404
|
+
* 161****3000
|
|
5405
|
+
*/
|
|
4051
5406
|
userId?: string;
|
|
5407
|
+
/**
|
|
5408
|
+
* @remarks
|
|
5409
|
+
* The username.
|
|
5410
|
+
*
|
|
5411
|
+
* @example
|
|
5412
|
+
* she****mo
|
|
5413
|
+
*/
|
|
4052
5414
|
username?: string;
|
|
4053
5415
|
/**
|
|
5416
|
+
* @remarks
|
|
5417
|
+
* Specifies whether to return the information about the TensorBoard instance.
|
|
5418
|
+
*
|
|
5419
|
+
* * true
|
|
5420
|
+
* * false
|
|
5421
|
+
*
|
|
4054
5422
|
* @example
|
|
4055
5423
|
* true
|
|
4056
5424
|
*/
|
|
4057
5425
|
verbose?: boolean;
|
|
4058
5426
|
/**
|
|
5427
|
+
* @remarks
|
|
5428
|
+
* The workspace ID. Obtain a list of TensorBoard instances based on the workspace ID.
|
|
5429
|
+
* <props="china">For more information, see [ListWorkspaces](https://help.aliyun.com/document_detail/449124.html).
|
|
5430
|
+
*
|
|
4059
5431
|
* @example
|
|
4060
5432
|
* 380
|
|
4061
5433
|
*/
|
|
@@ -4073,12 +5445,22 @@ export declare class ListTensorboardsRequest extends $dara.Model {
|
|
|
4073
5445
|
}
|
|
4074
5446
|
export declare class ListTensorboardsResponseBody extends $dara.Model {
|
|
4075
5447
|
/**
|
|
5448
|
+
* @remarks
|
|
5449
|
+
* The request ID.
|
|
5450
|
+
*
|
|
4076
5451
|
* @example
|
|
4077
5452
|
* 473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E
|
|
4078
5453
|
*/
|
|
4079
5454
|
requestId?: string;
|
|
5455
|
+
/**
|
|
5456
|
+
* @remarks
|
|
5457
|
+
* The TensorBoard instances.
|
|
5458
|
+
*/
|
|
4080
5459
|
tensorboards?: Tensorboard[];
|
|
4081
5460
|
/**
|
|
5461
|
+
* @remarks
|
|
5462
|
+
* The total number of data sources that meet the conditions.
|
|
5463
|
+
*
|
|
4082
5464
|
* @example
|
|
4083
5465
|
* 100
|
|
4084
5466
|
*/
|
|
@@ -4113,6 +5495,9 @@ export declare class ListTensorboardsResponse extends $dara.Model {
|
|
|
4113
5495
|
}
|
|
4114
5496
|
export declare class StartTensorboardRequest extends $dara.Model {
|
|
4115
5497
|
/**
|
|
5498
|
+
* @remarks
|
|
5499
|
+
* The workspace ID.
|
|
5500
|
+
*
|
|
4116
5501
|
* @example
|
|
4117
5502
|
* 380
|
|
4118
5503
|
*/
|
|
@@ -4130,11 +5515,17 @@ export declare class StartTensorboardRequest extends $dara.Model {
|
|
|
4130
5515
|
}
|
|
4131
5516
|
export declare class StartTensorboardResponseBody extends $dara.Model {
|
|
4132
5517
|
/**
|
|
5518
|
+
* @remarks
|
|
5519
|
+
* The request ID.
|
|
5520
|
+
*
|
|
4133
5521
|
* @example
|
|
4134
5522
|
* 473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E
|
|
4135
5523
|
*/
|
|
4136
5524
|
requestId?: string;
|
|
4137
5525
|
/**
|
|
5526
|
+
* @remarks
|
|
5527
|
+
* The TensorBoard instance ID.
|
|
5528
|
+
*
|
|
4138
5529
|
* @example
|
|
4139
5530
|
* tensorboard-20210114104214-vf9lowjt3pso
|
|
4140
5531
|
*/
|
|
@@ -4169,11 +5560,17 @@ export declare class StartTensorboardResponse extends $dara.Model {
|
|
|
4169
5560
|
}
|
|
4170
5561
|
export declare class StopJobResponseBody extends $dara.Model {
|
|
4171
5562
|
/**
|
|
5563
|
+
* @remarks
|
|
5564
|
+
* The job ID.
|
|
5565
|
+
*
|
|
4172
5566
|
* @example
|
|
4173
5567
|
* dlc-20210126170216-xxxxxxx
|
|
4174
5568
|
*/
|
|
4175
5569
|
jobId?: string;
|
|
4176
5570
|
/**
|
|
5571
|
+
* @remarks
|
|
5572
|
+
* The request ID. You can troubleshoot issues based on the request ID.
|
|
5573
|
+
*
|
|
4177
5574
|
* @example
|
|
4178
5575
|
* 473469C7-AA6F-4DC5-B3DB-xxxxxx
|
|
4179
5576
|
*/
|
|
@@ -4208,6 +5605,10 @@ export declare class StopJobResponse extends $dara.Model {
|
|
|
4208
5605
|
}
|
|
4209
5606
|
export declare class StopTensorboardRequest extends $dara.Model {
|
|
4210
5607
|
/**
|
|
5608
|
+
* @remarks
|
|
5609
|
+
* The workspace ID.
|
|
5610
|
+
* <props="china">For more information about how to query the workspace ID, see [ListWorkspaces](https://help.aliyun.com/document_detail/449124.html).
|
|
5611
|
+
*
|
|
4211
5612
|
* @example
|
|
4212
5613
|
* 380
|
|
4213
5614
|
*/
|
|
@@ -4225,11 +5626,17 @@ export declare class StopTensorboardRequest extends $dara.Model {
|
|
|
4225
5626
|
}
|
|
4226
5627
|
export declare class StopTensorboardResponseBody extends $dara.Model {
|
|
4227
5628
|
/**
|
|
5629
|
+
* @remarks
|
|
5630
|
+
* The ID of the request.
|
|
5631
|
+
*
|
|
4228
5632
|
* @example
|
|
4229
5633
|
* 473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E
|
|
4230
5634
|
*/
|
|
4231
5635
|
requestId?: string;
|
|
4232
5636
|
/**
|
|
5637
|
+
* @remarks
|
|
5638
|
+
* The ID of the TensorBoard instance.
|
|
5639
|
+
*
|
|
4233
5640
|
* @example
|
|
4234
5641
|
* tensorboard-20210114104214-xxxxxxxx
|
|
4235
5642
|
*/
|
|
@@ -4263,8 +5670,24 @@ export declare class StopTensorboardResponse extends $dara.Model {
|
|
|
4263
5670
|
});
|
|
4264
5671
|
}
|
|
4265
5672
|
export declare class UpdateJobRequest extends $dara.Model {
|
|
5673
|
+
/**
|
|
5674
|
+
* @remarks
|
|
5675
|
+
* The job visibility. Valid values:
|
|
5676
|
+
*
|
|
5677
|
+
* * PUBLIC: The job is visible to all members in the workspace.
|
|
5678
|
+
* * PRIVATE: The job is visible only to you and the administrator of the workspace.
|
|
5679
|
+
*
|
|
5680
|
+
* @example
|
|
5681
|
+
* PRIVATE
|
|
5682
|
+
*/
|
|
4266
5683
|
accessibility?: string;
|
|
4267
5684
|
/**
|
|
5685
|
+
* @remarks
|
|
5686
|
+
* The job priority. Valid values: 1 to 9.
|
|
5687
|
+
*
|
|
5688
|
+
* * 1: the lowest priority.
|
|
5689
|
+
* * 9: the highest priority.
|
|
5690
|
+
*
|
|
4268
5691
|
* @example
|
|
4269
5692
|
* 5
|
|
4270
5693
|
*/
|
|
@@ -4282,11 +5705,17 @@ export declare class UpdateJobRequest extends $dara.Model {
|
|
|
4282
5705
|
}
|
|
4283
5706
|
export declare class UpdateJobResponseBody extends $dara.Model {
|
|
4284
5707
|
/**
|
|
5708
|
+
* @remarks
|
|
5709
|
+
* The job ID.
|
|
5710
|
+
*
|
|
4285
5711
|
* @example
|
|
4286
5712
|
* dlc*************
|
|
4287
5713
|
*/
|
|
4288
5714
|
jobId?: string;
|
|
4289
5715
|
/**
|
|
5716
|
+
* @remarks
|
|
5717
|
+
* The request ID, which is used for diagnostics and Q\\&A.
|
|
5718
|
+
*
|
|
4290
5719
|
* @example
|
|
4291
5720
|
* 473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E
|
|
4292
5721
|
*/
|
|
@@ -4320,14 +5749,31 @@ export declare class UpdateJobResponse extends $dara.Model {
|
|
|
4320
5749
|
});
|
|
4321
5750
|
}
|
|
4322
5751
|
export declare class UpdateTensorboardRequest extends $dara.Model {
|
|
5752
|
+
/**
|
|
5753
|
+
* @remarks
|
|
5754
|
+
* The visibility of the jobs. Valid values:
|
|
5755
|
+
*
|
|
5756
|
+
* * PUBLIC: The jobs are public in the workspace.
|
|
5757
|
+
* * PRIVATE: The jobs are visible only to you and the administrator of the workspace.
|
|
5758
|
+
*
|
|
5759
|
+
* @example
|
|
5760
|
+
* PRIVATE
|
|
5761
|
+
*/
|
|
4323
5762
|
accessibility?: string;
|
|
4324
5763
|
/**
|
|
5764
|
+
* @remarks
|
|
5765
|
+
* The maximum running time. Unit: minutes.
|
|
5766
|
+
*
|
|
4325
5767
|
* @example
|
|
4326
|
-
*
|
|
5768
|
+
* 300
|
|
4327
5769
|
*/
|
|
4328
5770
|
maxRunningTimeMinutes?: number;
|
|
4329
5771
|
priority?: string;
|
|
4330
5772
|
/**
|
|
5773
|
+
* @remarks
|
|
5774
|
+
* The workspace ID.
|
|
5775
|
+
* <props="china">For more information about how to query the workspace ID, see [ListWorkspaces](https://help.aliyun.com/document_detail/449124.html).
|
|
5776
|
+
*
|
|
4331
5777
|
* @example
|
|
4332
5778
|
* 380
|
|
4333
5779
|
*/
|
|
@@ -4345,11 +5791,17 @@ export declare class UpdateTensorboardRequest extends $dara.Model {
|
|
|
4345
5791
|
}
|
|
4346
5792
|
export declare class UpdateTensorboardResponseBody extends $dara.Model {
|
|
4347
5793
|
/**
|
|
5794
|
+
* @remarks
|
|
5795
|
+
* The ID of the request.
|
|
5796
|
+
*
|
|
4348
5797
|
* @example
|
|
4349
5798
|
* 473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E
|
|
4350
5799
|
*/
|
|
4351
5800
|
requestId?: string;
|
|
4352
5801
|
/**
|
|
5802
|
+
* @remarks
|
|
5803
|
+
* The ID of the TensorBoard instance.
|
|
5804
|
+
*
|
|
4353
5805
|
* @example
|
|
4354
5806
|
* tensorboard-20210114104214-xxxxxxxx
|
|
4355
5807
|
*/
|
|
@@ -4388,7 +5840,10 @@ export default class Client extends OpenApi {
|
|
|
4388
5840
|
[key: string]: string;
|
|
4389
5841
|
}, endpoint: string): string;
|
|
4390
5842
|
/**
|
|
4391
|
-
*
|
|
5843
|
+
* 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.
|
|
5844
|
+
*
|
|
5845
|
+
* @remarks
|
|
5846
|
+
* 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).
|
|
4392
5847
|
*
|
|
4393
5848
|
* @param request - CreateJobRequest
|
|
4394
5849
|
* @param headers - map
|
|
@@ -4399,14 +5854,17 @@ export default class Client extends OpenApi {
|
|
|
4399
5854
|
[key: string]: string;
|
|
4400
5855
|
}, runtime: $dara.RuntimeOptions): Promise<CreateJobResponse>;
|
|
4401
5856
|
/**
|
|
4402
|
-
*
|
|
5857
|
+
* 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.
|
|
5858
|
+
*
|
|
5859
|
+
* @remarks
|
|
5860
|
+
* 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).
|
|
4403
5861
|
*
|
|
4404
5862
|
* @param request - CreateJobRequest
|
|
4405
5863
|
* @returns CreateJobResponse
|
|
4406
5864
|
*/
|
|
4407
5865
|
createJob(request: CreateJobRequest): Promise<CreateJobResponse>;
|
|
4408
5866
|
/**
|
|
4409
|
-
*
|
|
5867
|
+
* Creates a TensorBoard by using a job or specifying a data source configuration.
|
|
4410
5868
|
*
|
|
4411
5869
|
* @param request - CreateTensorboardRequest
|
|
4412
5870
|
* @param headers - map
|
|
@@ -4417,14 +5875,14 @@ export default class Client extends OpenApi {
|
|
|
4417
5875
|
[key: string]: string;
|
|
4418
5876
|
}, runtime: $dara.RuntimeOptions): Promise<CreateTensorboardResponse>;
|
|
4419
5877
|
/**
|
|
4420
|
-
*
|
|
5878
|
+
* Creates a TensorBoard by using a job or specifying a data source configuration.
|
|
4421
5879
|
*
|
|
4422
5880
|
* @param request - CreateTensorboardRequest
|
|
4423
5881
|
* @returns CreateTensorboardResponse
|
|
4424
5882
|
*/
|
|
4425
5883
|
createTensorboard(request: CreateTensorboardRequest): Promise<CreateTensorboardResponse>;
|
|
4426
5884
|
/**
|
|
4427
|
-
*
|
|
5885
|
+
* Deletes a completed or stopped job.
|
|
4428
5886
|
*
|
|
4429
5887
|
* @param headers - map
|
|
4430
5888
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4434,12 +5892,12 @@ export default class Client extends OpenApi {
|
|
|
4434
5892
|
[key: string]: string;
|
|
4435
5893
|
}, runtime: $dara.RuntimeOptions): Promise<DeleteJobResponse>;
|
|
4436
5894
|
/**
|
|
4437
|
-
*
|
|
5895
|
+
* Deletes a completed or stopped job.
|
|
4438
5896
|
* @returns DeleteJobResponse
|
|
4439
5897
|
*/
|
|
4440
5898
|
deleteJob(JobId: string): Promise<DeleteJobResponse>;
|
|
4441
5899
|
/**
|
|
4442
|
-
*
|
|
5900
|
+
* Deletes a stopped TensorBoard.
|
|
4443
5901
|
*
|
|
4444
5902
|
* @param request - DeleteTensorboardRequest
|
|
4445
5903
|
* @param headers - map
|
|
@@ -4450,14 +5908,14 @@ export default class Client extends OpenApi {
|
|
|
4450
5908
|
[key: string]: string;
|
|
4451
5909
|
}, runtime: $dara.RuntimeOptions): Promise<DeleteTensorboardResponse>;
|
|
4452
5910
|
/**
|
|
4453
|
-
*
|
|
5911
|
+
* Deletes a stopped TensorBoard.
|
|
4454
5912
|
*
|
|
4455
5913
|
* @param request - DeleteTensorboardRequest
|
|
4456
5914
|
* @returns DeleteTensorboardResponse
|
|
4457
5915
|
*/
|
|
4458
5916
|
deleteTensorboard(TensorboardId: string, request: DeleteTensorboardRequest): Promise<DeleteTensorboardResponse>;
|
|
4459
5917
|
/**
|
|
4460
|
-
*
|
|
5918
|
+
* Obtains the configuration and runtime information of a job.
|
|
4461
5919
|
*
|
|
4462
5920
|
* @param request - GetJobRequest
|
|
4463
5921
|
* @param headers - map
|
|
@@ -4468,14 +5926,14 @@ export default class Client extends OpenApi {
|
|
|
4468
5926
|
[key: string]: string;
|
|
4469
5927
|
}, runtime: $dara.RuntimeOptions): Promise<GetJobResponse>;
|
|
4470
5928
|
/**
|
|
4471
|
-
*
|
|
5929
|
+
* Obtains the configuration and runtime information of a job.
|
|
4472
5930
|
*
|
|
4473
5931
|
* @param request - GetJobRequest
|
|
4474
5932
|
* @returns GetJobResponse
|
|
4475
5933
|
*/
|
|
4476
5934
|
getJob(JobId: string, request: GetJobRequest): Promise<GetJobResponse>;
|
|
4477
5935
|
/**
|
|
4478
|
-
*
|
|
5936
|
+
* Obtains the system events of a job.
|
|
4479
5937
|
*
|
|
4480
5938
|
* @param request - GetJobEventsRequest
|
|
4481
5939
|
* @param headers - map
|
|
@@ -4486,14 +5944,14 @@ export default class Client extends OpenApi {
|
|
|
4486
5944
|
[key: string]: string;
|
|
4487
5945
|
}, runtime: $dara.RuntimeOptions): Promise<GetJobEventsResponse>;
|
|
4488
5946
|
/**
|
|
4489
|
-
*
|
|
5947
|
+
* Obtains the system events of a job.
|
|
4490
5948
|
*
|
|
4491
5949
|
* @param request - GetJobEventsRequest
|
|
4492
5950
|
* @returns GetJobEventsResponse
|
|
4493
5951
|
*/
|
|
4494
5952
|
getJobEvents(JobId: string, request: GetJobEventsRequest): Promise<GetJobEventsResponse>;
|
|
4495
5953
|
/**
|
|
4496
|
-
*
|
|
5954
|
+
* Obtains the monitoring data of a job, including the CPU, GPU, and memory utilization, network, and disk read/write rate.
|
|
4497
5955
|
*
|
|
4498
5956
|
* @param request - GetJobMetricsRequest
|
|
4499
5957
|
* @param headers - map
|
|
@@ -4504,14 +5962,14 @@ export default class Client extends OpenApi {
|
|
|
4504
5962
|
[key: string]: string;
|
|
4505
5963
|
}, runtime: $dara.RuntimeOptions): Promise<GetJobMetricsResponse>;
|
|
4506
5964
|
/**
|
|
4507
|
-
*
|
|
5965
|
+
* Obtains the monitoring data of a job, including the CPU, GPU, and memory utilization, network, and disk read/write rate.
|
|
4508
5966
|
*
|
|
4509
5967
|
* @param request - GetJobMetricsRequest
|
|
4510
5968
|
* @returns GetJobMetricsResponse
|
|
4511
5969
|
*/
|
|
4512
5970
|
getJobMetrics(JobId: string, request: GetJobMetricsRequest): Promise<GetJobMetricsResponse>;
|
|
4513
5971
|
/**
|
|
4514
|
-
*
|
|
5972
|
+
* Obtains specified job sanity check result in a Deep Learning Containers (DLC) job.
|
|
4515
5973
|
*
|
|
4516
5974
|
* @param request - GetJobSanityCheckResultRequest
|
|
4517
5975
|
* @param headers - map
|
|
@@ -4522,14 +5980,14 @@ export default class Client extends OpenApi {
|
|
|
4522
5980
|
[key: string]: string;
|
|
4523
5981
|
}, runtime: $dara.RuntimeOptions): Promise<GetJobSanityCheckResultResponse>;
|
|
4524
5982
|
/**
|
|
4525
|
-
*
|
|
5983
|
+
* Obtains specified job sanity check result in a Deep Learning Containers (DLC) job.
|
|
4526
5984
|
*
|
|
4527
5985
|
* @param request - GetJobSanityCheckResultRequest
|
|
4528
5986
|
* @returns GetJobSanityCheckResultResponse
|
|
4529
5987
|
*/
|
|
4530
5988
|
getJobSanityCheckResult(JobId: string, request: GetJobSanityCheckResultRequest): Promise<GetJobSanityCheckResultResponse>;
|
|
4531
5989
|
/**
|
|
4532
|
-
*
|
|
5990
|
+
* Obtains the system events of a specific node in a job to locate and troubleshoot issues.
|
|
4533
5991
|
*
|
|
4534
5992
|
* @param request - GetPodEventsRequest
|
|
4535
5993
|
* @param headers - map
|
|
@@ -4540,14 +5998,14 @@ export default class Client extends OpenApi {
|
|
|
4540
5998
|
[key: string]: string;
|
|
4541
5999
|
}, runtime: $dara.RuntimeOptions): Promise<GetPodEventsResponse>;
|
|
4542
6000
|
/**
|
|
4543
|
-
*
|
|
6001
|
+
* Obtains the system events of a specific node in a job to locate and troubleshoot issues.
|
|
4544
6002
|
*
|
|
4545
6003
|
* @param request - GetPodEventsRequest
|
|
4546
6004
|
* @returns GetPodEventsResponse
|
|
4547
6005
|
*/
|
|
4548
6006
|
getPodEvents(JobId: string, PodId: string, request: GetPodEventsRequest): Promise<GetPodEventsResponse>;
|
|
4549
6007
|
/**
|
|
4550
|
-
*
|
|
6008
|
+
* Obtains or downloads the logs of a node for a task. The logs are from the stdout and stderr of the system and user scripts.
|
|
4551
6009
|
*
|
|
4552
6010
|
* @param request - GetPodLogsRequest
|
|
4553
6011
|
* @param headers - map
|
|
@@ -4558,14 +6016,32 @@ export default class Client extends OpenApi {
|
|
|
4558
6016
|
[key: string]: string;
|
|
4559
6017
|
}, runtime: $dara.RuntimeOptions): Promise<GetPodLogsResponse>;
|
|
4560
6018
|
/**
|
|
4561
|
-
*
|
|
6019
|
+
* Obtains or downloads the logs of a node for a task. The logs are from the stdout and stderr of the system and user scripts.
|
|
4562
6020
|
*
|
|
4563
6021
|
* @param request - GetPodLogsRequest
|
|
4564
6022
|
* @returns GetPodLogsResponse
|
|
4565
6023
|
*/
|
|
4566
6024
|
getPodLogs(JobId: string, PodId: string, request: GetPodLogsRequest): Promise<GetPodLogsResponse>;
|
|
4567
6025
|
/**
|
|
4568
|
-
*
|
|
6026
|
+
* 获取 Ray Dashboard 链接
|
|
6027
|
+
*
|
|
6028
|
+
* @param request - GetRayDashboardRequest
|
|
6029
|
+
* @param headers - map
|
|
6030
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
6031
|
+
* @returns GetRayDashboardResponse
|
|
6032
|
+
*/
|
|
6033
|
+
getRayDashboardWithOptions(jobId: string, request: GetRayDashboardRequest, headers: {
|
|
6034
|
+
[key: string]: string;
|
|
6035
|
+
}, runtime: $dara.RuntimeOptions): Promise<GetRayDashboardResponse>;
|
|
6036
|
+
/**
|
|
6037
|
+
* 获取 Ray Dashboard 链接
|
|
6038
|
+
*
|
|
6039
|
+
* @param request - GetRayDashboardRequest
|
|
6040
|
+
* @returns GetRayDashboardResponse
|
|
6041
|
+
*/
|
|
6042
|
+
getRayDashboard(jobId: string, request: GetRayDashboardRequest): Promise<GetRayDashboardResponse>;
|
|
6043
|
+
/**
|
|
6044
|
+
* Queries the information of a TensorBoard instance.
|
|
4569
6045
|
*
|
|
4570
6046
|
* @param request - GetTensorboardRequest
|
|
4571
6047
|
* @param headers - map
|
|
@@ -4576,14 +6052,14 @@ export default class Client extends OpenApi {
|
|
|
4576
6052
|
[key: string]: string;
|
|
4577
6053
|
}, runtime: $dara.RuntimeOptions): Promise<GetTensorboardResponse>;
|
|
4578
6054
|
/**
|
|
4579
|
-
*
|
|
6055
|
+
* Queries the information of a TensorBoard instance.
|
|
4580
6056
|
*
|
|
4581
6057
|
* @param request - GetTensorboardRequest
|
|
4582
6058
|
* @returns GetTensorboardResponse
|
|
4583
6059
|
*/
|
|
4584
6060
|
getTensorboard(TensorboardId: string, request: GetTensorboardRequest): Promise<GetTensorboardResponse>;
|
|
4585
6061
|
/**
|
|
4586
|
-
*
|
|
6062
|
+
* Obtains the shareable link of a TensorBoard task. The link contains digital tokens. You can use a shareable link to access a TensorBoard task.
|
|
4587
6063
|
*
|
|
4588
6064
|
* @param request - GetTensorboardSharedUrlRequest
|
|
4589
6065
|
* @param headers - map
|
|
@@ -4594,14 +6070,14 @@ export default class Client extends OpenApi {
|
|
|
4594
6070
|
[key: string]: string;
|
|
4595
6071
|
}, runtime: $dara.RuntimeOptions): Promise<GetTensorboardSharedUrlResponse>;
|
|
4596
6072
|
/**
|
|
4597
|
-
*
|
|
6073
|
+
* Obtains the shareable link of a TensorBoard task. The link contains digital tokens. You can use a shareable link to access a TensorBoard task.
|
|
4598
6074
|
*
|
|
4599
6075
|
* @param request - GetTensorboardSharedUrlRequest
|
|
4600
6076
|
* @returns GetTensorboardSharedUrlResponse
|
|
4601
6077
|
*/
|
|
4602
6078
|
getTensorboardSharedUrl(TensorboardId: string, request: GetTensorboardSharedUrlRequest): Promise<GetTensorboardSharedUrlResponse>;
|
|
4603
6079
|
/**
|
|
4604
|
-
*
|
|
6080
|
+
* Queries a user token.
|
|
4605
6081
|
*
|
|
4606
6082
|
* @param request - GetTokenRequest
|
|
4607
6083
|
* @param headers - map
|
|
@@ -4612,14 +6088,14 @@ export default class Client extends OpenApi {
|
|
|
4612
6088
|
[key: string]: string;
|
|
4613
6089
|
}, runtime: $dara.RuntimeOptions): Promise<GetTokenResponse>;
|
|
4614
6090
|
/**
|
|
4615
|
-
*
|
|
6091
|
+
* Queries a user token.
|
|
4616
6092
|
*
|
|
4617
6093
|
* @param request - GetTokenRequest
|
|
4618
6094
|
* @returns GetTokenResponse
|
|
4619
6095
|
*/
|
|
4620
6096
|
getToken(request: GetTokenRequest): Promise<GetTokenResponse>;
|
|
4621
6097
|
/**
|
|
4622
|
-
*
|
|
6098
|
+
* Provides methods and steps to obtain a HTTP link for accessing a container.
|
|
4623
6099
|
*
|
|
4624
6100
|
* @param request - GetWebTerminalRequest
|
|
4625
6101
|
* @param headers - map
|
|
@@ -4630,14 +6106,14 @@ export default class Client extends OpenApi {
|
|
|
4630
6106
|
[key: string]: string;
|
|
4631
6107
|
}, runtime: $dara.RuntimeOptions): Promise<GetWebTerminalResponse>;
|
|
4632
6108
|
/**
|
|
4633
|
-
*
|
|
6109
|
+
* Provides methods and steps to obtain a HTTP link for accessing a container.
|
|
4634
6110
|
*
|
|
4635
6111
|
* @param request - GetWebTerminalRequest
|
|
4636
6112
|
* @returns GetWebTerminalResponse
|
|
4637
6113
|
*/
|
|
4638
6114
|
getWebTerminal(JobId: string, PodId: string, request: GetWebTerminalRequest): Promise<GetWebTerminalResponse>;
|
|
4639
6115
|
/**
|
|
4640
|
-
*
|
|
6116
|
+
* Queries the list of supported instance types.
|
|
4641
6117
|
*
|
|
4642
6118
|
* @param request - ListEcsSpecsRequest
|
|
4643
6119
|
* @param headers - map
|
|
@@ -4648,14 +6124,14 @@ export default class Client extends OpenApi {
|
|
|
4648
6124
|
[key: string]: string;
|
|
4649
6125
|
}, runtime: $dara.RuntimeOptions): Promise<ListEcsSpecsResponse>;
|
|
4650
6126
|
/**
|
|
4651
|
-
*
|
|
6127
|
+
* Queries the list of supported instance types.
|
|
4652
6128
|
*
|
|
4653
6129
|
* @param request - ListEcsSpecsRequest
|
|
4654
6130
|
* @returns ListEcsSpecsResponse
|
|
4655
6131
|
*/
|
|
4656
6132
|
listEcsSpecs(request: ListEcsSpecsRequest): Promise<ListEcsSpecsResponse>;
|
|
4657
6133
|
/**
|
|
4658
|
-
*
|
|
6134
|
+
* Obtains the results of all sanity checks for a DLC job.
|
|
4659
6135
|
*
|
|
4660
6136
|
* @param request - ListJobSanityCheckResultsRequest
|
|
4661
6137
|
* @param headers - map
|
|
@@ -4666,14 +6142,14 @@ export default class Client extends OpenApi {
|
|
|
4666
6142
|
[key: string]: string;
|
|
4667
6143
|
}, runtime: $dara.RuntimeOptions): Promise<ListJobSanityCheckResultsResponse>;
|
|
4668
6144
|
/**
|
|
4669
|
-
*
|
|
6145
|
+
* Obtains the results of all sanity checks for a DLC job.
|
|
4670
6146
|
*
|
|
4671
6147
|
* @param request - ListJobSanityCheckResultsRequest
|
|
4672
6148
|
* @returns ListJobSanityCheckResultsResponse
|
|
4673
6149
|
*/
|
|
4674
6150
|
listJobSanityCheckResults(JobId: string, request: ListJobSanityCheckResultsRequest): Promise<ListJobSanityCheckResultsResponse>;
|
|
4675
6151
|
/**
|
|
4676
|
-
*
|
|
6152
|
+
* Queries a list of jobs and supports pagination, sorting, and filtering by conditions.
|
|
4677
6153
|
*
|
|
4678
6154
|
* @param tmpReq - ListJobsRequest
|
|
4679
6155
|
* @param headers - map
|
|
@@ -4684,14 +6160,14 @@ export default class Client extends OpenApi {
|
|
|
4684
6160
|
[key: string]: string;
|
|
4685
6161
|
}, runtime: $dara.RuntimeOptions): Promise<ListJobsResponse>;
|
|
4686
6162
|
/**
|
|
4687
|
-
*
|
|
6163
|
+
* Queries a list of jobs and supports pagination, sorting, and filtering by conditions.
|
|
4688
6164
|
*
|
|
4689
6165
|
* @param request - ListJobsRequest
|
|
4690
6166
|
* @returns ListJobsResponse
|
|
4691
6167
|
*/
|
|
4692
6168
|
listJobs(request: ListJobsRequest): Promise<ListJobsResponse>;
|
|
4693
6169
|
/**
|
|
4694
|
-
*
|
|
6170
|
+
* Queries a list of TensorBoard instances.
|
|
4695
6171
|
*
|
|
4696
6172
|
* @param request - ListTensorboardsRequest
|
|
4697
6173
|
* @param headers - map
|
|
@@ -4702,14 +6178,14 @@ export default class Client extends OpenApi {
|
|
|
4702
6178
|
[key: string]: string;
|
|
4703
6179
|
}, runtime: $dara.RuntimeOptions): Promise<ListTensorboardsResponse>;
|
|
4704
6180
|
/**
|
|
4705
|
-
*
|
|
6181
|
+
* Queries a list of TensorBoard instances.
|
|
4706
6182
|
*
|
|
4707
6183
|
* @param request - ListTensorboardsRequest
|
|
4708
6184
|
* @returns ListTensorboardsResponse
|
|
4709
6185
|
*/
|
|
4710
6186
|
listTensorboards(request: ListTensorboardsRequest): Promise<ListTensorboardsResponse>;
|
|
4711
6187
|
/**
|
|
4712
|
-
*
|
|
6188
|
+
* Starts a TensorBoard instance.
|
|
4713
6189
|
*
|
|
4714
6190
|
* @param request - StartTensorboardRequest
|
|
4715
6191
|
* @param headers - map
|
|
@@ -4720,14 +6196,14 @@ export default class Client extends OpenApi {
|
|
|
4720
6196
|
[key: string]: string;
|
|
4721
6197
|
}, runtime: $dara.RuntimeOptions): Promise<StartTensorboardResponse>;
|
|
4722
6198
|
/**
|
|
4723
|
-
*
|
|
6199
|
+
* Starts a TensorBoard instance.
|
|
4724
6200
|
*
|
|
4725
6201
|
* @param request - StartTensorboardRequest
|
|
4726
6202
|
* @returns StartTensorboardResponse
|
|
4727
6203
|
*/
|
|
4728
6204
|
startTensorboard(TensorboardId: string, request: StartTensorboardRequest): Promise<StartTensorboardResponse>;
|
|
4729
6205
|
/**
|
|
4730
|
-
*
|
|
6206
|
+
* Stops a running job.
|
|
4731
6207
|
*
|
|
4732
6208
|
* @param headers - map
|
|
4733
6209
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4737,12 +6213,12 @@ export default class Client extends OpenApi {
|
|
|
4737
6213
|
[key: string]: string;
|
|
4738
6214
|
}, runtime: $dara.RuntimeOptions): Promise<StopJobResponse>;
|
|
4739
6215
|
/**
|
|
4740
|
-
*
|
|
6216
|
+
* Stops a running job.
|
|
4741
6217
|
* @returns StopJobResponse
|
|
4742
6218
|
*/
|
|
4743
6219
|
stopJob(JobId: string): Promise<StopJobResponse>;
|
|
4744
6220
|
/**
|
|
4745
|
-
*
|
|
6221
|
+
* Stops a TensorBoard instance.
|
|
4746
6222
|
*
|
|
4747
6223
|
* @param request - StopTensorboardRequest
|
|
4748
6224
|
* @param headers - map
|
|
@@ -4753,14 +6229,14 @@ export default class Client extends OpenApi {
|
|
|
4753
6229
|
[key: string]: string;
|
|
4754
6230
|
}, runtime: $dara.RuntimeOptions): Promise<StopTensorboardResponse>;
|
|
4755
6231
|
/**
|
|
4756
|
-
*
|
|
6232
|
+
* Stops a TensorBoard instance.
|
|
4757
6233
|
*
|
|
4758
6234
|
* @param request - StopTensorboardRequest
|
|
4759
6235
|
* @returns StopTensorboardResponse
|
|
4760
6236
|
*/
|
|
4761
6237
|
stopTensorboard(TensorboardId: string, request: StopTensorboardRequest): Promise<StopTensorboardResponse>;
|
|
4762
6238
|
/**
|
|
4763
|
-
*
|
|
6239
|
+
* Updates the configuration information of a job. For example, you can modify the priority of a job in a queue.
|
|
4764
6240
|
*
|
|
4765
6241
|
* @param request - UpdateJobRequest
|
|
4766
6242
|
* @param headers - map
|
|
@@ -4771,14 +6247,14 @@ export default class Client extends OpenApi {
|
|
|
4771
6247
|
[key: string]: string;
|
|
4772
6248
|
}, runtime: $dara.RuntimeOptions): Promise<UpdateJobResponse>;
|
|
4773
6249
|
/**
|
|
4774
|
-
*
|
|
6250
|
+
* Updates the configuration information of a job. For example, you can modify the priority of a job in a queue.
|
|
4775
6251
|
*
|
|
4776
6252
|
* @param request - UpdateJobRequest
|
|
4777
6253
|
* @returns UpdateJobResponse
|
|
4778
6254
|
*/
|
|
4779
6255
|
updateJob(JobId: string, request: UpdateJobRequest): Promise<UpdateJobResponse>;
|
|
4780
6256
|
/**
|
|
4781
|
-
*
|
|
6257
|
+
* Updates a TensorBoard instance.
|
|
4782
6258
|
*
|
|
4783
6259
|
* @param request - UpdateTensorboardRequest
|
|
4784
6260
|
* @param headers - map
|
|
@@ -4789,7 +6265,7 @@ export default class Client extends OpenApi {
|
|
|
4789
6265
|
[key: string]: string;
|
|
4790
6266
|
}, runtime: $dara.RuntimeOptions): Promise<UpdateTensorboardResponse>;
|
|
4791
6267
|
/**
|
|
4792
|
-
*
|
|
6268
|
+
* Updates a TensorBoard instance.
|
|
4793
6269
|
*
|
|
4794
6270
|
* @param request - UpdateTensorboardRequest
|
|
4795
6271
|
* @returns UpdateTensorboardResponse
|