@alicloud/pai-dlc20201203 1.2.0 → 1.2.3
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 +39 -21
- package/dist/client.js +148 -78
- package/dist/client.js.map +1 -1
- package/package.json +4 -4
- package/src/client.ts +163 -82
package/dist/client.d.ts
CHANGED
|
@@ -320,6 +320,7 @@ export declare class JobSettings extends $tea.Model {
|
|
|
320
320
|
businessUserId?: string;
|
|
321
321
|
caller?: string;
|
|
322
322
|
enableErrorMonitoringInAIMaster?: boolean;
|
|
323
|
+
enableOssAppend?: boolean;
|
|
323
324
|
enableRDMA?: boolean;
|
|
324
325
|
enableTideResource?: boolean;
|
|
325
326
|
errorMonitoringArgs?: string;
|
|
@@ -410,12 +411,10 @@ export declare class PodMetric extends $tea.Model {
|
|
|
410
411
|
export declare class Quota extends $tea.Model {
|
|
411
412
|
clusterId?: string;
|
|
412
413
|
clusterName?: string;
|
|
413
|
-
|
|
414
|
-
isExclusiveQuota?: boolean;
|
|
414
|
+
quotaConfig?: QuotaConfig;
|
|
415
415
|
quotaId?: string;
|
|
416
416
|
quotaName?: string;
|
|
417
417
|
quotaType?: string;
|
|
418
|
-
resourceLevel?: string;
|
|
419
418
|
totalQuota?: QuotaDetail;
|
|
420
419
|
totalTideQuota?: QuotaDetail;
|
|
421
420
|
usedQuota?: QuotaDetail;
|
|
@@ -430,6 +429,22 @@ export declare class Quota extends $tea.Model {
|
|
|
430
429
|
[key: string]: any;
|
|
431
430
|
});
|
|
432
431
|
}
|
|
432
|
+
export declare class QuotaConfig extends $tea.Model {
|
|
433
|
+
allowedMaxPriority?: number;
|
|
434
|
+
enableDLC?: boolean;
|
|
435
|
+
enableDSW?: boolean;
|
|
436
|
+
enableTideResource?: boolean;
|
|
437
|
+
resourceLevel?: string;
|
|
438
|
+
static names(): {
|
|
439
|
+
[key: string]: string;
|
|
440
|
+
};
|
|
441
|
+
static types(): {
|
|
442
|
+
[key: string]: any;
|
|
443
|
+
};
|
|
444
|
+
constructor(map?: {
|
|
445
|
+
[key: string]: any;
|
|
446
|
+
});
|
|
447
|
+
}
|
|
433
448
|
export declare class QuotaDetail extends $tea.Model {
|
|
434
449
|
CPU?: string;
|
|
435
450
|
GPU?: string;
|
|
@@ -582,6 +597,7 @@ export declare class CreateJobRequest extends $tea.Model {
|
|
|
582
597
|
priority?: number;
|
|
583
598
|
resourceId?: string;
|
|
584
599
|
settings?: JobSettings;
|
|
600
|
+
successPolicy?: string;
|
|
585
601
|
thirdpartyLibDir?: string;
|
|
586
602
|
thirdpartyLibs?: string[];
|
|
587
603
|
userCommand?: string;
|
|
@@ -1079,6 +1095,7 @@ export declare class ListJobsRequest extends $tea.Model {
|
|
|
1079
1095
|
displayName?: string;
|
|
1080
1096
|
endTime?: string;
|
|
1081
1097
|
fromAllWorkspaces?: boolean;
|
|
1098
|
+
jobId?: string;
|
|
1082
1099
|
jobType?: string;
|
|
1083
1100
|
order?: string;
|
|
1084
1101
|
pageNumber?: number;
|
|
@@ -1109,6 +1126,7 @@ export declare class ListJobsShrinkRequest extends $tea.Model {
|
|
|
1109
1126
|
displayName?: string;
|
|
1110
1127
|
endTime?: string;
|
|
1111
1128
|
fromAllWorkspaces?: boolean;
|
|
1129
|
+
jobId?: string;
|
|
1112
1130
|
jobType?: string;
|
|
1113
1131
|
order?: string;
|
|
1114
1132
|
pageNumber?: number;
|
|
@@ -1553,76 +1571,76 @@ export default class Client extends OpenApi {
|
|
|
1553
1571
|
getEndpoint(productId: string, regionId: string, endpointRule: string, network: string, suffix: string, endpointMap: {
|
|
1554
1572
|
[key: string]: string;
|
|
1555
1573
|
}, endpoint: string): string;
|
|
1556
|
-
createJob(request: CreateJobRequest): Promise<CreateJobResponse>;
|
|
1557
1574
|
createJobWithOptions(request: CreateJobRequest, headers: {
|
|
1558
1575
|
[key: string]: string;
|
|
1559
1576
|
}, runtime: $Util.RuntimeOptions): Promise<CreateJobResponse>;
|
|
1560
|
-
|
|
1577
|
+
createJob(request: CreateJobRequest): Promise<CreateJobResponse>;
|
|
1561
1578
|
createTensorboardWithOptions(request: CreateTensorboardRequest, headers: {
|
|
1562
1579
|
[key: string]: string;
|
|
1563
1580
|
}, runtime: $Util.RuntimeOptions): Promise<CreateTensorboardResponse>;
|
|
1564
|
-
|
|
1581
|
+
createTensorboard(request: CreateTensorboardRequest): Promise<CreateTensorboardResponse>;
|
|
1565
1582
|
deleteJobWithOptions(JobId: string, headers: {
|
|
1566
1583
|
[key: string]: string;
|
|
1567
1584
|
}, runtime: $Util.RuntimeOptions): Promise<DeleteJobResponse>;
|
|
1568
|
-
|
|
1585
|
+
deleteJob(JobId: string): Promise<DeleteJobResponse>;
|
|
1569
1586
|
deleteTensorboardWithOptions(TensorboardId: string, request: DeleteTensorboardRequest, headers: {
|
|
1570
1587
|
[key: string]: string;
|
|
1571
1588
|
}, runtime: $Util.RuntimeOptions): Promise<DeleteTensorboardResponse>;
|
|
1572
|
-
|
|
1589
|
+
deleteTensorboard(TensorboardId: string, request: DeleteTensorboardRequest): Promise<DeleteTensorboardResponse>;
|
|
1573
1590
|
getJobWithOptions(JobId: string, headers: {
|
|
1574
1591
|
[key: string]: string;
|
|
1575
1592
|
}, runtime: $Util.RuntimeOptions): Promise<GetJobResponse>;
|
|
1576
|
-
|
|
1593
|
+
getJob(JobId: string): Promise<GetJobResponse>;
|
|
1577
1594
|
getJobEventsWithOptions(JobId: string, request: GetJobEventsRequest, headers: {
|
|
1578
1595
|
[key: string]: string;
|
|
1579
1596
|
}, runtime: $Util.RuntimeOptions): Promise<GetJobEventsResponse>;
|
|
1580
|
-
|
|
1597
|
+
getJobEvents(JobId: string, request: GetJobEventsRequest): Promise<GetJobEventsResponse>;
|
|
1581
1598
|
getJobMetricsWithOptions(JobId: string, request: GetJobMetricsRequest, headers: {
|
|
1582
1599
|
[key: string]: string;
|
|
1583
1600
|
}, runtime: $Util.RuntimeOptions): Promise<GetJobMetricsResponse>;
|
|
1584
|
-
|
|
1601
|
+
getJobMetrics(JobId: string, request: GetJobMetricsRequest): Promise<GetJobMetricsResponse>;
|
|
1585
1602
|
getPodEventsWithOptions(JobId: string, PodId: string, request: GetPodEventsRequest, headers: {
|
|
1586
1603
|
[key: string]: string;
|
|
1587
1604
|
}, runtime: $Util.RuntimeOptions): Promise<GetPodEventsResponse>;
|
|
1588
|
-
|
|
1605
|
+
getPodEvents(JobId: string, PodId: string, request: GetPodEventsRequest): Promise<GetPodEventsResponse>;
|
|
1589
1606
|
getPodLogsWithOptions(JobId: string, PodId: string, request: GetPodLogsRequest, headers: {
|
|
1590
1607
|
[key: string]: string;
|
|
1591
1608
|
}, runtime: $Util.RuntimeOptions): Promise<GetPodLogsResponse>;
|
|
1592
|
-
|
|
1609
|
+
getPodLogs(JobId: string, PodId: string, request: GetPodLogsRequest): Promise<GetPodLogsResponse>;
|
|
1593
1610
|
getTensorboardWithOptions(TensorboardId: string, request: GetTensorboardRequest, headers: {
|
|
1594
1611
|
[key: string]: string;
|
|
1595
1612
|
}, runtime: $Util.RuntimeOptions): Promise<GetTensorboardResponse>;
|
|
1596
|
-
|
|
1613
|
+
getTensorboard(TensorboardId: string, request: GetTensorboardRequest): Promise<GetTensorboardResponse>;
|
|
1597
1614
|
listEcsSpecsWithOptions(request: ListEcsSpecsRequest, headers: {
|
|
1598
1615
|
[key: string]: string;
|
|
1599
1616
|
}, runtime: $Util.RuntimeOptions): Promise<ListEcsSpecsResponse>;
|
|
1600
|
-
|
|
1617
|
+
listEcsSpecs(request: ListEcsSpecsRequest): Promise<ListEcsSpecsResponse>;
|
|
1601
1618
|
listJobsWithOptions(tmpReq: ListJobsRequest, headers: {
|
|
1602
1619
|
[key: string]: string;
|
|
1603
1620
|
}, runtime: $Util.RuntimeOptions): Promise<ListJobsResponse>;
|
|
1604
|
-
|
|
1621
|
+
listJobs(request: ListJobsRequest): Promise<ListJobsResponse>;
|
|
1605
1622
|
listTensorboardsWithOptions(request: ListTensorboardsRequest, headers: {
|
|
1606
1623
|
[key: string]: string;
|
|
1607
1624
|
}, runtime: $Util.RuntimeOptions): Promise<ListTensorboardsResponse>;
|
|
1608
|
-
|
|
1625
|
+
listTensorboards(request: ListTensorboardsRequest): Promise<ListTensorboardsResponse>;
|
|
1609
1626
|
startTensorboardWithOptions(TensorboardId: string, request: StartTensorboardRequest, headers: {
|
|
1610
1627
|
[key: string]: string;
|
|
1611
1628
|
}, runtime: $Util.RuntimeOptions): Promise<StartTensorboardResponse>;
|
|
1612
|
-
|
|
1629
|
+
startTensorboard(TensorboardId: string, request: StartTensorboardRequest): Promise<StartTensorboardResponse>;
|
|
1613
1630
|
stopJobWithOptions(JobId: string, headers: {
|
|
1614
1631
|
[key: string]: string;
|
|
1615
1632
|
}, runtime: $Util.RuntimeOptions): Promise<StopJobResponse>;
|
|
1616
|
-
|
|
1633
|
+
stopJob(JobId: string): Promise<StopJobResponse>;
|
|
1617
1634
|
stopTensorboardWithOptions(TensorboardId: string, request: StopTensorboardRequest, headers: {
|
|
1618
1635
|
[key: string]: string;
|
|
1619
1636
|
}, runtime: $Util.RuntimeOptions): Promise<StopTensorboardResponse>;
|
|
1620
|
-
|
|
1637
|
+
stopTensorboard(TensorboardId: string, request: StopTensorboardRequest): Promise<StopTensorboardResponse>;
|
|
1621
1638
|
updateJobWithOptions(JobId: string, request: UpdateJobRequest, headers: {
|
|
1622
1639
|
[key: string]: string;
|
|
1623
1640
|
}, runtime: $Util.RuntimeOptions): Promise<UpdateJobResponse>;
|
|
1624
|
-
|
|
1641
|
+
updateJob(JobId: string, request: UpdateJobRequest): Promise<UpdateJobResponse>;
|
|
1625
1642
|
updateTensorboardWithOptions(TensorboardId: string, request: UpdateTensorboardRequest, headers: {
|
|
1626
1643
|
[key: string]: string;
|
|
1627
1644
|
}, runtime: $Util.RuntimeOptions): Promise<UpdateTensorboardResponse>;
|
|
1645
|
+
updateTensorboard(TensorboardId: string, request: UpdateTensorboardRequest): Promise<UpdateTensorboardResponse>;
|
|
1628
1646
|
}
|