@alicloud/pai-dlc20201203 1.1.4 → 1.2.1

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
@@ -283,10 +283,16 @@ export declare class JobItem extends $tea.Model {
283
283
  [key: string]: string;
284
284
  };
285
285
  gmtCreateTime?: string;
286
+ gmtFailedTime?: string;
286
287
  gmtFinishTime?: string;
288
+ gmtRunningTime?: string;
289
+ gmtStoppedTime?: string;
290
+ gmtSubmittedTime?: string;
291
+ gmtSuccessedTime?: string;
287
292
  jobId?: string;
288
293
  jobSpecs?: JobSpec[];
289
294
  jobType?: string;
295
+ priority?: number;
290
296
  reasonCode?: string;
291
297
  reasonMessage?: string;
292
298
  resourceId?: string;
@@ -560,101 +566,6 @@ export declare class Workspace extends $tea.Model {
560
566
  [key: string]: any;
561
567
  });
562
568
  }
563
- export declare class CreateCodeSourceRequest extends $tea.Model {
564
- codeBranch?: string;
565
- codeRepo?: string;
566
- codeRepoAccessToken?: string;
567
- codeRepoUserName?: string;
568
- description?: string;
569
- displayName?: string;
570
- mountPath?: string;
571
- static names(): {
572
- [key: string]: string;
573
- };
574
- static types(): {
575
- [key: string]: any;
576
- };
577
- constructor(map?: {
578
- [key: string]: any;
579
- });
580
- }
581
- export declare class CreateCodeSourceResponseBody extends $tea.Model {
582
- codeSourceId?: string;
583
- requestId?: string;
584
- static names(): {
585
- [key: string]: string;
586
- };
587
- static types(): {
588
- [key: string]: any;
589
- };
590
- constructor(map?: {
591
- [key: string]: any;
592
- });
593
- }
594
- export declare class CreateCodeSourceResponse extends $tea.Model {
595
- headers: {
596
- [key: string]: string;
597
- };
598
- statusCode: number;
599
- body: CreateCodeSourceResponseBody;
600
- static names(): {
601
- [key: string]: string;
602
- };
603
- static types(): {
604
- [key: string]: any;
605
- };
606
- constructor(map?: {
607
- [key: string]: any;
608
- });
609
- }
610
- export declare class CreateDataSourceRequest extends $tea.Model {
611
- dataSourceType?: string;
612
- description?: string;
613
- displayName?: string;
614
- endpoint?: string;
615
- fileSystemId?: string;
616
- mountPath?: string;
617
- options?: string;
618
- path?: 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 CreateDataSourceResponseBody extends $tea.Model {
630
- dataSourceId?: string;
631
- requestId?: string;
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 CreateDataSourceResponse extends $tea.Model {
643
- headers: {
644
- [key: string]: string;
645
- };
646
- statusCode: number;
647
- body: CreateDataSourceResponseBody;
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
569
  export declare class CreateJobRequest extends $tea.Model {
659
570
  codeSource?: CreateJobRequestCodeSource;
660
571
  dataSources?: CreateJobRequestDataSources[];
@@ -770,64 +681,6 @@ export declare class CreateTensorboardResponse extends $tea.Model {
770
681
  [key: string]: any;
771
682
  });
772
683
  }
773
- export declare class DeleteCodeSourceResponseBody extends $tea.Model {
774
- codeSourceId?: string;
775
- requestId?: string;
776
- static names(): {
777
- [key: string]: string;
778
- };
779
- static types(): {
780
- [key: string]: any;
781
- };
782
- constructor(map?: {
783
- [key: string]: any;
784
- });
785
- }
786
- export declare class DeleteCodeSourceResponse extends $tea.Model {
787
- headers: {
788
- [key: string]: string;
789
- };
790
- statusCode: number;
791
- body: DeleteCodeSourceResponseBody;
792
- static names(): {
793
- [key: string]: string;
794
- };
795
- static types(): {
796
- [key: string]: any;
797
- };
798
- constructor(map?: {
799
- [key: string]: any;
800
- });
801
- }
802
- export declare class DeleteDataSourceResponseBody extends $tea.Model {
803
- dataSourceId?: string;
804
- requestId?: string;
805
- static names(): {
806
- [key: string]: string;
807
- };
808
- static types(): {
809
- [key: string]: any;
810
- };
811
- constructor(map?: {
812
- [key: string]: any;
813
- });
814
- }
815
- export declare class DeleteDataSourceResponse extends $tea.Model {
816
- headers: {
817
- [key: string]: string;
818
- };
819
- statusCode: number;
820
- body: DeleteDataSourceResponseBody;
821
- static names(): {
822
- [key: string]: string;
823
- };
824
- static types(): {
825
- [key: string]: any;
826
- };
827
- constructor(map?: {
828
- [key: string]: any;
829
- });
830
- }
831
684
  export declare class DeleteJobResponseBody extends $tea.Model {
832
685
  jobId?: string;
833
686
  requestId?: string;
@@ -857,47 +710,6 @@ export declare class DeleteJobResponse extends $tea.Model {
857
710
  [key: string]: any;
858
711
  });
859
712
  }
860
- export declare class DeleteJobsRequest extends $tea.Model {
861
- jobIds?: string[];
862
- static names(): {
863
- [key: string]: string;
864
- };
865
- static types(): {
866
- [key: string]: any;
867
- };
868
- constructor(map?: {
869
- [key: string]: any;
870
- });
871
- }
872
- export declare class DeleteJobsResponseBody extends $tea.Model {
873
- jobIds?: string[];
874
- requestId?: string;
875
- static names(): {
876
- [key: string]: string;
877
- };
878
- static types(): {
879
- [key: string]: any;
880
- };
881
- constructor(map?: {
882
- [key: string]: any;
883
- });
884
- }
885
- export declare class DeleteJobsResponse extends $tea.Model {
886
- headers: {
887
- [key: string]: string;
888
- };
889
- statusCode: number;
890
- body: DeleteJobsResponseBody;
891
- static names(): {
892
- [key: string]: string;
893
- };
894
- static types(): {
895
- [key: string]: any;
896
- };
897
- constructor(map?: {
898
- [key: string]: any;
899
- });
900
- }
901
713
  export declare class DeleteTensorboardRequest extends $tea.Model {
902
714
  workspaceId?: string;
903
715
  static names(): {
@@ -939,86 +751,6 @@ export declare class DeleteTensorboardResponse extends $tea.Model {
939
751
  [key: string]: any;
940
752
  });
941
753
  }
942
- export declare class GetCodeSourceResponseBody extends $tea.Model {
943
- codeBranch?: string;
944
- codeCommit?: string;
945
- codeRepo?: string;
946
- codeRepoAccessToken?: string;
947
- codeRepoUserName?: string;
948
- codeSourceId?: string;
949
- description?: string;
950
- displayName?: string;
951
- gmtCreateTime?: string;
952
- gmtModifyTime?: string;
953
- mountPath?: string;
954
- requestId?: string;
955
- userId?: string;
956
- static names(): {
957
- [key: string]: string;
958
- };
959
- static types(): {
960
- [key: string]: any;
961
- };
962
- constructor(map?: {
963
- [key: string]: any;
964
- });
965
- }
966
- export declare class GetCodeSourceResponse extends $tea.Model {
967
- headers: {
968
- [key: string]: string;
969
- };
970
- statusCode: number;
971
- body: GetCodeSourceResponseBody;
972
- static names(): {
973
- [key: string]: string;
974
- };
975
- static types(): {
976
- [key: string]: any;
977
- };
978
- constructor(map?: {
979
- [key: string]: any;
980
- });
981
- }
982
- export declare class GetDataSourceResponseBody extends $tea.Model {
983
- dataSourceId?: string;
984
- dataSourceType?: string;
985
- description?: string;
986
- displayName?: string;
987
- endpoint?: string;
988
- fileSystemId?: string;
989
- gmtCreateTime?: string;
990
- gmtModifyTime?: string;
991
- mountPath?: string;
992
- options?: string;
993
- path?: string;
994
- requestId?: string;
995
- userId?: string;
996
- static names(): {
997
- [key: string]: string;
998
- };
999
- static types(): {
1000
- [key: string]: any;
1001
- };
1002
- constructor(map?: {
1003
- [key: string]: any;
1004
- });
1005
- }
1006
- export declare class GetDataSourceResponse extends $tea.Model {
1007
- headers: {
1008
- [key: string]: string;
1009
- };
1010
- statusCode: number;
1011
- body: GetDataSourceResponseBody;
1012
- static names(): {
1013
- [key: string]: string;
1014
- };
1015
- static types(): {
1016
- [key: string]: any;
1017
- };
1018
- constructor(map?: {
1019
- [key: string]: any;
1020
- });
1021
- }
1022
754
  export declare class GetJobResponseBody extends $tea.Model {
1023
755
  clusterId?: string;
1024
756
  codeSource?: GetJobResponseBodyCodeSource;
@@ -1041,6 +773,7 @@ export declare class GetJobResponseBody extends $tea.Model {
1041
773
  jobSpecs?: JobSpec[];
1042
774
  jobType?: string;
1043
775
  pods?: GetJobResponseBodyPods[];
776
+ priority?: number;
1044
777
  reasonCode?: string;
1045
778
  reasonMessage?: string;
1046
779
  requestId?: string;
@@ -1294,99 +1027,6 @@ export declare class GetTensorboardResponse extends $tea.Model {
1294
1027
  [key: string]: any;
1295
1028
  });
1296
1029
  }
1297
- export declare class ListCodeSourcesRequest extends $tea.Model {
1298
- displayName?: string;
1299
- order?: string;
1300
- pageNumber?: number;
1301
- pageSize?: number;
1302
- sortBy?: string;
1303
- static names(): {
1304
- [key: string]: string;
1305
- };
1306
- static types(): {
1307
- [key: string]: any;
1308
- };
1309
- constructor(map?: {
1310
- [key: string]: any;
1311
- });
1312
- }
1313
- export declare class ListCodeSourcesResponseBody extends $tea.Model {
1314
- codeSources?: CodeSourceItem[];
1315
- requestId?: string;
1316
- totalCount?: number;
1317
- static names(): {
1318
- [key: string]: string;
1319
- };
1320
- static types(): {
1321
- [key: string]: any;
1322
- };
1323
- constructor(map?: {
1324
- [key: string]: any;
1325
- });
1326
- }
1327
- export declare class ListCodeSourcesResponse extends $tea.Model {
1328
- headers: {
1329
- [key: string]: string;
1330
- };
1331
- statusCode: number;
1332
- body: ListCodeSourcesResponseBody;
1333
- static names(): {
1334
- [key: string]: string;
1335
- };
1336
- static types(): {
1337
- [key: string]: any;
1338
- };
1339
- constructor(map?: {
1340
- [key: string]: any;
1341
- });
1342
- }
1343
- export declare class ListDataSourcesRequest extends $tea.Model {
1344
- dataSourceType?: string;
1345
- displayName?: string;
1346
- order?: string;
1347
- pageNumber?: number;
1348
- pageSize?: number;
1349
- sortBy?: string;
1350
- static names(): {
1351
- [key: string]: string;
1352
- };
1353
- static types(): {
1354
- [key: string]: any;
1355
- };
1356
- constructor(map?: {
1357
- [key: string]: any;
1358
- });
1359
- }
1360
- export declare class ListDataSourcesResponseBody extends $tea.Model {
1361
- dataSources?: DataSourceItem[];
1362
- requestId?: string;
1363
- totalCount?: number;
1364
- static names(): {
1365
- [key: string]: string;
1366
- };
1367
- static types(): {
1368
- [key: string]: any;
1369
- };
1370
- constructor(map?: {
1371
- [key: string]: any;
1372
- });
1373
- }
1374
- export declare class ListDataSourcesResponse extends $tea.Model {
1375
- headers: {
1376
- [key: string]: string;
1377
- };
1378
- statusCode: number;
1379
- body: ListDataSourcesResponseBody;
1380
- static names(): {
1381
- [key: string]: string;
1382
- };
1383
- static types(): {
1384
- [key: string]: any;
1385
- };
1386
- constructor(map?: {
1387
- [key: string]: any;
1388
- });
1389
- }
1390
1030
  export declare class ListEcsSpecsRequest extends $tea.Model {
1391
1031
  acceleratorType?: string;
1392
1032
  order?: string;
@@ -1433,53 +1073,6 @@ export declare class ListEcsSpecsResponse extends $tea.Model {
1433
1073
  [key: string]: any;
1434
1074
  });
1435
1075
  }
