@alicloud/pai-dsw20220101 1.1.40 → 1.1.41
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 +93 -89
- package/dist/client.js +169 -173
- package/dist/client.js.map +1 -1
- package/package.json +3 -3
- package/src/client.ts +229 -211
package/dist/client.d.ts
CHANGED
|
@@ -67,6 +67,7 @@ export declare class CreateIdleInstanceCullerResponse extends $tea.Model {
|
|
|
67
67
|
}
|
|
68
68
|
export declare class CreateInstanceRequest extends $tea.Model {
|
|
69
69
|
accessibility?: string;
|
|
70
|
+
cloudDisks?: CreateInstanceRequestCloudDisks[];
|
|
70
71
|
datasets?: CreateInstanceRequestDatasets[];
|
|
71
72
|
ecsSpec?: string;
|
|
72
73
|
environmentVariables?: {
|
|
@@ -79,8 +80,10 @@ export declare class CreateInstanceRequest extends $tea.Model {
|
|
|
79
80
|
priority?: number;
|
|
80
81
|
requestedResource?: CreateInstanceRequestRequestedResource;
|
|
81
82
|
resourceId?: string;
|
|
83
|
+
userId?: string;
|
|
82
84
|
userVpc?: CreateInstanceRequestUserVpc;
|
|
83
85
|
workspaceId?: string;
|
|
86
|
+
workspaceSource?: string;
|
|
84
87
|
static names(): {
|
|
85
88
|
[key: string]: string;
|
|
86
89
|
};
|
|
@@ -391,6 +394,7 @@ export declare class GetInstanceResponseBody extends $tea.Model {
|
|
|
391
394
|
acceleratorType?: string;
|
|
392
395
|
accessibility?: string;
|
|
393
396
|
accumulatedRunningTimeInMs?: number;
|
|
397
|
+
cloudDisks?: GetInstanceResponseBodyCloudDisks[];
|
|
394
398
|
code?: string;
|
|
395
399
|
datasets?: GetInstanceResponseBodyDatasets[];
|
|
396
400
|
ecsSpec?: string;
|
|
@@ -430,6 +434,7 @@ export declare class GetInstanceResponseBody extends $tea.Model {
|
|
|
430
434
|
webIDEUrl?: string;
|
|
431
435
|
workspaceId?: string;
|
|
432
436
|
workspaceName?: string;
|
|
437
|
+
workspaceSource?: string;
|
|
433
438
|
static names(): {
|
|
434
439
|
[key: string]: string;
|
|
435
440
|
};
|
|
@@ -733,6 +738,9 @@ export declare class GetTokenResponse extends $tea.Model {
|
|
|
733
738
|
export declare class GetUserConfigResponseBody extends $tea.Model {
|
|
734
739
|
accountSufficient?: boolean;
|
|
735
740
|
code?: string;
|
|
741
|
+
enableEciDisk?: boolean;
|
|
742
|
+
freeTier?: GetUserConfigResponseBodyFreeTier;
|
|
743
|
+
freeTierSpecAvailable?: boolean;
|
|
736
744
|
httpStatusCode?: number;
|
|
737
745
|
message?: string;
|
|
738
746
|
requestId?: string;
|
|
@@ -763,80 +771,6 @@ export declare class GetUserConfigResponse extends $tea.Model {
|
|
|
763
771
|
[key: string]: any;
|
|
764
772
|
});
|
|
765
773
|
}
|
|
766
|
-
export declare class ListDemoCategoriesResponseBody extends $tea.Model {
|
|
767
|
-
categories?: DemoCategory[];
|
|
768
|
-
requestId?: string;
|
|
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 ListDemoCategoriesResponse extends $tea.Model {
|
|
780
|
-
headers: {
|
|
781
|
-
[key: string]: string;
|
|
782
|
-
};
|
|
783
|
-
statusCode: number;
|
|
784
|
-
body: ListDemoCategoriesResponseBody;
|
|
785
|
-
static names(): {
|
|
786
|
-
[key: string]: string;
|
|
787
|
-
};
|
|
788
|
-
static types(): {
|
|
789
|
-
[key: string]: any;
|
|
790
|
-
};
|
|
791
|
-
constructor(map?: {
|
|
792
|
-
[key: string]: any;
|
|
793
|
-
});
|
|
794
|
-
}
|
|
795
|
-
export declare class ListDemosRequest extends $tea.Model {
|
|
796
|
-
category?: string;
|
|
797
|
-
demoName?: string;
|
|
798
|
-
pageNumber?: number;
|
|
799
|
-
pageSize?: number;
|
|
800
|
-
static names(): {
|
|
801
|
-
[key: string]: string;
|
|
802
|
-
};
|
|
803
|
-
static types(): {
|
|
804
|
-
[key: string]: any;
|
|
805
|
-
};
|
|
806
|
-
constructor(map?: {
|
|
807
|
-
[key: string]: any;
|
|
808
|
-
});
|
|
809
|
-
}
|
|
810
|
-
export declare class ListDemosResponseBody extends $tea.Model {
|
|
811
|
-
demos?: ListDemosResponseBodyDemos[];
|
|
812
|
-
requestId?: string;
|
|
813
|
-
totalCount?: number;
|
|
814
|
-
static names(): {
|
|
815
|
-
[key: string]: string;
|
|
816
|
-
};
|
|
817
|
-
static types(): {
|
|
818
|
-
[key: string]: any;
|
|
819
|
-
};
|
|
820
|
-
constructor(map?: {
|
|
821
|
-
[key: string]: any;
|
|
822
|
-
});
|
|
823
|
-
}
|
|
824
|
-
export declare class ListDemosResponse extends $tea.Model {
|
|
825
|
-
headers: {
|
|
826
|
-
[key: string]: string;
|
|
827
|
-
};
|
|
828
|
-
statusCode: number;
|
|
829
|
-
body: ListDemosResponseBody;
|
|
830
|
-
static names(): {
|
|
831
|
-
[key: string]: string;
|
|
832
|
-
};
|
|
833
|
-
static types(): {
|
|
834
|
-
[key: string]: any;
|
|
835
|
-
};
|
|
836
|
-
constructor(map?: {
|
|
837
|
-
[key: string]: any;
|
|
838
|
-
});
|
|
839
|
-
}
|
|
840
774
|
export declare class ListEcsSpecsRequest extends $tea.Model {
|
|
841
775
|
acceleratorType?: string;
|
|
842
776
|
order?: string;
|
|
@@ -1130,7 +1064,9 @@ export declare class UpdateInstanceRequest extends $tea.Model {
|
|
|
1130
1064
|
imageUrl?: string;
|
|
1131
1065
|
instanceName?: string;
|
|
1132
1066
|
requestedResource?: UpdateInstanceRequestRequestedResource;
|
|
1067
|
+
userId?: string;
|
|
1133
1068
|
userVpc?: UpdateInstanceRequestUserVpc;
|
|
1069
|
+
workspaceSource?: string;
|
|
1134
1070
|
static names(): {
|
|
1135
1071
|
[key: string]: string;
|
|
1136
1072
|
};
|
|
@@ -1174,6 +1110,21 @@ export declare class UpdateInstanceResponse extends $tea.Model {
|
|
|
1174
1110
|
[key: string]: any;
|
|
1175
1111
|
});
|
|
1176
1112
|
}
|
|
1113
|
+
export declare class CreateInstanceRequestCloudDisks extends $tea.Model {
|
|
1114
|
+
capacity?: string;
|
|
1115
|
+
mountPath?: string;
|
|
1116
|
+
path?: string;
|
|
1117
|
+
subType?: string;
|
|
1118
|
+
static names(): {
|
|
1119
|
+
[key: string]: string;
|
|
1120
|
+
};
|
|
1121
|
+
static types(): {
|
|
1122
|
+
[key: string]: any;
|
|
1123
|
+
};
|
|
1124
|
+
constructor(map?: {
|
|
1125
|
+
[key: string]: any;
|
|
1126
|
+
});
|
|
1127
|
+
}
|
|
1177
1128
|
export declare class CreateInstanceRequestDatasets extends $tea.Model {
|
|
1178
1129
|
datasetId?: string;
|
|
1179
1130
|
mountPath?: string;
|
|
@@ -1217,6 +1168,8 @@ export declare class CreateInstanceRequestRequestedResource extends $tea.Model {
|
|
|
1217
1168
|
});
|
|
1218
1169
|
}
|
|
1219
1170
|
export declare class CreateInstanceRequestUserVpc extends $tea.Model {
|
|
1171
|
+
defaultRoute?: string;
|
|
1172
|
+
extendedCIDRs?: string[];
|
|
1220
1173
|
securityGroupId?: string;
|
|
1221
1174
|
vSwitchId?: string;
|
|
1222
1175
|
vpcId?: string;
|
|
@@ -1243,6 +1196,21 @@ export declare class CreateInstanceSnapshotRequestLabels extends $tea.Model {
|
|
|
1243
1196
|
[key: string]: any;
|
|
1244
1197
|
});
|
|
1245
1198
|
}
|
|
1199
|
+
export declare class GetInstanceResponseBodyCloudDisks extends $tea.Model {
|
|
1200
|
+
capacity?: string;
|
|
1201
|
+
mountPath?: string;
|
|
1202
|
+
path?: string;
|
|
1203
|
+
subType?: string;
|
|
1204
|
+
static names(): {
|
|
1205
|
+
[key: string]: string;
|
|
1206
|
+
};
|
|
1207
|
+
static types(): {
|
|
1208
|
+
[key: string]: any;
|
|
1209
|
+
};
|
|
1210
|
+
constructor(map?: {
|
|
1211
|
+
[key: string]: any;
|
|
1212
|
+
});
|
|
1213
|
+
}
|
|
1246
1214
|
export declare class GetInstanceResponseBodyDatasets extends $tea.Model {
|
|
1247
1215
|
datasetId?: string;
|
|
1248
1216
|
mountPath?: string;
|
|
@@ -1358,6 +1326,8 @@ export declare class GetInstanceResponseBodyRequestedResource extends $tea.Model
|
|
|
1358
1326
|
});
|
|
1359
1327
|
}
|
|
1360
1328
|
export declare class GetInstanceResponseBodyUserVpc extends $tea.Model {
|
|
1329
|
+
defaultRoute?: string;
|
|
1330
|
+
extendedCIDRs?: string[];
|
|
1361
1331
|
securityGroupId?: string;
|
|
1362
1332
|
vSwitchId?: string;
|
|
1363
1333
|
vpcId?: string;
|
|
@@ -1412,13 +1382,32 @@ export declare class GetLifecycleResponseBodyLifecycle extends $tea.Model {
|
|
|
1412
1382
|
[key: string]: any;
|
|
1413
1383
|
});
|
|
1414
1384
|
}
|
|
1415
|
-
export declare class
|
|
1416
|
-
|
|
1417
|
-
|
|
1418
|
-
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
-
|
|
1385
|
+
export declare class GetUserConfigResponseBodyFreeTier extends $tea.Model {
|
|
1386
|
+
endTime?: string;
|
|
1387
|
+
initBaseUnit?: string;
|
|
1388
|
+
initBaseValue?: number;
|
|
1389
|
+
initShowUnit?: string;
|
|
1390
|
+
initShowValue?: string;
|
|
1391
|
+
isFreeTierUser?: boolean;
|
|
1392
|
+
periodBaseUnit?: string;
|
|
1393
|
+
periodBaseValue?: number;
|
|
1394
|
+
periodShowUnit?: string;
|
|
1395
|
+
periodShowValue?: string;
|
|
1396
|
+
startTime?: string;
|
|
1397
|
+
status?: string;
|
|
1398
|
+
static names(): {
|
|
1399
|
+
[key: string]: string;
|
|
1400
|
+
};
|
|
1401
|
+
static types(): {
|
|
1402
|
+
[key: string]: any;
|
|
1403
|
+
};
|
|
1404
|
+
constructor(map?: {
|
|
1405
|
+
[key: string]: any;
|
|
1406
|
+
});
|
|
1407
|
+
}
|
|
1408
|
+
export declare class ListEcsSpecsResponseBodyEcsSpecsLabels extends $tea.Model {
|
|
1409
|
+
key?: string;
|
|
1410
|
+
value?: string;
|
|
1422
1411
|
static names(): {
|
|
1423
1412
|
[key: string]: string;
|
|
1424
1413
|
};
|
|
@@ -1437,6 +1426,8 @@ export declare class ListEcsSpecsResponseBodyEcsSpecs extends $tea.Model {
|
|
|
1437
1426
|
GPUType?: string;
|
|
1438
1427
|
instanceBandwidthRx?: number;
|
|
1439
1428
|
instanceType?: string;
|
|
1429
|
+
isAvailable?: boolean;
|
|
1430
|
+
labels?: ListEcsSpecsResponseBodyEcsSpecsLabels[];
|
|
1440
1431
|
memory?: number;
|
|
1441
1432
|
price?: number;
|
|
1442
1433
|
systemDiskCapacity?: number;
|
|
@@ -1485,6 +1476,21 @@ export declare class ListInstanceSnapshotResponseBodySnapshots extends $tea.Mode
|
|
|
1485
1476
|
[key: string]: any;
|
|
1486
1477
|
});
|
|
1487
1478
|
}
|
|
1479
|
+
export declare class ListInstancesResponseBodyInstancesCloudDisks extends $tea.Model {
|
|
1480
|
+
capacity?: string;
|
|
1481
|
+
mountPath?: string;
|
|
1482
|
+
path?: string;
|
|
1483
|
+
subType?: string;
|
|
1484
|
+
static names(): {
|
|
1485
|
+
[key: string]: string;
|
|
1486
|
+
};
|
|
1487
|
+
static types(): {
|
|
1488
|
+
[key: string]: any;
|
|
1489
|
+
};
|
|
1490
|
+
constructor(map?: {
|
|
1491
|
+
[key: string]: any;
|
|
1492
|
+
});
|
|
1493
|
+
}
|
|
1488
1494
|
export declare class ListInstancesResponseBodyInstancesDatasets extends $tea.Model {
|
|
1489
1495
|
datasetId?: string;
|
|
1490
1496
|
mountPath?: string;
|
|
@@ -1600,6 +1606,8 @@ export declare class ListInstancesResponseBodyInstancesRequestedResource extends
|
|
|
1600
1606
|
});
|
|
1601
1607
|
}
|
|
1602
1608
|
export declare class ListInstancesResponseBodyInstancesUserVpc extends $tea.Model {
|
|
1609
|
+
defaultRoute?: string;
|
|
1610
|
+
extendedCIDRs?: string[];
|
|
1603
1611
|
securityGroupId?: string;
|
|
1604
1612
|
vSwitchId?: string;
|
|
1605
1613
|
vpcId?: string;
|
|
@@ -1617,6 +1625,7 @@ export declare class ListInstancesResponseBodyInstances extends $tea.Model {
|
|
|
1617
1625
|
acceleratorType?: string;
|
|
1618
1626
|
accessibility?: string;
|
|
1619
1627
|
accumulatedRunningTimeInMs?: number;
|
|
1628
|
+
cloudDisks?: ListInstancesResponseBodyInstancesCloudDisks[];
|
|
1620
1629
|
datasets?: ListInstancesResponseBodyInstancesDatasets[];
|
|
1621
1630
|
ecsSpec?: string;
|
|
1622
1631
|
environmentVariables?: {
|
|
@@ -1651,6 +1660,7 @@ export declare class ListInstancesResponseBodyInstances extends $tea.Model {
|
|
|
1651
1660
|
webIDEUrl?: string;
|
|
1652
1661
|
workspaceId?: string;
|
|
1653
1662
|
workspaceName?: string;
|
|
1663
|
+
workspaceSource?: string;
|
|
1654
1664
|
static names(): {
|
|
1655
1665
|
[key: string]: string;
|
|
1656
1666
|
};
|
|
@@ -1691,6 +1701,8 @@ export declare class UpdateInstanceRequestRequestedResource extends $tea.Model {
|
|
|
1691
1701
|
});
|
|
1692
1702
|
}
|
|
1693
1703
|
export declare class UpdateInstanceRequestUserVpc extends $tea.Model {
|
|
1704
|
+
defaultRoute?: string;
|
|
1705
|
+
extendedCIDRs?: string[];
|
|
1694
1706
|
securityGroupId?: string;
|
|
1695
1707
|
vSwitchId?: string;
|
|
1696
1708
|
vpcId?: string;
|
|
@@ -1777,14 +1789,6 @@ export default class Client extends OpenApi {
|
|
|
1777
1789
|
[key: string]: string;
|
|
1778
1790
|
}, runtime: $Util.RuntimeOptions): Promise<GetUserConfigResponse>;
|
|
1779
1791
|
getUserConfig(): Promise<GetUserConfigResponse>;
|
|
1780
|
-
listDemoCategoriesWithOptions(headers: {
|
|
1781
|
-
[key: string]: string;
|
|
1782
|
-
}, runtime: $Util.RuntimeOptions): Promise<ListDemoCategoriesResponse>;
|
|
1783
|
-
listDemoCategories(): Promise<ListDemoCategoriesResponse>;
|
|
1784
|
-
listDemosWithOptions(request: ListDemosRequest, headers: {
|
|
1785
|
-
[key: string]: string;
|
|
1786
|
-
}, runtime: $Util.RuntimeOptions): Promise<ListDemosResponse>;
|
|
1787
|
-
listDemos(request: ListDemosRequest): Promise<ListDemosResponse>;
|
|
1788
1792
|
listEcsSpecsWithOptions(request: ListEcsSpecsRequest, headers: {
|
|
1789
1793
|
[key: string]: string;
|
|
1790
1794
|
}, runtime: $Util.RuntimeOptions): Promise<ListEcsSpecsResponse>;
|