@alicloud/pai-dlc20201203 1.4.9 → 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 +2100 -183
- package/dist/client.js +269 -186
- package/dist/client.js.map +1 -1
- package/package.json +3 -3
- package/src/client.ts +2186 -228
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,26 +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;
|
|
821
1642
|
priority?: string;
|
|
822
1643
|
quotaId?: string;
|
|
823
1644
|
quotaName?: string;
|
|
1645
|
+
/**
|
|
1646
|
+
* @example
|
|
1647
|
+
* Delete by user
|
|
1648
|
+
*/
|
|
824
1649
|
reasonCode?: string;
|
|
1650
|
+
/**
|
|
1651
|
+
* @example
|
|
1652
|
+
* Tensorboard is deleted
|
|
1653
|
+
*/
|
|
825
1654
|
reasonMessage?: string;
|
|
1655
|
+
/**
|
|
1656
|
+
* @example
|
|
1657
|
+
* 473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E
|
|
1658
|
+
*/
|
|
826
1659
|
requestId?: string;
|
|
1660
|
+
/**
|
|
1661
|
+
* @example
|
|
1662
|
+
* running
|
|
1663
|
+
*/
|
|
827
1664
|
status?: string;
|
|
1665
|
+
/**
|
|
1666
|
+
* @example
|
|
1667
|
+
* /root/data
|
|
1668
|
+
*/
|
|
828
1669
|
summaryPath?: string;
|
|
829
1670
|
tensorboardDataSources?: TensorboardDataSourceSpec[];
|
|
1671
|
+
/**
|
|
1672
|
+
* @example
|
|
1673
|
+
* tensorboard-xxx
|
|
1674
|
+
*/
|
|
830
1675
|
tensorboardId?: string;
|
|
831
1676
|
tensorboardSpec?: TensorboardSpec;
|
|
1677
|
+
/**
|
|
1678
|
+
* @example
|
|
1679
|
+
* http://xxxxxx
|
|
1680
|
+
*/
|
|
832
1681
|
tensorboardUrl?: string;
|
|
1682
|
+
/**
|
|
1683
|
+
* @example
|
|
1684
|
+
* lycxxxxx
|
|
1685
|
+
*/
|
|
833
1686
|
userId?: string;
|
|
1687
|
+
/**
|
|
1688
|
+
* @example
|
|
1689
|
+
* tensorboard.pai
|
|
1690
|
+
*/
|
|
834
1691
|
username?: string;
|
|
835
1692
|
static names(): {
|
|
836
1693
|
[key: string]: string;
|
|
@@ -843,13 +1700,45 @@ export declare class Tensorboard extends $tea.Model {
|
|
|
843
1700
|
});
|
|
844
1701
|
}
|
|
845
1702
|
export declare class TensorboardDataSourceSpec extends $tea.Model {
|
|
1703
|
+
/**
|
|
1704
|
+
* @example
|
|
1705
|
+
* OSS
|
|
1706
|
+
*/
|
|
846
1707
|
dataSourceType?: string;
|
|
1708
|
+
/**
|
|
1709
|
+
* @example
|
|
1710
|
+
* dlcJobName
|
|
1711
|
+
*/
|
|
847
1712
|
directoryName?: string;
|
|
1713
|
+
/**
|
|
1714
|
+
* @example
|
|
1715
|
+
* oss://xxxxx/tensorboard/run1
|
|
1716
|
+
*/
|
|
848
1717
|
fullSummaryPath?: string;
|
|
1718
|
+
/**
|
|
1719
|
+
* @example
|
|
1720
|
+
* d-vf2fdhxxxxxx
|
|
1721
|
+
*/
|
|
849
1722
|
id?: string;
|
|
1723
|
+
/**
|
|
1724
|
+
* @example
|
|
1725
|
+
* dlcJobName
|
|
1726
|
+
*/
|
|
850
1727
|
name?: string;
|
|
1728
|
+
/**
|
|
1729
|
+
* @example
|
|
1730
|
+
* datasource
|
|
1731
|
+
*/
|
|
851
1732
|
sourceType?: string;
|
|
1733
|
+
/**
|
|
1734
|
+
* @example
|
|
1735
|
+
* /tensorboard/run1
|
|
1736
|
+
*/
|
|
852
1737
|
summaryPath?: string;
|
|
1738
|
+
/**
|
|
1739
|
+
* @example
|
|
1740
|
+
* oss://.oss-cn-shanghai-finance-1.aliyuncs.com/
|
|
1741
|
+
*/
|
|
853
1742
|
uri?: string;
|
|
854
1743
|
static names(): {
|
|
855
1744
|
[key: string]: string;
|
|
@@ -862,9 +1751,25 @@ export declare class TensorboardDataSourceSpec extends $tea.Model {
|
|
|
862
1751
|
});
|
|
863
1752
|
}
|
|
864
1753
|
export declare class TensorboardSpec extends $tea.Model {
|
|
1754
|
+
/**
|
|
1755
|
+
* @example
|
|
1756
|
+
* ecs.g6.large
|
|
1757
|
+
*/
|
|
865
1758
|
ecsType?: string;
|
|
1759
|
+
/**
|
|
1760
|
+
* @example
|
|
1761
|
+
* sg-xxxxx
|
|
1762
|
+
*/
|
|
866
1763
|
securityGroupId?: string;
|
|
1764
|
+
/**
|
|
1765
|
+
* @example
|
|
1766
|
+
* vsw-xxxx
|
|
1767
|
+
*/
|
|
867
1768
|
switchId?: string;
|
|
1769
|
+
/**
|
|
1770
|
+
* @example
|
|
1771
|
+
* vpc-xxxx
|
|
1772
|
+
*/
|
|
868
1773
|
vpcId?: string;
|
|
869
1774
|
static names(): {
|
|
870
1775
|
[key: string]: string;
|
|
@@ -877,14 +1782,34 @@ export declare class TensorboardSpec extends $tea.Model {
|
|
|
877
1782
|
});
|
|
878
1783
|
}
|
|
879
1784
|
export declare class Workspace extends $tea.Model {
|
|
1785
|
+
/**
|
|
1786
|
+
* @example
|
|
1787
|
+
* ken
|
|
1788
|
+
*/
|
|
880
1789
|
creator?: string;
|
|
1790
|
+
/**
|
|
1791
|
+
* @example
|
|
1792
|
+
* 2021-01-12T14:36:01Z
|
|
1793
|
+
*/
|
|
881
1794
|
gmtCreateTime?: string;
|
|
1795
|
+
/**
|
|
1796
|
+
* @example
|
|
1797
|
+
* 2021-01-12T14:36:01Z
|
|
1798
|
+
*/
|
|
882
1799
|
gmtModifyTime?: string;
|
|
883
1800
|
members?: Member[];
|
|
884
1801
|
quotas?: Quota[];
|
|
885
1802
|
totalResources?: Resources;
|
|
886
1803
|
workspaceAdmins?: Member[];
|
|
1804
|
+
/**
|
|
1805
|
+
* @example
|
|
1806
|
+
* ws-20210126170216-mtl37ge7gkvdz
|
|
1807
|
+
*/
|
|
887
1808
|
workspaceId?: string;
|
|
1809
|
+
/**
|
|
1810
|
+
* @example
|
|
1811
|
+
* dlc-workspace
|
|
1812
|
+
*/
|
|
888
1813
|
workspaceName?: string;
|
|
889
1814
|
static names(): {
|
|
890
1815
|
[key: string]: string;
|
|
@@ -900,24 +1825,81 @@ export declare class CreateJobRequest extends $tea.Model {
|
|
|
900
1825
|
codeSource?: CreateJobRequestCodeSource;
|
|
901
1826
|
credentialConfig?: CredentialConfig;
|
|
902
1827
|
dataSources?: CreateJobRequestDataSources[];
|
|
1828
|
+
/**
|
|
1829
|
+
* @example
|
|
1830
|
+
* “”
|
|
1831
|
+
*/
|
|
903
1832
|
debuggerConfigContent?: string;
|
|
1833
|
+
/**
|
|
1834
|
+
* @remarks
|
|
1835
|
+
* This parameter is required.
|
|
1836
|
+
*
|
|
1837
|
+
* @example
|
|
1838
|
+
* tf-mnist-test
|
|
1839
|
+
*/
|
|
904
1840
|
displayName?: string;
|
|
905
1841
|
elasticSpec?: JobElasticSpec;
|
|
906
1842
|
envs?: {
|
|
907
1843
|
[key: string]: string;
|
|
908
1844
|
};
|
|
1845
|
+
/**
|
|
1846
|
+
* @example
|
|
1847
|
+
* 1024
|
|
1848
|
+
*/
|
|
909
1849
|
jobMaxRunningTimeMinutes?: number;
|
|
1850
|
+
/**
|
|
1851
|
+
* @remarks
|
|
1852
|
+
* This parameter is required.
|
|
1853
|
+
*/
|
|
910
1854
|
jobSpecs?: JobSpec[];
|
|
1855
|
+
/**
|
|
1856
|
+
* @remarks
|
|
1857
|
+
* This parameter is required.
|
|
1858
|
+
*
|
|
1859
|
+
* @example
|
|
1860
|
+
* TFJob
|
|
1861
|
+
*/
|
|
911
1862
|
jobType?: string;
|
|
1863
|
+
/**
|
|
1864
|
+
* @example
|
|
1865
|
+
* key1=value1,key2=value2
|
|
1866
|
+
*/
|
|
912
1867
|
options?: string;
|
|
1868
|
+
/**
|
|
1869
|
+
* @example
|
|
1870
|
+
* 8
|
|
1871
|
+
*/
|
|
913
1872
|
priority?: number;
|
|
1873
|
+
/**
|
|
1874
|
+
* @example
|
|
1875
|
+
* rs-xxx
|
|
1876
|
+
*/
|
|
914
1877
|
resourceId?: string;
|
|
915
1878
|
settings?: JobSettings;
|
|
1879
|
+
/**
|
|
1880
|
+
* @example
|
|
1881
|
+
* AllWorkers
|
|
1882
|
+
*/
|
|
916
1883
|
successPolicy?: string;
|
|
1884
|
+
/**
|
|
1885
|
+
* @example
|
|
1886
|
+
* /root/code/
|
|
1887
|
+
*/
|
|
917
1888
|
thirdpartyLibDir?: string;
|
|
918
1889
|
thirdpartyLibs?: string[];
|
|
1890
|
+
/**
|
|
1891
|
+
* @remarks
|
|
1892
|
+
* This parameter is required.
|
|
1893
|
+
*
|
|
1894
|
+
* @example
|
|
1895
|
+
* python /root/code/mnist.py
|
|
1896
|
+
*/
|
|
919
1897
|
userCommand?: string;
|
|
920
1898
|
userVpc?: CreateJobRequestUserVpc;
|
|
1899
|
+
/**
|
|
1900
|
+
* @example
|
|
1901
|
+
* ws-20210126170216-xxxxxxx
|
|
1902
|
+
*/
|
|
921
1903
|
workspaceId?: string;
|
|
922
1904
|
static names(): {
|
|
923
1905
|
[key: string]: string;
|
|
@@ -930,7 +1912,15 @@ export declare class CreateJobRequest extends $tea.Model {
|
|
|
930
1912
|
});
|
|
931
1913
|
}
|
|
932
1914
|
export declare class CreateJobResponseBody extends $tea.Model {
|
|
1915
|
+
/**
|
|
1916
|
+
* @example
|
|
1917
|
+
* dlc7*******
|
|
1918
|
+
*/
|
|
933
1919
|
jobId?: string;
|
|
1920
|
+
/**
|
|
1921
|
+
* @example
|
|
1922
|
+
* 473469C7-AA6F-4DC5-B3DB-xxxxxxx
|
|
1923
|
+
*/
|
|
934
1924
|
requestId?: string;
|
|
935
1925
|
static names(): {
|
|
936
1926
|
[key: string]: string;
|
|
@@ -959,24 +1949,76 @@ export declare class CreateJobResponse extends $tea.Model {
|
|
|
959
1949
|
});
|
|
960
1950
|
}
|
|
961
1951
|
export declare class CreateTensorboardRequest extends $tea.Model {
|
|
1952
|
+
/**
|
|
1953
|
+
* @example
|
|
1954
|
+
* 1
|
|
1955
|
+
*/
|
|
962
1956
|
cpu?: number;
|
|
1957
|
+
/**
|
|
1958
|
+
* @example
|
|
1959
|
+
* d-xxxxxxxx
|
|
1960
|
+
*/
|
|
963
1961
|
dataSourceId?: string;
|
|
964
1962
|
dataSourceType?: string;
|
|
965
1963
|
dataSources?: DataSourceItem[];
|
|
1964
|
+
/**
|
|
1965
|
+
* @example
|
|
1966
|
+
* tensorboard
|
|
1967
|
+
*/
|
|
966
1968
|
displayName?: string;
|
|
1969
|
+
/**
|
|
1970
|
+
* @example
|
|
1971
|
+
* dlc-20210126170216-mtl37ge7gkvdz
|
|
1972
|
+
*/
|
|
967
1973
|
jobId?: string;
|
|
1974
|
+
/**
|
|
1975
|
+
* @example
|
|
1976
|
+
* 240
|
|
1977
|
+
*/
|
|
968
1978
|
maxRunningTimeMinutes?: number;
|
|
1979
|
+
/**
|
|
1980
|
+
* @example
|
|
1981
|
+
* 1000
|
|
1982
|
+
*/
|
|
969
1983
|
memory?: number;
|
|
1984
|
+
/**
|
|
1985
|
+
* @example
|
|
1986
|
+
* {"mountpath":"/root/data/"}
|
|
1987
|
+
*/
|
|
970
1988
|
options?: string;
|
|
971
1989
|
priority?: string;
|
|
972
1990
|
quotaId?: string;
|
|
1991
|
+
/**
|
|
1992
|
+
* @example
|
|
1993
|
+
* dlc-xxxxxx
|
|
1994
|
+
*/
|
|
973
1995
|
sourceId?: string;
|
|
1996
|
+
/**
|
|
1997
|
+
* @example
|
|
1998
|
+
* job
|
|
1999
|
+
*/
|
|
974
2000
|
sourceType?: string;
|
|
2001
|
+
/**
|
|
2002
|
+
* @example
|
|
2003
|
+
* /root/data/
|
|
2004
|
+
*/
|
|
975
2005
|
summaryPath?: string;
|
|
2006
|
+
/**
|
|
2007
|
+
* @example
|
|
2008
|
+
* /summary/
|
|
2009
|
+
*/
|
|
976
2010
|
summaryRelativePath?: string;
|
|
977
2011
|
tensorboardDataSources?: TensorboardDataSourceSpec[];
|
|
978
2012
|
tensorboardSpec?: TensorboardSpec;
|
|
2013
|
+
/**
|
|
2014
|
+
* @example
|
|
2015
|
+
* oss://.oss-cn-shanghai-finance-1.aliyuncs.com/
|
|
2016
|
+
*/
|
|
979
2017
|
uri?: string;
|
|
2018
|
+
/**
|
|
2019
|
+
* @example
|
|
2020
|
+
* 123***
|
|
2021
|
+
*/
|
|
980
2022
|
workspaceId?: string;
|
|
981
2023
|
static names(): {
|
|
982
2024
|
[key: string]: string;
|
|
@@ -989,9 +2031,25 @@ export declare class CreateTensorboardRequest extends $tea.Model {
|
|
|
989
2031
|
});
|
|
990
2032
|
}
|
|
991
2033
|
export declare class CreateTensorboardResponseBody extends $tea.Model {
|
|
2034
|
+
/**
|
|
2035
|
+
* @example
|
|
2036
|
+
* ds-20210126170216-xxxxxxxx
|
|
2037
|
+
*/
|
|
992
2038
|
dataSourceId?: string;
|
|
2039
|
+
/**
|
|
2040
|
+
* @example
|
|
2041
|
+
* dlc-20210126170216-xxxxxxxx
|
|
2042
|
+
*/
|
|
993
2043
|
jobId?: string;
|
|
2044
|
+
/**
|
|
2045
|
+
* @example
|
|
2046
|
+
* 473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E
|
|
2047
|
+
*/
|
|
994
2048
|
requestId?: string;
|
|
2049
|
+
/**
|
|
2050
|
+
* @example
|
|
2051
|
+
* tbxxxxxxxx
|
|
2052
|
+
*/
|
|
995
2053
|
tensorboardId?: string;
|
|
996
2054
|
static names(): {
|
|
997
2055
|
[key: string]: string;
|
|
@@ -1020,7 +2078,15 @@ export declare class CreateTensorboardResponse extends $tea.Model {
|
|
|
1020
2078
|
});
|
|
1021
2079
|
}
|
|
1022
2080
|
export declare class DeleteJobResponseBody extends $tea.Model {
|
|
2081
|
+
/**
|
|
2082
|
+
* @example
|
|
2083
|
+
* dlc*************
|
|
2084
|
+
*/
|
|
1023
2085
|
jobId?: string;
|
|
2086
|
+
/**
|
|
2087
|
+
* @example
|
|
2088
|
+
* 473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E
|
|
2089
|
+
*/
|
|
1024
2090
|
requestId?: string;
|
|
1025
2091
|
static names(): {
|
|
1026
2092
|
[key: string]: string;
|
|
@@ -1049,6 +2115,10 @@ export declare class DeleteJobResponse extends $tea.Model {
|
|
|
1049
2115
|
});
|
|
1050
2116
|
}
|
|
1051
2117
|
export declare class DeleteTensorboardRequest extends $tea.Model {
|
|
2118
|
+
/**
|
|
2119
|
+
* @example
|
|
2120
|
+
* 46099
|
|
2121
|
+
*/
|
|
1052
2122
|
workspaceId?: string;
|
|
1053
2123
|
static names(): {
|
|
1054
2124
|
[key: string]: string;
|
|
@@ -1061,7 +2131,15 @@ export declare class DeleteTensorboardRequest extends $tea.Model {
|
|
|
1061
2131
|
});
|
|
1062
2132
|
}
|
|
1063
2133
|
export declare class DeleteTensorboardResponseBody extends $tea.Model {
|
|
2134
|
+
/**
|
|
2135
|
+
* @example
|
|
2136
|
+
* 473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E
|
|
2137
|
+
*/
|
|
1064
2138
|
requestId?: string;
|
|
2139
|
+
/**
|
|
2140
|
+
* @example
|
|
2141
|
+
* tensorboard-20210114104214-vf9lowjt3pso
|
|
2142
|
+
*/
|
|
1065
2143
|
tensorboardId?: string;
|
|
1066
2144
|
static names(): {
|
|
1067
2145
|
[key: string]: string;
|
|
@@ -1090,6 +2168,10 @@ export declare class DeleteTensorboardResponse extends $tea.Model {
|
|
|
1090
2168
|
});
|
|
1091
2169
|
}
|
|
1092
2170
|
export declare class GetJobRequest extends $tea.Model {
|
|
2171
|
+
/**
|
|
2172
|
+
* @example
|
|
2173
|
+
* true
|
|
2174
|
+
*/
|
|
1093
2175
|
needDetail?: boolean;
|
|
1094
2176
|
static names(): {
|
|
1095
2177
|
[key: string]: string;
|
|
@@ -1102,46 +2184,158 @@ export declare class GetJobRequest extends $tea.Model {
|
|
|
1102
2184
|
});
|
|
1103
2185
|
}
|
|
1104
2186
|
export declare class GetJobResponseBody extends $tea.Model {
|
|
2187
|
+
/**
|
|
2188
|
+
* @example
|
|
2189
|
+
* a*****
|
|
2190
|
+
*/
|
|
1105
2191
|
clusterId?: string;
|
|
1106
2192
|
codeSource?: GetJobResponseBodyCodeSource;
|
|
1107
2193
|
credentialConfig?: CredentialConfig;
|
|
1108
2194
|
dataSources?: GetJobResponseBodyDataSources[];
|
|
2195
|
+
/**
|
|
2196
|
+
* @example
|
|
2197
|
+
* tf-mnist-test
|
|
2198
|
+
*/
|
|
1109
2199
|
displayName?: string;
|
|
2200
|
+
/**
|
|
2201
|
+
* @example
|
|
2202
|
+
* 3602
|
|
2203
|
+
*/
|
|
1110
2204
|
duration?: number;
|
|
1111
2205
|
elasticSpec?: JobElasticSpec;
|
|
2206
|
+
/**
|
|
2207
|
+
* @example
|
|
2208
|
+
* false
|
|
2209
|
+
*/
|
|
1112
2210
|
enabledDebugger?: boolean;
|
|
1113
2211
|
envs?: {
|
|
1114
2212
|
[key: string]: string;
|
|
1115
2213
|
};
|
|
2214
|
+
/**
|
|
2215
|
+
* @example
|
|
2216
|
+
* 2021-01-12T14:35:01Z
|
|
2217
|
+
*/
|
|
1116
2218
|
gmtCreateTime?: string;
|
|
2219
|
+
/**
|
|
2220
|
+
* @example
|
|
2221
|
+
* 2021-01-12T15:36:08Z
|
|
2222
|
+
*/
|
|
1117
2223
|
gmtFailedTime?: string;
|
|
2224
|
+
/**
|
|
2225
|
+
* @example
|
|
2226
|
+
* 2021-01-12T15:36:08Z
|
|
2227
|
+
*/
|
|
1118
2228
|
gmtFinishTime?: string;
|
|
2229
|
+
/**
|
|
2230
|
+
* @example
|
|
2231
|
+
* 2021-01-12T14:36:21Z
|
|
2232
|
+
*/
|
|
1119
2233
|
gmtRunningTime?: string;
|
|
2234
|
+
/**
|
|
2235
|
+
* @example
|
|
2236
|
+
* 2021-01-12T15:36:08Z
|
|
2237
|
+
*/
|
|
1120
2238
|
gmtStoppedTime?: string;
|
|
2239
|
+
/**
|
|
2240
|
+
* @example
|
|
2241
|
+
* 2021-01-12T14:36:01Z
|
|
2242
|
+
*/
|
|
1121
2243
|
gmtSubmittedTime?: string;
|
|
2244
|
+
/**
|
|
2245
|
+
* @example
|
|
2246
|
+
* 2021-01-12T15:36:08Z
|
|
2247
|
+
*/
|
|
1122
2248
|
gmtSuccessedTime?: string;
|
|
2249
|
+
/**
|
|
2250
|
+
* @example
|
|
2251
|
+
* dlc*******
|
|
2252
|
+
*/
|
|
1123
2253
|
jobId?: string;
|
|
1124
2254
|
jobSpecs?: JobSpec[];
|
|
2255
|
+
/**
|
|
2256
|
+
* @example
|
|
2257
|
+
* TFJob
|
|
2258
|
+
*/
|
|
1125
2259
|
jobType?: string;
|
|
1126
2260
|
pods?: GetJobResponseBodyPods[];
|
|
2261
|
+
/**
|
|
2262
|
+
* @example
|
|
2263
|
+
* 1
|
|
2264
|
+
*/
|
|
1127
2265
|
priority?: number;
|
|
2266
|
+
/**
|
|
2267
|
+
* @example
|
|
2268
|
+
* JobStoppedByUser
|
|
2269
|
+
*/
|
|
1128
2270
|
reasonCode?: string;
|
|
2271
|
+
/**
|
|
2272
|
+
* @example
|
|
2273
|
+
* Job is stopped by user.
|
|
2274
|
+
*/
|
|
1129
2275
|
reasonMessage?: string;
|
|
2276
|
+
/**
|
|
2277
|
+
* @example
|
|
2278
|
+
* 473469C7-AA6F-4DC5-B3DB-xxxxxxxx
|
|
2279
|
+
*/
|
|
1130
2280
|
requestId?: string;
|
|
2281
|
+
/**
|
|
2282
|
+
* @example
|
|
2283
|
+
* r******
|
|
2284
|
+
*/
|
|
1131
2285
|
resourceId?: string;
|
|
2286
|
+
/**
|
|
2287
|
+
* @example
|
|
2288
|
+
* L0
|
|
2289
|
+
*/
|
|
1132
2290
|
resourceLevel?: string;
|
|
2291
|
+
/**
|
|
2292
|
+
* @example
|
|
2293
|
+
* ECS
|
|
2294
|
+
*/
|
|
1133
2295
|
resourceType?: string;
|
|
2296
|
+
/**
|
|
2297
|
+
* @example
|
|
2298
|
+
* 0/10
|
|
2299
|
+
*/
|
|
1134
2300
|
restartTimes?: string;
|
|
1135
2301
|
settings?: JobSettings;
|
|
2302
|
+
/**
|
|
2303
|
+
* @example
|
|
2304
|
+
* Stopped
|
|
2305
|
+
*/
|
|
1136
2306
|
status?: string;
|
|
1137
2307
|
statusHistory?: StatusTransitionItem[];
|
|
2308
|
+
/**
|
|
2309
|
+
* @example
|
|
2310
|
+
* Restarting
|
|
2311
|
+
*/
|
|
1138
2312
|
subStatus?: string;
|
|
1139
2313
|
tenantId?: string;
|
|
2314
|
+
/**
|
|
2315
|
+
* @example
|
|
2316
|
+
* /root/code/
|
|
2317
|
+
*/
|
|
1140
2318
|
thirdpartyLibDir?: string;
|
|
1141
2319
|
thirdpartyLibs?: string[];
|
|
2320
|
+
/**
|
|
2321
|
+
* @example
|
|
2322
|
+
* python /root/code/mnist.py
|
|
2323
|
+
*/
|
|
1142
2324
|
userCommand?: string;
|
|
2325
|
+
/**
|
|
2326
|
+
* @example
|
|
2327
|
+
* 12*********
|
|
2328
|
+
*/
|
|
1143
2329
|
userId?: string;
|
|
2330
|
+
/**
|
|
2331
|
+
* @example
|
|
2332
|
+
* 268
|
|
2333
|
+
*/
|
|
1144
2334
|
workspaceId?: string;
|
|
2335
|
+
/**
|
|
2336
|
+
* @example
|
|
2337
|
+
* dlc-workspace
|
|
2338
|
+
*/
|
|
1145
2339
|
workspaceName?: string;
|
|
1146
2340
|
static names(): {
|
|
1147
2341
|
[key: string]: string;
|
|
@@ -1170,8 +2364,20 @@ export declare class GetJobResponse extends $tea.Model {
|
|
|
1170
2364
|
});
|
|
1171
2365
|
}
|
|
1172
2366
|
export declare class GetJobEventsRequest extends $tea.Model {
|
|
2367
|
+
/**
|
|
2368
|
+
* @example
|
|
2369
|
+
* 2020-11-08T18:00:00Z
|
|
2370
|
+
*/
|
|
1173
2371
|
endTime?: string;
|
|
2372
|
+
/**
|
|
2373
|
+
* @example
|
|
2374
|
+
* 100
|
|
2375
|
+
*/
|
|
1174
2376
|
maxEventsNum?: number;
|
|
2377
|
+
/**
|
|
2378
|
+
* @example
|
|
2379
|
+
* 2020-11-08T16:00:00Z
|
|
2380
|
+
*/
|
|
1175
2381
|
startTime?: string;
|
|
1176
2382
|
static names(): {
|
|
1177
2383
|
[key: string]: string;
|
|
@@ -1185,7 +2391,15 @@ export declare class GetJobEventsRequest extends $tea.Model {
|
|
|
1185
2391
|
}
|
|
1186
2392
|
export declare class GetJobEventsResponseBody extends $tea.Model {
|
|
1187
2393
|
events?: string[];
|
|
2394
|
+
/**
|
|
2395
|
+
* @example
|
|
2396
|
+
* dlc-20210126170216-******
|
|
2397
|
+
*/
|
|
1188
2398
|
jobId?: string;
|
|
2399
|
+
/**
|
|
2400
|
+
* @example
|
|
2401
|
+
* 78F6FCE2-278F-4C4A-A6B7-DD8ECEA9C456
|
|
2402
|
+
*/
|
|
1189
2403
|
requestId?: string;
|
|
1190
2404
|
static names(): {
|
|
1191
2405
|
[key: string]: string;
|
|
@@ -1214,10 +2428,33 @@ export declare class GetJobEventsResponse extends $tea.Model {
|
|
|
1214
2428
|
});
|
|
1215
2429
|
}
|
|
1216
2430
|
export declare class GetJobMetricsRequest extends $tea.Model {
|
|
2431
|
+
/**
|
|
2432
|
+
* @example
|
|
2433
|
+
* 2020-11-09T16:00:00Z
|
|
2434
|
+
*/
|
|
1217
2435
|
endTime?: string;
|
|
2436
|
+
/**
|
|
2437
|
+
* @remarks
|
|
2438
|
+
* This parameter is required.
|
|
2439
|
+
*
|
|
2440
|
+
* @example
|
|
2441
|
+
* GpuMemoryUsage
|
|
2442
|
+
*/
|
|
1218
2443
|
metricType?: string;
|
|
2444
|
+
/**
|
|
2445
|
+
* @example
|
|
2446
|
+
* 2020-11-08T16:00:00Z
|
|
2447
|
+
*/
|
|
1219
2448
|
startTime?: string;
|
|
2449
|
+
/**
|
|
2450
|
+
* @example
|
|
2451
|
+
* 5m
|
|
2452
|
+
*/
|
|
1220
2453
|
timeStep?: string;
|
|
2454
|
+
/**
|
|
2455
|
+
* @example
|
|
2456
|
+
* eyXXXX-XXXX.XXXXX
|
|
2457
|
+
*/
|
|
1221
2458
|
token?: string;
|
|
1222
2459
|
static names(): {
|
|
1223
2460
|
[key: string]: string;
|
|
@@ -1230,8 +2467,16 @@ export declare class GetJobMetricsRequest extends $tea.Model {
|
|
|
1230
2467
|
});
|
|
1231
2468
|
}
|
|
1232
2469
|
export declare class GetJobMetricsResponseBody extends $tea.Model {
|
|
2470
|
+
/**
|
|
2471
|
+
* @example
|
|
2472
|
+
* dlc-20210126170216-*******
|
|
2473
|
+
*/
|
|
1233
2474
|
jobId?: string;
|
|
1234
2475
|
podMetrics?: PodMetric[];
|
|
2476
|
+
/**
|
|
2477
|
+
* @example
|
|
2478
|
+
* 473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E
|
|
2479
|
+
*/
|
|
1235
2480
|
requestId?: string;
|
|
1236
2481
|
static names(): {
|
|
1237
2482
|
[key: string]: string;
|
|
@@ -1260,7 +2505,18 @@ export declare class GetJobMetricsResponse extends $tea.Model {
|
|
|
1260
2505
|
});
|
|
1261
2506
|
}
|
|
1262
2507
|
export declare class GetJobSanityCheckResultRequest extends $tea.Model {
|
|
2508
|
+
/**
|
|
2509
|
+
* @remarks
|
|
2510
|
+
* This parameter is required.
|
|
2511
|
+
*
|
|
2512
|
+
* @example
|
|
2513
|
+
* 1
|
|
2514
|
+
*/
|
|
1263
2515
|
sanityCheckNumber?: number;
|
|
2516
|
+
/**
|
|
2517
|
+
* @example
|
|
2518
|
+
* DeviceCheck
|
|
2519
|
+
*/
|
|
1264
2520
|
sanityCheckPhase?: string;
|
|
1265
2521
|
token?: string;
|
|
1266
2522
|
static names(): {
|
|
@@ -1274,7 +2530,15 @@ export declare class GetJobSanityCheckResultRequest extends $tea.Model {
|
|
|
1274
2530
|
});
|
|
1275
2531
|
}
|
|
1276
2532
|
export declare class GetJobSanityCheckResultResponseBody extends $tea.Model {
|
|
2533
|
+
/**
|
|
2534
|
+
* @example
|
|
2535
|
+
* dlc-20210126170216-xxxxxx
|
|
2536
|
+
*/
|
|
1277
2537
|
jobId?: string;
|
|
2538
|
+
/**
|
|
2539
|
+
* @example
|
|
2540
|
+
* B3789344-F1xxxBE-5xx2-A04D-xxxxx
|
|
2541
|
+
*/
|
|
1278
2542
|
requestID?: string;
|
|
1279
2543
|
sanityCheckResult?: SanityCheckResultItem[];
|
|
1280
2544
|
static names(): {
|
|
@@ -1304,9 +2568,25 @@ export declare class GetJobSanityCheckResultResponse extends $tea.Model {
|
|
|
1304
2568
|
});
|
|
1305
2569
|
}
|
|
1306
2570
|
export declare class GetPodEventsRequest extends $tea.Model {
|
|
2571
|
+
/**
|
|
2572
|
+
* @example
|
|
2573
|
+
* 2020-11-09T16:00:00Z
|
|
2574
|
+
*/
|
|
1307
2575
|
endTime?: string;
|
|
2576
|
+
/**
|
|
2577
|
+
* @example
|
|
2578
|
+
* 100
|
|
2579
|
+
*/
|
|
1308
2580
|
maxEventsNum?: number;
|
|
2581
|
+
/**
|
|
2582
|
+
* @example
|
|
2583
|
+
* dlc-20210126170216-*****-chief-0
|
|
2584
|
+
*/
|
|
1309
2585
|
podUid?: string;
|
|
2586
|
+
/**
|
|
2587
|
+
* @example
|
|
2588
|
+
* 2020-11-08T16:00:00Z
|
|
2589
|
+
*/
|
|
1310
2590
|
startTime?: string;
|
|
1311
2591
|
static names(): {
|
|
1312
2592
|
[key: string]: string;
|
|
@@ -1320,9 +2600,28 @@ export declare class GetPodEventsRequest extends $tea.Model {
|
|
|
1320
2600
|
}
|
|
1321
2601
|
export declare class GetPodEventsResponseBody extends $tea.Model {
|
|
1322
2602
|
events?: string[];
|
|
2603
|
+
/**
|
|
2604
|
+
* @example
|
|
2605
|
+
* dlc-20210126170216-*****
|
|
2606
|
+
*/
|
|
1323
2607
|
jobId?: string;
|
|
2608
|
+
/**
|
|
2609
|
+
* @remarks
|
|
2610
|
+
* This parameter is required.
|
|
2611
|
+
*
|
|
2612
|
+
* @example
|
|
2613
|
+
* dlc-20210126170216-*****-chief-0
|
|
2614
|
+
*/
|
|
1324
2615
|
podId?: string;
|
|
2616
|
+
/**
|
|
2617
|
+
* @example
|
|
2618
|
+
* 94a7cc7c-0033-48b5-85bd-71c63592c268
|
|
2619
|
+
*/
|
|
1325
2620
|
podUid?: string;
|
|
2621
|
+
/**
|
|
2622
|
+
* @example
|
|
2623
|
+
* 473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E
|
|
2624
|
+
*/
|
|
1326
2625
|
requestId?: string;
|
|
1327
2626
|
static names(): {
|
|
1328
2627
|
[key: string]: string;
|
|
@@ -1351,10 +2650,30 @@ export declare class GetPodEventsResponse extends $tea.Model {
|
|
|
1351
2650
|
});
|
|
1352
2651
|
}
|
|
1353
2652
|
export declare class GetPodLogsRequest extends $tea.Model {
|
|
2653
|
+
/**
|
|
2654
|
+
* @example
|
|
2655
|
+
* true
|
|
2656
|
+
*/
|
|
1354
2657
|
downloadToFile?: boolean;
|
|
2658
|
+
/**
|
|
2659
|
+
* @example
|
|
2660
|
+
* 2020-11-08T17:00:00Z
|
|
2661
|
+
*/
|
|
1355
2662
|
endTime?: string;
|
|
2663
|
+
/**
|
|
2664
|
+
* @example
|
|
2665
|
+
* 100
|
|
2666
|
+
*/
|
|
1356
2667
|
maxLines?: number;
|
|
2668
|
+
/**
|
|
2669
|
+
* @example
|
|
2670
|
+
* fe846462-af2c-4521-bd6f-96787a57****
|
|
2671
|
+
*/
|
|
1357
2672
|
podUid?: string;
|
|
2673
|
+
/**
|
|
2674
|
+
* @example
|
|
2675
|
+
* 2020-11-08T16:00:00Z
|
|
2676
|
+
*/
|
|
1358
2677
|
startTime?: string;
|
|
1359
2678
|
static names(): {
|
|
1360
2679
|
[key: string]: string;
|
|
@@ -1367,10 +2686,26 @@ export declare class GetPodLogsRequest extends $tea.Model {
|
|
|
1367
2686
|
});
|
|
1368
2687
|
}
|
|
1369
2688
|
export declare class GetPodLogsResponseBody extends $tea.Model {
|
|
2689
|
+
/**
|
|
2690
|
+
* @example
|
|
2691
|
+
* dlc-20210126170216-******
|
|
2692
|
+
*/
|
|
1370
2693
|
jobId?: string;
|
|
1371
2694
|
logs?: string[];
|
|
2695
|
+
/**
|
|
2696
|
+
* @example
|
|
2697
|
+
* dlc-20210126170216-****-chief-0
|
|
2698
|
+
*/
|
|
1372
2699
|
podId?: string;
|
|
2700
|
+
/**
|
|
2701
|
+
* @example
|
|
2702
|
+
* 94a7cc7c-0033-48b5-85bd-71c63592c268
|
|
2703
|
+
*/
|
|
1373
2704
|
podUid?: string;
|
|
2705
|
+
/**
|
|
2706
|
+
* @example
|
|
2707
|
+
* 473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E
|
|
2708
|
+
*/
|
|
1374
2709
|
requestId?: string;
|
|
1375
2710
|
static names(): {
|
|
1376
2711
|
[key: string]: string;
|
|
@@ -1399,8 +2734,16 @@ export declare class GetPodLogsResponse extends $tea.Model {
|
|
|
1399
2734
|
});
|
|
1400
2735
|
}
|
|
1401
2736
|
export declare class GetTensorboardRequest extends $tea.Model {
|
|
2737
|
+
/**
|
|
2738
|
+
* @example
|
|
2739
|
+
* dlc-xxxxxxxx
|
|
2740
|
+
*/
|
|
1402
2741
|
jodId?: string;
|
|
1403
2742
|
token?: string;
|
|
2743
|
+
/**
|
|
2744
|
+
* @example
|
|
2745
|
+
* 46099
|
|
2746
|
+
*/
|
|
1404
2747
|
workspaceId?: string;
|
|
1405
2748
|
static names(): {
|
|
1406
2749
|
[key: string]: string;
|
|
@@ -1429,6 +2772,10 @@ export declare class GetTensorboardResponse extends $tea.Model {
|
|
|
1429
2772
|
});
|
|
1430
2773
|
}
|
|
1431
2774
|
export declare class GetTensorboardSharedUrlRequest extends $tea.Model {
|
|
2775
|
+
/**
|
|
2776
|
+
* @example
|
|
2777
|
+
* 86400
|
|
2778
|
+
*/
|
|
1432
2779
|
expireTimeSeconds?: string;
|
|
1433
2780
|
static names(): {
|
|
1434
2781
|
[key: string]: string;
|
|
@@ -1441,7 +2788,15 @@ export declare class GetTensorboardSharedUrlRequest extends $tea.Model {
|
|
|
1441
2788
|
});
|
|
1442
2789
|
}
|
|
1443
2790
|
export declare class GetTensorboardSharedUrlResponseBody extends $tea.Model {
|
|
2791
|
+
/**
|
|
2792
|
+
* @example
|
|
2793
|
+
* 473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E
|
|
2794
|
+
*/
|
|
1444
2795
|
requestId?: string;
|
|
2796
|
+
/**
|
|
2797
|
+
* @example
|
|
2798
|
+
* http://pai-dlc-proxy-xxx.alicyuncs.com/xxx/xxx/token/
|
|
2799
|
+
*/
|
|
1445
2800
|
tensorboardSharedUrl?: string;
|
|
1446
2801
|
static names(): {
|
|
1447
2802
|
[key: string]: string;
|
|
@@ -1470,8 +2825,20 @@ export declare class GetTensorboardSharedUrlResponse extends $tea.Model {
|
|
|
1470
2825
|
});
|
|
1471
2826
|
}
|
|
1472
2827
|
export declare class GetTokenRequest extends $tea.Model {
|
|
2828
|
+
/**
|
|
2829
|
+
* @example
|
|
2830
|
+
* 60
|
|
2831
|
+
*/
|
|
1473
2832
|
expireTime?: number;
|
|
2833
|
+
/**
|
|
2834
|
+
* @example
|
|
2835
|
+
* dlc*******
|
|
2836
|
+
*/
|
|
1474
2837
|
targetId?: string;
|
|
2838
|
+
/**
|
|
2839
|
+
* @example
|
|
2840
|
+
* job
|
|
2841
|
+
*/
|
|
1475
2842
|
targetType?: string;
|
|
1476
2843
|
static names(): {
|
|
1477
2844
|
[key: string]: string;
|
|
@@ -1484,7 +2851,15 @@ export declare class GetTokenRequest extends $tea.Model {
|
|
|
1484
2851
|
});
|
|
1485
2852
|
}
|
|
1486
2853
|
export declare class GetTokenResponseBody extends $tea.Model {
|
|
2854
|
+
/**
|
|
2855
|
+
* @example
|
|
2856
|
+
* 473469C7-AA6F-4DC5-B3DB-xxxxxxxx
|
|
2857
|
+
*/
|
|
1487
2858
|
requestId?: string;
|
|
2859
|
+
/**
|
|
2860
|
+
* @example
|
|
2861
|
+
* eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9*****
|
|
2862
|
+
*/
|
|
1488
2863
|
token?: string;
|
|
1489
2864
|
static names(): {
|
|
1490
2865
|
[key: string]: string;
|
|
@@ -1514,6 +2889,13 @@ export declare class GetTokenResponse extends $tea.Model {
|
|
|
1514
2889
|
}
|
|
1515
2890
|
export declare class GetWebTerminalRequest extends $tea.Model {
|
|
1516
2891
|
isShared?: boolean;
|
|
2892
|
+
/**
|
|
2893
|
+
* @remarks
|
|
2894
|
+
* Pod UID。
|
|
2895
|
+
*
|
|
2896
|
+
* @example
|
|
2897
|
+
* 94a7cc7c-0033-48b5-85bd-71c63592c268
|
|
2898
|
+
*/
|
|
1517
2899
|
podUid?: string;
|
|
1518
2900
|
static names(): {
|
|
1519
2901
|
[key: string]: string;
|
|
@@ -1555,12 +2937,40 @@ export declare class GetWebTerminalResponse extends $tea.Model {
|
|
|
1555
2937
|
});
|
|
1556
2938
|
}
|
|
1557
2939
|
export declare class ListEcsSpecsRequest extends $tea.Model {
|
|
2940
|
+
/**
|
|
2941
|
+
* @example
|
|
2942
|
+
* GPU
|
|
2943
|
+
*/
|
|
1558
2944
|
acceleratorType?: string;
|
|
2945
|
+
/**
|
|
2946
|
+
* @example
|
|
2947
|
+
* ecs.g6.large,ecs.g6.xlarge
|
|
2948
|
+
*/
|
|
1559
2949
|
instanceTypes?: string;
|
|
2950
|
+
/**
|
|
2951
|
+
* @example
|
|
2952
|
+
* desc
|
|
2953
|
+
*/
|
|
1560
2954
|
order?: string;
|
|
2955
|
+
/**
|
|
2956
|
+
* @example
|
|
2957
|
+
* 1
|
|
2958
|
+
*/
|
|
1561
2959
|
pageNumber?: number;
|
|
2960
|
+
/**
|
|
2961
|
+
* @example
|
|
2962
|
+
* 10
|
|
2963
|
+
*/
|
|
1562
2964
|
pageSize?: number;
|
|
2965
|
+
/**
|
|
2966
|
+
* @example
|
|
2967
|
+
* ECS
|
|
2968
|
+
*/
|
|
1563
2969
|
resourceType?: string;
|
|
2970
|
+
/**
|
|
2971
|
+
* @example
|
|
2972
|
+
* Gpu
|
|
2973
|
+
*/
|
|
1564
2974
|
sortBy?: string;
|
|
1565
2975
|
static names(): {
|
|
1566
2976
|
[key: string]: string;
|
|
@@ -1574,7 +2984,15 @@ export declare class ListEcsSpecsRequest extends $tea.Model {
|
|
|
1574
2984
|
}
|
|
1575
2985
|
export declare class ListEcsSpecsResponseBody extends $tea.Model {
|
|
1576
2986
|
ecsSpecs?: EcsSpec[];
|
|
2987
|
+
/**
|
|
2988
|
+
* @example
|
|
2989
|
+
* 473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E
|
|
2990
|
+
*/
|
|
1577
2991
|
requestId?: string;
|
|
2992
|
+
/**
|
|
2993
|
+
* @example
|
|
2994
|
+
* 10
|
|
2995
|
+
*/
|
|
1578
2996
|
totalCount?: number;
|
|
1579
2997
|
static names(): {
|
|
1580
2998
|
[key: string]: string;
|
|
@@ -1603,6 +3021,10 @@ export declare class ListEcsSpecsResponse extends $tea.Model {
|
|
|
1603
3021
|
});
|
|
1604
3022
|
}
|
|
1605
3023
|
export declare class ListJobSanityCheckResultsRequest extends $tea.Model {
|
|
3024
|
+
/**
|
|
3025
|
+
* @example
|
|
3026
|
+
* desc
|
|
3027
|
+
*/
|
|
1606
3028
|
order?: string;
|
|
1607
3029
|
static names(): {
|
|
1608
3030
|
[key: string]: string;
|
|
@@ -1615,8 +3037,16 @@ export declare class ListJobSanityCheckResultsRequest extends $tea.Model {
|
|
|
1615
3037
|
});
|
|
1616
3038
|
}
|
|
1617
3039
|
export declare class ListJobSanityCheckResultsResponseBody extends $tea.Model {
|
|
3040
|
+
/**
|
|
3041
|
+
* @example
|
|
3042
|
+
* 1AC9xxx-3xxx-5xxx2-xxxx-FA5
|
|
3043
|
+
*/
|
|
1618
3044
|
requestID?: string;
|
|
1619
3045
|
sanityCheckResults?: SanityCheckResultItem[][];
|
|
3046
|
+
/**
|
|
3047
|
+
* @example
|
|
3048
|
+
* 10
|
|
3049
|
+
*/
|
|
1620
3050
|
totalCount?: number;
|
|
1621
3051
|
static names(): {
|
|
1622
3052
|
[key: string]: string;
|
|
@@ -1645,28 +3075,96 @@ export declare class ListJobSanityCheckResultsResponse extends $tea.Model {
|
|
|
1645
3075
|
});
|
|
1646
3076
|
}
|
|
1647
3077
|
export declare class ListJobsRequest extends $tea.Model {
|
|
3078
|
+
/**
|
|
3079
|
+
* @example
|
|
3080
|
+
* 16****
|
|
3081
|
+
*/
|
|
1648
3082
|
businessUserId?: string;
|
|
3083
|
+
/**
|
|
3084
|
+
* @example
|
|
3085
|
+
* local
|
|
3086
|
+
*/
|
|
1649
3087
|
caller?: string;
|
|
3088
|
+
/**
|
|
3089
|
+
* @example
|
|
3090
|
+
* tf-mnist-test
|
|
3091
|
+
*/
|
|
1650
3092
|
displayName?: string;
|
|
3093
|
+
/**
|
|
3094
|
+
* @example
|
|
3095
|
+
* 2020-11-09T14:45:00Z
|
|
3096
|
+
*/
|
|
1651
3097
|
endTime?: string;
|
|
3098
|
+
/**
|
|
3099
|
+
* @example
|
|
3100
|
+
* false
|
|
3101
|
+
*/
|
|
1652
3102
|
fromAllWorkspaces?: boolean;
|
|
3103
|
+
/**
|
|
3104
|
+
* @example
|
|
3105
|
+
* dlc********
|
|
3106
|
+
*/
|
|
1653
3107
|
jobId?: string;
|
|
3108
|
+
/**
|
|
3109
|
+
* @example
|
|
3110
|
+
* TFJob
|
|
3111
|
+
*/
|
|
1654
3112
|
jobType?: string;
|
|
3113
|
+
/**
|
|
3114
|
+
* @example
|
|
3115
|
+
* desc
|
|
3116
|
+
*/
|
|
1655
3117
|
order?: string;
|
|
3118
|
+
/**
|
|
3119
|
+
* @example
|
|
3120
|
+
* 1
|
|
3121
|
+
*/
|
|
1656
3122
|
pageNumber?: number;
|
|
3123
|
+
/**
|
|
3124
|
+
* @example
|
|
3125
|
+
* 50
|
|
3126
|
+
*/
|
|
1657
3127
|
pageSize?: number;
|
|
3128
|
+
/**
|
|
3129
|
+
* @example
|
|
3130
|
+
* flow-*******
|
|
3131
|
+
*/
|
|
1658
3132
|
pipelineId?: string;
|
|
3133
|
+
/**
|
|
3134
|
+
* @example
|
|
3135
|
+
* r*****
|
|
3136
|
+
*/
|
|
1659
3137
|
resourceId?: string;
|
|
1660
3138
|
resourceQuotaName?: string;
|
|
3139
|
+
/**
|
|
3140
|
+
* @example
|
|
3141
|
+
* true
|
|
3142
|
+
*/
|
|
1661
3143
|
showOwn?: boolean;
|
|
3144
|
+
/**
|
|
3145
|
+
* @example
|
|
3146
|
+
* GmtCreateTime
|
|
3147
|
+
*/
|
|
1662
3148
|
sortBy?: string;
|
|
3149
|
+
/**
|
|
3150
|
+
* @example
|
|
3151
|
+
* 2020-11-08T16:00:00Z
|
|
3152
|
+
*/
|
|
1663
3153
|
startTime?: string;
|
|
3154
|
+
/**
|
|
3155
|
+
* @example
|
|
3156
|
+
* Running
|
|
3157
|
+
*/
|
|
1664
3158
|
status?: string;
|
|
1665
3159
|
tags?: {
|
|
1666
3160
|
[key: string]: string;
|
|
1667
3161
|
};
|
|
1668
3162
|
userIdForFilter?: string;
|
|
1669
3163
|
username?: string;
|
|
3164
|
+
/**
|
|
3165
|
+
* @example
|
|
3166
|
+
* 1****
|
|
3167
|
+
*/
|
|
1670
3168
|
workspaceId?: string;
|
|
1671
3169
|
static names(): {
|
|
1672
3170
|
[key: string]: string;
|
|
@@ -1679,26 +3177,94 @@ export declare class ListJobsRequest extends $tea.Model {
|
|
|
1679
3177
|
});
|
|
1680
3178
|
}
|
|
1681
3179
|
export declare class ListJobsShrinkRequest extends $tea.Model {
|
|
3180
|
+
/**
|
|
3181
|
+
* @example
|
|
3182
|
+
* 16****
|
|
3183
|
+
*/
|
|
1682
3184
|
businessUserId?: string;
|
|
3185
|
+
/**
|
|
3186
|
+
* @example
|
|
3187
|
+
* local
|
|
3188
|
+
*/
|
|
1683
3189
|
caller?: string;
|
|
3190
|
+
/**
|
|
3191
|
+
* @example
|
|
3192
|
+
* tf-mnist-test
|
|
3193
|
+
*/
|
|
1684
3194
|
displayName?: string;
|
|
3195
|
+
/**
|
|
3196
|
+
* @example
|
|
3197
|
+
* 2020-11-09T14:45:00Z
|
|
3198
|
+
*/
|
|
1685
3199
|
endTime?: string;
|
|
3200
|
+
/**
|
|
3201
|
+
* @example
|
|
3202
|
+
* false
|
|
3203
|
+
*/
|
|
1686
3204
|
fromAllWorkspaces?: boolean;
|
|
3205
|
+
/**
|
|
3206
|
+
* @example
|
|
3207
|
+
* dlc********
|
|
3208
|
+
*/
|
|
1687
3209
|
jobId?: string;
|
|
3210
|
+
/**
|
|
3211
|
+
* @example
|
|
3212
|
+
* TFJob
|
|
3213
|
+
*/
|
|
1688
3214
|
jobType?: string;
|
|
3215
|
+
/**
|
|
3216
|
+
* @example
|
|
3217
|
+
* desc
|
|
3218
|
+
*/
|
|
1689
3219
|
order?: string;
|
|
3220
|
+
/**
|
|
3221
|
+
* @example
|
|
3222
|
+
* 1
|
|
3223
|
+
*/
|
|
1690
3224
|
pageNumber?: number;
|
|
3225
|
+
/**
|
|
3226
|
+
* @example
|
|
3227
|
+
* 50
|
|
3228
|
+
*/
|
|
1691
3229
|
pageSize?: number;
|
|
3230
|
+
/**
|
|
3231
|
+
* @example
|
|
3232
|
+
* flow-*******
|
|
3233
|
+
*/
|
|
1692
3234
|
pipelineId?: string;
|
|
3235
|
+
/**
|
|
3236
|
+
* @example
|
|
3237
|
+
* r*****
|
|
3238
|
+
*/
|
|
1693
3239
|
resourceId?: string;
|
|
1694
3240
|
resourceQuotaName?: string;
|
|
3241
|
+
/**
|
|
3242
|
+
* @example
|
|
3243
|
+
* true
|
|
3244
|
+
*/
|
|
1695
3245
|
showOwn?: boolean;
|
|
3246
|
+
/**
|
|
3247
|
+
* @example
|
|
3248
|
+
* GmtCreateTime
|
|
3249
|
+
*/
|
|
1696
3250
|
sortBy?: string;
|
|
3251
|
+
/**
|
|
3252
|
+
* @example
|
|
3253
|
+
* 2020-11-08T16:00:00Z
|
|
3254
|
+
*/
|
|
1697
3255
|
startTime?: string;
|
|
3256
|
+
/**
|
|
3257
|
+
* @example
|
|
3258
|
+
* Running
|
|
3259
|
+
*/
|
|
1698
3260
|
status?: string;
|
|
1699
3261
|
tagsShrink?: string;
|
|
1700
3262
|
userIdForFilter?: string;
|
|
1701
3263
|
username?: string;
|
|
3264
|
+
/**
|
|
3265
|
+
* @example
|
|
3266
|
+
* 1****
|
|
3267
|
+
*/
|
|
1702
3268
|
workspaceId?: string;
|
|
1703
3269
|
static names(): {
|
|
1704
3270
|
[key: string]: string;
|
|
@@ -1712,7 +3278,15 @@ export declare class ListJobsShrinkRequest extends $tea.Model {
|
|
|
1712
3278
|
}
|
|
1713
3279
|
export declare class ListJobsResponseBody extends $tea.Model {
|
|
1714
3280
|
jobs?: JobItem[];
|
|
3281
|
+
/**
|
|
3282
|
+
* @example
|
|
3283
|
+
* 473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E
|
|
3284
|
+
*/
|
|
1715
3285
|
requestId?: string;
|
|
3286
|
+
/**
|
|
3287
|
+
* @example
|
|
3288
|
+
* 2
|
|
3289
|
+
*/
|
|
1716
3290
|
totalCount?: number;
|
|
1717
3291
|
static names(): {
|
|
1718
3292
|
[key: string]: string;
|
|
@@ -1741,24 +3315,80 @@ export declare class ListJobsResponse extends $tea.Model {
|
|
|
1741
3315
|
});
|
|
1742
3316
|
}
|
|
1743
3317
|
export declare class ListTensorboardsRequest extends $tea.Model {
|
|
3318
|
+
/**
|
|
3319
|
+
* @example
|
|
3320
|
+
* TestTensorboard
|
|
3321
|
+
*/
|
|
1744
3322
|
displayName?: string;
|
|
3323
|
+
/**
|
|
3324
|
+
* @example
|
|
3325
|
+
* 2020-11-09T14:45:00Z
|
|
3326
|
+
*/
|
|
1745
3327
|
endTime?: string;
|
|
3328
|
+
/**
|
|
3329
|
+
* @example
|
|
3330
|
+
* dlc-xxx
|
|
3331
|
+
*/
|
|
1746
3332
|
jobId?: string;
|
|
3333
|
+
/**
|
|
3334
|
+
* @example
|
|
3335
|
+
* desc
|
|
3336
|
+
*/
|
|
1747
3337
|
order?: string;
|
|
3338
|
+
/**
|
|
3339
|
+
* @example
|
|
3340
|
+
* 1
|
|
3341
|
+
*/
|
|
1748
3342
|
pageNumber?: number;
|
|
3343
|
+
/**
|
|
3344
|
+
* @example
|
|
3345
|
+
* 50
|
|
3346
|
+
*/
|
|
1749
3347
|
pageSize?: number;
|
|
1750
3348
|
paymentType?: string;
|
|
1751
3349
|
quotaId?: string;
|
|
1752
3350
|
showOwn?: boolean;
|
|
3351
|
+
/**
|
|
3352
|
+
* @example
|
|
3353
|
+
* GmtCreateTime
|
|
3354
|
+
*/
|
|
1753
3355
|
sortBy?: string;
|
|
3356
|
+
/**
|
|
3357
|
+
* @example
|
|
3358
|
+
* dlc-xxxxxx
|
|
3359
|
+
*/
|
|
1754
3360
|
sourceId?: string;
|
|
3361
|
+
/**
|
|
3362
|
+
* @example
|
|
3363
|
+
* job
|
|
3364
|
+
*/
|
|
1755
3365
|
sourceType?: string;
|
|
3366
|
+
/**
|
|
3367
|
+
* @example
|
|
3368
|
+
* 2020-11-08T16:00:00Z
|
|
3369
|
+
*/
|
|
1756
3370
|
startTime?: string;
|
|
3371
|
+
/**
|
|
3372
|
+
* @example
|
|
3373
|
+
* Running
|
|
3374
|
+
*/
|
|
1757
3375
|
status?: string;
|
|
3376
|
+
/**
|
|
3377
|
+
* @example
|
|
3378
|
+
* tensorboard-xxx
|
|
3379
|
+
*/
|
|
1758
3380
|
tensorboardId?: string;
|
|
1759
3381
|
userId?: string;
|
|
1760
3382
|
username?: string;
|
|
3383
|
+
/**
|
|
3384
|
+
* @example
|
|
3385
|
+
* true
|
|
3386
|
+
*/
|
|
1761
3387
|
verbose?: boolean;
|
|
3388
|
+
/**
|
|
3389
|
+
* @example
|
|
3390
|
+
* 380
|
|
3391
|
+
*/
|
|
1762
3392
|
workspaceId?: string;
|
|
1763
3393
|
static names(): {
|
|
1764
3394
|
[key: string]: string;
|
|
@@ -1771,8 +3401,16 @@ export declare class ListTensorboardsRequest extends $tea.Model {
|
|
|
1771
3401
|
});
|
|
1772
3402
|
}
|
|
1773
3403
|
export declare class ListTensorboardsResponseBody extends $tea.Model {
|
|
3404
|
+
/**
|
|
3405
|
+
* @example
|
|
3406
|
+
* 473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E
|
|
3407
|
+
*/
|
|
1774
3408
|
requestId?: string;
|
|
1775
3409
|
tensorboards?: Tensorboard[];
|
|
3410
|
+
/**
|
|
3411
|
+
* @example
|
|
3412
|
+
* 100
|
|
3413
|
+
*/
|
|
1776
3414
|
totalCount?: number;
|
|
1777
3415
|
static names(): {
|
|
1778
3416
|
[key: string]: string;
|
|
@@ -1801,6 +3439,10 @@ export declare class ListTensorboardsResponse extends $tea.Model {
|
|
|
1801
3439
|
});
|
|
1802
3440
|
}
|
|
1803
3441
|
export declare class StartTensorboardRequest extends $tea.Model {
|
|
3442
|
+
/**
|
|
3443
|
+
* @example
|
|
3444
|
+
* 380
|
|
3445
|
+
*/
|
|
1804
3446
|
workspaceId?: string;
|
|
1805
3447
|
static names(): {
|
|
1806
3448
|
[key: string]: string;
|
|
@@ -1813,7 +3455,15 @@ export declare class StartTensorboardRequest extends $tea.Model {
|
|
|
1813
3455
|
});
|
|
1814
3456
|
}
|
|
1815
3457
|
export declare class StartTensorboardResponseBody extends $tea.Model {
|
|
3458
|
+
/**
|
|
3459
|
+
* @example
|
|
3460
|
+
* 473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E
|
|
3461
|
+
*/
|
|
1816
3462
|
requestId?: string;
|
|
3463
|
+
/**
|
|
3464
|
+
* @example
|
|
3465
|
+
* tensorboard-20210114104214-vf9lowjt3pso
|
|
3466
|
+
*/
|
|
1817
3467
|
tensorboardId?: string;
|
|
1818
3468
|
static names(): {
|
|
1819
3469
|
[key: string]: string;
|
|
@@ -1842,7 +3492,15 @@ export declare class StartTensorboardResponse extends $tea.Model {
|
|
|
1842
3492
|
});
|
|
1843
3493
|
}
|
|
1844
3494
|
export declare class StopJobResponseBody extends $tea.Model {
|
|
3495
|
+
/**
|
|
3496
|
+
* @example
|
|
3497
|
+
* dlc-20210126170216-xxxxxxx
|
|
3498
|
+
*/
|
|
1845
3499
|
jobId?: string;
|
|
3500
|
+
/**
|
|
3501
|
+
* @example
|
|
3502
|
+
* 473469C7-AA6F-4DC5-B3DB-xxxxxx
|
|
3503
|
+
*/
|
|
1846
3504
|
requestId?: string;
|
|
1847
3505
|
static names(): {
|
|
1848
3506
|
[key: string]: string;
|
|
@@ -1871,6 +3529,10 @@ export declare class StopJobResponse extends $tea.Model {
|
|
|
1871
3529
|
});
|
|
1872
3530
|
}
|
|
1873
3531
|
export declare class StopTensorboardRequest extends $tea.Model {
|
|
3532
|
+
/**
|
|
3533
|
+
* @example
|
|
3534
|
+
* 380
|
|
3535
|
+
*/
|
|
1874
3536
|
workspaceId?: string;
|
|
1875
3537
|
static names(): {
|
|
1876
3538
|
[key: string]: string;
|
|
@@ -1883,7 +3545,15 @@ export declare class StopTensorboardRequest extends $tea.Model {
|
|
|
1883
3545
|
});
|
|
1884
3546
|
}
|
|
1885
3547
|
export declare class StopTensorboardResponseBody extends $tea.Model {
|
|
3548
|
+
/**
|
|
3549
|
+
* @example
|
|
3550
|
+
* 473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E
|
|
3551
|
+
*/
|
|
1886
3552
|
requestId?: string;
|
|
3553
|
+
/**
|
|
3554
|
+
* @example
|
|
3555
|
+
* tensorboard-20210114104214-xxxxxxxx
|
|
3556
|
+
*/
|
|
1887
3557
|
tensorboardId?: string;
|
|
1888
3558
|
static names(): {
|
|
1889
3559
|
[key: string]: string;
|
|
@@ -1912,6 +3582,10 @@ export declare class StopTensorboardResponse extends $tea.Model {
|
|
|
1912
3582
|
});
|
|
1913
3583
|
}
|
|
1914
3584
|
export declare class UpdateJobRequest extends $tea.Model {
|
|
3585
|
+
/**
|
|
3586
|
+
* @example
|
|
3587
|
+
* 5
|
|
3588
|
+
*/
|
|
1915
3589
|
priority?: number;
|
|
1916
3590
|
static names(): {
|
|
1917
3591
|
[key: string]: string;
|
|
@@ -1924,7 +3598,15 @@ export declare class UpdateJobRequest extends $tea.Model {
|
|
|
1924
3598
|
});
|
|
1925
3599
|
}
|
|
1926
3600
|
export declare class UpdateJobResponseBody extends $tea.Model {
|
|
3601
|
+
/**
|
|
3602
|
+
* @example
|
|
3603
|
+
* dlc*************
|
|
3604
|
+
*/
|
|
1927
3605
|
jobId?: string;
|
|
3606
|
+
/**
|
|
3607
|
+
* @example
|
|
3608
|
+
* 473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E
|
|
3609
|
+
*/
|
|
1928
3610
|
requestId?: string;
|
|
1929
3611
|
static names(): {
|
|
1930
3612
|
[key: string]: string;
|
|
@@ -1953,7 +3635,15 @@ export declare class UpdateJobResponse extends $tea.Model {
|
|
|
1953
3635
|
});
|
|
1954
3636
|
}
|
|
1955
3637
|
export declare class UpdateTensorboardRequest extends $tea.Model {
|
|
3638
|
+
/**
|
|
3639
|
+
* @example
|
|
3640
|
+
* MaxRunningTimeMinutes
|
|
3641
|
+
*/
|
|
1956
3642
|
maxRunningTimeMinutes?: number;
|
|
3643
|
+
/**
|
|
3644
|
+
* @example
|
|
3645
|
+
* 380
|
|
3646
|
+
*/
|
|
1957
3647
|
workspaceId?: string;
|
|
1958
3648
|
static names(): {
|
|
1959
3649
|
[key: string]: string;
|
|
@@ -1966,7 +3656,15 @@ export declare class UpdateTensorboardRequest extends $tea.Model {
|
|
|
1966
3656
|
});
|
|
1967
3657
|
}
|
|
1968
3658
|
export declare class UpdateTensorboardResponseBody extends $tea.Model {
|
|
3659
|
+
/**
|
|
3660
|
+
* @example
|
|
3661
|
+
* 473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E
|
|
3662
|
+
*/
|
|
1969
3663
|
requestId?: string;
|
|
3664
|
+
/**
|
|
3665
|
+
* @example
|
|
3666
|
+
* tensorboard-20210114104214-xxxxxxxx
|
|
3667
|
+
*/
|
|
1970
3668
|
tensorboardId?: string;
|
|
1971
3669
|
static names(): {
|
|
1972
3670
|
[key: string]: string;
|
|
@@ -1995,9 +3693,25 @@ export declare class UpdateTensorboardResponse extends $tea.Model {
|
|
|
1995
3693
|
});
|
|
1996
3694
|
}
|
|
1997
3695
|
export declare class JobItemCodeSource extends $tea.Model {
|
|
3696
|
+
/**
|
|
3697
|
+
* @example
|
|
3698
|
+
* master
|
|
3699
|
+
*/
|
|
1998
3700
|
branch?: string;
|
|
3701
|
+
/**
|
|
3702
|
+
* @example
|
|
3703
|
+
* code-20210111103721-85qz78ia96lu
|
|
3704
|
+
*/
|
|
1999
3705
|
codeSourceId?: string;
|
|
3706
|
+
/**
|
|
3707
|
+
* @example
|
|
3708
|
+
* 44da109b59f8596152987eaa8f3b2487bb72ea63
|
|
3709
|
+
*/
|
|
2000
3710
|
commit?: string;
|
|
3711
|
+
/**
|
|
3712
|
+
* @example
|
|
3713
|
+
* /mnt/data
|
|
3714
|
+
*/
|
|
2001
3715
|
mountPath?: string;
|
|
2002
3716
|
static names(): {
|
|
2003
3717
|
[key: string]: string;
|
|
@@ -2010,7 +3724,15 @@ export declare class JobItemCodeSource extends $tea.Model {
|
|
|
2010
3724
|
});
|
|
2011
3725
|
}
|
|
2012
3726
|
export declare class JobItemDataSources extends $tea.Model {
|
|
3727
|
+
/**
|
|
3728
|
+
* @example
|
|
3729
|
+
* data-20210114104214-vf9lowjt3pso
|
|
3730
|
+
*/
|
|
2013
3731
|
dataSourceId?: string;
|
|
3732
|
+
/**
|
|
3733
|
+
* @example
|
|
3734
|
+
* /mnt/data
|
|
3735
|
+
*/
|
|
2014
3736
|
mountPath?: string;
|
|
2015
3737
|
static names(): {
|
|
2016
3738
|
[key: string]: string;
|
|
@@ -2022,10 +3744,74 @@ export declare class JobItemDataSources extends $tea.Model {
|
|
|
2022
3744
|
[key: string]: any;
|
|
2023
3745
|
});
|
|
2024
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
|
+
}
|
|
2025
3795
|
export declare class CreateJobRequestCodeSource extends $tea.Model {
|
|
3796
|
+
/**
|
|
3797
|
+
* @example
|
|
3798
|
+
* master
|
|
3799
|
+
*/
|
|
2026
3800
|
branch?: string;
|
|
3801
|
+
/**
|
|
3802
|
+
* @example
|
|
3803
|
+
* code-20210111103721-xxxxxxx
|
|
3804
|
+
*/
|
|
2027
3805
|
codeSourceId?: string;
|
|
3806
|
+
/**
|
|
3807
|
+
* @example
|
|
3808
|
+
* 44da109b5******
|
|
3809
|
+
*/
|
|
2028
3810
|
commit?: string;
|
|
3811
|
+
/**
|
|
3812
|
+
* @example
|
|
3813
|
+
* /root/data
|
|
3814
|
+
*/
|
|
2029
3815
|
mountPath?: string;
|
|
2030
3816
|
static names(): {
|
|
2031
3817
|
[key: string]: string;
|
|
@@ -2038,8 +3824,21 @@ export declare class CreateJobRequestCodeSource extends $tea.Model {
|
|
|
2038
3824
|
});
|
|
2039
3825
|
}
|
|
2040
3826
|
export declare class CreateJobRequestDataSources extends $tea.Model {
|
|
3827
|
+
/**
|
|
3828
|
+
* @example
|
|
3829
|
+
* d-cn9dl*******
|
|
3830
|
+
*/
|
|
2041
3831
|
dataSourceId?: string;
|
|
3832
|
+
/**
|
|
3833
|
+
* @example
|
|
3834
|
+
* /root/data
|
|
3835
|
+
*/
|
|
2042
3836
|
mountPath?: string;
|
|
3837
|
+
options?: string;
|
|
3838
|
+
/**
|
|
3839
|
+
* @example
|
|
3840
|
+
* oss://bucket.oss-cn-hangzhou-internal.aliyuncs.com/path/
|
|
3841
|
+
*/
|
|
2043
3842
|
uri?: string;
|
|
2044
3843
|
static names(): {
|
|
2045
3844
|
[key: string]: string;
|
|
@@ -2054,8 +3853,20 @@ export declare class CreateJobRequestDataSources extends $tea.Model {
|
|
|
2054
3853
|
export declare class CreateJobRequestUserVpc extends $tea.Model {
|
|
2055
3854
|
defaultRoute?: string;
|
|
2056
3855
|
extendedCIDRs?: string[];
|
|
3856
|
+
/**
|
|
3857
|
+
* @example
|
|
3858
|
+
* sg-abcdef****
|
|
3859
|
+
*/
|
|
2057
3860
|
securityGroupId?: string;
|
|
3861
|
+
/**
|
|
3862
|
+
* @example
|
|
3863
|
+
* vs-abcdef****
|
|
3864
|
+
*/
|
|
2058
3865
|
switchId?: string;
|
|
3866
|
+
/**
|
|
3867
|
+
* @example
|
|
3868
|
+
* vpc-abcdef****
|
|
3869
|
+
*/
|
|
2059
3870
|
vpcId?: string;
|
|
2060
3871
|
static names(): {
|
|
2061
3872
|
[key: string]: string;
|
|
@@ -2068,9 +3879,25 @@ export declare class CreateJobRequestUserVpc extends $tea.Model {
|
|
|
2068
3879
|
});
|
|
2069
3880
|
}
|
|
2070
3881
|
export declare class GetJobResponseBodyCodeSource extends $tea.Model {
|
|
3882
|
+
/**
|
|
3883
|
+
* @example
|
|
3884
|
+
* master
|
|
3885
|
+
*/
|
|
2071
3886
|
branch?: string;
|
|
3887
|
+
/**
|
|
3888
|
+
* @example
|
|
3889
|
+
* code******
|
|
3890
|
+
*/
|
|
2072
3891
|
codeSourceId?: string;
|
|
3892
|
+
/**
|
|
3893
|
+
* @example
|
|
3894
|
+
* 44da109b59f8596152987eaa8f3b2487xxxxxx
|
|
3895
|
+
*/
|
|
2073
3896
|
commit?: string;
|
|
3897
|
+
/**
|
|
3898
|
+
* @example
|
|
3899
|
+
* /mnt/data
|
|
3900
|
+
*/
|
|
2074
3901
|
mountPath?: string;
|
|
2075
3902
|
static names(): {
|
|
2076
3903
|
[key: string]: string;
|
|
@@ -2083,8 +3910,20 @@ export declare class GetJobResponseBodyCodeSource extends $tea.Model {
|
|
|
2083
3910
|
});
|
|
2084
3911
|
}
|
|
2085
3912
|
export declare class GetJobResponseBodyDataSources extends $tea.Model {
|
|
3913
|
+
/**
|
|
3914
|
+
* @example
|
|
3915
|
+
* d*******
|
|
3916
|
+
*/
|
|
2086
3917
|
dataSourceId?: string;
|
|
3918
|
+
/**
|
|
3919
|
+
* @example
|
|
3920
|
+
* /mnt/data/
|
|
3921
|
+
*/
|
|
2087
3922
|
mountPath?: string;
|
|
3923
|
+
/**
|
|
3924
|
+
* @example
|
|
3925
|
+
* oss://bucket.oss-cn-hangzhou-internal.aliyuncs.com/path/
|
|
3926
|
+
*/
|
|
2088
3927
|
uri?: string;
|
|
2089
3928
|
static names(): {
|
|
2090
3929
|
[key: string]: string;
|
|
@@ -2097,15 +3936,55 @@ export declare class GetJobResponseBodyDataSources extends $tea.Model {
|
|
|
2097
3936
|
});
|
|
2098
3937
|
}
|
|
2099
3938
|
export declare class GetJobResponseBodyPodsHistoryPods extends $tea.Model {
|
|
3939
|
+
/**
|
|
3940
|
+
* @example
|
|
3941
|
+
* 2021-01-12T14:36:01Z
|
|
3942
|
+
*/
|
|
2100
3943
|
gmtCreateTime?: string;
|
|
3944
|
+
/**
|
|
3945
|
+
* @example
|
|
3946
|
+
* 2021-01-12T14:36:01Z
|
|
3947
|
+
*/
|
|
2101
3948
|
gmtFinishTime?: string;
|
|
3949
|
+
/**
|
|
3950
|
+
* @example
|
|
3951
|
+
* 2021-01-12T14:36:01Z
|
|
3952
|
+
*/
|
|
2102
3953
|
gmtStartTime?: string;
|
|
3954
|
+
/**
|
|
3955
|
+
* @example
|
|
3956
|
+
* 10.0.1.3
|
|
3957
|
+
*/
|
|
2103
3958
|
ip?: string;
|
|
3959
|
+
/**
|
|
3960
|
+
* @example
|
|
3961
|
+
* Worker
|
|
3962
|
+
*/
|
|
2104
3963
|
podId?: string;
|
|
3964
|
+
/**
|
|
3965
|
+
* @example
|
|
3966
|
+
* fe846462-af2c-4521-bd6f-96787a57591d
|
|
3967
|
+
*/
|
|
2105
3968
|
podUid?: string;
|
|
3969
|
+
/**
|
|
3970
|
+
* @example
|
|
3971
|
+
* Normal
|
|
3972
|
+
*/
|
|
2106
3973
|
resourceType?: string;
|
|
3974
|
+
/**
|
|
3975
|
+
* @example
|
|
3976
|
+
* Failed
|
|
3977
|
+
*/
|
|
2107
3978
|
status?: string;
|
|
3979
|
+
/**
|
|
3980
|
+
* @example
|
|
3981
|
+
* Normal
|
|
3982
|
+
*/
|
|
2108
3983
|
subStatus?: string;
|
|
3984
|
+
/**
|
|
3985
|
+
* @example
|
|
3986
|
+
* Worker
|
|
3987
|
+
*/
|
|
2109
3988
|
type?: string;
|
|
2110
3989
|
static names(): {
|
|
2111
3990
|
[key: string]: string;
|
|
@@ -2118,16 +3997,56 @@ export declare class GetJobResponseBodyPodsHistoryPods extends $tea.Model {
|
|
|
2118
3997
|
});
|
|
2119
3998
|
}
|
|
2120
3999
|
export declare class GetJobResponseBodyPods extends $tea.Model {
|
|
4000
|
+
/**
|
|
4001
|
+
* @example
|
|
4002
|
+
* 2021-01-12T14:36:01Z
|
|
4003
|
+
*/
|
|
2121
4004
|
gmtCreateTime?: string;
|
|
4005
|
+
/**
|
|
4006
|
+
* @example
|
|
4007
|
+
* 2021-01-12T15:36:05Z
|
|
4008
|
+
*/
|
|
2122
4009
|
gmtFinishTime?: string;
|
|
4010
|
+
/**
|
|
4011
|
+
* @example
|
|
4012
|
+
* 2021-01-12T14:36:01Z
|
|
4013
|
+
*/
|
|
2123
4014
|
gmtStartTime?: string;
|
|
2124
4015
|
historyPods?: GetJobResponseBodyPodsHistoryPods[];
|
|
4016
|
+
/**
|
|
4017
|
+
* @example
|
|
4018
|
+
* 10.0.1.2
|
|
4019
|
+
*/
|
|
2125
4020
|
ip?: string;
|
|
4021
|
+
/**
|
|
4022
|
+
* @example
|
|
4023
|
+
* Worker
|
|
4024
|
+
*/
|
|
2126
4025
|
podId?: string;
|
|
4026
|
+
/**
|
|
4027
|
+
* @example
|
|
4028
|
+
* fe846462-af2c-4521-bd6f-96787a57591d
|
|
4029
|
+
*/
|
|
2127
4030
|
podUid?: string;
|
|
4031
|
+
/**
|
|
4032
|
+
* @example
|
|
4033
|
+
* Normal
|
|
4034
|
+
*/
|
|
2128
4035
|
resourceType?: string;
|
|
4036
|
+
/**
|
|
4037
|
+
* @example
|
|
4038
|
+
* Running
|
|
4039
|
+
*/
|
|
2129
4040
|
status?: string;
|
|
4041
|
+
/**
|
|
4042
|
+
* @example
|
|
4043
|
+
* Normal
|
|
4044
|
+
*/
|
|
2130
4045
|
subStatus?: string;
|
|
4046
|
+
/**
|
|
4047
|
+
* @example
|
|
4048
|
+
* Worker
|
|
4049
|
+
*/
|
|
2131
4050
|
type?: string;
|
|
2132
4051
|
static names(): {
|
|
2133
4052
|
[key: string]: string;
|
|
@@ -2145,413 +4064,411 @@ export default class Client extends OpenApi {
|
|
|
2145
4064
|
[key: string]: string;
|
|
2146
4065
|
}, endpoint: string): string;
|
|
2147
4066
|
/**
|
|
2148
|
-
*
|
|
4067
|
+
* 创建一个DLC作业
|
|
2149
4068
|
*
|
|
2150
|
-
* @param request CreateJobRequest
|
|
2151
|
-
* @param headers map
|
|
2152
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
2153
|
-
* @
|
|
4069
|
+
* @param request - CreateJobRequest
|
|
4070
|
+
* @param headers - map
|
|
4071
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4072
|
+
* @returns CreateJobResponse
|
|
2154
4073
|
*/
|
|
2155
4074
|
createJobWithOptions(request: CreateJobRequest, headers: {
|
|
2156
4075
|
[key: string]: string;
|
|
2157
4076
|
}, runtime: $Util.RuntimeOptions): Promise<CreateJobResponse>;
|
|
2158
4077
|
/**
|
|
2159
|
-
*
|
|
4078
|
+
* 创建一个DLC作业
|
|
2160
4079
|
*
|
|
2161
|
-
* @param request CreateJobRequest
|
|
2162
|
-
* @
|
|
4080
|
+
* @param request - CreateJobRequest
|
|
4081
|
+
* @returns CreateJobResponse
|
|
2163
4082
|
*/
|
|
2164
4083
|
createJob(request: CreateJobRequest): Promise<CreateJobResponse>;
|
|
2165
4084
|
/**
|
|
2166
|
-
*
|
|
4085
|
+
* 创建一个Tensorboard
|
|
2167
4086
|
*
|
|
2168
|
-
* @param request CreateTensorboardRequest
|
|
2169
|
-
* @param headers map
|
|
2170
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
2171
|
-
* @
|
|
4087
|
+
* @param request - CreateTensorboardRequest
|
|
4088
|
+
* @param headers - map
|
|
4089
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4090
|
+
* @returns CreateTensorboardResponse
|
|
2172
4091
|
*/
|
|
2173
4092
|
createTensorboardWithOptions(request: CreateTensorboardRequest, headers: {
|
|
2174
4093
|
[key: string]: string;
|
|
2175
4094
|
}, runtime: $Util.RuntimeOptions): Promise<CreateTensorboardResponse>;
|
|
2176
4095
|
/**
|
|
2177
|
-
*
|
|
4096
|
+
* 创建一个Tensorboard
|
|
2178
4097
|
*
|
|
2179
|
-
* @param request CreateTensorboardRequest
|
|
2180
|
-
* @
|
|
4098
|
+
* @param request - CreateTensorboardRequest
|
|
4099
|
+
* @returns CreateTensorboardResponse
|
|
2181
4100
|
*/
|
|
2182
4101
|
createTensorboard(request: CreateTensorboardRequest): Promise<CreateTensorboardResponse>;
|
|
2183
4102
|
/**
|
|
2184
|
-
*
|
|
4103
|
+
* 删除一个DLC作业
|
|
2185
4104
|
*
|
|
2186
|
-
* @param headers map
|
|
2187
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
2188
|
-
* @
|
|
4105
|
+
* @param headers - map
|
|
4106
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4107
|
+
* @returns DeleteJobResponse
|
|
2189
4108
|
*/
|
|
2190
4109
|
deleteJobWithOptions(JobId: string, headers: {
|
|
2191
4110
|
[key: string]: string;
|
|
2192
4111
|
}, runtime: $Util.RuntimeOptions): Promise<DeleteJobResponse>;
|
|
2193
4112
|
/**
|
|
2194
|
-
*
|
|
2195
|
-
*
|
|
2196
|
-
* @return DeleteJobResponse
|
|
4113
|
+
* 删除一个DLC作业
|
|
4114
|
+
* @returns DeleteJobResponse
|
|
2197
4115
|
*/
|
|
2198
4116
|
deleteJob(JobId: string): Promise<DeleteJobResponse>;
|
|
2199
4117
|
/**
|
|
2200
|
-
*
|
|
4118
|
+
* 删除一个数据源配置
|
|
2201
4119
|
*
|
|
2202
|
-
* @param request DeleteTensorboardRequest
|
|
2203
|
-
* @param headers map
|
|
2204
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
2205
|
-
* @
|
|
4120
|
+
* @param request - DeleteTensorboardRequest
|
|
4121
|
+
* @param headers - map
|
|
4122
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4123
|
+
* @returns DeleteTensorboardResponse
|
|
2206
4124
|
*/
|
|
2207
4125
|
deleteTensorboardWithOptions(TensorboardId: string, request: DeleteTensorboardRequest, headers: {
|
|
2208
4126
|
[key: string]: string;
|
|
2209
4127
|
}, runtime: $Util.RuntimeOptions): Promise<DeleteTensorboardResponse>;
|
|
2210
4128
|
/**
|
|
2211
|
-
*
|
|
4129
|
+
* 删除一个数据源配置
|
|
2212
4130
|
*
|
|
2213
|
-
* @param request DeleteTensorboardRequest
|
|
2214
|
-
* @
|
|
4131
|
+
* @param request - DeleteTensorboardRequest
|
|
4132
|
+
* @returns DeleteTensorboardResponse
|
|
2215
4133
|
*/
|
|
2216
4134
|
deleteTensorboard(TensorboardId: string, request: DeleteTensorboardRequest): Promise<DeleteTensorboardResponse>;
|
|
2217
4135
|
/**
|
|
2218
|
-
*
|
|
4136
|
+
* 获取一个DLC作业详情
|
|
2219
4137
|
*
|
|
2220
|
-
* @param request GetJobRequest
|
|
2221
|
-
* @param headers map
|
|
2222
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
2223
|
-
* @
|
|
4138
|
+
* @param request - GetJobRequest
|
|
4139
|
+
* @param headers - map
|
|
4140
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4141
|
+
* @returns GetJobResponse
|
|
2224
4142
|
*/
|
|
2225
4143
|
getJobWithOptions(JobId: string, request: GetJobRequest, headers: {
|
|
2226
4144
|
[key: string]: string;
|
|
2227
4145
|
}, runtime: $Util.RuntimeOptions): Promise<GetJobResponse>;
|
|
2228
4146
|
/**
|
|
2229
|
-
*
|
|
4147
|
+
* 获取一个DLC作业详情
|
|
2230
4148
|
*
|
|
2231
|
-
* @param request GetJobRequest
|
|
2232
|
-
* @
|
|
4149
|
+
* @param request - GetJobRequest
|
|
4150
|
+
* @returns GetJobResponse
|
|
2233
4151
|
*/
|
|
2234
4152
|
getJob(JobId: string, request: GetJobRequest): Promise<GetJobResponse>;
|
|
2235
4153
|
/**
|
|
2236
|
-
*
|
|
4154
|
+
* 获取作业的事件
|
|
2237
4155
|
*
|
|
2238
|
-
* @param request GetJobEventsRequest
|
|
2239
|
-
* @param headers map
|
|
2240
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
2241
|
-
* @
|
|
4156
|
+
* @param request - GetJobEventsRequest
|
|
4157
|
+
* @param headers - map
|
|
4158
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4159
|
+
* @returns GetJobEventsResponse
|
|
2242
4160
|
*/
|
|
2243
4161
|
getJobEventsWithOptions(JobId: string, request: GetJobEventsRequest, headers: {
|
|
2244
4162
|
[key: string]: string;
|
|
2245
4163
|
}, runtime: $Util.RuntimeOptions): Promise<GetJobEventsResponse>;
|
|
2246
4164
|
/**
|
|
2247
|
-
*
|
|
4165
|
+
* 获取作业的事件
|
|
2248
4166
|
*
|
|
2249
|
-
* @param request GetJobEventsRequest
|
|
2250
|
-
* @
|
|
4167
|
+
* @param request - GetJobEventsRequest
|
|
4168
|
+
* @returns GetJobEventsResponse
|
|
2251
4169
|
*/
|
|
2252
4170
|
getJobEvents(JobId: string, request: GetJobEventsRequest): Promise<GetJobEventsResponse>;
|
|
2253
4171
|
/**
|
|
2254
|
-
*
|
|
4172
|
+
* 获取一个作业的资源监控指标
|
|
2255
4173
|
*
|
|
2256
|
-
* @param request GetJobMetricsRequest
|
|
2257
|
-
* @param headers map
|
|
2258
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
2259
|
-
* @
|
|
4174
|
+
* @param request - GetJobMetricsRequest
|
|
4175
|
+
* @param headers - map
|
|
4176
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4177
|
+
* @returns GetJobMetricsResponse
|
|
2260
4178
|
*/
|
|
2261
4179
|
getJobMetricsWithOptions(JobId: string, request: GetJobMetricsRequest, headers: {
|
|
2262
4180
|
[key: string]: string;
|
|
2263
4181
|
}, runtime: $Util.RuntimeOptions): Promise<GetJobMetricsResponse>;
|
|
2264
4182
|
/**
|
|
2265
|
-
*
|
|
4183
|
+
* 获取一个作业的资源监控指标
|
|
2266
4184
|
*
|
|
2267
|
-
* @param request GetJobMetricsRequest
|
|
2268
|
-
* @
|
|
4185
|
+
* @param request - GetJobMetricsRequest
|
|
4186
|
+
* @returns GetJobMetricsResponse
|
|
2269
4187
|
*/
|
|
2270
4188
|
getJobMetrics(JobId: string, request: GetJobMetricsRequest): Promise<GetJobMetricsResponse>;
|
|
2271
4189
|
/**
|
|
2272
|
-
*
|
|
4190
|
+
* 获取DLC作业某次算力健康检测结果
|
|
2273
4191
|
*
|
|
2274
|
-
* @param request GetJobSanityCheckResultRequest
|
|
2275
|
-
* @param headers map
|
|
2276
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
2277
|
-
* @
|
|
4192
|
+
* @param request - GetJobSanityCheckResultRequest
|
|
4193
|
+
* @param headers - map
|
|
4194
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4195
|
+
* @returns GetJobSanityCheckResultResponse
|
|
2278
4196
|
*/
|
|
2279
4197
|
getJobSanityCheckResultWithOptions(JobId: string, request: GetJobSanityCheckResultRequest, headers: {
|
|
2280
4198
|
[key: string]: string;
|
|
2281
4199
|
}, runtime: $Util.RuntimeOptions): Promise<GetJobSanityCheckResultResponse>;
|
|
2282
4200
|
/**
|
|
2283
|
-
*
|
|
4201
|
+
* 获取DLC作业某次算力健康检测结果
|
|
2284
4202
|
*
|
|
2285
|
-
* @param request GetJobSanityCheckResultRequest
|
|
2286
|
-
* @
|
|
4203
|
+
* @param request - GetJobSanityCheckResultRequest
|
|
4204
|
+
* @returns GetJobSanityCheckResultResponse
|
|
2287
4205
|
*/
|
|
2288
4206
|
getJobSanityCheckResult(JobId: string, request: GetJobSanityCheckResultRequest): Promise<GetJobSanityCheckResultResponse>;
|
|
2289
4207
|
/**
|
|
2290
|
-
*
|
|
4208
|
+
* 获取作业中一个运行实例的系统事件
|
|
2291
4209
|
*
|
|
2292
|
-
* @param request GetPodEventsRequest
|
|
2293
|
-
* @param headers map
|
|
2294
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
2295
|
-
* @
|
|
4210
|
+
* @param request - GetPodEventsRequest
|
|
4211
|
+
* @param headers - map
|
|
4212
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4213
|
+
* @returns GetPodEventsResponse
|
|
2296
4214
|
*/
|
|
2297
4215
|
getPodEventsWithOptions(JobId: string, PodId: string, request: GetPodEventsRequest, headers: {
|
|
2298
4216
|
[key: string]: string;
|
|
2299
4217
|
}, runtime: $Util.RuntimeOptions): Promise<GetPodEventsResponse>;
|
|
2300
4218
|
/**
|
|
2301
|
-
*
|
|
4219
|
+
* 获取作业中一个运行实例的系统事件
|
|
2302
4220
|
*
|
|
2303
|
-
* @param request GetPodEventsRequest
|
|
2304
|
-
* @
|
|
4221
|
+
* @param request - GetPodEventsRequest
|
|
4222
|
+
* @returns GetPodEventsResponse
|
|
2305
4223
|
*/
|
|
2306
4224
|
getPodEvents(JobId: string, PodId: string, request: GetPodEventsRequest): Promise<GetPodEventsResponse>;
|
|
2307
4225
|
/**
|
|
2308
|
-
*
|
|
4226
|
+
* 获取作业中一个运行实例的日志
|
|
2309
4227
|
*
|
|
2310
|
-
* @param request GetPodLogsRequest
|
|
2311
|
-
* @param headers map
|
|
2312
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
2313
|
-
* @
|
|
4228
|
+
* @param request - GetPodLogsRequest
|
|
4229
|
+
* @param headers - map
|
|
4230
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4231
|
+
* @returns GetPodLogsResponse
|
|
2314
4232
|
*/
|
|
2315
4233
|
getPodLogsWithOptions(JobId: string, PodId: string, request: GetPodLogsRequest, headers: {
|
|
2316
4234
|
[key: string]: string;
|
|
2317
4235
|
}, runtime: $Util.RuntimeOptions): Promise<GetPodLogsResponse>;
|
|
2318
4236
|
/**
|
|
2319
|
-
*
|
|
4237
|
+
* 获取作业中一个运行实例的日志
|
|
2320
4238
|
*
|
|
2321
|
-
* @param request GetPodLogsRequest
|
|
2322
|
-
* @
|
|
4239
|
+
* @param request - GetPodLogsRequest
|
|
4240
|
+
* @returns GetPodLogsResponse
|
|
2323
4241
|
*/
|
|
2324
4242
|
getPodLogs(JobId: string, PodId: string, request: GetPodLogsRequest): Promise<GetPodLogsResponse>;
|
|
2325
4243
|
/**
|
|
2326
|
-
*
|
|
4244
|
+
* 获取一个Tensorboard
|
|
2327
4245
|
*
|
|
2328
|
-
* @param request GetTensorboardRequest
|
|
2329
|
-
* @param headers map
|
|
2330
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
2331
|
-
* @
|
|
4246
|
+
* @param request - GetTensorboardRequest
|
|
4247
|
+
* @param headers - map
|
|
4248
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4249
|
+
* @returns GetTensorboardResponse
|
|
2332
4250
|
*/
|
|
2333
4251
|
getTensorboardWithOptions(TensorboardId: string, request: GetTensorboardRequest, headers: {
|
|
2334
4252
|
[key: string]: string;
|
|
2335
4253
|
}, runtime: $Util.RuntimeOptions): Promise<GetTensorboardResponse>;
|
|
2336
4254
|
/**
|
|
2337
|
-
*
|
|
4255
|
+
* 获取一个Tensorboard
|
|
2338
4256
|
*
|
|
2339
|
-
* @param request GetTensorboardRequest
|
|
2340
|
-
* @
|
|
4257
|
+
* @param request - GetTensorboardRequest
|
|
4258
|
+
* @returns GetTensorboardResponse
|
|
2341
4259
|
*/
|
|
2342
4260
|
getTensorboard(TensorboardId: string, request: GetTensorboardRequest): Promise<GetTensorboardResponse>;
|
|
2343
4261
|
/**
|
|
2344
|
-
*
|
|
4262
|
+
* Get the shared url for tensorboard
|
|
2345
4263
|
*
|
|
2346
|
-
* @param request GetTensorboardSharedUrlRequest
|
|
2347
|
-
* @param headers map
|
|
2348
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
2349
|
-
* @
|
|
4264
|
+
* @param request - GetTensorboardSharedUrlRequest
|
|
4265
|
+
* @param headers - map
|
|
4266
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4267
|
+
* @returns GetTensorboardSharedUrlResponse
|
|
2350
4268
|
*/
|
|
2351
4269
|
getTensorboardSharedUrlWithOptions(TensorboardId: string, request: GetTensorboardSharedUrlRequest, headers: {
|
|
2352
4270
|
[key: string]: string;
|
|
2353
4271
|
}, runtime: $Util.RuntimeOptions): Promise<GetTensorboardSharedUrlResponse>;
|
|
2354
4272
|
/**
|
|
2355
|
-
*
|
|
4273
|
+
* Get the shared url for tensorboard
|
|
2356
4274
|
*
|
|
2357
|
-
* @param request GetTensorboardSharedUrlRequest
|
|
2358
|
-
* @
|
|
4275
|
+
* @param request - GetTensorboardSharedUrlRequest
|
|
4276
|
+
* @returns GetTensorboardSharedUrlResponse
|
|
2359
4277
|
*/
|
|
2360
4278
|
getTensorboardSharedUrl(TensorboardId: string, request: GetTensorboardSharedUrlRequest): Promise<GetTensorboardSharedUrlResponse>;
|
|
2361
4279
|
/**
|
|
2362
|
-
*
|
|
4280
|
+
* 获取用户Token
|
|
2363
4281
|
*
|
|
2364
|
-
* @param request GetTokenRequest
|
|
2365
|
-
* @param headers map
|
|
2366
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
2367
|
-
* @
|
|
4282
|
+
* @param request - GetTokenRequest
|
|
4283
|
+
* @param headers - map
|
|
4284
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4285
|
+
* @returns GetTokenResponse
|
|
2368
4286
|
*/
|
|
2369
4287
|
getTokenWithOptions(request: GetTokenRequest, headers: {
|
|
2370
4288
|
[key: string]: string;
|
|
2371
4289
|
}, runtime: $Util.RuntimeOptions): Promise<GetTokenResponse>;
|
|
2372
4290
|
/**
|
|
2373
|
-
*
|
|
4291
|
+
* 获取用户Token
|
|
2374
4292
|
*
|
|
2375
|
-
* @param request GetTokenRequest
|
|
2376
|
-
* @
|
|
4293
|
+
* @param request - GetTokenRequest
|
|
4294
|
+
* @returns GetTokenResponse
|
|
2377
4295
|
*/
|
|
2378
4296
|
getToken(request: GetTokenRequest): Promise<GetTokenResponse>;
|
|
2379
4297
|
/**
|
|
2380
|
-
*
|
|
4298
|
+
* Get the url for accessing pod's terminal in k8s
|
|
2381
4299
|
*
|
|
2382
|
-
* @param request GetWebTerminalRequest
|
|
2383
|
-
* @param headers map
|
|
2384
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
2385
|
-
* @
|
|
4300
|
+
* @param request - GetWebTerminalRequest
|
|
4301
|
+
* @param headers - map
|
|
4302
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4303
|
+
* @returns GetWebTerminalResponse
|
|
2386
4304
|
*/
|
|
2387
4305
|
getWebTerminalWithOptions(JobId: string, PodId: string, request: GetWebTerminalRequest, headers: {
|
|
2388
4306
|
[key: string]: string;
|
|
2389
4307
|
}, runtime: $Util.RuntimeOptions): Promise<GetWebTerminalResponse>;
|
|
2390
4308
|
/**
|
|
2391
|
-
*
|
|
4309
|
+
* Get the url for accessing pod's terminal in k8s
|
|
2392
4310
|
*
|
|
2393
|
-
* @param request GetWebTerminalRequest
|
|
2394
|
-
* @
|
|
4311
|
+
* @param request - GetWebTerminalRequest
|
|
4312
|
+
* @returns GetWebTerminalResponse
|
|
2395
4313
|
*/
|
|
2396
4314
|
getWebTerminal(JobId: string, PodId: string, request: GetWebTerminalRequest): Promise<GetWebTerminalResponse>;
|
|
2397
4315
|
/**
|
|
2398
|
-
*
|
|
4316
|
+
* ListEcsSpecs
|
|
2399
4317
|
*
|
|
2400
|
-
* @param request ListEcsSpecsRequest
|
|
2401
|
-
* @param headers map
|
|
2402
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
2403
|
-
* @
|
|
4318
|
+
* @param request - ListEcsSpecsRequest
|
|
4319
|
+
* @param headers - map
|
|
4320
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4321
|
+
* @returns ListEcsSpecsResponse
|
|
2404
4322
|
*/
|
|
2405
4323
|
listEcsSpecsWithOptions(request: ListEcsSpecsRequest, headers: {
|
|
2406
4324
|
[key: string]: string;
|
|
2407
4325
|
}, runtime: $Util.RuntimeOptions): Promise<ListEcsSpecsResponse>;
|
|
2408
4326
|
/**
|
|
2409
|
-
*
|
|
4327
|
+
* ListEcsSpecs
|
|
2410
4328
|
*
|
|
2411
|
-
* @param request ListEcsSpecsRequest
|
|
2412
|
-
* @
|
|
4329
|
+
* @param request - ListEcsSpecsRequest
|
|
4330
|
+
* @returns ListEcsSpecsResponse
|
|
2413
4331
|
*/
|
|
2414
4332
|
listEcsSpecs(request: ListEcsSpecsRequest): Promise<ListEcsSpecsResponse>;
|
|
2415
4333
|
/**
|
|
2416
|
-
*
|
|
4334
|
+
* 获取某个DLC作业的多次算力健康检测结果
|
|
2417
4335
|
*
|
|
2418
|
-
* @param request ListJobSanityCheckResultsRequest
|
|
2419
|
-
* @param headers map
|
|
2420
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
2421
|
-
* @
|
|
4336
|
+
* @param request - ListJobSanityCheckResultsRequest
|
|
4337
|
+
* @param headers - map
|
|
4338
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4339
|
+
* @returns ListJobSanityCheckResultsResponse
|
|
2422
4340
|
*/
|
|
2423
4341
|
listJobSanityCheckResultsWithOptions(JobId: string, request: ListJobSanityCheckResultsRequest, headers: {
|
|
2424
4342
|
[key: string]: string;
|
|
2425
4343
|
}, runtime: $Util.RuntimeOptions): Promise<ListJobSanityCheckResultsResponse>;
|
|
2426
4344
|
/**
|
|
2427
|
-
*
|
|
4345
|
+
* 获取某个DLC作业的多次算力健康检测结果
|
|
2428
4346
|
*
|
|
2429
|
-
* @param request ListJobSanityCheckResultsRequest
|
|
2430
|
-
* @
|
|
4347
|
+
* @param request - ListJobSanityCheckResultsRequest
|
|
4348
|
+
* @returns ListJobSanityCheckResultsResponse
|
|
2431
4349
|
*/
|
|
2432
4350
|
listJobSanityCheckResults(JobId: string, request: ListJobSanityCheckResultsRequest): Promise<ListJobSanityCheckResultsResponse>;
|
|
2433
4351
|
/**
|
|
2434
|
-
*
|
|
4352
|
+
* 根据过滤条件获取DLC作业列表
|
|
2435
4353
|
*
|
|
2436
|
-
* @param tmpReq ListJobsRequest
|
|
2437
|
-
* @param headers map
|
|
2438
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
2439
|
-
* @
|
|
4354
|
+
* @param tmpReq - ListJobsRequest
|
|
4355
|
+
* @param headers - map
|
|
4356
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4357
|
+
* @returns ListJobsResponse
|
|
2440
4358
|
*/
|
|
2441
4359
|
listJobsWithOptions(tmpReq: ListJobsRequest, headers: {
|
|
2442
4360
|
[key: string]: string;
|
|
2443
4361
|
}, runtime: $Util.RuntimeOptions): Promise<ListJobsResponse>;
|
|
2444
4362
|
/**
|
|
2445
|
-
*
|
|
4363
|
+
* 根据过滤条件获取DLC作业列表
|
|
2446
4364
|
*
|
|
2447
|
-
* @param request ListJobsRequest
|
|
2448
|
-
* @
|
|
4365
|
+
* @param request - ListJobsRequest
|
|
4366
|
+
* @returns ListJobsResponse
|
|
2449
4367
|
*/
|
|
2450
4368
|
listJobs(request: ListJobsRequest): Promise<ListJobsResponse>;
|
|
2451
4369
|
/**
|
|
2452
|
-
*
|
|
4370
|
+
* 获取Tensorboard
|
|
2453
4371
|
*
|
|
2454
|
-
* @param request ListTensorboardsRequest
|
|
2455
|
-
* @param headers map
|
|
2456
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
2457
|
-
* @
|
|
4372
|
+
* @param request - ListTensorboardsRequest
|
|
4373
|
+
* @param headers - map
|
|
4374
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4375
|
+
* @returns ListTensorboardsResponse
|
|
2458
4376
|
*/
|
|
2459
4377
|
listTensorboardsWithOptions(request: ListTensorboardsRequest, headers: {
|
|
2460
4378
|
[key: string]: string;
|
|
2461
4379
|
}, runtime: $Util.RuntimeOptions): Promise<ListTensorboardsResponse>;
|
|
2462
4380
|
/**
|
|
2463
|
-
*
|
|
4381
|
+
* 获取Tensorboard
|
|
2464
4382
|
*
|
|
2465
|
-
* @param request ListTensorboardsRequest
|
|
2466
|
-
* @
|
|
4383
|
+
* @param request - ListTensorboardsRequest
|
|
4384
|
+
* @returns ListTensorboardsResponse
|
|
2467
4385
|
*/
|
|
2468
4386
|
listTensorboards(request: ListTensorboardsRequest): Promise<ListTensorboardsResponse>;
|
|
2469
4387
|
/**
|
|
2470
|
-
*
|
|
4388
|
+
* 开始运行tensorboard
|
|
2471
4389
|
*
|
|
2472
|
-
* @param request StartTensorboardRequest
|
|
2473
|
-
* @param headers map
|
|
2474
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
2475
|
-
* @
|
|
4390
|
+
* @param request - StartTensorboardRequest
|
|
4391
|
+
* @param headers - map
|
|
4392
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4393
|
+
* @returns StartTensorboardResponse
|
|
2476
4394
|
*/
|
|
2477
4395
|
startTensorboardWithOptions(TensorboardId: string, request: StartTensorboardRequest, headers: {
|
|
2478
4396
|
[key: string]: string;
|
|
2479
4397
|
}, runtime: $Util.RuntimeOptions): Promise<StartTensorboardResponse>;
|
|
2480
4398
|
/**
|
|
2481
|
-
*
|
|
4399
|
+
* 开始运行tensorboard
|
|
2482
4400
|
*
|
|
2483
|
-
* @param request StartTensorboardRequest
|
|
2484
|
-
* @
|
|
4401
|
+
* @param request - StartTensorboardRequest
|
|
4402
|
+
* @returns StartTensorboardResponse
|
|
2485
4403
|
*/
|
|
2486
4404
|
startTensorboard(TensorboardId: string, request: StartTensorboardRequest): Promise<StartTensorboardResponse>;
|
|
2487
4405
|
/**
|
|
2488
|
-
*
|
|
4406
|
+
* 停止一个DLC作业
|
|
2489
4407
|
*
|
|
2490
|
-
* @param headers map
|
|
2491
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
2492
|
-
* @
|
|
4408
|
+
* @param headers - map
|
|
4409
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4410
|
+
* @returns StopJobResponse
|
|
2493
4411
|
*/
|
|
2494
4412
|
stopJobWithOptions(JobId: string, headers: {
|
|
2495
4413
|
[key: string]: string;
|
|
2496
4414
|
}, runtime: $Util.RuntimeOptions): Promise<StopJobResponse>;
|
|
2497
4415
|
/**
|
|
2498
|
-
*
|
|
2499
|
-
*
|
|
2500
|
-
* @return StopJobResponse
|
|
4416
|
+
* 停止一个DLC作业
|
|
4417
|
+
* @returns StopJobResponse
|
|
2501
4418
|
*/
|
|
2502
4419
|
stopJob(JobId: string): Promise<StopJobResponse>;
|
|
2503
4420
|
/**
|
|
2504
|
-
*
|
|
4421
|
+
* 停止运行tensorboard
|
|
2505
4422
|
*
|
|
2506
|
-
* @param request StopTensorboardRequest
|
|
2507
|
-
* @param headers map
|
|
2508
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
2509
|
-
* @
|
|
4423
|
+
* @param request - StopTensorboardRequest
|
|
4424
|
+
* @param headers - map
|
|
4425
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4426
|
+
* @returns StopTensorboardResponse
|
|
2510
4427
|
*/
|
|
2511
4428
|
stopTensorboardWithOptions(TensorboardId: string, request: StopTensorboardRequest, headers: {
|
|
2512
4429
|
[key: string]: string;
|
|
2513
4430
|
}, runtime: $Util.RuntimeOptions): Promise<StopTensorboardResponse>;
|
|
2514
4431
|
/**
|
|
2515
|
-
*
|
|
4432
|
+
* 停止运行tensorboard
|
|
2516
4433
|
*
|
|
2517
|
-
* @param request StopTensorboardRequest
|
|
2518
|
-
* @
|
|
4434
|
+
* @param request - StopTensorboardRequest
|
|
4435
|
+
* @returns StopTensorboardResponse
|
|
2519
4436
|
*/
|
|
2520
4437
|
stopTensorboard(TensorboardId: string, request: StopTensorboardRequest): Promise<StopTensorboardResponse>;
|
|
2521
4438
|
/**
|
|
2522
|
-
*
|
|
4439
|
+
* 更新一个Job
|
|
2523
4440
|
*
|
|
2524
|
-
* @param request UpdateJobRequest
|
|
2525
|
-
* @param headers map
|
|
2526
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
2527
|
-
* @
|
|
4441
|
+
* @param request - UpdateJobRequest
|
|
4442
|
+
* @param headers - map
|
|
4443
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4444
|
+
* @returns UpdateJobResponse
|
|
2528
4445
|
*/
|
|
2529
4446
|
updateJobWithOptions(JobId: string, request: UpdateJobRequest, headers: {
|
|
2530
4447
|
[key: string]: string;
|
|
2531
4448
|
}, runtime: $Util.RuntimeOptions): Promise<UpdateJobResponse>;
|
|
2532
4449
|
/**
|
|
2533
|
-
*
|
|
4450
|
+
* 更新一个Job
|
|
2534
4451
|
*
|
|
2535
|
-
* @param request UpdateJobRequest
|
|
2536
|
-
* @
|
|
4452
|
+
* @param request - UpdateJobRequest
|
|
4453
|
+
* @returns UpdateJobResponse
|
|
2537
4454
|
*/
|
|
2538
4455
|
updateJob(JobId: string, request: UpdateJobRequest): Promise<UpdateJobResponse>;
|
|
2539
4456
|
/**
|
|
2540
|
-
*
|
|
4457
|
+
* 更新tensorboard
|
|
2541
4458
|
*
|
|
2542
|
-
* @param request UpdateTensorboardRequest
|
|
2543
|
-
* @param headers map
|
|
2544
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
2545
|
-
* @
|
|
4459
|
+
* @param request - UpdateTensorboardRequest
|
|
4460
|
+
* @param headers - map
|
|
4461
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4462
|
+
* @returns UpdateTensorboardResponse
|
|
2546
4463
|
*/
|
|
2547
4464
|
updateTensorboardWithOptions(TensorboardId: string, request: UpdateTensorboardRequest, headers: {
|
|
2548
4465
|
[key: string]: string;
|
|
2549
4466
|
}, runtime: $Util.RuntimeOptions): Promise<UpdateTensorboardResponse>;
|
|
2550
4467
|
/**
|
|
2551
|
-
*
|
|
4468
|
+
* 更新tensorboard
|
|
2552
4469
|
*
|
|
2553
|
-
* @param request UpdateTensorboardRequest
|
|
2554
|
-
* @
|
|
4470
|
+
* @param request - UpdateTensorboardRequest
|
|
4471
|
+
* @returns UpdateTensorboardResponse
|
|
2555
4472
|
*/
|
|
2556
4473
|
updateTensorboard(TensorboardId: string, request: UpdateTensorboardRequest): Promise<UpdateTensorboardResponse>;
|
|
2557
4474
|
}
|