1436
- export declare class ListImagesRequest extends $tea.Model {
1437
- acceleratorType?: string;
1438
- framework?: string;
1439
- imageProviderType?: string;
1440
- order?: string;
1441
- sortBy?: string;
1442
- workspaceId?: string;
1443
- static names(): {
1444
- [key: string]: string;
1445
- };
1446
- static types(): {
1447
- [key: string]: any;
1448
- };
1449
- constructor(map?: {
1450
- [key: string]: any;
1451
- });
1452
- }
1453
- export declare class ListImagesResponseBody extends $tea.Model {
1454
- images?: ImageItem[];
1455
- requestId?: string;
1456
- totalCount?: number;
1457
- static names(): {
1458
- [key: string]: string;
1459
- };
1460
- static types(): {
1461
- [key: string]: any;
1462
- };
1463
- constructor(map?: {
1464
- [key: string]: any;
1465
- });
1466
- }
1467
- export declare class ListImagesResponse extends $tea.Model {
1468
- headers: {
1469
- [key: string]: string;
1470
- };
1471
- statusCode: number;
1472
- body: ListImagesResponseBody;
1473
- static names(): {
1474
- [key: string]: string;
1475
- };
1476
- static types(): {
1477
- [key: string]: any;
1478
- };
1479
- constructor(map?: {
1480
- [key: string]: any;
1481
- });
1482
- }
1483
1076
  export declare class ListJobsRequest extends $tea.Model {
1484
1077
  businessUserId?: string;
1485
1078
  caller?: string;
@@ -1693,47 +1286,6 @@ export declare class StopJobResponse extends $tea.Model {
1693
1286
  [key: string]: any;
1694
1287
  });
