@alicloud/pai-dlc20201203 1.4.1 → 1.4.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 CHANGED
@@ -180,12 +180,17 @@ export declare class DebuggerResult extends $tea.Model {
180
180
  export declare class EcsSpec extends $tea.Model {
181
181
  acceleratorType?: string;
182
182
  cpu?: number;
183
+ defaultGPUDriver?: string;
183
184
  gpu?: number;
184
185
  gpuType?: string;
185
186
  instanceType?: string;
186
187
  isAvailable?: boolean;
187
188
  memory?: number;
189
+ nonProtectSpotDiscount?: number;
190
+ paymentTypes?: string[];
188
191
  resourceType?: string;
192
+ spotStockStatus?: string;
193
+ supportedGPUDrivers?: string[];
189
194
  static names(): {
190
195
  [key: string]: string;
191
196
  };
@@ -469,6 +474,7 @@ export declare class JobSpec extends $tea.Model {
469
474
  imageConfig?: ImageConfig;
470
475
  podCount?: number;
471
476
  resourceConfig?: ResourceConfig;
477
+ spotSpec?: SpotSpec;
472
478
  type?: string;
473
479
  useSpotInstance?: boolean;
474
480
  static names(): {
@@ -715,6 +721,19 @@ export declare class SmartCache extends $tea.Model {
715
721
  [key: string]: any;
716
722
  });
717
723
  }
724
+ export declare class SpotSpec extends $tea.Model {
725
+ spotDiscountLimit?: number;
726
+ spotStrategy?: string;
727
+ static names(): {
728
+ [key: string]: string;
729
+ };
730
+ static types(): {
731
+ [key: string]: any;
732
+ };
733
+ constructor(map?: {
734
+ [key: string]: any;
735
+ });
736
+ }
718
737
  export declare class StatusTransitionItem extends $tea.Model {
719
738
  endTime?: string;
720
739
  reasonCode?: string;
@@ -743,7 +762,9 @@ export declare class Tensorboard extends $tea.Model {
743
762
  requestId?: string;
744
763
  status?: string;
745
764
  summaryPath?: string;
765
+ tensorboardDataSources?: TensorboardDataSourceSpec[];
746
766
  tensorboardId?: string;
767
+ tensorboardSpec?: TensorboardSpec;
747
768
  tensorboardUrl?: string;
748
769
  userId?: string;
749
770
  static names(): {
@@ -756,6 +777,40 @@ export declare class Tensorboard extends $tea.Model {
756
777
  [key: string]: any;
757
778
  });
758
779
  }
780
+ export declare class TensorboardDataSourceSpec extends $tea.Model {
781
+ dataSourceType?: string;
782
+ directoryName?: string;
783
+ fullSummaryPath?: string;
784
+ id?: string;
785
+ name?: string;
786
+ sourceType?: string;
787
+ summaryPath?: string;
788
+ uri?: string;
789
+ static names(): {
790
+ [key: string]: string;
791
+ };
792
+ static types(): {
793
+ [key: string]: any;
794
+ };
795
+ constructor(map?: {
796
+ [key: string]: any;
797
+ });
798
+ }
799
+ export declare class TensorboardSpec extends $tea.Model {
800
+ ecsType?: string;
801
+ securityGroupId?: string;
802
+ switchId?: string;
803
+ vpcId?: string;
804
+ static names(): {
805
+ [key: string]: string;
806
+ };
807
+ static types(): {
808
+ [key: string]: any;
809
+ };
810
+ constructor(map?: {
811
+ [key: string]: any;
812
+ });
813
+ }
759
814
  export declare class Workspace extends $tea.Model {
760
815
  creator?: string;
761
816
  gmtCreateTime?: string;
@@ -822,11 +877,11 @@ export declare class CreateJobResponseBody extends $tea.Model {
822
877
  });
823
878
  }
824
879
  export declare class CreateJobResponse extends $tea.Model {
825
- headers: {
880
+ headers?: {
826
881
  [key: string]: string;
827
882
  };
828
- statusCode: number;
829
- body: CreateJobResponseBody;
883
+ statusCode?: number;
884
+ body?: CreateJobResponseBody;
830
885
  static names(): {
831
886
  [key: string]: string;
832
887
  };
@@ -851,6 +906,8 @@ export declare class CreateTensorboardRequest extends $tea.Model {
851
906
  sourceType?: string;
852
907
  summaryPath?: string;
853
908
  summaryRelativePath?: string;
909
+ tensorboardDataSources?: TensorboardDataSourceSpec[];
910
+ tensorboardSpec?: TensorboardSpec;
854
911
  uri?: string;
855
912
  workspaceId?: string;
856
913
  static names(): {
@@ -879,11 +936,11 @@ export declare class CreateTensorboardResponseBody extends $tea.Model {
879
936
  });
880
937
  }
881
938
  export declare class CreateTensorboardResponse extends $tea.Model {
882
- headers: {
939
+ headers?: {
883
940
  [key: string]: string;
884
941
  };
885
- statusCode: number;
886
- body: CreateTensorboardResponseBody;
942
+ statusCode?: number;
943
+ body?: CreateTensorboardResponseBody;
887
944
  static names(): {
888
945
  [key: string]: string;
889
946
  };
@@ -908,11 +965,11 @@ export declare class DeleteJobResponseBody extends $tea.Model {
908
965
  });
909
966
  }
910
967
  export declare class DeleteJobResponse extends $tea.Model {
911
- headers: {
968
+ headers?: {
912
969
  [key: string]: string;
913
970
  };
914
- statusCode: number;
915
- body: DeleteJobResponseBody;
971
+ statusCode?: number;
972
+ body?: DeleteJobResponseBody;
916
973
  static names(): {
917
974
  [key: string]: string;
918
975
  };
@@ -949,11 +1006,11 @@ export declare class DeleteTensorboardResponseBody extends $tea.Model {
949
1006
  });
950
1007
  }
951
1008
  export declare class DeleteTensorboardResponse extends $tea.Model {
952
- headers: {
1009
+ headers?: {
953
1010
  [key: string]: string;
954
1011
  };
955
- statusCode: number;
956
- body: DeleteTensorboardResponseBody;
1012
+ statusCode?: number;
1013
+ body?: DeleteTensorboardResponseBody;
957
1014
  static names(): {
958
1015
  [key: string]: string;
959
1016
  };
@@ -1028,11 +1085,11 @@ export declare class GetJobResponseBody extends $tea.Model {
1028
1085
  });
1029
1086
  }
1030
1087
  export declare class GetJobResponse extends $tea.Model {
1031
- headers: {
1088
+ headers?: {
1032
1089
  [key: string]: string;
1033
1090
  };
1034
- statusCode: number;
1035
- body: GetJobResponseBody;
1091
+ statusCode?: number;
1092
+ body?: GetJobResponseBody;
1036
1093
  static names(): {
1037
1094
  [key: string]: string;
1038
1095
  };
@@ -1072,11 +1129,11 @@ export declare class GetJobEventsResponseBody extends $tea.Model {
1072
1129
  });
1073
1130
  }
1074
1131
  export declare class GetJobEventsResponse extends $tea.Model {
1075
- headers: {
1132
+ headers?: {
1076
1133
  [key: string]: string;
1077
1134
  };
1078
- statusCode: number;
1079
- body: GetJobEventsResponseBody;
1135
+ statusCode?: number;
1136
+ body?: GetJobEventsResponseBody;
1080
1137
  static names(): {
1081
1138
  [key: string]: string;
1082
1139
  };
@@ -1118,11 +1175,11 @@ export declare class GetJobMetricsResponseBody extends $tea.Model {
1118
1175
  });
1119
1176
  }
1120
1177
  export declare class GetJobMetricsResponse extends $tea.Model {
1121
- headers: {
1178
+ headers?: {
1122
1179
  [key: string]: string;
1123
1180
  };
1124
- statusCode: number;
1125
- body: GetJobMetricsResponseBody;
1181
+ statusCode?: number;
1182
+ body?: GetJobMetricsResponseBody;
1126
1183
  static names(): {
1127
1184
  [key: string]: string;
1128
1185
  };
@@ -1162,11 +1219,11 @@ export declare class GetJobSanityCheckResultResponseBody extends $tea.Model {
1162
1219
  });
1163
1220
  }
1164
1221
  export declare class GetJobSanityCheckResultResponse extends $tea.Model {
1165
- headers: {
1222
+ headers?: {
1166
1223
  [key: string]: string;
1167
1224
  };
1168
- statusCode: number;
1169
- body: GetJobSanityCheckResultResponseBody;
1225
+ statusCode?: number;
1226
+ body?: GetJobSanityCheckResultResponseBody;
1170
1227
  static names(): {
1171
1228
  [key: string]: string;
1172
1229
  };
@@ -1209,11 +1266,11 @@ export declare class GetPodEventsResponseBody extends $tea.Model {
1209
1266
  });
1210
1267
  }
1211
1268
  export declare class GetPodEventsResponse extends $tea.Model {
1212
- headers: {
1269
+ headers?: {
1213
1270
  [key: string]: string;
1214
1271
  };
1215
- statusCode: number;
1216
- body: GetPodEventsResponseBody;
1272
+ statusCode?: number;
1273
+ body?: GetPodEventsResponseBody;
1217
1274
  static names(): {
1218
1275
  [key: string]: string;
1219
1276
  };
@@ -1257,11 +1314,11 @@ export declare class GetPodLogsResponseBody extends $tea.Model {
1257
1314
  });
1258
1315
  }
1259
1316
  export declare class GetPodLogsResponse extends $tea.Model {
1260
- headers: {
1317
+ headers?: {
1261
1318
  [key: string]: string;
1262
1319
  };
1263
- statusCode: number;
1264
- body: GetPodLogsResponseBody;
1320
+ statusCode?: number;
1321
+ body?: GetPodLogsResponseBody;
1265
1322
  static names(): {
1266
1323
  [key: string]: string;
1267
1324
  };
@@ -1287,11 +1344,11 @@ export declare class GetTensorboardRequest extends $tea.Model {
1287
1344
  });
1288
1345
  }
1289
1346
  export declare class GetTensorboardResponse extends $tea.Model {
1290
- headers: {
1347
+ headers?: {
1291
1348
  [key: string]: string;
1292
1349
  };
1293
- statusCode: number;
1294
- body: Tensorboard;
1350
+ statusCode?: number;
1351
+ body?: Tensorboard;
1295
1352
  static names(): {
1296
1353
  [key: string]: string;
1297
1354
  };
@@ -1328,11 +1385,11 @@ export declare class GetTensorboardSharedUrlResponseBody extends $tea.Model {
1328
1385
  });
1329
1386
  }
1330
1387
  export declare class GetTensorboardSharedUrlResponse extends $tea.Model {
1331
- headers: {
1388
+ headers?: {
1332
1389
  [key: string]: string;
1333
1390
  };
1334
- statusCode: number;
1335
- body: GetTensorboardSharedUrlResponseBody;
1391
+ statusCode?: number;
1392
+ body?: GetTensorboardSharedUrlResponseBody;
1336
1393
  static names(): {
1337
1394
  [key: string]: string;
1338
1395
  };
@@ -1371,11 +1428,11 @@ export declare class GetTokenResponseBody extends $tea.Model {
1371
1428
  });
1372
1429
  }
1373
1430
  export declare class GetTokenResponse extends $tea.Model {
1374
- headers: {
1431
+ headers?: {
1375
1432
  [key: string]: string;
1376
1433
  };
1377
- statusCode: number;
1378
- body: GetTokenResponseBody;
1434
+ statusCode?: number;
1435
+ body?: GetTokenResponseBody;
1379
1436
  static names(): {
1380
1437
  [key: string]: string;
1381
1438
  };
@@ -1413,11 +1470,11 @@ export declare class GetWebTerminalResponseBody extends $tea.Model {
1413
1470
  });
1414
1471
  }
1415
1472
  export declare class GetWebTerminalResponse extends $tea.Model {
1416
- headers: {
1473
+ headers?: {
1417
1474
  [key: string]: string;
1418
1475
  };
1419
- statusCode: number;
1420
- body: GetWebTerminalResponseBody;
1476
+ statusCode?: number;
1477
+ body?: GetWebTerminalResponseBody;
1421
1478
  static names(): {
1422
1479
  [key: string]: string;
1423
1480
  };
@@ -1461,11 +1518,11 @@ export declare class ListEcsSpecsResponseBody extends $tea.Model {
1461
1518
  });
1462
1519
  }
1463
1520
  export declare class ListEcsSpecsResponse extends $tea.Model {
1464
- headers: {
1521
+ headers?: {
1465
1522
  [key: string]: string;
1466
1523
  };
1467
- statusCode: number;
1468
- body: ListEcsSpecsResponseBody;
1524
+ statusCode?: number;
1525
+ body?: ListEcsSpecsResponseBody;
1469
1526
  static names(): {
1470
1527
  [key: string]: string;
1471
1528
  };
@@ -1503,11 +1560,11 @@ export declare class ListJobSanityCheckResultsResponseBody extends $tea.Model {
1503
1560
  });
1504
1561
  }
1505
1562
  export declare class ListJobSanityCheckResultsResponse extends $tea.Model {
1506
- headers: {
1563
+ headers?: {
1507
1564
  [key: string]: string;
1508
1565
  };
1509
- statusCode: number;
1510
- body: ListJobSanityCheckResultsResponseBody;
1566
+ statusCode?: number;
1567
+ body?: ListJobSanityCheckResultsResponseBody;
1511
1568
  static names(): {
1512
1569
  [key: string]: string;
1513
1570
  };
@@ -1597,11 +1654,11 @@ export declare class ListJobsResponseBody extends $tea.Model {
1597
1654
  });
1598
1655
  }
1599
1656
  export declare class ListJobsResponse extends $tea.Model {
1600
- headers: {
1657
+ headers?: {
1601
1658
  [key: string]: string;
1602
1659
  };
1603
- statusCode: number;
1604
- body: ListJobsResponseBody;
1660
+ statusCode?: number;
1661
+ body?: ListJobsResponseBody;
1605
1662
  static names(): {
1606
1663
  [key: string]: string;
1607
1664
  };
@@ -1619,6 +1676,7 @@ export declare class ListTensorboardsRequest extends $tea.Model {
1619
1676
  order?: string;
1620
1677
  pageNumber?: number;
1621
1678
  pageSize?: number;
1679
+ paymentType?: string;
1622
1680
  showOwn?: boolean;
1623
1681
  sortBy?: string;
1624
1682
  sourceId?: string;
@@ -1653,11 +1711,11 @@ export declare class ListTensorboardsResponseBody extends $tea.Model {
1653
1711
  });
1654
1712
  }
1655
1713
  export declare class ListTensorboardsResponse extends $tea.Model {
1656
- headers: {
1714
+ headers?: {
1657
1715
  [key: string]: string;
1658
1716
  };
1659
- statusCode: number;
1660
- body: ListTensorboardsResponseBody;
1717
+ statusCode?: number;
1718
+ body?: ListTensorboardsResponseBody;
1661
1719
  static names(): {
1662
1720
  [key: string]: string;
1663
1721
  };
@@ -1694,11 +1752,11 @@ export declare class StartTensorboardResponseBody extends $tea.Model {
1694
1752
  });
1695
1753
  }
1696
1754
  export declare class StartTensorboardResponse extends $tea.Model {
1697
- headers: {
1755
+ headers?: {
1698
1756
  [key: string]: string;
1699
1757
  };
1700
- statusCode: number;
1701
- body: StartTensorboardResponseBody;
1758
+ statusCode?: number;
1759
+ body?: StartTensorboardResponseBody;
1702
1760
  static names(): {
1703
1761
  [key: string]: string;
1704
1762
  };
@@ -1723,11 +1781,11 @@ export declare class StopJobResponseBody extends $tea.Model {
1723
1781
  });
1724
1782
  }
1725
1783
  export declare class StopJobResponse extends $tea.Model {
1726
- headers: {
1784
+ headers?: {
1727
1785
  [key: string]: string;
1728
1786
  };
1729
- statusCode: number;
1730
- body: StopJobResponseBody;
1787
+ statusCode?: number;
1788
+ body?: StopJobResponseBody;
1731
1789
  static names(): {
1732
1790
  [key: string]: string;
1733
1791
  };
@@ -1764,11 +1822,11 @@ export declare class StopTensorboardResponseBody extends $tea.Model {
1764
1822
  });
1765
1823
  }
1766
1824
  export declare class StopTensorboardResponse extends $tea.Model {
1767
- headers: {
1825
+ headers?: {
1768
1826
  [key: string]: string;
1769
1827
  };
1770
- statusCode: number;
1771
- body: StopTensorboardResponseBody;
1828
+ statusCode?: number;
1829
+ body?: StopTensorboardResponseBody;
1772
1830
  static names(): {
1773
1831
  [key: string]: string;
1774
1832
  };
@@ -1805,11 +1863,11 @@ export declare class UpdateJobResponseBody extends $tea.Model {
1805
1863
  });
1806
1864
  }
1807
1865
  export declare class UpdateJobResponse extends $tea.Model {
1808
- headers: {
1866
+ headers?: {
1809
1867
  [key: string]: string;
1810
1868
  };
1811
- statusCode: number;
1812
- body: UpdateJobResponseBody;
1869
+ statusCode?: number;
1870
+ body?: UpdateJobResponseBody;
1813
1871
  static names(): {
1814
1872
  [key: string]: string;
1815
1873
  };
@@ -1847,11 +1905,11 @@ export declare class UpdateTensorboardResponseBody extends $tea.Model {
1847
1905
  });
1848
1906
  }
1849
1907
  export declare class UpdateTensorboardResponse extends $tea.Model {
1850
- headers: {
1908
+ headers?: {
1851
1909
  [key: string]: string;
1852
1910
  };
1853
- statusCode: number;
1854
- body: UpdateTensorboardResponseBody;
1911
+ statusCode?: number;
1912
+ body?: UpdateTensorboardResponseBody;
1855
1913
  static names(): {
1856
1914
  [key: string]: string;
1857
1915
  };
package/dist/client.js CHANGED
@@ -1,15 +1,28 @@
1
1
  "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
5
+ }) : (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ o[k2] = m[k];
8
+ }));
9
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
10
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
11
+ }) : function(o, v) {
12
+ o["default"] = v;
13
+ });
2
14
  var __importStar = (this && this.__importStar) || function (mod) {
3
15
  if (mod && mod.__esModule) return mod;
4
16
  var result = {};
5
- if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];
6
- result["default"] = mod;
17
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
18
+ __setModuleDefault(result, mod);
7
19
  return result;
