@alicloud/ehpcinstant20230701 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,1304 @@
1
+ /**
2
+ *
3
+ */
4
+ import * as $Util from '@alicloud/tea-util';
5
+ import OpenApi, * as $OpenApi from '@alicloud/openapi-client';
6
+ import * as $tea from '@alicloud/tea-typescript';
7
+ export declare class AddImageRequest extends $tea.Model {
8
+ containerImageSpec?: AddImageRequestContainerImageSpec;
9
+ description?: string;
10
+ imageVersion?: string;
11
+ name?: string;
12
+ VMImageSpec?: AddImageRequestVMImageSpec;
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 AddImageShrinkRequest extends $tea.Model {
24
+ containerImageSpecShrink?: string;
25
+ description?: string;
26
+ imageVersion?: string;
27
+ name?: string;
28
+ VMImageSpecShrink?: string;
29
+ static names(): {
30
+ [key: string]: string;
31
+ };
32
+ static types(): {
33
+ [key: string]: any;
34
+ };
35
+ constructor(map?: {
36
+ [key: string]: any;
37
+ });
38
+ }
39
+ export declare class AddImageResponseBody extends $tea.Model {
40
+ imageId?: string;
41
+ requestId?: string;
42
+ success?: boolean;
43
+ static names(): {
44
+ [key: string]: string;
45
+ };
46
+ static types(): {
47
+ [key: string]: any;
48
+ };
49
+ constructor(map?: {
50
+ [key: string]: any;
51
+ });
52
+ }
53
+ export declare class AddImageResponse extends $tea.Model {
54
+ headers?: {
55
+ [key: string]: string;
56
+ };
57
+ statusCode?: number;
58
+ body?: AddImageResponseBody;
59
+ static names(): {
60
+ [key: string]: string;
61
+ };
62
+ static types(): {
63
+ [key: string]: any;
64
+ };
65
+ constructor(map?: {
66
+ [key: string]: any;
67
+ });
68
+ }
69
+ export declare class CreateJobRequest extends $tea.Model {
70
+ deploymentPolicy?: CreateJobRequestDeploymentPolicy;
71
+ jobDescription?: string;
72
+ jobName?: string;
73
+ tasks?: CreateJobRequestTasks[];
74
+ static names(): {
75
+ [key: string]: string;
76
+ };
77
+ static types(): {
78
+ [key: string]: any;
79
+ };
80
+ constructor(map?: {
81
+ [key: string]: any;
82
+ });
83
+ }
84
+ export declare class CreateJobShrinkRequest extends $tea.Model {
85
+ deploymentPolicyShrink?: string;
86
+ jobDescription?: string;
87
+ jobName?: string;
88
+ tasksShrink?: string;
89
+ static names(): {
90
+ [key: string]: string;
91
+ };
92
+ static types(): {
93
+ [key: string]: any;
94
+ };
95
+ constructor(map?: {
96
+ [key: string]: any;
97
+ });
98
+ }
99
+ export declare class CreateJobResponseBody extends $tea.Model {
100
+ jobId?: string;
101
+ requestId?: string;
102
+ static names(): {
103
+ [key: string]: string;
104
+ };
105
+ static types(): {
106
+ [key: string]: any;
107
+ };
108
+ constructor(map?: {
109
+ [key: string]: any;
110
+ });
111
+ }
112
+ export declare class CreateJobResponse extends $tea.Model {
113
+ headers?: {
114
+ [key: string]: string;
115
+ };
116
+ statusCode?: number;
117
+ body?: CreateJobResponseBody;
118
+ static names(): {
119
+ [key: string]: string;
120
+ };
121
+ static types(): {
122
+ [key: string]: any;
123
+ };
124
+ constructor(map?: {
125
+ [key: string]: any;
126
+ });
127
+ }
128
+ export declare class DeleteJobsRequest extends $tea.Model {
129
+ executorIds?: string[];
130
+ jobSpec?: DeleteJobsRequestJobSpec[];
131
+ static names(): {
132
+ [key: string]: string;
133
+ };
134
+ static types(): {
135
+ [key: string]: any;
136
+ };
137
+ constructor(map?: {
138
+ [key: string]: any;
139
+ });
140
+ }
141
+ export declare class DeleteJobsShrinkRequest extends $tea.Model {
142
+ executorIdsShrink?: string;
143
+ jobSpecShrink?: string;
144
+ static names(): {
145
+ [key: string]: string;
146
+ };
147
+ static types(): {
148
+ [key: string]: any;
149
+ };
150
+ constructor(map?: {
151
+ [key: string]: any;
152
+ });
153
+ }
154
+ export declare class DeleteJobsResponseBody extends $tea.Model {
155
+ requestId?: string;
156
+ static names(): {
157
+ [key: string]: string;
158
+ };
159
+ static types(): {
160
+ [key: string]: any;
161
+ };
162
+ constructor(map?: {
163
+ [key: string]: any;
164
+ });
165
+ }
166
+ export declare class DeleteJobsResponse extends $tea.Model {
167
+ headers?: {
168
+ [key: string]: string;
169
+ };
170
+ statusCode?: number;
171
+ body?: DeleteJobsResponseBody;
172
+ static names(): {
173
+ [key: string]: string;
174
+ };
175
+ static types(): {
176
+ [key: string]: any;
177
+ };
178
+ constructor(map?: {
179
+ [key: string]: any;
180
+ });
181
+ }
182
+ export declare class DescribeJobMetricDataRequest extends $tea.Model {
183
+ arrayIndex?: number[];
184
+ jobId?: string;
185
+ metricName?: string;
186
+ taskName?: string;
187
+ static names(): {
188
+ [key: string]: string;
189
+ };
190
+ static types(): {
191
+ [key: string]: any;
192
+ };
193
+ constructor(map?: {
194
+ [key: string]: any;
195
+ });
196
+ }
197
+ export declare class DescribeJobMetricDataShrinkRequest extends $tea.Model {
198
+ arrayIndexShrink?: string;
199
+ jobId?: string;
200
+ metricName?: string;
201
+ taskName?: string;
202
+ static names(): {
203
+ [key: string]: string;
204
+ };
205
+ static types(): {
206
+ [key: string]: any;
207
+ };
208
+ constructor(map?: {
209
+ [key: string]: any;
210
+ });
211
+ }
212
+ export declare class DescribeJobMetricDataResponseBody extends $tea.Model {
213
+ dataPoints?: string;
214
+ period?: number;
215
+ requestId?: string;
216
+ static names(): {
217
+ [key: string]: string;
218
+ };
219
+ static types(): {
220
+ [key: string]: any;
221
+ };
222
+ constructor(map?: {
223
+ [key: string]: any;
224
+ });
225
+ }
226
+ export declare class DescribeJobMetricDataResponse extends $tea.Model {
227
+ headers?: {
228
+ [key: string]: string;
229
+ };
230
+ statusCode?: number;
231
+ body?: DescribeJobMetricDataResponseBody;
232
+ static names(): {
233
+ [key: string]: string;
234
+ };
235
+ static types(): {
236
+ [key: string]: any;
237
+ };
238
+ constructor(map?: {
239
+ [key: string]: any;
240
+ });
241
+ }
242
+ export declare class DescribeJobMetricLastRequest extends $tea.Model {
243
+ arrayIndex?: number[];
244
+ jobId?: string;
245
+ taskName?: string;
246
+ static names(): {
247
+ [key: string]: string;
248
+ };
249
+ static types(): {
250
+ [key: string]: any;
251
+ };
252
+ constructor(map?: {
253
+ [key: string]: any;
254
+ });
255
+ }
256
+ export declare class DescribeJobMetricLastShrinkRequest extends $tea.Model {
257
+ arrayIndexShrink?: string;
258
+ jobId?: string;
259
+ taskName?: string;
260
+ static names(): {
261
+ [key: string]: string;
262
+ };
263
+ static types(): {
264
+ [key: string]: any;
265
+ };
266
+ constructor(map?: {
267
+ [key: string]: any;
268
+ });
269
+ }
270
+ export declare class DescribeJobMetricLastResponseBody extends $tea.Model {
271
+ metrics?: DescribeJobMetricLastResponseBodyMetrics[];
272
+ requestId?: string;
273
+ static names(): {
274
+ [key: string]: string;
275
+ };
276
+ static types(): {
277
+ [key: string]: any;
278
+ };
279
+ constructor(map?: {
280
+ [key: string]: any;
281
+ });
282
+ }
283
+ export declare class DescribeJobMetricLastResponse extends $tea.Model {
284
+ headers?: {
285
+ [key: string]: string;
286
+ };
287
+ statusCode?: number;
288
+ body?: DescribeJobMetricLastResponseBody;
289
+ static names(): {
290
+ [key: string]: string;
291
+ };
292
+ static types(): {
293
+ [key: string]: any;
294
+ };
295
+ constructor(map?: {
296
+ [key: string]: any;
297
+ });
298
+ }
299
+ export declare class GetImageRequest extends $tea.Model {
300
+ imageId?: string;
301
+ static names(): {
302
+ [key: string]: string;
303
+ };
304
+ static types(): {
305
+ [key: string]: any;
306
+ };
307
+ constructor(map?: {
308
+ [key: string]: any;
309
+ });
310
+ }
311
+ export declare class GetImageResponseBody extends $tea.Model {
312
+ image?: GetImageResponseBodyImage;
313
+ requestId?: string;
314
+ success?: boolean;
315
+ totalCount?: number;
316
+ static names(): {
317
+ [key: string]: string;
318
+ };
319
+ static types(): {
320
+ [key: string]: any;
321
+ };
322
+ constructor(map?: {
323
+ [key: string]: any;
324
+ });
325
+ }
326
+ export declare class GetImageResponse extends $tea.Model {
327
+ headers?: {
328
+ [key: string]: string;
329
+ };
330
+ statusCode?: number;
331
+ body?: GetImageResponseBody;
332
+ static names(): {
333
+ [key: string]: string;
334
+ };
335
+ static types(): {
336
+ [key: string]: any;
337
+ };
338
+ constructor(map?: {
339
+ [key: string]: any;
340
+ });
341
+ }
342
+ export declare class GetJobRequest extends $tea.Model {
343
+ jobId?: string;
344
+ static names(): {
345
+ [key: string]: string;
346
+ };
347
+ static types(): {
348
+ [key: string]: any;
349
+ };
350
+ constructor(map?: {
351
+ [key: string]: any;
352
+ });
353
+ }
354
+ export declare class GetJobResponseBody extends $tea.Model {
355
+ jobInfo?: GetJobResponseBodyJobInfo;
356
+ requestId?: string;
357
+ static names(): {
358
+ [key: string]: string;
359
+ };
360
+ static types(): {
361
+ [key: string]: any;
362
+ };
363
+ constructor(map?: {
364
+ [key: string]: any;
365
+ });
366
+ }
367
+ export declare class GetJobResponse extends $tea.Model {
368
+ headers?: {
369
+ [key: string]: string;
370
+ };
371
+ statusCode?: number;
372
+ body?: GetJobResponseBody;
373
+ static names(): {
374
+ [key: string]: string;
375
+ };
376
+ static types(): {
377
+ [key: string]: any;
378
+ };
379
+ constructor(map?: {
380
+ [key: string]: any;
381
+ });
382
+ }
383
+ export declare class ListExecutorsRequest extends $tea.Model {
384
+ filter?: ListExecutorsRequestFilter;
385
+ pageNumber?: string;
386
+ pageSize?: string;
387
+ static names(): {
388
+ [key: string]: string;
389
+ };
390
+ static types(): {
391
+ [key: string]: any;
392
+ };
393
+ constructor(map?: {
394
+ [key: string]: any;
395
+ });
396
+ }
397
+ export declare class ListExecutorsShrinkRequest extends $tea.Model {
398
+ filterShrink?: string;
399
+ pageNumber?: string;
400
+ pageSize?: string;
401
+ static names(): {
402
+ [key: string]: string;
403
+ };
404
+ static types(): {
405
+ [key: string]: any;
406
+ };
407
+ constructor(map?: {
408
+ [key: string]: any;
409
+ });
410
+ }
411
+ export declare class ListExecutorsResponseBody extends $tea.Model {
412
+ executors?: ListExecutorsResponseBodyExecutors[];
413
+ pageNumber?: string;
414
+ pageSize?: string;
415
+ requestId?: string;
416
+ totalCount?: string;
417
+ static names(): {
418
+ [key: string]: string;
419
+ };
420
+ static types(): {
421
+ [key: string]: any;
422
+ };
423
+ constructor(map?: {
424
+ [key: string]: any;
425
+ });
426
+ }
427
+ export declare class ListExecutorsResponse extends $tea.Model {
428
+ headers?: {
429
+ [key: string]: string;
430
+ };
431
+ statusCode?: number;
432
+ body?: ListExecutorsResponseBody;
433
+ static names(): {
434
+ [key: string]: string;
435
+ };
436
+ static types(): {
437
+ [key: string]: any;
438
+ };
439
+ constructor(map?: {
440
+ [key: string]: any;
441
+ });
442
+ }
443
+ export declare class ListImagesRequest extends $tea.Model {
444
+ imageIds?: string[];
445
+ imageNames?: string[];
446
+ pageNumber?: number;
447
+ pageSize?: number;
448
+ static names(): {
449
+ [key: string]: string;
450
+ };
451
+ static types(): {
452
+ [key: string]: any;
453
+ };
454
+ constructor(map?: {
455
+ [key: string]: any;
456
+ });
457
+ }
458
+ export declare class ListImagesShrinkRequest extends $tea.Model {
459
+ imageIdsShrink?: string;
460
+ imageNamesShrink?: string;
461
+ pageNumber?: number;
462
+ pageSize?: number;
463
+ static names(): {
464
+ [key: string]: string;
465
+ };
466
+ static types(): {
467
+ [key: string]: any;
468
+ };
469
+ constructor(map?: {
470
+ [key: string]: any;
471
+ });
472
+ }
473
+ export declare class ListImagesResponseBody extends $tea.Model {
474
+ images?: ListImagesResponseBodyImages[];
475
+ pageNumber?: number;
476
+ pageSize?: number;
477
+ requestId?: string;
478
+ success?: boolean;
479
+ totalCount?: number;
480
+ static names(): {
481
+ [key: string]: string;
482
+ };
483
+ static types(): {
484
+ [key: string]: any;
485
+ };
486
+ constructor(map?: {
487
+ [key: string]: any;
488
+ });
489
+ }
490
+ export declare class ListImagesResponse extends $tea.Model {
491
+ headers?: {
492
+ [key: string]: string;
493
+ };
494
+ statusCode?: number;
495
+ body?: ListImagesResponseBody;
496
+ static names(): {
497
+ [key: string]: string;
498
+ };
499
+ static types(): {
500
+ [key: string]: any;
501
+ };
502
+ constructor(map?: {
503
+ [key: string]: any;
504
+ });
505
+ }
506
+ export declare class ListJobExecutorsRequest extends $tea.Model {
507
+ jobId?: string;
508
+ pageNumber?: string;
509
+ pageSize?: string;
510
+ taskName?: string;
511
+ static names(): {
512
+ [key: string]: string;
513
+ };
514
+ static types(): {
515
+ [key: string]: any;
516
+ };
517
+ constructor(map?: {
518
+ [key: string]: any;
519
+ });
520
+ }
521
+ export declare class ListJobExecutorsResponseBody extends $tea.Model {
522
+ executors?: ListJobExecutorsResponseBodyExecutors[];
523
+ jobId?: string;
524
+ pageNumber?: string;
525
+ pageSize?: string;
526
+ requestId?: string;
527
+ taskName?: string;
528
+ totalCount?: string;
529
+ static names(): {
530
+ [key: string]: string;
531
+ };
532
+ static types(): {
533
+ [key: string]: any;
534
+ };
535
+ constructor(map?: {
536
+ [key: string]: any;
537
+ });
538
+ }
539
+ export declare class ListJobExecutorsResponse extends $tea.Model {
540
+ headers?: {
541
+ [key: string]: string;
542
+ };
543
+ statusCode?: number;
544
+ body?: ListJobExecutorsResponseBody;
545
+ static names(): {
546
+ [key: string]: string;
547
+ };
548
+ static types(): {
549
+ [key: string]: any;
550
+ };
551
+ constructor(map?: {
552
+ [key: string]: any;
553
+ });
554
+ }
555
+ export declare class ListJobsRequest extends $tea.Model {
556
+ filter?: ListJobsRequestFilter;
557
+ pageNumber?: string;
558
+ pageSize?: string;
559
+ sortBy?: ListJobsRequestSortBy;
560
+ static names(): {
561
+ [key: string]: string;
562
+ };
563
+ static types(): {
564
+ [key: string]: any;
565
+ };
566
+ constructor(map?: {
567
+ [key: string]: any;
568
+ });
569
+ }
570
+ export declare class ListJobsShrinkRequest extends $tea.Model {
571
+ filterShrink?: string;
572
+ pageNumber?: string;
573
+ pageSize?: string;
574
+ sortByShrink?: string;
575
+ static names(): {
576
+ [key: string]: string;
577
+ };
578
+ static types(): {
579
+ [key: string]: any;
580
+ };
581
+ constructor(map?: {
582
+ [key: string]: any;
583
+ });
584
+ }
585
+ export declare class ListJobsResponseBody extends $tea.Model {
586
+ jobList?: ListJobsResponseBodyJobList[];
587
+ pageNumber?: number;
588
+ pageSize?: number;
589
+ requestId?: string;
590
+ totalCount?: number;
591
+ static names(): {
592
+ [key: string]: string;
593
+ };
594
+ static types(): {
595
+ [key: string]: any;
596
+ };
597
+ constructor(map?: {
598
+ [key: string]: any;
599
+ });
600
+ }
601
+ export declare class ListJobsResponse extends $tea.Model {
602
+ headers?: {
603
+ [key: string]: string;
604
+ };
605
+ statusCode?: number;
606
+ body?: ListJobsResponseBody;
607
+ static names(): {
608
+ [key: string]: string;
609
+ };
610
+ static types(): {
611
+ [key: string]: any;
612
+ };
613
+ constructor(map?: {
614
+ [key: string]: any;
615
+ });
616
+ }
617
+ export declare class RemoveImageRequest extends $tea.Model {
618
+ imageId?: string;
619
+ static names(): {
620
+ [key: string]: string;
621
+ };
622
+ static types(): {
623
+ [key: string]: any;
624
+ };
625
+ constructor(map?: {
626
+ [key: string]: any;
627
+ });
628
+ }
629
+ export declare class RemoveImageResponseBody extends $tea.Model {
630
+ requestId?: string;
631
+ success?: boolean;
632
+ static names(): {
633
+ [key: string]: string;
634
+ };
635
+ static types(): {
636
+ [key: string]: any;
637
+ };
638
+ constructor(map?: {
639
+ [key: string]: any;
640
+ });
641
+ }
642
+ export declare class RemoveImageResponse extends $tea.Model {
643
+ headers?: {
644
+ [key: string]: string;
645
+ };
646
+ statusCode?: number;
647
+ body?: RemoveImageResponseBody;
648
+ static names(): {
649
+ [key: string]: string;
650
+ };
651
+ static types(): {
652
+ [key: string]: any;
653
+ };
654
+ constructor(map?: {
655
+ [key: string]: any;
656
+ });
657
+ }
658
+ export declare class AddImageRequestContainerImageSpecRegistryCredential extends $tea.Model {
659
+ password?: string;
660
+ server?: string;
661
+ userName?: string;
662
+ static names(): {
663
+ [key: string]: string;
664
+ };
665
+ static types(): {
666
+ [key: string]: any;
667
+ };
668
+ constructor(map?: {
669
+ [key: string]: any;
670
+ });
671
+ }
672
+ export declare class AddImageRequestContainerImageSpec extends $tea.Model {
673
+ isACREnterprise?: boolean;
674
+ isACRRegistry?: boolean;
675
+ registryCredential?: AddImageRequestContainerImageSpecRegistryCredential;
676
+ registryCriId?: string;
677
+ registryUrl?: string;
678
+ static names(): {
679
+ [key: string]: string;
680
+ };
681
+ static types(): {
682
+ [key: string]: any;
683
+ };
684
+ constructor(map?: {
685
+ [key: string]: any;
686
+ });
687
+ }
688
+ export declare class AddImageRequestVMImageSpec extends $tea.Model {
689
+ imageId?: string;
690
+ static names(): {
691
+ [key: string]: string;
692
+ };
693
+ static types(): {
694
+ [key: string]: any;
695
+ };
696
+ constructor(map?: {
697
+ [key: string]: any;
698
+ });
699
+ }
700
+ export declare class CreateJobRequestDeploymentPolicyNetwork extends $tea.Model {
701
+ vswitch?: string[];
702
+ static names(): {
703
+ [key: string]: string;
704
+ };
705
+ static types(): {
706
+ [key: string]: any;
707
+ };
708
+ constructor(map?: {
709
+ [key: string]: any;
710
+ });
711
+ }
712
+ export declare class CreateJobRequestDeploymentPolicy extends $tea.Model {
713
+ allocationSpec?: string;
714
+ network?: CreateJobRequestDeploymentPolicyNetwork;
715
+ static names(): {
716
+ [key: string]: string;
717
+ };
718
+ static types(): {
719
+ [key: string]: any;
720
+ };
721
+ constructor(map?: {
722
+ [key: string]: any;
723
+ });
724
+ }
725
+ export declare class CreateJobRequestTasksExecutorPolicyArraySpec extends $tea.Model {
726
+ indexEnd?: number;
727
+ indexStart?: number;
728
+ indexStep?: number;
729
+ static names(): {
730
+ [key: string]: string;
731
+ };
732
+ static types(): {
733
+ [key: string]: any;
734
+ };
735
+ constructor(map?: {
736
+ [key: string]: any;
737
+ });
738
+ }
739
+ export declare class CreateJobRequestTasksExecutorPolicy extends $tea.Model {
740
+ arraySpec?: CreateJobRequestTasksExecutorPolicyArraySpec;
741
+ maxCount?: number;
742
+ static names(): {
743
+ [key: string]: string;
744
+ };
745
+ static types(): {
746
+ [key: string]: any;
747
+ };
748
+ constructor(map?: {
749
+ [key: string]: any;
750
+ });
751
+ }
752
+ export declare class CreateJobRequestTasksTaskSpecResourceDisks extends $tea.Model {
753
+ size?: number;
754
+ type?: string;
755
+ static names(): {
756
+ [key: string]: string;
757
+ };
758
+ static types(): {
759
+ [key: string]: any;
760
+ };
761
+ constructor(map?: {
762
+ [key: string]: any;
763
+ });
764
+ }
765
+ export declare class CreateJobRequestTasksTaskSpecResource extends $tea.Model {
766
+ cores?: number;
767
+ disks?: CreateJobRequestTasksTaskSpecResourceDisks[];
768
+ memory?: number;
769
+ static names(): {
770
+ [key: string]: string;
771
+ };
772
+ static types(): {
773
+ [key: string]: any;
774
+ };
775
+ constructor(map?: {
776
+ [key: string]: any;
777
+ });
778
+ }
779
+ export declare class CreateJobRequestTasksTaskSpecTaskExecutorContainerEnvironmentVars extends $tea.Model {
780
+ name?: string;
781
+ value?: string;
782
+ static names(): {
783
+ [key: string]: string;
784
+ };
785
+ static types(): {
786
+ [key: string]: any;
787
+ };
788
+ constructor(map?: {
789
+ [key: string]: any;
790
+ });
791
+ }
792
+ export declare class CreateJobRequestTasksTaskSpecTaskExecutorContainer extends $tea.Model {
793
+ command?: string[];
794
+ environmentVars?: CreateJobRequestTasksTaskSpecTaskExecutorContainerEnvironmentVars[];
795
+ image?: string;
796
+ workingDir?: string;
797
+ static names(): {
798
+ [key: string]: string;
799
+ };
800
+ static types(): {
801
+ [key: string]: any;
802
+ };
803
+ constructor(map?: {
804
+ [key: string]: any;
805
+ });
806
+ }
807
+ export declare class CreateJobRequestTasksTaskSpecTaskExecutorVM extends $tea.Model {
808
+ image?: string;
809
+ prologScript?: string;
810
+ script?: string;
811
+ static names(): {
812
+ [key: string]: string;
813
+ };
814
+ static types(): {
815
+ [key: string]: any;
816
+ };
817
+ constructor(map?: {
818
+ [key: string]: any;
819
+ });
820
+ }
821
+ export declare class CreateJobRequestTasksTaskSpecTaskExecutor extends $tea.Model {
822
+ container?: CreateJobRequestTasksTaskSpecTaskExecutorContainer;
823
+ VM?: CreateJobRequestTasksTaskSpecTaskExecutorVM;
824
+ static names(): {
825
+ [key: string]: string;
826
+ };
827
+ static types(): {
828
+ [key: string]: any;
829
+ };
830
+ constructor(map?: {
831
+ [key: string]: any;
832
+ });
833
+ }
834
+ export declare class CreateJobRequestTasksTaskSpecVolumeMount extends $tea.Model {
835
+ mountOptions?: string;
836
+ mountPath?: string;
837
+ volumeDriver?: string;
838
+ static names(): {
839
+ [key: string]: string;
840
+ };
841
+ static types(): {
842
+ [key: string]: any;
843
+ };
844
+ constructor(map?: {
845
+ [key: string]: any;
846
+ });
847
+ }
848
+ export declare class CreateJobRequestTasksTaskSpec extends $tea.Model {
849
+ resource?: CreateJobRequestTasksTaskSpecResource;
850
+ taskExecutor?: CreateJobRequestTasksTaskSpecTaskExecutor[];
851
+ volumeMount?: CreateJobRequestTasksTaskSpecVolumeMount[];
852
+ static names(): {
853
+ [key: string]: string;
854
+ };
855
+ static types(): {
856
+ [key: string]: any;
857
+ };
858
+ constructor(map?: {
859
+ [key: string]: any;
860
+ });
861
+ }
862
+ export declare class CreateJobRequestTasks extends $tea.Model {
863
+ executorPolicy?: CreateJobRequestTasksExecutorPolicy;
864
+ taskName?: string;
865
+ taskSpec?: CreateJobRequestTasksTaskSpec;
866
+ taskSustainable?: boolean;
867
+ static names(): {
868
+ [key: string]: string;
869
+ };
870
+ static types(): {
871
+ [key: string]: any;
872
+ };
873
+ constructor(map?: {
874
+ [key: string]: any;
875
+ });
876
+ }
877
+ export declare class DeleteJobsRequestJobSpecTaskSpec extends $tea.Model {
878
+ arrayIndex?: number[];
879
+ taskName?: string;
880
+ static names(): {
881
+ [key: string]: string;
882
+ };
883
+ static types(): {
884
+ [key: string]: any;
885
+ };
886
+ constructor(map?: {
887
+ [key: string]: any;
888
+ });
889
+ }
890
+ export declare class DeleteJobsRequestJobSpec extends $tea.Model {
891
+ jobId?: string;
892
+ taskSpec?: DeleteJobsRequestJobSpecTaskSpec[];
893
+ static names(): {
894
+ [key: string]: string;
895
+ };
896
+ static types(): {
897
+ [key: string]: any;
898
+ };
899
+ constructor(map?: {
900
+ [key: string]: any;
901
+ });
902
+ }
903
+ export declare class DescribeJobMetricLastResponseBodyMetrics extends $tea.Model {
904
+ arrayIndex?: number;
905
+ metric?: string;
906
+ static names(): {
907
+ [key: string]: string;
908
+ };
909
+ static types(): {
910
+ [key: string]: any;
911
+ };
912
+ constructor(map?: {
913
+ [key: string]: any;
914
+ });
915
+ }
916
+ export declare class GetImageResponseBodyImageContainerImageSpecRegistryCredential extends $tea.Model {
917
+ password?: string;
918
+ server?: string;
919
+ userName?: string;
920
+ static names(): {
921
+ [key: string]: string;
922
+ };
923
+ static types(): {
924
+ [key: string]: any;
925
+ };
926
+ constructor(map?: {
927
+ [key: string]: any;
928
+ });
929
+ }
930
+ export declare class GetImageResponseBodyImageContainerImageSpec extends $tea.Model {
931
+ isACREnterprise?: boolean;
932
+ isACRRegistry?: boolean;
933
+ registryCredential?: GetImageResponseBodyImageContainerImageSpecRegistryCredential;
934
+ registryCriId?: string;
935
+ registryUrl?: string;
936
+ static names(): {
937
+ [key: string]: string;
938
+ };
939
+ static types(): {
940
+ [key: string]: any;
941
+ };
942
+ constructor(map?: {
943
+ [key: string]: any;
944
+ });
945
+ }
946
+ export declare class GetImageResponseBodyImageVMImageSpec extends $tea.Model {
947
+ architecture?: string;
948
+ imageId?: string;
949
+ osTag?: string;
950
+ platform?: string;
951
+ static names(): {
952
+ [key: string]: string;
953
+ };
954
+ static types(): {
955
+ [key: string]: any;
956
+ };
957
+ constructor(map?: {
958
+ [key: string]: any;
959
+ });
960
+ }
961
+ export declare class GetImageResponseBodyImage extends $tea.Model {
962
+ containerImageSpec?: GetImageResponseBodyImageContainerImageSpec;
963
+ createTime?: string;
964
+ description?: string;
965
+ imageType?: string;
966
+ name?: string;
967
+ size?: string;
968
+ VMImageSpec?: GetImageResponseBodyImageVMImageSpec;
969
+ version?: string;
970
+ static names(): {
971
+ [key: string]: string;
972
+ };
973
+ static types(): {
974
+ [key: string]: any;
975
+ };
976
+ constructor(map?: {
977
+ [key: string]: any;
978
+ });
979
+ }
980
+ export declare class GetJobResponseBodyJobInfoDeploymentPolicyNetwork extends $tea.Model {
981
+ vswitch?: string[];
982
+ static names(): {
983
+ [key: string]: string;
984
+ };
985
+ static types(): {
986
+ [key: string]: any;
987
+ };
988
+ constructor(map?: {
989
+ [key: string]: any;
990
+ });
991
+ }
992
+ export declare class GetJobResponseBodyJobInfoDeploymentPolicy extends $tea.Model {
993
+ allocationSpec?: string;
994
+ network?: GetJobResponseBodyJobInfoDeploymentPolicyNetwork;
995
+ static names(): {
996
+ [key: string]: string;
997
+ };
998
+ static types(): {
999
+ [key: string]: any;
1000
+ };
1001
+ constructor(map?: {
1002
+ [key: string]: any;
1003
+ });
1004
+ }
1005
+ export declare class GetJobResponseBodyJobInfoTasksExecutorPolicyArraySpec extends $tea.Model {
1006
+ indexEnd?: number;
1007
+ indexStart?: number;
1008
+ indexStep?: number;
1009
+ static names(): {
1010
+ [key: string]: string;
1011
+ };
1012
+ static types(): {
1013
+ [key: string]: any;
1014
+ };
1015
+ constructor(map?: {
1016
+ [key: string]: any;
1017
+ });
1018
+ }
1019
+ export declare class GetJobResponseBodyJobInfoTasksExecutorPolicy extends $tea.Model {
1020
+ arraySpec?: GetJobResponseBodyJobInfoTasksExecutorPolicyArraySpec;
1021
+ maxCount?: number;
1022
+ static names(): {
1023
+ [key: string]: string;
1024
+ };
1025
+ static types(): {
1026
+ [key: string]: any;
1027
+ };
1028
+ constructor(map?: {
1029
+ [key: string]: any;
1030
+ });
1031
+ }
1032
+ export declare class GetJobResponseBodyJobInfoTasksExecutorStatus extends $tea.Model {
1033
+ arrayId?: number;
1034
+ createTime?: string;
1035
+ endTime?: string;
1036
+ startTime?: string;
1037
+ status?: string;
1038
+ statusReason?: string;
1039
+ static names(): {
1040
+ [key: string]: string;
1041
+ };
1042
+ static types(): {
1043
+ [key: string]: any;
1044
+ };
1045
+ constructor(map?: {
1046
+ [key: string]: any;
1047
+ });
1048
+ }
1049
+ export declare class GetJobResponseBodyJobInfoTasksTaskSpecResourceDisks extends $tea.Model {
1050
+ size?: number;
1051
+ type?: string;
1052
+ static names(): {
1053
+ [key: string]: string;
1054
+ };
1055
+ static types(): {
1056
+ [key: string]: any;
1057
+ };
1058
+ constructor(map?: {
1059
+ [key: string]: any;
1060
+ });
1061
+ }
1062
+ export declare class GetJobResponseBodyJobInfoTasksTaskSpecResource extends $tea.Model {
1063
+ cores?: number;
1064
+ disks?: GetJobResponseBodyJobInfoTasksTaskSpecResourceDisks[];
1065
+ memory?: number;
1066
+ static names(): {
1067
+ [key: string]: string;
1068
+ };
1069
+ static types(): {
1070
+ [key: string]: any;
1071
+ };
1072
+ constructor(map?: {
1073
+ [key: string]: any;
1074
+ });
1075
+ }
1076
+ export declare class GetJobResponseBodyJobInfoTasksTaskSpecTaskExecutorVM extends $tea.Model {
1077
+ image?: string;
1078
+ prologScript?: string;
1079
+ script?: string;
1080
+ static names(): {
1081
+ [key: string]: string;
1082
+ };
1083
+ static types(): {
1084
+ [key: string]: any;
1085
+ };
1086
+ constructor(map?: {
1087
+ [key: string]: any;
1088
+ });
1089
+ }
1090
+ export declare class GetJobResponseBodyJobInfoTasksTaskSpecTaskExecutor extends $tea.Model {
1091
+ VM?: GetJobResponseBodyJobInfoTasksTaskSpecTaskExecutorVM;
1092
+ static names(): {
1093
+ [key: string]: string;
1094
+ };
1095
+ static types(): {
1096
+ [key: string]: any;
1097
+ };
1098
+ constructor(map?: {
1099
+ [key: string]: any;
1100
+ });
1101
+ }
1102
+ export declare class GetJobResponseBodyJobInfoTasksTaskSpec extends $tea.Model {
1103
+ resource?: GetJobResponseBodyJobInfoTasksTaskSpecResource;
1104
+ taskExecutor?: GetJobResponseBodyJobInfoTasksTaskSpecTaskExecutor[];
1105
+ static names(): {
1106
+ [key: string]: string;
1107
+ };
1108
+ static types(): {
1109
+ [key: string]: any;
1110
+ };
1111
+ constructor(map?: {
1112
+ [key: string]: any;
1113
+ });
1114
+ }
1115
+ export declare class GetJobResponseBodyJobInfoTasks extends $tea.Model {
1116
+ executorPolicy?: GetJobResponseBodyJobInfoTasksExecutorPolicy;
1117
+ executorStatus?: GetJobResponseBodyJobInfoTasksExecutorStatus[];
1118
+ taskName?: string;
1119
+ taskSpec?: GetJobResponseBodyJobInfoTasksTaskSpec;
1120
+ taskSustainable?: boolean;
1121
+ static names(): {
1122
+ [key: string]: string;
1123
+ };
1124
+ static types(): {
1125
+ [key: string]: any;
1126
+ };
1127
+ constructor(map?: {
1128
+ [key: string]: any;
1129
+ });
1130
+ }
1131
+ export declare class GetJobResponseBodyJobInfo extends $tea.Model {
1132
+ createTime?: string;
1133
+ deploymentPolicy?: GetJobResponseBodyJobInfoDeploymentPolicy;
1134
+ endTime?: string;
1135
+ jobDescription?: string;
1136
+ jobId?: string;
1137
+ jobName?: string;
1138
+ startTime?: string;
1139
+ status?: string;
1140
+ tasks?: GetJobResponseBodyJobInfoTasks[];
1141
+ static names(): {
1142
+ [key: string]: string;
1143
+ };
1144
+ static types(): {
1145
+ [key: string]: any;
1146
+ };
1147
+ constructor(map?: {
1148
+ [key: string]: any;
1149
+ });
1150
+ }
1151
+ export declare class ListExecutorsRequestFilter extends $tea.Model {
1152
+ executorIds?: string[];
1153
+ ipAddresses?: string[];
1154
+ jobName?: string;
1155
+ timeCreatedAfter?: number;
1156
+ timeCreatedBefore?: number;
1157
+ static names(): {
1158
+ [key: string]: string;
1159
+ };
1160
+ static types(): {
1161
+ [key: string]: any;
1162
+ };
1163
+ constructor(map?: {
1164
+ [key: string]: any;
1165
+ });
1166
+ }
1167
+ export declare class ListExecutorsResponseBodyExecutors extends $tea.Model {
1168
+ arrayIndex?: number;
1169
+ createTime?: string;
1170
+ endTime?: string;
1171
+ executorId?: string;
1172
+ hostName?: string[];
1173
+ ipAddress?: string[];
1174
+ jobId?: string;
1175
+ jobName?: string;
1176
+ status?: string;
1177
+ statusReason?: string;
1178
+ taskName?: string;
1179
+ static names(): {
1180
+ [key: string]: string;
1181
+ };
1182
+ static types(): {
1183
+ [key: string]: any;
1184
+ };
1185
+ constructor(map?: {
1186
+ [key: string]: any;
1187
+ });
1188
+ }
1189
+ export declare class ListImagesResponseBodyImages extends $tea.Model {
1190
+ createTime?: string;
1191
+ description?: string;
1192
+ imageId?: string;
1193
+ imageType?: string;
1194
+ name?: string;
1195
+ version?: string;
1196
+ static names(): {
1197
+ [key: string]: string;
1198
+ };
1199
+ static types(): {
1200
+ [key: string]: any;
1201
+ };
1202
+ constructor(map?: {
1203
+ [key: string]: any;
1204
+ });
1205
+ }
1206
+ export declare class ListJobExecutorsResponseBodyExecutors extends $tea.Model {
1207
+ arrayIndex?: number;
1208
+ createTime?: string;
1209
+ endTime?: string;
1210
+ hostName?: string[];
1211
+ ipAddress?: string[];
1212
+ status?: string;
1213
+ statusReason?: string;
1214
+ static names(): {
1215
+ [key: string]: string;
1216
+ };
1217
+ static types(): {
1218
+ [key: string]: any;
1219
+ };
1220
+ constructor(map?: {
1221
+ [key: string]: any;
1222
+ });
1223
+ }
1224
+ export declare class ListJobsRequestFilter extends $tea.Model {
1225
+ jobId?: string;
1226
+ jobName?: string;
1227
+ status?: string;
1228
+ timeCreatedAfter?: number;
1229
+ timeCreatedBefore?: number;
1230
+ static names(): {
1231
+ [key: string]: string;
1232
+ };
1233
+ static types(): {
1234
+ [key: string]: any;
1235
+ };
1236
+ constructor(map?: {
1237
+ [key: string]: any;
1238
+ });
1239
+ }
1240
+ export declare class ListJobsRequestSortBy extends $tea.Model {
1241
+ label?: string;
1242
+ order?: string;
1243
+ static names(): {
1244
+ [key: string]: string;
1245
+ };
1246
+ static types(): {
1247
+ [key: string]: any;
1248
+ };
1249
+ constructor(map?: {
1250
+ [key: string]: any;
1251
+ });
1252
+ }
1253
+ export declare class ListJobsResponseBodyJobList extends $tea.Model {
1254
+ createTime?: string;
1255
+ endTime?: string;
1256
+ executorCount?: number;
1257
+ jobDescription?: string;
1258
+ jobId?: string;
1259
+ jobName?: string;
1260
+ ownerUid?: string;
1261
+ startTime?: string;
1262
+ status?: string;
1263
+ taskCount?: number;
1264
+ taskSustainable?: boolean;
1265
+ static names(): {
1266
+ [key: string]: string;
1267
+ };
1268
+ static types(): {
1269
+ [key: string]: any;
1270
+ };
1271
+ constructor(map?: {
1272
+ [key: string]: any;
1273
+ });
1274
+ }
1275
+ export default class Client extends OpenApi {
1276
+ constructor(config: $OpenApi.Config);
1277
+ getEndpoint(productId: string, regionId: string, endpointRule: string, network: string, suffix: string, endpointMap: {
1278
+ [key: string]: string;
1279
+ }, endpoint: string): string;
1280
+ addImageWithOptions(tmpReq: AddImageRequest, runtime: $Util.RuntimeOptions): Promise<AddImageResponse>;
1281
+ addImage(request: AddImageRequest): Promise<AddImageResponse>;
1282
+ createJobWithOptions(tmpReq: CreateJobRequest, runtime: $Util.RuntimeOptions): Promise<CreateJobResponse>;
1283
+ createJob(request: CreateJobRequest): Promise<CreateJobResponse>;
1284
+ deleteJobsWithOptions(tmpReq: DeleteJobsRequest, runtime: $Util.RuntimeOptions): Promise<DeleteJobsResponse>;
1285
+ deleteJobs(request: DeleteJobsRequest): Promise<DeleteJobsResponse>;
1286
+ describeJobMetricDataWithOptions(tmpReq: DescribeJobMetricDataRequest, runtime: $Util.RuntimeOptions): Promise<DescribeJobMetricDataResponse>;
1287
+ describeJobMetricData(request: DescribeJobMetricDataRequest): Promise<DescribeJobMetricDataResponse>;
1288
+ describeJobMetricLastWithOptions(tmpReq: DescribeJobMetricLastRequest, runtime: $Util.RuntimeOptions): Promise<DescribeJobMetricLastResponse>;
1289
+ describeJobMetricLast(request: DescribeJobMetricLastRequest): Promise<DescribeJobMetricLastResponse>;
1290
+ getImageWithOptions(request: GetImageRequest, runtime: $Util.RuntimeOptions): Promise<GetImageResponse>;
1291
+ getImage(request: GetImageRequest): Promise<GetImageResponse>;
1292
+ getJobWithOptions(request: GetJobRequest, runtime: $Util.RuntimeOptions): Promise<GetJobResponse>;
1293
+ getJob(request: GetJobRequest): Promise<GetJobResponse>;
1294
+ listExecutorsWithOptions(tmpReq: ListExecutorsRequest, runtime: $Util.RuntimeOptions): Promise<ListExecutorsResponse>;
1295
+ listExecutors(request: ListExecutorsRequest): Promise<ListExecutorsResponse>;
1296
+ listImagesWithOptions(tmpReq: ListImagesRequest, runtime: $Util.RuntimeOptions): Promise<ListImagesResponse>;
1297
+ listImages(request: ListImagesRequest): Promise<ListImagesResponse>;
1298
+ listJobExecutorsWithOptions(request: ListJobExecutorsRequest, runtime: $Util.RuntimeOptions): Promise<ListJobExecutorsResponse>;
1299
+ listJobExecutors(request: ListJobExecutorsRequest): Promise<ListJobExecutorsResponse>;
1300
+ listJobsWithOptions(tmpReq: ListJobsRequest, runtime: $Util.RuntimeOptions): Promise<ListJobsResponse>;
1301
+ listJobs(request: ListJobsRequest): Promise<ListJobsResponse>;
1302
+ removeImageWithOptions(request: RemoveImageRequest, runtime: $Util.RuntimeOptions): Promise<RemoveImageResponse>;
1303
+ removeImage(request: RemoveImageRequest): Promise<RemoveImageResponse>;
1304
+ }