@alicloud/pai-dsw20220101 0.0.1 → 1.1.18

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/LICENSE ADDED
@@ -0,0 +1,13 @@
1
+ Copyright (c) 2009-present, Alibaba Cloud All rights reserved.
2
+
3
+ Licensed under the Apache License, Version 2.0 (the "License");
4
+ you may not use this file except in compliance with the License.
5
+ You may obtain a copy of the License at
6
+
7
+ http://www.apache.org/licenses/LICENSE-2.0
8
+
9
+ Unless required by applicable law or agreed to in writing, software
10
+ distributed under the License is distributed on an "AS IS" BASIS,
11
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ See the License for the specific language governing permissions and
13
+ limitations under the License.
package/README.md ADDED
@@ -0,0 +1,25 @@
1
+ English | [简体中文](README-CN.md)
2
+ ![](https://aliyunsdk-pages.alicdn.com/icons/AlibabaCloud.svg)
3
+
4
+ # Alibaba Cloud pai-dsw SDK for NodeJS
5
+
6
+ ## Installation
7
+ If you use `npm` to manage your dependence, you can use the following command:
8
+
9
+ ```sh
10
+ npm install @alicloud/pai-dsw20220101 -S
11
+ ```
12
+
13
+ ## Issues
14
+ [Opening an Issue](https://github.com/aliyun/alibabacloud-typescript-sdk/issues/new), Issues not conforming to the guidelines may be closed immediately.
15
+
16
+ ## Usage
17
+ [Usage Document](https://github.com/aliyun/alibabacloud-typescript-sdk/blob/master/docs/Usage-EN.md#quick-examples)
18
+
19
+ ## References
20
+ * [Latest Release](https://github.com/aliyun/alibabacloud-typescript-sdk/)
21
+
22
+ ## License
23
+ [Apache-2.0](http://www.apache.org/licenses/LICENSE-2.0)
24
+
25
+ Copyright (c) 2009-present, Alibaba Cloud All rights reserved.
package/dist/client.d.ts CHANGED
@@ -4,6 +4,21 @@
4
4
  import * as $Util from '@alicloud/tea-util';
5
5
  import OpenApi, * as $OpenApi from '@alicloud/openapi-client';
6
6
  import * as $tea from '@alicloud/tea-typescript';
7
+ export declare class DemoCategory extends $tea.Model {
8
+ categoryCode?: string;
9
+ categoryName?: string;
10
+ order?: number;
11
+ subCategories?: DemoCategory[];
12
+ static names(): {
13
+ [key: string]: string;
14
+ };
15
+ static types(): {
16
+ [key: string]: any;
17
+ };
18
+ constructor(map?: {
19
+ [key: string]: any;
20
+ });
21
+ }
7
22
  export declare class CreateInstanceRequest extends $tea.Model {
8
23
  accessibility?: string;
9
24
  datasets?: CreateInstanceRequestDatasets[];
@@ -14,6 +29,9 @@ export declare class CreateInstanceRequest extends $tea.Model {
14
29
  imageId?: string;
15
30
  imageUrl?: string;
16
31
  instanceName?: string;
32
+ priority?: number;
33
+ requestedResource?: CreateInstanceRequestRequestedResource;
34
+ resourceId?: string;
17
35
  userVpc?: CreateInstanceRequestUserVpc;
18
36
  workspaceId?: string;
19
37
  static names(): {
@@ -27,8 +45,12 @@ export declare class CreateInstanceRequest extends $tea.Model {
27
45
  });
28
46
  }
29
47
  export declare class CreateInstanceResponseBody extends $tea.Model {
48
+ code?: string;
49
+ httpStatusCode?: number;
30
50
  instanceId?: string;
51
+ message?: string;
31
52
  requestId?: string;
53
+ success?: boolean;
32
54
  static names(): {
33
55
  [key: string]: string;
34
56
  };
@@ -43,6 +65,7 @@ export declare class CreateInstanceResponse extends $tea.Model {
43
65
  headers: {
44
66
  [key: string]: string;
45
67
  };
68
+ statusCode: number;
46
69
  body: CreateInstanceResponseBody;
47
70
  static names(): {
48
71
  [key: string]: string;
@@ -68,8 +91,12 @@ export declare class CreateInstanceShutdownTimerRequest extends $tea.Model {
68
91
  });
69
92
  }
70
93
  export declare class CreateInstanceShutdownTimerResponseBody extends $tea.Model {
94
+ code?: string;
95
+ httpStatusCode?: number;
71
96
  instanceId?: string;
97
+ message?: string;
72
98
  requestId?: string;
99
+ success?: boolean;
73
100
  static names(): {
74
101
  [key: string]: string;
75
102
  };
@@ -84,6 +111,7 @@ export declare class CreateInstanceShutdownTimerResponse extends $tea.Model {
84
111
  headers: {
85
112
  [key: string]: string;
86
113
  };
114
+ statusCode: number;
87
115
  body: CreateInstanceShutdownTimerResponseBody;
88
116
  static names(): {
89
117
  [key: string]: string;
@@ -110,9 +138,13 @@ export declare class CreateInstanceSnapshotRequest extends $tea.Model {
110
138
  });
111
139
  }
112
140
  export declare class CreateInstanceSnapshotResponseBody extends $tea.Model {
141
+ code?: string;
142
+ httpStatusCode?: number;
113
143
  instanceId?: string;
144
+ message?: string;
114
145
  requestId?: string;
115
146
  snapshotId?: string;
147
+ success?: boolean;
116
148
  static names(): {
117
149
  [key: string]: string;
118
150
  };
@@ -127,6 +159,7 @@ export declare class CreateInstanceSnapshotResponse extends $tea.Model {
127
159
  headers: {
128
160
  [key: string]: string;
129
161
  };
162
+ statusCode: number;
130
163
  body: CreateInstanceSnapshotResponseBody;
131
164
  static names(): {
132
165
  [key: string]: string;
@@ -139,8 +172,12 @@ export declare class CreateInstanceSnapshotResponse extends $tea.Model {
139
172
  });
140
173
  }
141
174
  export declare class DeleteInstanceResponseBody extends $tea.Model {
175
+ code?: string;
176
+ httpStatusCode?: number;
142
177
  instanceId?: string;
178
+ message?: string;
143
179
  requestId?: string;
180
+ success?: boolean;
144
181
  static names(): {
145
182
  [key: string]: string;
146
183
  };
@@ -155,6 +192,7 @@ export declare class DeleteInstanceResponse extends $tea.Model {
155
192
  headers: {
156
193
  [key: string]: string;
157
194
  };
195
+ statusCode: number;
158
196
  body: DeleteInstanceResponseBody;
159
197
  static names(): {
160
198
  [key: string]: string;
@@ -167,8 +205,12 @@ export declare class DeleteInstanceResponse extends $tea.Model {
167
205
  });
168
206
  }
169
207
  export declare class DeleteInstanceShutdownTimerResponseBody extends $tea.Model {
208
+ code?: string;
209
+ httpStatusCode?: number;
170
210
  instanceId?: string;
211
+ message?: string;
171
212
  requestId?: string;
213
+ success?: boolean;
172
214
  static names(): {
173
215
  [key: string]: string;
174
216
  };
@@ -183,6 +225,7 @@ export declare class DeleteInstanceShutdownTimerResponse extends $tea.Model {
183
225
  headers: {
184
226
  [key: string]: string;
185
227
  };
228
+ statusCode: number;
186
229
  body: DeleteInstanceShutdownTimerResponseBody;
187
230
  static names(): {
188
231
  [key: string]: string;
@@ -195,9 +238,13 @@ export declare class DeleteInstanceShutdownTimerResponse extends $tea.Model {
195
238
  });
196
239
  }
197
240
  export declare class DeleteInstanceSnapshotResponseBody extends $tea.Model {
241
+ code?: string;
242
+ httpStatusCode?: number;
198
243
  instanceId?: string;
244
+ message?: string;
199
245
  requestId?: string;
200
246
  snapshotId?: string;
247
+ success?: boolean;
201
248
  static names(): {
202
249
  [key: string]: string;
203
250
  };
@@ -212,6 +259,7 @@ export declare class DeleteInstanceSnapshotResponse extends $tea.Model {
212
259
  headers: {
213
260
  [key: string]: string;
214
261
  };
262
+ statusCode: number;
215
263
  body: DeleteInstanceSnapshotResponseBody;
216
264
  static names(): {
217
265
  [key: string]: string;
@@ -227,6 +275,7 @@ export declare class GetInstanceResponseBody extends $tea.Model {
227
275
  acceleratorType?: string;
228
276
  accessibility?: string;
229
277
  accumulatedRunningTimeInMs?: number;
278
+ code?: string;
230
279
  datasets?: GetInstanceResponseBodyDatasets[];
231
280
  ecsSpec?: string;
232
281
  environmentVariables?: {
@@ -234,6 +283,7 @@ export declare class GetInstanceResponseBody extends $tea.Model {
234
283
  };
235
284
  gmtCreateTime?: string;
236
285
  gmtModifiedTime?: string;
286
+ httpStatusCode?: number;
237
287
  imageId?: string;
238
288
  imageName?: string;
239
289
  imageUrl?: string;
@@ -243,13 +293,20 @@ export declare class GetInstanceResponseBody extends $tea.Model {
243
293
  instanceUrl?: string;
244
294
  jupyterlabUrl?: string;
245
295
  latestSnapshot?: GetInstanceResponseBodyLatestSnapshot;
296
+ message?: string;
246
297
  paymentType?: string;
298
+ priority?: number;
247
299
  reasonCode?: string;
248
300
  reasonMessage?: string;
249
301
  requestId?: string;
302
+ requestedResource?: GetInstanceResponseBodyRequestedResource;
303
+ resourceId?: string;
304
+ resourceName?: string;
250
305
  status?: string;
306
+ success?: boolean;
251
307
  terminalUrl?: string;
252
308
  userId?: string;
309
+ userName?: string;
253
310
  userVpc?: GetInstanceResponseBodyUserVpc;
254
311
  webIDEUrl?: string;
255
312
  workspaceId?: string;
@@ -268,6 +325,7 @@ export declare class GetInstanceResponse extends $tea.Model {
268
325
  headers: {
269
326
  [key: string]: string;
270
327
  };
328
+ statusCode: number;
271
329
  body: GetInstanceResponseBody;
272
330
  static names(): {
273
331
  [key: string]: string;
@@ -280,12 +338,16 @@ export declare class GetInstanceResponse extends $tea.Model {
280
338
  });
281
339
  }
282
340
  export declare class GetInstanceShutdownTimerResponseBody extends $tea.Model {
341
+ code?: string;
283
342
  dueTime?: string;
284
343
  gmtCreateTime?: string;
285
344
  gmtModifiedTime?: string;
345
+ httpStatusCode?: number;
286
346
  instanceId?: string;
347
+ message?: string;
287
348
  remainingTimeInMs?: number;
288
349
  requestId?: string;
350
+ success?: boolean;
289
351
  static names(): {
290
352
  [key: string]: string;
291
353
  };
@@ -300,6 +362,7 @@ export declare class GetInstanceShutdownTimerResponse extends $tea.Model {
300
362
  headers: {
301
363
  [key: string]: string;
302
364
  };
365
+ statusCode: number;
303
366
  body: GetInstanceShutdownTimerResponseBody;
304
367
  static names(): {
305
368
  [key: string]: string;
@@ -312,17 +375,21 @@ export declare class GetInstanceShutdownTimerResponse extends $tea.Model {
312
375
  });
313
376
  }
314
377
  export declare class GetInstanceSnapshotResponseBody extends $tea.Model {
378
+ code?: string;
315
379
  gmtCreateTime?: string;
316
380
  gmtModifiedTime?: string;
381
+ httpStatusCode?: number;
317
382
  imageId?: string;
318
383
  imageUrl?: string;
319
384
  instanceId?: string;
385
+ message?: string;
320
386
  reasonCode?: string;
321
387
  reasonMessage?: string;
322
388
  requestId?: string;
323
389
  snapshotId?: string;
324
390
  snapshotName?: string;
325
391
  status?: string;
392
+ success?: boolean;
326
393
  static names(): {
327
394
  [key: string]: string;
328
395
  };
@@ -337,6 +404,7 @@ export declare class GetInstanceSnapshotResponse extends $tea.Model {
337
404
  headers: {
338
405
  [key: string]: string;
339
406
  };
407
+ statusCode: number;
340
408
  body: GetInstanceSnapshotResponseBody;
341
409
  static names(): {
342
410
  [key: string]: string;
@@ -350,7 +418,11 @@ export declare class GetInstanceSnapshotResponse extends $tea.Model {
350
418
  }
351
419
  export declare class GetUserConfigResponseBody extends $tea.Model {
352
420
  accountSufficient?: boolean;
421
+ code?: string;
422
+ httpStatusCode?: number;
423
+ message?: string;
353
424
  requestId?: string;
425
+ success?: boolean;
354
426
  static names(): {
355
427
  [key: string]: string;
356
428
  };
@@ -365,6 +437,7 @@ export declare class GetUserConfigResponse extends $tea.Model {
365
437
  headers: {
366
438
  [key: string]: string;
367
439
  };
440
+ statusCode: number;
368
441
  body: GetUserConfigResponseBody;
369
442
  static names(): {
370
443
  [key: string]: string;
@@ -376,6 +449,80 @@ export declare class GetUserConfigResponse extends $tea.Model {
376
449
  [key: string]: any;
377
450
  });
378
451
  }
452
+ export declare class ListDemoCategoriesResponseBody extends $tea.Model {
453
+ categories?: DemoCategory[];
454
+ requestId?: string;
455
+ static names(): {
456
+ [key: string]: string;
457
+ };
458
+ static types(): {
459
+ [key: string]: any;
460
+ };
461
+ constructor(map?: {
462
+ [key: string]: any;
463
+ });
464
+ }
465
+ export declare class ListDemoCategoriesResponse extends $tea.Model {
466
+ headers: {
467
+ [key: string]: string;
468
+ };
469
+ statusCode: number;
470
+ body: ListDemoCategoriesResponseBody;
471
+ static names(): {
472
+ [key: string]: string;
473
+ };
474
+ static types(): {
475
+ [key: string]: any;
476
+ };
477
+ constructor(map?: {
478
+ [key: string]: any;
479
+ });
480
+ }
481
+ export declare class ListDemosRequest extends $tea.Model {
482
+ category?: string;
483
+ demoName?: string;
484
+ pageNumber?: number;
485
+ pageSize?: number;
486
+ static names(): {
487
+ [key: string]: string;
488
+ };
489
+ static types(): {
490
+ [key: string]: any;
491
+ };
492
+ constructor(map?: {
493
+ [key: string]: any;
494
+ });
495
+ }
496
+ export declare class ListDemosResponseBody extends $tea.Model {
497
+ demos?: ListDemosResponseBodyDemos[];
498
+ requestId?: string;
499
+ totalCount?: number;
500
+ static names(): {
501
+ [key: string]: string;
502
+ };
503
+ static types(): {
504
+ [key: string]: any;
505
+ };
506
+ constructor(map?: {
507
+ [key: string]: any;
508
+ });
509
+ }
510
+ export declare class ListDemosResponse extends $tea.Model {
511
+ headers: {
512
+ [key: string]: string;
513
+ };
514
+ statusCode: number;
515
+ body: ListDemosResponseBody;
516
+ static names(): {
517
+ [key: string]: string;
518
+ };
519
+ static types(): {
520
+ [key: string]: any;
521
+ };
522
+ constructor(map?: {
523
+ [key: string]: any;
524
+ });
525
+ }
379
526
  export declare class ListEcsSpecsRequest extends $tea.Model {
380
527
  acceleratorType?: string;
381
528
  order?: string;
@@ -393,8 +540,12 @@ export declare class ListEcsSpecsRequest extends $tea.Model {
393
540
  });
394
541
  }
395
542
  export declare class ListEcsSpecsResponseBody extends $tea.Model {
543
+ code?: string;
396
544
  ecsSpecs?: ListEcsSpecsResponseBodyEcsSpecs[];
545
+ httpStatusCode?: number;
546
+ message?: string;
397
547
  requestId?: string;
548
+ success?: boolean;
398
549
  totalCount?: number;
399
550
  static names(): {
400
551
  [key: string]: string;
@@ -410,6 +561,7 @@ export declare class ListEcsSpecsResponse extends $tea.Model {
410
561
  headers: {
411
562
  [key: string]: string;
412
563
  };
564
+ statusCode: number;
413
565
  body: ListEcsSpecsResponseBody;
414
566
  static names(): {
415
567
  [key: string]: string;
@@ -437,8 +589,12 @@ export declare class ListInstanceSnapshotRequest extends $tea.Model {
437
589
  });
438
590
  }
439
591
  export declare class ListInstanceSnapshotResponseBody extends $tea.Model {
592
+ code?: string;
593
+ httpStatusCode?: number;
594
+ message?: string;
440
595
  requestId?: string;
441
596
  snapshots?: ListInstanceSnapshotResponseBodySnapshots[];
597
+ success?: boolean;
442
598
  totalCount?: number;
443
599
  static names(): {
444
600
  [key: string]: string;
@@ -454,6 +610,7 @@ export declare class ListInstanceSnapshotResponse extends $tea.Model {
454
610
  headers: {
455
611
  [key: string]: string;
456
612
  };
613
+ statusCode: number;
457
614
  body: ListInstanceSnapshotResponseBody;
458
615
  static names(): {
459
616
  [key: string]: string;
@@ -478,12 +635,16 @@ export declare class ListInstanceStatisticsRequest extends $tea.Model {
478
635
  });
479
636
  }
480
637
  export declare class ListInstanceStatisticsResponseBody extends $tea.Model {
638
+ code?: string;
639
+ httpStatusCode?: number;
640
+ message?: string;
481
641
  requestId?: string;
482
642
  statistics?: {
483
643
  [key: string]: {
484
644
  [key: string]: any;
485
645
  };
486
646
  };
647
+ success?: boolean;
487
648
  static names(): {
488
649
  [key: string]: string;
489
650
  };
@@ -498,6 +659,7 @@ export declare class ListInstanceStatisticsResponse extends $tea.Model {
498
659
  headers: {
499
660
  [key: string]: string;
500
661
  };
662
+ statusCode: number;
501
663
  body: ListInstanceStatisticsResponseBody;
502
664
  static names(): {
503
665
  [key: string]: string;
@@ -510,10 +672,14 @@ export declare class ListInstanceStatisticsResponse extends $tea.Model {
510
672
  });
511
673
  }
512
674
  export declare class ListInstancesRequest extends $tea.Model {
675
+ acceleratorType?: string;
676
+ accessibility?: string;
513
677
  instanceName?: string;
514
678
  order?: string;
515
679
  pageNumber?: number;
516
680
  pageSize?: number;
681
+ paymentType?: string;
682
+ resourceId?: string;
517
683
  sortBy?: string;
518
684
  status?: string;
519
685
  workspaceId?: string;
@@ -528,8 +694,12 @@ export declare class ListInstancesRequest extends $tea.Model {
528
694
  });
529
695
  }
530
696
  export declare class ListInstancesResponseBody extends $tea.Model {
697
+ code?: string;
698
+ httpStatusCode?: number;
531
699
  instances?: ListInstancesResponseBodyInstances[];
700
+ message?: string;
532
701
  requestId?: string;
702
+ success?: boolean;
533
703
  totalCount?: number;
534
704
  static names(): {
535
705
  [key: string]: string;
@@ -545,6 +715,7 @@ export declare class ListInstancesResponse extends $tea.Model {
545
715
  headers: {
546
716
  [key: string]: string;
547
717
  };
718
+ statusCode: number;
548
719
  body: ListInstancesResponseBody;
549
720
  static names(): {
550
721
  [key: string]: string;
@@ -557,8 +728,12 @@ export declare class ListInstancesResponse extends $tea.Model {
557
728
  });
558
729
  }
559
730
  export declare class StartInstanceResponseBody extends $tea.Model {
731
+ code?: string;
732
+ httpStatusCode?: number;
560
733
  instanceId?: string;
734
+ message?: string;
561
735
  requestId?: string;
736
+ success?: boolean;
562
737
  static names(): {
563
738
  [key: string]: string;
564
739
  };
@@ -573,6 +748,7 @@ export declare class StartInstanceResponse extends $tea.Model {
573
748
  headers: {
574
749
  [key: string]: string;
575
750
  };
751
+ statusCode: number;
576
752
  body: StartInstanceResponseBody;
577
753
  static names(): {
578
754
  [key: string]: string;
@@ -597,8 +773,12 @@ export declare class StopInstanceRequest extends $tea.Model {
597
773
  });
598
774
  }
599
775
  export declare class StopInstanceResponseBody extends $tea.Model {
776
+ code?: string;
777
+ httpStatusCode?: number;
600
778
  instanceId?: string;
779
+ message?: string;
601
780
  requestId?: string;
781
+ success?: boolean;
602
782
  static names(): {
603
783
  [key: string]: string;
604
784
  };
@@ -613,6 +793,7 @@ export declare class StopInstanceResponse extends $tea.Model {
613
793
  headers: {
614
794
  [key: string]: string;
615
795
  };
796
+ statusCode: number;
616
797
  body: StopInstanceResponseBody;
617
798
  static names(): {
618
799
  [key: string]: string;
@@ -637,8 +818,12 @@ export declare class UpdateInstanceRequest extends $tea.Model {
637
818
  });
638
819
  }
639
820
  export declare class UpdateInstanceResponseBody extends $tea.Model {
821
+ code?: string;
822
+ httpStatusCode?: number;
640
823
  instanceId?: string;
824
+ message?: string;
641
825
  requestId?: string;
826
+ success?: boolean;
642
827
  static names(): {
643
828
  [key: string]: string;
644
829
  };
@@ -653,6 +838,7 @@ export declare class UpdateInstanceResponse extends $tea.Model {
653
838
  headers: {
654
839
  [key: string]: string;
655
840
  };
841
+ statusCode: number;
656
842
  body: UpdateInstanceResponseBody;
657
843
  static names(): {
658
844
  [key: string]: string;
@@ -677,6 +863,22 @@ export declare class CreateInstanceRequestDatasets extends $tea.Model {
677
863
  [key: string]: any;
678
864
  });
679
865
  }
866
+ export declare class CreateInstanceRequestRequestedResource extends $tea.Model {
867
+ CPU?: string;
868
+ GPU?: string;
869
+ GPUType?: string;
870
+ memory?: string;
871
+ sharedMemory?: string;
872
+ static names(): {
873
+ [key: string]: string;
874
+ };
875
+ static types(): {
876
+ [key: string]: any;
877
+ };
878
+ constructor(map?: {
879
+ [key: string]: any;
880
+ });
881
+ }
680
882
  export declare class CreateInstanceRequestUserVpc extends $tea.Model {
681
883
  securityGroupId?: string;
682
884
  vSwitchId?: string;
@@ -737,6 +939,22 @@ export declare class GetInstanceResponseBodyLatestSnapshot extends $tea.Model {
737
939
  [key: string]: any;
738
940
  });
739
941
  }
942
+ export declare class GetInstanceResponseBodyRequestedResource extends $tea.Model {
943
+ CPU?: string;
944
+ GPU?: string;
945
+ GPUType?: string;
946
+ memory?: string;
947
+ sharedMemory?: string;
948
+ static names(): {
949
+ [key: string]: string;
950
+ };
951
+ static types(): {
952
+ [key: string]: any;
953
+ };
954
+ constructor(map?: {
955
+ [key: string]: any;
956
+ });
957
+ }
740
958
  export declare class GetInstanceResponseBodyUserVpc extends $tea.Model {
741
959
  securityGroupId?: string;
742
960
  vSwitchId?: string;
@@ -751,6 +969,23 @@ export declare class GetInstanceResponseBodyUserVpc extends $tea.Model {
751
969
  [key: string]: any;
752
970
  });
753
971
  }
972
+ export declare class ListDemosResponseBodyDemos extends $tea.Model {
973
+ categories?: string[];
974
+ demoDescription?: string;
975
+ demoName?: string;
976
+ demoUrl?: string;
977
+ order?: number;
978
+ size?: number;
979
+ static names(): {
980
+ [key: string]: string;
981
+ };
982
+ static types(): {
983
+ [key: string]: any;
984
+ };
985
+ constructor(map?: {
986
+ [key: string]: any;
987
+ });
988
+ }
754
989
  export declare class ListEcsSpecsResponseBodyEcsSpecs extends $tea.Model {
755
990
  acceleratorType?: string;
756
991
  CPU?: number;
@@ -839,6 +1074,22 @@ export declare class ListInstancesResponseBodyInstancesLatestSnapshot extends $t
839
1074
  [key: string]: any;
840
1075
  });
841
1076
  }
1077
+ export declare class ListInstancesResponseBodyInstancesRequestedResource extends $tea.Model {
1078
+ CPU?: string;
1079
+ GPU?: string;
1080
+ GPUType?: string;
1081
+ memory?: string;
1082
+ sharedMemory?: string;
1083
+ static names(): {
1084
+ [key: string]: string;
1085
+ };
1086
+ static types(): {
1087
+ [key: string]: any;
1088
+ };
1089
+ constructor(map?: {
1090
+ [key: string]: any;
1091
+ });
1092
+ }
842
1093
  export declare class ListInstancesResponseBodyInstancesUserVpc extends $tea.Model {
843
1094
  securityGroupId?: string;
844
1095
  vSwitchId?: string;
@@ -874,11 +1125,16 @@ export declare class ListInstancesResponseBodyInstances extends $tea.Model {
874
1125
  jupyterlabUrl?: string;
875
1126
  latestSnapshot?: ListInstancesResponseBodyInstancesLatestSnapshot;
876
1127
  paymentType?: string;
1128
+ priority?: number;
877
1129
  reasonCode?: string;
878
1130
  reasonMessage?: string;
1131
+ requestedResource?: ListInstancesResponseBodyInstancesRequestedResource;
1132
+ resourceId?: string;
1133
+ resourceName?: string;
879
1134
  status?: string;
880
1135
  terminalUrl?: string;
881
1136
  userId?: string;
1137
+ userName?: string;
882
1138
  userVpc?: ListInstancesResponseBodyInstancesUserVpc;
883
1139
  webIDEUrl?: string;
884
1140
  workspaceId?: string;
@@ -938,6 +1194,14 @@ export default class Client extends OpenApi {
938
1194
  getUserConfigWithOptions(headers: {
939
1195
  [key: string]: string;
940
1196
  }, runtime: $Util.RuntimeOptions): Promise<GetUserConfigResponse>;
1197
+ listDemoCategories(): Promise<ListDemoCategoriesResponse>;
1198
+ listDemoCategoriesWithOptions(headers: {
1199
+ [key: string]: string;
1200
+ }, runtime: $Util.RuntimeOptions): Promise<ListDemoCategoriesResponse>;
1201
+ listDemos(request: ListDemosRequest): Promise<ListDemosResponse>;
1202
+ listDemosWithOptions(request: ListDemosRequest, headers: {
1203
+ [key: string]: string;
1204
+ }, runtime: $Util.RuntimeOptions): Promise<ListDemosResponse>;
941
1205
  listEcsSpecs(request: ListEcsSpecsRequest): Promise<ListEcsSpecsResponse>;
942
1206
  listEcsSpecsWithOptions(request: ListEcsSpecsRequest, headers: {
943
1207
  [key: string]: string;