8
20
  };
9
21
  var __importDefault = (this && this.__importDefault) || function (mod) {
10
22
  return (mod && mod.__esModule) ? mod : { "default": mod };
11
23
  };
12
24
  Object.defineProperty(exports, "__esModule", { value: true });
25
+ exports.GetJobResponseBodyPods = exports.GetJobResponseBodyPodsHistoryPods = exports.GetJobResponseBodyDataSources = exports.GetJobResponseBodyCodeSource = exports.CreateJobRequestUserVpc = exports.CreateJobRequestDataSources = exports.CreateJobRequestCodeSource = exports.JobItemDataSources = exports.JobItemCodeSource = exports.UpdateTensorboardResponse = exports.UpdateTensorboardResponseBody = exports.UpdateTensorboardRequest = exports.UpdateJobResponse = exports.UpdateJobResponseBody = exports.UpdateJobRequest = exports.StopTensorboardResponse = exports.StopTensorboardResponseBody = exports.StopTensorboardRequest = exports.StopJobResponse = exports.StopJobResponseBody = exports.StartTensorboardResponse = exports.StartTensorboardResponseBody = exports.StartTensorboardRequest = exports.ListTensorboardsResponse = exports.ListTensorboardsResponseBody = exports.ListTensorboardsRequest = exports.ListJobsResponse = exports.ListJobsResponseBody = exports.ListJobsShrinkRequest = exports.ListJobsRequest = exports.ListJobSanityCheckResultsResponse = exports.ListJobSanityCheckResultsResponseBody = exports.ListJobSanityCheckResultsRequest = exports.ListEcsSpecsResponse = exports.ListEcsSpecsResponseBody = exports.ListEcsSpecsRequest = exports.GetWebTerminalResponse = exports.GetWebTerminalResponseBody = exports.GetWebTerminalRequest = exports.GetTokenResponse = exports.GetTokenResponseBody = exports.GetTokenRequest = exports.GetTensorboardSharedUrlResponse = exports.GetTensorboardSharedUrlResponseBody = exports.GetTensorboardSharedUrlRequest = exports.GetTensorboardResponse = exports.GetTensorboardRequest = exports.GetPodLogsResponse = exports.GetPodLogsResponseBody = exports.GetPodLogsRequest = exports.GetPodEventsResponse = exports.GetPodEventsResponseBody = exports.GetPodEventsRequest = exports.GetJobSanityCheckResultResponse = exports.GetJobSanityCheckResultResponseBody = exports.GetJobSanityCheckResultRequest = exports.GetJobMetricsResponse = exports.GetJobMetricsResponseBody = exports.GetJobMetricsRequest = exports.GetJobEventsResponse = exports.GetJobEventsResponseBody = exports.GetJobEventsRequest = exports.GetJobResponse = exports.GetJobResponseBody = exports.GetJobRequest = exports.DeleteTensorboardResponse = exports.DeleteTensorboardResponseBody = exports.DeleteTensorboardRequest = exports.DeleteJobResponse = exports.DeleteJobResponseBody = exports.CreateTensorboardResponse = exports.CreateTensorboardResponseBody = exports.CreateTensorboardRequest = exports.CreateJobResponse = exports.CreateJobResponseBody = exports.CreateJobRequest = exports.Workspace = exports.TensorboardSpec = exports.TensorboardDataSourceSpec = exports.Tensorboard = exports.StatusTransitionItem = exports.SpotSpec = exports.SmartCache = exports.SanityCheckResultItem = exports.Resources = exports.ResourceRequirements = exports.ResourceConfig = exports.QuotaDetail = exports.QuotaConfig = exports.Quota = exports.PodMetric = exports.PodItem = exports.NodeMetric = exports.Metric = exports.Member = exports.LogInfo = exports.JobSpec = exports.JobSettings = exports.JobItem = exports.JobElasticSpec = exports.JobDebuggerConfig = exports.ImageItem = exports.ImageConfig = exports.GPUDetail = exports.FreeResourceItem = exports.FreeResourceDetail = exports.FreeResourceClusterControlItem = exports.ExtraPodSpec = exports.EventInfo = exports.EnvVar = exports.EcsSpec = exports.DebuggerResult = exports.DebuggerJobIssue = exports.DebuggerJob = exports.DebuggerConfig = exports.DataSourceItem = exports.ContainerSpec = exports.CodeSourceItem = exports.AliyunAccounts = exports.AIMasterMessage = void 0;
13
26
  // This file is auto-generated, don't edit it
