@alicloud/pai-dlc20201203 1.4.17 → 1.4.19

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 CHANGED
@@ -1,963 +1,1415 @@
1
1
  /**
2
2
  */
3
- import * as $Util from '@alicloud/tea-util';
4
- import OpenApi, * as $OpenApi from '@alicloud/openapi-client';
5
- import * as $tea from '@alicloud/tea-typescript';
6
- export declare class AIMasterMessage extends $tea.Model {
7
- extended?: string;
8
- jobRestartCount?: number;
9
- messageContent?: string;
10
- messageEvent?: string;
11
- messageVersion?: number;
12
- restartType?: string;
13
- static names(): {
14
- [key: string]: string;
15
- };
16
- static types(): {
17
- [key: string]: any;
18
- };
19
- constructor(map?: {
20
- [key: string]: any;
21
- });
22
- }
23
- export declare class AliyunAccounts extends $tea.Model {
24
- aliyunUid?: string;
25
- employeeId?: string;
26
- gmtCreateTime?: string;
27
- gmtModifyTime?: string;
28
- static names(): {
29
- [key: string]: string;
30
- };
31
- static types(): {
32
- [key: string]: any;
33
- };
34
- constructor(map?: {
35
- [key: string]: any;
36
- });
37
- }
38
- export declare class AssignNodeSpec extends $tea.Model {
3
+ import OpenApi from '@alicloud/openapi-core';
4
+ import { $OpenApiUtil } from '@alicloud/openapi-core';
5
+ import * as $dara from '@darabonba/typescript';
6
+ export declare class JobItemCodeSource extends $dara.Model {
39
7
  /**
40
8
  * @example
41
- * lingjxxxxxxxx
9
+ * master
42
10
  */
43
- antiAffinityNodeNames?: string;
11
+ branch?: string;
44
12
  /**
45
13
  * @example
46
- * true
14
+ * code-20210111103721-85qz78ia96lu
47
15
  */
48
- enableAssignNode?: boolean;
16
+ codeSourceId?: string;
49
17
  /**
50
18
  * @example
51
- * lingjxxxxxxxx
19
+ * 44da109b59f8596152987eaa8f3b2487bb72ea63
52
20
  */
53
- nodeNames?: string;
21
+ commit?: string;
22
+ /**
23
+ * @example
24
+ * /mnt/data
25
+ */
26
+ mountPath?: string;
54
27
  static names(): {
55
28
  [key: string]: string;
56
29
  };
57
30
  static types(): {
58
31
  [key: string]: any;
59
32
  };
33
+ validate(): void;
60
34
  constructor(map?: {
61
35
  [key: string]: any;
62
36
  });
63
37
  }
64
- export declare class AssumeUserInfo extends $tea.Model {
65
- accessKeyId?: string;
66
- id?: string;
67
- securityToken?: string;
68
- type?: string;
38
+ export declare class JobItemDataSources extends $dara.Model {
39
+ /**
40
+ * @example
41
+ * data-20210114104214-vf9lowjt3pso
42
+ */
43
+ dataSourceId?: string;
44
+ /**
45
+ * @example
46
+ * /mnt/data
47
+ */
48
+ mountPath?: string;
69
49
  static names(): {
70
50
  [key: string]: string;
71
51
  };
72
52
  static types(): {
73
53
  [key: string]: any;
74
54
  };
55
+ validate(): void;
75
56
  constructor(map?: {
76
57
  [key: string]: any;
77
58
  });
78
59
  }
79
- export declare class CodeSourceItem extends $tea.Model {
80
- /**
81
- * @example
82
- * master
83
- */
84
- codeBranch?: string;
85
- /**
86
- * @example
87
- * 44da1*******
88
- */
89
- codeCommit?: string;
90
- /**
91
- * @example
92
- * https://code.aliyun.com/pai-dlc/examples.git
93
- */
94
- codeRepo?: string;
95
- codeRepoAccessToken?: string;
96
- /**
97
- * @example
98
- * user
99
- */
100
- codeRepoUserName?: string;
101
- /**
102
- * @example
103
- * code-20210111103721-85qz*****
104
- */
105
- codeSourceId?: string;
106
- /**
107
- * @example
108
- * code source of dlc examples
109
- */
110
- description?: string;
111
- /**
112
- * @example
113
- * MyCodeSourceName1
114
- */
115
- displayName?: string;
116
- /**
117
- * @example
118
- * 2021-01-18T12:52:15Z
119
- */
120
- gmtCreateTime?: string;
121
- /**
122
- * @example
123
- * 2021-01-18T12:52:15Z
124
- */
125
- gmtModifyTime?: string;
126
- /**
127
- * @example
128
- * 115**********
129
- */
130
- userId?: string;
60
+ export declare class JobItemUserVpc extends $dara.Model {
61
+ defaultRoute?: string;
62
+ extendedCidrs?: string[];
63
+ securityGroupId?: string;
64
+ switchId?: string;
65
+ vpcId?: string;
131
66
  static names(): {
132
67
  [key: string]: string;
133
68
  };
134
69
  static types(): {
135
70
  [key: string]: any;
136
71
  };
72
+ validate(): void;
137
73
  constructor(map?: {
138
74
  [key: string]: any;
139
75
  });
140
76
  }
141
- export declare class ContainerSpec extends $tea.Model {
142
- args?: string[];
77
+ export declare class LifecyclePostStartExec extends $dara.Model {
143
78
  command?: string[];
144
- env?: EnvVar[];
145
- /**
146
- * @example
147
- * registry.cn-hangzhou.aliyuncs.com/pai-dlc/curl:v1.0.0
148
- */
149
- image?: string;
150
- /**
151
- * @example
152
- * data-init
153
- */
154
- name?: string;
155
- resources?: ResourceRequirements;
156
- /**
157
- * @example
158
- * /root
159
- */
160
- workingDir?: string;
161
79
  static names(): {
162
80
  [key: string]: string;
163
81
  };
164
82
  static types(): {
165
83
  [key: string]: any;
166
84
  };
85
+ validate(): void;
167
86
  constructor(map?: {
168
87
  [key: string]: any;
169
88
  });
170
89
  }
171
- export declare class CredentialConfig extends $tea.Model {
172
- aliyunEnvRoleKey?: string;
173
- credentialConfigItems?: CredentialConfigItem[];
174
- enableCredentialInject?: boolean;
90
+ export declare class LifecyclePostStart extends $dara.Model {
91
+ exec?: LifecyclePostStartExec;
175
92
  static names(): {
176
93
  [key: string]: string;
177
94
  };
178
95
  static types(): {
179
96
  [key: string]: any;
180
97
  };
98
+ validate(): void;
181
99
  constructor(map?: {
182
100
  [key: string]: any;
183
101
  });
184
102
  }
185
- export declare class CredentialConfigItem extends $tea.Model {
186
- key?: string;
187
- /**
188
- * **if can be null:**
189
- * true
190
- */
191
- roles?: CredentialRole[];
192
- type?: string;
103
+ export declare class LifecyclePreStopExec extends $dara.Model {
104
+ command?: string[];
193
105
  static names(): {
194
106
  [key: string]: string;
195
107
  };
196
108
  static types(): {
197
109
  [key: string]: any;
198
110
  };
111
+ validate(): void;
199
112
  constructor(map?: {
200
113
  [key: string]: any;
201
114
  });
202
115
  }
203
- export declare class CredentialRole extends $tea.Model {
204
- assumeRoleFor?: string;
205
- assumeUserInfo?: AssumeUserInfo;
206
- policy?: string;
207
- roleArn?: string;
208
- roleType?: string;
116
+ export declare class LifecyclePreStop extends $dara.Model {
117
+ exec?: LifecyclePreStopExec;
209
118
  static names(): {
210
119
  [key: string]: string;
211
120
  };
212
121
  static types(): {
213
122
  [key: string]: any;
214
123
  };
124
+ validate(): void;
215
125
  constructor(map?: {
216
126
  [key: string]: any;
217
127
  });
218
128
  }
219
- export declare class DataSourceItem extends $tea.Model {
220
- /**
221
- * @example
222
- * data-20210114104214-vf9lowjt3pso
223
- */
224
- dataSourceId?: string;
225
- /**
226
- * @example
227
- * nas
228
- */
229
- dataSourceType?: string;
129
+ export declare class CreateJobRequestCodeSource extends $dara.Model {
230
130
  /**
231
131
  * @example
232
- * data source of dlc examples
132
+ * master
233
133
  */
234
- description?: string;
134
+ branch?: string;
235
135
  /**
236
136
  * @example
237
- * nas-data
137
+ * code-20210111103721-xxxxxxx
238
138
  */
239
- displayName?: string;
139
+ codeSourceId?: string;
240
140
  /**
241
141
  * @example
242
- * oss-cn-beijing-internal.aliyuncs.com
142
+ * 44da109b5******
243
143
  */
244
- endpoint?: string;
144
+ commit?: string;
245
145
  /**
246
146
  * @example
247
- * 1ca404****
147
+ * /root/data
248
148
  */
249
- fileSystemId?: string;
149
+ mountPath?: string;
150
+ static names(): {
151
+ [key: string]: string;
152
+ };
153
+ static types(): {
154
+ [key: string]: any;
155
+ };
156
+ validate(): void;
157
+ constructor(map?: {
158
+ [key: string]: any;
159
+ });
160
+ }
161
+ export declare class CreateJobRequestDataSources extends $dara.Model {
250
162
  /**
251
163
  * @example
252
- * 2021-01-12T14:35:00Z
164
+ * d-cn9dl*******
253
165
  */
254
- gmtCreateTime?: string;
166
+ dataSourceId?: string;
167
+ dataSourceVersion?: string;
255
168
  /**
256
169
  * @example
257
- * 2021-01-12T14:36:00Z
170
+ * /root/data
258
171
  */
259
- gmtModifyTime?: string;
172
+ mountPath?: string;
173
+ options?: string;
260
174
  /**
261
175
  * @example
262
- * /root/data/
176
+ * oss://bucket.oss-cn-hangzhou-internal.aliyuncs.com/path/
263
177
  */
264
- mountPath?: string;
178
+ uri?: string;
179
+ static names(): {
180
+ [key: string]: string;
181
+ };
182
+ static types(): {
183
+ [key: string]: any;
184
+ };
185
+ validate(): void;
186
+ constructor(map?: {
187
+ [key: string]: any;
188
+ });
189
+ }
190
+ export declare class CreateJobRequestUserVpc extends $dara.Model {
191
+ defaultRoute?: string;
192
+ extendedCIDRs?: string[];
265
193
  /**
266
194
  * @example
267
- * {"key": "value"}
195
+ * sg-abcdef****
268
196
  */
269
- options?: string;
197
+ securityGroupId?: string;
270
198
  /**
271
199
  * @example
272
- * oss://mybucket/path/to/dir
200
+ * vs-abcdef****
273
201
  */
274
- path?: string;
202
+ switchId?: string;
275
203
  /**
276
204
  * @example
277
- * 123456789
205
+ * vpc-abcdef****
278
206
  */
279
- userId?: string;
207
+ vpcId?: string;
280
208
  static names(): {
281
209
  [key: string]: string;
282
210
  };
283
211
  static types(): {
284
212
  [key: string]: any;
285
213
  };
214
+ validate(): void;
286
215
  constructor(map?: {
287
216
  [key: string]: any;
288
217
  });
289
218
  }
290
- export declare class DebuggerConfig extends $tea.Model {
291
- /**
292
- * @example
293
- * {\"description\":\"这是一个新的pytorchjob模板\"}
294
- */
295
- content?: string;
296
- /**
297
- * @example
298
- * dc-vf9lowjt3pso
299
- */
300
- debuggerConfigId?: string;
219
+ export declare class GetJobResponseBodyCodeSource extends $dara.Model {
301
220
  /**
302
221
  * @example
303
- * 这是一个Pytorch的基础配置模板
222
+ * master
304
223
  */
305
- description?: string;
224
+ branch?: string;
306
225
  /**
307
226
  * @example
308
- * Pytorch Experiment Config
227
+ * code******
309
228
  */
310
- displayName?: string;
229
+ codeSourceId?: string;
311
230
  /**
312
231
  * @example
313
- * 2021-01-12T14:35:00Z
232
+ * 44da109b59f8596152987eaa8f3b2487xxxxxx
314
233
  */
315
- gmtCreateTime?: string;
234
+ commit?: string;
316
235
  /**
317
236
  * @example
318
- * 2021-01-12T14:36:00Z
237
+ * /mnt/data
319
238
  */
320
- gmtModifyTime?: string;
239
+ mountPath?: string;
321
240
  static names(): {
322
241
  [key: string]: string;
323
242
  };
324
243
  static types(): {
325
244
  [key: string]: any;
326
245
  };
246
+ validate(): void;
327
247
  constructor(map?: {
328
248
  [key: string]: any;
329
249
  });
330
250
  }
331
- export declare class DebuggerJob extends $tea.Model {
251
+ export declare class GetJobResponseBodyDataSources extends $dara.Model {
332
252
  /**
333
253
  * @example
334
- * dlc20210126170216-mtl37ge7gkvdz
254
+ * d*******
335
255
  */
336
- debuggerJobId?: string;
256
+ dataSourceId?: string;
337
257
  /**
338
258
  * @example
339
- * dlc debugger test
340
- */
341
- displayName?: string;
342
- /**
343
- * @example
344
- * 2932
345
- */
346
- duration?: string;
347
- /**
348
- * @example
349
- * 2021-01-12T14:35:00Z
350
- */
351
- gmtCreateTime?: string;
352
- gmtFailedTime?: string;
353
- gmtFinishTime?: string;
354
- gmtRunningTime?: string;
355
- gmtStoppedTime?: string;
356
- gmtSubmittedTime?: string;
357
- gmtSucceedTime?: string;
358
- /**
359
- * @example
360
- * Running
361
- */
362
- status?: string;
363
- /**
364
- * @example
365
- * 12344556
366
- */
367
- userId?: string;
368
- /**
369
- * @example
370
- * workspace01
259
+ * /mnt/data/
371
260
  */
372
- workspaceId?: string;
261
+ mountPath?: string;
373
262
  /**
374
263
  * @example
375
- * public
264
+ * oss://bucket.oss-cn-hangzhou-internal.aliyuncs.com/path/
376
265
  */
377
- workspaceName?: string;
266
+ uri?: string;
378
267
  static names(): {
379
268
  [key: string]: string;
380
269
  };
381
270
  static types(): {
382
271
  [key: string]: any;
383
272
  };
273
+ validate(): void;
384
274
  constructor(map?: {
385
275
  [key: string]: any;
386
276
  });
387
277
  }
388
- export declare class DebuggerJobIssue extends $tea.Model {
389
- /**
390
- * @example
391
- * {"Name": "CPUBottleneck", "Triggered": 10, "Violations": 2, "Details": "{}"}
392
- */
393
- debuggerJobIssue?: string;
278
+ export declare class GetJobResponseBodyPodsHistoryPods extends $dara.Model {
394
279
  /**
395
280
  * @example
396
- * 2021-01-12T14:35:00Z
281
+ * 2021-01-12T14:36:01Z
397
282
  */
398
283
  gmtCreateTime?: string;
399
284
  /**
400
285
  * @example
401
- * de-826ca1bcfba30
402
- */
403
- jobDebuggerIssueId?: string;
404
- /**
405
- * @example
406
- * dlc-20210126170216-mtl37ge7gkvdz
407
- */
408
- jobId?: string;
409
- /**
410
- * @example
411
- * 1002300
412
- */
413
- reasonCode?: string;
414
- /**
415
- * @example
416
- * GPU利用率低
286
+ * 2021-01-12T14:36:01Z
417
287
  */
418
- reasonMessage?: string;
288
+ gmtFinishTime?: string;
419
289
  /**
420
290
  * @example
421
- * ProfileReport
291
+ * 2021-01-12T14:36:01Z
422
292
  */
423
- ruleName?: string;
424
- static names(): {
425
- [key: string]: string;
426
- };
427
- static types(): {
428
- [key: string]: any;
429
- };
430
- constructor(map?: {
431
- [key: string]: any;
432
- });
433
- }
434
- export declare class DebuggerResult extends $tea.Model {
293
+ gmtStartTime?: string;
435
294
  /**
436
295
  * @example
437
- * {\"description\":\"这是一个新的pytorchjob模板\"}
296
+ * 10.0.1.3
438
297
  */
439
- debuggerConfigContent?: string;
298
+ ip?: string;
440
299
  /**
441
300
  * @example
442
- * { "ProfileReport": { "Name": "CPUBottleneck","Triggered": 10,"Violations": 2,"Details": "{}"}, "LowCPU": { "Name": "CPUBottleneck","Triggered": 10,"Violations": 2,"Details": "{}"}}
301
+ * Worker
443
302
  */
444
- debuggerJobIssues?: string;
303
+ podId?: string;
445
304
  /**
446
305
  * @example
447
- * {"Running": 1, "Failed": 1, "Succeeded": 2}
306
+ * fe846462-af2c-4521-bd6f-96787a57591d
448
307
  */
449
- debuggerJobStatus?: string;
308
+ podUid?: string;
450
309
  /**
451
310
  * @example
452
- * http://xxx.com/debug/report/download/new_xxxx.html
311
+ * Normal
453
312
  */
454
- debuggerReportURL?: string;
313
+ resourceType?: string;
455
314
  /**
456
315
  * @example
457
- * dlc debugger test
316
+ * Failed
458
317
  */
459
- jobDisplayName?: string;
318
+ status?: string;
460
319
  /**
461
320
  * @example
462
- * dlc-20210126170216-mtl37ge7gkvdz
321
+ * Normal
463
322
  */
464
- jobId?: string;
323
+ subStatus?: string;
465
324
  /**
466
325
  * @example
467
- * 12344556
326
+ * Worker
468
327
  */
469
- jobUserId?: string;
328
+ type?: string;
470
329
  static names(): {
471
330
  [key: string]: string;
472
331
  };
473
332
  static types(): {
474
333
  [key: string]: any;
475
334
  };
335
+ validate(): void;
476
336
  constructor(map?: {
477
337
  [key: string]: any;
478
338
  });
479
339
  }
480
- export declare class EcsSpec extends $tea.Model {
481
- /**
482
- * @example
483
- * GPU
484
- */
485
- acceleratorType?: string;
486
- /**
487
- * @example
488
- * 12
489
- */
490
- cpu?: number;
340
+ export declare class GetJobResponseBodyPods extends $dara.Model {
491
341
  /**
492
342
  * @example
493
- * 470.199.02
343
+ * 2021-01-12T14:36:01Z
494
344
  */
495
- defaultGPUDriver?: string;
345
+ gmtCreateTime?: string;
496
346
  /**
497
347
  * @example
498
- * 1
348
+ * 2021-01-12T15:36:05Z
499
349
  */
500
- gpu?: number;
350
+ gmtFinishTime?: string;
501
351
  /**
502
352
  * @example
503
- * 80
353
+ * 2021-01-12T14:36:01Z
504
354
  */
505
- gpuMemory?: number;
355
+ gmtStartTime?: string;
356
+ historyPods?: GetJobResponseBodyPodsHistoryPods[];
506
357
  /**
507
358
  * @example
508
- * NVIDIA v100
359
+ * 10.0.1.2
509
360
  */
510
- gpuType?: string;
361
+ ip?: string;
511
362
  /**
512
363
  * @example
513
- * ecs.gn6e-c12g1.3xlarge
364
+ * Worker
514
365
  */
515
- instanceType?: string;
366
+ podId?: string;
516
367
  /**
517
368
  * @example
518
- * true
369
+ * fe846462-af2c-4521-bd6f-96787a57591d
519
370
  */
520
- isAvailable?: boolean;
371
+ podUid?: string;
521
372
  /**
522
373
  * @example
523
- * 92
374
+ * Normal
524
375
  */
525
- memory?: number;
376
+ resourceType?: string;
526
377
  /**
527
378
  * @example
528
- * 0.1
379
+ * Running
529
380
  */
530
- nonProtectSpotDiscount?: number;
531
- paymentTypes?: string[];
381
+ status?: string;
532
382
  /**
533
383
  * @example
534
- * ECS
384
+ * Normal
535
385
  */
536
- resourceType?: string;
386
+ subStatus?: string;
537
387
  /**
538
388
  * @example
539
- * WithStock
389
+ * Worker
540
390
  */
541
- spotStockStatus?: string;
542
- supportedGPUDrivers?: string[];
391
+ type?: string;
543
392
  static names(): {
544
393
  [key: string]: string;
545
394
  };
546
395
  static types(): {
547
396
  [key: string]: any;
548
397
  };
398
+ validate(): void;
549
399
  constructor(map?: {
550
400
  [key: string]: any;
551
401
  });
552
402
  }
553
- export declare class EnvVar extends $tea.Model {
403
+ export declare class GetJobResponseBodyUserVpc extends $dara.Model {
404
+ defaultRoute?: string;
405
+ extendedCidrs?: string[];
554
406
  /**
555
407
  * @example
556
- * ENABLE_DEBUG
408
+ * sg-abcdef****
557
409
  */
558
- name?: string;
410
+ securityGroupId?: string;
559
411
  /**
560
412
  * @example
561
- * true
413
+ * vs-abcdef****
562
414
  */
563
- value?: string;
415
+ switchId?: string;
416
+ /**
417
+ * @example
418
+ * vpc-abcdef****
419
+ */
420
+ vpcId?: string;
564
421
  static names(): {
565
422
  [key: string]: string;
566
423
  };
567
424
  static types(): {
568
425
  [key: string]: any;
569
426
  };
427
+ validate(): void;
570
428
  constructor(map?: {
571
429
  [key: string]: any;
572
430
  });
573
431
  }
574
- export declare class EventInfo extends $tea.Model {
575
- content?: string;
576
- id?: string;
577
- podId?: string;
578
- podUid?: string;
579
- time?: string;
432
+ export declare class AIMasterMessage extends $dara.Model {
433
+ extended?: string;
434
+ jobRestartCount?: number;
435
+ messageContent?: string;
436
+ messageEvent?: string;
437
+ messageVersion?: number;
438
+ restartType?: string;
580
439
  static names(): {
581
440
  [key: string]: string;
582
441
  };
583
442
  static types(): {
584
443
  [key: string]: any;
585
444
  };
445
+ validate(): void;
586
446
  constructor(map?: {
587
447
  [key: string]: any;
588
448
  });
589
449
  }
590
- export declare class ExtraPodSpec extends $tea.Model {
591
- initContainers?: ContainerSpec[];
592
- lifecycle?: Lifecycle;
593
- podAnnotations?: {
594
- [key: string]: string;
595
- };
596
- podLabels?: {
597
- [key: string]: string;
598
- };
599
- sharedVolumeMountPaths?: string[];
600
- sideCarContainers?: ContainerSpec[];
450
+ export declare class AliyunAccounts extends $dara.Model {
451
+ aliyunUid?: string;
452
+ employeeId?: string;
453
+ gmtCreateTime?: string;
454
+ gmtModifyTime?: string;
601
455
  static names(): {
602
456
  [key: string]: string;
603
457
  };
604
458
  static types(): {
605
459
  [key: string]: any;
606
460
  };
461
+ validate(): void;
607
462
  constructor(map?: {
608
463
  [key: string]: any;
609
464
  });
610
465
  }
611
- export declare class FreeResourceClusterControlItem extends $tea.Model {
612
- clusterID?: string;
613
- clusterName?: string;
614
- crossClusters?: boolean;
615
- enableFreeResource?: boolean;
466
+ export declare class AssignNodeSpec extends $dara.Model {
616
467
  /**
617
468
  * @example
618
- * frcc-whateversth
469
+ * lingjxxxxxxxx
619
470
  */
620
- freeResourceClusterControlId?: string;
621
- gmtCreateTime?: string;
622
- gmtModifyTime?: string;
623
- regionID?: string;
471
+ antiAffinityNodeNames?: string;
472
+ /**
473
+ * @example
474
+ * true
475
+ */
476
+ enableAssignNode?: boolean;
477
+ /**
478
+ * @example
479
+ * lingjxxxxxxxx
480
+ */
481
+ nodeNames?: string;
624
482
  static names(): {
625
483
  [key: string]: string;
626
484
  };
627
485
  static types(): {
628
486
  [key: string]: any;
629
487
  };
488
+ validate(): void;
630
489
  constructor(map?: {
631
490
  [key: string]: any;
632
491
  });
633
492
  }
634
- export declare class FreeResourceDetail extends $tea.Model {
635
- /**
636
- * @example
637
- * 2
638
- */
639
- amount?: number;
640
- /**
641
- * @example
642
- * CPU
643
- */
644
- resourceType?: string;
493
+ export declare class AssumeUserInfo extends $dara.Model {
494
+ accessKeyId?: string;
495
+ id?: string;
496
+ securityToken?: string;
497
+ type?: string;
645
498
  static names(): {
646
499
  [key: string]: string;
647
500
  };
648
501
  static types(): {
649
502
  [key: string]: any;
650
503
  };
504
+ validate(): void;
651
505
  constructor(map?: {
652
506
  [key: string]: any;
653
507
  });
654
508
  }
655
- export declare class FreeResourceItem extends $tea.Model {
509
+ export declare class CodeSourceItem extends $dara.Model {
656
510
  /**
657
511
  * @example
658
- * 2
512
+ * master
659
513
  */
660
- availableNumber?: number;
661
- clusterID?: string;
662
- clusterName?: string;
514
+ codeBranch?: string;
663
515
  /**
664
516
  * @example
665
- * freeres-whateversth
517
+ * 44da1*******
666
518
  */
667
- freeResourceId?: string;
519
+ codeCommit?: string;
668
520
  /**
669
521
  * @example
670
- * 2021-01-18T12:52:15Z
522
+ * https://code.aliyun.com/pai-dlc/examples.git
671
523
  */
672
- gmtCreateTime?: string;
524
+ codeRepo?: string;
525
+ codeRepoAccessToken?: string;
673
526
  /**
674
527
  * @example
675
- * 2021-01-18T12:52:15Z
528
+ * user
676
529
  */
677
- gmtModifyTime?: string;
530
+ codeRepoUserName?: string;
678
531
  /**
679
532
  * @example
680
- * inner
533
+ * code-20210111103721-85qz*****
681
534
  */
682
- regionID?: string;
535
+ codeSourceId?: string;
683
536
  /**
684
537
  * @example
685
- * cpu
538
+ * code source of dlc examples
686
539
  */
687
- resourceType?: string;
540
+ description?: string;
541
+ /**
542
+ * @example
543
+ * MyCodeSourceName1
544
+ */
545
+ displayName?: string;
546
+ /**
547
+ * @example
548
+ * 2021-01-18T12:52:15Z
549
+ */
550
+ gmtCreateTime?: string;
551
+ /**
552
+ * @example
553
+ * 2021-01-18T12:52:15Z
554
+ */
555
+ gmtModifyTime?: string;
556
+ /**
557
+ * @example
558
+ * 115**********
559
+ */
560
+ userId?: string;
688
561
  static names(): {
689
562
  [key: string]: string;
690
563
  };
691
564
  static types(): {
692
565
  [key: string]: any;
693
566
  };
567
+ validate(): void;
694
568
  constructor(map?: {
695
569
  [key: string]: any;
696
570
  });
697
571
  }
698
- export declare class GPUDetail extends $tea.Model {
699
- GPU?: string;
572
+ export declare class ContainerSpec extends $dara.Model {
573
+ args?: string[];
574
+ command?: string[];
575
+ env?: EnvVar[];
700
576
  /**
701
577
  * @example
702
- * Tesla-V100-32G
578
+ * registry.cn-hangzhou.aliyuncs.com/pai-dlc/curl:v1.0.0
703
579
  */
704
- GPUType?: string;
580
+ image?: string;
705
581
  /**
706
582
  * @example
707
- * nvidia.com/gpu-tesla-v100-sxm2-16gb
583
+ * data-init
708
584
  */
709
- GPUTypeFullName?: string;
585
+ name?: string;
586
+ resources?: ResourceRequirements;
587
+ /**
588
+ * @example
589
+ * /root
590
+ */
591
+ workingDir?: string;
710
592
  static names(): {
711
593
  [key: string]: string;
712
594
  };
713
595
  static types(): {
714
596
  [key: string]: any;
715
597
  };
598
+ validate(): void;
716
599
  constructor(map?: {
717
600
  [key: string]: any;
718
601
  });
719
602
  }
720
- export declare class ImageConfig extends $tea.Model {
721
- auth?: string;
722
- /**
723
- * @example
724
- * registry.cn-hangzhou.aliyuncs.com
725
- */
726
- dockerRegistry?: string;
727
- password?: string;
728
- username?: string;
603
+ export declare class CredentialConfig extends $dara.Model {
604
+ aliyunEnvRoleKey?: string;
605
+ credentialConfigItems?: CredentialConfigItem[];
606
+ enableCredentialInject?: boolean;
729
607
  static names(): {
730
608
  [key: string]: string;
731
609
  };
732
610
  static types(): {
733
611
  [key: string]: any;
734
612
  };
613
+ validate(): void;
735
614
  constructor(map?: {
736
615
  [key: string]: any;
737
616
  });
738
617
  }
739
- export declare class ImageItem extends $tea.Model {
740
- /**
741
- * @example
742
- * gpu
743
- */
744
- acceleratorType?: string;
745
- /**
746
- * @example
747
- * ken
748
- */
749
- authorId?: string;
750
- /**
751
- * @example
752
- * PyTorchJob
753
- */
754
- framework?: string;
755
- /**
756
- * @example
757
- * Community
758
- */
759
- imageProviderType?: string;
760
- /**
761
- * @example
762
- * tensorflow-training:2.3-cpu-py36-ubuntu18.04
763
- */
764
- imageTag?: string;
765
- /**
766
- * @example
767
- * registry.cn-beijing.aliyuncs.com/pai-dlc/tensorflow-training:2.3-cpu-py36-ubuntu18.04
768
- */
769
- imageUrl?: string;
618
+ export declare class CredentialConfigItem extends $dara.Model {
619
+ key?: string;
770
620
  /**
771
- * @example
772
- * registry-vpc.cn-beijing.aliyuncs.com/pai-dlc/tensorflow-training:2.3-cpu-py36-ubuntu18.04
621
+ * **if can be null:**
622
+ * true
773
623
  */
774
- imageUrlVpc?: string;
624
+ roles?: CredentialRole[];
625
+ type?: string;
775
626
  static names(): {
776
627
  [key: string]: string;
777
628
  };
778
629
  static types(): {
779
630
  [key: string]: any;
780
631
  };
632
+ validate(): void;
781
633
  constructor(map?: {
782
634
  [key: string]: any;
783
635
  });
784
636
  }
785
- export declare class JobDebuggerConfig extends $tea.Model {
786
- debuggerConfigContent?: string;
787
- debuggerConfigId?: string;
788
- gmtCreateTime?: string;
789
- jobId?: string;
637
+ export declare class CredentialRole extends $dara.Model {
638
+ assumeRoleFor?: string;
639
+ assumeUserInfo?: AssumeUserInfo;
640
+ policy?: string;
641
+ roleArn?: string;
642
+ roleType?: string;
790
643
  static names(): {
791
644
  [key: string]: string;
792
645
  };
793
646
  static types(): {
794
647
  [key: string]: any;
795
648
  };
649
+ validate(): void;
796
650
  constructor(map?: {
797
651
  [key: string]: any;
798
652
  });
799
653
  }
800
- export declare class JobElasticSpec extends $tea.Model {
801
- AIMasterDockerImage?: string;
802
- AIMasterType?: string;
654
+ export declare class DataSourceItem extends $dara.Model {
803
655
  /**
804
656
  * @example
805
- * 16
657
+ * data-20210114104214-vf9lowjt3pso
806
658
  */
807
- EDPMaxParallelism?: number;
659
+ dataSourceId?: string;
808
660
  /**
809
661
  * @example
810
- * 8
662
+ * nas
811
663
  */
812
- EDPMinParallelism?: number;
813
- elasticStrategy?: string;
814
- enableAIMaster?: boolean;
664
+ dataSourceType?: string;
815
665
  /**
816
666
  * @example
817
- * true
667
+ * data source of dlc examples
818
668
  */
819
- enableEDP?: boolean;
669
+ description?: string;
820
670
  /**
821
671
  * @example
822
- * true
672
+ * nas-data
823
673
  */
824
- enableElasticTraining?: boolean;
674
+ displayName?: string;
825
675
  /**
826
676
  * @example
827
- * true
677
+ * oss-cn-beijing-internal.aliyuncs.com
828
678
  */
829
- enablePsJobElasticPS?: boolean;
830
- enablePsJobElasticWorker?: boolean;
679
+ endpoint?: string;
831
680
  /**
832
681
  * @example
833
- * true
682
+ * 1ca404****
834
683
  */
835
- enablePsResourceEstimate?: boolean;
684
+ fileSystemId?: string;
836
685
  /**
837
686
  * @example
838
- * 8
687
+ * 2021-01-12T14:35:00Z
839
688
  */
840
- maxParallelism?: number;
689
+ gmtCreateTime?: string;
841
690
  /**
842
691
  * @example
843
- * 1
692
+ * 2021-01-12T14:36:00Z
844
693
  */
845
- minParallelism?: number;
694
+ gmtModifyTime?: string;
846
695
  /**
847
696
  * @example
848
- * 10
697
+ * /root/data/
849
698
  */
850
- PSMaxParallelism?: number;
699
+ mountPath?: string;
851
700
  /**
852
701
  * @example
853
- * 4
702
+ * {"key": "value"}
854
703
  */
855
- PSMinParallelism?: number;
704
+ options?: string;
705
+ /**
706
+ * @example
707
+ * oss://mybucket/path/to/dir
708
+ */
709
+ path?: string;
710
+ /**
711
+ * @example
712
+ * 123456789
713
+ */
714
+ userId?: string;
856
715
  static names(): {
857
716
  [key: string]: string;
858
717
  };
859
718
  static types(): {
860
719
  [key: string]: any;
861
720
  };
721
+ validate(): void;
862
722
  constructor(map?: {
863
723
  [key: string]: any;
864
724
  });
865
725
  }
866
- export declare class JobItem extends $tea.Model {
726
+ export declare class DebuggerConfig extends $dara.Model {
867
727
  /**
868
728
  * @example
869
- * PUBLIC
729
+ * {\"description\":\"这是一个新的pytorchjob模板\"}
870
730
  */
871
- accessibility?: string;
872
- clusterId?: string;
873
- codeSource?: JobItemCodeSource;
874
- credentialConfig?: CredentialConfig;
875
- dataSources?: JobItemDataSources[];
731
+ content?: string;
876
732
  /**
877
733
  * @example
878
- * tf-mnist-test
734
+ * dc-vf9lowjt3pso
879
735
  */
880
- displayName?: string;
736
+ debuggerConfigId?: string;
881
737
  /**
882
738
  * @example
883
- * 3602
739
+ * 这是一个Pytorch的基础配置模板
884
740
  */
885
- duration?: number;
886
- elasticSpec?: JobElasticSpec;
741
+ description?: string;
887
742
  /**
888
743
  * @example
889
- * false
744
+ * Pytorch Experiment Config
890
745
  */
891
- enablePreemptibleJob?: boolean;
746
+ displayName?: string;
892
747
  /**
893
748
  * @example
894
- * false
749
+ * 2021-01-12T14:35:00Z
895
750
  */
896
- enabledDebugger?: boolean;
897
- envs?: {
898
- [key: string]: string;
899
- };
751
+ gmtCreateTime?: string;
900
752
  /**
901
753
  * @example
902
- * 2021-01-12T14:35:01Z
754
+ * 2021-01-12T14:36:00Z
903
755
  */
904
- gmtCreateTime?: string;
756
+ gmtModifyTime?: string;
757
+ static names(): {
758
+ [key: string]: string;
759
+ };
760
+ static types(): {
761
+ [key: string]: any;
762
+ };
763
+ validate(): void;
764
+ constructor(map?: {
765
+ [key: string]: any;
766
+ });
767
+ }
768
+ export declare class DebuggerJob extends $dara.Model {
905
769
  /**
906
770
  * @example
907
- * 2021-01-12T14:35:01Z
771
+ * dlc20210126170216-mtl37ge7gkvdz
908
772
  */
909
- gmtFailedTime?: string;
773
+ debuggerJobId?: string;
910
774
  /**
911
775
  * @example
912
- * 2021-01-12T15:36:08Z
776
+ * dlc debugger test
913
777
  */
914
- gmtFinishTime?: string;
778
+ displayName?: string;
915
779
  /**
916
780
  * @example
917
- * 2021-01-12T15:36:08Z
781
+ * 2932
918
782
  */
919
- gmtModifiedTime?: string;
783
+ duration?: string;
920
784
  /**
921
785
  * @example
922
- * 2021-01-12T14:35:01Z
786
+ * 2021-01-12T14:35:00Z
923
787
  */
788
+ gmtCreateTime?: string;
789
+ gmtFailedTime?: string;
790
+ gmtFinishTime?: string;
924
791
  gmtRunningTime?: string;
792
+ gmtStoppedTime?: string;
793
+ gmtSubmittedTime?: string;
794
+ gmtSucceedTime?: string;
925
795
  /**
926
796
  * @example
927
- * 2021-01-12T14:35:01Z
797
+ * Running
928
798
  */
929
- gmtStoppedTime?: string;
799
+ status?: string;
930
800
  /**
931
801
  * @example
932
- * 2021-01-12T14:35:01Z
802
+ * 12344556
933
803
  */
934
- gmtSubmittedTime?: string;
804
+ userId?: string;
935
805
  /**
936
806
  * @example
937
- * 2021-01-12T14:35:01Z
807
+ * workspace01
938
808
  */
939
- gmtSuccessedTime?: string;
809
+ workspaceId?: string;
940
810
  /**
941
811
  * @example
942
- * false
812
+ * public
943
813
  */
944
- isDeleted?: boolean;
814
+ workspaceName?: string;
815
+ static names(): {
816
+ [key: string]: string;
817
+ };
818
+ static types(): {
819
+ [key: string]: any;
820
+ };
821
+ validate(): void;
822
+ constructor(map?: {
823
+ [key: string]: any;
824
+ });
825
+ }
826
+ export declare class DebuggerJobIssue extends $dara.Model {
945
827
  /**
946
828
  * @example
947
- * dlc-20210126170216-mtl37ge7gkvdz
829
+ * {"Name": "CPUBottleneck", "Triggered": 10, "Violations": 2, "Details": "{}"}
948
830
  */
949
- jobId?: string;
831
+ debuggerJobIssue?: string;
950
832
  /**
951
833
  * @example
952
- * 1
834
+ * 2021-01-12T14:35:00Z
953
835
  */
954
- jobMaxRunningTimeMinutes?: number;
955
- jobSpecs?: JobSpec[];
836
+ gmtCreateTime?: string;
956
837
  /**
957
838
  * @example
958
- * TFJob
839
+ * de-826ca1bcfba30
959
840
  */
960
- jobType?: string;
841
+ jobDebuggerIssueId?: string;
842
+ /**
843
+ * @example
844
+ * dlc-20210126170216-mtl37ge7gkvdz
845
+ */
846
+ jobId?: string;
847
+ /**
848
+ * @example
849
+ * 1002300
850
+ */
851
+ reasonCode?: string;
852
+ /**
853
+ * @example
854
+ * GPU利用率低
855
+ */
856
+ reasonMessage?: string;
857
+ /**
858
+ * @example
859
+ * ProfileReport
860
+ */
861
+ ruleName?: string;
862
+ static names(): {
863
+ [key: string]: string;
864
+ };
865
+ static types(): {
866
+ [key: string]: any;
867
+ };
868
+ validate(): void;
869
+ constructor(map?: {
870
+ [key: string]: any;
871
+ });
872
+ }
873
+ export declare class DebuggerResult extends $dara.Model {
874
+ /**
875
+ * @example
876
+ * {\"description\":\"这是一个新的pytorchjob模板\"}
877
+ */
878
+ debuggerConfigContent?: string;
879
+ /**
880
+ * @example
881
+ * { "ProfileReport": { "Name": "CPUBottleneck","Triggered": 10,"Violations": 2,"Details": "{}"}, "LowCPU": { "Name": "CPUBottleneck","Triggered": 10,"Violations": 2,"Details": "{}"}}
882
+ */
883
+ debuggerJobIssues?: string;
884
+ /**
885
+ * @example
886
+ * {"Running": 1, "Failed": 1, "Succeeded": 2}
887
+ */
888
+ debuggerJobStatus?: string;
889
+ /**
890
+ * @example
891
+ * http://xxx.com/debug/report/download/new_xxxx.html
892
+ */
893
+ debuggerReportURL?: string;
894
+ /**
895
+ * @example
896
+ * dlc debugger test
897
+ */
898
+ jobDisplayName?: string;
899
+ /**
900
+ * @example
901
+ * dlc-20210126170216-mtl37ge7gkvdz
902
+ */
903
+ jobId?: string;
904
+ /**
905
+ * @example
906
+ * 12344556
907
+ */
908
+ jobUserId?: string;
909
+ static names(): {
910
+ [key: string]: string;
911
+ };
912
+ static types(): {
913
+ [key: string]: any;
914
+ };
915
+ validate(): void;
916
+ constructor(map?: {
917
+ [key: string]: any;
918
+ });
919
+ }
920
+ export declare class EcsSpec extends $dara.Model {
921
+ /**
922
+ * @example
923
+ * GPU
924
+ */
925
+ acceleratorType?: string;
926
+ /**
927
+ * @example
928
+ * 12
929
+ */
930
+ cpu?: number;
931
+ /**
932
+ * @example
933
+ * 470.199.02
934
+ */
935
+ defaultGPUDriver?: string;
936
+ /**
937
+ * @example
938
+ * 1
939
+ */
940
+ gpu?: number;
941
+ /**
942
+ * @example
943
+ * 80
944
+ */
945
+ gpuMemory?: number;
946
+ /**
947
+ * @example
948
+ * NVIDIA v100
949
+ */
950
+ gpuType?: string;
951
+ /**
952
+ * @example
953
+ * ecs.gn6e-c12g1.3xlarge
954
+ */
955
+ instanceType?: string;
956
+ /**
957
+ * @example
958
+ * true
959
+ */
960
+ isAvailable?: boolean;
961
+ /**
962
+ * @example
963
+ * 92
964
+ */
965
+ memory?: number;
966
+ /**
967
+ * @example
968
+ * 0.1
969
+ */
970
+ nonProtectSpotDiscount?: number;
971
+ paymentTypes?: string[];
972
+ /**
973
+ * @example
974
+ * ECS
975
+ */
976
+ resourceType?: string;
977
+ /**
978
+ * @example
979
+ * WithStock
980
+ */
981
+ spotStockStatus?: string;
982
+ supportedGPUDrivers?: string[];
983
+ static names(): {
984
+ [key: string]: string;
985
+ };
986
+ static types(): {
987
+ [key: string]: any;
988
+ };
989
+ validate(): void;
990
+ constructor(map?: {
991
+ [key: string]: any;
992
+ });
993
+ }
994
+ export declare class EnvVar extends $dara.Model {
995
+ /**
996
+ * @example
997
+ * ENABLE_DEBUG
998
+ */
999
+ name?: string;
1000
+ /**
1001
+ * @example
1002
+ * true
1003
+ */
1004
+ value?: string;
1005
+ static names(): {
1006
+ [key: string]: string;
1007
+ };
1008
+ static types(): {
1009
+ [key: string]: any;
1010
+ };
1011
+ validate(): void;
1012
+ constructor(map?: {
1013
+ [key: string]: any;
1014
+ });
1015
+ }
1016
+ export declare class EventInfo extends $dara.Model {
1017
+ content?: string;
1018
+ id?: string;
1019
+ podId?: string;
1020
+ podUid?: string;
1021
+ time?: string;
1022
+ static names(): {
1023
+ [key: string]: string;
1024
+ };
1025
+ static types(): {
1026
+ [key: string]: any;
1027
+ };
1028
+ validate(): void;
1029
+ constructor(map?: {
1030
+ [key: string]: any;
1031
+ });
1032
+ }
1033
+ export declare class ExtraPodSpec extends $dara.Model {
1034
+ initContainers?: ContainerSpec[];
1035
+ lifecycle?: Lifecycle;
1036
+ podAnnotations?: {
1037
+ [key: string]: string;
1038
+ };
1039
+ podLabels?: {
1040
+ [key: string]: string;
1041
+ };
1042
+ sharedVolumeMountPaths?: string[];
1043
+ sideCarContainers?: ContainerSpec[];
1044
+ static names(): {
1045
+ [key: string]: string;
1046
+ };
1047
+ static types(): {
1048
+ [key: string]: any;
1049
+ };
1050
+ validate(): void;
1051
+ constructor(map?: {
1052
+ [key: string]: any;
1053
+ });
1054
+ }
1055
+ export declare class FreeResourceClusterControlItem extends $dara.Model {
1056
+ clusterID?: string;
1057
+ clusterName?: string;
1058
+ crossClusters?: boolean;
1059
+ enableFreeResource?: boolean;
1060
+ /**
1061
+ * @example
1062
+ * frcc-whateversth
1063
+ */
1064
+ freeResourceClusterControlId?: string;
1065
+ gmtCreateTime?: string;
1066
+ gmtModifyTime?: string;
1067
+ regionID?: string;
1068
+ static names(): {
1069
+ [key: string]: string;
1070
+ };
1071
+ static types(): {
1072
+ [key: string]: any;
1073
+ };
1074
+ validate(): void;
1075
+ constructor(map?: {
1076
+ [key: string]: any;
1077
+ });
1078
+ }
1079
+ export declare class FreeResourceDetail extends $dara.Model {
1080
+ /**
1081
+ * @example
1082
+ * 2
1083
+ */
1084
+ amount?: number;
1085
+ /**
1086
+ * @example
1087
+ * CPU
1088
+ */
1089
+ resourceType?: string;
1090
+ static names(): {
1091
+ [key: string]: string;
1092
+ };
1093
+ static types(): {
1094
+ [key: string]: any;
1095
+ };
1096
+ validate(): void;
1097
+ constructor(map?: {
1098
+ [key: string]: any;
1099
+ });
1100
+ }
1101
+ export declare class FreeResourceItem extends $dara.Model {
1102
+ /**
1103
+ * @example
1104
+ * 2
1105
+ */
1106
+ availableNumber?: number;
1107
+ clusterID?: string;
1108
+ clusterName?: string;
1109
+ /**
1110
+ * @example
1111
+ * freeres-whateversth
1112
+ */
1113
+ freeResourceId?: string;
1114
+ /**
1115
+ * @example
1116
+ * 2021-01-18T12:52:15Z
1117
+ */
1118
+ gmtCreateTime?: string;
1119
+ /**
1120
+ * @example
1121
+ * 2021-01-18T12:52:15Z
1122
+ */
1123
+ gmtModifyTime?: string;
1124
+ /**
1125
+ * @example
1126
+ * inner
1127
+ */
1128
+ regionID?: string;
1129
+ /**
1130
+ * @example
1131
+ * cpu
1132
+ */
1133
+ resourceType?: string;
1134
+ static names(): {
1135
+ [key: string]: string;
1136
+ };
1137
+ static types(): {
1138
+ [key: string]: any;
1139
+ };
1140
+ validate(): void;
1141
+ constructor(map?: {
1142
+ [key: string]: any;
1143
+ });
1144
+ }
1145
+ export declare class GPUDetail extends $dara.Model {
1146
+ GPU?: string;
1147
+ /**
1148
+ * @example
1149
+ * Tesla-V100-32G
1150
+ */
1151
+ GPUType?: string;
1152
+ /**
1153
+ * @example
1154
+ * nvidia.com/gpu-tesla-v100-sxm2-16gb
1155
+ */
1156
+ GPUTypeFullName?: string;
1157
+ static names(): {
1158
+ [key: string]: string;
1159
+ };
1160
+ static types(): {
1161
+ [key: string]: any;
1162
+ };
1163
+ validate(): void;
1164
+ constructor(map?: {
1165
+ [key: string]: any;
1166
+ });
1167
+ }
1168
+ export declare class ImageConfig extends $dara.Model {
1169
+ auth?: string;
1170
+ /**
1171
+ * @example
1172
+ * registry.cn-hangzhou.aliyuncs.com
1173
+ */
1174
+ dockerRegistry?: string;
1175
+ password?: string;
1176
+ username?: string;
1177
+ static names(): {
1178
+ [key: string]: string;
1179
+ };
1180
+ static types(): {
1181
+ [key: string]: any;
1182
+ };
1183
+ validate(): void;
1184
+ constructor(map?: {
1185
+ [key: string]: any;
1186
+ });
1187
+ }
1188
+ export declare class ImageItem extends $dara.Model {
1189
+ /**
1190
+ * @example
1191
+ * gpu
1192
+ */
1193
+ acceleratorType?: string;
1194
+ /**
1195
+ * @example
1196
+ * ken
1197
+ */
1198
+ authorId?: string;
1199
+ /**
1200
+ * @example
1201
+ * PyTorchJob
1202
+ */
1203
+ framework?: string;
1204
+ /**
1205
+ * @example
1206
+ * Community
1207
+ */
1208
+ imageProviderType?: string;
1209
+ /**
1210
+ * @example
1211
+ * tensorflow-training:2.3-cpu-py36-ubuntu18.04
1212
+ */
1213
+ imageTag?: string;
1214
+ /**
1215
+ * @example
1216
+ * registry.cn-beijing.aliyuncs.com/pai-dlc/tensorflow-training:2.3-cpu-py36-ubuntu18.04
1217
+ */
1218
+ imageUrl?: string;
1219
+ /**
1220
+ * @example
1221
+ * registry-vpc.cn-beijing.aliyuncs.com/pai-dlc/tensorflow-training:2.3-cpu-py36-ubuntu18.04
1222
+ */
1223
+ imageUrlVpc?: string;
1224
+ static names(): {
1225
+ [key: string]: string;
1226
+ };
1227
+ static types(): {
1228
+ [key: string]: any;
1229
+ };
1230
+ validate(): void;
1231
+ constructor(map?: {
1232
+ [key: string]: any;
1233
+ });
1234
+ }
1235
+ export declare class JobDebuggerConfig extends $dara.Model {
1236
+ debuggerConfigContent?: string;
1237
+ debuggerConfigId?: string;
1238
+ gmtCreateTime?: string;
1239
+ jobId?: string;
1240
+ static names(): {
1241
+ [key: string]: string;
1242
+ };
1243
+ static types(): {
1244
+ [key: string]: any;
1245
+ };
1246
+ validate(): void;
1247
+ constructor(map?: {
1248
+ [key: string]: any;
1249
+ });
1250
+ }
1251
+ export declare class JobElasticSpec extends $dara.Model {
1252
+ AIMasterDockerImage?: string;
1253
+ AIMasterType?: string;
1254
+ /**
1255
+ * @example
1256
+ * 16
1257
+ */
1258
+ EDPMaxParallelism?: number;
1259
+ /**
1260
+ * @example
1261
+ * 8
1262
+ */
1263
+ EDPMinParallelism?: number;
1264
+ elasticStrategy?: string;
1265
+ enableAIMaster?: boolean;
1266
+ /**
1267
+ * @example
1268
+ * true
1269
+ */
1270
+ enableEDP?: boolean;
1271
+ /**
1272
+ * @example
1273
+ * true
1274
+ */
1275
+ enableElasticTraining?: boolean;
1276
+ /**
1277
+ * @example
1278
+ * true
1279
+ */
1280
+ enablePsJobElasticPS?: boolean;
1281
+ enablePsJobElasticWorker?: boolean;
1282
+ /**
1283
+ * @example
1284
+ * true
1285
+ */
1286
+ enablePsResourceEstimate?: boolean;
1287
+ /**
1288
+ * @example
1289
+ * 8
1290
+ */
1291
+ maxParallelism?: number;
1292
+ /**
1293
+ * @example
1294
+ * 1
1295
+ */
1296
+ minParallelism?: number;
1297
+ /**
1298
+ * @example
1299
+ * 10
1300
+ */
1301
+ PSMaxParallelism?: number;
1302
+ /**
1303
+ * @example
1304
+ * 4
1305
+ */
1306
+ PSMinParallelism?: number;
1307
+ static names(): {
1308
+ [key: string]: string;
1309
+ };
1310
+ static types(): {
1311
+ [key: string]: any;
1312
+ };
1313
+ validate(): void;
1314
+ constructor(map?: {
1315
+ [key: string]: any;
1316
+ });
1317
+ }
1318
+ export declare class JobItem extends $dara.Model {
1319
+ /**
1320
+ * @example
1321
+ * PUBLIC
1322
+ */
1323
+ accessibility?: string;
1324
+ clusterId?: string;
1325
+ codeSource?: JobItemCodeSource;
1326
+ credentialConfig?: CredentialConfig;
1327
+ dataSources?: JobItemDataSources[];
1328
+ /**
1329
+ * @example
1330
+ * tf-mnist-test
1331
+ */
1332
+ displayName?: string;
1333
+ /**
1334
+ * @example
1335
+ * 3602
1336
+ */
1337
+ duration?: number;
1338
+ elasticSpec?: JobElasticSpec;
1339
+ /**
1340
+ * @example
1341
+ * false
1342
+ */
1343
+ enablePreemptibleJob?: boolean;
1344
+ /**
1345
+ * @example
1346
+ * false
1347
+ */
1348
+ enabledDebugger?: boolean;
1349
+ envs?: {
1350
+ [key: string]: string;
1351
+ };
1352
+ /**
1353
+ * @example
1354
+ * 2021-01-12T14:35:01Z
1355
+ */
1356
+ gmtCreateTime?: string;
1357
+ /**
1358
+ * @example
1359
+ * 2021-01-12T14:35:01Z
1360
+ */
1361
+ gmtFailedTime?: string;
1362
+ /**
1363
+ * @example
1364
+ * 2021-01-12T15:36:08Z
1365
+ */
1366
+ gmtFinishTime?: string;
1367
+ /**
1368
+ * @example
1369
+ * 2021-01-12T15:36:08Z
1370
+ */
1371
+ gmtModifiedTime?: string;
1372
+ /**
1373
+ * @example
1374
+ * 2021-01-12T14:35:01Z
1375
+ */
1376
+ gmtRunningTime?: string;
1377
+ /**
1378
+ * @example
1379
+ * 2021-01-12T14:35:01Z
1380
+ */
1381
+ gmtStoppedTime?: string;
1382
+ /**
1383
+ * @example
1384
+ * 2021-01-12T14:35:01Z
1385
+ */
1386
+ gmtSubmittedTime?: string;
1387
+ /**
1388
+ * @example
1389
+ * 2021-01-12T14:35:01Z
1390
+ */
1391
+ gmtSuccessedTime?: string;
1392
+ /**
1393
+ * @example
1394
+ * false
1395
+ */
1396
+ isDeleted?: boolean;
1397
+ /**
1398
+ * @example
1399
+ * dlc-20210126170216-mtl37ge7gkvdz
1400
+ */
1401
+ jobId?: string;
1402
+ /**
1403
+ * @example
1404
+ * 1
1405
+ */
1406
+ jobMaxRunningTimeMinutes?: number;
1407
+ jobSpecs?: JobSpec[];
1408
+ /**
1409
+ * @example
1410
+ * TFJob
1411
+ */
1412
+ jobType?: string;
961
1413
  /**
962
1414
  * @example
963
1415
  * 1
@@ -1071,7 +1523,7 @@ export declare class JobItem extends $tea.Model {
1071
1523
  * @example
1072
1524
  * vpc-1
1073
1525
  */
1074
- userVpc?: string;
1526
+ userVpc?: JobItemUserVpc;
1075
1527
  /**
1076
1528
  * @example
1077
1529
  * pai-dlc-role
@@ -1098,11 +1550,12 @@ export declare class JobItem extends $tea.Model {
1098
1550
  static types(): {
1099
1551
  [key: string]: any;
1100
1552
  };
1553
+ validate(): void;
1101
1554
  constructor(map?: {
1102
1555
  [key: string]: any;
1103
1556
  });
1104
1557
  }
1105
- export declare class JobSettings extends $tea.Model {
1558
+ export declare class JobSettings extends $dara.Model {
1106
1559
  advancedSettings?: {
1107
1560
  [key: string]: any;
1108
1561
  };
@@ -1126,6 +1579,11 @@ export declare class JobSettings extends $tea.Model {
1126
1579
  * 535.54.03
1127
1580
  */
1128
1581
  driver?: string;
1582
+ /**
1583
+ * @example
1584
+ * true
1585
+ */
1586
+ enableCPUAffinity?: boolean;
1129
1587
  /**
1130
1588
  * @example
1131
1589
  * false
@@ -1190,11 +1648,12 @@ export declare class JobSettings extends $tea.Model {
1190
1648
  static types(): {
1191
1649
  [key: string]: any;
1192
1650
  };
1651
+ validate(): void;
1193
1652
  constructor(map?: {
1194
1653
  [key: string]: any;
1195
1654
  });
1196
1655
  }
1197
- export declare class JobSpec extends $tea.Model {
1656
+ export declare class JobSpec extends $dara.Model {
1198
1657
  assignNodeSpec?: AssignNodeSpec;
1199
1658
  /**
1200
1659
  * @example
@@ -1223,6 +1682,8 @@ export declare class JobSpec extends $tea.Model {
1223
1682
  /**
1224
1683
  * @example
1225
1684
  * false
1685
+ *
1686
+ * @deprecated
1226
1687
  */
1227
1688
  useSpotInstance?: boolean;
1228
1689
  static names(): {
@@ -1231,11 +1692,12 @@ export declare class JobSpec extends $tea.Model {
1231
1692
  static types(): {
1232
1693
  [key: string]: any;
1233
1694
  };
1695
+ validate(): void;
1234
1696
  constructor(map?: {
1235
1697
  [key: string]: any;
1236
1698
  });
1237
1699
  }
1238
- export declare class Lifecycle extends $tea.Model {
1700
+ export declare class Lifecycle extends $dara.Model {
1239
1701
  postStart?: LifecyclePostStart;
1240
1702
  preStop?: LifecyclePreStop;
1241
1703
  static names(): {
@@ -1244,11 +1706,12 @@ export declare class Lifecycle extends $tea.Model {
1244
1706
  static types(): {
1245
1707
  [key: string]: any;
1246
1708
  };
1709
+ validate(): void;
1247
1710
  constructor(map?: {
1248
1711
  [key: string]: any;
1249
1712
  });
1250
1713
  }
1251
- export declare class LogInfo extends $tea.Model {
1714
+ export declare class LogInfo extends $dara.Model {
1252
1715
  content?: string;
1253
1716
  id?: string;
1254
1717
  podId?: string;
@@ -1265,11 +1728,12 @@ export declare class LogInfo extends $tea.Model {
1265
1728
  static types(): {
1266
1729
  [key: string]: any;
1267
1730
  };
1731
+ validate(): void;
1268
1732
  constructor(map?: {
1269
1733
  [key: string]: any;
1270
1734
  });
1271
1735
  }
1272
- export declare class Member extends $tea.Model {
1736
+ export declare class Member extends $dara.Model {
1273
1737
  /**
1274
1738
  * @example
1275
1739
  * ken_12345
@@ -1286,11 +1750,12 @@ export declare class Member extends $tea.Model {
1286
1750
  static types(): {
1287
1751
  [key: string]: any;
1288
1752
  };
1753
+ validate(): void;
1289
1754
  constructor(map?: {
1290
1755
  [key: string]: any;
1291
1756
  });
1292
1757
  }
1293
- export declare class Metric extends $tea.Model {
1758
+ export declare class Metric extends $dara.Model {
1294
1759
  /**
1295
1760
  * @example
1296
1761
  * 1616987726587
@@ -1307,11 +1772,12 @@ export declare class Metric extends $tea.Model {
1307
1772
  static types(): {
1308
1773
  [key: string]: any;
1309
1774
  };
1775
+ validate(): void;
1310
1776
  constructor(map?: {
1311
1777
  [key: string]: any;
1312
1778
  });
1313
1779
  }
1314
- export declare class NodeMetric extends $tea.Model {
1780
+ export declare class NodeMetric extends $dara.Model {
1315
1781
  metrics?: Metric[];
1316
1782
  /**
1317
1783
  * @example
@@ -1324,11 +1790,12 @@ export declare class NodeMetric extends $tea.Model {
1324
1790
  static types(): {
1325
1791
  [key: string]: any;
1326
1792
  };
1793
+ validate(): void;
1327
1794
  constructor(map?: {
1328
1795
  [key: string]: any;
1329
1796
  });
1330
1797
  }
1331
- export declare class PodItem extends $tea.Model {
1798
+ export declare class PodItem extends $dara.Model {
1332
1799
  /**
1333
1800
  * @example
1334
1801
  * 2021-01-12T14:36:01Z
@@ -1376,11 +1843,12 @@ export declare class PodItem extends $tea.Model {
1376
1843
  static types(): {
1377
1844
  [key: string]: any;
1378
1845
  };
1846
+ validate(): void;
1379
1847
  constructor(map?: {
1380
1848
  [key: string]: any;
1381
1849
  });
1382
1850
  }
1383
- export declare class PodMetric extends $tea.Model {
1851
+ export declare class PodMetric extends $dara.Model {
1384
1852
  metrics?: Metric[];
1385
1853
  /**
1386
1854
  * @example
@@ -1393,11 +1861,12 @@ export declare class PodMetric extends $tea.Model {
1393
1861
  static types(): {
1394
1862
  [key: string]: any;
1395
1863
  };
1864
+ validate(): void;
1396
1865
  constructor(map?: {
1397
1866
  [key: string]: any;
1398
1867
  });
1399
1868
  }
1400
- export declare class Quota extends $tea.Model {
1869
+ export declare class Quota extends $dara.Model {
1401
1870
  clusterId?: string;
1402
1871
  clusterName?: string;
1403
1872
  quotaConfig?: QuotaConfig;
@@ -1426,11 +1895,12 @@ export declare class Quota extends $tea.Model {
1426
1895
  static types(): {
1427
1896
  [key: string]: any;
1428
1897
  };
1898
+ validate(): void;
1429
1899
  constructor(map?: {
1430
1900
  [key: string]: any;
1431
1901
  });
1432
1902
  }
1433
- export declare class QuotaConfig extends $tea.Model {
1903
+ export declare class QuotaConfig extends $dara.Model {
1434
1904
  allowedMaxPriority?: number;
1435
1905
  enableDLC?: boolean;
1436
1906
  enableDSW?: boolean;
@@ -1442,11 +1912,12 @@ export declare class QuotaConfig extends $tea.Model {
1442
1912
  static types(): {
1443
1913
  [key: string]: any;
1444
1914
  };
1915
+ validate(): void;
1445
1916
  constructor(map?: {
1446
1917
  [key: string]: any;
1447
1918
  });
1448
1919
  }
1449
- export declare class QuotaDetail extends $tea.Model {
1920
+ export declare class QuotaDetail extends $dara.Model {
1450
1921
  /**
1451
1922
  * @example
1452
1923
  * 2
@@ -1479,11 +1950,12 @@ export declare class QuotaDetail extends $tea.Model {
1479
1950
  static types(): {
1480
1951
  [key: string]: any;
1481
1952
  };
1953
+ validate(): void;
1482
1954
  constructor(map?: {
1483
1955
  [key: string]: any;
1484
1956
  });
1485
1957
  }
1486
- export declare class ResourceConfig extends $tea.Model {
1958
+ export declare class ResourceConfig extends $dara.Model {
1487
1959
  /**
1488
1960
  * @example
1489
1961
  * 10
@@ -1515,11 +1987,12 @@ export declare class ResourceConfig extends $tea.Model {
1515
1987
  static types(): {
1516
1988
  [key: string]: any;
1517
1989
  };
1990
+ validate(): void;
1518
1991
  constructor(map?: {
1519
1992
  [key: string]: any;
1520
1993
  });
1521
1994
  }
1522
- export declare class ResourceRequirements extends $tea.Model {
1995
+ export declare class ResourceRequirements extends $dara.Model {
1523
1996
  limits?: {
1524
1997
  [key: string]: string;
1525
1998
  };
@@ -1532,11 +2005,12 @@ export declare class ResourceRequirements extends $tea.Model {
1532
2005
  static types(): {
1533
2006
  [key: string]: any;
1534
2007
  };
2008
+ validate(): void;
1535
2009
  constructor(map?: {
1536
2010
  [key: string]: any;
1537
2011
  });
1538
2012
  }
1539
- export declare class Resources extends $tea.Model {
2013
+ export declare class Resources extends $dara.Model {
1540
2014
  /**
1541
2015
  * @example
1542
2016
  * 10
@@ -1558,11 +2032,12 @@ export declare class Resources extends $tea.Model {
1558
2032
  static types(): {
1559
2033
  [key: string]: any;
1560
2034
  };
2035
+ validate(): void;
1561
2036
  constructor(map?: {
1562
2037
  [key: string]: any;
1563
2038
  });
1564
2039
  }
1565
- export declare class SanityCheckResultItem extends $tea.Model {
2040
+ export declare class SanityCheckResultItem extends $dara.Model {
1566
2041
  /**
1567
2042
  * @example
1568
2043
  * 1
@@ -1595,11 +2070,12 @@ export declare class SanityCheckResultItem extends $tea.Model {
1595
2070
  static types(): {
1596
2071
  [key: string]: any;
1597
2072
  };
2073
+ validate(): void;
1598
2074
  constructor(map?: {
1599
2075
  [key: string]: any;
1600
2076
  });
1601
2077
  }
1602
- export declare class SmartCache extends $tea.Model {
2078
+ export declare class SmartCache extends $dara.Model {
1603
2079
  /**
1604
2080
  * @example
1605
2081
  * 10
@@ -1686,12 +2162,14 @@ export declare class SmartCache extends $tea.Model {
1686
2162
  static types(): {
1687
2163
  [key: string]: any;
1688
2164
  };
2165
+ validate(): void;
1689
2166
  constructor(map?: {
1690
2167
  [key: string]: any;
1691
2168
  });
1692
2169
  }
1693
- export declare class SpotSpec extends $tea.Model {
2170
+ export declare class SpotSpec extends $dara.Model {
1694
2171
  spotDiscountLimit?: number;
2172
+ spotPriceLimit?: number;
1695
2173
  spotStrategy?: string;
1696
2174
  static names(): {
1697
2175
  [key: string]: string;
@@ -1699,11 +2177,12 @@ export declare class SpotSpec extends $tea.Model {
1699
2177
  static types(): {
1700
2178
  [key: string]: any;
1701
2179
  };
2180
+ validate(): void;
1702
2181
  constructor(map?: {
1703
2182
  [key: string]: any;
1704
2183
  });
1705
2184
  }
1706
- export declare class StatusTransitionItem extends $tea.Model {
2185
+ export declare class StatusTransitionItem extends $dara.Model {
1707
2186
  endTime?: string;
1708
2187
  reasonCode?: string;
1709
2188
  reasonMessage?: string;
@@ -1715,11 +2194,12 @@ export declare class StatusTransitionItem extends $tea.Model {
1715
2194
  static types(): {
1716
2195
  [key: string]: any;
1717
2196
  };
2197
+ validate(): void;
1718
2198
  constructor(map?: {
1719
2199
  [key: string]: any;
1720
2200
  });
1721
2201
  }
1722
- export declare class Tensorboard extends $tea.Model {
2202
+ export declare class Tensorboard extends $dara.Model {
1723
2203
  accessibility?: string;
1724
2204
  cpu?: number;
1725
2205
  /**
@@ -1820,11 +2300,12 @@ export declare class Tensorboard extends $tea.Model {
1820
2300
  static types(): {
1821
2301
  [key: string]: any;
1822
2302
  };
2303
+ validate(): void;
1823
2304
  constructor(map?: {
1824
2305
  [key: string]: any;
1825
2306
  });
1826
2307
  }
1827
- export declare class TensorboardDataSourceSpec extends $tea.Model {
2308
+ export declare class TensorboardDataSourceSpec extends $dara.Model {
1828
2309
  /**
1829
2310
  * @example
1830
2311
  * OSS
@@ -1871,11 +2352,12 @@ export declare class TensorboardDataSourceSpec extends $tea.Model {
1871
2352
  static types(): {
1872
2353
  [key: string]: any;
1873
2354
  };
2355
+ validate(): void;
1874
2356
  constructor(map?: {
1875
2357
  [key: string]: any;
1876
2358
  });
1877
2359
  }
1878
- export declare class TensorboardSpec extends $tea.Model {
2360
+ export declare class TensorboardSpec extends $dara.Model {
1879
2361
  /**
1880
2362
  * @example
1881
2363
  * ecs.g6.large
@@ -1902,11 +2384,12 @@ export declare class TensorboardSpec extends $tea.Model {
1902
2384
  static types(): {
1903
2385
  [key: string]: any;
1904
2386
  };
2387
+ validate(): void;
1905
2388
  constructor(map?: {
1906
2389
  [key: string]: any;
1907
2390
  });
1908
2391
  }
1909
- export declare class Workspace extends $tea.Model {
2392
+ export declare class Workspace extends $dara.Model {
1910
2393
  /**
1911
2394
  * @example
1912
2395
  * ken
@@ -1942,11 +2425,12 @@ export declare class Workspace extends $tea.Model {
1942
2425
  static types(): {
1943
2426
  [key: string]: any;
1944
2427
  };
2428
+ validate(): void;
1945
2429
  constructor(map?: {
1946
2430
  [key: string]: any;
1947
2431
  });
1948
2432
  }
1949
- export declare class CreateJobRequest extends $tea.Model {
2433
+ export declare class CreateJobRequest extends $dara.Model {
1950
2434
  accessibility?: string;
1951
2435
  codeSource?: CreateJobRequestCodeSource;
1952
2436
  credentialConfig?: CredentialConfig;
@@ -2033,11 +2517,12 @@ export declare class CreateJobRequest extends $tea.Model {
2033
2517
  static types(): {
2034
2518
  [key: string]: any;
2035
2519
  };
2520
+ validate(): void;
2036
2521
  constructor(map?: {
2037
2522
  [key: string]: any;
2038
2523
  });
2039
2524
  }
2040
- export declare class CreateJobResponseBody extends $tea.Model {
2525
+ export declare class CreateJobResponseBody extends $dara.Model {
2041
2526
  /**
2042
2527
  * @example
2043
2528
  * dlc7*******
@@ -2054,11 +2539,12 @@ export declare class CreateJobResponseBody extends $tea.Model {
2054
2539
  static types(): {
2055
2540
  [key: string]: any;
2056
2541
  };
2542
+ validate(): void;
2057
2543
  constructor(map?: {
2058
2544
  [key: string]: any;
2059
2545
  });
2060
2546
  }
2061
- export declare class CreateJobResponse extends $tea.Model {
2547
+ export declare class CreateJobResponse extends $dara.Model {
2062
2548
  headers?: {
2063
2549
  [key: string]: string;
2064
2550
  };
@@ -2070,11 +2556,12 @@ export declare class CreateJobResponse extends $tea.Model {
2070
2556
  static types(): {
2071
2557
  [key: string]: any;
2072
2558
  };
2559
+ validate(): void;
2073
2560
  constructor(map?: {
2074
2561
  [key: string]: any;
2075
2562
  });
2076
2563
  }
2077
- export declare class CreateTensorboardRequest extends $tea.Model {
2564
+ export declare class CreateTensorboardRequest extends $dara.Model {
2078
2565
  accessibility?: string;
2079
2566
  /**
2080
2567
  * @example
@@ -2153,11 +2640,12 @@ export declare class CreateTensorboardRequest extends $tea.Model {
2153
2640
  static types(): {
2154
2641
  [key: string]: any;
2155
2642
  };
2643
+ validate(): void;
2156
2644
  constructor(map?: {
2157
2645
  [key: string]: any;
2158
2646
  });
2159
2647
  }
2160
- export declare class CreateTensorboardResponseBody extends $tea.Model {
2648
+ export declare class CreateTensorboardResponseBody extends $dara.Model {
2161
2649
  /**
2162
2650
  * @example
2163
2651
  * ds-20210126170216-xxxxxxxx
@@ -2184,11 +2672,12 @@ export declare class CreateTensorboardResponseBody extends $tea.Model {
2184
2672
  static types(): {
2185
2673
  [key: string]: any;
2186
2674
  };
2675
+ validate(): void;
2187
2676
  constructor(map?: {
2188
2677
  [key: string]: any;
2189
2678
  });
2190
2679
  }
2191
- export declare class CreateTensorboardResponse extends $tea.Model {
2680
+ export declare class CreateTensorboardResponse extends $dara.Model {
2192
2681
  headers?: {
2193
2682
  [key: string]: string;
2194
2683
  };
@@ -2200,11 +2689,12 @@ export declare class CreateTensorboardResponse extends $tea.Model {
2200
2689
  static types(): {
2201
2690
  [key: string]: any;
2202
2691
  };
2692
+ validate(): void;
2203
2693
  constructor(map?: {
2204
2694
  [key: string]: any;
2205
2695
  });
2206
2696
  }
2207
- export declare class DeleteJobResponseBody extends $tea.Model {
2697
+ export declare class DeleteJobResponseBody extends $dara.Model {
2208
2698
  /**
2209
2699
  * @example
2210
2700
  * dlc*************
@@ -2221,11 +2711,12 @@ export declare class DeleteJobResponseBody extends $tea.Model {
2221
2711
  static types(): {
2222
2712
  [key: string]: any;
2223
2713
  };
2714
+ validate(): void;
2224
2715
  constructor(map?: {
2225
2716
  [key: string]: any;
2226
2717
  });
2227
2718
  }
2228
- export declare class DeleteJobResponse extends $tea.Model {
2719
+ export declare class DeleteJobResponse extends $dara.Model {
2229
2720
  headers?: {
2230
2721
  [key: string]: string;
2231
2722
  };
@@ -2237,11 +2728,12 @@ export declare class DeleteJobResponse extends $tea.Model {
2237
2728
  static types(): {
2238
2729
  [key: string]: any;
2239
2730
  };
2731
+ validate(): void;
2240
2732
  constructor(map?: {
2241
2733
  [key: string]: any;
2242
2734
  });
2243
2735
  }
2244
- export declare class DeleteTensorboardRequest extends $tea.Model {
2736
+ export declare class DeleteTensorboardRequest extends $dara.Model {
2245
2737
  /**
2246
2738
  * @example
2247
2739
  * 46099
@@ -2253,11 +2745,12 @@ export declare class DeleteTensorboardRequest extends $tea.Model {
2253
2745
  static types(): {
2254
2746
  [key: string]: any;
2255
2747
  };
2748
+ validate(): void;
2256
2749
  constructor(map?: {
2257
2750
  [key: string]: any;
2258
2751
  });
2259
2752
  }
2260
- export declare class DeleteTensorboardResponseBody extends $tea.Model {
2753
+ export declare class DeleteTensorboardResponseBody extends $dara.Model {
2261
2754
  /**
2262
2755
  * @example
2263
2756
  * 473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E
@@ -2274,11 +2767,12 @@ export declare class DeleteTensorboardResponseBody extends $tea.Model {
2274
2767
  static types(): {
2275
2768
  [key: string]: any;
2276
2769
  };
2770
+ validate(): void;
2277
2771
  constructor(map?: {
2278
2772
  [key: string]: any;
2279
2773
  });
2280
2774
  }
2281
- export declare class DeleteTensorboardResponse extends $tea.Model {
2775
+ export declare class DeleteTensorboardResponse extends $dara.Model {
2282
2776
  headers?: {
2283
2777
  [key: string]: string;
2284
2778
  };
@@ -2290,11 +2784,12 @@ export declare class DeleteTensorboardResponse extends $tea.Model {
2290
2784
  static types(): {
2291
2785
  [key: string]: any;
2292
2786
  };
2787
+ validate(): void;
2293
2788
  constructor(map?: {
2294
2789
  [key: string]: any;
2295
2790
  });
2296
2791
  }
2297
- export declare class GetJobRequest extends $tea.Model {
2792
+ export declare class GetJobRequest extends $dara.Model {
2298
2793
  /**
2299
2794
  * @example
2300
2795
  * true
@@ -2306,11 +2801,12 @@ export declare class GetJobRequest extends $tea.Model {
2306
2801
  static types(): {
2307
2802
  [key: string]: any;
2308
2803
  };
2804
+ validate(): void;
2309
2805
  constructor(map?: {
2310
2806
  [key: string]: any;
2311
2807
  });
2312
2808
  }
2313
- export declare class GetJobResponseBody extends $tea.Model {
2809
+ export declare class GetJobResponseBody extends $dara.Model {
2314
2810
  accessibility?: string;
2315
2811
  /**
2316
2812
  * @example
@@ -2455,6 +2951,7 @@ export declare class GetJobResponseBody extends $tea.Model {
2455
2951
  * 12*********
2456
2952
  */
2457
2953
  userId?: string;
2954
+ userVpc?: GetJobResponseBodyUserVpc;
2458
2955
  /**
2459
2956
  * @example
2460
2957
  * 268
@@ -2471,11 +2968,12 @@ export declare class GetJobResponseBody extends $tea.Model {
2471
2968
  static types(): {
2472
2969
  [key: string]: any;
2473
2970
  };
2971
+ validate(): void;
2474
2972
  constructor(map?: {
2475
2973
  [key: string]: any;
2476
2974
  });
2477
2975
  }
2478
- export declare class GetJobResponse extends $tea.Model {
2976
+ export declare class GetJobResponse extends $dara.Model {
2479
2977
  headers?: {
2480
2978
  [key: string]: string;
2481
2979
  };
@@ -2487,11 +2985,12 @@ export declare class GetJobResponse extends $tea.Model {
2487
2985
  static types(): {
2488
2986
  [key: string]: any;
2489
2987
  };
2988
+ validate(): void;
2490
2989
  constructor(map?: {
2491
2990
  [key: string]: any;
2492
2991
  });
2493
2992
  }
2494
- export declare class GetJobEventsRequest extends $tea.Model {
2993
+ export declare class GetJobEventsRequest extends $dara.Model {
2495
2994
  /**
2496
2995
  * @example
2497
2996
  * 2020-11-08T18:00:00Z
@@ -2513,11 +3012,12 @@ export declare class GetJobEventsRequest extends $tea.Model {
2513
3012
  static types(): {
2514
3013
  [key: string]: any;
2515
3014
  };
3015
+ validate(): void;
2516
3016
  constructor(map?: {
2517
3017
  [key: string]: any;
2518
3018
  });
2519
3019
  }
2520
- export declare class GetJobEventsResponseBody extends $tea.Model {
3020
+ export declare class GetJobEventsResponseBody extends $dara.Model {
2521
3021
  events?: string[];
2522
3022
  /**
2523
3023
  * @example
@@ -2535,11 +3035,12 @@ export declare class GetJobEventsResponseBody extends $tea.Model {
2535
3035
  static types(): {
2536
3036
  [key: string]: any;
2537
3037
  };
3038
+ validate(): void;
2538
3039
  constructor(map?: {
2539
3040
  [key: string]: any;
2540
3041
  });
2541
3042
  }
2542
- export declare class GetJobEventsResponse extends $tea.Model {
3043
+ export declare class GetJobEventsResponse extends $dara.Model {
2543
3044
  headers?: {
2544
3045
  [key: string]: string;
2545
3046
  };
@@ -2551,11 +3052,12 @@ export declare class GetJobEventsResponse extends $tea.Model {
2551
3052
  static types(): {
2552
3053
  [key: string]: any;
2553
3054
  };
3055
+ validate(): void;
2554
3056
  constructor(map?: {
2555
3057
  [key: string]: any;
2556
3058
  });
2557
3059
  }
2558
- export declare class GetJobMetricsRequest extends $tea.Model {
3060
+ export declare class GetJobMetricsRequest extends $dara.Model {
2559
3061
  /**
2560
3062
  * @example
2561
3063
  * 2020-11-09T16:00:00Z
@@ -2590,11 +3092,12 @@ export declare class GetJobMetricsRequest extends $tea.Model {
2590
3092
  static types(): {
2591
3093
  [key: string]: any;
2592
3094
  };
3095
+ validate(): void;
2593
3096
  constructor(map?: {
2594
3097
  [key: string]: any;
2595
3098
  });
2596
3099
  }
2597
- export declare class GetJobMetricsResponseBody extends $tea.Model {
3100
+ export declare class GetJobMetricsResponseBody extends $dara.Model {
2598
3101
  /**
2599
3102
  * @example
2600
3103
  * dlc-20210126170216-*******
@@ -2612,11 +3115,12 @@ export declare class GetJobMetricsResponseBody extends $tea.Model {
2612
3115
  static types(): {
2613
3116
  [key: string]: any;
2614
3117
  };
3118
+ validate(): void;
2615
3119
  constructor(map?: {
2616
3120
  [key: string]: any;
2617
3121
  });
2618
3122
  }
2619
- export declare class GetJobMetricsResponse extends $tea.Model {
3123
+ export declare class GetJobMetricsResponse extends $dara.Model {
2620
3124
  headers?: {
2621
3125
  [key: string]: string;
2622
3126
  };
@@ -2628,11 +3132,12 @@ export declare class GetJobMetricsResponse extends $tea.Model {
2628
3132
  static types(): {
2629
3133
  [key: string]: any;
2630
3134
  };
3135
+ validate(): void;
2631
3136
  constructor(map?: {
2632
3137
  [key: string]: any;
2633
3138
  });
2634
3139
  }
2635
- export declare class GetJobSanityCheckResultRequest extends $tea.Model {
3140
+ export declare class GetJobSanityCheckResultRequest extends $dara.Model {
2636
3141
  /**
2637
3142
  * @remarks
2638
3143
  * This parameter is required.
@@ -2653,11 +3158,12 @@ export declare class GetJobSanityCheckResultRequest extends $tea.Model {
2653
3158
  static types(): {
2654
3159
  [key: string]: any;
2655
3160
  };
3161
+ validate(): void;
2656
3162
  constructor(map?: {
2657
3163
  [key: string]: any;
2658
3164
  });
2659
3165
  }
2660
- export declare class GetJobSanityCheckResultResponseBody extends $tea.Model {
3166
+ export declare class GetJobSanityCheckResultResponseBody extends $dara.Model {
2661
3167
  /**
2662
3168
  * @example
2663
3169
  * dlc-20210126170216-xxxxxx
@@ -2675,11 +3181,12 @@ export declare class GetJobSanityCheckResultResponseBody extends $tea.Model {
2675
3181
  static types(): {
2676
3182
  [key: string]: any;
2677
3183
  };
3184
+ validate(): void;
2678
3185
  constructor(map?: {
2679
3186
  [key: string]: any;
2680
3187
  });
2681
3188
  }
2682
- export declare class GetJobSanityCheckResultResponse extends $tea.Model {
3189
+ export declare class GetJobSanityCheckResultResponse extends $dara.Model {
2683
3190
  headers?: {
2684
3191
  [key: string]: string;
2685
3192
  };
@@ -2691,11 +3198,12 @@ export declare class GetJobSanityCheckResultResponse extends $tea.Model {
2691
3198
  static types(): {
2692
3199
  [key: string]: any;
2693
3200
  };
3201
+ validate(): void;
2694
3202
  constructor(map?: {
2695
3203
  [key: string]: any;
2696
3204
  });
2697
3205
  }
2698
- export declare class GetPodEventsRequest extends $tea.Model {
3206
+ export declare class GetPodEventsRequest extends $dara.Model {
2699
3207
  /**
2700
3208
  * @example
2701
3209
  * 2020-11-09T16:00:00Z
@@ -2722,11 +3230,12 @@ export declare class GetPodEventsRequest extends $tea.Model {
2722
3230
  static types(): {
2723
3231
  [key: string]: any;
2724
3232
  };
3233
+ validate(): void;
2725
3234
  constructor(map?: {
2726
3235
  [key: string]: any;
2727
3236
  });
2728
3237
  }
2729
- export declare class GetPodEventsResponseBody extends $tea.Model {
3238
+ export declare class GetPodEventsResponseBody extends $dara.Model {
2730
3239
  events?: string[];
2731
3240
  /**
2732
3241
  * @example
@@ -2757,11 +3266,12 @@ export declare class GetPodEventsResponseBody extends $tea.Model {
2757
3266
  static types(): {
2758
3267
  [key: string]: any;
2759
3268
  };
3269
+ validate(): void;
2760
3270
  constructor(map?: {
2761
3271
  [key: string]: any;
2762
3272
  });
2763
3273
  }
2764
- export declare class GetPodEventsResponse extends $tea.Model {
3274
+ export declare class GetPodEventsResponse extends $dara.Model {
2765
3275
  headers?: {
2766
3276
  [key: string]: string;
2767
3277
  };
@@ -2773,11 +3283,12 @@ export declare class GetPodEventsResponse extends $tea.Model {
2773
3283
  static types(): {
2774
3284
  [key: string]: any;
2775
3285
  };
3286
+ validate(): void;
2776
3287
  constructor(map?: {
2777
3288
  [key: string]: any;
2778
3289
  });
2779
3290
  }
2780
- export declare class GetPodLogsRequest extends $tea.Model {
3291
+ export declare class GetPodLogsRequest extends $dara.Model {
2781
3292
  /**
2782
3293
  * @example
2783
3294
  * true
@@ -2809,11 +3320,12 @@ export declare class GetPodLogsRequest extends $tea.Model {
2809
3320
  static types(): {
2810
3321
  [key: string]: any;
2811
3322
  };
3323
+ validate(): void;
2812
3324
  constructor(map?: {
2813
3325
  [key: string]: any;
2814
3326
  });
2815
3327
  }
2816
- export declare class GetPodLogsResponseBody extends $tea.Model {
3328
+ export declare class GetPodLogsResponseBody extends $dara.Model {
2817
3329
  /**
2818
3330
  * @example
2819
3331
  * dlc-20210126170216-******
@@ -2841,11 +3353,12 @@ export declare class GetPodLogsResponseBody extends $tea.Model {
2841
3353
  static types(): {
2842
3354
  [key: string]: any;
2843
3355
  };
3356
+ validate(): void;
2844
3357
  constructor(map?: {
2845
3358
  [key: string]: any;
2846
3359
  });
2847
3360
  }
2848
- export declare class GetPodLogsResponse extends $tea.Model {
3361
+ export declare class GetPodLogsResponse extends $dara.Model {
2849
3362
  headers?: {
2850
3363
  [key: string]: string;
2851
3364
  };
@@ -2857,11 +3370,12 @@ export declare class GetPodLogsResponse extends $tea.Model {
2857
3370
  static types(): {
2858
3371
  [key: string]: any;
2859
3372
  };
3373
+ validate(): void;
2860
3374
  constructor(map?: {
2861
3375
  [key: string]: any;
2862
3376
  });
2863
3377
  }
2864
- export declare class GetTensorboardRequest extends $tea.Model {
3378
+ export declare class GetTensorboardRequest extends $dara.Model {
2865
3379
  /**
2866
3380
  * @example
2867
3381
  * dlc-xxxxxxxx
@@ -2879,11 +3393,12 @@ export declare class GetTensorboardRequest extends $tea.Model {
2879
3393
  static types(): {
2880
3394
  [key: string]: any;
2881
3395
  };
3396
+ validate(): void;
2882
3397
  constructor(map?: {
2883
3398
  [key: string]: any;
2884
3399
  });
2885
3400
  }
2886
- export declare class GetTensorboardResponse extends $tea.Model {
3401
+ export declare class GetTensorboardResponse extends $dara.Model {
2887
3402
  headers?: {
2888
3403
  [key: string]: string;
2889
3404
  };
@@ -2895,11 +3410,12 @@ export declare class GetTensorboardResponse extends $tea.Model {
2895
3410
  static types(): {
2896
3411
  [key: string]: any;
2897
3412
  };
3413
+ validate(): void;
2898
3414
  constructor(map?: {
2899
3415
  [key: string]: any;
2900
3416
  });
2901
3417
  }
2902
- export declare class GetTensorboardSharedUrlRequest extends $tea.Model {
3418
+ export declare class GetTensorboardSharedUrlRequest extends $dara.Model {
2903
3419
  /**
2904
3420
  * @example
2905
3421
  * 86400
@@ -2911,11 +3427,12 @@ export declare class GetTensorboardSharedUrlRequest extends $tea.Model {
2911
3427
  static types(): {
2912
3428
  [key: string]: any;
2913
3429
  };
3430
+ validate(): void;
2914
3431
  constructor(map?: {
2915
3432
  [key: string]: any;
2916
3433
  });
2917
3434
  }
2918
- export declare class GetTensorboardSharedUrlResponseBody extends $tea.Model {
3435
+ export declare class GetTensorboardSharedUrlResponseBody extends $dara.Model {
2919
3436
  /**
2920
3437
  * @example
2921
3438
  * 473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E
@@ -2932,11 +3449,12 @@ export declare class GetTensorboardSharedUrlResponseBody extends $tea.Model {
2932
3449
  static types(): {
2933
3450
  [key: string]: any;
2934
3451
  };
3452
+ validate(): void;
2935
3453
  constructor(map?: {
2936
3454
  [key: string]: any;
2937
3455
  });
2938
3456
  }
2939
- export declare class GetTensorboardSharedUrlResponse extends $tea.Model {
3457
+ export declare class GetTensorboardSharedUrlResponse extends $dara.Model {
2940
3458
  headers?: {
2941
3459
  [key: string]: string;
2942
3460
  };
@@ -2948,11 +3466,12 @@ export declare class GetTensorboardSharedUrlResponse extends $tea.Model {
2948
3466
  static types(): {
2949
3467
  [key: string]: any;
2950
3468
  };
3469
+ validate(): void;
2951
3470
  constructor(map?: {
2952
3471
  [key: string]: any;
2953
3472
  });
2954
3473
  }
2955
- export declare class GetTokenRequest extends $tea.Model {
3474
+ export declare class GetTokenRequest extends $dara.Model {
2956
3475
  /**
2957
3476
  * @example
2958
3477
  * 60
@@ -2974,11 +3493,12 @@ export declare class GetTokenRequest extends $tea.Model {
2974
3493
  static types(): {
2975
3494
  [key: string]: any;
2976
3495
  };
3496
+ validate(): void;
2977
3497
  constructor(map?: {
2978
3498
  [key: string]: any;
2979
3499
  });
2980
3500
  }
2981
- export declare class GetTokenResponseBody extends $tea.Model {
3501
+ export declare class GetTokenResponseBody extends $dara.Model {
2982
3502
  /**
2983
3503
  * @example
2984
3504
  * 473469C7-AA6F-4DC5-B3DB-xxxxxxxx
@@ -2995,11 +3515,12 @@ export declare class GetTokenResponseBody extends $tea.Model {
2995
3515
  static types(): {
2996
3516
  [key: string]: any;
2997
3517
  };
3518
+ validate(): void;
2998
3519
  constructor(map?: {
2999
3520
  [key: string]: any;
3000
3521
  });
3001
3522
  }
3002
- export declare class GetTokenResponse extends $tea.Model {
3523
+ export declare class GetTokenResponse extends $dara.Model {
3003
3524
  headers?: {
3004
3525
  [key: string]: string;
3005
3526
  };
@@ -3011,11 +3532,12 @@ export declare class GetTokenResponse extends $tea.Model {
3011
3532
  static types(): {
3012
3533
  [key: string]: any;
3013
3534
  };
3535
+ validate(): void;
3014
3536
  constructor(map?: {
3015
3537
  [key: string]: any;
3016
3538
  });
3017
3539
  }
3018
- export declare class GetWebTerminalRequest extends $tea.Model {
3540
+ export declare class GetWebTerminalRequest extends $dara.Model {
3019
3541
  isShared?: boolean;
3020
3542
  /**
3021
3543
  * @remarks
@@ -3031,11 +3553,12 @@ export declare class GetWebTerminalRequest extends $tea.Model {
3031
3553
  static types(): {
3032
3554
  [key: string]: any;
3033
3555
  };
3556
+ validate(): void;
3034
3557
  constructor(map?: {
3035
3558
  [key: string]: any;
3036
3559
  });
3037
3560
  }
3038
- export declare class GetWebTerminalResponseBody extends $tea.Model {
3561
+ export declare class GetWebTerminalResponseBody extends $dara.Model {
3039
3562
  requestId?: string;
3040
3563
  webTerminalUrl?: string;
3041
3564
  static names(): {
@@ -3044,11 +3567,12 @@ export declare class GetWebTerminalResponseBody extends $tea.Model {
3044
3567
  static types(): {
3045
3568
  [key: string]: any;
3046
3569
  };
3570
+ validate(): void;
3047
3571
  constructor(map?: {
3048
3572
  [key: string]: any;
3049
3573
  });
3050
3574
  }
3051
- export declare class GetWebTerminalResponse extends $tea.Model {
3575
+ export declare class GetWebTerminalResponse extends $dara.Model {
3052
3576
  headers?: {
3053
3577
  [key: string]: string;
3054
3578
  };
@@ -3060,11 +3584,12 @@ export declare class GetWebTerminalResponse extends $tea.Model {
3060
3584
  static types(): {
3061
3585
  [key: string]: any;
3062
3586
  };
3587
+ validate(): void;
3063
3588
  constructor(map?: {
3064
3589
  [key: string]: any;
3065
3590
  });
3066
3591
  }
3067
- export declare class ListEcsSpecsRequest extends $tea.Model {
3592
+ export declare class ListEcsSpecsRequest extends $dara.Model {
3068
3593
  /**
3069
3594
  * @example
3070
3595
  * GPU
@@ -3106,11 +3631,12 @@ export declare class ListEcsSpecsRequest extends $tea.Model {
3106
3631
  static types(): {
3107
3632
  [key: string]: any;
3108
3633
  };
3634
+ validate(): void;
3109
3635
  constructor(map?: {
3110
3636
  [key: string]: any;
3111
3637
  });
3112
3638
  }
3113
- export declare class ListEcsSpecsResponseBody extends $tea.Model {
3639
+ export declare class ListEcsSpecsResponseBody extends $dara.Model {
3114
3640
  ecsSpecs?: EcsSpec[];
3115
3641
  /**
3116
3642
  * @example
@@ -3128,11 +3654,12 @@ export declare class ListEcsSpecsResponseBody extends $tea.Model {
3128
3654
  static types(): {
3129
3655
  [key: string]: any;
3130
3656
  };
3657
+ validate(): void;
3131
3658
  constructor(map?: {
3132
3659
  [key: string]: any;
3133
3660
  });
3134
3661
  }
3135
- export declare class ListEcsSpecsResponse extends $tea.Model {
3662
+ export declare class ListEcsSpecsResponse extends $dara.Model {
3136
3663
  headers?: {
3137
3664
  [key: string]: string;
3138
3665
  };
@@ -3144,11 +3671,12 @@ export declare class ListEcsSpecsResponse extends $tea.Model {
3144
3671
  static types(): {
3145
3672
  [key: string]: any;
3146
3673
  };
3674
+ validate(): void;
3147
3675
  constructor(map?: {
3148
3676
  [key: string]: any;
3149
3677
  });
3150
3678
  }
3151
- export declare class ListJobSanityCheckResultsRequest extends $tea.Model {
3679
+ export declare class ListJobSanityCheckResultsRequest extends $dara.Model {
3152
3680
  /**
3153
3681
  * @example
3154
3682
  * desc
@@ -3160,11 +3688,12 @@ export declare class ListJobSanityCheckResultsRequest extends $tea.Model {
3160
3688
  static types(): {
3161
3689
  [key: string]: any;
3162
3690
  };
3691
+ validate(): void;
3163
3692
  constructor(map?: {
3164
3693
  [key: string]: any;
3165
3694
  });
3166
3695
  }
3167
- export declare class ListJobSanityCheckResultsResponseBody extends $tea.Model {
3696
+ export declare class ListJobSanityCheckResultsResponseBody extends $dara.Model {
3168
3697
  /**
3169
3698
  * @example
3170
3699
  * 1AC9xxx-3xxx-5xxx2-xxxx-FA5
@@ -3182,11 +3711,12 @@ export declare class ListJobSanityCheckResultsResponseBody extends $tea.Model {
3182
3711
  static types(): {
3183
3712
  [key: string]: any;
3184
3713
  };
3714
+ validate(): void;
3185
3715
  constructor(map?: {
3186
3716
  [key: string]: any;
3187
3717
  });
3188
3718
  }
3189
- export declare class ListJobSanityCheckResultsResponse extends $tea.Model {
3719
+ export declare class ListJobSanityCheckResultsResponse extends $dara.Model {
3190
3720
  headers?: {
3191
3721
  [key: string]: string;
3192
3722
  };
@@ -3198,11 +3728,12 @@ export declare class ListJobSanityCheckResultsResponse extends $tea.Model {
3198
3728
  static types(): {
3199
3729
  [key: string]: any;
3200
3730
  };
3731
+ validate(): void;
3201
3732
  constructor(map?: {
3202
3733
  [key: string]: any;
3203
3734
  });
3204
3735
  }
3205
- export declare class ListJobsRequest extends $tea.Model {
3736
+ export declare class ListJobsRequest extends $dara.Model {
3206
3737
  accessibility?: string;
3207
3738
  /**
3208
3739
  * @example
@@ -3255,6 +3786,7 @@ export declare class ListJobsRequest extends $tea.Model {
3255
3786
  * 50
3256
3787
  */
3257
3788
  pageSize?: number;
3789
+ paymentType?: string;
3258
3790
  /**
3259
3791
  * @example
3260
3792
  * flow-*******
@@ -3302,11 +3834,12 @@ export declare class ListJobsRequest extends $tea.Model {
3302
3834
  static types(): {
3303
3835
  [key: string]: any;
3304
3836
  };
3837
+ validate(): void;
3305
3838
  constructor(map?: {
3306
3839
  [key: string]: any;
3307
3840
  });
3308
3841
  }
3309
- export declare class ListJobsShrinkRequest extends $tea.Model {
3842
+ export declare class ListJobsShrinkRequest extends $dara.Model {
3310
3843
  accessibility?: string;
3311
3844
  /**
3312
3845
  * @example
@@ -3359,143 +3892,28 @@ export declare class ListJobsShrinkRequest extends $tea.Model {
3359
3892
  * 50
3360
3893
  */
3361
3894
  pageSize?: number;
3895
+ paymentType?: string;
3362
3896
  /**
3363
3897
  * @example
3364
3898
  * flow-*******
3365
3899
  */
3366
- pipelineId?: string;
3367
- /**
3368
- * @example
3369
- * r*****
3370
- */
3371
- resourceId?: string;
3372
- resourceQuotaName?: string;
3373
- /**
3374
- * @example
3375
- * true
3376
- */
3377
- showOwn?: boolean;
3378
- /**
3379
- * @example
3380
- * GmtCreateTime
3381
- */
3382
- sortBy?: string;
3383
- /**
3384
- * @example
3385
- * 2020-11-08T16:00:00Z
3386
- */
3387
- startTime?: string;
3388
- /**
3389
- * @example
3390
- * Running
3391
- */
3392
- status?: string;
3393
- tagsShrink?: string;
3394
- userIdForFilter?: string;
3395
- username?: string;
3396
- /**
3397
- * @example
3398
- * 1****
3399
- */
3400
- workspaceId?: string;
3401
- static names(): {
3402
- [key: string]: string;
3403
- };
3404
- static types(): {
3405
- [key: string]: any;
3406
- };
3407
- constructor(map?: {
3408
- [key: string]: any;
3409
- });
3410
- }
3411
- export declare class ListJobsResponseBody extends $tea.Model {
3412
- jobs?: JobItem[];
3413
- /**
3414
- * @example
3415
- * 473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E
3416
- */
3417
- requestId?: string;
3418
- /**
3419
- * @example
3420
- * 2
3421
- */
3422
- totalCount?: number;
3423
- static names(): {
3424
- [key: string]: string;
3425
- };
3426
- static types(): {
3427
- [key: string]: any;
3428
- };
3429
- constructor(map?: {
3430
- [key: string]: any;
3431
- });
3432
- }
3433
- export declare class ListJobsResponse extends $tea.Model {
3434
- headers?: {
3435
- [key: string]: string;
3436
- };
3437
- statusCode?: number;
3438
- body?: ListJobsResponseBody;
3439
- static names(): {
3440
- [key: string]: string;
3441
- };
3442
- static types(): {
3443
- [key: string]: any;
3444
- };
3445
- constructor(map?: {
3446
- [key: string]: any;
3447
- });
3448
- }
3449
- export declare class ListTensorboardsRequest extends $tea.Model {
3450
- accessibility?: string;
3451
- /**
3452
- * @example
3453
- * TestTensorboard
3454
- */
3455
- displayName?: string;
3456
- /**
3457
- * @example
3458
- * 2020-11-09T14:45:00Z
3459
- */
3460
- endTime?: string;
3461
- /**
3462
- * @example
3463
- * dlc-xxx
3464
- */
3465
- jobId?: string;
3466
- /**
3467
- * @example
3468
- * desc
3469
- */
3470
- order?: string;
3471
- /**
3472
- * @example
3473
- * 1
3474
- */
3475
- pageNumber?: number;
3476
- /**
3477
- * @example
3478
- * 50
3479
- */
3480
- pageSize?: number;
3481
- paymentType?: string;
3482
- quotaId?: string;
3483
- showOwn?: boolean;
3900
+ pipelineId?: string;
3484
3901
  /**
3485
3902
  * @example
3486
- * GmtCreateTime
3903
+ * r*****
3487
3904
  */
3488
- sortBy?: string;
3905
+ resourceId?: string;
3906
+ resourceQuotaName?: string;
3489
3907
  /**
3490
3908
  * @example
3491
- * dlc-xxxxxx
3909
+ * true
3492
3910
  */
3493
- sourceId?: string;
3911
+ showOwn?: boolean;
3494
3912
  /**
3495
3913
  * @example
3496
- * job
3914
+ * GmtCreateTime
3497
3915
  */
3498
- sourceType?: string;
3916
+ sortBy?: string;
3499
3917
  /**
3500
3918
  * @example
3501
3919
  * 2020-11-08T16:00:00Z
@@ -3506,21 +3924,12 @@ export declare class ListTensorboardsRequest extends $tea.Model {
3506
3924
  * Running
3507
3925
  */
3508
3926
  status?: string;
3509
- /**
3510
- * @example
3511
- * tensorboard-xxx
3512
- */
3513
- tensorboardId?: string;
3514
- userId?: string;
3927
+ tagsShrink?: string;
3928
+ userIdForFilter?: string;
3515
3929
  username?: string;
3516
3930
  /**
3517
3931
  * @example
3518
- * true
3519
- */
3520
- verbose?: boolean;
3521
- /**
3522
- * @example
3523
- * 380
3932
+ * 1****
3524
3933
  */
3525
3934
  workspaceId?: string;
3526
3935
  static names(): {
@@ -3529,20 +3938,21 @@ export declare class ListTensorboardsRequest extends $tea.Model {
3529
3938
  static types(): {
3530
3939
  [key: string]: any;
3531
3940
  };
3941
+ validate(): void;
3532
3942
  constructor(map?: {
3533
3943
  [key: string]: any;
3534
3944
  });
3535
3945
  }
3536
- export declare class ListTensorboardsResponseBody extends $tea.Model {
3946
+ export declare class ListJobsResponseBody extends $dara.Model {
3947
+ jobs?: JobItem[];
3537
3948
  /**
3538
3949
  * @example
3539
3950
  * 473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E
3540
3951
  */
3541
3952
  requestId?: string;
3542
- tensorboards?: Tensorboard[];
3543
3953
  /**
3544
3954
  * @example
3545
- * 100
3955
+ * 2
3546
3956
  */
3547
3957
  totalCount?: number;
3548
3958
  static names(): {
@@ -3551,231 +3961,100 @@ export declare class ListTensorboardsResponseBody extends $tea.Model {
3551
3961
  static types(): {
3552
3962
  [key: string]: any;
3553
3963
  };
3964
+ validate(): void;
3554
3965
  constructor(map?: {
3555
3966
  [key: string]: any;
3556
3967
  });
3557
3968
  }
3558
- export declare class ListTensorboardsResponse extends $tea.Model {
3969
+ export declare class ListJobsResponse extends $dara.Model {
3559
3970
  headers?: {
3560
3971
  [key: string]: string;
3561
3972
  };
3562
3973
  statusCode?: number;
3563
- body?: ListTensorboardsResponseBody;
3974
+ body?: ListJobsResponseBody;
3564
3975
  static names(): {
3565
3976
  [key: string]: string;
3566
3977
  };
3567
3978
  static types(): {
3568
3979
  [key: string]: any;
3569
3980
  };
3981
+ validate(): void;
3570
3982
  constructor(map?: {
3571
3983
  [key: string]: any;
3572
3984
  });
3573
3985
  }
3574
- export declare class StartTensorboardRequest extends $tea.Model {
3986
+ export declare class ListTensorboardsRequest extends $dara.Model {
3987
+ accessibility?: string;
3575
3988
  /**
3576
3989
  * @example
3577
- * 380
3990
+ * TestTensorboard
3578
3991
  */
3579
- workspaceId?: string;
3580
- static names(): {
3581
- [key: string]: string;
3582
- };
3583
- static types(): {
3584
- [key: string]: any;
3585
- };
3586
- constructor(map?: {
3587
- [key: string]: any;
3588
- });
3589
- }
3590
- export declare class StartTensorboardResponseBody extends $tea.Model {
3992
+ displayName?: string;
3591
3993
  /**
3592
3994
  * @example
3593
- * 473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E
3995
+ * 2020-11-09T14:45:00Z
3594
3996
  */
3595
- requestId?: string;
3997
+ endTime?: string;
3596
3998
  /**
3597
3999
  * @example
3598
- * tensorboard-20210114104214-vf9lowjt3pso
4000
+ * dlc-xxx
3599
4001
  */
3600
- tensorboardId?: string;
3601
- static names(): {
3602
- [key: string]: string;
3603
- };
3604
- static types(): {
3605
- [key: string]: any;
3606
- };
3607
- constructor(map?: {
3608
- [key: string]: any;
3609
- });
3610
- }
3611
- export declare class StartTensorboardResponse extends $tea.Model {
3612
- headers?: {
3613
- [key: string]: string;
3614
- };
3615
- statusCode?: number;
3616
- body?: StartTensorboardResponseBody;
3617
- static names(): {
3618
- [key: string]: string;
3619
- };
3620
- static types(): {
3621
- [key: string]: any;
3622
- };
3623
- constructor(map?: {
3624
- [key: string]: any;
3625
- });
3626
- }
3627
- export declare class StopJobResponseBody extends $tea.Model {
4002
+ jobId?: string;
3628
4003
  /**
3629
4004
  * @example
3630
- * dlc-20210126170216-xxxxxxx
4005
+ * desc
3631
4006
  */
3632
- jobId?: string;
4007
+ order?: string;
3633
4008
  /**
3634
4009
  * @example
3635
- * 473469C7-AA6F-4DC5-B3DB-xxxxxx
4010
+ * 1
3636
4011
  */
3637
- requestId?: string;
3638
- static names(): {
3639
- [key: string]: string;
3640
- };
3641
- static types(): {
3642
- [key: string]: any;
3643
- };
3644
- constructor(map?: {
3645
- [key: string]: any;
3646
- });
3647
- }
3648
- export declare class StopJobResponse extends $tea.Model {
3649
- headers?: {
3650
- [key: string]: string;
3651
- };
3652
- statusCode?: number;
3653
- body?: StopJobResponseBody;
3654
- static names(): {
3655
- [key: string]: string;
3656
- };
3657
- static types(): {
3658
- [key: string]: any;
3659
- };
3660
- constructor(map?: {
3661
- [key: string]: any;
3662
- });
3663
- }
3664
- export declare class StopTensorboardRequest extends $tea.Model {
4012
+ pageNumber?: number;
3665
4013
  /**
3666
4014
  * @example
3667
- * 380
4015
+ * 50
3668
4016
  */
3669
- workspaceId?: string;
3670
- static names(): {
3671
- [key: string]: string;
3672
- };
3673
- static types(): {
3674
- [key: string]: any;
3675
- };
3676
- constructor(map?: {
3677
- [key: string]: any;
3678
- });
3679
- }
3680
- export declare class StopTensorboardResponseBody extends $tea.Model {
4017
+ pageSize?: number;
4018
+ paymentType?: string;
4019
+ quotaId?: string;
4020
+ showOwn?: boolean;
3681
4021
  /**
3682
4022
  * @example
3683
- * 473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E
4023
+ * GmtCreateTime
3684
4024
  */
3685
- requestId?: string;
4025
+ sortBy?: string;
3686
4026
  /**
3687
4027
  * @example
3688
- * tensorboard-20210114104214-xxxxxxxx
4028
+ * dlc-xxxxxx
3689
4029
  */
3690
- tensorboardId?: string;
3691
- static names(): {
3692
- [key: string]: string;
3693
- };
3694
- static types(): {
3695
- [key: string]: any;
3696
- };
3697
- constructor(map?: {
3698
- [key: string]: any;
3699
- });
3700
- }
3701
- export declare class StopTensorboardResponse extends $tea.Model {
3702
- headers?: {
3703
- [key: string]: string;
3704
- };
3705
- statusCode?: number;
3706
- body?: StopTensorboardResponseBody;
3707
- static names(): {
3708
- [key: string]: string;
3709
- };
3710
- static types(): {
3711
- [key: string]: any;
3712
- };
3713
- constructor(map?: {
3714
- [key: string]: any;
3715
- });
3716
- }
3717
- export declare class UpdateJobRequest extends $tea.Model {
3718
- accessibility?: string;
4030
+ sourceId?: string;
3719
4031
  /**
3720
4032
  * @example
3721
- * 5
4033
+ * job
3722
4034
  */
3723
- priority?: number;
3724
- static names(): {
3725
- [key: string]: string;
3726
- };
3727
- static types(): {
3728
- [key: string]: any;
3729
- };
3730
- constructor(map?: {
3731
- [key: string]: any;
3732
- });
3733
- }
3734
- export declare class UpdateJobResponseBody extends $tea.Model {
4035
+ sourceType?: string;
3735
4036
  /**
3736
4037
  * @example
3737
- * dlc*************
4038
+ * 2020-11-08T16:00:00Z
3738
4039
  */
3739
- jobId?: string;
4040
+ startTime?: string;
3740
4041
  /**
3741
4042
  * @example
3742
- * 473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E
4043
+ * Running
3743
4044
  */
3744
- requestId?: string;
3745
- static names(): {
3746
- [key: string]: string;
3747
- };
3748
- static types(): {
3749
- [key: string]: any;
3750
- };
3751
- constructor(map?: {
3752
- [key: string]: any;
3753
- });
3754
- }
3755
- export declare class UpdateJobResponse extends $tea.Model {
3756
- headers?: {
3757
- [key: string]: string;
3758
- };
3759
- statusCode?: number;
3760
- body?: UpdateJobResponseBody;
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 UpdateTensorboardRequest extends $tea.Model {
3772
- accessibility?: string;
4045
+ status?: string;
3773
4046
  /**
3774
4047
  * @example
3775
- * MaxRunningTimeMinutes
4048
+ * tensorboard-xxx
3776
4049
  */
3777
- maxRunningTimeMinutes?: number;
3778
- priority?: string;
4050
+ tensorboardId?: string;
4051
+ userId?: string;
4052
+ username?: string;
4053
+ /**
4054
+ * @example
4055
+ * true
4056
+ */
4057
+ verbose?: boolean;
3779
4058
  /**
3780
4059
  * @example
3781
4060
  * 380
@@ -3787,415 +4066,324 @@ export declare class UpdateTensorboardRequest extends $tea.Model {
3787
4066
  static types(): {
3788
4067
  [key: string]: any;
3789
4068
  };
4069
+ validate(): void;
3790
4070
  constructor(map?: {
3791
4071
  [key: string]: any;
3792
4072
  });
3793
4073
  }
3794
- export declare class UpdateTensorboardResponseBody extends $tea.Model {
4074
+ export declare class ListTensorboardsResponseBody extends $dara.Model {
3795
4075
  /**
3796
4076
  * @example
3797
4077
  * 473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E
3798
4078
  */
3799
4079
  requestId?: string;
4080
+ tensorboards?: Tensorboard[];
3800
4081
  /**
3801
4082
  * @example
3802
- * tensorboard-20210114104214-xxxxxxxx
4083
+ * 100
3803
4084
  */
3804
- tensorboardId?: string;
4085
+ totalCount?: number;
3805
4086
  static names(): {
3806
4087
  [key: string]: string;
3807
4088
  };
3808
4089
  static types(): {
3809
4090
  [key: string]: any;
3810
4091
  };
4092
+ validate(): void;
3811
4093
  constructor(map?: {
3812
4094
  [key: string]: any;
3813
4095
  });
3814
4096
  }
3815
- export declare class UpdateTensorboardResponse extends $tea.Model {
4097
+ export declare class ListTensorboardsResponse extends $dara.Model {
3816
4098
  headers?: {
3817
4099
  [key: string]: string;
3818
4100
  };
3819
4101
  statusCode?: number;
3820
- body?: UpdateTensorboardResponseBody;
4102
+ body?: ListTensorboardsResponseBody;
3821
4103
  static names(): {
3822
4104
  [key: string]: string;
3823
4105
  };
3824
- static types(): {
3825
- [key: string]: any;
3826
- };
3827
- constructor(map?: {
3828
- [key: string]: any;
3829
- });
3830
- }
3831
- export declare class JobItemCodeSource extends $tea.Model {
3832
- /**
3833
- * @example
3834
- * master
3835
- */
3836
- branch?: string;
3837
- /**
3838
- * @example
3839
- * code-20210111103721-85qz78ia96lu
3840
- */
3841
- codeSourceId?: string;
3842
- /**
3843
- * @example
3844
- * 44da109b59f8596152987eaa8f3b2487bb72ea63
3845
- */
3846
- commit?: string;
4106
+ static types(): {
4107
+ [key: string]: any;
4108
+ };
4109
+ validate(): void;
4110
+ constructor(map?: {
4111
+ [key: string]: any;
4112
+ });
4113
+ }
4114
+ export declare class StartTensorboardRequest extends $dara.Model {
3847
4115
  /**
3848
4116
  * @example
3849
- * /mnt/data
4117
+ * 380
3850
4118
  */
3851
- mountPath?: string;
4119
+ workspaceId?: string;
3852
4120
  static names(): {
3853
4121
  [key: string]: string;
3854
4122
  };
3855
4123
  static types(): {
3856
4124
  [key: string]: any;
3857
4125
  };
4126
+ validate(): void;
3858
4127
  constructor(map?: {
3859
4128
  [key: string]: any;
3860
4129
  });
3861
4130
  }
3862
- export declare class JobItemDataSources extends $tea.Model {
4131
+ export declare class StartTensorboardResponseBody extends $dara.Model {
3863
4132
  /**
3864
4133
  * @example
3865
- * data-20210114104214-vf9lowjt3pso
4134
+ * 473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E
3866
4135
  */
3867
- dataSourceId?: string;
4136
+ requestId?: string;
3868
4137
  /**
3869
4138
  * @example
3870
- * /mnt/data
4139
+ * tensorboard-20210114104214-vf9lowjt3pso
3871
4140
  */
3872
- mountPath?: string;
4141
+ tensorboardId?: string;
3873
4142
  static names(): {
3874
4143
  [key: string]: string;
3875
4144
  };
3876
4145
  static types(): {
3877
4146
  [key: string]: any;
3878
4147
  };
4148
+ validate(): void;
3879
4149
  constructor(map?: {
3880
4150
  [key: string]: any;
3881
4151
  });
3882
4152
  }
3883
- export declare class LifecyclePostStartExec extends $tea.Model {
3884
- command?: string[];
4153
+ export declare class StartTensorboardResponse extends $dara.Model {
4154
+ headers?: {
4155
+ [key: string]: string;
4156
+ };
4157
+ statusCode?: number;
4158
+ body?: StartTensorboardResponseBody;
3885
4159
  static names(): {
3886
4160
  [key: string]: string;
3887
4161
  };
3888
4162
  static types(): {
3889
4163
  [key: string]: any;
3890
4164
  };
4165
+ validate(): void;
3891
4166
  constructor(map?: {
3892
4167
  [key: string]: any;
3893
4168
  });
3894
4169
  }
3895
- export declare class LifecyclePostStart extends $tea.Model {
3896
- exec?: LifecyclePostStartExec;
4170
+ export declare class StopJobResponseBody extends $dara.Model {
4171
+ /**
4172
+ * @example
4173
+ * dlc-20210126170216-xxxxxxx
4174
+ */
4175
+ jobId?: string;
4176
+ /**
4177
+ * @example
4178
+ * 473469C7-AA6F-4DC5-B3DB-xxxxxx
4179
+ */
4180
+ requestId?: string;
3897
4181
  static names(): {
3898
4182
  [key: string]: string;
3899
4183
  };
3900
4184
  static types(): {
3901
4185
  [key: string]: any;
3902
4186
  };
4187
+ validate(): void;
3903
4188
  constructor(map?: {
3904
4189
  [key: string]: any;
3905
4190
  });
3906
4191
  }
3907
- export declare class LifecyclePreStopExec extends $tea.Model {
3908
- command?: string[];
4192
+ export declare class StopJobResponse extends $dara.Model {
4193
+ headers?: {
4194
+ [key: string]: string;
4195
+ };
4196
+ statusCode?: number;
4197
+ body?: StopJobResponseBody;
3909
4198
  static names(): {
3910
4199
  [key: string]: string;
3911
4200
  };
3912
4201
  static types(): {
3913
4202
  [key: string]: any;
3914
4203
  };
4204
+ validate(): void;
3915
4205
  constructor(map?: {
3916
4206
  [key: string]: any;
3917
4207
  });
3918
4208
  }
3919
- export declare class LifecyclePreStop extends $tea.Model {
3920
- exec?: LifecyclePreStopExec;
4209
+ export declare class StopTensorboardRequest extends $dara.Model {
4210
+ /**
4211
+ * @example
4212
+ * 380
4213
+ */
4214
+ workspaceId?: string;
3921
4215
  static names(): {
3922
4216
  [key: string]: string;
3923
4217
  };
3924
4218
  static types(): {
3925
4219
  [key: string]: any;
3926
4220
  };
4221
+ validate(): void;
3927
4222
  constructor(map?: {
3928
4223
  [key: string]: any;
3929
4224
  });
3930
4225
  }
3931
- export declare class CreateJobRequestCodeSource extends $tea.Model {
4226
+ export declare class StopTensorboardResponseBody extends $dara.Model {
3932
4227
  /**
3933
4228
  * @example
3934
- * master
3935
- */
3936
- branch?: string;
3937
- /**
3938
- * @example
3939
- * code-20210111103721-xxxxxxx
3940
- */
3941
- codeSourceId?: string;
3942
- /**
3943
- * @example
3944
- * 44da109b5******
4229
+ * 473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E
3945
4230
  */
3946
- commit?: string;
4231
+ requestId?: string;
3947
4232
  /**
3948
4233
  * @example
3949
- * /root/data
4234
+ * tensorboard-20210114104214-xxxxxxxx
3950
4235
  */
3951
- mountPath?: string;
4236
+ tensorboardId?: string;
3952
4237
  static names(): {
3953
4238
  [key: string]: string;
3954
4239
  };
3955
4240
  static types(): {
3956
4241
  [key: string]: any;
3957
4242
  };
4243
+ validate(): void;
3958
4244
  constructor(map?: {
3959
4245
  [key: string]: any;
3960
4246
  });
3961
4247
  }
3962
- export declare class CreateJobRequestDataSources extends $tea.Model {
3963
- /**
3964
- * @example
3965
- * d-cn9dl*******
3966
- */
3967
- dataSourceId?: string;
3968
- /**
3969
- * @example
3970
- * /root/data
3971
- */
3972
- mountPath?: string;
3973
- options?: string;
3974
- /**
3975
- * @example
3976
- * oss://bucket.oss-cn-hangzhou-internal.aliyuncs.com/path/
3977
- */
3978
- uri?: string;
4248
+ export declare class StopTensorboardResponse extends $dara.Model {
4249
+ headers?: {
4250
+ [key: string]: string;
4251
+ };
4252
+ statusCode?: number;
4253
+ body?: StopTensorboardResponseBody;
3979
4254
  static names(): {
3980
4255
  [key: string]: string;
3981
4256
  };
3982
4257
  static types(): {
3983
4258
  [key: string]: any;
3984
4259
  };
4260
+ validate(): void;
3985
4261
  constructor(map?: {
3986
4262
  [key: string]: any;
3987
4263
  });
3988
4264
  }
3989
- export declare class CreateJobRequestUserVpc extends $tea.Model {
3990
- defaultRoute?: string;
3991
- extendedCIDRs?: string[];
3992
- /**
3993
- * @example
3994
- * sg-abcdef****
3995
- */
3996
- securityGroupId?: string;
3997
- /**
3998
- * @example
3999
- * vs-abcdef****
4000
- */
4001
- switchId?: string;
4265
+ export declare class UpdateJobRequest extends $dara.Model {
4266
+ accessibility?: string;
4002
4267
  /**
4003
4268
  * @example
4004
- * vpc-abcdef****
4269
+ * 5
4005
4270
  */
4006
- vpcId?: string;
4271
+ priority?: number;
4007
4272
  static names(): {
4008
4273
  [key: string]: string;
4009
4274
  };
4010
4275
  static types(): {
4011
4276
  [key: string]: any;
4012
4277
  };
4278
+ validate(): void;
4013
4279
  constructor(map?: {
4014
4280
  [key: string]: any;
4015
4281
  });
4016
4282
  }
4017
- export declare class GetJobResponseBodyCodeSource extends $tea.Model {
4018
- /**
4019
- * @example
4020
- * master
4021
- */
4022
- branch?: string;
4023
- /**
4024
- * @example
4025
- * code******
4026
- */
4027
- codeSourceId?: string;
4283
+ export declare class UpdateJobResponseBody extends $dara.Model {
4028
4284
  /**
4029
4285
  * @example
4030
- * 44da109b59f8596152987eaa8f3b2487xxxxxx
4286
+ * dlc*************
4031
4287
  */
4032
- commit?: string;
4288
+ jobId?: string;
4033
4289
  /**
4034
4290
  * @example
4035
- * /mnt/data
4291
+ * 473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E
4036
4292
  */
4037
- mountPath?: string;
4293
+ requestId?: string;
4038
4294
  static names(): {
4039
4295
  [key: string]: string;
4040
4296
  };
4041
4297
  static types(): {
4042
4298
  [key: string]: any;
4043
4299
  };
4300
+ validate(): void;
4044
4301
  constructor(map?: {
4045
4302
  [key: string]: any;
4046
4303
  });
4047
4304
  }
4048
- export declare class GetJobResponseBodyDataSources extends $tea.Model {
4049
- /**
4050
- * @example
4051
- * d*******
4052
- */
4053
- dataSourceId?: string;
4054
- /**
4055
- * @example
4056
- * /mnt/data/
4057
- */
4058
- mountPath?: string;
4059
- /**
4060
- * @example
4061
- * oss://bucket.oss-cn-hangzhou-internal.aliyuncs.com/path/
4062
- */
4063
- uri?: string;
4305
+ export declare class UpdateJobResponse extends $dara.Model {
4306
+ headers?: {
4307
+ [key: string]: string;
4308
+ };
4309
+ statusCode?: number;
4310
+ body?: UpdateJobResponseBody;
4064
4311
  static names(): {
4065
4312
  [key: string]: string;
4066
4313
  };
4067
4314
  static types(): {
4068
4315
  [key: string]: any;
4069
4316
  };
4317
+ validate(): void;
4070
4318
  constructor(map?: {
4071
4319
  [key: string]: any;
4072
4320
  });
4073
4321
  }
4074
- export declare class GetJobResponseBodyPodsHistoryPods extends $tea.Model {
4075
- /**
4076
- * @example
4077
- * 2021-01-12T14:36:01Z
4078
- */
4079
- gmtCreateTime?: string;
4080
- /**
4081
- * @example
4082
- * 2021-01-12T14:36:01Z
4083
- */
4084
- gmtFinishTime?: string;
4085
- /**
4086
- * @example
4087
- * 2021-01-12T14:36:01Z
4088
- */
4089
- gmtStartTime?: string;
4090
- /**
4091
- * @example
4092
- * 10.0.1.3
4093
- */
4094
- ip?: string;
4095
- /**
4096
- * @example
4097
- * Worker
4098
- */
4099
- podId?: string;
4100
- /**
4101
- * @example
4102
- * fe846462-af2c-4521-bd6f-96787a57591d
4103
- */
4104
- podUid?: string;
4105
- /**
4106
- * @example
4107
- * Normal
4108
- */
4109
- resourceType?: string;
4110
- /**
4111
- * @example
4112
- * Failed
4113
- */
4114
- status?: string;
4322
+ export declare class UpdateTensorboardRequest extends $dara.Model {
4323
+ accessibility?: string;
4115
4324
  /**
4116
4325
  * @example
4117
- * Normal
4326
+ * MaxRunningTimeMinutes
4118
4327
  */
4119
- subStatus?: string;
4328
+ maxRunningTimeMinutes?: number;
4329
+ priority?: string;
4120
4330
  /**
4121
4331
  * @example
4122
- * Worker
4332
+ * 380
4123
4333
  */
4124
- type?: string;
4334
+ workspaceId?: string;
4125
4335
  static names(): {
4126
4336
  [key: string]: string;
4127
4337
  };
4128
4338
  static types(): {
4129
4339
  [key: string]: any;
4130
4340
  };
4341
+ validate(): void;
4131
4342
  constructor(map?: {
4132
4343
  [key: string]: any;
4133
4344
  });
4134
4345
  }
4135
- export declare class GetJobResponseBodyPods extends $tea.Model {
4346
+ export declare class UpdateTensorboardResponseBody extends $dara.Model {
4136
4347
  /**
4137
4348
  * @example
4138
- * 2021-01-12T14:36:01Z
4139
- */
4140
- gmtCreateTime?: string;
4141
- /**
4142
- * @example
4143
- * 2021-01-12T15:36:05Z
4144
- */
4145
- gmtFinishTime?: string;
4146
- /**
4147
- * @example
4148
- * 2021-01-12T14:36:01Z
4149
- */
4150
- gmtStartTime?: string;
4151
- historyPods?: GetJobResponseBodyPodsHistoryPods[];
4152
- /**
4153
- * @example
4154
- * 10.0.1.2
4155
- */
4156
- ip?: string;
4157
- /**
4158
- * @example
4159
- * Worker
4160
- */
4161
- podId?: string;
4162
- /**
4163
- * @example
4164
- * fe846462-af2c-4521-bd6f-96787a57591d
4165
- */
4166
- podUid?: string;
4167
- /**
4168
- * @example
4169
- * Normal
4170
- */
4171
- resourceType?: string;
4172
- /**
4173
- * @example
4174
- * Running
4175
- */
4176
- status?: string;
4177
- /**
4178
- * @example
4179
- * Normal
4349
+ * 473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E
4180
4350
  */
4181
- subStatus?: string;
4351
+ requestId?: string;
4182
4352
  /**
4183
4353
  * @example
4184
- * Worker
4354
+ * tensorboard-20210114104214-xxxxxxxx
4185
4355
  */
4186
- type?: string;
4356
+ tensorboardId?: string;
4357
+ static names(): {
4358
+ [key: string]: string;
4359
+ };
4360
+ static types(): {
4361
+ [key: string]: any;
4362
+ };
4363
+ validate(): void;
4364
+ constructor(map?: {
4365
+ [key: string]: any;
4366
+ });
4367
+ }
4368
+ export declare class UpdateTensorboardResponse extends $dara.Model {
4369
+ headers?: {
4370
+ [key: string]: string;
4371
+ };
4372
+ statusCode?: number;
4373
+ body?: UpdateTensorboardResponseBody;
4187
4374
  static names(): {
4188
4375
  [key: string]: string;
4189
4376
  };
4190
4377
  static types(): {
4191
4378
  [key: string]: any;
4192
4379
  };
4380
+ validate(): void;
4193
4381
  constructor(map?: {
4194
4382
  [key: string]: any;
4195
4383
  });
4196
4384
  }
4197
4385
  export default class Client extends OpenApi {
4198
- constructor(config: $OpenApi.Config);
4386
+ constructor(config: $OpenApiUtil.Config);
4199
4387
  getEndpoint(productId: string, regionId: string, endpointRule: string, network: string, suffix: string, endpointMap: {
4200
4388
  [key: string]: string;
4201
4389
  }, endpoint: string): string;
@@ -4209,7 +4397,7 @@ export default class Client extends OpenApi {
4209
4397
  */
4210
4398
  createJobWithOptions(request: CreateJobRequest, headers: {
4211
4399
  [key: string]: string;
4212
- }, runtime: $Util.RuntimeOptions): Promise<CreateJobResponse>;
4400
+ }, runtime: $dara.RuntimeOptions): Promise<CreateJobResponse>;
4213
4401
  /**
4214
4402
  * 创建一个DLC作业
4215
4403
  *
@@ -4227,7 +4415,7 @@ export default class Client extends OpenApi {
4227
4415
  */
4228
4416
  createTensorboardWithOptions(request: CreateTensorboardRequest, headers: {
4229
4417
  [key: string]: string;
4230
- }, runtime: $Util.RuntimeOptions): Promise<CreateTensorboardResponse>;
4418
+ }, runtime: $dara.RuntimeOptions): Promise<CreateTensorboardResponse>;
4231
4419
  /**
4232
4420
  * 创建一个Tensorboard
4233
4421
  *
@@ -4244,7 +4432,7 @@ export default class Client extends OpenApi {
4244
4432
  */
4245
4433
  deleteJobWithOptions(JobId: string, headers: {
4246
4434
  [key: string]: string;
4247
- }, runtime: $Util.RuntimeOptions): Promise<DeleteJobResponse>;
4435
+ }, runtime: $dara.RuntimeOptions): Promise<DeleteJobResponse>;
4248
4436
  /**
4249
4437
  * 删除一个DLC作业
4250
4438
  * @returns DeleteJobResponse
@@ -4260,7 +4448,7 @@ export default class Client extends OpenApi {
4260
4448
  */
4261
4449
  deleteTensorboardWithOptions(TensorboardId: string, request: DeleteTensorboardRequest, headers: {
4262
4450
  [key: string]: string;
4263
- }, runtime: $Util.RuntimeOptions): Promise<DeleteTensorboardResponse>;
4451
+ }, runtime: $dara.RuntimeOptions): Promise<DeleteTensorboardResponse>;
4264
4452
  /**
4265
4453
  * 删除一个数据源配置
4266
4454
  *
@@ -4278,7 +4466,7 @@ export default class Client extends OpenApi {
4278
4466
  */
4279
4467
  getJobWithOptions(JobId: string, request: GetJobRequest, headers: {
4280
4468
  [key: string]: string;
4281
- }, runtime: $Util.RuntimeOptions): Promise<GetJobResponse>;
4469
+ }, runtime: $dara.RuntimeOptions): Promise<GetJobResponse>;
4282
4470
  /**
4283
4471
  * 获取一个DLC作业详情
4284
4472
  *
@@ -4296,7 +4484,7 @@ export default class Client extends OpenApi {
4296
4484
  */
4297
4485
  getJobEventsWithOptions(JobId: string, request: GetJobEventsRequest, headers: {
4298
4486
  [key: string]: string;
4299
- }, runtime: $Util.RuntimeOptions): Promise<GetJobEventsResponse>;
4487
+ }, runtime: $dara.RuntimeOptions): Promise<GetJobEventsResponse>;
4300
4488
  /**
4301
4489
  * 获取作业的事件
4302
4490
  *
@@ -4314,7 +4502,7 @@ export default class Client extends OpenApi {
4314
4502
  */
4315
4503
  getJobMetricsWithOptions(JobId: string, request: GetJobMetricsRequest, headers: {
4316
4504
  [key: string]: string;
4317
- }, runtime: $Util.RuntimeOptions): Promise<GetJobMetricsResponse>;
4505
+ }, runtime: $dara.RuntimeOptions): Promise<GetJobMetricsResponse>;
4318
4506
  /**
4319
4507
  * 获取一个作业的资源监控指标
4320
4508
  *
@@ -4332,7 +4520,7 @@ export default class Client extends OpenApi {
4332
4520
  */
4333
4521
  getJobSanityCheckResultWithOptions(JobId: string, request: GetJobSanityCheckResultRequest, headers: {
4334
4522
  [key: string]: string;
4335
- }, runtime: $Util.RuntimeOptions): Promise<GetJobSanityCheckResultResponse>;
4523
+ }, runtime: $dara.RuntimeOptions): Promise<GetJobSanityCheckResultResponse>;
4336
4524
  /**
4337
4525
  * 获取DLC作业某次算力健康检测结果
4338
4526
  *
@@ -4350,7 +4538,7 @@ export default class Client extends OpenApi {
4350
4538
  */
4351
4539
  getPodEventsWithOptions(JobId: string, PodId: string, request: GetPodEventsRequest, headers: {
4352
4540
  [key: string]: string;
4353
- }, runtime: $Util.RuntimeOptions): Promise<GetPodEventsResponse>;
4541
+ }, runtime: $dara.RuntimeOptions): Promise<GetPodEventsResponse>;
4354
4542
  /**
4355
4543
  * 获取作业中一个运行实例的系统事件
4356
4544
  *
@@ -4368,7 +4556,7 @@ export default class Client extends OpenApi {
4368
4556
  */
4369
4557
  getPodLogsWithOptions(JobId: string, PodId: string, request: GetPodLogsRequest, headers: {
4370
4558
  [key: string]: string;
4371
- }, runtime: $Util.RuntimeOptions): Promise<GetPodLogsResponse>;
4559
+ }, runtime: $dara.RuntimeOptions): Promise<GetPodLogsResponse>;
4372
4560
  /**
4373
4561
  * 获取作业中一个运行实例的日志
4374
4562
  *
@@ -4386,7 +4574,7 @@ export default class Client extends OpenApi {
4386
4574
  */
4387
4575
  getTensorboardWithOptions(TensorboardId: string, request: GetTensorboardRequest, headers: {
4388
4576
  [key: string]: string;
4389
- }, runtime: $Util.RuntimeOptions): Promise<GetTensorboardResponse>;
4577
+ }, runtime: $dara.RuntimeOptions): Promise<GetTensorboardResponse>;
4390
4578
  /**
4391
4579
  * 获取一个Tensorboard
4392
4580
  *
@@ -4404,7 +4592,7 @@ export default class Client extends OpenApi {
4404
4592
  */
4405
4593
  getTensorboardSharedUrlWithOptions(TensorboardId: string, request: GetTensorboardSharedUrlRequest, headers: {
4406
4594
  [key: string]: string;
4407
- }, runtime: $Util.RuntimeOptions): Promise<GetTensorboardSharedUrlResponse>;
4595
+ }, runtime: $dara.RuntimeOptions): Promise<GetTensorboardSharedUrlResponse>;
4408
4596
  /**
4409
4597
  * Get the shared url for tensorboard
4410
4598
  *
@@ -4422,7 +4610,7 @@ export default class Client extends OpenApi {
4422
4610
  */
4423
4611
  getTokenWithOptions(request: GetTokenRequest, headers: {
4424
4612
  [key: string]: string;
4425
- }, runtime: $Util.RuntimeOptions): Promise<GetTokenResponse>;
4613
+ }, runtime: $dara.RuntimeOptions): Promise<GetTokenResponse>;
4426
4614
  /**
4427
4615
  * 获取用户Token
4428
4616
  *
@@ -4440,7 +4628,7 @@ export default class Client extends OpenApi {
4440
4628
  */
4441
4629
  getWebTerminalWithOptions(JobId: string, PodId: string, request: GetWebTerminalRequest, headers: {
4442
4630
  [key: string]: string;
4443
- }, runtime: $Util.RuntimeOptions): Promise<GetWebTerminalResponse>;
4631
+ }, runtime: $dara.RuntimeOptions): Promise<GetWebTerminalResponse>;
4444
4632
  /**
4445
4633
  * Get the url for accessing pod's terminal in k8s
4446
4634
  *
@@ -4458,7 +4646,7 @@ export default class Client extends OpenApi {
4458
4646
  */
4459
4647
  listEcsSpecsWithOptions(request: ListEcsSpecsRequest, headers: {
4460
4648
  [key: string]: string;
4461
- }, runtime: $Util.RuntimeOptions): Promise<ListEcsSpecsResponse>;
4649
+ }, runtime: $dara.RuntimeOptions): Promise<ListEcsSpecsResponse>;
4462
4650
  /**
4463
4651
  * ListEcsSpecs
4464
4652
  *
@@ -4476,7 +4664,7 @@ export default class Client extends OpenApi {
4476
4664
  */
4477
4665
  listJobSanityCheckResultsWithOptions(JobId: string, request: ListJobSanityCheckResultsRequest, headers: {
4478
4666
  [key: string]: string;
4479
- }, runtime: $Util.RuntimeOptions): Promise<ListJobSanityCheckResultsResponse>;
4667
+ }, runtime: $dara.RuntimeOptions): Promise<ListJobSanityCheckResultsResponse>;
4480
4668
  /**
4481
4669
  * 获取某个DLC作业的多次算力健康检测结果
4482
4670
  *
@@ -4494,7 +4682,7 @@ export default class Client extends OpenApi {
4494
4682
  */
4495
4683
  listJobsWithOptions(tmpReq: ListJobsRequest, headers: {
4496
4684
  [key: string]: string;
4497
- }, runtime: $Util.RuntimeOptions): Promise<ListJobsResponse>;
4685
+ }, runtime: $dara.RuntimeOptions): Promise<ListJobsResponse>;
4498
4686
  /**
4499
4687
  * 根据过滤条件获取DLC作业列表
4500
4688
  *
@@ -4512,7 +4700,7 @@ export default class Client extends OpenApi {
4512
4700
  */
4513
4701
  listTensorboardsWithOptions(request: ListTensorboardsRequest, headers: {
4514
4702
  [key: string]: string;
4515
- }, runtime: $Util.RuntimeOptions): Promise<ListTensorboardsResponse>;
4703
+ }, runtime: $dara.RuntimeOptions): Promise<ListTensorboardsResponse>;
4516
4704
  /**
4517
4705
  * 获取Tensorboard
4518
4706
  *
@@ -4530,7 +4718,7 @@ export default class Client extends OpenApi {
4530
4718
  */
4531
4719
  startTensorboardWithOptions(TensorboardId: string, request: StartTensorboardRequest, headers: {
4532
4720
  [key: string]: string;
4533
- }, runtime: $Util.RuntimeOptions): Promise<StartTensorboardResponse>;
4721
+ }, runtime: $dara.RuntimeOptions): Promise<StartTensorboardResponse>;
4534
4722
  /**
4535
4723
  * 开始运行tensorboard
4536
4724
  *
@@ -4547,7 +4735,7 @@ export default class Client extends OpenApi {
4547
4735
  */
4548
4736
  stopJobWithOptions(JobId: string, headers: {
4549
4737
  [key: string]: string;
4550
- }, runtime: $Util.RuntimeOptions): Promise<StopJobResponse>;
4738
+ }, runtime: $dara.RuntimeOptions): Promise<StopJobResponse>;
4551
4739
  /**
4552
4740
  * 停止一个DLC作业
4553
4741
  * @returns StopJobResponse
@@ -4563,7 +4751,7 @@ export default class Client extends OpenApi {
4563
4751
  */
4564
4752
  stopTensorboardWithOptions(TensorboardId: string, request: StopTensorboardRequest, headers: {
4565
4753
  [key: string]: string;
4566
- }, runtime: $Util.RuntimeOptions): Promise<StopTensorboardResponse>;
4754
+ }, runtime: $dara.RuntimeOptions): Promise<StopTensorboardResponse>;
4567
4755
  /**
4568
4756
  * 停止运行tensorboard
4569
4757
  *
@@ -4581,7 +4769,7 @@ export default class Client extends OpenApi {
4581
4769
  */
4582
4770
  updateJobWithOptions(JobId: string, request: UpdateJobRequest, headers: {
4583
4771
  [key: string]: string;
4584
- }, runtime: $Util.RuntimeOptions): Promise<UpdateJobResponse>;
4772
+ }, runtime: $dara.RuntimeOptions): Promise<UpdateJobResponse>;
4585
4773
  /**
4586
4774
  * 更新一个Job
4587
4775
  *
@@ -4599,7 +4787,7 @@ export default class Client extends OpenApi {
4599
4787
  */
4600
4788
  updateTensorboardWithOptions(TensorboardId: string, request: UpdateTensorboardRequest, headers: {
4601
4789
  [key: string]: string;
4602
- }, runtime: $Util.RuntimeOptions): Promise<UpdateTensorboardResponse>;
4790
+ }, runtime: $dara.RuntimeOptions): Promise<UpdateTensorboardResponse>;
4603
4791
  /**
4604
4792
  * 更新tensorboard
4605
4793
  *