@alicloud/pai-dlc20201203 1.4.8 → 1.4.10
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 +2106 -183
- package/dist/client.js +290 -186
- package/dist/client.js.map +1 -1
- package/package.json +3 -3
- package/src/client.ts +2215 -227
package/dist/client.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
3
2
|
*/
|
|
4
3
|
import * as $Util from '@alicloud/tea-util';
|
|
5
4
|
import OpenApi, * as $OpenApi from '@alicloud/openapi-client';
|
|
@@ -52,16 +51,56 @@ export declare class AssumeUserInfo extends $tea.Model {
|
|
|
52
51
|
});
|
|
53
52
|
}
|
|
54
53
|
export declare class CodeSourceItem extends $tea.Model {
|
|
54
|
+
/**
|
|
55
|
+
* @example
|
|
56
|
+
* master
|
|
57
|
+
*/
|
|
55
58
|
codeBranch?: string;
|
|
59
|
+
/**
|
|
60
|
+
* @example
|
|
61
|
+
* 44da1*******
|
|
62
|
+
*/
|
|
56
63
|
codeCommit?: string;
|
|
64
|
+
/**
|
|
65
|
+
* @example
|
|
66
|
+
* https://code.aliyun.com/pai-dlc/examples.git
|
|
67
|
+
*/
|
|
57
68
|
codeRepo?: string;
|
|
58
69
|
codeRepoAccessToken?: string;
|
|
70
|
+
/**
|
|
71
|
+
* @example
|
|
72
|
+
* user
|
|
73
|
+
*/
|
|
59
74
|
codeRepoUserName?: string;
|
|
75
|
+
/**
|
|
76
|
+
* @example
|
|
77
|
+
* code-20210111103721-85qz*****
|
|
78
|
+
*/
|
|
60
79
|
codeSourceId?: string;
|
|
80
|
+
/**
|
|
81
|
+
* @example
|
|
82
|
+
* code source of dlc examples
|
|
83
|
+
*/
|
|
61
84
|
description?: string;
|
|
85
|
+
/**
|
|
86
|
+
* @example
|
|
87
|
+
* MyCodeSourceName1
|
|
88
|
+
*/
|
|
62
89
|
displayName?: string;
|
|
90
|
+
/**
|
|
91
|
+
* @example
|
|
92
|
+
* 2021-01-18T12:52:15Z
|
|
93
|
+
*/
|
|
63
94
|
gmtCreateTime?: string;
|
|
95
|
+
/**
|
|
96
|
+
* @example
|
|
97
|
+
* 2021-01-18T12:52:15Z
|
|
98
|
+
*/
|
|
64
99
|
gmtModifyTime?: string;
|
|
100
|
+
/**
|
|
101
|
+
* @example
|
|
102
|
+
* 115**********
|
|
103
|
+
*/
|
|
65
104
|
userId?: string;
|
|
66
105
|
static names(): {
|
|
67
106
|
[key: string]: string;
|
|
@@ -77,9 +116,21 @@ export declare class ContainerSpec extends $tea.Model {
|
|
|
77
116
|
args?: string[];
|
|
78
117
|
command?: string[];
|
|
79
118
|
env?: EnvVar[];
|
|
119
|
+
/**
|
|
120
|
+
* @example
|
|
121
|
+
* registry.cn-hangzhou.aliyuncs.com/pai-dlc/curl:v1.0.0
|
|
122
|
+
*/
|
|
80
123
|
image?: string;
|
|
124
|
+
/**
|
|
125
|
+
* @example
|
|
126
|
+
* data-init
|
|
127
|
+
*/
|
|
81
128
|
name?: string;
|
|
82
129
|
resources?: ResourceRequirements;
|
|
130
|
+
/**
|
|
131
|
+
* @example
|
|
132
|
+
* /root
|
|
133
|
+
*/
|
|
83
134
|
workingDir?: string;
|
|
84
135
|
static names(): {
|
|
85
136
|
[key: string]: string;
|
|
@@ -107,6 +158,10 @@ export declare class CredentialConfig extends $tea.Model {
|
|
|
107
158
|
}
|
|
108
159
|
export declare class CredentialConfigItem extends $tea.Model {
|
|
109
160
|
key?: string;
|
|
161
|
+
/**
|
|
162
|
+
* **if can be null:**
|
|
163
|
+
* true
|
|
164
|
+
*/
|
|
110
165
|
roles?: CredentialRole[];
|
|
111
166
|
type?: string;
|
|
112
167
|
static names(): {
|
|
@@ -136,17 +191,65 @@ export declare class CredentialRole extends $tea.Model {
|
|
|
136
191
|
});
|
|
137
192
|
}
|
|
138
193
|
export declare class DataSourceItem extends $tea.Model {
|
|
194
|
+
/**
|
|
195
|
+
* @example
|
|
196
|
+
* data-20210114104214-vf9lowjt3pso
|
|
197
|
+
*/
|
|
139
198
|
dataSourceId?: string;
|
|
199
|
+
/**
|
|
200
|
+
* @example
|
|
201
|
+
* nas
|
|
202
|
+
*/
|
|
140
203
|
dataSourceType?: string;
|
|
204
|
+
/**
|
|
205
|
+
* @example
|
|
206
|
+
* data source of dlc examples
|
|
207
|
+
*/
|
|
141
208
|
description?: string;
|
|
209
|
+
/**
|
|
210
|
+
* @example
|
|
211
|
+
* nas-data
|
|
212
|
+
*/
|
|
142
213
|
displayName?: string;
|
|
214
|
+
/**
|
|
215
|
+
* @example
|
|
216
|
+
* oss-cn-beijing-internal.aliyuncs.com
|
|
217
|
+
*/
|
|
143
218
|
endpoint?: string;
|
|
219
|
+
/**
|
|
220
|
+
* @example
|
|
221
|
+
* 1ca404****
|
|
222
|
+
*/
|
|
144
223
|
fileSystemId?: string;
|
|
224
|
+
/**
|
|
225
|
+
* @example
|
|
226
|
+
* 2021-01-12T14:35:00Z
|
|
227
|
+
*/
|
|
145
228
|
gmtCreateTime?: string;
|
|
229
|
+
/**
|
|
230
|
+
* @example
|
|
231
|
+
* 2021-01-12T14:36:00Z
|
|
232
|
+
*/
|
|
146
233
|
gmtModifyTime?: string;
|
|
234
|
+
/**
|
|
235
|
+
* @example
|
|
236
|
+
* /root/data/
|
|
237
|
+
*/
|
|
147
238
|
mountPath?: string;
|
|
239
|
+
/**
|
|
240
|
+
* @example
|
|
241
|
+
* {"key": "value"}
|
|
242
|
+
*/
|
|
148
243
|
options?: string;
|
|
244
|
+
/**
|
|
245
|
+
* @example
|
|
246
|
+
* oss://mybucket/path/to/dir
|
|
247
|
+
*/
|
|
149
248
|
path?: string;
|
|
249
|
+
/**
|
|
250
|
+
* @example
|
|
251
|
+
* 123456789
|
|
252
|
+
*/
|
|
150
253
|
userId?: string;
|
|
151
254
|
static names(): {
|
|
152
255
|
[key: string]: string;
|
|
@@ -159,11 +262,35 @@ export declare class DataSourceItem extends $tea.Model {
|
|
|
159
262
|
});
|
|
160
263
|
}
|
|
161
264
|
export declare class DebuggerConfig extends $tea.Model {
|
|
265
|
+
/**
|
|
266
|
+
* @example
|
|
267
|
+
* {\"description\":\"这是一个新的pytorchjob模板\"}
|
|
268
|
+
*/
|
|
162
269
|
content?: string;
|
|
270
|
+
/**
|
|
271
|
+
* @example
|
|
272
|
+
* dc-vf9lowjt3pso
|
|
273
|
+
*/
|
|
163
274
|
debuggerConfigId?: string;
|
|
275
|
+
/**
|
|
276
|
+
* @example
|
|
277
|
+
* 这是一个Pytorch的基础配置模板
|
|
278
|
+
*/
|
|
164
279
|
description?: string;
|
|
280
|
+
/**
|
|
281
|
+
* @example
|
|
282
|
+
* Pytorch Experiment Config
|
|
283
|
+
*/
|
|
165
284
|
displayName?: string;
|
|
285
|
+
/**
|
|
286
|
+
* @example
|
|
287
|
+
* 2021-01-12T14:35:00Z
|
|
288
|
+
*/
|
|
166
289
|
gmtCreateTime?: string;
|
|
290
|
+
/**
|
|
291
|
+
* @example
|
|
292
|
+
* 2021-01-12T14:36:00Z
|
|
293
|
+
*/
|
|
167
294
|
gmtModifyTime?: string;
|
|
168
295
|
static names(): {
|
|
169
296
|
[key: string]: string;
|
|
@@ -176,9 +303,25 @@ export declare class DebuggerConfig extends $tea.Model {
|
|
|
176
303
|
});
|
|
177
304
|
}
|
|
178
305
|
export declare class DebuggerJob extends $tea.Model {
|
|
306
|
+
/**
|
|
307
|
+
* @example
|
|
308
|
+
* dlc20210126170216-mtl37ge7gkvdz
|
|
309
|
+
*/
|
|
179
310
|
debuggerJobId?: string;
|
|
311
|
+
/**
|
|
312
|
+
* @example
|
|
313
|
+
* dlc debugger test
|
|
314
|
+
*/
|
|
180
315
|
displayName?: string;
|
|
316
|
+
/**
|
|
317
|
+
* @example
|
|
318
|
+
* 2932
|
|
319
|
+
*/
|
|
181
320
|
duration?: string;
|
|
321
|
+
/**
|
|
322
|
+
* @example
|
|
323
|
+
* 2021-01-12T14:35:00Z
|
|
324
|
+
*/
|
|
182
325
|
gmtCreateTime?: string;
|
|
183
326
|
gmtFailedTime?: string;
|
|
184
327
|
gmtFinishTime?: string;
|
|
@@ -186,9 +329,25 @@ export declare class DebuggerJob extends $tea.Model {
|
|
|
186
329
|
gmtStoppedTime?: string;
|
|
187
330
|
gmtSubmittedTime?: string;
|
|
188
331
|
gmtSucceedTime?: string;
|
|
332
|
+
/**
|
|
333
|
+
* @example
|
|
334
|
+
* Running
|
|
335
|
+
*/
|
|
189
336
|
status?: string;
|
|
337
|
+
/**
|
|
338
|
+
* @example
|
|
339
|
+
* 12344556
|
|
340
|
+
*/
|
|
190
341
|
userId?: string;
|
|
342
|
+
/**
|
|
343
|
+
* @example
|
|
344
|
+
* workspace01
|
|
345
|
+
*/
|
|
191
346
|
workspaceId?: string;
|
|
347
|
+
/**
|
|
348
|
+
* @example
|
|
349
|
+
* public
|
|
350
|
+
*/
|
|
192
351
|
workspaceName?: string;
|
|
193
352
|
static names(): {
|
|
194
353
|
[key: string]: string;
|
|
@@ -201,12 +360,40 @@ export declare class DebuggerJob extends $tea.Model {
|
|
|
201
360
|
});
|
|
202
361
|
}
|
|
203
362
|
export declare class DebuggerJobIssue extends $tea.Model {
|
|
363
|
+
/**
|
|
364
|
+
* @example
|
|
365
|
+
* {"Name": "CPUBottleneck", "Triggered": 10, "Violations": 2, "Details": "{}"}
|
|
366
|
+
*/
|
|
204
367
|
debuggerJobIssue?: string;
|
|
368
|
+
/**
|
|
369
|
+
* @example
|
|
370
|
+
* 2021-01-12T14:35:00Z
|
|
371
|
+
*/
|
|
205
372
|
gmtCreateTime?: string;
|
|
373
|
+
/**
|
|
374
|
+
* @example
|
|
375
|
+
* de-826ca1bcfba30
|
|
376
|
+
*/
|
|
206
377
|
jobDebuggerIssueId?: string;
|
|
378
|
+
/**
|
|
379
|
+
* @example
|
|
380
|
+
* dlc-20210126170216-mtl37ge7gkvdz
|
|
381
|
+
*/
|
|
207
382
|
jobId?: string;
|
|
383
|
+
/**
|
|
384
|
+
* @example
|
|
385
|
+
* 1002300
|
|
386
|
+
*/
|
|
208
387
|
reasonCode?: string;
|
|
388
|
+
/**
|
|
389
|
+
* @example
|
|
390
|
+
* GPU利用率低
|
|
391
|
+
*/
|
|
209
392
|
reasonMessage?: string;
|
|
393
|
+
/**
|
|
394
|
+
* @example
|
|
395
|
+
* ProfileReport
|
|
396
|
+
*/
|
|
210
397
|
ruleName?: string;
|
|
211
398
|
static names(): {
|
|
212
399
|
[key: string]: string;
|
|
@@ -219,12 +406,40 @@ export declare class DebuggerJobIssue extends $tea.Model {
|
|
|
219
406
|
});
|
|
220
407
|
}
|
|
221
408
|
export declare class DebuggerResult extends $tea.Model {
|
|
409
|
+
/**
|
|
410
|
+
* @example
|
|
411
|
+
* {\"description\":\"这是一个新的pytorchjob模板\"}
|
|
412
|
+
*/
|
|
222
413
|
debuggerConfigContent?: string;
|
|
414
|
+
/**
|
|
415
|
+
* @example
|
|
416
|
+
* { "ProfileReport": { "Name": "CPUBottleneck","Triggered": 10,"Violations": 2,"Details": "{}"}, "LowCPU": { "Name": "CPUBottleneck","Triggered": 10,"Violations": 2,"Details": "{}"}}
|
|
417
|
+
*/
|
|
223
418
|
debuggerJobIssues?: string;
|
|
419
|
+
/**
|
|
420
|
+
* @example
|
|
421
|
+
* {"Running": 1, "Failed": 1, "Succeeded": 2}
|
|
422
|
+
*/
|
|
224
423
|
debuggerJobStatus?: string;
|
|
424
|
+
/**
|
|
425
|
+
* @example
|
|
426
|
+
* http://xxx.com/debug/report/download/new_xxxx.html
|
|
427
|
+
*/
|
|
225
428
|
debuggerReportURL?: string;
|
|
429
|
+
/**
|
|
430
|
+
* @example
|
|
431
|
+
* dlc debugger test
|
|
432
|
+
*/
|
|
226
433
|
jobDisplayName?: string;
|
|
434
|
+
/**
|
|
435
|
+
* @example
|
|
436
|
+
* dlc-20210126170216-mtl37ge7gkvdz
|
|
437
|
+
*/
|
|
227
438
|
jobId?: string;
|
|
439
|
+
/**
|
|
440
|
+
* @example
|
|
441
|
+
* 12344556
|
|
442
|
+
*/
|
|
228
443
|
jobUserId?: string;
|
|
229
444
|
static names(): {
|
|
230
445
|
[key: string]: string;
|
|
@@ -237,17 +452,61 @@ export declare class DebuggerResult extends $tea.Model {
|
|
|
237
452
|
});
|
|
238
453
|
}
|
|
239
454
|
export declare class EcsSpec extends $tea.Model {
|
|
455
|
+
/**
|
|
456
|
+
* @example
|
|
457
|
+
* GPU
|
|
458
|
+
*/
|
|
240
459
|
acceleratorType?: string;
|
|
460
|
+
/**
|
|
461
|
+
* @example
|
|
462
|
+
* 12
|
|
463
|
+
*/
|
|
241
464
|
cpu?: number;
|
|
465
|
+
/**
|
|
466
|
+
* @example
|
|
467
|
+
* 470.199.02
|
|
468
|
+
*/
|
|
242
469
|
defaultGPUDriver?: string;
|
|
470
|
+
/**
|
|
471
|
+
* @example
|
|
472
|
+
* 1
|
|
473
|
+
*/
|
|
243
474
|
gpu?: number;
|
|
475
|
+
/**
|
|
476
|
+
* @example
|
|
477
|
+
* NVIDIA v100
|
|
478
|
+
*/
|
|
244
479
|
gpuType?: string;
|
|
480
|
+
/**
|
|
481
|
+
* @example
|
|
482
|
+
* ecs.gn6e-c12g1.3xlarge
|
|
483
|
+
*/
|
|
245
484
|
instanceType?: string;
|
|
485
|
+
/**
|
|
486
|
+
* @example
|
|
487
|
+
* true
|
|
488
|
+
*/
|
|
246
489
|
isAvailable?: boolean;
|
|
490
|
+
/**
|
|
491
|
+
* @example
|
|
492
|
+
* 92
|
|
493
|
+
*/
|
|
247
494
|
memory?: number;
|
|
495
|
+
/**
|
|
496
|
+
* @example
|
|
497
|
+
* 0.1
|
|
498
|
+
*/
|
|
248
499
|
nonProtectSpotDiscount?: number;
|
|
249
500
|
paymentTypes?: string[];
|
|
501
|
+
/**
|
|
502
|
+
* @example
|
|
503
|
+
* ECS
|
|
504
|
+
*/
|
|
250
505
|
resourceType?: string;
|
|
506
|
+
/**
|
|
507
|
+
* @example
|
|
508
|
+
* WithStock
|
|
509
|
+
*/
|
|
251
510
|
spotStockStatus?: string;
|
|
252
511
|
supportedGPUDrivers?: string[];
|
|
253
512
|
static names(): {
|
|
@@ -261,7 +520,15 @@ export declare class EcsSpec extends $tea.Model {
|
|
|
261
520
|
});
|
|
262
521
|
}
|
|
263
522
|
export declare class EnvVar extends $tea.Model {
|
|
523
|
+
/**
|
|
524
|
+
* @example
|
|
525
|
+
* ENABLE_DEBUG
|
|
526
|
+
*/
|
|
264
527
|
name?: string;
|
|
528
|
+
/**
|
|
529
|
+
* @example
|
|
530
|
+
* true
|
|
531
|
+
*/
|
|
265
532
|
value?: string;
|
|
266
533
|
static names(): {
|
|
267
534
|
[key: string]: string;
|
|
@@ -291,6 +558,7 @@ export declare class EventInfo extends $tea.Model {
|
|
|
291
558
|
}
|
|
292
559
|
export declare class ExtraPodSpec extends $tea.Model {
|
|
293
560
|
initContainers?: ContainerSpec[];
|
|
561
|
+
lifecycle?: Lifecycle;
|
|
294
562
|
podAnnotations?: {
|
|
295
563
|
[key: string]: string;
|
|
296
564
|
};
|
|
@@ -314,6 +582,10 @@ export declare class FreeResourceClusterControlItem extends $tea.Model {
|
|
|
314
582
|
clusterName?: string;
|
|
315
583
|
crossClusters?: boolean;
|
|
316
584
|
enableFreeResource?: boolean;
|
|
585
|
+
/**
|
|
586
|
+
* @example
|
|
587
|
+
* frcc-whateversth
|
|
588
|
+
*/
|
|
317
589
|
freeResourceClusterControlId?: string;
|
|
318
590
|
gmtCreateTime?: string;
|
|
319
591
|
gmtModifyTime?: string;
|
|
@@ -329,7 +601,15 @@ export declare class FreeResourceClusterControlItem extends $tea.Model {
|
|
|
329
601
|
});
|
|
330
602
|
}
|
|
331
603
|
export declare class FreeResourceDetail extends $tea.Model {
|
|
604
|
+
/**
|
|
605
|
+
* @example
|
|
606
|
+
* 2
|
|
607
|
+
*/
|
|
332
608
|
amount?: number;
|
|
609
|
+
/**
|
|
610
|
+
* @example
|
|
611
|
+
* CPU
|
|
612
|
+
*/
|
|
333
613
|
resourceType?: string;
|
|
334
614
|
static names(): {
|
|
335
615
|
[key: string]: string;
|
|
@@ -342,13 +622,37 @@ export declare class FreeResourceDetail extends $tea.Model {
|
|
|
342
622
|
});
|
|
343
623
|
}
|
|
344
624
|
export declare class FreeResourceItem extends $tea.Model {
|
|
625
|
+
/**
|
|
626
|
+
* @example
|
|
627
|
+
* 2
|
|
628
|
+
*/
|
|
345
629
|
availableNumber?: number;
|
|
346
630
|
clusterID?: string;
|
|
347
631
|
clusterName?: string;
|
|
632
|
+
/**
|
|
633
|
+
* @example
|
|
634
|
+
* freeres-whateversth
|
|
635
|
+
*/
|
|
348
636
|
freeResourceId?: string;
|
|
637
|
+
/**
|
|
638
|
+
* @example
|
|
639
|
+
* 2021-01-18T12:52:15Z
|
|
640
|
+
*/
|
|
349
641
|
gmtCreateTime?: string;
|
|
642
|
+
/**
|
|
643
|
+
* @example
|
|
644
|
+
* 2021-01-18T12:52:15Z
|
|
645
|
+
*/
|
|
350
646
|
gmtModifyTime?: string;
|
|
647
|
+
/**
|
|
648
|
+
* @example
|
|
649
|
+
* inner
|
|
650
|
+
*/
|
|
351
651
|
regionID?: string;
|
|
652
|
+
/**
|
|
653
|
+
* @example
|
|
654
|
+
* cpu
|
|
655
|
+
*/
|
|
352
656
|
resourceType?: string;
|
|
353
657
|
static names(): {
|
|
354
658
|
[key: string]: string;
|
|
@@ -362,7 +666,15 @@ export declare class FreeResourceItem extends $tea.Model {
|
|
|
362
666
|
}
|
|
363
667
|
export declare class GPUDetail extends $tea.Model {
|
|
364
668
|
GPU?: string;
|
|
669
|
+
/**
|
|
670
|
+
* @example
|
|
671
|
+
* Tesla-V100-32G
|
|
672
|
+
*/
|
|
365
673
|
GPUType?: string;
|
|
674
|
+
/**
|
|
675
|
+
* @example
|
|
676
|
+
* nvidia.com/gpu-tesla-v100-sxm2-16gb
|
|
677
|
+
*/
|
|
366
678
|
GPUTypeFullName?: string;
|
|
367
679
|
static names(): {
|
|
368
680
|
[key: string]: string;
|
|
@@ -376,6 +688,10 @@ export declare class GPUDetail extends $tea.Model {
|
|
|
376
688
|
}
|
|
377
689
|
export declare class ImageConfig extends $tea.Model {
|
|
378
690
|
auth?: string;
|
|
691
|
+
/**
|
|
692
|
+
* @example
|
|
693
|
+
* registry.cn-hangzhou.aliyuncs.com
|
|
694
|
+
*/
|
|
379
695
|
dockerRegistry?: string;
|
|
380
696
|
password?: string;
|
|
381
697
|
username?: string;
|
|
@@ -390,12 +706,40 @@ export declare class ImageConfig extends $tea.Model {
|
|
|
390
706
|
});
|
|
391
707
|
}
|
|
392
708
|
export declare class ImageItem extends $tea.Model {
|
|
709
|
+
/**
|
|
710
|
+
* @example
|
|
711
|
+
* gpu
|
|
712
|
+
*/
|
|
393
713
|
acceleratorType?: string;
|
|
714
|
+
/**
|
|
715
|
+
* @example
|
|
716
|
+
* ken
|
|
717
|
+
*/
|
|
394
718
|
authorId?: string;
|
|
719
|
+
/**
|
|
720
|
+
* @example
|
|
721
|
+
* PyTorchJob
|
|
722
|
+
*/
|
|
395
723
|
framework?: string;
|
|
724
|
+
/**
|
|
725
|
+
* @example
|
|
726
|
+
* Community
|
|
727
|
+
*/
|
|
396
728
|
imageProviderType?: string;
|
|
729
|
+
/**
|
|
730
|
+
* @example
|
|
731
|
+
* tensorflow-training:2.3-cpu-py36-ubuntu18.04
|
|
732
|
+
*/
|
|
397
733
|
imageTag?: string;
|
|
734
|
+
/**
|
|
735
|
+
* @example
|
|
736
|
+
* registry.cn-beijing.aliyuncs.com/pai-dlc/tensorflow-training:2.3-cpu-py36-ubuntu18.04
|
|
737
|
+
*/
|
|
398
738
|
imageUrl?: string;
|
|
739
|
+
/**
|
|
740
|
+
* @example
|
|
741
|
+
* registry-vpc.cn-beijing.aliyuncs.com/pai-dlc/tensorflow-training:2.3-cpu-py36-ubuntu18.04
|
|
742
|
+
*/
|
|
399
743
|
imageUrlVpc?: string;
|
|
400
744
|
static names(): {
|
|
401
745
|
[key: string]: string;
|
|
@@ -425,18 +769,58 @@ export declare class JobDebuggerConfig extends $tea.Model {
|
|
|
425
769
|
export declare class JobElasticSpec extends $tea.Model {
|
|
426
770
|
AIMasterDockerImage?: string;
|
|
427
771
|
AIMasterType?: string;
|
|
772
|
+
/**
|
|
773
|
+
* @example
|
|
774
|
+
* 16
|
|
775
|
+
*/
|
|
428
776
|
EDPMaxParallelism?: number;
|
|
777
|
+
/**
|
|
778
|
+
* @example
|
|
779
|
+
* 8
|
|
780
|
+
*/
|
|
429
781
|
EDPMinParallelism?: number;
|
|
430
782
|
elasticStrategy?: string;
|
|
431
783
|
enableAIMaster?: boolean;
|
|
784
|
+
/**
|
|
785
|
+
* @example
|
|
786
|
+
* true
|
|
787
|
+
*/
|
|
432
788
|
enableEDP?: boolean;
|
|
789
|
+
/**
|
|
790
|
+
* @example
|
|
791
|
+
* true
|
|
792
|
+
*/
|
|
433
793
|
enableElasticTraining?: boolean;
|
|
794
|
+
/**
|
|
795
|
+
* @example
|
|
796
|
+
* true
|
|
797
|
+
*/
|
|
434
798
|
enablePsJobElasticPS?: boolean;
|
|
435
799
|
enablePsJobElasticWorker?: boolean;
|
|
800
|
+
/**
|
|
801
|
+
* @example
|
|
802
|
+
* true
|
|
803
|
+
*/
|
|
436
804
|
enablePsResourceEstimate?: boolean;
|
|
805
|
+
/**
|
|
806
|
+
* @example
|
|
807
|
+
* 8
|
|
808
|
+
*/
|
|
437
809
|
maxParallelism?: number;
|
|
810
|
+
/**
|
|
811
|
+
* @example
|
|
812
|
+
* 1
|
|
813
|
+
*/
|
|
438
814
|
minParallelism?: number;
|
|
815
|
+
/**
|
|
816
|
+
* @example
|
|
817
|
+
* 10
|
|
818
|
+
*/
|
|
439
819
|
PSMaxParallelism?: number;
|
|
820
|
+
/**
|
|
821
|
+
* @example
|
|
822
|
+
* 4
|
|
823
|
+
*/
|
|
440
824
|
PSMinParallelism?: number;
|
|
441
825
|
static names(): {
|
|
442
826
|
[key: string]: string;
|
|
@@ -452,39 +836,151 @@ export declare class JobItem extends $tea.Model {
|
|
|
452
836
|
codeSource?: JobItemCodeSource;
|
|
453
837
|
credentialConfig?: CredentialConfig;
|
|
454
838
|
dataSources?: JobItemDataSources[];
|
|
839
|
+
/**
|
|
840
|
+
* @example
|
|
841
|
+
* tf-mnist-test
|
|
842
|
+
*/
|
|
455
843
|
displayName?: string;
|
|
844
|
+
/**
|
|
845
|
+
* @example
|
|
846
|
+
* 3602
|
|
847
|
+
*/
|
|
456
848
|
duration?: number;
|
|
849
|
+
/**
|
|
850
|
+
* @example
|
|
851
|
+
* false
|
|
852
|
+
*/
|
|
457
853
|
enabledDebugger?: boolean;
|
|
458
854
|
envs?: {
|
|
459
855
|
[key: string]: string;
|
|
460
856
|
};
|
|
857
|
+
/**
|
|
858
|
+
* @example
|
|
859
|
+
* 2021-01-12T14:35:01Z
|
|
860
|
+
*/
|
|
461
861
|
gmtCreateTime?: string;
|
|
862
|
+
/**
|
|
863
|
+
* @example
|
|
864
|
+
* 2021-01-12T14:35:01Z
|
|
865
|
+
*/
|
|
462
866
|
gmtFailedTime?: string;
|
|
867
|
+
/**
|
|
868
|
+
* @example
|
|
869
|
+
* 2021-01-12T15:36:08Z
|
|
870
|
+
*/
|
|
463
871
|
gmtFinishTime?: string;
|
|
872
|
+
/**
|
|
873
|
+
* @example
|
|
874
|
+
* 2021-01-12T14:35:01Z
|
|
875
|
+
*/
|
|
464
876
|
gmtRunningTime?: string;
|
|
877
|
+
/**
|
|
878
|
+
* @example
|
|
879
|
+
* 2021-01-12T14:35:01Z
|
|
880
|
+
*/
|
|
465
881
|
gmtStoppedTime?: string;
|
|
882
|
+
/**
|
|
883
|
+
* @example
|
|
884
|
+
* 2021-01-12T14:35:01Z
|
|
885
|
+
*/
|
|
466
886
|
gmtSubmittedTime?: string;
|
|
887
|
+
/**
|
|
888
|
+
* @example
|
|
889
|
+
* 2021-01-12T14:35:01Z
|
|
890
|
+
*/
|
|
467
891
|
gmtSuccessedTime?: string;
|
|
892
|
+
/**
|
|
893
|
+
* @example
|
|
894
|
+
* dlc-20210126170216-mtl37ge7gkvdz
|
|
895
|
+
*/
|
|
468
896
|
jobId?: string;
|
|
469
897
|
jobSpecs?: JobSpec[];
|
|
898
|
+
/**
|
|
899
|
+
* @example
|
|
900
|
+
* TFJob
|
|
901
|
+
*/
|
|
470
902
|
jobType?: string;
|
|
903
|
+
/**
|
|
904
|
+
* @example
|
|
905
|
+
* 1
|
|
906
|
+
*/
|
|
471
907
|
priority?: number;
|
|
908
|
+
/**
|
|
909
|
+
* @example
|
|
910
|
+
* JobStoppedByUser
|
|
911
|
+
*/
|
|
472
912
|
reasonCode?: string;
|
|
913
|
+
/**
|
|
914
|
+
* @example
|
|
915
|
+
* Job is stopped by user.
|
|
916
|
+
*/
|
|
473
917
|
reasonMessage?: string;
|
|
918
|
+
/**
|
|
919
|
+
* @example
|
|
920
|
+
* dlc-quota
|
|
921
|
+
*/
|
|
474
922
|
resourceId?: string;
|
|
923
|
+
/**
|
|
924
|
+
* @example
|
|
925
|
+
* L0
|
|
926
|
+
*/
|
|
475
927
|
resourceLevel?: string;
|
|
928
|
+
/**
|
|
929
|
+
* @example
|
|
930
|
+
* my_resource_group
|
|
931
|
+
*/
|
|
476
932
|
resourceName?: string;
|
|
933
|
+
/**
|
|
934
|
+
* @example
|
|
935
|
+
* ECS
|
|
936
|
+
*/
|
|
477
937
|
resourceType?: string;
|
|
478
938
|
settings?: JobSettings;
|
|
939
|
+
/**
|
|
940
|
+
* @example
|
|
941
|
+
* Stopped
|
|
942
|
+
*/
|
|
479
943
|
status?: string;
|
|
944
|
+
/**
|
|
945
|
+
* @example
|
|
946
|
+
* Restarting
|
|
947
|
+
*/
|
|
480
948
|
subStatus?: string;
|
|
949
|
+
/**
|
|
950
|
+
* @example
|
|
951
|
+
* /root/code/
|
|
952
|
+
*/
|
|
481
953
|
thirdpartyLibDir?: string;
|
|
482
954
|
thirdpartyLibs?: string[];
|
|
955
|
+
/**
|
|
956
|
+
* @example
|
|
957
|
+
* false
|
|
958
|
+
*/
|
|
483
959
|
useOversoldResource?: boolean;
|
|
960
|
+
/**
|
|
961
|
+
* @example
|
|
962
|
+
* python /root/code/mnist.py
|
|
963
|
+
*/
|
|
484
964
|
userCommand?: string;
|
|
965
|
+
/**
|
|
966
|
+
* @example
|
|
967
|
+
* 123456789
|
|
968
|
+
*/
|
|
485
969
|
userId?: string;
|
|
970
|
+
/**
|
|
971
|
+
* @example
|
|
972
|
+
* pai-dlc-role
|
|
973
|
+
*/
|
|
486
974
|
username?: string;
|
|
975
|
+
/**
|
|
976
|
+
* @example
|
|
977
|
+
* 268
|
|
978
|
+
*/
|
|
487
979
|
workspaceId?: string;
|
|
980
|
+
/**
|
|
981
|
+
* @example
|
|
982
|
+
* dlc-workspace
|
|
983
|
+
*/
|
|
488
984
|
workspaceName?: string;
|
|
489
985
|
static names(): {
|
|
490
986
|
[key: string]: string;
|
|
@@ -500,19 +996,75 @@ export declare class JobSettings extends $tea.Model {
|
|
|
500
996
|
advancedSettings?: {
|
|
501
997
|
[key: string]: any;
|
|
502
998
|
};
|
|
999
|
+
/**
|
|
1000
|
+
* @example
|
|
1001
|
+
* 166924
|
|
1002
|
+
*/
|
|
503
1003
|
businessUserId?: string;
|
|
1004
|
+
/**
|
|
1005
|
+
* @example
|
|
1006
|
+
* SilkFlow
|
|
1007
|
+
*/
|
|
504
1008
|
caller?: string;
|
|
1009
|
+
/**
|
|
1010
|
+
* @example
|
|
1011
|
+
* 535.54.03
|
|
1012
|
+
*/
|
|
505
1013
|
driver?: string;
|
|
1014
|
+
/**
|
|
1015
|
+
* @example
|
|
1016
|
+
* false
|
|
1017
|
+
*/
|
|
506
1018
|
enableErrorMonitoringInAIMaster?: boolean;
|
|
1019
|
+
/**
|
|
1020
|
+
* @example
|
|
1021
|
+
* true
|
|
1022
|
+
*/
|
|
507
1023
|
enableOssAppend?: boolean;
|
|
1024
|
+
/**
|
|
1025
|
+
* @example
|
|
1026
|
+
* true
|
|
1027
|
+
*/
|
|
508
1028
|
enableRDMA?: boolean;
|
|
1029
|
+
/**
|
|
1030
|
+
* @example
|
|
1031
|
+
* true
|
|
1032
|
+
*/
|
|
509
1033
|
enableSanityCheck?: boolean;
|
|
1034
|
+
/**
|
|
1035
|
+
* @example
|
|
1036
|
+
* true
|
|
1037
|
+
*/
|
|
510
1038
|
enableTideResource?: boolean;
|
|
1039
|
+
/**
|
|
1040
|
+
* @example
|
|
1041
|
+
* --enable-log-hang-detection true
|
|
1042
|
+
*/
|
|
511
1043
|
errorMonitoringArgs?: string;
|
|
1044
|
+
/**
|
|
1045
|
+
* @example
|
|
1046
|
+
* 30
|
|
1047
|
+
*/
|
|
512
1048
|
jobReservedMinutes?: number;
|
|
1049
|
+
/**
|
|
1050
|
+
* @example
|
|
1051
|
+
* Always
|
|
1052
|
+
*/
|
|
513
1053
|
jobReservedPolicy?: string;
|
|
1054
|
+
/**
|
|
1055
|
+
* @example
|
|
1056
|
+
* AcceptQuotaOverSold
|
|
1057
|
+
*/
|
|
514
1058
|
oversoldType?: string;
|
|
1059
|
+
/**
|
|
1060
|
+
* @example
|
|
1061
|
+
* pid-123456
|
|
1062
|
+
*/
|
|
515
1063
|
pipelineId?: string;
|
|
1064
|
+
/**
|
|
1065
|
+
* @example
|
|
1066
|
+
* --sanity-check-timing=AfterJobFaultTolerant --sanity-check-timeout-ops=MarkJobFai
|
|
1067
|
+
*/
|
|
516
1068
|
sanityCheckArgs?: string;
|
|
517
1069
|
tags?: {
|
|
518
1070
|
[key: string]: string;
|
|
@@ -528,14 +1080,34 @@ export declare class JobSettings extends $tea.Model {
|
|
|
528
1080
|
});
|
|
529
1081
|
}
|
|
530
1082
|
export declare class JobSpec extends $tea.Model {
|
|
1083
|
+
/**
|
|
1084
|
+
* @example
|
|
1085
|
+
* ecs.c6.large
|
|
1086
|
+
*/
|
|
531
1087
|
ecsSpec?: string;
|
|
532
1088
|
extraPodSpec?: ExtraPodSpec;
|
|
1089
|
+
/**
|
|
1090
|
+
* @example
|
|
1091
|
+
* registry.cn-hangzhou.aliyuncs.com/pai-dlc/tensorflow-training:1.12.2PAI-cpu-py27-ubuntu16.04
|
|
1092
|
+
*/
|
|
533
1093
|
image?: string;
|
|
534
1094
|
imageConfig?: ImageConfig;
|
|
1095
|
+
/**
|
|
1096
|
+
* @example
|
|
1097
|
+
* 1
|
|
1098
|
+
*/
|
|
535
1099
|
podCount?: number;
|
|
536
1100
|
resourceConfig?: ResourceConfig;
|
|
537
1101
|
spotSpec?: SpotSpec;
|
|
1102
|
+
/**
|
|
1103
|
+
* @example
|
|
1104
|
+
* Worker
|
|
1105
|
+
*/
|
|
538
1106
|
type?: string;
|
|
1107
|
+
/**
|
|
1108
|
+
* @example
|
|
1109
|
+
* false
|
|
1110
|
+
*/
|
|
539
1111
|
useSpotInstance?: boolean;
|
|
540
1112
|
static names(): {
|
|
541
1113
|
[key: string]: string;
|
|
@@ -547,11 +1119,28 @@ export declare class JobSpec extends $tea.Model {
|
|
|
547
1119
|
[key: string]: any;
|
|
548
1120
|
});
|
|
549
1121
|
}
|
|
1122
|
+
export declare class Lifecycle extends $tea.Model {
|
|
1123
|
+
postStart?: LifecyclePostStart;
|
|
1124
|
+
preStop?: LifecyclePreStop;
|
|
1125
|
+
static names(): {
|
|
1126
|
+
[key: string]: string;
|
|
1127
|
+
};
|
|
1128
|
+
static types(): {
|
|
1129
|
+
[key: string]: any;
|
|
1130
|
+
};
|
|
1131
|
+
constructor(map?: {
|
|
1132
|
+
[key: string]: any;
|
|
1133
|
+
});
|
|
1134
|
+
}
|
|
550
1135
|
export declare class LogInfo extends $tea.Model {
|
|
551
1136
|
content?: string;
|
|
552
1137
|
id?: string;
|
|
553
1138
|
podId?: string;
|
|
554
1139
|
podUid?: string;
|
|
1140
|
+
/**
|
|
1141
|
+
* @example
|
|
1142
|
+
* stderr, stdout
|
|
1143
|
+
*/
|
|
555
1144
|
source?: string;
|
|
556
1145
|
time?: string;
|
|
557
1146
|
static names(): {
|
|
@@ -565,7 +1154,15 @@ export declare class LogInfo extends $tea.Model {
|
|
|
565
1154
|
});
|
|
566
1155
|
}
|
|
567
1156
|
export declare class Member extends $tea.Model {
|
|
1157
|
+
/**
|
|
1158
|
+
* @example
|
|
1159
|
+
* ken_12345
|
|
1160
|
+
*/
|
|
568
1161
|
memberId?: string;
|
|
1162
|
+
/**
|
|
1163
|
+
* @example
|
|
1164
|
+
* WorkspaceAdmin
|
|
1165
|
+
*/
|
|
569
1166
|
memberType?: string;
|
|
570
1167
|
static names(): {
|
|
571
1168
|
[key: string]: string;
|
|
@@ -578,7 +1175,15 @@ export declare class Member extends $tea.Model {
|
|
|
578
1175
|
});
|
|
579
1176
|
}
|
|
580
1177
|
export declare class Metric extends $tea.Model {
|
|
1178
|
+
/**
|
|
1179
|
+
* @example
|
|
1180
|
+
* 1616987726587
|
|
1181
|
+
*/
|
|
581
1182
|
time?: number;
|
|
1183
|
+
/**
|
|
1184
|
+
* @example
|
|
1185
|
+
* 23.45
|
|
1186
|
+
*/
|
|
582
1187
|
value?: number;
|
|
583
1188
|
static names(): {
|
|
584
1189
|
[key: string]: string;
|
|
@@ -592,6 +1197,10 @@ export declare class Metric extends $tea.Model {
|
|
|
592
1197
|
}
|
|
593
1198
|
export declare class NodeMetric extends $tea.Model {
|
|
594
1199
|
metrics?: Metric[];
|
|
1200
|
+
/**
|
|
1201
|
+
* @example
|
|
1202
|
+
* asi_xxx
|
|
1203
|
+
*/
|
|
595
1204
|
nodeName?: string;
|
|
596
1205
|
static names(): {
|
|
597
1206
|
[key: string]: string;
|
|
@@ -604,14 +1213,46 @@ export declare class NodeMetric extends $tea.Model {
|
|
|
604
1213
|
});
|
|
605
1214
|
}
|
|
606
1215
|
export declare class PodItem extends $tea.Model {
|
|
1216
|
+
/**
|
|
1217
|
+
* @example
|
|
1218
|
+
* 2021-01-12T14:36:01Z
|
|
1219
|
+
*/
|
|
607
1220
|
gmtCreateTime?: string;
|
|
1221
|
+
/**
|
|
1222
|
+
* @example
|
|
1223
|
+
* 2021-01-12T15:36:05Z
|
|
1224
|
+
*/
|
|
608
1225
|
gmtFinishTime?: string;
|
|
1226
|
+
/**
|
|
1227
|
+
* @example
|
|
1228
|
+
* 2021-01-12T14:36:05Z
|
|
1229
|
+
*/
|
|
609
1230
|
gmtStartTime?: string;
|
|
610
1231
|
historyPods?: PodItem[];
|
|
1232
|
+
/**
|
|
1233
|
+
* @example
|
|
1234
|
+
* 10.0.1.2
|
|
1235
|
+
*/
|
|
611
1236
|
ip?: string;
|
|
1237
|
+
/**
|
|
1238
|
+
* @example
|
|
1239
|
+
* dlc-20210126170216-mtl37ge7gkvdz-worker-0
|
|
1240
|
+
*/
|
|
612
1241
|
podId?: string;
|
|
1242
|
+
/**
|
|
1243
|
+
* @example
|
|
1244
|
+
* fe846462-af2c-4521-bd6f-96787a57591d
|
|
1245
|
+
*/
|
|
613
1246
|
podUid?: string;
|
|
1247
|
+
/**
|
|
1248
|
+
* @example
|
|
1249
|
+
* Stopped
|
|
1250
|
+
*/
|
|
614
1251
|
status?: string;
|
|
1252
|
+
/**
|
|
1253
|
+
* @example
|
|
1254
|
+
* Worker
|
|
1255
|
+
*/
|
|
615
1256
|
type?: string;
|
|
616
1257
|
static names(): {
|
|
617
1258
|
[key: string]: string;
|
|
@@ -625,6 +1266,10 @@ export declare class PodItem extends $tea.Model {
|
|
|
625
1266
|
}
|
|
626
1267
|
export declare class PodMetric extends $tea.Model {
|
|
627
1268
|
metrics?: Metric[];
|
|
1269
|
+
/**
|
|
1270
|
+
* @example
|
|
1271
|
+
* dlc-20210329110128-746bf7cl47pr8-worker-0
|
|
1272
|
+
*/
|
|
628
1273
|
podId?: string;
|
|
629
1274
|
static names(): {
|
|
630
1275
|
[key: string]: string;
|
|
@@ -640,8 +1285,20 @@ export declare class Quota extends $tea.Model {
|
|
|
640
1285
|
clusterId?: string;
|
|
641
1286
|
clusterName?: string;
|
|
642
1287
|
quotaConfig?: QuotaConfig;
|
|
1288
|
+
/**
|
|
1289
|
+
* @example
|
|
1290
|
+
* quotamtl37ge7gkvdz
|
|
1291
|
+
*/
|
|
643
1292
|
quotaId?: string;
|
|
1293
|
+
/**
|
|
1294
|
+
* @example
|
|
1295
|
+
* dlc-quota
|
|
1296
|
+
*/
|
|
644
1297
|
quotaName?: string;
|
|
1298
|
+
/**
|
|
1299
|
+
* @example
|
|
1300
|
+
* asiquota
|
|
1301
|
+
*/
|
|
645
1302
|
quotaType?: string;
|
|
646
1303
|
totalQuota?: QuotaDetail;
|
|
647
1304
|
totalTideQuota?: QuotaDetail;
|
|
@@ -674,11 +1331,31 @@ export declare class QuotaConfig extends $tea.Model {
|
|
|
674
1331
|
});
|
|
675
1332
|
}
|
|
676
1333
|
export declare class QuotaDetail extends $tea.Model {
|
|
1334
|
+
/**
|
|
1335
|
+
* @example
|
|
1336
|
+
* 2
|
|
1337
|
+
*/
|
|
677
1338
|
CPU?: string;
|
|
1339
|
+
/**
|
|
1340
|
+
* @example
|
|
1341
|
+
* 5
|
|
1342
|
+
*/
|
|
678
1343
|
GPU?: string;
|
|
679
1344
|
GPUDetails?: GPUDetail[];
|
|
1345
|
+
/**
|
|
1346
|
+
* @example
|
|
1347
|
+
* Tesla-V100
|
|
1348
|
+
*/
|
|
680
1349
|
GPUType?: string;
|
|
1350
|
+
/**
|
|
1351
|
+
* @example
|
|
1352
|
+
* nvidia.com/gpu
|
|
1353
|
+
*/
|
|
681
1354
|
GPUTypeFullName?: string;
|
|
1355
|
+
/**
|
|
1356
|
+
* @example
|
|
1357
|
+
* 10Gi
|
|
1358
|
+
*/
|
|
682
1359
|
memory?: string;
|
|
683
1360
|
static names(): {
|
|
684
1361
|
[key: string]: string;
|
|
@@ -691,10 +1368,30 @@ export declare class QuotaDetail extends $tea.Model {
|
|
|
691
1368
|
});
|
|
692
1369
|
}
|
|
693
1370
|
export declare class ResourceConfig extends $tea.Model {
|
|
1371
|
+
/**
|
|
1372
|
+
* @example
|
|
1373
|
+
* 10
|
|
1374
|
+
*/
|
|
694
1375
|
CPU?: string;
|
|
1376
|
+
/**
|
|
1377
|
+
* @example
|
|
1378
|
+
* 3
|
|
1379
|
+
*/
|
|
695
1380
|
GPU?: string;
|
|
1381
|
+
/**
|
|
1382
|
+
* @example
|
|
1383
|
+
* Tesla-V100-16G
|
|
1384
|
+
*/
|
|
696
1385
|
GPUType?: string;
|
|
1386
|
+
/**
|
|
1387
|
+
* @example
|
|
1388
|
+
* 10Gi
|
|
1389
|
+
*/
|
|
697
1390
|
memory?: string;
|
|
1391
|
+
/**
|
|
1392
|
+
* @example
|
|
1393
|
+
* 5Gi
|
|
1394
|
+
*/
|
|
698
1395
|
sharedMemory?: string;
|
|
699
1396
|
static names(): {
|
|
700
1397
|
[key: string]: string;
|
|
@@ -724,8 +1421,20 @@ export declare class ResourceRequirements extends $tea.Model {
|
|
|
724
1421
|
});
|
|
725
1422
|
}
|
|
726
1423
|
export declare class Resources extends $tea.Model {
|
|
1424
|
+
/**
|
|
1425
|
+
* @example
|
|
1426
|
+
* 10
|
|
1427
|
+
*/
|
|
727
1428
|
CPU?: string;
|
|
1429
|
+
/**
|
|
1430
|
+
* @example
|
|
1431
|
+
* 8
|
|
1432
|
+
*/
|
|
728
1433
|
GPU?: string;
|
|
1434
|
+
/**
|
|
1435
|
+
* @example
|
|
1436
|
+
* 1024(单位GB)
|
|
1437
|
+
*/
|
|
729
1438
|
memory?: string;
|
|
730
1439
|
static names(): {
|
|
731
1440
|
[key: string]: string;
|
|
@@ -738,11 +1447,31 @@ export declare class Resources extends $tea.Model {
|
|
|
738
1447
|
});
|
|
739
1448
|
}
|
|
740
1449
|
export declare class SanityCheckResultItem extends $tea.Model {
|
|
1450
|
+
/**
|
|
1451
|
+
* @example
|
|
1452
|
+
* 1
|
|
1453
|
+
*/
|
|
741
1454
|
checkNumber?: number;
|
|
1455
|
+
/**
|
|
1456
|
+
* @example
|
|
1457
|
+
* ”2023-11-30T16:47:30.378817+08:00"
|
|
1458
|
+
*/
|
|
742
1459
|
finishedAt?: string;
|
|
743
1460
|
message?: string;
|
|
1461
|
+
/**
|
|
1462
|
+
* @example
|
|
1463
|
+
* CheckInit
|
|
1464
|
+
*/
|
|
744
1465
|
phase?: string;
|
|
1466
|
+
/**
|
|
1467
|
+
* @example
|
|
1468
|
+
* ”2023-11-30T16:47:30.343005+08:00“
|
|
1469
|
+
*/
|
|
745
1470
|
startedAt?: string;
|
|
1471
|
+
/**
|
|
1472
|
+
* @example
|
|
1473
|
+
* Succeeded
|
|
1474
|
+
*/
|
|
746
1475
|
status?: string;
|
|
747
1476
|
static names(): {
|
|
748
1477
|
[key: string]: string;
|
|
@@ -755,21 +1484,85 @@ export declare class SanityCheckResultItem extends $tea.Model {
|
|
|
755
1484
|
});
|
|
756
1485
|
}
|
|
757
1486
|
export declare class SmartCache extends $tea.Model {
|
|
1487
|
+
/**
|
|
1488
|
+
* @example
|
|
1489
|
+
* 10
|
|
1490
|
+
*/
|
|
758
1491
|
cacheWorkerNum?: number;
|
|
1492
|
+
/**
|
|
1493
|
+
* @example
|
|
1494
|
+
* 100
|
|
1495
|
+
*/
|
|
759
1496
|
cacheWorkerSize?: number;
|
|
1497
|
+
/**
|
|
1498
|
+
* @example
|
|
1499
|
+
* test
|
|
1500
|
+
*/
|
|
760
1501
|
description?: string;
|
|
1502
|
+
/**
|
|
1503
|
+
* @example
|
|
1504
|
+
* test
|
|
1505
|
+
*/
|
|
761
1506
|
displayName?: string;
|
|
1507
|
+
/**
|
|
1508
|
+
* @example
|
|
1509
|
+
* 123456
|
|
1510
|
+
*/
|
|
762
1511
|
duration?: string;
|
|
1512
|
+
/**
|
|
1513
|
+
* @example
|
|
1514
|
+
* oss-cn-beijing-internal.aliyuncs.com
|
|
1515
|
+
*/
|
|
763
1516
|
endpoint?: string;
|
|
1517
|
+
/**
|
|
1518
|
+
* @example
|
|
1519
|
+
* 1ca404****
|
|
1520
|
+
*/
|
|
764
1521
|
fileSystemId?: string;
|
|
1522
|
+
/**
|
|
1523
|
+
* @example
|
|
1524
|
+
* 2021-01-12T14:36:01Z
|
|
1525
|
+
*/
|
|
765
1526
|
gmtCreateTime?: string;
|
|
1527
|
+
/**
|
|
1528
|
+
* @example
|
|
1529
|
+
* 2021-01-12T23:36:01Z
|
|
1530
|
+
*/
|
|
766
1531
|
gmtModifyTime?: string;
|
|
1532
|
+
/**
|
|
1533
|
+
* @example
|
|
1534
|
+
* /root/data/
|
|
1535
|
+
*/
|
|
767
1536
|
mountPath?: string;
|
|
1537
|
+
/**
|
|
1538
|
+
* @example
|
|
1539
|
+
* {"num_threads": 32}
|
|
1540
|
+
*/
|
|
768
1541
|
options?: string;
|
|
1542
|
+
/**
|
|
1543
|
+
* @example
|
|
1544
|
+
* oss://buc/path/to/dir
|
|
1545
|
+
*/
|
|
769
1546
|
path?: string;
|
|
1547
|
+
/**
|
|
1548
|
+
* @example
|
|
1549
|
+
* smartcache-20210114104214-vf9lowjt3pso
|
|
1550
|
+
*/
|
|
770
1551
|
smartCacheId?: string;
|
|
1552
|
+
/**
|
|
1553
|
+
* @example
|
|
1554
|
+
* Running
|
|
1555
|
+
*/
|
|
771
1556
|
status?: string;
|
|
1557
|
+
/**
|
|
1558
|
+
* @example
|
|
1559
|
+
* oss
|
|
1560
|
+
*/
|
|
772
1561
|
type?: string;
|
|
1562
|
+
/**
|
|
1563
|
+
* @example
|
|
1564
|
+
* 189xxx
|
|
1565
|
+
*/
|
|
773
1566
|
userId?: string;
|
|
774
1567
|
static names(): {
|
|
775
1568
|
[key: string]: string;
|
|
@@ -811,23 +1604,90 @@ export declare class StatusTransitionItem extends $tea.Model {
|
|
|
811
1604
|
});
|
|
812
1605
|
}
|
|
813
1606
|
export declare class Tensorboard extends $tea.Model {
|
|
1607
|
+
/**
|
|
1608
|
+
* @example
|
|
1609
|
+
* datasource-test
|
|
1610
|
+
*/
|
|
814
1611
|
dataSourceId?: string;
|
|
1612
|
+
/**
|
|
1613
|
+
* @example
|
|
1614
|
+
* test
|
|
1615
|
+
*/
|
|
815
1616
|
displayName?: string;
|
|
1617
|
+
/**
|
|
1618
|
+
* @example
|
|
1619
|
+
* 1234567
|
|
1620
|
+
*/
|
|
816
1621
|
duration?: string;
|
|
1622
|
+
/**
|
|
1623
|
+
* @example
|
|
1624
|
+
* 2021-01-12T14:35:00Z
|
|
1625
|
+
*/
|
|
817
1626
|
gmtCreateTime?: string;
|
|
1627
|
+
/**
|
|
1628
|
+
* @example
|
|
1629
|
+
* 2021-01-12T14:36:00Z
|
|
1630
|
+
*/
|
|
818
1631
|
gmtFinishTime?: string;
|
|
1632
|
+
/**
|
|
1633
|
+
* @example
|
|
1634
|
+
* 2021-01-12T14:36:00Z
|
|
1635
|
+
*/
|
|
819
1636
|
gmtModifyTime?: string;
|
|
1637
|
+
/**
|
|
1638
|
+
* @example
|
|
1639
|
+
* dlc-20210114104214-vf9lowjt3pso
|
|
1640
|
+
*/
|
|
820
1641
|
jobId?: string;
|
|
1642
|
+
priority?: string;
|
|
1643
|
+
quotaId?: string;
|
|
1644
|
+
quotaName?: string;
|
|
1645
|
+
/**
|
|
1646
|
+
* @example
|
|
1647
|
+
* Delete by user
|
|
1648
|
+
*/
|
|
821
1649
|
reasonCode?: string;
|
|
1650
|
+
/**
|
|
1651
|
+
* @example
|
|
1652
|
+
* Tensorboard is deleted
|
|
1653
|
+
*/
|
|
822
1654
|
reasonMessage?: string;
|
|
1655
|
+
/**
|
|
1656
|
+
* @example
|
|
1657
|
+
* 473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E
|
|
1658
|
+
*/
|
|
823
1659
|
requestId?: string;
|
|
1660
|
+
/**
|
|
1661
|
+
* @example
|
|
1662
|
+
* running
|
|
1663
|
+
*/
|
|
824
1664
|
status?: string;
|
|
1665
|
+
/**
|
|
1666
|
+
* @example
|
|
1667
|
+
* /root/data
|
|
1668
|
+
*/
|
|
825
1669
|
summaryPath?: string;
|
|
826
1670
|
tensorboardDataSources?: TensorboardDataSourceSpec[];
|
|
1671
|
+
/**
|
|
1672
|
+
* @example
|
|
1673
|
+
* tensorboard-xxx
|
|
1674
|
+
*/
|
|
827
1675
|
tensorboardId?: string;
|
|
828
1676
|
tensorboardSpec?: TensorboardSpec;
|
|
1677
|
+
/**
|
|
1678
|
+
* @example
|
|
1679
|
+
* http://xxxxxx
|
|
1680
|
+
*/
|
|
829
1681
|
tensorboardUrl?: string;
|
|
1682
|
+
/**
|
|
1683
|
+
* @example
|
|
1684
|
+
* lycxxxxx
|
|
1685
|
+
*/
|
|
830
1686
|
userId?: string;
|
|
1687
|
+
/**
|
|
1688
|
+
* @example
|
|
1689
|
+
* tensorboard.pai
|
|
1690
|
+
*/
|
|
831
1691
|
username?: string;
|
|
832
1692
|
static names(): {
|
|
833
1693
|
[key: string]: string;
|
|
@@ -840,13 +1700,45 @@ export declare class Tensorboard extends $tea.Model {
|
|
|
840
1700
|
});
|
|
841
1701
|
}
|
|
842
1702
|
export declare class TensorboardDataSourceSpec extends $tea.Model {
|
|
1703
|
+
/**
|
|
1704
|
+
* @example
|
|
1705
|
+
* OSS
|
|
1706
|
+
*/
|
|
843
1707
|
dataSourceType?: string;
|
|
1708
|
+
/**
|
|
1709
|
+
* @example
|
|
1710
|
+
* dlcJobName
|
|
1711
|
+
*/
|
|
844
1712
|
directoryName?: string;
|
|
1713
|
+
/**
|
|
1714
|
+
* @example
|
|
1715
|
+
* oss://xxxxx/tensorboard/run1
|
|
1716
|
+
*/
|
|
845
1717
|
fullSummaryPath?: string;
|
|
1718
|
+
/**
|
|
1719
|
+
* @example
|
|
1720
|
+
* d-vf2fdhxxxxxx
|
|
1721
|
+
*/
|
|
846
1722
|
id?: string;
|
|
1723
|
+
/**
|
|
1724
|
+
* @example
|
|
1725
|
+
* dlcJobName
|
|
1726
|
+
*/
|
|
847
1727
|
name?: string;
|
|
1728
|
+
/**
|
|
1729
|
+
* @example
|
|
1730
|
+
* datasource
|
|
1731
|
+
*/
|
|
848
1732
|
sourceType?: string;
|
|
1733
|
+
/**
|
|
1734
|
+
* @example
|
|
1735
|
+
* /tensorboard/run1
|
|
1736
|
+
*/
|
|
849
1737
|
summaryPath?: string;
|
|
1738
|
+
/**
|
|
1739
|
+
* @example
|
|
1740
|
+
* oss://.oss-cn-shanghai-finance-1.aliyuncs.com/
|
|
1741
|
+
*/
|
|
850
1742
|
uri?: string;
|
|
851
1743
|
static names(): {
|
|
852
1744
|
[key: string]: string;
|
|
@@ -859,9 +1751,25 @@ export declare class TensorboardDataSourceSpec extends $tea.Model {
|
|
|
859
1751
|
});
|
|
860
1752
|
}
|
|
861
1753
|
export declare class TensorboardSpec extends $tea.Model {
|
|
1754
|
+
/**
|
|
1755
|
+
* @example
|
|
1756
|
+
* ecs.g6.large
|
|
1757
|
+
*/
|
|
862
1758
|
ecsType?: string;
|
|
1759
|
+
/**
|
|
1760
|
+
* @example
|
|
1761
|
+
* sg-xxxxx
|
|
1762
|
+
*/
|
|
863
1763
|
securityGroupId?: string;
|
|
1764
|
+
/**
|
|
1765
|
+
* @example
|
|
1766
|
+
* vsw-xxxx
|
|
1767
|
+
*/
|
|
864
1768
|
switchId?: string;
|
|
1769
|
+
/**
|
|
1770
|
+
* @example
|
|
1771
|
+
* vpc-xxxx
|
|
1772
|
+
*/
|
|
865
1773
|
vpcId?: string;
|
|
866
1774
|
static names(): {
|
|
867
1775
|
[key: string]: string;
|
|
@@ -874,14 +1782,34 @@ export declare class TensorboardSpec extends $tea.Model {
|
|
|
874
1782
|
});
|
|
875
1783
|
}
|
|
876
1784
|
export declare class Workspace extends $tea.Model {
|
|
1785
|
+
/**
|
|
1786
|
+
* @example
|
|
1787
|
+
* ken
|
|
1788
|
+
*/
|
|
877
1789
|
creator?: string;
|
|
1790
|
+
/**
|
|
1791
|
+
* @example
|
|
1792
|
+
* 2021-01-12T14:36:01Z
|
|
1793
|
+
*/
|
|
878
1794
|
gmtCreateTime?: string;
|
|
1795
|
+
/**
|
|
1796
|
+
* @example
|
|
1797
|
+
* 2021-01-12T14:36:01Z
|
|
1798
|
+
*/
|
|
879
1799
|
gmtModifyTime?: string;
|
|
880
1800
|
members?: Member[];
|
|
881
1801
|
quotas?: Quota[];
|
|
882
1802
|
totalResources?: Resources;
|
|
883
1803
|
workspaceAdmins?: Member[];
|
|
1804
|
+
/**
|
|
1805
|
+
* @example
|
|
1806
|
+
* ws-20210126170216-mtl37ge7gkvdz
|
|
1807
|
+
*/
|
|
884
1808
|
workspaceId?: string;
|
|
1809
|
+
/**
|
|
1810
|
+
* @example
|
|
1811
|
+
* dlc-workspace
|
|
1812
|
+
*/
|
|
885
1813
|
workspaceName?: string;
|
|
886
1814
|
static names(): {
|
|
887
1815
|
[key: string]: string;
|
|
@@ -897,24 +1825,81 @@ export declare class CreateJobRequest extends $tea.Model {
|
|
|
897
1825
|
codeSource?: CreateJobRequestCodeSource;
|
|
898
1826
|
credentialConfig?: CredentialConfig;
|
|
899
1827
|
dataSources?: CreateJobRequestDataSources[];
|
|
1828
|
+
/**
|
|
1829
|
+
* @example
|
|
1830
|
+
* “”
|
|
1831
|
+
*/
|
|
900
1832
|
debuggerConfigContent?: string;
|
|
1833
|
+
/**
|
|
1834
|
+
* @remarks
|
|
1835
|
+
* This parameter is required.
|
|
1836
|
+
*
|
|
1837
|
+
* @example
|
|
1838
|
+
* tf-mnist-test
|
|
1839
|
+
*/
|
|
901
1840
|
displayName?: string;
|
|
902
1841
|
elasticSpec?: JobElasticSpec;
|
|
903
1842
|
envs?: {
|
|
904
1843
|
[key: string]: string;
|
|
905
1844
|
};
|
|
1845
|
+
/**
|
|
1846
|
+
* @example
|
|
1847
|
+
* 1024
|
|
1848
|
+
*/
|
|
906
1849
|
jobMaxRunningTimeMinutes?: number;
|
|
1850
|
+
/**
|
|
1851
|
+
* @remarks
|
|
1852
|
+
* This parameter is required.
|
|
1853
|
+
*/
|
|
907
1854
|
jobSpecs?: JobSpec[];
|
|
1855
|
+
/**
|
|
1856
|
+
* @remarks
|
|
1857
|
+
* This parameter is required.
|
|
1858
|
+
*
|
|
1859
|
+
* @example
|
|
1860
|
+
* TFJob
|
|
1861
|
+
*/
|
|
908
1862
|
jobType?: string;
|
|
1863
|
+
/**
|
|
1864
|
+
* @example
|
|
1865
|
+
* key1=value1,key2=value2
|
|
1866
|
+
*/
|
|
909
1867
|
options?: string;
|
|
1868
|
+
/**
|
|
1869
|
+
* @example
|
|
1870
|
+
* 8
|
|
1871
|
+
*/
|
|
910
1872
|
priority?: number;
|
|
1873
|
+
/**
|
|
1874
|
+
* @example
|
|
1875
|
+
* rs-xxx
|
|
1876
|
+
*/
|
|
911
1877
|
resourceId?: string;
|
|
912
1878
|
settings?: JobSettings;
|
|
1879
|
+
/**
|
|
1880
|
+
* @example
|
|
1881
|
+
* AllWorkers
|
|
1882
|
+
*/
|
|
913
1883
|
successPolicy?: string;
|
|
1884
|
+
/**
|
|
1885
|
+
* @example
|
|
1886
|
+
* /root/code/
|
|
1887
|
+
*/
|
|
914
1888
|
thirdpartyLibDir?: string;
|
|
915
1889
|
thirdpartyLibs?: string[];
|
|
1890
|
+
/**
|
|
1891
|
+
* @remarks
|
|
1892
|
+
* This parameter is required.
|
|
1893
|
+
*
|
|
1894
|
+
* @example
|
|
1895
|
+
* python /root/code/mnist.py
|
|
1896
|
+
*/
|
|
916
1897
|
userCommand?: string;
|
|
917
1898
|
userVpc?: CreateJobRequestUserVpc;
|
|
1899
|
+
/**
|
|
1900
|
+
* @example
|
|
1901
|
+
* ws-20210126170216-xxxxxxx
|
|
1902
|
+
*/
|
|
918
1903
|
workspaceId?: string;
|
|
919
1904
|
static names(): {
|
|
920
1905
|
[key: string]: string;
|
|
@@ -927,7 +1912,15 @@ export declare class CreateJobRequest extends $tea.Model {
|
|
|
927
1912
|
});
|
|
928
1913
|
}
|
|
929
1914
|
export declare class CreateJobResponseBody extends $tea.Model {
|
|
1915
|
+
/**
|
|
1916
|
+
* @example
|
|
1917
|
+
* dlc7*******
|
|
1918
|
+
*/
|
|
930
1919
|
jobId?: string;
|
|
1920
|
+
/**
|
|
1921
|
+
* @example
|
|
1922
|
+
* 473469C7-AA6F-4DC5-B3DB-xxxxxxx
|
|
1923
|
+
*/
|
|
931
1924
|
requestId?: string;
|
|
932
1925
|
static names(): {
|
|
933
1926
|
[key: string]: string;
|
|
@@ -956,22 +1949,76 @@ export declare class CreateJobResponse extends $tea.Model {
|
|
|
956
1949
|
});
|
|
957
1950
|
}
|
|
958
1951
|
export declare class CreateTensorboardRequest extends $tea.Model {
|
|
1952
|
+
/**
|
|
1953
|
+
* @example
|
|
1954
|
+
* 1
|
|
1955
|
+
*/
|
|
959
1956
|
cpu?: number;
|
|
1957
|
+
/**
|
|
1958
|
+
* @example
|
|
1959
|
+
* d-xxxxxxxx
|
|
1960
|
+
*/
|
|
960
1961
|
dataSourceId?: string;
|
|
961
1962
|
dataSourceType?: string;
|
|
962
1963
|
dataSources?: DataSourceItem[];
|
|
1964
|
+
/**
|
|
1965
|
+
* @example
|
|
1966
|
+
* tensorboard
|
|
1967
|
+
*/
|
|
963
1968
|
displayName?: string;
|
|
1969
|
+
/**
|
|
1970
|
+
* @example
|
|
1971
|
+
* dlc-20210126170216-mtl37ge7gkvdz
|
|
1972
|
+
*/
|
|
964
1973
|
jobId?: string;
|
|
1974
|
+
/**
|
|
1975
|
+
* @example
|
|
1976
|
+
* 240
|
|
1977
|
+
*/
|
|
965
1978
|
maxRunningTimeMinutes?: number;
|
|
1979
|
+
/**
|
|
1980
|
+
* @example
|
|
1981
|
+
* 1000
|
|
1982
|
+
*/
|
|
966
1983
|
memory?: number;
|
|
1984
|
+
/**
|
|
1985
|
+
* @example
|
|
1986
|
+
* {"mountpath":"/root/data/"}
|
|
1987
|
+
*/
|
|
967
1988
|
options?: string;
|
|
1989
|
+
priority?: string;
|
|
1990
|
+
quotaId?: string;
|
|
1991
|
+
/**
|
|
1992
|
+
* @example
|
|
1993
|
+
* dlc-xxxxxx
|
|
1994
|
+
*/
|
|
968
1995
|
sourceId?: string;
|
|
1996
|
+
/**
|
|
1997
|
+
* @example
|
|
1998
|
+
* job
|
|
1999
|
+
*/
|
|
969
2000
|
sourceType?: string;
|
|
2001
|
+
/**
|
|
2002
|
+
* @example
|
|
2003
|
+
* /root/data/
|
|
2004
|
+
*/
|
|
970
2005
|
summaryPath?: string;
|
|
2006
|
+
/**
|
|
2007
|
+
* @example
|
|
2008
|
+
* /summary/
|
|
2009
|
+
*/
|
|
971
2010
|
summaryRelativePath?: string;
|
|
972
2011
|
tensorboardDataSources?: TensorboardDataSourceSpec[];
|
|
973
2012
|
tensorboardSpec?: TensorboardSpec;
|
|
2013
|
+
/**
|
|
2014
|
+
* @example
|
|
2015
|
+
* oss://.oss-cn-shanghai-finance-1.aliyuncs.com/
|
|
2016
|
+
*/
|
|
974
2017
|
uri?: string;
|
|
2018
|
+
/**
|
|
2019
|
+
* @example
|
|
2020
|
+
* 123***
|
|
2021
|
+
*/
|
|
975
2022
|
workspaceId?: string;
|
|
976
2023
|
static names(): {
|
|
977
2024
|
[key: string]: string;
|
|
@@ -984,9 +2031,25 @@ export declare class CreateTensorboardRequest extends $tea.Model {
|
|
|
984
2031
|
});
|
|
985
2032
|
}
|
|
986
2033
|
export declare class CreateTensorboardResponseBody extends $tea.Model {
|
|
2034
|
+
/**
|
|
2035
|
+
* @example
|
|
2036
|
+
* ds-20210126170216-xxxxxxxx
|
|
2037
|
+
*/
|
|
987
2038
|
dataSourceId?: string;
|
|
2039
|
+
/**
|
|
2040
|
+
* @example
|
|
2041
|
+
* dlc-20210126170216-xxxxxxxx
|
|
2042
|
+
*/
|
|
988
2043
|
jobId?: string;
|
|
2044
|
+
/**
|
|
2045
|
+
* @example
|
|
2046
|
+
* 473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E
|
|
2047
|
+
*/
|
|
989
2048
|
requestId?: string;
|
|
2049
|
+
/**
|
|
2050
|
+
* @example
|
|
2051
|
+
* tbxxxxxxxx
|
|
2052
|
+
*/
|
|
990
2053
|
tensorboardId?: string;
|
|
991
2054
|
static names(): {
|
|
992
2055
|
[key: string]: string;
|
|
@@ -1015,7 +2078,15 @@ export declare class CreateTensorboardResponse extends $tea.Model {
|
|
|
1015
2078
|
});
|
|
1016
2079
|
}
|
|
1017
2080
|
export declare class DeleteJobResponseBody extends $tea.Model {
|
|
2081
|
+
/**
|
|
2082
|
+
* @example
|
|
2083
|
+
* dlc*************
|
|
2084
|
+
*/
|
|
1018
2085
|
jobId?: string;
|
|
2086
|
+
/**
|
|
2087
|
+
* @example
|
|
2088
|
+
* 473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E
|
|
2089
|
+
*/
|
|
1019
2090
|
requestId?: string;
|
|
1020
2091
|
static names(): {
|
|
1021
2092
|
[key: string]: string;
|
|
@@ -1044,6 +2115,10 @@ export declare class DeleteJobResponse extends $tea.Model {
|
|
|
1044
2115
|
});
|
|
1045
2116
|
}
|
|
1046
2117
|
export declare class DeleteTensorboardRequest extends $tea.Model {
|
|
2118
|
+
/**
|
|
2119
|
+
* @example
|
|
2120
|
+
* 46099
|
|
2121
|
+
*/
|
|
1047
2122
|
workspaceId?: string;
|
|
1048
2123
|
static names(): {
|
|
1049
2124
|
[key: string]: string;
|
|
@@ -1056,7 +2131,15 @@ export declare class DeleteTensorboardRequest extends $tea.Model {
|
|
|
1056
2131
|
});
|
|
1057
2132
|
}
|
|
1058
2133
|
export declare class DeleteTensorboardResponseBody extends $tea.Model {
|
|
2134
|
+
/**
|
|
2135
|
+
* @example
|
|
2136
|
+
* 473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E
|
|
2137
|
+
*/
|
|
1059
2138
|
requestId?: string;
|
|
2139
|
+
/**
|
|
2140
|
+
* @example
|
|
2141
|
+
* tensorboard-20210114104214-vf9lowjt3pso
|
|
2142
|
+
*/
|
|
1060
2143
|
tensorboardId?: string;
|
|
1061
2144
|
static names(): {
|
|
1062
2145
|
[key: string]: string;
|
|
@@ -1085,6 +2168,10 @@ export declare class DeleteTensorboardResponse extends $tea.Model {
|
|
|
1085
2168
|
});
|
|
1086
2169
|
}
|
|
1087
2170
|
export declare class GetJobRequest extends $tea.Model {
|
|
2171
|
+
/**
|
|
2172
|
+
* @example
|
|
2173
|
+
* true
|
|
2174
|
+
*/
|
|
1088
2175
|
needDetail?: boolean;
|
|
1089
2176
|
static names(): {
|
|
1090
2177
|
[key: string]: string;
|
|
@@ -1097,46 +2184,158 @@ export declare class GetJobRequest extends $tea.Model {
|
|
|
1097
2184
|
});
|
|
1098
2185
|
}
|
|
1099
2186
|
export declare class GetJobResponseBody extends $tea.Model {
|
|
2187
|
+
/**
|
|
2188
|
+
* @example
|
|
2189
|
+
* a*****
|
|
2190
|
+
*/
|
|
1100
2191
|
clusterId?: string;
|
|
1101
2192
|
codeSource?: GetJobResponseBodyCodeSource;
|
|
1102
2193
|
credentialConfig?: CredentialConfig;
|
|
1103
2194
|
dataSources?: GetJobResponseBodyDataSources[];
|
|
2195
|
+
/**
|
|
2196
|
+
* @example
|
|
2197
|
+
* tf-mnist-test
|
|
2198
|
+
*/
|
|
1104
2199
|
displayName?: string;
|
|
2200
|
+
/**
|
|
2201
|
+
* @example
|
|
2202
|
+
* 3602
|
|
2203
|
+
*/
|
|
1105
2204
|
duration?: number;
|
|
1106
2205
|
elasticSpec?: JobElasticSpec;
|
|
2206
|
+
/**
|
|
2207
|
+
* @example
|
|
2208
|
+
* false
|
|
2209
|
+
*/
|
|
1107
2210
|
enabledDebugger?: boolean;
|
|
1108
2211
|
envs?: {
|
|
1109
2212
|
[key: string]: string;
|
|
1110
2213
|
};
|
|
2214
|
+
/**
|
|
2215
|
+
* @example
|
|
2216
|
+
* 2021-01-12T14:35:01Z
|
|
2217
|
+
*/
|
|
1111
2218
|
gmtCreateTime?: string;
|
|
2219
|
+
/**
|
|
2220
|
+
* @example
|
|
2221
|
+
* 2021-01-12T15:36:08Z
|
|
2222
|
+
*/
|
|
1112
2223
|
gmtFailedTime?: string;
|
|
2224
|
+
/**
|
|
2225
|
+
* @example
|
|
2226
|
+
* 2021-01-12T15:36:08Z
|
|
2227
|
+
*/
|
|
1113
2228
|
gmtFinishTime?: string;
|
|
2229
|
+
/**
|
|
2230
|
+
* @example
|
|
2231
|
+
* 2021-01-12T14:36:21Z
|
|
2232
|
+
*/
|
|
1114
2233
|
gmtRunningTime?: string;
|
|
2234
|
+
/**
|
|
2235
|
+
* @example
|
|
2236
|
+
* 2021-01-12T15:36:08Z
|
|
2237
|
+
*/
|
|
1115
2238
|
gmtStoppedTime?: string;
|
|
2239
|
+
/**
|
|
2240
|
+
* @example
|
|
2241
|
+
* 2021-01-12T14:36:01Z
|
|
2242
|
+
*/
|
|
1116
2243
|
gmtSubmittedTime?: string;
|
|
2244
|
+
/**
|
|
2245
|
+
* @example
|
|
2246
|
+
* 2021-01-12T15:36:08Z
|
|
2247
|
+
*/
|
|
1117
2248
|
gmtSuccessedTime?: string;
|
|
2249
|
+
/**
|
|
2250
|
+
* @example
|
|
2251
|
+
* dlc*******
|
|
2252
|
+
*/
|
|
1118
2253
|
jobId?: string;
|
|
1119
2254
|
jobSpecs?: JobSpec[];
|
|
2255
|
+
/**
|
|
2256
|
+
* @example
|
|
2257
|
+
* TFJob
|
|
2258
|
+
*/
|
|
1120
2259
|
jobType?: string;
|
|
1121
2260
|
pods?: GetJobResponseBodyPods[];
|
|
2261
|
+
/**
|
|
2262
|
+
* @example
|
|
2263
|
+
* 1
|
|
2264
|
+
*/
|
|
1122
2265
|
priority?: number;
|
|
2266
|
+
/**
|
|
2267
|
+
* @example
|
|
2268
|
+
* JobStoppedByUser
|
|
2269
|
+
*/
|
|
1123
2270
|
reasonCode?: string;
|
|
2271
|
+
/**
|
|
2272
|
+
* @example
|
|
2273
|
+
* Job is stopped by user.
|
|
2274
|
+
*/
|
|
1124
2275
|
reasonMessage?: string;
|
|
2276
|
+
/**
|
|
2277
|
+
* @example
|
|
2278
|
+
* 473469C7-AA6F-4DC5-B3DB-xxxxxxxx
|
|
2279
|
+
*/
|
|
1125
2280
|
requestId?: string;
|
|
2281
|
+
/**
|
|
2282
|
+
* @example
|
|
2283
|
+
* r******
|
|
2284
|
+
*/
|
|
1126
2285
|
resourceId?: string;
|
|
2286
|
+
/**
|
|
2287
|
+
* @example
|
|
2288
|
+
* L0
|
|
2289
|
+
*/
|
|
1127
2290
|
resourceLevel?: string;
|
|
2291
|
+
/**
|
|
2292
|
+
* @example
|
|
2293
|
+
* ECS
|
|
2294
|
+
*/
|
|
1128
2295
|
resourceType?: string;
|
|
2296
|
+
/**
|
|
2297
|
+
* @example
|
|
2298
|
+
* 0/10
|
|
2299
|
+
*/
|
|
1129
2300
|
restartTimes?: string;
|
|
1130
2301
|
settings?: JobSettings;
|
|
2302
|
+
/**
|
|
2303
|
+
* @example
|
|
2304
|
+
* Stopped
|
|
2305
|
+
*/
|
|
1131
2306
|
status?: string;
|
|
1132
2307
|
statusHistory?: StatusTransitionItem[];
|
|
2308
|
+
/**
|
|
2309
|
+
* @example
|
|
2310
|
+
* Restarting
|
|
2311
|
+
*/
|
|
1133
2312
|
subStatus?: string;
|
|
1134
2313
|
tenantId?: string;
|
|
2314
|
+
/**
|
|
2315
|
+
* @example
|
|
2316
|
+
* /root/code/
|
|
2317
|
+
*/
|
|
1135
2318
|
thirdpartyLibDir?: string;
|
|
1136
2319
|
thirdpartyLibs?: string[];
|
|
2320
|
+
/**
|
|
2321
|
+
* @example
|
|
2322
|
+
* python /root/code/mnist.py
|
|
2323
|
+
*/
|
|
1137
2324
|
userCommand?: string;
|
|
2325
|
+
/**
|
|
2326
|
+
* @example
|
|
2327
|
+
* 12*********
|
|
2328
|
+
*/
|
|
1138
2329
|
userId?: string;
|
|
2330
|
+
/**
|
|
2331
|
+
* @example
|
|
2332
|
+
* 268
|
|
2333
|
+
*/
|
|
1139
2334
|
workspaceId?: string;
|
|
2335
|
+
/**
|
|
2336
|
+
* @example
|
|
2337
|
+
* dlc-workspace
|
|
2338
|
+
*/
|
|
1140
2339
|
workspaceName?: string;
|
|
1141
2340
|
static names(): {
|
|
1142
2341
|
[key: string]: string;
|
|
@@ -1165,8 +2364,20 @@ export declare class GetJobResponse extends $tea.Model {
|
|
|
1165
2364
|
});
|
|
1166
2365
|
}
|
|
1167
2366
|
export declare class GetJobEventsRequest extends $tea.Model {
|
|
2367
|
+
/**
|
|
2368
|
+
* @example
|
|
2369
|
+
* 2020-11-08T18:00:00Z
|
|
2370
|
+
*/
|
|
1168
2371
|
endTime?: string;
|
|
2372
|
+
/**
|
|
2373
|
+
* @example
|
|
2374
|
+
* 100
|
|
2375
|
+
*/
|
|
1169
2376
|
maxEventsNum?: number;
|
|
2377
|
+
/**
|
|
2378
|
+
* @example
|
|
2379
|
+
* 2020-11-08T16:00:00Z
|
|
2380
|
+
*/
|
|
1170
2381
|
startTime?: string;
|
|
1171
2382
|
static names(): {
|
|
1172
2383
|
[key: string]: string;
|
|
@@ -1180,7 +2391,15 @@ export declare class GetJobEventsRequest extends $tea.Model {
|
|
|
1180
2391
|
}
|
|
1181
2392
|
export declare class GetJobEventsResponseBody extends $tea.Model {
|
|
1182
2393
|
events?: string[];
|
|
2394
|
+
/**
|
|
2395
|
+
* @example
|
|
2396
|
+
* dlc-20210126170216-******
|
|
2397
|
+
*/
|
|
1183
2398
|
jobId?: string;
|
|
2399
|
+
/**
|
|
2400
|
+
* @example
|
|
2401
|
+
* 78F6FCE2-278F-4C4A-A6B7-DD8ECEA9C456
|
|
2402
|
+
*/
|
|
1184
2403
|
requestId?: string;
|
|
1185
2404
|
static names(): {
|
|
1186
2405
|
[key: string]: string;
|
|
@@ -1209,10 +2428,33 @@ export declare class GetJobEventsResponse extends $tea.Model {
|
|
|
1209
2428
|
});
|
|
1210
2429
|
}
|
|
1211
2430
|
export declare class GetJobMetricsRequest extends $tea.Model {
|
|
2431
|
+
/**
|
|
2432
|
+
* @example
|
|
2433
|
+
* 2020-11-09T16:00:00Z
|
|
2434
|
+
*/
|
|
1212
2435
|
endTime?: string;
|
|
2436
|
+
/**
|
|
2437
|
+
* @remarks
|
|
2438
|
+
* This parameter is required.
|
|
2439
|
+
*
|
|
2440
|
+
* @example
|
|
2441
|
+
* GpuMemoryUsage
|
|
2442
|
+
*/
|
|
1213
2443
|
metricType?: string;
|
|
2444
|
+
/**
|
|
2445
|
+
* @example
|
|
2446
|
+
* 2020-11-08T16:00:00Z
|
|
2447
|
+
*/
|
|
1214
2448
|
startTime?: string;
|
|
2449
|
+
/**
|
|
2450
|
+
* @example
|
|
2451
|
+
* 5m
|
|
2452
|
+
*/
|
|
1215
2453
|
timeStep?: string;
|
|
2454
|
+
/**
|
|
2455
|
+
* @example
|
|
2456
|
+
* eyXXXX-XXXX.XXXXX
|
|
2457
|
+
*/
|
|
1216
2458
|
token?: string;
|
|
1217
2459
|
static names(): {
|
|
1218
2460
|
[key: string]: string;
|
|
@@ -1225,8 +2467,16 @@ export declare class GetJobMetricsRequest extends $tea.Model {
|
|
|
1225
2467
|
});
|
|
1226
2468
|
}
|
|
1227
2469
|
export declare class GetJobMetricsResponseBody extends $tea.Model {
|
|
2470
|
+
/**
|
|
2471
|
+
* @example
|
|
2472
|
+
* dlc-20210126170216-*******
|
|
2473
|
+
*/
|
|
1228
2474
|
jobId?: string;
|
|
1229
2475
|
podMetrics?: PodMetric[];
|
|
2476
|
+
/**
|
|
2477
|
+
* @example
|
|
2478
|
+
* 473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E
|
|
2479
|
+
*/
|
|
1230
2480
|
requestId?: string;
|
|
1231
2481
|
static names(): {
|
|
1232
2482
|
[key: string]: string;
|
|
@@ -1255,7 +2505,18 @@ export declare class GetJobMetricsResponse extends $tea.Model {
|
|
|
1255
2505
|
});
|
|
1256
2506
|
}
|
|
1257
2507
|
export declare class GetJobSanityCheckResultRequest extends $tea.Model {
|
|
2508
|
+
/**
|
|
2509
|
+
* @remarks
|
|
2510
|
+
* This parameter is required.
|
|
2511
|
+
*
|
|
2512
|
+
* @example
|
|
2513
|
+
* 1
|
|
2514
|
+
*/
|
|
1258
2515
|
sanityCheckNumber?: number;
|
|
2516
|
+
/**
|
|
2517
|
+
* @example
|
|
2518
|
+
* DeviceCheck
|
|
2519
|
+
*/
|
|
1259
2520
|
sanityCheckPhase?: string;
|
|
1260
2521
|
token?: string;
|
|
1261
2522
|
static names(): {
|
|
@@ -1269,7 +2530,15 @@ export declare class GetJobSanityCheckResultRequest extends $tea.Model {
|
|
|
1269
2530
|
});
|
|
1270
2531
|
}
|
|
1271
2532
|
export declare class GetJobSanityCheckResultResponseBody extends $tea.Model {
|
|
2533
|
+
/**
|
|
2534
|
+
* @example
|
|
2535
|
+
* dlc-20210126170216-xxxxxx
|
|
2536
|
+
*/
|
|
1272
2537
|
jobId?: string;
|
|
2538
|
+
/**
|
|
2539
|
+
* @example
|
|
2540
|
+
* B3789344-F1xxxBE-5xx2-A04D-xxxxx
|
|
2541
|
+
*/
|
|
1273
2542
|
requestID?: string;
|
|
1274
2543
|
sanityCheckResult?: SanityCheckResultItem[];
|
|
1275
2544
|
static names(): {
|
|
@@ -1299,9 +2568,25 @@ export declare class GetJobSanityCheckResultResponse extends $tea.Model {
|
|
|
1299
2568
|
});
|
|
1300
2569
|
}
|
|
1301
2570
|
export declare class GetPodEventsRequest extends $tea.Model {
|
|
2571
|
+
/**
|
|
2572
|
+
* @example
|
|
2573
|
+
* 2020-11-09T16:00:00Z
|
|
2574
|
+
*/
|
|
1302
2575
|
endTime?: string;
|
|
2576
|
+
/**
|
|
2577
|
+
* @example
|
|
2578
|
+
* 100
|
|
2579
|
+
*/
|
|
1303
2580
|
maxEventsNum?: number;
|
|
2581
|
+
/**
|
|
2582
|
+
* @example
|
|
2583
|
+
* dlc-20210126170216-*****-chief-0
|
|
2584
|
+
*/
|
|
1304
2585
|
podUid?: string;
|
|
2586
|
+
/**
|
|
2587
|
+
* @example
|
|
2588
|
+
* 2020-11-08T16:00:00Z
|
|
2589
|
+
*/
|
|
1305
2590
|
startTime?: string;
|
|
1306
2591
|
static names(): {
|
|
1307
2592
|
[key: string]: string;
|
|
@@ -1315,9 +2600,28 @@ export declare class GetPodEventsRequest extends $tea.Model {
|
|
|
1315
2600
|
}
|
|
1316
2601
|
export declare class GetPodEventsResponseBody extends $tea.Model {
|
|
1317
2602
|
events?: string[];
|
|
2603
|
+
/**
|
|
2604
|
+
* @example
|
|
2605
|
+
* dlc-20210126170216-*****
|
|
2606
|
+
*/
|
|
1318
2607
|
jobId?: string;
|
|
2608
|
+
/**
|
|
2609
|
+
* @remarks
|
|
2610
|
+
* This parameter is required.
|
|
2611
|
+
*
|
|
2612
|
+
* @example
|
|
2613
|
+
* dlc-20210126170216-*****-chief-0
|
|
2614
|
+
*/
|
|
1319
2615
|
podId?: string;
|
|
2616
|
+
/**
|
|
2617
|
+
* @example
|
|
2618
|
+
* 94a7cc7c-0033-48b5-85bd-71c63592c268
|
|
2619
|
+
*/
|
|
1320
2620
|
podUid?: string;
|
|
2621
|
+
/**
|
|
2622
|
+
* @example
|
|
2623
|
+
* 473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E
|
|
2624
|
+
*/
|
|
1321
2625
|
requestId?: string;
|
|
1322
2626
|
static names(): {
|
|
1323
2627
|
[key: string]: string;
|
|
@@ -1346,10 +2650,30 @@ export declare class GetPodEventsResponse extends $tea.Model {
|
|
|
1346
2650
|
});
|
|
1347
2651
|
}
|
|
1348
2652
|
export declare class GetPodLogsRequest extends $tea.Model {
|
|
2653
|
+
/**
|
|
2654
|
+
* @example
|
|
2655
|
+
* true
|
|
2656
|
+
*/
|
|
1349
2657
|
downloadToFile?: boolean;
|
|
2658
|
+
/**
|
|
2659
|
+
* @example
|
|
2660
|
+
* 2020-11-08T17:00:00Z
|
|
2661
|
+
*/
|
|
1350
2662
|
endTime?: string;
|
|
2663
|
+
/**
|
|
2664
|
+
* @example
|
|
2665
|
+
* 100
|
|
2666
|
+
*/
|
|
1351
2667
|
maxLines?: number;
|
|
2668
|
+
/**
|
|
2669
|
+
* @example
|
|
2670
|
+
* fe846462-af2c-4521-bd6f-96787a57****
|
|
2671
|
+
*/
|
|
1352
2672
|
podUid?: string;
|
|
2673
|
+
/**
|
|
2674
|
+
* @example
|
|
2675
|
+
* 2020-11-08T16:00:00Z
|
|
2676
|
+
*/
|
|
1353
2677
|
startTime?: string;
|
|
1354
2678
|
static names(): {
|
|
1355
2679
|
[key: string]: string;
|
|
@@ -1362,10 +2686,26 @@ export declare class GetPodLogsRequest extends $tea.Model {
|
|
|
1362
2686
|
});
|
|
1363
2687
|
}
|
|
1364
2688
|
export declare class GetPodLogsResponseBody extends $tea.Model {
|
|
2689
|
+
/**
|
|
2690
|
+
* @example
|
|
2691
|
+
* dlc-20210126170216-******
|
|
2692
|
+
*/
|
|
1365
2693
|
jobId?: string;
|
|
1366
2694
|
logs?: string[];
|
|
2695
|
+
/**
|
|
2696
|
+
* @example
|
|
2697
|
+
* dlc-20210126170216-****-chief-0
|
|
2698
|
+
*/
|
|
1367
2699
|
podId?: string;
|
|
2700
|
+
/**
|
|
2701
|
+
* @example
|
|
2702
|
+
* 94a7cc7c-0033-48b5-85bd-71c63592c268
|
|
2703
|
+
*/
|
|
1368
2704
|
podUid?: string;
|
|
2705
|
+
/**
|
|
2706
|
+
* @example
|
|
2707
|
+
* 473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E
|
|
2708
|
+
*/
|
|
1369
2709
|
requestId?: string;
|
|
1370
2710
|
static names(): {
|
|
1371
2711
|
[key: string]: string;
|
|
@@ -1394,8 +2734,16 @@ export declare class GetPodLogsResponse extends $tea.Model {
|
|
|
1394
2734
|
});
|
|
1395
2735
|
}
|
|
1396
2736
|
export declare class GetTensorboardRequest extends $tea.Model {
|
|
2737
|
+
/**
|
|
2738
|
+
* @example
|
|
2739
|
+
* dlc-xxxxxxxx
|
|
2740
|
+
*/
|
|
1397
2741
|
jodId?: string;
|
|
1398
2742
|
token?: string;
|
|
2743
|
+
/**
|
|
2744
|
+
* @example
|
|
2745
|
+
* 46099
|
|
2746
|
+
*/
|
|
1399
2747
|
workspaceId?: string;
|
|
1400
2748
|
static names(): {
|
|
1401
2749
|
[key: string]: string;
|
|
@@ -1424,6 +2772,10 @@ export declare class GetTensorboardResponse extends $tea.Model {
|
|
|
1424
2772
|
});
|
|
1425
2773
|
}
|
|
1426
2774
|
export declare class GetTensorboardSharedUrlRequest extends $tea.Model {
|
|
2775
|
+
/**
|
|
2776
|
+
* @example
|
|
2777
|
+
* 86400
|
|
2778
|
+
*/
|
|
1427
2779
|
expireTimeSeconds?: string;
|
|
1428
2780
|
static names(): {
|
|
1429
2781
|
[key: string]: string;
|
|
@@ -1436,7 +2788,15 @@ export declare class GetTensorboardSharedUrlRequest extends $tea.Model {
|
|
|
1436
2788
|
});
|
|
1437
2789
|
}
|
|
1438
2790
|
export declare class GetTensorboardSharedUrlResponseBody extends $tea.Model {
|
|
2791
|
+
/**
|
|
2792
|
+
* @example
|
|
2793
|
+
* 473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E
|
|
2794
|
+
*/
|
|
1439
2795
|
requestId?: string;
|
|
2796
|
+
/**
|
|
2797
|
+
* @example
|
|
2798
|
+
* http://pai-dlc-proxy-xxx.alicyuncs.com/xxx/xxx/token/
|
|
2799
|
+
*/
|
|
1440
2800
|
tensorboardSharedUrl?: string;
|
|
1441
2801
|
static names(): {
|
|
1442
2802
|
[key: string]: string;
|
|
@@ -1465,8 +2825,20 @@ export declare class GetTensorboardSharedUrlResponse extends $tea.Model {
|
|
|
1465
2825
|
});
|
|
1466
2826
|
}
|
|
1467
2827
|
export declare class GetTokenRequest extends $tea.Model {
|
|
2828
|
+
/**
|
|
2829
|
+
* @example
|
|
2830
|
+
* 60
|
|
2831
|
+
*/
|
|
1468
2832
|
expireTime?: number;
|
|
2833
|
+
/**
|
|
2834
|
+
* @example
|
|
2835
|
+
* dlc*******
|
|
2836
|
+
*/
|
|
1469
2837
|
targetId?: string;
|
|
2838
|
+
/**
|
|
2839
|
+
* @example
|
|
2840
|
+
* job
|
|
2841
|
+
*/
|
|
1470
2842
|
targetType?: string;
|
|
1471
2843
|
static names(): {
|
|
1472
2844
|
[key: string]: string;
|
|
@@ -1479,7 +2851,15 @@ export declare class GetTokenRequest extends $tea.Model {
|
|
|
1479
2851
|
});
|
|
1480
2852
|
}
|
|
1481
2853
|
export declare class GetTokenResponseBody extends $tea.Model {
|
|
2854
|
+
/**
|
|
2855
|
+
* @example
|
|
2856
|
+
* 473469C7-AA6F-4DC5-B3DB-xxxxxxxx
|
|
2857
|
+
*/
|
|
1482
2858
|
requestId?: string;
|
|
2859
|
+
/**
|
|
2860
|
+
* @example
|
|
2861
|
+
* eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9*****
|
|
2862
|
+
*/
|
|
1483
2863
|
token?: string;
|
|
1484
2864
|
static names(): {
|
|
1485
2865
|
[key: string]: string;
|
|
@@ -1509,6 +2889,13 @@ export declare class GetTokenResponse extends $tea.Model {
|
|
|
1509
2889
|
}
|
|
1510
2890
|
export declare class GetWebTerminalRequest extends $tea.Model {
|
|
1511
2891
|
isShared?: boolean;
|
|
2892
|
+
/**
|
|
2893
|
+
* @remarks
|
|
2894
|
+
* Pod UID。
|
|
2895
|
+
*
|
|
2896
|
+
* @example
|
|
2897
|
+
* 94a7cc7c-0033-48b5-85bd-71c63592c268
|
|
2898
|
+
*/
|
|
1512
2899
|
podUid?: string;
|
|
1513
2900
|
static names(): {
|
|
1514
2901
|
[key: string]: string;
|
|
@@ -1550,12 +2937,40 @@ export declare class GetWebTerminalResponse extends $tea.Model {
|
|
|
1550
2937
|
});
|
|
1551
2938
|
}
|
|
1552
2939
|
export declare class ListEcsSpecsRequest extends $tea.Model {
|
|
2940
|
+
/**
|
|
2941
|
+
* @example
|
|
2942
|
+
* GPU
|
|
2943
|
+
*/
|
|
1553
2944
|
acceleratorType?: string;
|
|
2945
|
+
/**
|
|
2946
|
+
* @example
|
|
2947
|
+
* ecs.g6.large,ecs.g6.xlarge
|
|
2948
|
+
*/
|
|
1554
2949
|
instanceTypes?: string;
|
|
2950
|
+
/**
|
|
2951
|
+
* @example
|
|
2952
|
+
* desc
|
|
2953
|
+
*/
|
|
1555
2954
|
order?: string;
|
|
2955
|
+
/**
|
|
2956
|
+
* @example
|
|
2957
|
+
* 1
|
|
2958
|
+
*/
|
|
1556
2959
|
pageNumber?: number;
|
|
2960
|
+
/**
|
|
2961
|
+
* @example
|
|
2962
|
+
* 10
|
|
2963
|
+
*/
|
|
1557
2964
|
pageSize?: number;
|
|
2965
|
+
/**
|
|
2966
|
+
* @example
|
|
2967
|
+
* ECS
|
|
2968
|
+
*/
|
|
1558
2969
|
resourceType?: string;
|
|
2970
|
+
/**
|
|
2971
|
+
* @example
|
|
2972
|
+
* Gpu
|
|
2973
|
+
*/
|
|
1559
2974
|
sortBy?: string;
|
|
1560
2975
|
static names(): {
|
|
1561
2976
|
[key: string]: string;
|
|
@@ -1569,7 +2984,15 @@ export declare class ListEcsSpecsRequest extends $tea.Model {
|
|
|
1569
2984
|
}
|
|
1570
2985
|
export declare class ListEcsSpecsResponseBody extends $tea.Model {
|
|
1571
2986
|
ecsSpecs?: EcsSpec[];
|
|
2987
|
+
/**
|
|
2988
|
+
* @example
|
|
2989
|
+
* 473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E
|
|
2990
|
+
*/
|
|
1572
2991
|
requestId?: string;
|
|
2992
|
+
/**
|
|
2993
|
+
* @example
|
|
2994
|
+
* 10
|
|
2995
|
+
*/
|
|
1573
2996
|
totalCount?: number;
|
|
1574
2997
|
static names(): {
|
|
1575
2998
|
[key: string]: string;
|
|
@@ -1598,6 +3021,10 @@ export declare class ListEcsSpecsResponse extends $tea.Model {
|
|
|
1598
3021
|
});
|
|
1599
3022
|
}
|
|
1600
3023
|
export declare class ListJobSanityCheckResultsRequest extends $tea.Model {
|
|
3024
|
+
/**
|
|
3025
|
+
* @example
|
|
3026
|
+
* desc
|
|
3027
|
+
*/
|
|
1601
3028
|
order?: string;
|
|
1602
3029
|
static names(): {
|
|
1603
3030
|
[key: string]: string;
|
|
@@ -1610,8 +3037,16 @@ export declare class ListJobSanityCheckResultsRequest extends $tea.Model {
|
|
|
1610
3037
|
});
|
|
1611
3038
|
}
|
|
1612
3039
|
export declare class ListJobSanityCheckResultsResponseBody extends $tea.Model {
|
|
3040
|
+
/**
|
|
3041
|
+
* @example
|
|
3042
|
+
* 1AC9xxx-3xxx-5xxx2-xxxx-FA5
|
|
3043
|
+
*/
|
|
1613
3044
|
requestID?: string;
|
|
1614
3045
|
sanityCheckResults?: SanityCheckResultItem[][];
|
|
3046
|
+
/**
|
|
3047
|
+
* @example
|
|
3048
|
+
* 10
|
|
3049
|
+
*/
|
|
1615
3050
|
totalCount?: number;
|
|
1616
3051
|
static names(): {
|
|
1617
3052
|
[key: string]: string;
|
|
@@ -1640,28 +3075,96 @@ export declare class ListJobSanityCheckResultsResponse extends $tea.Model {
|
|
|
1640
3075
|
});
|
|
1641
3076
|
}
|
|
1642
3077
|
export declare class ListJobsRequest extends $tea.Model {
|
|
3078
|
+
/**
|
|
3079
|
+
* @example
|
|
3080
|
+
* 16****
|
|
3081
|
+
*/
|
|
1643
3082
|
businessUserId?: string;
|
|
3083
|
+
/**
|
|
3084
|
+
* @example
|
|
3085
|
+
* local
|
|
3086
|
+
*/
|
|
1644
3087
|
caller?: string;
|
|
3088
|
+
/**
|
|
3089
|
+
* @example
|
|
3090
|
+
* tf-mnist-test
|
|
3091
|
+
*/
|
|
1645
3092
|
displayName?: string;
|
|
3093
|
+
/**
|
|
3094
|
+
* @example
|
|
3095
|
+
* 2020-11-09T14:45:00Z
|
|
3096
|
+
*/
|
|
1646
3097
|
endTime?: string;
|
|
3098
|
+
/**
|
|
3099
|
+
* @example
|
|
3100
|
+
* false
|
|
3101
|
+
*/
|
|
1647
3102
|
fromAllWorkspaces?: boolean;
|
|
3103
|
+
/**
|
|
3104
|
+
* @example
|
|
3105
|
+
* dlc********
|
|
3106
|
+
*/
|
|
1648
3107
|
jobId?: string;
|
|
3108
|
+
/**
|
|
3109
|
+
* @example
|
|
3110
|
+
* TFJob
|
|
3111
|
+
*/
|
|
1649
3112
|
jobType?: string;
|
|
3113
|
+
/**
|
|
3114
|
+
* @example
|
|
3115
|
+
* desc
|
|
3116
|
+
*/
|
|
1650
3117
|
order?: string;
|
|
3118
|
+
/**
|
|
3119
|
+
* @example
|
|
3120
|
+
* 1
|
|
3121
|
+
*/
|
|
1651
3122
|
pageNumber?: number;
|
|
3123
|
+
/**
|
|
3124
|
+
* @example
|
|
3125
|
+
* 50
|
|
3126
|
+
*/
|
|
1652
3127
|
pageSize?: number;
|
|
3128
|
+
/**
|
|
3129
|
+
* @example
|
|
3130
|
+
* flow-*******
|
|
3131
|
+
*/
|
|
1653
3132
|
pipelineId?: string;
|
|
3133
|
+
/**
|
|
3134
|
+
* @example
|
|
3135
|
+
* r*****
|
|
3136
|
+
*/
|
|
1654
3137
|
resourceId?: string;
|
|
1655
3138
|
resourceQuotaName?: string;
|
|
3139
|
+
/**
|
|
3140
|
+
* @example
|
|
3141
|
+
* true
|
|
3142
|
+
*/
|
|
1656
3143
|
showOwn?: boolean;
|
|
3144
|
+
/**
|
|
3145
|
+
* @example
|
|
3146
|
+
* GmtCreateTime
|
|
3147
|
+
*/
|
|
1657
3148
|
sortBy?: string;
|
|
3149
|
+
/**
|
|
3150
|
+
* @example
|
|
3151
|
+
* 2020-11-08T16:00:00Z
|
|
3152
|
+
*/
|
|
1658
3153
|
startTime?: string;
|
|
3154
|
+
/**
|
|
3155
|
+
* @example
|
|
3156
|
+
* Running
|
|
3157
|
+
*/
|
|
1659
3158
|
status?: string;
|
|
1660
3159
|
tags?: {
|
|
1661
3160
|
[key: string]: string;
|
|
1662
3161
|
};
|
|
1663
3162
|
userIdForFilter?: string;
|
|
1664
3163
|
username?: string;
|
|
3164
|
+
/**
|
|
3165
|
+
* @example
|
|
3166
|
+
* 1****
|
|
3167
|
+
*/
|
|
1665
3168
|
workspaceId?: string;
|
|
1666
3169
|
static names(): {
|
|
1667
3170
|
[key: string]: string;
|
|
@@ -1674,26 +3177,94 @@ export declare class ListJobsRequest extends $tea.Model {
|
|
|
1674
3177
|
});
|
|
1675
3178
|
}
|
|
1676
3179
|
export declare class ListJobsShrinkRequest extends $tea.Model {
|
|
3180
|
+
/**
|
|
3181
|
+
* @example
|
|
3182
|
+
* 16****
|
|
3183
|
+
*/
|
|
1677
3184
|
businessUserId?: string;
|
|
3185
|
+
/**
|
|
3186
|
+
* @example
|
|
3187
|
+
* local
|
|
3188
|
+
*/
|
|
1678
3189
|
caller?: string;
|
|
3190
|
+
/**
|
|
3191
|
+
* @example
|
|
3192
|
+
* tf-mnist-test
|
|
3193
|
+
*/
|
|
1679
3194
|
displayName?: string;
|
|
3195
|
+
/**
|
|
3196
|
+
* @example
|
|
3197
|
+
* 2020-11-09T14:45:00Z
|
|
3198
|
+
*/
|
|
1680
3199
|
endTime?: string;
|
|
3200
|
+
/**
|
|
3201
|
+
* @example
|
|
3202
|
+
* false
|
|
3203
|
+
*/
|
|
1681
3204
|
fromAllWorkspaces?: boolean;
|
|
3205
|
+
/**
|
|
3206
|
+
* @example
|
|
3207
|
+
* dlc********
|
|
3208
|
+
*/
|
|
1682
3209
|
jobId?: string;
|
|
3210
|
+
/**
|
|
3211
|
+
* @example
|
|
3212
|
+
* TFJob
|
|
3213
|
+
*/
|
|
1683
3214
|
jobType?: string;
|
|
3215
|
+
/**
|
|
3216
|
+
* @example
|
|
3217
|
+
* desc
|
|
3218
|
+
*/
|
|
1684
3219
|
order?: string;
|
|
3220
|
+
/**
|
|
3221
|
+
* @example
|
|
3222
|
+
* 1
|
|
3223
|
+
*/
|
|
1685
3224
|
pageNumber?: number;
|
|
3225
|
+
/**
|
|
3226
|
+
* @example
|
|
3227
|
+
* 50
|
|
3228
|
+
*/
|
|
1686
3229
|
pageSize?: number;
|
|
3230
|
+
/**
|
|
3231
|
+
* @example
|
|
3232
|
+
* flow-*******
|
|
3233
|
+
*/
|
|
1687
3234
|
pipelineId?: string;
|
|
3235
|
+
/**
|
|
3236
|
+
* @example
|
|
3237
|
+
* r*****
|
|
3238
|
+
*/
|
|
1688
3239
|
resourceId?: string;
|
|
1689
3240
|
resourceQuotaName?: string;
|
|
3241
|
+
/**
|
|
3242
|
+
* @example
|
|
3243
|
+
* true
|
|
3244
|
+
*/
|
|
1690
3245
|
showOwn?: boolean;
|
|
3246
|
+
/**
|
|
3247
|
+
* @example
|
|
3248
|
+
* GmtCreateTime
|
|
3249
|
+
*/
|
|
1691
3250
|
sortBy?: string;
|
|
3251
|
+
/**
|
|
3252
|
+
* @example
|
|
3253
|
+
* 2020-11-08T16:00:00Z
|
|
3254
|
+
*/
|
|
1692
3255
|
startTime?: string;
|
|
3256
|
+
/**
|
|
3257
|
+
* @example
|
|
3258
|
+
* Running
|
|
3259
|
+
*/
|
|
1693
3260
|
status?: string;
|
|
1694
3261
|
tagsShrink?: string;
|
|
1695
3262
|
userIdForFilter?: string;
|
|
1696
3263
|
username?: string;
|
|
3264
|
+
/**
|
|
3265
|
+
* @example
|
|
3266
|
+
* 1****
|
|
3267
|
+
*/
|
|
1697
3268
|
workspaceId?: string;
|
|
1698
3269
|
static names(): {
|
|
1699
3270
|
[key: string]: string;
|
|
@@ -1707,7 +3278,15 @@ export declare class ListJobsShrinkRequest extends $tea.Model {
|
|
|
1707
3278
|
}
|
|
1708
3279
|
export declare class ListJobsResponseBody extends $tea.Model {
|
|
1709
3280
|
jobs?: JobItem[];
|
|
3281
|
+
/**
|
|
3282
|
+
* @example
|
|
3283
|
+
* 473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E
|
|
3284
|
+
*/
|
|
1710
3285
|
requestId?: string;
|
|
3286
|
+
/**
|
|
3287
|
+
* @example
|
|
3288
|
+
* 2
|
|
3289
|
+
*/
|
|
1711
3290
|
totalCount?: number;
|
|
1712
3291
|
static names(): {
|
|
1713
3292
|
[key: string]: string;
|
|
@@ -1736,23 +3315,80 @@ export declare class ListJobsResponse extends $tea.Model {
|
|
|
1736
3315
|
});
|
|
1737
3316
|
}
|
|
1738
3317
|
export declare class ListTensorboardsRequest extends $tea.Model {
|
|
3318
|
+
/**
|
|
3319
|
+
* @example
|
|
3320
|
+
* TestTensorboard
|
|
3321
|
+
*/
|
|
1739
3322
|
displayName?: string;
|
|
3323
|
+
/**
|
|
3324
|
+
* @example
|
|
3325
|
+
* 2020-11-09T14:45:00Z
|
|
3326
|
+
*/
|
|
1740
3327
|
endTime?: string;
|
|
3328
|
+
/**
|
|
3329
|
+
* @example
|
|
3330
|
+
* dlc-xxx
|
|
3331
|
+
*/
|
|
1741
3332
|
jobId?: string;
|
|
3333
|
+
/**
|
|
3334
|
+
* @example
|
|
3335
|
+
* desc
|
|
3336
|
+
*/
|
|
1742
3337
|
order?: string;
|
|
3338
|
+
/**
|
|
3339
|
+
* @example
|
|
3340
|
+
* 1
|
|
3341
|
+
*/
|
|
1743
3342
|
pageNumber?: number;
|
|
3343
|
+
/**
|
|
3344
|
+
* @example
|
|
3345
|
+
* 50
|
|
3346
|
+
*/
|
|
1744
3347
|
pageSize?: number;
|
|
1745
3348
|
paymentType?: string;
|
|
3349
|
+
quotaId?: string;
|
|
1746
3350
|
showOwn?: boolean;
|
|
3351
|
+
/**
|
|
3352
|
+
* @example
|
|
3353
|
+
* GmtCreateTime
|
|
3354
|
+
*/
|
|
1747
3355
|
sortBy?: string;
|
|
3356
|
+
/**
|
|
3357
|
+
* @example
|
|
3358
|
+
* dlc-xxxxxx
|
|
3359
|
+
*/
|
|
1748
3360
|
sourceId?: string;
|
|
3361
|
+
/**
|
|
3362
|
+
* @example
|
|
3363
|
+
* job
|
|
3364
|
+
*/
|
|
1749
3365
|
sourceType?: string;
|
|
3366
|
+
/**
|
|
3367
|
+
* @example
|
|
3368
|
+
* 2020-11-08T16:00:00Z
|
|
3369
|
+
*/
|
|
1750
3370
|
startTime?: string;
|
|
3371
|
+
/**
|
|
3372
|
+
* @example
|
|
3373
|
+
* Running
|
|
3374
|
+
*/
|
|
1751
3375
|
status?: string;
|
|
3376
|
+
/**
|
|
3377
|
+
* @example
|
|
3378
|
+
* tensorboard-xxx
|
|
3379
|
+
*/
|
|
1752
3380
|
tensorboardId?: string;
|
|
1753
3381
|
userId?: string;
|
|
1754
3382
|
username?: string;
|
|
3383
|
+
/**
|
|
3384
|
+
* @example
|
|
3385
|
+
* true
|
|
3386
|
+
*/
|
|
1755
3387
|
verbose?: boolean;
|
|
3388
|
+
/**
|
|
3389
|
+
* @example
|
|
3390
|
+
* 380
|
|
3391
|
+
*/
|
|
1756
3392
|
workspaceId?: string;
|
|
1757
3393
|
static names(): {
|
|
1758
3394
|
[key: string]: string;
|
|
@@ -1765,8 +3401,16 @@ export declare class ListTensorboardsRequest extends $tea.Model {
|
|
|
1765
3401
|
});
|
|
1766
3402
|
}
|
|
1767
3403
|
export declare class ListTensorboardsResponseBody extends $tea.Model {
|
|
3404
|
+
/**
|
|
3405
|
+
* @example
|
|
3406
|
+
* 473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E
|
|
3407
|
+
*/
|
|
1768
3408
|
requestId?: string;
|
|
1769
3409
|
tensorboards?: Tensorboard[];
|
|
3410
|
+
/**
|
|
3411
|
+
* @example
|
|
3412
|
+
* 100
|
|
3413
|
+
*/
|
|
1770
3414
|
totalCount?: number;
|
|
1771
3415
|
static names(): {
|
|
1772
3416
|
[key: string]: string;
|
|
@@ -1795,6 +3439,10 @@ export declare class ListTensorboardsResponse extends $tea.Model {
|
|
|
1795
3439
|
});
|
|
1796
3440
|
}
|
|
1797
3441
|
export declare class StartTensorboardRequest extends $tea.Model {
|
|
3442
|
+
/**
|
|
3443
|
+
* @example
|
|
3444
|
+
* 380
|
|
3445
|
+
*/
|
|
1798
3446
|
workspaceId?: string;
|
|
1799
3447
|
static names(): {
|
|
1800
3448
|
[key: string]: string;
|
|
@@ -1807,7 +3455,15 @@ export declare class StartTensorboardRequest extends $tea.Model {
|
|
|
1807
3455
|
});
|
|
1808
3456
|
}
|
|
1809
3457
|
export declare class StartTensorboardResponseBody extends $tea.Model {
|
|
3458
|
+
/**
|
|
3459
|
+
* @example
|
|
3460
|
+
* 473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E
|
|
3461
|
+
*/
|
|
1810
3462
|
requestId?: string;
|
|
3463
|
+
/**
|
|
3464
|
+
* @example
|
|
3465
|
+
* tensorboard-20210114104214-vf9lowjt3pso
|
|
3466
|
+
*/
|
|
1811
3467
|
tensorboardId?: string;
|
|
1812
3468
|
static names(): {
|
|
1813
3469
|
[key: string]: string;
|
|
@@ -1836,7 +3492,15 @@ export declare class StartTensorboardResponse extends $tea.Model {
|
|
|
1836
3492
|
});
|
|
1837
3493
|
}
|
|
1838
3494
|
export declare class StopJobResponseBody extends $tea.Model {
|
|
3495
|
+
/**
|
|
3496
|
+
* @example
|
|
3497
|
+
* dlc-20210126170216-xxxxxxx
|
|
3498
|
+
*/
|
|
1839
3499
|
jobId?: string;
|
|
3500
|
+
/**
|
|
3501
|
+
* @example
|
|
3502
|
+
* 473469C7-AA6F-4DC5-B3DB-xxxxxx
|
|
3503
|
+
*/
|
|
1840
3504
|
requestId?: string;
|
|
1841
3505
|
static names(): {
|
|
1842
3506
|
[key: string]: string;
|
|
@@ -1865,6 +3529,10 @@ export declare class StopJobResponse extends $tea.Model {
|
|
|
1865
3529
|
});
|
|
1866
3530
|
}
|
|
1867
3531
|
export declare class StopTensorboardRequest extends $tea.Model {
|
|
3532
|
+
/**
|
|
3533
|
+
* @example
|
|
3534
|
+
* 380
|
|
3535
|
+
*/
|
|
1868
3536
|
workspaceId?: string;
|
|
1869
3537
|
static names(): {
|
|
1870
3538
|
[key: string]: string;
|
|
@@ -1877,7 +3545,15 @@ export declare class StopTensorboardRequest extends $tea.Model {
|
|
|
1877
3545
|
});
|
|
1878
3546
|
}
|
|
1879
3547
|
export declare class StopTensorboardResponseBody extends $tea.Model {
|
|
3548
|
+
/**
|
|
3549
|
+
* @example
|
|
3550
|
+
* 473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E
|
|
3551
|
+
*/
|
|
1880
3552
|
requestId?: string;
|
|
3553
|
+
/**
|
|
3554
|
+
* @example
|
|
3555
|
+
* tensorboard-20210114104214-xxxxxxxx
|
|
3556
|
+
*/
|
|
1881
3557
|
tensorboardId?: string;
|
|
1882
3558
|
static names(): {
|
|
1883
3559
|
[key: string]: string;
|
|
@@ -1906,6 +3582,10 @@ export declare class StopTensorboardResponse extends $tea.Model {
|
|
|
1906
3582
|
});
|
|
1907
3583
|
}
|
|
1908
3584
|
export declare class UpdateJobRequest extends $tea.Model {
|
|
3585
|
+
/**
|
|
3586
|
+
* @example
|
|
3587
|
+
* 5
|
|
3588
|
+
*/
|
|
1909
3589
|
priority?: number;
|
|
1910
3590
|
static names(): {
|
|
1911
3591
|
[key: string]: string;
|
|
@@ -1918,7 +3598,15 @@ export declare class UpdateJobRequest extends $tea.Model {
|
|
|
1918
3598
|
});
|
|
1919
3599
|
}
|
|
1920
3600
|
export declare class UpdateJobResponseBody extends $tea.Model {
|
|
3601
|
+
/**
|
|
3602
|
+
* @example
|
|
3603
|
+
* dlc*************
|
|
3604
|
+
*/
|
|
1921
3605
|
jobId?: string;
|
|
3606
|
+
/**
|
|
3607
|
+
* @example
|
|
3608
|
+
* 473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E
|
|
3609
|
+
*/
|
|
1922
3610
|
requestId?: string;
|
|
1923
3611
|
static names(): {
|
|
1924
3612
|
[key: string]: string;
|
|
@@ -1947,7 +3635,15 @@ export declare class UpdateJobResponse extends $tea.Model {
|
|
|
1947
3635
|
});
|
|
1948
3636
|
}
|
|
1949
3637
|
export declare class UpdateTensorboardRequest extends $tea.Model {
|
|
3638
|
+
/**
|
|
3639
|
+
* @example
|
|
3640
|
+
* MaxRunningTimeMinutes
|
|
3641
|
+
*/
|
|
1950
3642
|
maxRunningTimeMinutes?: number;
|
|
3643
|
+
/**
|
|
3644
|
+
* @example
|
|
3645
|
+
* 380
|
|
3646
|
+
*/
|
|
1951
3647
|
workspaceId?: string;
|
|
1952
3648
|
static names(): {
|
|
1953
3649
|
[key: string]: string;
|
|
@@ -1960,7 +3656,15 @@ export declare class UpdateTensorboardRequest extends $tea.Model {
|
|
|
1960
3656
|
});
|
|
1961
3657
|
}
|
|
1962
3658
|
export declare class UpdateTensorboardResponseBody extends $tea.Model {
|
|
3659
|
+
/**
|
|
3660
|
+
* @example
|
|
3661
|
+
* 473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E
|
|
3662
|
+
*/
|
|
1963
3663
|
requestId?: string;
|
|
3664
|
+
/**
|
|
3665
|
+
* @example
|
|
3666
|
+
* tensorboard-20210114104214-xxxxxxxx
|
|
3667
|
+
*/
|
|
1964
3668
|
tensorboardId?: string;
|
|
1965
3669
|
static names(): {
|
|
1966
3670
|
[key: string]: string;
|
|
@@ -1989,9 +3693,25 @@ export declare class UpdateTensorboardResponse extends $tea.Model {
|
|
|
1989
3693
|
});
|
|
1990
3694
|
}
|
|
1991
3695
|
export declare class JobItemCodeSource extends $tea.Model {
|
|
3696
|
+
/**
|
|
3697
|
+
* @example
|
|
3698
|
+
* master
|
|
3699
|
+
*/
|
|
1992
3700
|
branch?: string;
|
|
3701
|
+
/**
|
|
3702
|
+
* @example
|
|
3703
|
+
* code-20210111103721-85qz78ia96lu
|
|
3704
|
+
*/
|
|
1993
3705
|
codeSourceId?: string;
|
|
3706
|
+
/**
|
|
3707
|
+
* @example
|
|
3708
|
+
* 44da109b59f8596152987eaa8f3b2487bb72ea63
|
|
3709
|
+
*/
|
|
1994
3710
|
commit?: string;
|
|
3711
|
+
/**
|
|
3712
|
+
* @example
|
|
3713
|
+
* /mnt/data
|
|
3714
|
+
*/
|
|
1995
3715
|
mountPath?: string;
|
|
1996
3716
|
static names(): {
|
|
1997
3717
|
[key: string]: string;
|
|
@@ -2004,7 +3724,15 @@ export declare class JobItemCodeSource extends $tea.Model {
|
|
|
2004
3724
|
});
|
|
2005
3725
|
}
|
|
2006
3726
|
export declare class JobItemDataSources extends $tea.Model {
|
|
3727
|
+
/**
|
|
3728
|
+
* @example
|
|
3729
|
+
* data-20210114104214-vf9lowjt3pso
|
|
3730
|
+
*/
|
|
2007
3731
|
dataSourceId?: string;
|
|
3732
|
+
/**
|
|
3733
|
+
* @example
|
|
3734
|
+
* /mnt/data
|
|
3735
|
+
*/
|
|
2008
3736
|
mountPath?: string;
|
|
2009
3737
|
static names(): {
|
|
2010
3738
|
[key: string]: string;
|
|
@@ -2016,10 +3744,74 @@ export declare class JobItemDataSources extends $tea.Model {
|
|
|
2016
3744
|
[key: string]: any;
|
|
2017
3745
|
});
|
|
2018
3746
|
}
|
|
3747
|
+
export declare class LifecyclePostStartExec extends $tea.Model {
|
|
3748
|
+
command?: string[];
|
|
3749
|
+
static names(): {
|
|
3750
|
+
[key: string]: string;
|
|
3751
|
+
};
|
|
3752
|
+
static types(): {
|
|
3753
|
+
[key: string]: any;
|
|
3754
|
+
};
|
|
3755
|
+
constructor(map?: {
|
|
3756
|
+
[key: string]: any;
|
|
3757
|
+
});
|
|
3758
|
+
}
|
|
3759
|
+
export declare class LifecyclePostStart extends $tea.Model {
|
|
3760
|
+
exec?: LifecyclePostStartExec;
|
|
3761
|
+
static names(): {
|
|
3762
|
+
[key: string]: string;
|
|
3763
|
+
};
|
|
3764
|
+
static types(): {
|
|
3765
|
+
[key: string]: any;
|
|
3766
|
+
};
|
|
3767
|
+
constructor(map?: {
|
|
3768
|
+
[key: string]: any;
|
|
3769
|
+
});
|
|
3770
|
+
}
|
|
3771
|
+
export declare class LifecyclePreStopExec extends $tea.Model {
|
|
3772
|
+
command?: string[];
|
|
3773
|
+
static names(): {
|
|
3774
|
+
[key: string]: string;
|
|
3775
|
+
};
|
|
3776
|
+
static types(): {
|
|
3777
|
+
[key: string]: any;
|
|
3778
|
+
};
|
|
3779
|
+
constructor(map?: {
|
|
3780
|
+
[key: string]: any;
|
|
3781
|
+
});
|
|
3782
|
+
}
|
|
3783
|
+
export declare class LifecyclePreStop extends $tea.Model {
|
|
3784
|
+
exec?: LifecyclePreStopExec;
|
|
3785
|
+
static names(): {
|
|
3786
|
+
[key: string]: string;
|
|
3787
|
+
};
|
|
3788
|
+
static types(): {
|
|
3789
|
+
[key: string]: any;
|
|
3790
|
+
};
|
|
3791
|
+
constructor(map?: {
|
|
3792
|
+
[key: string]: any;
|
|
3793
|
+
});
|
|
3794
|
+
}
|
|
2019
3795
|
export declare class CreateJobRequestCodeSource extends $tea.Model {
|
|
3796
|
+
/**
|
|
3797
|
+
* @example
|
|
3798
|
+
* master
|
|
3799
|
+
*/
|
|
2020
3800
|
branch?: string;
|
|
3801
|
+
/**
|
|
3802
|
+
* @example
|
|
3803
|
+
* code-20210111103721-xxxxxxx
|
|
3804
|
+
*/
|
|
2021
3805
|
codeSourceId?: string;
|
|
3806
|
+
/**
|
|
3807
|
+
* @example
|
|
3808
|
+
* 44da109b5******
|
|
3809
|
+
*/
|
|
2022
3810
|
commit?: string;
|
|
3811
|
+
/**
|
|
3812
|
+
* @example
|
|
3813
|
+
* /root/data
|
|
3814
|
+
*/
|
|
2023
3815
|
mountPath?: string;
|
|
2024
3816
|
static names(): {
|
|
2025
3817
|
[key: string]: string;
|
|
@@ -2032,8 +3824,21 @@ export declare class CreateJobRequestCodeSource extends $tea.Model {
|
|
|
2032
3824
|
});
|
|
2033
3825
|
}
|
|
2034
3826
|
export declare class CreateJobRequestDataSources extends $tea.Model {
|
|
3827
|
+
/**
|
|
3828
|
+
* @example
|
|
3829
|
+
* d-cn9dl*******
|
|
3830
|
+
*/
|
|
2035
3831
|
dataSourceId?: string;
|
|
3832
|
+
/**
|
|
3833
|
+
* @example
|
|
3834
|
+
* /root/data
|
|
3835
|
+
*/
|
|
2036
3836
|
mountPath?: string;
|
|
3837
|
+
options?: string;
|
|
3838
|
+
/**
|
|
3839
|
+
* @example
|
|
3840
|
+
* oss://bucket.oss-cn-hangzhou-internal.aliyuncs.com/path/
|
|
3841
|
+
*/
|
|
2037
3842
|
uri?: string;
|
|
2038
3843
|
static names(): {
|
|
2039
3844
|
[key: string]: string;
|
|
@@ -2048,8 +3853,20 @@ export declare class CreateJobRequestDataSources extends $tea.Model {
|
|
|
2048
3853
|
export declare class CreateJobRequestUserVpc extends $tea.Model {
|
|
2049
3854
|
defaultRoute?: string;
|
|
2050
3855
|
extendedCIDRs?: string[];
|
|
3856
|
+
/**
|
|
3857
|
+
* @example
|
|
3858
|
+
* sg-abcdef****
|
|
3859
|
+
*/
|
|
2051
3860
|
securityGroupId?: string;
|
|
3861
|
+
/**
|
|
3862
|
+
* @example
|
|
3863
|
+
* vs-abcdef****
|
|
3864
|
+
*/
|
|
2052
3865
|
switchId?: string;
|
|
3866
|
+
/**
|
|
3867
|
+
* @example
|
|
3868
|
+
* vpc-abcdef****
|
|
3869
|
+
*/
|
|
2053
3870
|
vpcId?: string;
|
|
2054
3871
|
static names(): {
|
|
2055
3872
|
[key: string]: string;
|
|
@@ -2062,9 +3879,25 @@ export declare class CreateJobRequestUserVpc extends $tea.Model {
|
|
|
2062
3879
|
});
|
|
2063
3880
|
}
|
|
2064
3881
|
export declare class GetJobResponseBodyCodeSource extends $tea.Model {
|
|
3882
|
+
/**
|
|
3883
|
+
* @example
|
|
3884
|
+
* master
|
|
3885
|
+
*/
|
|
2065
3886
|
branch?: string;
|
|
3887
|
+
/**
|
|
3888
|
+
* @example
|
|
3889
|
+
* code******
|
|
3890
|
+
*/
|
|
2066
3891
|
codeSourceId?: string;
|
|
3892
|
+
/**
|
|
3893
|
+
* @example
|
|
3894
|
+
* 44da109b59f8596152987eaa8f3b2487xxxxxx
|
|
3895
|
+
*/
|
|
2067
3896
|
commit?: string;
|
|
3897
|
+
/**
|
|
3898
|
+
* @example
|
|
3899
|
+
* /mnt/data
|
|
3900
|
+
*/
|
|
2068
3901
|
mountPath?: string;
|
|
2069
3902
|
static names(): {
|
|
2070
3903
|
[key: string]: string;
|
|
@@ -2077,8 +3910,20 @@ export declare class GetJobResponseBodyCodeSource extends $tea.Model {
|
|
|
2077
3910
|
});
|
|
2078
3911
|
}
|
|
2079
3912
|
export declare class GetJobResponseBodyDataSources extends $tea.Model {
|
|
3913
|
+
/**
|
|
3914
|
+
* @example
|
|
3915
|
+
* d*******
|
|
3916
|
+
*/
|
|
2080
3917
|
dataSourceId?: string;
|
|
3918
|
+
/**
|
|
3919
|
+
* @example
|
|
3920
|
+
* /mnt/data/
|
|
3921
|
+
*/
|
|
2081
3922
|
mountPath?: string;
|
|
3923
|
+
/**
|
|
3924
|
+
* @example
|
|
3925
|
+
* oss://bucket.oss-cn-hangzhou-internal.aliyuncs.com/path/
|
|
3926
|
+
*/
|
|
2082
3927
|
uri?: string;
|
|
2083
3928
|
static names(): {
|
|
2084
3929
|
[key: string]: string;
|
|
@@ -2091,15 +3936,55 @@ export declare class GetJobResponseBodyDataSources extends $tea.Model {
|
|
|
2091
3936
|
});
|
|
2092
3937
|
}
|
|
2093
3938
|
export declare class GetJobResponseBodyPodsHistoryPods extends $tea.Model {
|
|
3939
|
+
/**
|
|
3940
|
+
* @example
|
|
3941
|
+
* 2021-01-12T14:36:01Z
|
|
3942
|
+
*/
|
|
2094
3943
|
gmtCreateTime?: string;
|
|
3944
|
+
/**
|
|
3945
|
+
* @example
|
|
3946
|
+
* 2021-01-12T14:36:01Z
|
|
3947
|
+
*/
|
|
2095
3948
|
gmtFinishTime?: string;
|
|
3949
|
+
/**
|
|
3950
|
+
* @example
|
|
3951
|
+
* 2021-01-12T14:36:01Z
|
|
3952
|
+
*/
|
|
2096
3953
|
gmtStartTime?: string;
|
|
3954
|
+
/**
|
|
3955
|
+
* @example
|
|
3956
|
+
* 10.0.1.3
|
|
3957
|
+
*/
|
|
2097
3958
|
ip?: string;
|
|
3959
|
+
/**
|
|
3960
|
+
* @example
|
|
3961
|
+
* Worker
|
|
3962
|
+
*/
|
|
2098
3963
|
podId?: string;
|
|
3964
|
+
/**
|
|
3965
|
+
* @example
|
|
3966
|
+
* fe846462-af2c-4521-bd6f-96787a57591d
|
|
3967
|
+
*/
|
|
2099
3968
|
podUid?: string;
|
|
3969
|
+
/**
|
|
3970
|
+
* @example
|
|
3971
|
+
* Normal
|
|
3972
|
+
*/
|
|
2100
3973
|
resourceType?: string;
|
|
3974
|
+
/**
|
|
3975
|
+
* @example
|
|
3976
|
+
* Failed
|
|
3977
|
+
*/
|
|
2101
3978
|
status?: string;
|
|
3979
|
+
/**
|
|
3980
|
+
* @example
|
|
3981
|
+
* Normal
|
|
3982
|
+
*/
|
|
2102
3983
|
subStatus?: string;
|
|
3984
|
+
/**
|
|
3985
|
+
* @example
|
|
3986
|
+
* Worker
|
|
3987
|
+
*/
|
|
2103
3988
|
type?: string;
|
|
2104
3989
|
static names(): {
|
|
2105
3990
|
[key: string]: string;
|
|
@@ -2112,16 +3997,56 @@ export declare class GetJobResponseBodyPodsHistoryPods extends $tea.Model {
|
|
|
2112
3997
|
});
|
|
2113
3998
|
}
|
|
2114
3999
|
export declare class GetJobResponseBodyPods extends $tea.Model {
|
|
4000
|
+
/**
|
|
4001
|
+
* @example
|
|
4002
|
+
* 2021-01-12T14:36:01Z
|
|
4003
|
+
*/
|
|
2115
4004
|
gmtCreateTime?: string;
|
|
4005
|
+
/**
|
|
4006
|
+
* @example
|
|
4007
|
+
* 2021-01-12T15:36:05Z
|
|
4008
|
+
*/
|
|
2116
4009
|
gmtFinishTime?: string;
|
|
4010
|
+
/**
|
|
4011
|
+
* @example
|
|
4012
|
+
* 2021-01-12T14:36:01Z
|
|
4013
|
+
*/
|
|
2117
4014
|
gmtStartTime?: string;
|
|
2118
4015
|
historyPods?: GetJobResponseBodyPodsHistoryPods[];
|
|
4016
|
+
/**
|
|
4017
|
+
* @example
|
|
4018
|
+
* 10.0.1.2
|
|
4019
|
+
*/
|
|
2119
4020
|
ip?: string;
|
|
4021
|
+
/**
|
|
4022
|
+
* @example
|
|
4023
|
+
* Worker
|
|
4024
|
+
*/
|
|
2120
4025
|
podId?: string;
|
|
4026
|
+
/**
|
|
4027
|
+
* @example
|
|
4028
|
+
* fe846462-af2c-4521-bd6f-96787a57591d
|
|
4029
|
+
*/
|
|
2121
4030
|
podUid?: string;
|
|
4031
|
+
/**
|
|
4032
|
+
* @example
|
|
4033
|
+
* Normal
|
|
4034
|
+
*/
|
|
2122
4035
|
resourceType?: string;
|
|
4036
|
+
/**
|
|
4037
|
+
* @example
|
|
4038
|
+
* Running
|
|
4039
|
+
*/
|
|
2123
4040
|
status?: string;
|
|
4041
|
+
/**
|
|
4042
|
+
* @example
|
|
4043
|
+
* Normal
|
|
4044
|
+
*/
|
|
2124
4045
|
subStatus?: string;
|
|
4046
|
+
/**
|
|
4047
|
+
* @example
|
|
4048
|
+
* Worker
|
|
4049
|
+
*/
|
|
2125
4050
|
type?: string;
|
|
2126
4051
|
static names(): {
|
|
2127
4052
|
[key: string]: string;
|
|
@@ -2139,413 +4064,411 @@ export default class Client extends OpenApi {
|
|
|
2139
4064
|
[key: string]: string;
|
|
2140
4065
|
}, endpoint: string): string;
|
|
2141
4066
|
/**
|
|
2142
|
-
*
|
|
4067
|
+
* 创建一个DLC作业
|
|
2143
4068
|
*
|
|
2144
|
-
* @param request CreateJobRequest
|
|
2145
|
-
* @param headers map
|
|
2146
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
2147
|
-
* @
|
|
4069
|
+
* @param request - CreateJobRequest
|
|
4070
|
+
* @param headers - map
|
|
4071
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4072
|
+
* @returns CreateJobResponse
|
|
2148
4073
|
*/
|
|
2149
4074
|
createJobWithOptions(request: CreateJobRequest, headers: {
|
|
2150
4075
|
[key: string]: string;
|
|
2151
4076
|
}, runtime: $Util.RuntimeOptions): Promise<CreateJobResponse>;
|
|
2152
4077
|
/**
|
|
2153
|
-
*
|
|
4078
|
+
* 创建一个DLC作业
|
|
2154
4079
|
*
|
|
2155
|
-
* @param request CreateJobRequest
|
|
2156
|
-
* @
|
|
4080
|
+
* @param request - CreateJobRequest
|
|
4081
|
+
* @returns CreateJobResponse
|
|
2157
4082
|
*/
|
|
2158
4083
|
createJob(request: CreateJobRequest): Promise<CreateJobResponse>;
|
|
2159
4084
|
/**
|
|
2160
|
-
*
|
|
4085
|
+
* 创建一个Tensorboard
|
|
2161
4086
|
*
|
|
2162
|
-
* @param request CreateTensorboardRequest
|
|
2163
|
-
* @param headers map
|
|
2164
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
2165
|
-
* @
|
|
4087
|
+
* @param request - CreateTensorboardRequest
|
|
4088
|
+
* @param headers - map
|
|
4089
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4090
|
+
* @returns CreateTensorboardResponse
|
|
2166
4091
|
*/
|
|
2167
4092
|
createTensorboardWithOptions(request: CreateTensorboardRequest, headers: {
|
|
2168
4093
|
[key: string]: string;
|
|
2169
4094
|
}, runtime: $Util.RuntimeOptions): Promise<CreateTensorboardResponse>;
|
|
2170
4095
|
/**
|
|
2171
|
-
*
|
|
4096
|
+
* 创建一个Tensorboard
|
|
2172
4097
|
*
|
|
2173
|
-
* @param request CreateTensorboardRequest
|
|
2174
|
-
* @
|
|
4098
|
+
* @param request - CreateTensorboardRequest
|
|
4099
|
+
* @returns CreateTensorboardResponse
|
|
2175
4100
|
*/
|
|
2176
4101
|
createTensorboard(request: CreateTensorboardRequest): Promise<CreateTensorboardResponse>;
|
|
2177
4102
|
/**
|
|
2178
|
-
*
|
|
4103
|
+
* 删除一个DLC作业
|
|
2179
4104
|
*
|
|
2180
|
-
* @param headers map
|
|
2181
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
2182
|
-
* @
|
|
4105
|
+
* @param headers - map
|
|
4106
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4107
|
+
* @returns DeleteJobResponse
|
|
2183
4108
|
*/
|
|
2184
4109
|
deleteJobWithOptions(JobId: string, headers: {
|
|
2185
4110
|
[key: string]: string;
|
|
2186
4111
|
}, runtime: $Util.RuntimeOptions): Promise<DeleteJobResponse>;
|
|
2187
4112
|
/**
|
|
2188
|
-
*
|
|
2189
|
-
*
|
|
2190
|
-
* @return DeleteJobResponse
|
|
4113
|
+
* 删除一个DLC作业
|
|
4114
|
+
* @returns DeleteJobResponse
|
|
2191
4115
|
*/
|
|
2192
4116
|
deleteJob(JobId: string): Promise<DeleteJobResponse>;
|
|
2193
4117
|
/**
|
|
2194
|
-
*
|
|
4118
|
+
* 删除一个数据源配置
|
|
2195
4119
|
*
|
|
2196
|
-
* @param request DeleteTensorboardRequest
|
|
2197
|
-
* @param headers map
|
|
2198
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
2199
|
-
* @
|
|
4120
|
+
* @param request - DeleteTensorboardRequest
|
|
4121
|
+
* @param headers - map
|
|
4122
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4123
|
+
* @returns DeleteTensorboardResponse
|
|
2200
4124
|
*/
|
|
2201
4125
|
deleteTensorboardWithOptions(TensorboardId: string, request: DeleteTensorboardRequest, headers: {
|
|
2202
4126
|
[key: string]: string;
|
|
2203
4127
|
}, runtime: $Util.RuntimeOptions): Promise<DeleteTensorboardResponse>;
|
|
2204
4128
|
/**
|
|
2205
|
-
*
|
|
4129
|
+
* 删除一个数据源配置
|
|
2206
4130
|
*
|
|
2207
|
-
* @param request DeleteTensorboardRequest
|
|
2208
|
-
* @
|
|
4131
|
+
* @param request - DeleteTensorboardRequest
|
|
4132
|
+
* @returns DeleteTensorboardResponse
|
|
2209
4133
|
*/
|
|
2210
4134
|
deleteTensorboard(TensorboardId: string, request: DeleteTensorboardRequest): Promise<DeleteTensorboardResponse>;
|
|
2211
4135
|
/**
|
|
2212
|
-
*
|
|
4136
|
+
* 获取一个DLC作业详情
|
|
2213
4137
|
*
|
|
2214
|
-
* @param request GetJobRequest
|
|
2215
|
-
* @param headers map
|
|
2216
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
2217
|
-
* @
|
|
4138
|
+
* @param request - GetJobRequest
|
|
4139
|
+
* @param headers - map
|
|
4140
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4141
|
+
* @returns GetJobResponse
|
|
2218
4142
|
*/
|
|
2219
4143
|
getJobWithOptions(JobId: string, request: GetJobRequest, headers: {
|
|
2220
4144
|
[key: string]: string;
|
|
2221
4145
|
}, runtime: $Util.RuntimeOptions): Promise<GetJobResponse>;
|
|
2222
4146
|
/**
|
|
2223
|
-
*
|
|
4147
|
+
* 获取一个DLC作业详情
|
|
2224
4148
|
*
|
|
2225
|
-
* @param request GetJobRequest
|
|
2226
|
-
* @
|
|
4149
|
+
* @param request - GetJobRequest
|
|
4150
|
+
* @returns GetJobResponse
|
|
2227
4151
|
*/
|
|
2228
4152
|
getJob(JobId: string, request: GetJobRequest): Promise<GetJobResponse>;
|
|
2229
4153
|
/**
|
|
2230
|
-
*
|
|
4154
|
+
* 获取作业的事件
|
|
2231
4155
|
*
|
|
2232
|
-
* @param request GetJobEventsRequest
|
|
2233
|
-
* @param headers map
|
|
2234
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
2235
|
-
* @
|
|
4156
|
+
* @param request - GetJobEventsRequest
|
|
4157
|
+
* @param headers - map
|
|
4158
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4159
|
+
* @returns GetJobEventsResponse
|
|
2236
4160
|
*/
|
|
2237
4161
|
getJobEventsWithOptions(JobId: string, request: GetJobEventsRequest, headers: {
|
|
2238
4162
|
[key: string]: string;
|
|
2239
4163
|
}, runtime: $Util.RuntimeOptions): Promise<GetJobEventsResponse>;
|
|
2240
4164
|
/**
|
|
2241
|
-
*
|
|
4165
|
+
* 获取作业的事件
|
|
2242
4166
|
*
|
|
2243
|
-
* @param request GetJobEventsRequest
|
|
2244
|
-
* @
|
|
4167
|
+
* @param request - GetJobEventsRequest
|
|
4168
|
+
* @returns GetJobEventsResponse
|
|
2245
4169
|
*/
|
|
2246
4170
|
getJobEvents(JobId: string, request: GetJobEventsRequest): Promise<GetJobEventsResponse>;
|
|
2247
4171
|
/**
|
|
2248
|
-
*
|
|
4172
|
+
* 获取一个作业的资源监控指标
|
|
2249
4173
|
*
|
|
2250
|
-
* @param request GetJobMetricsRequest
|
|
2251
|
-
* @param headers map
|
|
2252
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
2253
|
-
* @
|
|
4174
|
+
* @param request - GetJobMetricsRequest
|
|
4175
|
+
* @param headers - map
|
|
4176
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4177
|
+
* @returns GetJobMetricsResponse
|
|
2254
4178
|
*/
|
|
2255
4179
|
getJobMetricsWithOptions(JobId: string, request: GetJobMetricsRequest, headers: {
|
|
2256
4180
|
[key: string]: string;
|
|
2257
4181
|
}, runtime: $Util.RuntimeOptions): Promise<GetJobMetricsResponse>;
|
|
2258
4182
|
/**
|
|
2259
|
-
*
|
|
4183
|
+
* 获取一个作业的资源监控指标
|
|
2260
4184
|
*
|
|
2261
|
-
* @param request GetJobMetricsRequest
|
|
2262
|
-
* @
|
|
4185
|
+
* @param request - GetJobMetricsRequest
|
|
4186
|
+
* @returns GetJobMetricsResponse
|
|
2263
4187
|
*/
|
|
2264
4188
|
getJobMetrics(JobId: string, request: GetJobMetricsRequest): Promise<GetJobMetricsResponse>;
|
|
2265
4189
|
/**
|
|
2266
|
-
*
|
|
4190
|
+
* 获取DLC作业某次算力健康检测结果
|
|
2267
4191
|
*
|
|
2268
|
-
* @param request GetJobSanityCheckResultRequest
|
|
2269
|
-
* @param headers map
|
|
2270
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
2271
|
-
* @
|
|
4192
|
+
* @param request - GetJobSanityCheckResultRequest
|
|
4193
|
+
* @param headers - map
|
|
4194
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4195
|
+
* @returns GetJobSanityCheckResultResponse
|
|
2272
4196
|
*/
|
|
2273
4197
|
getJobSanityCheckResultWithOptions(JobId: string, request: GetJobSanityCheckResultRequest, headers: {
|
|
2274
4198
|
[key: string]: string;
|
|
2275
4199
|
}, runtime: $Util.RuntimeOptions): Promise<GetJobSanityCheckResultResponse>;
|
|
2276
4200
|
/**
|
|
2277
|
-
*
|
|
4201
|
+
* 获取DLC作业某次算力健康检测结果
|
|
2278
4202
|
*
|
|
2279
|
-
* @param request GetJobSanityCheckResultRequest
|
|
2280
|
-
* @
|
|
4203
|
+
* @param request - GetJobSanityCheckResultRequest
|
|
4204
|
+
* @returns GetJobSanityCheckResultResponse
|
|
2281
4205
|
*/
|
|
2282
4206
|
getJobSanityCheckResult(JobId: string, request: GetJobSanityCheckResultRequest): Promise<GetJobSanityCheckResultResponse>;
|
|
2283
4207
|
/**
|
|
2284
|
-
*
|
|
4208
|
+
* 获取作业中一个运行实例的系统事件
|
|
2285
4209
|
*
|
|
2286
|
-
* @param request GetPodEventsRequest
|
|
2287
|
-
* @param headers map
|
|
2288
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
2289
|
-
* @
|
|
4210
|
+
* @param request - GetPodEventsRequest
|
|
4211
|
+
* @param headers - map
|
|
4212
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4213
|
+
* @returns GetPodEventsResponse
|
|
2290
4214
|
*/
|
|
2291
4215
|
getPodEventsWithOptions(JobId: string, PodId: string, request: GetPodEventsRequest, headers: {
|
|
2292
4216
|
[key: string]: string;
|
|
2293
4217
|
}, runtime: $Util.RuntimeOptions): Promise<GetPodEventsResponse>;
|
|
2294
4218
|
/**
|
|
2295
|
-
*
|
|
4219
|
+
* 获取作业中一个运行实例的系统事件
|
|
2296
4220
|
*
|
|
2297
|
-
* @param request GetPodEventsRequest
|
|
2298
|
-
* @
|
|
4221
|
+
* @param request - GetPodEventsRequest
|
|
4222
|
+
* @returns GetPodEventsResponse
|
|
2299
4223
|
*/
|
|
2300
4224
|
getPodEvents(JobId: string, PodId: string, request: GetPodEventsRequest): Promise<GetPodEventsResponse>;
|
|
2301
4225
|
/**
|
|
2302
|
-
*
|
|
4226
|
+
* 获取作业中一个运行实例的日志
|
|
2303
4227
|
*
|
|
2304
|
-
* @param request GetPodLogsRequest
|
|
2305
|
-
* @param headers map
|
|
2306
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
2307
|
-
* @
|
|
4228
|
+
* @param request - GetPodLogsRequest
|
|
4229
|
+
* @param headers - map
|
|
4230
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4231
|
+
* @returns GetPodLogsResponse
|
|
2308
4232
|
*/
|
|
2309
4233
|
getPodLogsWithOptions(JobId: string, PodId: string, request: GetPodLogsRequest, headers: {
|
|
2310
4234
|
[key: string]: string;
|
|
2311
4235
|
}, runtime: $Util.RuntimeOptions): Promise<GetPodLogsResponse>;
|
|
2312
4236
|
/**
|
|
2313
|
-
*
|
|
4237
|
+
* 获取作业中一个运行实例的日志
|
|
2314
4238
|
*
|
|
2315
|
-
* @param request GetPodLogsRequest
|
|
2316
|
-
* @
|
|
4239
|
+
* @param request - GetPodLogsRequest
|
|
4240
|
+
* @returns GetPodLogsResponse
|
|
2317
4241
|
*/
|
|
2318
4242
|
getPodLogs(JobId: string, PodId: string, request: GetPodLogsRequest): Promise<GetPodLogsResponse>;
|
|
2319
4243
|
/**
|
|
2320
|
-
*
|
|
4244
|
+
* 获取一个Tensorboard
|
|
2321
4245
|
*
|
|
2322
|
-
* @param request GetTensorboardRequest
|
|
2323
|
-
* @param headers map
|
|
2324
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
2325
|
-
* @
|
|
4246
|
+
* @param request - GetTensorboardRequest
|
|
4247
|
+
* @param headers - map
|
|
4248
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4249
|
+
* @returns GetTensorboardResponse
|
|
2326
4250
|
*/
|
|
2327
4251
|
getTensorboardWithOptions(TensorboardId: string, request: GetTensorboardRequest, headers: {
|
|
2328
4252
|
[key: string]: string;
|
|
2329
4253
|
}, runtime: $Util.RuntimeOptions): Promise<GetTensorboardResponse>;
|
|
2330
4254
|
/**
|
|
2331
|
-
*
|
|
4255
|
+
* 获取一个Tensorboard
|
|
2332
4256
|
*
|
|
2333
|
-
* @param request GetTensorboardRequest
|
|
2334
|
-
* @
|
|
4257
|
+
* @param request - GetTensorboardRequest
|
|
4258
|
+
* @returns GetTensorboardResponse
|
|
2335
4259
|
*/
|
|
2336
4260
|
getTensorboard(TensorboardId: string, request: GetTensorboardRequest): Promise<GetTensorboardResponse>;
|
|
2337
4261
|
/**
|
|
2338
|
-
*
|
|
4262
|
+
* Get the shared url for tensorboard
|
|
2339
4263
|
*
|
|
2340
|
-
* @param request GetTensorboardSharedUrlRequest
|
|
2341
|
-
* @param headers map
|
|
2342
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
2343
|
-
* @
|
|
4264
|
+
* @param request - GetTensorboardSharedUrlRequest
|
|
4265
|
+
* @param headers - map
|
|
4266
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4267
|
+
* @returns GetTensorboardSharedUrlResponse
|
|
2344
4268
|
*/
|
|
2345
4269
|
getTensorboardSharedUrlWithOptions(TensorboardId: string, request: GetTensorboardSharedUrlRequest, headers: {
|
|
2346
4270
|
[key: string]: string;
|
|
2347
4271
|
}, runtime: $Util.RuntimeOptions): Promise<GetTensorboardSharedUrlResponse>;
|
|
2348
4272
|
/**
|
|
2349
|
-
*
|
|
4273
|
+
* Get the shared url for tensorboard
|
|
2350
4274
|
*
|
|
2351
|
-
* @param request GetTensorboardSharedUrlRequest
|
|
2352
|
-
* @
|
|
4275
|
+
* @param request - GetTensorboardSharedUrlRequest
|
|
4276
|
+
* @returns GetTensorboardSharedUrlResponse
|
|
2353
4277
|
*/
|
|
2354
4278
|
getTensorboardSharedUrl(TensorboardId: string, request: GetTensorboardSharedUrlRequest): Promise<GetTensorboardSharedUrlResponse>;
|
|
2355
4279
|
/**
|
|
2356
|
-
*
|
|
4280
|
+
* 获取用户Token
|
|
2357
4281
|
*
|
|
2358
|
-
* @param request GetTokenRequest
|
|
2359
|
-
* @param headers map
|
|
2360
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
2361
|
-
* @
|
|
4282
|
+
* @param request - GetTokenRequest
|
|
4283
|
+
* @param headers - map
|
|
4284
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4285
|
+
* @returns GetTokenResponse
|
|
2362
4286
|
*/
|
|
2363
4287
|
getTokenWithOptions(request: GetTokenRequest, headers: {
|
|
2364
4288
|
[key: string]: string;
|
|
2365
4289
|
}, runtime: $Util.RuntimeOptions): Promise<GetTokenResponse>;
|
|
2366
4290
|
/**
|
|
2367
|
-
*
|
|
4291
|
+
* 获取用户Token
|
|
2368
4292
|
*
|
|
2369
|
-
* @param request GetTokenRequest
|
|
2370
|
-
* @
|
|
4293
|
+
* @param request - GetTokenRequest
|
|
4294
|
+
* @returns GetTokenResponse
|
|
2371
4295
|
*/
|
|
2372
4296
|
getToken(request: GetTokenRequest): Promise<GetTokenResponse>;
|
|
2373
4297
|
/**
|
|
2374
|
-
*
|
|
4298
|
+
* Get the url for accessing pod's terminal in k8s
|
|
2375
4299
|
*
|
|
2376
|
-
* @param request GetWebTerminalRequest
|
|
2377
|
-
* @param headers map
|
|
2378
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
2379
|
-
* @
|
|
4300
|
+
* @param request - GetWebTerminalRequest
|
|
4301
|
+
* @param headers - map
|
|
4302
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4303
|
+
* @returns GetWebTerminalResponse
|
|
2380
4304
|
*/
|
|
2381
4305
|
getWebTerminalWithOptions(JobId: string, PodId: string, request: GetWebTerminalRequest, headers: {
|
|
2382
4306
|
[key: string]: string;
|
|
2383
4307
|
}, runtime: $Util.RuntimeOptions): Promise<GetWebTerminalResponse>;
|
|
2384
4308
|
/**
|
|
2385
|
-
*
|
|
4309
|
+
* Get the url for accessing pod's terminal in k8s
|
|
2386
4310
|
*
|
|
2387
|
-
* @param request GetWebTerminalRequest
|
|
2388
|
-
* @
|
|
4311
|
+
* @param request - GetWebTerminalRequest
|
|
4312
|
+
* @returns GetWebTerminalResponse
|
|
2389
4313
|
*/
|
|
2390
4314
|
getWebTerminal(JobId: string, PodId: string, request: GetWebTerminalRequest): Promise<GetWebTerminalResponse>;
|
|
2391
4315
|
/**
|
|
2392
|
-
*
|
|
4316
|
+
* ListEcsSpecs
|
|
2393
4317
|
*
|
|
2394
|
-
* @param request ListEcsSpecsRequest
|
|
2395
|
-
* @param headers map
|
|
2396
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
2397
|
-
* @
|
|
4318
|
+
* @param request - ListEcsSpecsRequest
|
|
4319
|
+
* @param headers - map
|
|
4320
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4321
|
+
* @returns ListEcsSpecsResponse
|
|
2398
4322
|
*/
|
|
2399
4323
|
listEcsSpecsWithOptions(request: ListEcsSpecsRequest, headers: {
|
|
2400
4324
|
[key: string]: string;
|
|
2401
4325
|
}, runtime: $Util.RuntimeOptions): Promise<ListEcsSpecsResponse>;
|
|
2402
4326
|
/**
|
|
2403
|
-
*
|
|
4327
|
+
* ListEcsSpecs
|
|
2404
4328
|
*
|
|
2405
|
-
* @param request ListEcsSpecsRequest
|
|
2406
|
-
* @
|
|
4329
|
+
* @param request - ListEcsSpecsRequest
|
|
4330
|
+
* @returns ListEcsSpecsResponse
|
|
2407
4331
|
*/
|
|
2408
4332
|
listEcsSpecs(request: ListEcsSpecsRequest): Promise<ListEcsSpecsResponse>;
|
|
2409
4333
|
/**
|
|
2410
|
-
*
|
|
4334
|
+
* 获取某个DLC作业的多次算力健康检测结果
|
|
2411
4335
|
*
|
|
2412
|
-
* @param request ListJobSanityCheckResultsRequest
|
|
2413
|
-
* @param headers map
|
|
2414
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
2415
|
-
* @
|
|
4336
|
+
* @param request - ListJobSanityCheckResultsRequest
|
|
4337
|
+
* @param headers - map
|
|
4338
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4339
|
+
* @returns ListJobSanityCheckResultsResponse
|
|
2416
4340
|
*/
|
|
2417
4341
|
listJobSanityCheckResultsWithOptions(JobId: string, request: ListJobSanityCheckResultsRequest, headers: {
|
|
2418
4342
|
[key: string]: string;
|
|
2419
4343
|
}, runtime: $Util.RuntimeOptions): Promise<ListJobSanityCheckResultsResponse>;
|
|
2420
4344
|
/**
|
|
2421
|
-
*
|
|
4345
|
+
* 获取某个DLC作业的多次算力健康检测结果
|
|
2422
4346
|
*
|
|
2423
|
-
* @param request ListJobSanityCheckResultsRequest
|
|
2424
|
-
* @
|
|
4347
|
+
* @param request - ListJobSanityCheckResultsRequest
|
|
4348
|
+
* @returns ListJobSanityCheckResultsResponse
|
|
2425
4349
|
*/
|
|
2426
4350
|
listJobSanityCheckResults(JobId: string, request: ListJobSanityCheckResultsRequest): Promise<ListJobSanityCheckResultsResponse>;
|
|
2427
4351
|
/**
|
|
2428
|
-
*
|
|
4352
|
+
* 根据过滤条件获取DLC作业列表
|
|
2429
4353
|
*
|
|
2430
|
-
* @param tmpReq ListJobsRequest
|
|
2431
|
-
* @param headers map
|
|
2432
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
2433
|
-
* @
|
|
4354
|
+
* @param tmpReq - ListJobsRequest
|
|
4355
|
+
* @param headers - map
|
|
4356
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4357
|
+
* @returns ListJobsResponse
|
|
2434
4358
|
*/
|
|
2435
4359
|
listJobsWithOptions(tmpReq: ListJobsRequest, headers: {
|
|
2436
4360
|
[key: string]: string;
|
|
2437
4361
|
}, runtime: $Util.RuntimeOptions): Promise<ListJobsResponse>;
|
|
2438
4362
|
/**
|
|
2439
|
-
*
|
|
4363
|
+
* 根据过滤条件获取DLC作业列表
|
|
2440
4364
|
*
|
|
2441
|
-
* @param request ListJobsRequest
|
|
2442
|
-
* @
|
|
4365
|
+
* @param request - ListJobsRequest
|
|
4366
|
+
* @returns ListJobsResponse
|
|
2443
4367
|
*/
|
|
2444
4368
|
listJobs(request: ListJobsRequest): Promise<ListJobsResponse>;
|
|
2445
4369
|
/**
|
|
2446
|
-
*
|
|
4370
|
+
* 获取Tensorboard
|
|
2447
4371
|
*
|
|
2448
|
-
* @param request ListTensorboardsRequest
|
|
2449
|
-
* @param headers map
|
|
2450
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
2451
|
-
* @
|
|
4372
|
+
* @param request - ListTensorboardsRequest
|
|
4373
|
+
* @param headers - map
|
|
4374
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4375
|
+
* @returns ListTensorboardsResponse
|
|
2452
4376
|
*/
|
|
2453
4377
|
listTensorboardsWithOptions(request: ListTensorboardsRequest, headers: {
|
|
2454
4378
|
[key: string]: string;
|
|
2455
4379
|
}, runtime: $Util.RuntimeOptions): Promise<ListTensorboardsResponse>;
|
|
2456
4380
|
/**
|
|
2457
|
-
*
|
|
4381
|
+
* 获取Tensorboard
|
|
2458
4382
|
*
|
|
2459
|
-
* @param request ListTensorboardsRequest
|
|
2460
|
-
* @
|
|
4383
|
+
* @param request - ListTensorboardsRequest
|
|
4384
|
+
* @returns ListTensorboardsResponse
|
|
2461
4385
|
*/
|
|
2462
4386
|
listTensorboards(request: ListTensorboardsRequest): Promise<ListTensorboardsResponse>;
|
|
2463
4387
|
/**
|
|
2464
|
-
*
|
|
4388
|
+
* 开始运行tensorboard
|
|
2465
4389
|
*
|
|
2466
|
-
* @param request StartTensorboardRequest
|
|
2467
|
-
* @param headers map
|
|
2468
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
2469
|
-
* @
|
|
4390
|
+
* @param request - StartTensorboardRequest
|
|
4391
|
+
* @param headers - map
|
|
4392
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4393
|
+
* @returns StartTensorboardResponse
|
|
2470
4394
|
*/
|
|
2471
4395
|
startTensorboardWithOptions(TensorboardId: string, request: StartTensorboardRequest, headers: {
|
|
2472
4396
|
[key: string]: string;
|
|
2473
4397
|
}, runtime: $Util.RuntimeOptions): Promise<StartTensorboardResponse>;
|
|
2474
4398
|
/**
|
|
2475
|
-
*
|
|
4399
|
+
* 开始运行tensorboard
|
|
2476
4400
|
*
|
|
2477
|
-
* @param request StartTensorboardRequest
|
|
2478
|
-
* @
|
|
4401
|
+
* @param request - StartTensorboardRequest
|
|
4402
|
+
* @returns StartTensorboardResponse
|
|
2479
4403
|
*/
|
|
2480
4404
|
startTensorboard(TensorboardId: string, request: StartTensorboardRequest): Promise<StartTensorboardResponse>;
|
|
2481
4405
|
/**
|
|
2482
|
-
*
|
|
4406
|
+
* 停止一个DLC作业
|
|
2483
4407
|
*
|
|
2484
|
-
* @param headers map
|
|
2485
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
2486
|
-
* @
|
|
4408
|
+
* @param headers - map
|
|
4409
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4410
|
+
* @returns StopJobResponse
|
|
2487
4411
|
*/
|
|
2488
4412
|
stopJobWithOptions(JobId: string, headers: {
|
|
2489
4413
|
[key: string]: string;
|
|
2490
4414
|
}, runtime: $Util.RuntimeOptions): Promise<StopJobResponse>;
|
|
2491
4415
|
/**
|
|
2492
|
-
*
|
|
2493
|
-
*
|
|
2494
|
-
* @return StopJobResponse
|
|
4416
|
+
* 停止一个DLC作业
|
|
4417
|
+
* @returns StopJobResponse
|
|
2495
4418
|
*/
|
|
2496
4419
|
stopJob(JobId: string): Promise<StopJobResponse>;
|
|
2497
4420
|
/**
|
|
2498
|
-
*
|
|
4421
|
+
* 停止运行tensorboard
|
|
2499
4422
|
*
|
|
2500
|
-
* @param request StopTensorboardRequest
|
|
2501
|
-
* @param headers map
|
|
2502
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
2503
|
-
* @
|
|
4423
|
+
* @param request - StopTensorboardRequest
|
|
4424
|
+
* @param headers - map
|
|
4425
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4426
|
+
* @returns StopTensorboardResponse
|
|
2504
4427
|
*/
|
|
2505
4428
|
stopTensorboardWithOptions(TensorboardId: string, request: StopTensorboardRequest, headers: {
|
|
2506
4429
|
[key: string]: string;
|
|
2507
4430
|
}, runtime: $Util.RuntimeOptions): Promise<StopTensorboardResponse>;
|
|
2508
4431
|
/**
|
|
2509
|
-
*
|
|
4432
|
+
* 停止运行tensorboard
|
|
2510
4433
|
*
|
|
2511
|
-
* @param request StopTensorboardRequest
|
|
2512
|
-
* @
|
|
4434
|
+
* @param request - StopTensorboardRequest
|
|
4435
|
+
* @returns StopTensorboardResponse
|
|
2513
4436
|
*/
|
|
2514
4437
|
stopTensorboard(TensorboardId: string, request: StopTensorboardRequest): Promise<StopTensorboardResponse>;
|
|
2515
4438
|
/**
|
|
2516
|
-
*
|
|
4439
|
+
* 更新一个Job
|
|
2517
4440
|
*
|
|
2518
|
-
* @param request UpdateJobRequest
|
|
2519
|
-
* @param headers map
|
|
2520
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
2521
|
-
* @
|
|
4441
|
+
* @param request - UpdateJobRequest
|
|
4442
|
+
* @param headers - map
|
|
4443
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4444
|
+
* @returns UpdateJobResponse
|
|
2522
4445
|
*/
|
|
2523
4446
|
updateJobWithOptions(JobId: string, request: UpdateJobRequest, headers: {
|
|
2524
4447
|
[key: string]: string;
|
|
2525
4448
|
}, runtime: $Util.RuntimeOptions): Promise<UpdateJobResponse>;
|
|
2526
4449
|
/**
|
|
2527
|
-
*
|
|
4450
|
+
* 更新一个Job
|
|
2528
4451
|
*
|
|
2529
|
-
* @param request UpdateJobRequest
|
|
2530
|
-
* @
|
|
4452
|
+
* @param request - UpdateJobRequest
|
|
4453
|
+
* @returns UpdateJobResponse
|
|
2531
4454
|
*/
|
|
2532
4455
|
updateJob(JobId: string, request: UpdateJobRequest): Promise<UpdateJobResponse>;
|
|
2533
4456
|
/**
|
|
2534
|
-
*
|
|
4457
|
+
* 更新tensorboard
|
|
2535
4458
|
*
|
|
2536
|
-
* @param request UpdateTensorboardRequest
|
|
2537
|
-
* @param headers map
|
|
2538
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
2539
|
-
* @
|
|
4459
|
+
* @param request - UpdateTensorboardRequest
|
|
4460
|
+
* @param headers - map
|
|
4461
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4462
|
+
* @returns UpdateTensorboardResponse
|
|
2540
4463
|
*/
|
|
2541
4464
|
updateTensorboardWithOptions(TensorboardId: string, request: UpdateTensorboardRequest, headers: {
|
|
2542
4465
|
[key: string]: string;
|
|
2543
4466
|
}, runtime: $Util.RuntimeOptions): Promise<UpdateTensorboardResponse>;
|
|
2544
4467
|
/**
|
|
2545
|
-
*
|
|
4468
|
+
* 更新tensorboard
|
|
2546
4469
|
*
|
|
2547
|
-
* @param request UpdateTensorboardRequest
|
|
2548
|
-
* @
|
|
4470
|
+
* @param request - UpdateTensorboardRequest
|
|
4471
|
+
* @returns UpdateTensorboardResponse
|
|
2549
4472
|
*/
|
|
2550
4473
|
updateTensorboard(TensorboardId: string, request: UpdateTensorboardRequest): Promise<UpdateTensorboardResponse>;
|
|
2551
4474
|
}
|