14
27
  /**
15
28
  *
@@ -301,24 +314,34 @@ class EcsSpec extends $tea.Model {
301
314
  return {
302
315
  acceleratorType: 'AcceleratorType',
303
316
  cpu: 'Cpu',
317
+ defaultGPUDriver: 'DefaultGPUDriver',
304
318
  gpu: 'Gpu',
305
319
  gpuType: 'GpuType',
306
320
  instanceType: 'InstanceType',
307
321
  isAvailable: 'IsAvailable',
308
322
  memory: 'Memory',
323
+ nonProtectSpotDiscount: 'NonProtectSpotDiscount',
324
+ paymentTypes: 'PaymentTypes',
309
325
  resourceType: 'ResourceType',
326
+ spotStockStatus: 'SpotStockStatus',
327
+ supportedGPUDrivers: 'SupportedGPUDrivers',
310
328
  };
311
329
  }
312
330
  static types() {
313
331
  return {
314
332
  acceleratorType: 'string',
315
333
  cpu: 'number',
334
+ defaultGPUDriver: 'string',
316
335
  gpu: 'number',
317
336
  gpuType: 'string',
318
337
  instanceType: 'string',
319
338
  isAvailable: 'boolean',
320
339
  memory: 'number',
340
+ nonProtectSpotDiscount: 'number',
341
+ paymentTypes: { 'type': 'array', 'itemType': 'string' },
321
342
  resourceType: 'string',
343
+ spotStockStatus: 'string',
344
+ supportedGPUDrivers: { 'type': 'array', 'itemType': 'string' },
322
345
  };
323
346
  }
324
347
  }
@@ -743,6 +766,7 @@ class JobSpec extends $tea.Model {
743
766
  imageConfig: 'ImageConfig',
744
767
  podCount: 'PodCount',
745
768
  resourceConfig: 'ResourceConfig',
769
+ spotSpec: 'SpotSpec',
746
770
  type: 'Type',
747
771
  useSpotInstance: 'UseSpotInstance',
748
772
  };
@@ -755,6 +779,7 @@ class JobSpec extends $tea.Model {
755
779
  imageConfig: ImageConfig,
756
780
  podCount: 'number',
757
781
  resourceConfig: ResourceConfig,
782
+ spotSpec: SpotSpec,
758
783
  type: 'string',
759
784
  useSpotInstance: 'boolean',
760
785
  };
@@ -1109,6 +1134,24 @@ class SmartCache extends $tea.Model {
1109
1134
  }
1110
1135
  }
1111
1136
  exports.SmartCache = SmartCache;
1137
+ class SpotSpec extends $tea.Model {
1138
+ constructor(map) {
1139
+ super(map);
1140
+ }
1141
+ static names() {
1142
+ return {
1143
+ spotDiscountLimit: 'SpotDiscountLimit',
1144
+ spotStrategy: 'SpotStrategy',
1145
+ };
1146
+ }
1147
+ static types() {
1148
+ return {
1149
+ spotDiscountLimit: 'number',
1150
+ spotStrategy: 'string',
1151
+ };
1152
+ }
1153
+ }
1154
+ exports.SpotSpec = SpotSpec;
1112
1155
  class StatusTransitionItem extends $tea.Model {
1113
1156
  constructor(map) {
1114
1157
  super(map);
@@ -1150,7 +1193,9 @@ class Tensorboard extends $tea.Model {
1150
1193
  requestId: 'RequestId',
1151
1194
  status: 'Status',
1152
1195
  summaryPath: 'SummaryPath',
1196
+ tensorboardDataSources: 'TensorboardDataSources',
1153
1197
  tensorboardId: 'TensorboardId',
1198
+ tensorboardSpec: 'TensorboardSpec',
1154
1199
  tensorboardUrl: 'TensorboardUrl',
1155
1200
  userId: 'UserId',
1156
1201
  };
@@ -1168,13 +1213,67 @@ class Tensorboard extends $tea.Model {
1168
1213
  requestId: 'string',
1169
1214
  status: 'string',
1170
1215
  summaryPath: 'string',
1216
+ tensorboardDataSources: { 'type': 'array', 'itemType': TensorboardDataSourceSpec },
1171
1217
  tensorboardId: 'string',
1218
+ tensorboardSpec: TensorboardSpec,
1172
1219
  tensorboardUrl: 'string',
1173
1220
  userId: 'string',
1174
1221
  };
1175
1222
  }
1176
1223
  }
1177
1224
  exports.Tensorboard = Tensorboard;
1225
+ class TensorboardDataSourceSpec extends $tea.Model {
1226
+ constructor(map) {
1227
+ super(map);
1228
+ }
1229
+ static names() {
1230
+ return {
1231
+ dataSourceType: 'DataSourceType',
1232
+ directoryName: 'DirectoryName',
1233
+ fullSummaryPath: 'FullSummaryPath',
1234
+ id: 'Id',
1235
+ name: 'Name',
1236
+ sourceType: 'SourceType',
1237
+ summaryPath: 'SummaryPath',
1238
+ uri: 'Uri',
1239
+ };
1240
+ }
1241
+ static types() {
1242
+ return {
1243
+ dataSourceType: 'string',
1244
+ directoryName: 'string',
1245
+ fullSummaryPath: 'string',
1246
+ id: 'string',
1247
+ name: 'string',
1248
+ sourceType: 'string',
1249
+ summaryPath: 'string',
1250
+ uri: 'string',
1251
+ };
1252
+ }
1253
+ }
1254
+ exports.TensorboardDataSourceSpec = TensorboardDataSourceSpec;
1255
+ class TensorboardSpec extends $tea.Model {
1256
+ constructor(map) {
1257
+ super(map);
1258
+ }
1259
+ static names() {
1260
+ return {
1261
+ ecsType: 'EcsType',
1262
+ securityGroupId: 'SecurityGroupId',
1263
+ switchId: 'SwitchId',
1264
+ vpcId: 'VpcId',
1265
+ };
1266
+ }
1267
+ static types() {
1268
+ return {
1269
+ ecsType: 'string',
1270
+ securityGroupId: 'string',
1271
+ switchId: 'string',
1272
+ vpcId: 'string',
1273
+ };
1274
+ }
1275
+ }
1276
+ exports.TensorboardSpec = TensorboardSpec;
1178
1277
  class Workspace extends $tea.Model {
1179
1278
  constructor(map) {
1180
1279
  super(map);
@@ -1316,6 +1415,8 @@ class CreateTensorboardRequest extends $tea.Model {
1316
1415
  sourceType: 'SourceType',
1317
1416
  summaryPath: 'SummaryPath',
1318
1417
  summaryRelativePath: 'SummaryRelativePath',
1418
+ tensorboardDataSources: 'TensorboardDataSources',
1419
+ tensorboardSpec: 'TensorboardSpec',
1319
1420
  uri: 'Uri',
1320
1421
  workspaceId: 'WorkspaceId',
1321
1422
  };
@@ -1335,6 +1436,8 @@ class CreateTensorboardRequest extends $tea.Model {
1335
1436
  sourceType: 'string',
1336
1437
  summaryPath: 'string',
1337
1438
  summaryRelativePath: 'string',
1439
+ tensorboardDataSources: { 'type': 'array', 'itemType': TensorboardDataSourceSpec },
1440
+ tensorboardSpec: TensorboardSpec,
1338
1441
  uri: 'string',
1339
1442
  workspaceId: 'string',
1340
1443
  };
@@ -2411,6 +2514,7 @@ class ListTensorboardsRequest extends $tea.Model {
2411
2514
  order: 'Order',
2412
2515
  pageNumber: 'PageNumber',
2413
2516
  pageSize: 'PageSize',
2517
+ paymentType: 'PaymentType',
2414
2518
  showOwn: 'ShowOwn',
2415
2519
  sortBy: 'SortBy',
2416
2520
  sourceId: 'SourceId',
@@ -2430,6 +2534,7 @@ class ListTensorboardsRequest extends $tea.Model {
2430
2534
  order: 'string',
2431
2535
  pageNumber: 'number',
2432
2536
  pageSize: 'number',
2537
+ paymentType: 'string',
2433
2538
  showOwn: 'boolean',
2434
2539
  sortBy: 'string',
2435
2540
  sourceId: 'string',
@@ -3149,6 +3254,12 @@ class Client extends openapi_client_1.default {
3149
3254
  if (!tea_util_1.default.isUnset(request.summaryRelativePath)) {
3150
3255
  body["SummaryRelativePath"] = request.summaryRelativePath;
3151
3256
  }
3257
+ if (!tea_util_1.default.isUnset(request.tensorboardDataSources)) {
3258
+ body["TensorboardDataSources"] = request.tensorboardDataSources;
3259
+ }
3260
+ if (!tea_util_1.default.isUnset(request.tensorboardSpec)) {
3261
+ body["TensorboardSpec"] = request.tensorboardSpec;
3262
+ }
3152
3263
  if (!tea_util_1.default.isUnset(request.uri)) {
3153
3264
  body["Uri"] = request.uri;
3154
3265
  }
@@ -3752,6 +3863,9 @@ class Client extends openapi_client_1.default {
3752
3863
  if (!tea_util_1.default.isUnset(request.pageSize)) {
3753
3864
  query["PageSize"] = request.pageSize;
3754
3865
  }
3866
+ if (!tea_util_1.default.isUnset(request.paymentType)) {
3867
+ query["PaymentType"] = request.paymentType;
3868
+ }
3755
3869
  if (!tea_util_1.default.isUnset(request.showOwn)) {
3756
3870
  query["ShowOwn"] = request.showOwn;
3757
3871
  }