1695
1288
  }
1696
- export declare class StopJobsRequest extends $tea.Model {
1697
- jobIds?: string[];
1698
- static names(): {
1699
- [key: string]: string;
1700
- };
1701
- static types(): {
1702
- [key: string]: any;
1703
- };
1704
- constructor(map?: {
1705
- [key: string]: any;
1706
- });
1707
- }
1708
- export declare class StopJobsResponseBody extends $tea.Model {
1709
- jobIds?: string[];
1710
- requestId?: string;
1711
- static names(): {
1712
- [key: string]: string;
1713
- };
1714
- static types(): {
1715
- [key: string]: any;
1716
- };
1717
- constructor(map?: {
1718
- [key: string]: any;
1719
- });
1720
- }
1721
- export declare class StopJobsResponse extends $tea.Model {
1722
- headers: {
1723
- [key: string]: string;
1724
- };
1725
- statusCode: number;
1726
- body: StopJobsResponseBody;
1727
- static names(): {
1728
- [key: string]: string;
1729
- };
1730
- static types(): {
1731
- [key: string]: any;
1732
- };
1733
- constructor(map?: {
1734
- [key: string]: any;
1735
- });
1736
- }
1737
1289
  export declare class StopTensorboardRequest extends $tea.Model {
1738
1290
  workspaceId?: string;
1739
1291
  static names(): {
@@ -2001,14 +1553,6 @@ export default class Client extends OpenApi {
2001
1553
  getEndpoint(productId: string, regionId: string, endpointRule: string, network: string, suffix: string, endpointMap: {
2002
1554
  [key: string]: string;
2003
1555
  }, endpoint: string): string;
2004
- createCodeSource(request: CreateCodeSourceRequest): Promise<CreateCodeSourceResponse>;
2005
- createCodeSourceWithOptions(request: CreateCodeSourceRequest, headers: {
2006
- [key: string]: string;
2007
- }, runtime: $Util.RuntimeOptions): Promise<CreateCodeSourceResponse>;
2008
- createDataSource(request: CreateDataSourceRequest): Promise<CreateDataSourceResponse>;
2009
- createDataSourceWithOptions(request: CreateDataSourceRequest, headers: {
2010
- [key: string]: string;
2011
- }, runtime: $Util.RuntimeOptions): Promise<CreateDataSourceResponse>;
2012
1556
  createJob(request: CreateJobRequest): Promise<CreateJobResponse>;
2013
1557
  createJobWithOptions(request: CreateJobRequest, headers: {
2014
1558
  [key: string]: string;
@@ -2017,34 +1561,14 @@ export default class Client extends OpenApi {
2017
1561
  createTensorboardWithOptions(request: CreateTensorboardRequest, headers: {
2018
1562
  [key: string]: string;
2019
1563
  }, runtime: $Util.RuntimeOptions): Promise<CreateTensorboardResponse>;
2020
- deleteCodeSource(CodeSourceId: string): Promise<DeleteCodeSourceResponse>;
2021
- deleteCodeSourceWithOptions(CodeSourceId: string, headers: {
2022
- [key: string]: string;
2023
- }, runtime: $Util.RuntimeOptions): Promise<DeleteCodeSourceResponse>;
2024
- deleteDataSource(DataSourceId: string): Promise<DeleteDataSourceResponse>;
2025
- deleteDataSourceWithOptions(DataSourceId: string, headers: {
2026
- [key: string]: string;
2027
- }, runtime: $Util.RuntimeOptions): Promise<DeleteDataSourceResponse>;
2028
1564
  deleteJob(JobId: string): Promise<DeleteJobResponse>;
2029
1565
  deleteJobWithOptions(JobId: string, headers: {
2030
1566
  [key: string]: string;
2031
1567
  }, runtime: $Util.RuntimeOptions): Promise<DeleteJobResponse>;
2032
- deleteJobs(request: DeleteJobsRequest): Promise<DeleteJobsResponse>;
2033
- deleteJobsWithOptions(request: DeleteJobsRequest, headers: {
2034
- [key: string]: string;
2035
- }, runtime: $Util.RuntimeOptions): Promise<DeleteJobsResponse>;
2036
1568
  deleteTensorboard(TensorboardId: string, request: DeleteTensorboardRequest): Promise<DeleteTensorboardResponse>;
2037
1569
  deleteTensorboardWithOptions(TensorboardId: string, request: DeleteTensorboardRequest, headers: {
2038
1570
  [key: string]: string;
2039
1571
  }, runtime: $Util.RuntimeOptions): Promise<DeleteTensorboardResponse>;
2040
- getCodeSource(CodeSourceId: string): Promise<GetCodeSourceResponse>;
2041
- getCodeSourceWithOptions(CodeSourceId: string, headers: {
2042
- [key: string]: string;
2043
- }, runtime: $Util.RuntimeOptions): Promise<GetCodeSourceResponse>;
2044
- getDataSource(DataSourceId: string): Promise<GetDataSourceResponse>;
2045
- getDataSourceWithOptions(DataSourceId: string, headers: {
2046
- [key: string]: string;
2047
- }, runtime: $Util.RuntimeOptions): Promise<GetDataSourceResponse>;
2048
1572
  getJob(JobId: string): Promise<GetJobResponse>;
2049
1573
  getJobWithOptions(JobId: string, headers: {
2050
1574
  [key: string]: string;
@@ -2069,22 +1593,10 @@ export default class Client extends OpenApi {
2069
1593
  getTensorboardWithOptions(TensorboardId: string, request: GetTensorboardRequest, headers: {
2070
1594
  [key: string]: string;
2071
1595
  }, runtime: $Util.RuntimeOptions): Promise<GetTensorboardResponse>;
2072
- listCodeSources(request: ListCodeSourcesRequest): Promise<ListCodeSourcesResponse>;
2073
- listCodeSourcesWithOptions(request: ListCodeSourcesRequest, headers: {
2074
- [key: string]: string;
2075
- }, runtime: $Util.RuntimeOptions): Promise<ListCodeSourcesResponse>;
2076
- listDataSources(request: ListDataSourcesRequest): Promise<ListDataSourcesResponse>;
2077
- listDataSourcesWithOptions(request: ListDataSourcesRequest, headers: {
2078
- [key: string]: string;
2079
- }, runtime: $Util.RuntimeOptions): Promise<ListDataSourcesResponse>;
2080
1596
  listEcsSpecs(request: ListEcsSpecsRequest): Promise<ListEcsSpecsResponse>;
2081
1597
  listEcsSpecsWithOptions(request: ListEcsSpecsRequest, headers: {
2082
1598
  [key: string]: string;
2083
1599
  }, runtime: $Util.RuntimeOptions): Promise<ListEcsSpecsResponse>;
2084
- listImages(request: ListImagesRequest): Promise<ListImagesResponse>;
2085
- listImagesWithOptions(request: ListImagesRequest, headers: {
2086
- [key: string]: string;
2087
- }, runtime: $Util.RuntimeOptions): Promise<ListImagesResponse>;
2088
1600
  listJobs(request: ListJobsRequest): Promise<ListJobsResponse>;
2089
1601
  listJobsWithOptions(tmpReq: ListJobsRequest, headers: {
2090
1602
  [key: string]: string;
@@ -2101,10 +1613,6 @@ export default class Client extends OpenApi {
2101
1613
  stopJobWithOptions(JobId: string, headers: {
2102
1614
  [key: string]: string;
2103
1615
  }, runtime: $Util.RuntimeOptions): Promise<StopJobResponse>;
2104
- stopJobs(request: StopJobsRequest): Promise<StopJobsResponse>;
2105
- stopJobsWithOptions(request: StopJobsRequest, headers: {
2106
- [key: string]: string;
2107
- }, runtime: $Util.RuntimeOptions): Promise<StopJobsResponse>;
2108
1616
  stopTensorboard(TensorboardId: string, request: StopTensorboardRequest): Promise<StopTensorboardResponse>;
2109
1617
  stopTensorboardWithOptions(TensorboardId: string, request: StopTensorboardRequest, headers: {
2110
1618
  [key: string]: string;