@alicloud/pai-dsw20220101 1.4.9 → 1.4.11

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
@@ -172,6 +172,16 @@ export declare class ForwardInfoResponseConnectInfo extends $dara.Model {
172
172
  });
173
173
  }
174
174
  export declare class CreateInstanceRequestAffinityCPU extends $dara.Model {
175
+ /**
176
+ * @remarks
177
+ * Specifies whether to enable the CPU affinity feature.
178
+ *
179
+ * * false
180
+ * * true
181
+ *
182
+ * @example
183
+ * true
184
+ */
175
185
  enable?: boolean;
176
186
  static names(): {
177
187
  [key: string]: string;
@@ -185,6 +195,10 @@ export declare class CreateInstanceRequestAffinityCPU extends $dara.Model {
185
195
  });
186
196
  }
187
197
  export declare class CreateInstanceRequestAffinity extends $dara.Model {
198
+ /**
199
+ * @remarks
200
+ * The CPU affinity configuration. Only subscription instances that use general-purpose computing resources support CPU affinity configuration.
201
+ */
188
202
  CPU?: CreateInstanceRequestAffinityCPU;
189
203
  static names(): {
190
204
  [key: string]: string;
@@ -198,8 +212,29 @@ export declare class CreateInstanceRequestAffinity extends $dara.Model {
198
212
  });
199
213
  }
200
214
  export declare class CreateInstanceRequestCloudDisksStatus extends $dara.Model {
215
+ /**
216
+ * @remarks
217
+ * The available capacity. Unit: bytes.
218
+ *
219
+ * @example
220
+ * 31841058816
221
+ */
201
222
  available?: number;
223
+ /**
224
+ * @remarks
225
+ * The capacity. Unit: bytes.
226
+ *
227
+ * @example
228
+ * 32212254720
229
+ */
202
230
  capacity?: number;
231
+ /**
232
+ * @remarks
233
+ * The used capacity. Unit: bytes.
234
+ *
235
+ * @example
236
+ * 371195904
237
+ */
203
238
  usage?: number;
204
239
  static names(): {
205
240
  [key: string]: string;
@@ -214,22 +249,54 @@ export declare class CreateInstanceRequestCloudDisksStatus extends $dara.Model {
214
249
  }
215
250
  export declare class CreateInstanceRequestCloudDisks extends $dara.Model {
216
251
  /**
252
+ * @remarks
253
+ * If **Resource Type** is **Public Resource** or if **Resource Quota** is subscription-based general-purpose computing resources (CPU cores ≥ 2 and memory ≥ 4 GB, or configured with GPU):
254
+ *
255
+ * Each instance has a free system disk of 100 GiB for persistent storage. **If the DSW instance is stopped and not launched for more than 15 days, the disk is cleared**. The disk can be expanded. For specific pricing, refer to the console.
256
+ *
257
+ * **
258
+ *
259
+ * **Warning**
260
+ *
261
+ * * After the expansion, you cannot reduce the storage space. Proceed with caution.
262
+ *
263
+ * * After the expansion, the disk is not cleared if the instance is stopped for more than 15 days. However, it will continue to incur fees.
264
+ *
265
+ * * If you delete the instance, the system disk is also released and the data stored in the disk is deleted. Make sure that you have backed up your data before you delete the instance.
266
+ *
267
+ * If you need persistent storage, you can **mount a dataset** or add the OSS, NAS, or CPFS path to the **storage path**.
268
+ *
217
269
  * @example
218
- * 30Gi
270
+ * 100Gi
219
271
  */
220
272
  capacity?: string;
221
273
  /**
274
+ * @remarks
275
+ * The mount path of the cloud disk.
276
+ *
222
277
  * @example
223
- * /mmt/workspace
278
+ * /mnt/systemDisk
224
279
  */
225
280
  mountPath?: string;
226
281
  /**
282
+ * @remarks
283
+ * The subpath of the cloud disk that is mounted to the instance.
284
+ *
227
285
  * @example
228
286
  * workspace
229
287
  */
230
288
  path?: string;
289
+ /**
290
+ * @remarks
291
+ * The disk or snapshot usage.
292
+ */
231
293
  status?: CreateInstanceRequestCloudDisksStatus;
232
294
  /**
295
+ * @remarks
296
+ * The cloud disk type.
297
+ *
298
+ * * rootfs: Mounts the disk as a system disk. The system environment is stored on the disk.
299
+ *
233
300
  * @example
234
301
  * rootfs
235
302
  */
@@ -247,25 +314,88 @@ export declare class CreateInstanceRequestCloudDisks extends $dara.Model {
247
314
  }
248
315
  export declare class CreateInstanceRequestDatasets extends $dara.Model {
249
316
  /**
317
+ * @remarks
318
+ * The dataset ID. If the dataset is read-only, you cannot change the dataset permission from read-only to read and write by using MountAccess.
319
+ *
320
+ * You can call [ListDatasets](https://help.aliyun.com/document_detail/457222.html) to obtain the dataset ID. If you configure the dataset ID, you cannot configure the dataset URI.
321
+ *
250
322
  * @example
251
323
  * d-vsqjvsjp4orp5l206u
252
324
  */
253
325
  datasetId?: string;
326
+ /**
327
+ * @remarks
328
+ * The dataset version. You must also configure DatasetId. If you leave this parameter empty, the value v1 is used by default.
329
+ *
330
+ * @example
331
+ * v1
332
+ */
254
333
  datasetVersion?: string;
334
+ /**
335
+ * @remarks
336
+ * Specifies whether to enable dynamic mounting. Default value: false.
337
+ *
338
+ * * Currently, only instances using general-purpose computing resources are supported.
339
+ * * Currently, only OSS datasets are supported. The mounted datasets are read-only.
340
+ * * The mount path of the dynamically mounted dataset must be a subpath of the root path. Example: /mnt/dynamic/data1/
341
+ * * A dynamically mounted dataset must be after non-dynamic datasets.
342
+ *
343
+ * @example
344
+ * true
345
+ */
346
+ dynamic?: boolean;
347
+ /**
348
+ * @remarks
349
+ * The read and write permissions of the dataset. If the dataset is read-only, it cannot be changed to read and write.
350
+ *
351
+ * @example
352
+ * RW
353
+ */
255
354
  mountAccess?: string;
256
355
  /**
356
+ * @remarks
357
+ * The mount path of the dataset.
358
+ *
257
359
  * @example
258
360
  * /mnt/data
259
361
  */
260
362
  mountPath?: string;
261
363
  /**
364
+ * @remarks
365
+ * The mount type. You cannot specify Options at the same time. This is deprecated, and you can use Options instead.
366
+ *
367
+ * @example
368
+ * ReadOnly
369
+ *
262
370
  * @deprecated
263
371
  */
264
372
  optionType?: string;
373
+ /**
374
+ * @remarks
375
+ * The custom dataset mount options. Only OSS is supported. You cannot specify OptionType at the same time. For more information, see [DSW mount configurations](https://help.aliyun.com/zh/pai/user-guide/read-and-write-dataset-data).
376
+ *
377
+ * @example
378
+ * {
379
+ * "fs.oss.download.thread.concurrency": "10",
380
+ * "fs.oss.upload.thread.concurrency": "10",
381
+ * "fs.jindo.args": "-oattr_timeout=3 -oentry_timeout=0 -onegative_timeout=0 -oauto_cache -ono_symlink"
382
+ * }
383
+ */
265
384
  options?: string;
266
385
  /**
386
+ * @remarks
387
+ * The URI of the storage service directory, which can be directly mounted. This parameter is mutually exclusive with DatasetId.
388
+ *
389
+ * URI formats of different types of storage:
390
+ *
391
+ * * OSS: oss://bucket-name.oss-cn-shanghai-internal.aliyuncs.com/data/path/
392
+ * * NAS: nas://29\\*\\*d-b12\\*\\*\\*\\*446.cn-hangzhou.nas.aliyuncs.com/data/path/
393
+ * * Extreme NAS: nas://29\\*\\*\\*\\*123-y\\*\\*r.cn-hangzhou.extreme.nas.aliyuncs.com/data/path/
394
+ * * CPFS: cpfs://cpfs-213\\*\\*\\*\\*87.cn-wulanchabu/ptc-292\\*\\*\\*\\*\\*cbb/exp-290\\*\\*\\*\\*\\*\\*\\*\\*03e/data/path/
395
+ * * Lingjun CPFS: bmcpfs://cpfs-290\\*\\*\\*\\*\\*\\*foflh-vpc-x\\*\\*\\*\\*8r.cn-wulanchabu.cpfs.aliyuncs.com/data/path/
396
+ *
267
397
  * @example
268
- * oss://bucket.oss-cn-shanghai.aliyuncs.com/data/path/
398
+ * oss://bucket-name.oss-cn-shanghai-internal.aliyuncs.com/data/path/
269
399
  */
270
400
  uri?: string;
271
401
  static names(): {
@@ -281,11 +411,17 @@ export declare class CreateInstanceRequestDatasets extends $dara.Model {
281
411
  }
282
412
  export declare class CreateInstanceRequestLabels extends $dara.Model {
283
413
  /**
414
+ * @remarks
415
+ * The custom label key.
416
+ *
284
417
  * @example
285
418
  * stsTokenOwner
286
419
  */
287
420
  key?: string;
288
421
  /**
422
+ * @remarks
423
+ * The custom label value.
424
+ *
289
425
  * @example
290
426
  * 123xxxxxxxx
291
427
  */
@@ -303,26 +439,47 @@ export declare class CreateInstanceRequestLabels extends $dara.Model {
303
439
  }
304
440
  export declare class CreateInstanceRequestRequestedResource extends $dara.Model {
305
441
  /**
442
+ * @remarks
443
+ * The number of CPU cores.
444
+ *
306
445
  * @example
307
446
  * 32
308
447
  */
309
448
  CPU?: string;
310
449
  /**
450
+ * @remarks
451
+ * The number of GPUs.
452
+ *
311
453
  * @example
312
454
  * 4
313
455
  */
314
456
  GPU?: string;
315
457
  /**
458
+ * @remarks
459
+ * The GPU memory type. Valid values:
460
+ *
461
+ * * V100
462
+ * * A100
463
+ * * T4
464
+ * * A10
465
+ * * P100
466
+ *
316
467
  * @example
317
468
  * v100
318
469
  */
319
470
  GPUType?: string;
320
471
  /**
472
+ * @remarks
473
+ * The memory size. Unit: GB.
474
+ *
321
475
  * @example
322
476
  * 32
323
477
  */
324
478
  memory?: string;
325
479
  /**
480
+ * @remarks
481
+ * The size of the shared memory. Unit: GB.
482
+ *
326
483
  * @example
327
484
  * 32
328
485
  */
@@ -339,7 +496,21 @@ export declare class CreateInstanceRequestRequestedResource extends $dara.Model
339
496
  });
340
497
  }
341
498
  export declare class CreateInstanceRequestTag extends $dara.Model {
499
+ /**
500
+ * @remarks
501
+ * The tag key.
502
+ *
503
+ * @example
504
+ * tag1
505
+ */
342
506
  key?: string;
507
+ /**
508
+ * @remarks
509
+ * The tag value.
510
+ *
511
+ * @example
512
+ * value1
513
+ */
343
514
  value?: string;
344
515
  static names(): {
345
516
  [key: string]: string;
@@ -353,28 +524,54 @@ export declare class CreateInstanceRequestTag extends $dara.Model {
353
524
  });
354
525
  }
355
526
  export declare class CreateInstanceRequestUserVpc extends $dara.Model {
527
+ bandwidthLimit?: BandwidthLimit;
356
528
  /**
529
+ * @remarks
530
+ * The default route. Valid values:
531
+ *
532
+ * * eth0: The default network interface is used to access the Internet through the public gateway.
533
+ * * eth1: The user\\"s elastic network interface (ENI) is used to access the Internet through the private gateway. For more information about the configuration method, see [Enable Internet access for a DSW instance by using a private Internet NAT gateway](https://help.aliyun.com/document_detail/2525343.html).
534
+ *
357
535
  * @example
358
- * eth0 | eth1
536
+ * eth0
359
537
  */
360
538
  defaultRoute?: string;
361
539
  /**
540
+ * @remarks
541
+ * The extended CIDR blocks.
542
+ *
543
+ * * If you leave the SwitchId and ExtendedCIDRs parameters empty, the system automatically obtains all CIDR blocks in a VPC.
544
+ * * If you configure the SwitchId and ExtendedCIDRs parameters, we recommend that you specify all CIDR blocks in a VPC.
545
+ *
362
546
  * @example
363
547
  * ["192.168.0.1/24", "192.168.1.1/24"]
364
548
  */
365
549
  extendedCIDRs?: string[];
550
+ /**
551
+ * @remarks
552
+ * The forward information.
553
+ */
366
554
  forwardInfos?: ForwardInfo[];
367
555
  /**
556
+ * @remarks
557
+ * The security group ID.
558
+ *
368
559
  * @example
369
560
  * sg-xxxxxx
370
561
  */
371
562
  securityGroupId?: string;
372
563
  /**
564
+ * @remarks
565
+ * The vSwitch ID.
566
+ *
373
567
  * @example
374
568
  * vsw-xxxxx
375
569
  */
376
570
  vSwitchId?: string;
377
571
  /**
572
+ * @remarks
573
+ * The VPC ID.
574
+ *
378
575
  * @example
379
576
  * vpc-xxxxx
380
577
  */
@@ -413,6 +610,15 @@ export declare class CreateInstanceSnapshotRequestLabels extends $dara.Model {
413
610
  });
414
611
  }
415
612
  export declare class GetInstanceResponseBodyAffinityCPU extends $dara.Model {
613
+ /**
614
+ * @remarks
615
+ * Indicates whether CPU affinity is enabled.
616
+ *
617
+ * true false
618
+ *
619
+ * @example
620
+ * true
621
+ */
416
622
  enable?: boolean;
417
623
  static names(): {
418
624
  [key: string]: string;
@@ -426,6 +632,10 @@ export declare class GetInstanceResponseBodyAffinityCPU extends $dara.Model {
426
632
  });
427
633
  }
428
634
  export declare class GetInstanceResponseBodyAffinity extends $dara.Model {
635
+ /**
636
+ * @remarks
637
+ * The CPU affinity configuration. Only subscription instances that use general-purpose computing resources support CPU affinity configuration.
638
+ */
429
639
  CPU?: GetInstanceResponseBodyAffinityCPU;
430
640
  static names(): {
431
641
  [key: string]: string;
@@ -440,21 +650,33 @@ export declare class GetInstanceResponseBodyAffinity extends $dara.Model {
440
650
  }
441
651
  export declare class GetInstanceResponseBodyCloudDisks extends $dara.Model {
442
652
  /**
653
+ * @remarks
654
+ * Disk Capacity
655
+ *
443
656
  * @example
444
657
  * 30Gi
445
658
  */
446
659
  capacity?: string;
447
660
  /**
661
+ * @remarks
662
+ * The mount path of the cloud disk in the container.
663
+ *
448
664
  * @example
449
665
  * /mmt/workspace
450
666
  */
451
667
  mountPath?: string;
452
668
  /**
669
+ * @remarks
670
+ * The directory on the cloud disk that is mounted to the container.
671
+ *
453
672
  * @example
454
673
  * /workspace
455
674
  */
456
675
  path?: string;
457
676
  /**
677
+ * @remarks
678
+ * The usage mode of the cloud disk. The value rootfs indicates that the cloud disk is used as the root file system.
679
+ *
458
680
  * @example
459
681
  * rootfs
460
682
  */
@@ -472,22 +694,71 @@ export declare class GetInstanceResponseBodyCloudDisks extends $dara.Model {
472
694
  }
473
695
  export declare class GetInstanceResponseBodyDatasets extends $dara.Model {
474
696
  /**
697
+ * @remarks
698
+ * The dataset ID.
699
+ *
475
700
  * @example
476
701
  * d-vsqjvsjp4orp5l206u
477
702
  */
478
703
  datasetId?: string;
704
+ /**
705
+ * @remarks
706
+ * The dataset version.
707
+ *
708
+ * @example
709
+ * v1
710
+ */
479
711
  datasetVersion?: string;
712
+ /**
713
+ * @remarks
714
+ * Indicates whether dynamic mounting is enabled. Default value: false.
715
+ *
716
+ * @example
717
+ * false
718
+ */
719
+ dynamic?: boolean;
720
+ /**
721
+ * @remarks
722
+ * The read and write permissions. Valid values: RW and RO.
723
+ *
724
+ * @example
725
+ * RW
726
+ */
480
727
  mountAccess?: string;
481
728
  /**
729
+ * @remarks
730
+ * The mount path in the container.
731
+ *
482
732
  * @example
483
733
  * /mnt/data
484
734
  */
485
735
  mountPath?: string;
736
+ /**
737
+ * @remarks
738
+ * The mount type of the dataset (deprecated).
739
+ *
740
+ * @example
741
+ * FastReadWrite
742
+ */
486
743
  optionType?: string;
744
+ /**
745
+ * @remarks
746
+ * The mount type of the dataset.
747
+ *
748
+ * @example
749
+ * {
750
+ * "fs.oss.download.thread.concurrency": "10",
751
+ * "fs.oss.upload.thread.concurrency": "10",
752
+ * "fs.jindo.args": "-oattr_timeout=3 -oentry_timeout=0 -onegative_timeout=0 -oauto_cache -ono_symlink"
753
+ * }
754
+ */
487
755
  options?: string;
488
756
  /**
757
+ * @remarks
758
+ * The dataset URI.
759
+ *
489
760
  * @example
490
- * oss://bucket.oss-cn-shanghai.aliyuncs.com/data/path/
761
+ * oss://bucket-name.oss-cn-shanghai-internal.aliyuncs.com/data/path/
491
762
  */
492
763
  uri?: string;
493
764
  static names(): {
@@ -503,26 +774,41 @@ export declare class GetInstanceResponseBodyDatasets extends $dara.Model {
503
774
  }
504
775
  export declare class GetInstanceResponseBodyIdleInstanceCuller extends $dara.Model {
505
776
  /**
777
+ * @remarks
778
+ * The CPU utilization threshold. Unit: percentage. Valid values: 1 to 100. If the CPU utilization of the instance is lower than this threshold, the instance is considered idle.
779
+ *
506
780
  * @example
507
781
  * 20
508
782
  */
509
783
  cpuPercentThreshold?: number;
510
784
  /**
785
+ * @remarks
786
+ * The GPU utilization threshold. Unit: percentage. Valid values: 1 to 100. This parameter takes effect only if the instance is of the GPU instance type. If both CPU and GPU utilization is lower than the thresholds, the instance is considered idle.
787
+ *
511
788
  * @example
512
789
  * 10
513
790
  */
514
791
  gpuPercentThreshold?: number;
515
792
  /**
793
+ * @remarks
794
+ * The current time duration for which the instance is idle. Unit: minutes.
795
+ *
516
796
  * @example
517
797
  * 30
518
798
  */
519
799
  idleTimeInMinutes?: number;
520
800
  /**
801
+ * @remarks
802
+ * The instance ID.
803
+ *
521
804
  * @example
522
805
  * dsw-730xxxxxxxxxx
523
806
  */
524
807
  instanceId?: string;
525
808
  /**
809
+ * @remarks
810
+ * The maximum time duration for which the instance is idle. Unit: minutes. If the time duration for which the instance is idle exceeds this value, the system automatically stops the instance.
811
+ *
526
812
  * @example
527
813
  * 60
528
814
  */
@@ -540,26 +826,41 @@ export declare class GetInstanceResponseBodyIdleInstanceCuller extends $dara.Mod
540
826
  }
541
827
  export declare class GetInstanceResponseBodyInstanceShutdownTimer extends $dara.Model {
542
828
  /**
829
+ * @remarks
830
+ * The scheduled stop time.
831
+ *
543
832
  * @example
544
833
  * 2021-01-12T14:36:01Z
545
834
  */
546
835
  dueTime?: string;
547
836
  /**
837
+ * @remarks
838
+ * The creation time.
839
+ *
548
840
  * @example
549
841
  * 2021-01-12T14:36:01Z
550
842
  */
551
843
  gmtCreateTime?: string;
552
844
  /**
845
+ * @remarks
846
+ * The modified time.
847
+ *
553
848
  * @example
554
849
  * 2021-01-12T14:36:01Z
555
850
  */
556
851
  gmtModifiedTime?: string;
557
852
  /**
853
+ * @remarks
854
+ * The instance ID.
855
+ *
558
856
  * @example
559
857
  * dsw-730xxxxxxxxxx
560
858
  */
561
859
  instanceId?: string;
562
860
  /**
861
+ * @remarks
862
+ * The remaining time before the instance is stopped. Unit: milliseconds.
863
+ *
563
864
  * @example
564
865
  * 3600000
565
866
  */
@@ -578,7 +879,7 @@ export declare class GetInstanceResponseBodyInstanceShutdownTimer extends $dara.
578
879
  export declare class GetInstanceResponseBodyInstanceSnapshotList extends $dara.Model {
579
880
  /**
580
881
  * @remarks
581
- * 快照创建时间
882
+ * The time when the snapshot was created.
582
883
  *
583
884
  * @example
584
885
  * 2021-01-12T14:36:01Z
@@ -586,7 +887,7 @@ export declare class GetInstanceResponseBodyInstanceSnapshotList extends $dara.M
586
887
  gmtCreateTime?: string;
587
888
  /**
588
889
  * @remarks
589
- * 快照修改时间
890
+ * The time when the snapshot was modified.
590
891
  *
591
892
  * @example
592
893
  * 2021-01-12T14:36:01Z
@@ -594,7 +895,7 @@ export declare class GetInstanceResponseBodyInstanceSnapshotList extends $dara.M
594
895
  gmtModifiedTime?: string;
595
896
  /**
596
897
  * @remarks
597
- * 镜像Id
898
+ * The image ID.
598
899
  *
599
900
  * @example
600
901
  * image-05cefd0be2exxxx
@@ -602,7 +903,7 @@ export declare class GetInstanceResponseBodyInstanceSnapshotList extends $dara.M
602
903
  imageId?: string;
603
904
  /**
604
905
  * @remarks
605
- * 镜像名称
906
+ * The image name.
606
907
  *
607
908
  * @example
608
909
  * py36_cpu_tf1.12_ubuntu
@@ -610,7 +911,7 @@ export declare class GetInstanceResponseBodyInstanceSnapshotList extends $dara.M
610
911
  imageName?: string;
611
912
  /**
612
913
  * @remarks
613
- * 镜像Url
914
+ * The image URL.
614
915
  *
615
916
  * @example
616
917
  * registry.cn-shanghai.aliyuncs.com/pai_product/tensorflow:py36_cpu_tf1.12_ubuntu
@@ -618,7 +919,7 @@ export declare class GetInstanceResponseBodyInstanceSnapshotList extends $dara.M
618
919
  imageUrl?: string;
619
920
  /**
620
921
  * @remarks
621
- * 实例快照错误代码
922
+ * The error code of the instance snapshot.
622
923
  *
623
924
  * @example
624
925
  * Internal Error
@@ -626,7 +927,7 @@ export declare class GetInstanceResponseBodyInstanceSnapshotList extends $dara.M
626
927
  reasonCode?: string;
627
928
  /**
628
929
  * @remarks
629
- * 实例快照错误消息
930
+ * The error message of the instance snapshot.
630
931
  *
631
932
  * @example
632
933
  * ImagePullBackOff
@@ -634,7 +935,7 @@ export declare class GetInstanceResponseBodyInstanceSnapshotList extends $dara.M
634
935
  reasonMessage?: string;
635
936
  /**
636
937
  * @remarks
637
- * 镜像仓库Url
938
+ * The image repository URL.
638
939
  *
639
940
  * @example
640
941
  * https://cr.console.aliyun.com/repository/cn-hangzhou/zouxu/kf/images
@@ -642,7 +943,7 @@ export declare class GetInstanceResponseBodyInstanceSnapshotList extends $dara.M
642
943
  repositoryUrl?: string;
643
944
  /**
644
945
  * @remarks
645
- * 实例快照状态
946
+ * The instance snapshot status.
646
947
  *
647
948
  * @example
648
949
  * Pushing
@@ -661,11 +962,17 @@ export declare class GetInstanceResponseBodyInstanceSnapshotList extends $dara.M
661
962
  }
662
963
  export declare class GetInstanceResponseBodyLabels extends $dara.Model {
663
964
  /**
965
+ * @remarks
966
+ * The tag key.
967
+ *
664
968
  * @example
665
969
  * stsTokenOwner
666
970
  */
667
971
  key?: string;
668
972
  /**
973
+ * @remarks
974
+ * The tag value.
975
+ *
669
976
  * @example
670
977
  * 123xxxxxxxx
671
978
  */
@@ -683,33 +990,48 @@ export declare class GetInstanceResponseBodyLabels extends $dara.Model {
683
990
  }
684
991
  export declare class GetInstanceResponseBodyLatestSnapshot extends $dara.Model {
685
992
  /**
993
+ * @remarks
994
+ * The time when the snapshot was created.
995
+ *
686
996
  * @example
687
997
  * 2021-01-12T14:36:01Z
688
998
  */
689
999
  gmtCreateTime?: string;
690
1000
  /**
1001
+ * @remarks
1002
+ * The time when the snapshot was modified.
1003
+ *
691
1004
  * @example
692
1005
  * 2021-01-12T14:36:01Z
693
1006
  */
694
1007
  gmtModifiedTime?: string;
695
1008
  /**
1009
+ * @remarks
1010
+ * The image ID.
1011
+ *
696
1012
  * @example
697
1013
  * image-05cefd0be2exxxx
698
1014
  */
699
1015
  imageId?: string;
700
1016
  /**
1017
+ * @remarks
1018
+ * The image name.
1019
+ *
701
1020
  * @example
702
1021
  * py36_cpu_tf1.12_ubuntu
703
1022
  */
704
1023
  imageName?: string;
705
1024
  /**
1025
+ * @remarks
1026
+ * The image URL.
1027
+ *
706
1028
  * @example
707
1029
  * registry.cn-shanghai.aliyuncs.com/pai_product/tensorflow:py36_cpu_tf1.12_ubuntu
708
1030
  */
709
1031
  imageUrl?: string;
710
1032
  /**
711
1033
  * @remarks
712
- * 实例快照错误代码
1034
+ * The error code of the instance snapshot.
713
1035
  *
714
1036
  * @example
715
1037
  * Internal Error
@@ -717,20 +1039,30 @@ export declare class GetInstanceResponseBodyLatestSnapshot extends $dara.Model {
717
1039
  reasonCode?: string;
718
1040
  /**
719
1041
  * @remarks
720
- * 实例快照错误消息
1042
+ * The error message of the instance snapshot.
721
1043
  *
722
1044
  * @example
723
1045
  * ImagePullBackOff
724
1046
  */
725
1047
  reasonMessage?: string;
726
1048
  /**
1049
+ * @remarks
1050
+ * The image repository URL.
1051
+ *
727
1052
  * @example
728
1053
  * https://cr.console.aliyun.com/repository/cn-hangzhou/zouxu/kf/images
729
1054
  */
730
1055
  repositoryUrl?: string;
731
1056
  /**
732
1057
  * @remarks
733
- * 实例快照状态
1058
+ * The instance snapshot status.
1059
+ *
1060
+ * Valid values:
1061
+ *
1062
+ * * Committing
1063
+ * * Pushing
1064
+ * * Failed
1065
+ * * Saved
734
1066
  *
735
1067
  * @example
736
1068
  * Pushing
@@ -748,8 +1080,29 @@ export declare class GetInstanceResponseBodyLatestSnapshot extends $dara.Model {
748
1080
  });
749
1081
  }
750
1082
  export declare class GetInstanceResponseBodyNodeErrorRecovery extends $dara.Model {
1083
+ /**
1084
+ * @remarks
1085
+ * The number of seconds to wait before automatic switchover.
1086
+ *
1087
+ * @example
1088
+ * 30
1089
+ */
751
1090
  autoSwitchCountdownSeconds?: number;
1091
+ /**
1092
+ * @remarks
1093
+ * Indicates whether to enable automatic switchover when a node error occurs.
1094
+ *
1095
+ * @example
1096
+ * true
1097
+ */
752
1098
  enableAutoSwitchOnNodeError?: boolean;
1099
+ /**
1100
+ * @remarks
1101
+ * Indicates whether the node has an error.
1102
+ *
1103
+ * @example
1104
+ * false
1105
+ */
753
1106
  hasNodeError?: boolean;
754
1107
  static names(): {
755
1108
  [key: string]: string;
@@ -764,26 +1117,47 @@ export declare class GetInstanceResponseBodyNodeErrorRecovery extends $dara.Mode
764
1117
  }
765
1118
  export declare class GetInstanceResponseBodyRequestedResource extends $dara.Model {
766
1119
  /**
1120
+ * @remarks
1121
+ * The number of CPU cores.
1122
+ *
767
1123
  * @example
768
1124
  * 32
769
1125
  */
770
1126
  CPU?: string;
771
1127
  /**
1128
+ * @remarks
1129
+ * The number of GPUs.
1130
+ *
772
1131
  * @example
773
1132
  * 4
774
1133
  */
775
1134
  GPU?: string;
776
1135
  /**
1136
+ * @remarks
1137
+ * The GPU type. Valid values:
1138
+ *
1139
+ * * V100
1140
+ * * A100
1141
+ * * T4
1142
+ * * A10
1143
+ * * P100
1144
+ *
777
1145
  * @example
778
1146
  * v100
779
1147
  */
780
1148
  GPUType?: string;
781
1149
  /**
1150
+ * @remarks
1151
+ * The memory size. Unit: GB.
1152
+ *
782
1153
  * @example
783
1154
  * 32
784
1155
  */
785
1156
  memory?: string;
786
1157
  /**
1158
+ * @remarks
1159
+ * The shared memory size. Unit: GB.
1160
+ *
787
1161
  * @example
788
1162
  * 32
789
1163
  */
@@ -800,7 +1174,21 @@ export declare class GetInstanceResponseBodyRequestedResource extends $dara.Mode
800
1174
  });
801
1175
  }
802
1176
  export declare class GetInstanceResponseBodyTags extends $dara.Model {
1177
+ /**
1178
+ * @remarks
1179
+ * The tag key.
1180
+ *
1181
+ * @example
1182
+ * tag1
1183
+ */
803
1184
  tagKey?: string;
1185
+ /**
1186
+ * @remarks
1187
+ * The tag value.
1188
+ *
1189
+ * @example
1190
+ * value1
1191
+ */
804
1192
  tagValue?: string;
805
1193
  static names(): {
806
1194
  [key: string]: string;
@@ -814,30 +1202,50 @@ export declare class GetInstanceResponseBodyTags extends $dara.Model {
814
1202
  });
815
1203
  }
816
1204
  export declare class GetInstanceResponseBodyUserVpc extends $dara.Model {
1205
+ bandwidthLimit?: BandwidthLimit;
817
1206
  /**
1207
+ * @remarks
1208
+ * Default Route
1209
+ *
818
1210
  * @example
819
1211
  * eth0 | eth1
820
1212
  */
821
1213
  defaultRoute?: string;
822
1214
  /**
1215
+ * @remarks
1216
+ * The extended CIDR block.
1217
+ *
1218
+ * * If you leave VSwitchId empty, this parameter is not required and the system automatically obtains all CIDR blocks in the VPC.
1219
+ * * If VSwitchId is not empty, this parameter is required. Specify all CIDR blocks in the VPC.
1220
+ *
823
1221
  * @example
824
1222
  * ["192.168.0.1/24", "192.168.1.1/24"]
825
1223
  */
826
1224
  extendedCIDRs?: string[];
827
- forwardInfos?: ForwardInfoResponse[];
828
1225
  /**
829
- * @example
1226
+ * @remarks
1227
+ * The forward information.
1228
+ */
1229
+ forwardInfos?: ForwardInfoResponse[];
1230
+ /**
1231
+ * @remarks
1232
+ * The security group ID.
1233
+ *
1234
+ * @example
830
1235
  * sg-xxxxxx
831
1236
  */
832
1237
  securityGroupId?: string;
833
1238
  /**
1239
+ * @remarks
1240
+ * The vSwitch ID.
1241
+ *
834
1242
  * @example
835
1243
  * vsw-xxxxx
836
1244
  */
837
1245
  vSwitchId?: string;
838
1246
  /**
839
1247
  * @remarks
840
- * Vpc Id。
1248
+ * The VPC ID.
841
1249
  *
842
1250
  * @example
843
1251
  * vpc-xxxxx
@@ -856,11 +1264,17 @@ export declare class GetInstanceResponseBodyUserVpc extends $dara.Model {
856
1264
  }
857
1265
  export declare class GetInstanceMetricsResponseBodyPodMetricsMetrics extends $dara.Model {
858
1266
  /**
1267
+ * @remarks
1268
+ * The timestamp corresponding to the metric.
1269
+ *
859
1270
  * @example
860
1271
  * 1670890560
861
1272
  */
862
1273
  time?: number;
863
1274
  /**
1275
+ * @remarks
1276
+ * The metric value.
1277
+ *
864
1278
  * @example
865
1279
  * 25.901031
866
1280
  */
@@ -877,8 +1291,15 @@ export declare class GetInstanceMetricsResponseBodyPodMetricsMetrics extends $da
877
1291
  });
878
1292
  }
879
1293
  export declare class GetInstanceMetricsResponseBodyPodMetrics extends $dara.Model {
1294
+ /**
1295
+ * @remarks
1296
+ * The metrics of the pod that corresponds to the instance.
1297
+ */
880
1298
  metrics?: GetInstanceMetricsResponseBodyPodMetricsMetrics[];
881
1299
  /**
1300
+ * @remarks
1301
+ * The ID of the pod that corresponds to the instance.
1302
+ *
882
1303
  * @example
883
1304
  * dsw-15870-695f44c5bc-hd6xm
884
1305
  */
@@ -918,21 +1339,50 @@ export declare class GetInstanceSnapshotResponseBodyLabels extends $dara.Model {
918
1339
  }
919
1340
  export declare class GetLifecycleResponseBodyLifecycle extends $dara.Model {
920
1341
  /**
1342
+ * @remarks
1343
+ * The status of the instance. Valid values:
1344
+ *
1345
+ * * Creating
1346
+ * * SaveFailed: The instance image failed to be saved.
1347
+ * * Stopped
1348
+ * * Failed
1349
+ * * ResourceAllocating
1350
+ * * Stopping
1351
+ * * Updating
1352
+ * * Saving
1353
+ * * Starting
1354
+ * * Running
1355
+ * * Saved
1356
+ * * EnvPreparing: Preparing environment.
1357
+ * * ArrearStopping: The service is being stopped due to overdue payments.
1358
+ * * Arrearge: The service is stopped due to overdue payments.
1359
+ * * Queuing
1360
+ * * Recovering
1361
+ *
921
1362
  * @example
922
1363
  * Starting
923
1364
  */
924
1365
  status?: string;
925
1366
  /**
1367
+ * @remarks
1368
+ * The reason code that corresponds to an event.
1369
+ *
926
1370
  * @example
927
1371
  * “”
928
1372
  */
929
1373
  reasonCode?: string;
930
1374
  /**
1375
+ * @remarks
1376
+ * The reason message that corresponds to an event.
1377
+ *
931
1378
  * @example
932
1379
  * “”
933
1380
  */
934
1381
  reasonMessage?: string;
935
1382
  /**
1383
+ * @remarks
1384
+ * The time the status was created, specifically the time the instance transitioned to this status (in GMT).
1385
+ *
936
1386
  * @example
937
1387
  * 2022-10-21T07:27:44Z
938
1388
  */
@@ -1059,6 +1509,7 @@ export declare class ListEcsSpecsResponseBodyEcsSpecs extends $dara.Model {
1059
1509
  * 4
1060
1510
  */
1061
1511
  GPU?: number;
1512
+ GPUMemorySize?: number;
1062
1513
  /**
1063
1514
  * @example
1064
1515
  * v100
@@ -1094,6 +1545,7 @@ export declare class ListEcsSpecsResponseBodyEcsSpecs extends $dara.Model {
1094
1545
  * 22.8
1095
1546
  */
1096
1547
  price?: number;
1548
+ spotStockStatus?: string;
1097
1549
  /**
1098
1550
  * @example
1099
1551
  * 500
@@ -1205,7 +1657,21 @@ export declare class ListInstanceSnapshotResponseBodySnapshots extends $dara.Mod
1205
1657
  });
1206
1658
  }
1207
1659
  export declare class ListInstancesRequestTag extends $dara.Model {
1660
+ /**
1661
+ * @remarks
1662
+ * The tag key.
1663
+ *
1664
+ * @example
1665
+ * tag1
1666
+ */
1208
1667
  key?: string;
1668
+ /**
1669
+ * @remarks
1670
+ * The tag value.
1671
+ *
1672
+ * @example
1673
+ * value1
1674
+ */
1209
1675
  value?: string;
1210
1676
  static names(): {
1211
1677
  [key: string]: string;
@@ -1219,6 +1685,15 @@ export declare class ListInstancesRequestTag extends $dara.Model {
1219
1685
  });
1220
1686
  }
1221
1687
  export declare class ListInstancesResponseBodyInstancesAffinityCPU extends $dara.Model {
1688
+ /**
1689
+ * @remarks
1690
+ * Indicates whether the CPU affinity feature was enabled.
1691
+ *
1692
+ * true false
1693
+ *
1694
+ * @example
1695
+ * true
1696
+ */
1222
1697
  enable?: boolean;
1223
1698
  static names(): {
1224
1699
  [key: string]: string;
@@ -1232,6 +1707,10 @@ export declare class ListInstancesResponseBodyInstancesAffinityCPU extends $dara
1232
1707
  });
1233
1708
  }
1234
1709
  export declare class ListInstancesResponseBodyInstancesAffinity extends $dara.Model {
1710
+ /**
1711
+ * @remarks
1712
+ * The CPU affinity configuration. Only subscription instances that use general-purpose computing resources support CPU affinity configuration.
1713
+ */
1235
1714
  CPU?: ListInstancesResponseBodyInstancesAffinityCPU;
1236
1715
  static names(): {
1237
1716
  [key: string]: string;
@@ -1246,21 +1725,33 @@ export declare class ListInstancesResponseBodyInstancesAffinity extends $dara.Mo
1246
1725
  }
1247
1726
  export declare class ListInstancesResponseBodyInstancesCloudDisks extends $dara.Model {
1248
1727
  /**
1728
+ * @remarks
1729
+ * The cloud disk capacity.
1730
+ *
1249
1731
  * @example
1250
1732
  * 30Gi
1251
1733
  */
1252
1734
  capacity?: string;
1253
1735
  /**
1736
+ * @remarks
1737
+ * The mount path of the cloud disk in the container.
1738
+ *
1254
1739
  * @example
1255
1740
  * /mmt/workspace
1256
1741
  */
1257
1742
  mountPath?: string;
1258
1743
  /**
1744
+ * @remarks
1745
+ * The directory on the cloud disk that is mounted to the container.
1746
+ *
1259
1747
  * @example
1260
1748
  * /workspace
1261
1749
  */
1262
1750
  path?: string;
1263
1751
  /**
1752
+ * @remarks
1753
+ * The cloud disk type. The value rootfs indicates that the cloud disk is used as the root file system (rootfs).
1754
+ *
1264
1755
  * @example
1265
1756
  * rootfs
1266
1757
  */
@@ -1278,19 +1769,72 @@ export declare class ListInstancesResponseBodyInstancesCloudDisks extends $dara.
1278
1769
  }
1279
1770
  export declare class ListInstancesResponseBodyInstancesDatasets extends $dara.Model {
1280
1771
  /**
1772
+ * @remarks
1773
+ * The dataset ID.
1774
+ *
1281
1775
  * @example
1282
1776
  * d-vsqjvsjp4orp5l206u
1283
1777
  */
1284
1778
  datasetId?: string;
1779
+ /**
1780
+ * @remarks
1781
+ * The dataset version.
1782
+ *
1783
+ * @example
1784
+ * v1
1785
+ */
1285
1786
  datasetVersion?: string;
1787
+ /**
1788
+ * @remarks
1789
+ * Indicates whether dynamic mounting was enabled. Default value: false.
1790
+ *
1791
+ * @example
1792
+ * false
1793
+ */
1794
+ dynamic?: boolean;
1795
+ /**
1796
+ * @remarks
1797
+ * The read and write permissions. Valid values: RW and RO.
1798
+ *
1799
+ * @example
1800
+ * RW
1801
+ */
1286
1802
  mountAccess?: string;
1287
1803
  /**
1804
+ * @remarks
1805
+ * The mount path in the container.
1806
+ *
1288
1807
  * @example
1289
1808
  * /mnt/data
1290
1809
  */
1291
1810
  mountPath?: string;
1811
+ /**
1812
+ * @remarks
1813
+ * The type of the mount option.
1814
+ *
1815
+ * @example
1816
+ * FastReadWrite
1817
+ */
1292
1818
  optionType?: string;
1819
+ /**
1820
+ * @remarks
1821
+ * The mount type of the dataset.
1822
+ *
1823
+ * @example
1824
+ * {
1825
+ * "fs.oss.download.thread.concurrency": "10",
1826
+ * "fs.oss.upload.thread.concurrency": "10",
1827
+ * "fs.jindo.args": "-oattr_timeout=3 -oentry_timeout=0 -onegative_timeout=0 -oauto_cache -ono_symlink"
1828
+ * }
1829
+ */
1293
1830
  options?: string;
1831
+ /**
1832
+ * @remarks
1833
+ * The dataset URI.
1834
+ *
1835
+ * @example
1836
+ * oss://bucket-name.oss-cn-shanghai-internal.aliyuncs.com/data/path/
1837
+ */
1294
1838
  uri?: string;
1295
1839
  static names(): {
1296
1840
  [key: string]: string;
@@ -1305,26 +1849,41 @@ export declare class ListInstancesResponseBodyInstancesDatasets extends $dara.Mo
1305
1849
  }
1306
1850
  export declare class ListInstancesResponseBodyInstancesIdleInstanceCuller extends $dara.Model {
1307
1851
  /**
1852
+ * @remarks
1853
+ * The CPU utilization threshold. Unit: percentage. Valid values: 1 to 100. If the CPU utilization of the instance is lower than this threshold, the instance is considered idle.
1854
+ *
1308
1855
  * @example
1309
1856
  * 20
1310
1857
  */
1311
1858
  cpuPercentThreshold?: number;
1312
1859
  /**
1860
+ * @remarks
1861
+ * The GPU utilization threshold. Unit: percentage. Valid values: 1 to 100. This parameter takes effect only if the instance is of the GPU instance type. If both CPU and GPU utilization is lower than the thresholds, the instance is considered idle.
1862
+ *
1313
1863
  * @example
1314
1864
  * 10
1315
1865
  */
1316
1866
  gpuPercentThreshold?: number;
1317
1867
  /**
1868
+ * @remarks
1869
+ * The time duration for which the instance is idle. Unit: minutes.
1870
+ *
1318
1871
  * @example
1319
1872
  * 30
1320
1873
  */
1321
1874
  idleTimeInMinutes?: number;
1322
1875
  /**
1876
+ * @remarks
1877
+ * The instance ID.
1878
+ *
1323
1879
  * @example
1324
1880
  * dsw-730xxxxxxxxxx
1325
1881
  */
1326
1882
  instanceId?: string;
1327
1883
  /**
1884
+ * @remarks
1885
+ * The maximum time duration for which the instance is idle. Unit: minutes. If the time duration for which the instance is idle exceeds this value, the system automatically stops the instance.
1886
+ *
1328
1887
  * @example
1329
1888
  * 60
1330
1889
  */
@@ -1342,26 +1901,41 @@ export declare class ListInstancesResponseBodyInstancesIdleInstanceCuller extend
1342
1901
  }
1343
1902
  export declare class ListInstancesResponseBodyInstancesInstanceShutdownTimer extends $dara.Model {
1344
1903
  /**
1904
+ * @remarks
1905
+ * The scheduled stop time.
1906
+ *
1345
1907
  * @example
1346
1908
  * 2021-01-12T14:36:01Z
1347
1909
  */
1348
1910
  dueTime?: string;
1349
1911
  /**
1912
+ * @remarks
1913
+ * The time when the instance was created.
1914
+ *
1350
1915
  * @example
1351
1916
  * 2021-01-12T14:36:01Z
1352
1917
  */
1353
1918
  gmtCreateTime?: string;
1354
1919
  /**
1920
+ * @remarks
1921
+ * The time when the instance was modified.
1922
+ *
1355
1923
  * @example
1356
1924
  * 2021-01-12T14:36:01Z
1357
1925
  */
1358
1926
  gmtModifiedTime?: string;
1359
1927
  /**
1928
+ * @remarks
1929
+ * The instance ID.
1930
+ *
1360
1931
  * @example
1361
1932
  * dsw-730xxxxxxxxxx
1362
1933
  */
1363
1934
  instanceId?: string;
1364
1935
  /**
1936
+ * @remarks
1937
+ * The remaining time before the instance is stopped.
1938
+ *
1365
1939
  * @example
1366
1940
  * 3600000
1367
1941
  */
@@ -1379,46 +1953,73 @@ export declare class ListInstancesResponseBodyInstancesInstanceShutdownTimer ext
1379
1953
  }
1380
1954
  export declare class ListInstancesResponseBodyInstancesInstanceSnapshotList extends $dara.Model {
1381
1955
  /**
1956
+ * @remarks
1957
+ * The time when the snapshot was created.
1958
+ *
1382
1959
  * @example
1383
1960
  * 2021-01-12T14:36:01Z
1384
1961
  */
1385
1962
  gmtCreateTime?: string;
1386
1963
  /**
1964
+ * @remarks
1965
+ * The time when the snapshot was modified.
1966
+ *
1387
1967
  * @example
1388
1968
  * 2021-01-12T14:36:01Z
1389
1969
  */
1390
1970
  gmtModifiedTime?: string;
1391
1971
  /**
1972
+ * @remarks
1973
+ * The image ID.
1974
+ *
1392
1975
  * @example
1393
1976
  * image-05cefd0be2exxxx
1394
1977
  */
1395
1978
  imageId?: string;
1396
1979
  /**
1980
+ * @remarks
1981
+ * The image name.
1982
+ *
1397
1983
  * @example
1398
1984
  * py36_cpu_tf1.12_ubuntu
1399
1985
  */
1400
1986
  imageName?: string;
1401
1987
  /**
1988
+ * @remarks
1989
+ * The image URL.
1990
+ *
1402
1991
  * @example
1403
1992
  * registry.cn-shanghai.aliyuncs.com/pai_product/tensorflow:py36_cpu_tf1.12_ubuntu
1404
1993
  */
1405
1994
  imageUrl?: string;
1406
1995
  /**
1996
+ * @remarks
1997
+ * The error code of the instance snapshot.
1998
+ *
1407
1999
  * @example
1408
2000
  * Internal Error
1409
2001
  */
1410
2002
  reasonCode?: string;
1411
2003
  /**
2004
+ * @remarks
2005
+ * The error message of the instance snapshot.
2006
+ *
1412
2007
  * @example
1413
2008
  * ImagePullBackOff
1414
2009
  */
1415
2010
  reasonMessage?: string;
1416
2011
  /**
2012
+ * @remarks
2013
+ * The URL of the image repository.
2014
+ *
1417
2015
  * @example
1418
2016
  * https://cr.console.aliyun.com/repository/cn-hangzhou/zouxu/kf/images
1419
2017
  */
1420
2018
  repositoryUrl?: string;
1421
2019
  /**
2020
+ * @remarks
2021
+ * The status of the instance snapshot.
2022
+ *
1422
2023
  * @example
1423
2024
  * Pushing
1424
2025
  */
@@ -1436,11 +2037,17 @@ export declare class ListInstancesResponseBodyInstancesInstanceSnapshotList exte
1436
2037
  }
1437
2038
  export declare class ListInstancesResponseBodyInstancesLabels extends $dara.Model {
1438
2039
  /**
2040
+ * @remarks
2041
+ * The custom label key.
2042
+ *
1439
2043
  * @example
1440
2044
  * stsTokenOwner
1441
2045
  */
1442
2046
  key?: string;
1443
2047
  /**
2048
+ * @remarks
2049
+ * The custom label value.
2050
+ *
1444
2051
  * @example
1445
2052
  * 123xxxxxxxx
1446
2053
  */
@@ -1458,46 +2065,73 @@ export declare class ListInstancesResponseBodyInstancesLabels extends $dara.Mode
1458
2065
  }
1459
2066
  export declare class ListInstancesResponseBodyInstancesLatestSnapshot extends $dara.Model {
1460
2067
  /**
2068
+ * @remarks
2069
+ * The time when the snapshot was created.
2070
+ *
1461
2071
  * @example
1462
2072
  * 2021-01-12T14:36:01Z
1463
2073
  */
1464
2074
  gmtCreateTime?: string;
1465
2075
  /**
2076
+ * @remarks
2077
+ * The time when the snapshot was modified.
2078
+ *
1466
2079
  * @example
1467
2080
  * 2021-01-12T14:36:01Z
1468
2081
  */
1469
2082
  gmtModifiedTime?: string;
1470
2083
  /**
2084
+ * @remarks
2085
+ * The image ID.
2086
+ *
1471
2087
  * @example
1472
2088
  * image-05cefd0be2exxxx
1473
2089
  */
1474
2090
  imageId?: string;
1475
2091
  /**
2092
+ * @remarks
2093
+ * The image name.
2094
+ *
1476
2095
  * @example
1477
2096
  * py36_cpu_tf1.12_ubuntu
1478
2097
  */
1479
2098
  imageName?: string;
1480
2099
  /**
2100
+ * @remarks
2101
+ * The image URL.
2102
+ *
1481
2103
  * @example
1482
2104
  * registry.cn-shanghai.aliyuncs.com/pai_product/tensorflow:py36_cpu_tf1.12_ubuntu
1483
2105
  */
1484
2106
  imageUrl?: string;
1485
2107
  /**
2108
+ * @remarks
2109
+ * The error code of the instance snapshot.
2110
+ *
1486
2111
  * @example
1487
2112
  * Internal Error
1488
2113
  */
1489
2114
  reasonCode?: string;
1490
2115
  /**
2116
+ * @remarks
2117
+ * The error message of the instance snapshot.
2118
+ *
1491
2119
  * @example
1492
2120
  * ImagePullBackOff
1493
2121
  */
1494
2122
  reasonMessage?: string;
1495
2123
  /**
2124
+ * @remarks
2125
+ * The URL of the image repository.
2126
+ *
1496
2127
  * @example
1497
2128
  * https://cr.console.aliyun.com/repository/cn-hangzhou/zouxu/kf/images
1498
2129
  */
1499
2130
  repositoryUrl?: string;
1500
2131
  /**
2132
+ * @remarks
2133
+ * The status of the instance snapshot.
2134
+ *
1501
2135
  * @example
1502
2136
  * Pushing
1503
2137
  */
@@ -1515,26 +2149,41 @@ export declare class ListInstancesResponseBodyInstancesLatestSnapshot extends $d
1515
2149
  }
1516
2150
  export declare class ListInstancesResponseBodyInstancesRequestedResource extends $dara.Model {
1517
2151
  /**
2152
+ * @remarks
2153
+ * The number of CPU cores.
2154
+ *
1518
2155
  * @example
1519
2156
  * 32
1520
2157
  */
1521
2158
  CPU?: string;
1522
2159
  /**
2160
+ * @remarks
2161
+ * The number of GPUs.
2162
+ *
1523
2163
  * @example
1524
2164
  * 4
1525
2165
  */
1526
2166
  GPU?: string;
1527
2167
  /**
2168
+ * @remarks
2169
+ * The GPU memory type.
2170
+ *
1528
2171
  * @example
1529
2172
  * v100
1530
2173
  */
1531
2174
  GPUType?: string;
1532
2175
  /**
2176
+ * @remarks
2177
+ * The memory size.
2178
+ *
1533
2179
  * @example
1534
2180
  * 32
1535
2181
  */
1536
2182
  memory?: string;
1537
2183
  /**
2184
+ * @remarks
2185
+ * The size of the shared memory.
2186
+ *
1538
2187
  * @example
1539
2188
  * 32
1540
2189
  */
@@ -1551,7 +2200,21 @@ export declare class ListInstancesResponseBodyInstancesRequestedResource extends
1551
2200
  });
1552
2201
  }
1553
2202
  export declare class ListInstancesResponseBodyInstancesTags extends $dara.Model {
2203
+ /**
2204
+ * @remarks
2205
+ * The tag key.
2206
+ *
2207
+ * @example
2208
+ * tag1
2209
+ */
1554
2210
  tagKey?: string;
2211
+ /**
2212
+ * @remarks
2213
+ * The tag value.
2214
+ *
2215
+ * @example
2216
+ * value1
2217
+ */
1555
2218
  tagValue?: string;
1556
2219
  static names(): {
1557
2220
  [key: string]: string;
@@ -1565,28 +2228,48 @@ export declare class ListInstancesResponseBodyInstancesTags extends $dara.Model
1565
2228
  });
1566
2229
  }
1567
2230
  export declare class ListInstancesResponseBodyInstancesUserVpc extends $dara.Model {
2231
+ bandwidthLimit?: BandwidthLimit;
1568
2232
  /**
2233
+ * @remarks
2234
+ * The default route.
2235
+ *
1569
2236
  * @example
1570
2237
  * eth0 | eth1
1571
2238
  */
1572
2239
  defaultRoute?: string;
1573
2240
  /**
2241
+ * @remarks
2242
+ * The extended CIDR blocks.
2243
+ *
1574
2244
  * @example
1575
2245
  * ["192.168.0.1/24", "192.168.1.1/24"]
1576
2246
  */
1577
2247
  extendedCIDRs?: string[];
2248
+ /**
2249
+ * @remarks
2250
+ * The forward information.
2251
+ */
1578
2252
  forwardInfos?: ForwardInfoResponse[];
1579
2253
  /**
2254
+ * @remarks
2255
+ * The security group ID.
2256
+ *
1580
2257
  * @example
1581
2258
  * sg-xxxxxx
1582
2259
  */
1583
2260
  securityGroupId?: string;
1584
2261
  /**
2262
+ * @remarks
2263
+ * The vSwitch ID.
2264
+ *
1585
2265
  * @example
1586
2266
  * vsw-xxxxx
1587
2267
  */
1588
2268
  vSwitchId?: string;
1589
2269
  /**
2270
+ * @remarks
2271
+ * The VPC ID.
2272
+ *
1590
2273
  * @example
1591
2274
  * vpc-xxxxx
1592
2275
  */
@@ -1604,39 +2287,83 @@ export declare class ListInstancesResponseBodyInstancesUserVpc extends $dara.Mod
1604
2287
  }
1605
2288
  export declare class ListInstancesResponseBodyInstances extends $dara.Model {
1606
2289
  /**
2290
+ * @remarks
2291
+ * The accelerator type of the instance. Valid values:
2292
+ *
2293
+ * * CPU
2294
+ * * GPU
2295
+ *
1607
2296
  * @example
1608
2297
  * CPU
1609
2298
  */
1610
2299
  acceleratorType?: string;
1611
2300
  /**
2301
+ * @remarks
2302
+ * The accessibility. Valid values:
2303
+ *
2304
+ * * PRIVATE (default): The instances are accessible only to you and the administrator of the workspace.
2305
+ * * PUBLIC: The instances are accessible only to all members in the workspace.
2306
+ *
1612
2307
  * @example
1613
2308
  * PRIVATE
1614
2309
  */
1615
2310
  accessibility?: string;
1616
2311
  /**
2312
+ * @remarks
2313
+ * The accumulated running duration. Unit: milliseconds.
2314
+ *
1617
2315
  * @example
1618
2316
  * 3600000
1619
2317
  */
1620
2318
  accumulatedRunningTimeInMs?: number;
2319
+ /**
2320
+ * @remarks
2321
+ * The affinity configuration.
2322
+ */
1621
2323
  affinity?: ListInstancesResponseBodyInstancesAffinity;
1622
2324
  /**
2325
+ * @remarks
2326
+ * The cloud disks of the instance.
2327
+ *
1623
2328
  * @example
1624
2329
  * []
1625
2330
  */
1626
2331
  cloudDisks?: ListInstancesResponseBodyInstancesCloudDisks[];
2332
+ /**
2333
+ * @remarks
2334
+ * The credential configuration.
2335
+ */
1627
2336
  credentialConfig?: CredentialConfig;
2337
+ /**
2338
+ * @remarks
2339
+ * The datasets.
2340
+ */
1628
2341
  datasets?: ListInstancesResponseBodyInstancesDatasets[];
1629
2342
  /**
2343
+ * @remarks
2344
+ * The NVIDIA driver configuration.
2345
+ *
1630
2346
  * @example
1631
2347
  * 535.54.03
1632
2348
  */
1633
2349
  driver?: string;
1634
2350
  /**
2351
+ * @remarks
2352
+ * The dynamic mount configurations.
2353
+ */
2354
+ dynamicMount?: DynamicMount;
2355
+ /**
2356
+ * @remarks
2357
+ * The ECS instance type of the instance.
2358
+ *
1635
2359
  * @example
1636
2360
  * ecs.c6.large
1637
2361
  */
1638
2362
  ecsSpec?: string;
1639
2363
  /**
2364
+ * @remarks
2365
+ * The environment variables.
2366
+ *
1640
2367
  * @example
1641
2368
  * {userName: "Chris"}
1642
2369
  */
@@ -1644,147 +2371,253 @@ export declare class ListInstancesResponseBodyInstances extends $dara.Model {
1644
2371
  [key: string]: string;
1645
2372
  };
1646
2373
  /**
2374
+ * @remarks
2375
+ * The time when the instance was created.
2376
+ *
1647
2377
  * @example
1648
2378
  * 2021-01-12T14:36:01Z
1649
2379
  */
1650
2380
  gmtCreateTime?: string;
1651
2381
  /**
2382
+ * @remarks
2383
+ * The time when the instance was modified.
2384
+ *
1652
2385
  * @example
1653
2386
  * 2021-01-12T14:36:01Z
1654
2387
  */
1655
2388
  gmtModifiedTime?: string;
1656
2389
  /**
2390
+ * @remarks
2391
+ * The rule for stopping idle instances.
2392
+ *
1657
2393
  * @example
1658
2394
  * {"InstanceId":"dsw-05cefd0be2e5a278","CpuPercentThreshold":20,"GpuPercentThreshold":10,"MaxIdleTimeInMinutes":120,"IdleTimeInMinutes":30}
1659
2395
  */
1660
2396
  idleInstanceCuller?: ListInstancesResponseBodyInstancesIdleInstanceCuller;
2397
+ /**
2398
+ * @remarks
2399
+ * The Base64-encoded account and password for the user\\"s private image. The password will be hidden.
2400
+ *
2401
+ * @example
2402
+ * aGFyYm9yYWlAeGltYWxheWE6KioqKioq
2403
+ */
1661
2404
  imageAuth?: string;
1662
2405
  /**
2406
+ * @remarks
2407
+ * The image ID.
2408
+ *
1663
2409
  * @example
1664
2410
  * image-05cefd0be2exxxx
1665
2411
  */
1666
2412
  imageId?: string;
1667
2413
  /**
2414
+ * @remarks
2415
+ * The image name.
2416
+ *
1668
2417
  * @example
1669
2418
  * py36_cpu_tf1.12_ubuntu
1670
2419
  */
1671
2420
  imageName?: string;
1672
2421
  /**
2422
+ * @remarks
2423
+ * The image address.
2424
+ *
1673
2425
  * @example
1674
2426
  * registry.cn-shanghai.aliyuncs.com/pai_product/tensorflow:py36_cpu_tf1.12_ubuntu
1675
2427
  */
1676
2428
  imageUrl?: string;
1677
2429
  /**
2430
+ * @remarks
2431
+ * The instance ID.
2432
+ *
1678
2433
  * @example
1679
2434
  * dsw-730xxxxxxxxxx
1680
2435
  */
1681
2436
  instanceId?: string;
1682
2437
  /**
2438
+ * @remarks
2439
+ * The instance name.
2440
+ *
1683
2441
  * @example
1684
2442
  * training_data
1685
2443
  */
1686
2444
  instanceName?: string;
2445
+ /**
2446
+ * @remarks
2447
+ * The scheduled stop task.
2448
+ */
1687
2449
  instanceShutdownTimer?: ListInstancesResponseBodyInstancesInstanceShutdownTimer;
1688
2450
  /**
2451
+ * @remarks
2452
+ * The instance snapshots.
2453
+ *
1689
2454
  * @example
1690
2455
  * []
1691
2456
  */
1692
2457
  instanceSnapshotList?: ListInstancesResponseBodyInstancesInstanceSnapshotList[];
1693
2458
  /**
2459
+ * @remarks
2460
+ * The instance URL.
2461
+ *
1694
2462
  * @example
1695
2463
  * https://dsw-cn-shanghai.data.aliyun.com/notebook.htm?instance=39772#/
1696
2464
  */
1697
2465
  instanceUrl?: string;
1698
2466
  /**
1699
2467
  * @remarks
1700
- * Jupyterlab Url。
2468
+ * The JupyterLab URL.
1701
2469
  *
1702
2470
  * @example
1703
2471
  * https://dsw-gateway-cn-shanghai.aliyun.com/dsw-39772/lab/
1704
2472
  */
1705
2473
  jupyterlabUrl?: string;
1706
2474
  /**
2475
+ * @remarks
2476
+ * The custom labels.
2477
+ *
1707
2478
  * @example
1708
2479
  * {\\"foo\\": \\"bar\\"}
1709
2480
  */
1710
2481
  labels?: ListInstancesResponseBodyInstancesLabels[];
2482
+ /**
2483
+ * @remarks
2484
+ * The user image that was latest saved.
2485
+ */
1711
2486
  latestSnapshot?: ListInstancesResponseBodyInstancesLatestSnapshot;
2487
+ oversoldInfo?: string;
2488
+ oversoldType?: string;
1712
2489
  /**
2490
+ * @remarks
2491
+ * The billing method. Valid values:
2492
+ *
2493
+ * * PayAsYouGo
2494
+ * * Subscription
2495
+ *
1713
2496
  * @example
1714
2497
  * PayAsYouGo
1715
2498
  */
1716
2499
  paymentType?: string;
1717
2500
  /**
2501
+ * @remarks
2502
+ * The priority based on which resources are allocated to instances. Resources are preferentially allocated to instances with higher priorities.
2503
+ *
1718
2504
  * @example
1719
2505
  * 1
1720
2506
  */
1721
2507
  priority?: number;
1722
2508
  /**
2509
+ * @remarks
2510
+ * The error code of the instance.
2511
+ *
1723
2512
  * @example
1724
2513
  * Internal Error
1725
2514
  */
1726
2515
  reasonCode?: string;
1727
2516
  /**
2517
+ * @remarks
2518
+ * The cause of the instance error.
2519
+ *
1728
2520
  * @example
1729
2521
  * ImagePullBackOff
1730
2522
  */
1731
2523
  reasonMessage?: string;
1732
2524
  /**
2525
+ * @remarks
2526
+ * The resource configurations.
2527
+ *
1733
2528
  * @example
1734
2529
  * {"CPU":"4","Memory":"8Gi","SharedMemory":"4Gi","GPU":"1","GPUType":"Tesla-V100-16G"}
1735
2530
  */
1736
2531
  requestedResource?: ListInstancesResponseBodyInstancesRequestedResource;
1737
2532
  /**
2533
+ * @remarks
2534
+ * The resource ID. This parameter is valid only if you set PaymentType to Subscription.
2535
+ *
1738
2536
  * @example
1739
2537
  * dsw-123456789
1740
2538
  */
1741
2539
  resourceId?: string;
1742
2540
  /**
2541
+ * @remarks
2542
+ * The specifications.
2543
+ *
2544
+ * * In pay-as-you-go scenarios, the value is the specifications of the purchased ECS instance type.
2545
+ * * In subscription scenarios, the value is the requested number of CPU cores and memory size.
2546
+ *
1743
2547
  * @example
1744
2548
  * resource_group
1745
2549
  */
1746
2550
  resourceName?: string;
1747
2551
  /**
2552
+ * @remarks
2553
+ * The instance status.
2554
+ *
1748
2555
  * @example
1749
2556
  * Running
1750
2557
  */
1751
2558
  status?: string;
2559
+ /**
2560
+ * @remarks
2561
+ * The tags.
2562
+ */
1752
2563
  tags?: ListInstancesResponseBodyInstancesTags[];
1753
2564
  /**
2565
+ * @remarks
2566
+ * The terminal URL.
2567
+ *
1754
2568
  * @example
1755
2569
  * https://dsw-gateway-cn-shanghai.aliyun.com/dsw-39772/tty/
1756
2570
  */
1757
2571
  terminalUrl?: string;
1758
2572
  /**
2573
+ * @remarks
2574
+ * The user ID.
2575
+ *
1759
2576
  * @example
1760
2577
  * 1612285282502324
1761
2578
  */
1762
2579
  userId?: string;
1763
2580
  /**
2581
+ * @remarks
2582
+ * The username.
2583
+ *
1764
2584
  * @example
1765
2585
  * 测试用户
1766
2586
  */
1767
2587
  userName?: string;
2588
+ /**
2589
+ * @remarks
2590
+ * The virtual private cloud (VPC) configurations.
2591
+ */
1768
2592
  userVpc?: ListInstancesResponseBodyInstancesUserVpc;
1769
2593
  /**
1770
2594
  * @remarks
1771
- * Web IDE url。
2595
+ * The Web IDE URL.
1772
2596
  *
1773
2597
  * @example
1774
2598
  * https://dsw-gateway-cn-shanghai.aliyun.com/dsw-39772/ide/
1775
2599
  */
1776
2600
  webIDEUrl?: string;
1777
2601
  /**
2602
+ * @remarks
2603
+ * The workspace ID.
2604
+ *
1778
2605
  * @example
1779
2606
  * 40823
1780
2607
  */
1781
2608
  workspaceId?: string;
1782
2609
  /**
2610
+ * @remarks
2611
+ * The workspace name.
2612
+ *
1783
2613
  * @example
1784
2614
  * training_data
1785
2615
  */
1786
2616
  workspaceName?: string;
1787
2617
  /**
2618
+ * @remarks
2619
+ * The storage for the workspace. If you leave this parameter empty, the workspace uses File Storage NAS (NAS) storage, cloud disks, or local disks in sequence.
2620
+ *
1788
2621
  * @example
1789
2622
  * d-123456789
1790
2623
  */
@@ -1801,6 +2634,16 @@ export declare class ListInstancesResponseBodyInstances extends $dara.Model {
1801
2634
  });
1802
2635
  }
1803
2636
  export declare class UpdateInstanceRequestAffinityCPU extends $dara.Model {
2637
+ /**
2638
+ * @remarks
2639
+ * Specifies whether CPU affinity is enabled.
2640
+ *
2641
+ * * true
2642
+ * * false
2643
+ *
2644
+ * @example
2645
+ * true
2646
+ */
1804
2647
  enable?: boolean;
1805
2648
  static names(): {
1806
2649
  [key: string]: string;
@@ -1814,6 +2657,10 @@ export declare class UpdateInstanceRequestAffinityCPU extends $dara.Model {
1814
2657
  });
1815
2658
  }
1816
2659
  export declare class UpdateInstanceRequestAffinity extends $dara.Model {
2660
+ /**
2661
+ * @remarks
2662
+ * The CPU affinity configuration. Only subscription instances that use general-purpose computing resources support CPU affinity configuration.
2663
+ */
1817
2664
  CPU?: UpdateInstanceRequestAffinityCPU;
1818
2665
  static names(): {
1819
2666
  [key: string]: string;
@@ -1828,11 +2675,33 @@ export declare class UpdateInstanceRequestAffinity extends $dara.Model {
1828
2675
  }
1829
2676
  export declare class UpdateInstanceRequestCloudDisks extends $dara.Model {
1830
2677
  /**
2678
+ * @remarks
2679
+ * If **Resource Type** is **Public Resource** or if **Resource Quota** is subscription-based general-purpose computing resources (CPU cores ≥ 2 and memory ≥ 4 GB, or configured with GPU):
2680
+ *
2681
+ * Each instance has a free system disk quota of 100 GiB for persistent storage. **If the DSW instance is stopped and not launched for more than 15 days, the disk is cleared**. The disk can be expanded. For specific pricing, refer to the console.
2682
+ *
2683
+ * **
2684
+ *
2685
+ * **Warning**
2686
+ *
2687
+ * * After the expansion, you cannot reduce the storage space. Proceed with caution.
2688
+ *
2689
+ * * After the expansion, the disk is not cleared if the instance is stopped for more than 15 days. However, it will continue to incur fees.
2690
+ *
2691
+ * * If you delete the instance, the system disk is also released and the data stored in the disk is deleted. Make sure that you have backed up your data before you delete the instance.
2692
+ *
2693
+ * If you need persistent storage, you can **mount a dataset** or add the OSS, NAS, or CPFS path to the **storage path**.
2694
+ *
1831
2695
  * @example
1832
- * 30Gi
2696
+ * 100Gi
1833
2697
  */
1834
2698
  capacity?: string;
1835
2699
  /**
2700
+ * @remarks
2701
+ * Disk type:
2702
+ *
2703
+ * * rootfs: Mounts the disk as a system disk. The system environment is stored on the disk.
2704
+ *
1836
2705
  * @example
1837
2706
  * rootfs
1838
2707
  */
@@ -1850,25 +2719,88 @@ export declare class UpdateInstanceRequestCloudDisks extends $dara.Model {
1850
2719
  }
1851
2720
  export declare class UpdateInstanceRequestDatasets extends $dara.Model {
1852
2721
  /**
2722
+ * @remarks
2723
+ * The dataset ID. If the dataset is read-only, you cannot change the dataset pemission from read-only to read and write by using MountAccess.
2724
+ *
2725
+ * You can call [ListDatasets](https://help.aliyun.com/document_detail/457222.html) to obtain the dataset ID. If you configure the dataset ID, you cannot configure the dataset URI.
2726
+ *
1853
2727
  * @example
1854
2728
  * d-vsqjvsjp4orp5l206u
1855
2729
  */
1856
2730
  datasetId?: string;
2731
+ /**
2732
+ * @remarks
2733
+ * The dataset version. You must also configure DatasetId. If you leave this parameter empty, the value v1 is used by default.
2734
+ *
2735
+ * @example
2736
+ * v1
2737
+ */
1857
2738
  datasetVersion?: string;
2739
+ /**
2740
+ * @remarks
2741
+ * Specifies whether dynamic mounting is enabled. Default value: false.
2742
+ *
2743
+ * * Currently, only instances using general-purpose computing resources are supported.
2744
+ * * Currently, only OSS datasets are supported. The mounted datasets are read-only.
2745
+ * * The MountPath of the dynamically mounted dataset must be a subpath of the root path. Example: /mnt/dynamic/data1/
2746
+ * * A dynamically mounted dataset must be after non-dynamic datasets.
2747
+ *
2748
+ * @example
2749
+ * false
2750
+ */
2751
+ dynamic?: boolean;
2752
+ /**
2753
+ * @remarks
2754
+ * The read and write permissions of the dataset. If the dataset is read-only, it cannot be changed to read and write.
2755
+ *
2756
+ * @example
2757
+ * RW
2758
+ */
1858
2759
  mountAccess?: string;
1859
2760
  /**
2761
+ * @remarks
2762
+ * The mount path of the dataset.
2763
+ *
1860
2764
  * @example
1861
2765
  * /mnt/data
1862
2766
  */
1863
2767
  mountPath?: string;
1864
2768
  /**
2769
+ * @remarks
2770
+ * The mount type. You cannot specify Options at the same time. This is deprecated, you can use Options instead.
2771
+ *
2772
+ * @example
2773
+ * ReadOnly
2774
+ *
1865
2775
  * @deprecated
1866
2776
  */
1867
2777
  optionType?: string;
2778
+ /**
2779
+ * @remarks
2780
+ * The custom dataset mount options. Only OSS is supported. You cannot specify OptionType at the same time. For more information, see [DSW mount configurations](https://help.aliyun.com/zh/pai/user-guide/read-and-write-dataset-data).
2781
+ *
2782
+ * @example
2783
+ * {
2784
+ * "fs.oss.download.thread.concurrency": "10",
2785
+ * "fs.oss.upload.thread.concurrency": "10",
2786
+ * "fs.jindo.args": "-oattr_timeout=3 -oentry_timeout=0 -onegative_timeout=0 -oauto_cache -ono_symlink"
2787
+ * }
2788
+ */
1868
2789
  options?: string;
1869
2790
  /**
2791
+ * @remarks
2792
+ * The URI of the storage service directory, which can be directly mounted. This parameter is mutually exclusive with DatasetId.
2793
+ *
2794
+ * URI formats of different types of storage:
2795
+ *
2796
+ * * OSS: oss://bucket-name.oss-cn-shanghai-internal.aliyuncs.com/data/path/
2797
+ * * NAS: nas://29\\*\\*d-b12\\*\\*\\*\\*446.cn-hangzhou.nas.aliyuncs.com/data/path/
2798
+ * * Extreme NAS: nas://29\\*\\*\\*\\*123-y\\*\\*r.cn-hangzhou.extreme.nas.aliyuncs.com/data/path/
2799
+ * * CPFS: cpfs://cpfs-213\\*\\*\\*\\*87.cn-wulanchabu/ptc-292\\*\\*\\*\\*\\*cbb/exp-290\\*\\*\\*\\*\\*\\*\\*\\*03e/data/path/
2800
+ * * Lingjun CPFS: bmcpfs://cpfs-290\\*\\*\\*\\*\\*\\*foflh-vpc-x\\*\\*\\*\\*8r.cn-wulanchabu.cpfs.aliyuncs.com/data/path/
2801
+ *
1870
2802
  * @example
1871
- * oss://bucket.oss-cn-shanghai.aliyuncs.com/data/path/
2803
+ * oss://bucket-name.oss-cn-shanghai-internal.aliyuncs.com/data/path/
1872
2804
  */
1873
2805
  uri?: string;
1874
2806
  static names(): {
@@ -1884,26 +2816,41 @@ export declare class UpdateInstanceRequestDatasets extends $dara.Model {
1884
2816
  }
1885
2817
  export declare class UpdateInstanceRequestRequestedResource extends $dara.Model {
1886
2818
  /**
2819
+ * @remarks
2820
+ * The number of vCPU cores.
2821
+ *
1887
2822
  * @example
1888
2823
  * 32
1889
2824
  */
1890
2825
  CPU?: string;
1891
2826
  /**
2827
+ * @remarks
2828
+ * The number of GPUs.
2829
+ *
1892
2830
  * @example
1893
2831
  * 4
1894
2832
  */
1895
2833
  GPU?: string;
1896
2834
  /**
2835
+ * @remarks
2836
+ * The GPU type.
2837
+ *
1897
2838
  * @example
1898
2839
  * v100
1899
2840
  */
1900
2841
  GPUType?: string;
1901
2842
  /**
2843
+ * @remarks
2844
+ * The memory size. Unit: GB.
2845
+ *
1902
2846
  * @example
1903
2847
  * 32
1904
2848
  */
1905
2849
  memory?: string;
1906
2850
  /**
2851
+ * @remarks
2852
+ * The shared memory size. Unit: GB.
2853
+ *
1907
2854
  * @example
1908
2855
  * 32
1909
2856
  */
@@ -1920,28 +2867,54 @@ export declare class UpdateInstanceRequestRequestedResource extends $dara.Model
1920
2867
  });
1921
2868
  }
1922
2869
  export declare class UpdateInstanceRequestUserVpc extends $dara.Model {
2870
+ bandwidthLimit?: BandwidthLimit;
1923
2871
  /**
2872
+ * @remarks
2873
+ * The default route. Valid values:
2874
+ *
2875
+ * * eth0: The default network interface is used to access the Internet through the public gateway.
2876
+ * * eth1: The user\\"s Elastic Network Interface is used to access the Internet through the private gateway.
2877
+ *
1924
2878
  * @example
1925
- * eth0 | eth1
2879
+ * eth0
1926
2880
  */
1927
2881
  defaultRoute?: string;
1928
2882
  /**
2883
+ * @remarks
2884
+ * The extended CIDR blocks.
2885
+ *
2886
+ * * If you leave VSwitchId empty, this parameter is not required and the system automatically obtains all CIDR blocks in the VPC.
2887
+ * * If VSwitchId is not empty, this parameter is required. Specify all CIDR blocks in the VPC.
2888
+ *
1929
2889
  * @example
1930
2890
  * ["192.168.0.1/24", "192.168.1.1/24"]
1931
2891
  */
1932
2892
  extendedCIDRs?: string[];
2893
+ /**
2894
+ * @remarks
2895
+ * The forward configuration of the instance.
2896
+ */
1933
2897
  forwardInfos?: ForwardInfo[];
1934
2898
  /**
2899
+ * @remarks
2900
+ * The security group ID.
2901
+ *
1935
2902
  * @example
1936
2903
  * sg-xxxxxx
1937
2904
  */
1938
2905
  securityGroupId?: string;
1939
2906
  /**
2907
+ * @remarks
2908
+ * The vSwitch ID.
2909
+ *
1940
2910
  * @example
1941
2911
  * vsw-xxxxx
1942
2912
  */
1943
2913
  vSwitchId?: string;
1944
2914
  /**
2915
+ * @remarks
2916
+ * The VPC ID.
2917
+ *
1945
2918
  * @example
1946
2919
  * vpc-xxxxx
1947
2920
  */
@@ -1960,6 +2933,8 @@ export declare class UpdateInstanceRequestUserVpc extends $dara.Model {
1960
2933
  export declare class UpdateInstanceLabelsRequestLabels extends $dara.Model {
1961
2934
  /**
1962
2935
  * @remarks
2936
+ * The key of the custom tag.
2937
+ *
1963
2938
  * This parameter is required.
1964
2939
  *
1965
2940
  * @example
@@ -1968,6 +2943,8 @@ export declare class UpdateInstanceLabelsRequestLabels extends $dara.Model {
1968
2943
  key?: string;
1969
2944
  /**
1970
2945
  * @remarks
2946
+ * The value of the custom tag.
2947
+ *
1971
2948
  * This parameter is required.
1972
2949
  *
1973
2950
  * @example
@@ -1985,6 +2962,22 @@ export declare class UpdateInstanceLabelsRequestLabels extends $dara.Model {
1985
2962
  [key: string]: any;
1986
2963
  });
1987
2964
  }
2965
+ export declare class BandwidthLimit extends $dara.Model {
2966
+ egressRate?: string;
2967
+ egressWhitelists?: string[];
2968
+ ingressRate?: string;
2969
+ ingressWhitelists?: string[];
2970
+ static names(): {
2971
+ [key: string]: string;
2972
+ };
2973
+ static types(): {
2974
+ [key: string]: any;
2975
+ };
2976
+ validate(): void;
2977
+ constructor(map?: {
2978
+ [key: string]: any;
2979
+ });
2980
+ }
1988
2981
  export declare class CredentialConfig extends $dara.Model {
1989
2982
  /**
1990
2983
  * @example
@@ -2036,6 +3029,38 @@ export declare class DemoCategory extends $dara.Model {
2036
3029
  [key: string]: any;
2037
3030
  });
2038
3031
  }
3032
+ export declare class DynamicMount extends $dara.Model {
3033
+ enable?: boolean;
3034
+ mountPoints?: DynamicMountPoint[];
3035
+ static names(): {
3036
+ [key: string]: string;
3037
+ };
3038
+ static types(): {
3039
+ [key: string]: any;
3040
+ };
3041
+ validate(): void;
3042
+ constructor(map?: {
3043
+ [key: string]: any;
3044
+ });
3045
+ }
3046
+ export declare class DynamicMountPoint extends $dara.Model {
3047
+ options?: string;
3048
+ /**
3049
+ * @remarks
3050
+ * This parameter is required.
3051
+ */
3052
+ rootPath?: string;
3053
+ static names(): {
3054
+ [key: string]: string;
3055
+ };
3056
+ static types(): {
3057
+ [key: string]: any;
3058
+ };
3059
+ validate(): void;
3060
+ constructor(map?: {
3061
+ [key: string]: any;
3062
+ });
3063
+ }
2039
3064
  export declare class ForwardInfo extends $dara.Model {
2040
3065
  accessType?: string[];
2041
3066
  /**
@@ -2137,16 +3162,25 @@ export declare class ForwardInfoResponse extends $dara.Model {
2137
3162
  }
2138
3163
  export declare class CreateIdleInstanceCullerRequest extends $dara.Model {
2139
3164
  /**
3165
+ * @remarks
3166
+ * The CPU utilization threshold. Unit: percentage. Valid values: 1 to 100. If the CPU utilization of the instance is lower than this threshold, the instance is considered idle.
3167
+ *
2140
3168
  * @example
2141
3169
  * 20
2142
3170
  */
2143
3171
  cpuPercentThreshold?: number;
2144
3172
  /**
3173
+ * @remarks
3174
+ * The GPU utilization threshold. Unit: percentage. Valid values: 1 to 100. This parameter takes effect only if the instance is of the GPU instance type. If both CPU and GPU utilization is lower than the thresholds, the instance is considered idle.
3175
+ *
2145
3176
  * @example
2146
3177
  * 10
2147
3178
  */
2148
3179
  gpuPercentThreshold?: number;
2149
3180
  /**
3181
+ * @remarks
3182
+ * The maximum time duration for which the instance is idle. Unit: minutes. If the time duration for which the instance is idle exceeds this value, the system automatically stops the instance.
3183
+ *
2150
3184
  * @example
2151
3185
  * 60
2152
3186
  */
@@ -2164,26 +3198,47 @@ export declare class CreateIdleInstanceCullerRequest extends $dara.Model {
2164
3198
  }
2165
3199
  export declare class CreateIdleInstanceCullerResponseBody extends $dara.Model {
2166
3200
  /**
3201
+ * @remarks
3202
+ * The status code. Valid values:
3203
+ *
3204
+ * * InternalError: an internal error. All errors, except for parameter validation errors, are classified as internal errors.
3205
+ * * ValidationError: a parameter validation error.
3206
+ *
2167
3207
  * @example
2168
3208
  * null
2169
3209
  */
2170
3210
  code?: string;
2171
3211
  /**
3212
+ * @remarks
3213
+ * The instance ID.
3214
+ *
2172
3215
  * @example
2173
3216
  * dsw-730xxxxxxxxxx
2174
3217
  */
2175
3218
  instanceId?: string;
2176
3219
  /**
3220
+ * @remarks
3221
+ * The error message.
3222
+ *
2177
3223
  * @example
2178
3224
  * "XXX"
2179
3225
  */
2180
3226
  message?: string;
2181
3227
  /**
3228
+ * @remarks
3229
+ * The request ID.
3230
+ *
2182
3231
  * @example
2183
3232
  * E7D55162-4489-1619-AAF5-3F97D5FCA948
2184
3233
  */
2185
3234
  requestId?: string;
2186
3235
  /**
3236
+ * @remarks
3237
+ * Indicates whether the request was successful. Valid values:
3238
+ *
3239
+ * * true
3240
+ * * false
3241
+ *
2187
3242
  * @example
2188
3243
  * true
2189
3244
  */
@@ -2218,86 +3273,186 @@ export declare class CreateIdleInstanceCullerResponse extends $dara.Model {
2218
3273
  }
2219
3274
  export declare class CreateInstanceRequest extends $dara.Model {
2220
3275
  /**
3276
+ * @remarks
3277
+ * The instance accessibility.
3278
+ *
3279
+ * Valid values:
3280
+ *
3281
+ * * PUBLIC: The instances are accessible to all members in the workspace.
3282
+ * * PRIVATE: The instances are accessible only to you and the administrator of the workspace.
3283
+ *
2221
3284
  * @example
2222
3285
  * PRIVATE
2223
3286
  */
2224
3287
  accessibility?: string;
3288
+ /**
3289
+ * @remarks
3290
+ * The affinity configuration.
3291
+ */
2225
3292
  affinity?: CreateInstanceRequestAffinity;
2226
3293
  /**
3294
+ * @remarks
3295
+ * The cloud disks.
3296
+ *
2227
3297
  * @example
2228
3298
  * []
2229
3299
  */
2230
3300
  cloudDisks?: CreateInstanceRequestCloudDisks[];
3301
+ /**
3302
+ * @remarks
3303
+ * The credential configuration.
3304
+ */
2231
3305
  credentialConfig?: CredentialConfig;
3306
+ /**
3307
+ * @remarks
3308
+ * The datasets.
3309
+ */
2232
3310
  datasets?: CreateInstanceRequestDatasets[];
2233
3311
  /**
3312
+ * @remarks
3313
+ * The NVIDIA driver configuration.
3314
+ *
2234
3315
  * @example
2235
3316
  * 535.54.03
2236
3317
  */
2237
3318
  driver?: string;
2238
3319
  /**
3320
+ * @remarks
3321
+ * The dynamic mount configuration.
3322
+ */
3323
+ dynamicMount?: DynamicMount;
3324
+ /**
3325
+ * @remarks
3326
+ * The ECS instance type of the instance. You can call [ListEcsSpecs](https://help.aliyun.com/document_detail/470423.html) to obtain the ECS instance type.
3327
+ *
2239
3328
  * @example
2240
3329
  * ecs.c6.large
2241
3330
  */
2242
3331
  ecsSpec?: string;
2243
3332
  /**
3333
+ * @remarks
3334
+ * The environment variables.
3335
+ *
2244
3336
  * @example
2245
3337
  * {userName: "Chris"}
2246
3338
  */
2247
3339
  environmentVariables?: {
2248
3340
  [key: string]: string;
2249
3341
  };
3342
+ /**
3343
+ * @remarks
3344
+ * The Base64-encoded account and password for the user\\"s private image. The password will be hidden.
3345
+ *
3346
+ * @example
3347
+ * ****
3348
+ */
2250
3349
  imageAuth?: string;
2251
3350
  /**
3351
+ * @remarks
3352
+ * The image ID. You can call [ListImages](https://help.aliyun.com/document_detail/449118.html) to obtain the image ID.
3353
+ *
2252
3354
  * @example
2253
3355
  * image-05cefd0be2exxxx
2254
3356
  */
2255
3357
  imageId?: string;
2256
3358
  /**
3359
+ * @remarks
3360
+ * The image address. You can call [ListImages](https://help.aliyun.com/document_detail/449118.html) to obtain the image address.
3361
+ *
2257
3362
  * @example
2258
3363
  * registry.cn-shanghai.aliyuncs.com/pai_product/tensorflow:py36_cpu_tf1.12_ubuntu
2259
3364
  */
2260
3365
  imageUrl?: string;
2261
3366
  /**
3367
+ * @remarks
3368
+ * The instance name. The name must meet the following requirements:
3369
+ *
3370
+ * * The name can contain only letters, digits, and underscores (_).
3371
+ * * The name can be up to 27 characters in length.
3372
+ *
2262
3373
  * @example
2263
3374
  * training_data
2264
3375
  */
2265
3376
  instanceName?: string;
2266
3377
  /**
3378
+ * @remarks
3379
+ * The custom labels.
3380
+ *
2267
3381
  * @example
2268
3382
  * {\\"foo\\": \\"bar\\"}
2269
3383
  */
2270
3384
  labels?: CreateInstanceRequestLabels[];
2271
3385
  /**
3386
+ * @remarks
3387
+ * The priority based on which resources are allocated to instances. Valid values: 1 to 9.
3388
+ *
3389
+ * * 1: the lowest priority.
3390
+ * * 9: the highest priority.
3391
+ *
2272
3392
  * @example
2273
3393
  * 1
2274
3394
  */
2275
3395
  priority?: number;
2276
3396
  /**
3397
+ * @remarks
3398
+ * The resource configurations.
3399
+ *
2277
3400
  * @example
2278
3401
  * {"CPU":"4","Memory":"8Gi","SharedMemory":"4Gi","GPU":"1","GPUType":"Tesla-V100-16G"}
2279
3402
  */
2280
3403
  requestedResource?: CreateInstanceRequestRequestedResource;
2281
3404
  /**
3405
+ * @remarks
3406
+ * The ID of the resource group. This parameter is configured during prepayment. For information about how to create a dedicated resource group, see [Create a dedicated resource group and purchase general computing resources](https://help.aliyun.com/document_detail/202827.html).
3407
+ *
2282
3408
  * @example
2283
3409
  * dsw-123456789
2284
3410
  */
2285
3411
  resourceId?: string;
3412
+ /**
3413
+ * @remarks
3414
+ * The tags.
3415
+ */
2286
3416
  tag?: CreateInstanceRequestTag[];
2287
3417
  /**
3418
+ * @remarks
3419
+ * The ID of the instance owner. Valid values: Alibaba Cloud account and RAM user.
3420
+ *
2288
3421
  * @example
2289
- * 1612285282502324
3422
+ * 161228528250****
2290
3423
  */
2291
3424
  userId?: string;
3425
+ /**
3426
+ * @remarks
3427
+ * The virtual private cloud (VPC) configurations.
3428
+ */
2292
3429
  userVpc?: CreateInstanceRequestUserVpc;
2293
3430
  /**
3431
+ * @remarks
3432
+ * The workspace ID. You can call [ListWorkspaces](https://help.aliyun.com/document_detail/449124.html) to obtain the workspace ID.
3433
+ *
2294
3434
  * @example
2295
3435
  * 40823
2296
3436
  */
2297
3437
  workspaceId?: string;
2298
3438
  /**
3439
+ * @remarks
3440
+ * The storage corresponding to the working directory. You can mount disks or datasets to /mnt/workspace at the same time. OSS datasets and dynamically mounted datasets are not supported.
3441
+ *
3442
+ * Valid values:
3443
+ *
3444
+ * * rootfsCloudDisk: Mount the disk to the working directory.
3445
+ * * Mount path of the dataset, such as /mnt/data: Datasets in URI format only support this method.
3446
+ * * Dataset ID, such as d-vsqjvs\\*\\*\\*\\*rp5l206u: If a single dataset is mounted to multiple paths, the first path is selected. We recommend that you do not use this method, use the mount path instead.
3447
+ *
3448
+ * If you leave this parameter empty:
3449
+ *
3450
+ * * If the instance uses cloud disks, cloud disks are selected by default.
3451
+ * * if no cloud disks are available, the first NAS or CPFS dataset is selected as the working directory.
3452
+ * * If no cloud disks, and NAS or CPFS datasets are available, the host space is used.
3453
+ *
2299
3454
  * @example
2300
- * d-123456789
3455
+ * rootfsCloudDisk
2301
3456
  */
2302
3457
  workspaceSource?: string;
2303
3458
  static names(): {
@@ -2313,31 +3468,59 @@ export declare class CreateInstanceRequest extends $dara.Model {
2313
3468
  }
2314
3469
  export declare class CreateInstanceResponseBody extends $dara.Model {
2315
3470
  /**
3471
+ * @remarks
3472
+ * The status code. Valid values:
3473
+ *
3474
+ * * InternalError: an internal error. All errors, except for parameter validation errors, are classified as internal errors.
3475
+ * * ValidationError: a parameter validation error.
3476
+ *
2316
3477
  * @example
2317
3478
  * null
2318
3479
  */
2319
3480
  code?: string;
2320
3481
  /**
3482
+ * @remarks
3483
+ * The HTTP status code. Valid values:
3484
+ *
3485
+ * * 400
3486
+ * * 404
3487
+ * * 200
3488
+ *
2321
3489
  * @example
2322
3490
  * null
2323
3491
  */
2324
3492
  httpStatusCode?: number;
2325
3493
  /**
3494
+ * @remarks
3495
+ * The instance ID.
3496
+ *
2326
3497
  * @example
2327
3498
  * dsw-730xxxxxxxxxx
2328
3499
  */
2329
3500
  instanceId?: string;
2330
3501
  /**
3502
+ * @remarks
3503
+ * The response message.
3504
+ *
2331
3505
  * @example
2332
3506
  * "XXX"
2333
3507
  */
2334
3508
  message?: string;
2335
3509
  /**
3510
+ * @remarks
3511
+ * The request ID.
3512
+ *
2336
3513
  * @example
2337
3514
  * E7D55162-4489-1619-AAF5-3F97D5FCA948
2338
3515
  */
2339
3516
  requestId?: string;
2340
3517
  /**
3518
+ * @remarks
3519
+ * Indicates whether the request was successful. Valid values:
3520
+ *
3521
+ * * true
3522
+ * * false
3523
+ *
2341
3524
  * @example
2342
3525
  * true
2343
3526
  */
@@ -2372,11 +3555,17 @@ export declare class CreateInstanceResponse extends $dara.Model {
2372
3555
  }
2373
3556
  export declare class CreateInstanceShutdownTimerRequest extends $dara.Model {
2374
3557
  /**
3558
+ * @remarks
3559
+ * The scheduled stop time.
3560
+ *
2375
3561
  * @example
2376
3562
  * 2021-01-12T14:36:01Z
2377
3563
  */
2378
3564
  dueTime?: string;
2379
3565
  /**
3566
+ * @remarks
3567
+ * The time duration before the instance is stopped. Unit: milliseconds.
3568
+ *
2380
3569
  * @example
2381
3570
  * 3600000
2382
3571
  */
@@ -2394,31 +3583,58 @@ export declare class CreateInstanceShutdownTimerRequest extends $dara.Model {
2394
3583
  }
2395
3584
  export declare class CreateInstanceShutdownTimerResponseBody extends $dara.Model {
2396
3585
  /**
3586
+ * @remarks
3587
+ * The status code. Valid values:
3588
+ *
3589
+ * * InternalError: an internal error. All errors, except for parameter validation errors, are classified as internal errors.
3590
+ * * ValidationError: a parameter validation error.
3591
+ *
2397
3592
  * @example
2398
3593
  * null
2399
3594
  */
2400
3595
  code?: string;
2401
3596
  /**
3597
+ * @remarks
3598
+ * The HTTP status code. Valid values:
3599
+ *
3600
+ * * 400
3601
+ * * 404
3602
+ *
2402
3603
  * @example
2403
3604
  * null
2404
3605
  */
2405
3606
  httpStatusCode?: number;
2406
3607
  /**
3608
+ * @remarks
3609
+ * The instance ID.
3610
+ *
2407
3611
  * @example
2408
3612
  * dsw-730xxxxxxxxxx
2409
3613
  */
2410
3614
  instanceId?: string;
2411
3615
  /**
3616
+ * @remarks
3617
+ * The response message.
3618
+ *
2412
3619
  * @example
2413
3620
  * "XXX"
2414
3621
  */
2415
3622
  message?: string;
2416
3623
  /**
3624
+ * @remarks
3625
+ * The request ID.
3626
+ *
2417
3627
  * @example
2418
3628
  * E7D55162-4489-1619-AAF5-3F97D5FCA948
2419
3629
  */
2420
3630
  requestId?: string;
2421
3631
  /**
3632
+ * @remarks
3633
+ * Indicates whether the request was successful. Valid values:
3634
+ *
3635
+ * * true
3636
+ * * false
3637
+ *
2422
3638
  * @example
2423
3639
  * true
2424
3640
  */
@@ -2557,26 +3773,50 @@ export declare class CreateInstanceSnapshotResponse extends $dara.Model {
2557
3773
  }
2558
3774
  export declare class DeleteIdleInstanceCullerResponseBody extends $dara.Model {
2559
3775
  /**
3776
+ * @remarks
3777
+ * The status code. Valid values:
3778
+ *
3779
+ * * InternalError: an internal error. All errors, except for parameter validation errors, are classified as internal errors.
3780
+ * * ValidationError: a parameter validation error.
3781
+ *
2560
3782
  * @example
2561
3783
  * ValidationError
2562
3784
  */
2563
3785
  code?: string;
2564
3786
  /**
3787
+ * @remarks
3788
+ * The instance ID.
3789
+ *
2565
3790
  * @example
2566
3791
  * dsw-730xxxxxxxxxx
2567
3792
  */
2568
3793
  instanceId?: string;
2569
3794
  /**
3795
+ * @remarks
3796
+ * The response message.
3797
+ *
3798
+ * * If the request is successful, null is returned.
3799
+ * * If the request fails, the failure cause is returned.
3800
+ *
2570
3801
  * @example
2571
3802
  * "XXX"
2572
3803
  */
2573
3804
  message?: string;
2574
3805
  /**
3806
+ * @remarks
3807
+ * The request ID.
3808
+ *
2575
3809
  * @example
2576
3810
  * E7D55162-4489-1619-AAF5-3F97D5FCA948
2577
3811
  */
2578
3812
  requestId?: string;
2579
3813
  /**
3814
+ * @remarks
3815
+ * Indicates whether the request was successful. Valid values:
3816
+ *
3817
+ * * true
3818
+ * * false
3819
+ *
2580
3820
  * @example
2581
3821
  * true
2582
3822
  */
@@ -2611,31 +3851,59 @@ export declare class DeleteIdleInstanceCullerResponse extends $dara.Model {
2611
3851
  }
2612
3852
  export declare class DeleteInstanceResponseBody extends $dara.Model {
2613
3853
  /**
3854
+ * @remarks
3855
+ * The status code. Valid values:
3856
+ *
3857
+ * * InternalError: an internal error. All errors, except for parameter validation errors, are classified as internal errors.
3858
+ * * ValidationError: a parameter validation error.
3859
+ *
2614
3860
  * @example
2615
3861
  * null
2616
3862
  */
2617
3863
  code?: string;
2618
3864
  /**
3865
+ * @remarks
3866
+ * The HTTP status code. Valid values:
3867
+ *
3868
+ * * 400
3869
+ * * 404
3870
+ * * 200
3871
+ *
2619
3872
  * @example
2620
3873
  * null
2621
3874
  */
2622
3875
  httpStatusCode?: number;
2623
3876
  /**
3877
+ * @remarks
3878
+ * The instance ID.
3879
+ *
2624
3880
  * @example
2625
3881
  * dsw-730xxxxxxxxxx
2626
3882
  */
2627
3883
  instanceId?: string;
2628
3884
  /**
3885
+ * @remarks
3886
+ * The response message.
3887
+ *
2629
3888
  * @example
2630
3889
  * "XXX"
2631
3890
  */
2632
3891
  message?: string;
2633
3892
  /**
3893
+ * @remarks
3894
+ * The request ID.
3895
+ *
2634
3896
  * @example
2635
3897
  * E7D55162-4489-1619-AAF5-3F97D5FCA948
2636
3898
  */
2637
3899
  requestId?: string;
2638
3900
  /**
3901
+ * @remarks
3902
+ * Indicates whether the request was successful.
3903
+ *
3904
+ * * true
3905
+ * * false
3906
+ *
2639
3907
  * @example
2640
3908
  * true
2641
3909
  */
@@ -2671,6 +3939,8 @@ export declare class DeleteInstanceResponse extends $dara.Model {
2671
3939
  export declare class DeleteInstanceLabelsRequest extends $dara.Model {
2672
3940
  /**
2673
3941
  * @remarks
3942
+ * The keys of the tags that you want to delete. Separate multiple tags with commas (,).
3943
+ *
2674
3944
  * This parameter is required.
2675
3945
  *
2676
3946
  * @example
@@ -2690,6 +3960,9 @@ export declare class DeleteInstanceLabelsRequest extends $dara.Model {
2690
3960
  }
2691
3961
  export declare class DeleteInstanceLabelsResponseBody extends $dara.Model {
2692
3962
  /**
3963
+ * @remarks
3964
+ * The request ID.
3965
+ *
2693
3966
  * @example
2694
3967
  * 473469C7-AA6F-4DC5-B3DB-A3DC0DE3****
2695
3968
  */
@@ -2724,31 +3997,58 @@ export declare class DeleteInstanceLabelsResponse extends $dara.Model {
2724
3997
  }
2725
3998
  export declare class DeleteInstanceShutdownTimerResponseBody extends $dara.Model {
2726
3999
  /**
4000
+ * @remarks
4001
+ * The status code. Valid values:
4002
+ *
4003
+ * * InternalError: an internal error. All errors, except for parameter validation errors, are classified as internal errors.
4004
+ * * ValidationError: a parameter validation error.
4005
+ *
2727
4006
  * @example
2728
4007
  * null
2729
4008
  */
2730
4009
  code?: string;
2731
4010
  /**
4011
+ * @remarks
4012
+ * The HTTP status code. Valid values:
4013
+ *
4014
+ * * 400
4015
+ * * 404
4016
+ *
2732
4017
  * @example
2733
4018
  * null
2734
4019
  */
2735
4020
  httpStatusCode?: number;
2736
4021
  /**
4022
+ * @remarks
4023
+ * The instance ID.
4024
+ *
2737
4025
  * @example
2738
4026
  * dsw-730xxxxxxxxxx
2739
4027
  */
2740
4028
  instanceId?: string;
2741
4029
  /**
4030
+ * @remarks
4031
+ * The response message.
4032
+ *
2742
4033
  * @example
2743
4034
  * "XXX"
2744
4035
  */
2745
4036
  message?: string;
2746
4037
  /**
4038
+ * @remarks
4039
+ * The request ID.
4040
+ *
2747
4041
  * @example
2748
4042
  * E7D55162-4489-1619-AAF5-3F97D5FCA948
2749
4043
  */
2750
4044
  requestId?: string;
2751
4045
  /**
4046
+ * @remarks
4047
+ * Indicates whether the request was successful. Valid values:
4048
+ *
4049
+ * * true
4050
+ * * false
4051
+ *
2752
4052
  * @example
2753
4053
  * true
2754
4054
  */
@@ -2847,46 +4147,79 @@ export declare class DeleteInstanceSnapshotResponse extends $dara.Model {
2847
4147
  }
2848
4148
  export declare class GetIdleInstanceCullerResponseBody extends $dara.Model {
2849
4149
  /**
4150
+ * @remarks
4151
+ * The status code. Valid values:
4152
+ *
4153
+ * * InternalError: an internal error. All errors, except for parameter validation errors, are classified as internal errors.
4154
+ * * ValidationError: a parameter validation error.
4155
+ *
2850
4156
  * @example
2851
4157
  * ValidationError
2852
4158
  */
2853
4159
  code?: string;
2854
4160
  /**
4161
+ * @remarks
4162
+ * The CPU utilization threshold. Unit: percentage. Valid values: 1 to 100. If the CPU utilization of the instance is lower than this threshold, the instance is considered idle.
4163
+ *
2855
4164
  * @example
2856
4165
  * 20
2857
4166
  */
2858
4167
  cpuPercentThreshold?: number;
2859
4168
  /**
4169
+ * @remarks
4170
+ * The GPU utilization threshold. Unit: percentage. Valid values: 1 to 100. This parameter takes effect only if the instance is of the GPU instance type. If both CPU and GPU utilization is lower than the thresholds, the instance is considered idle.
4171
+ *
2860
4172
  * @example
2861
4173
  * 10
2862
4174
  */
2863
4175
  gpuPercentThreshold?: number;
2864
4176
  /**
4177
+ * @remarks
4178
+ * The time duration for which the instance is idle. Unit: minutes.
4179
+ *
2865
4180
  * @example
2866
4181
  * 30
2867
4182
  */
2868
4183
  idleTimeInMinutes?: number;
2869
4184
  /**
4185
+ * @remarks
4186
+ * The instance ID.
4187
+ *
2870
4188
  * @example
2871
4189
  * dsw-730xxxxxxxxxx
2872
4190
  */
2873
4191
  instanceId?: string;
2874
4192
  /**
4193
+ * @remarks
4194
+ * The maximum time duration for which the instance is idle. Unit: minutes. If the time duration for which the instance is idle exceeds this value, the system automatically stops the instance.
4195
+ *
2875
4196
  * @example
2876
4197
  * 60
2877
4198
  */
2878
4199
  maxIdleTimeInMinutes?: number;
2879
4200
  /**
4201
+ * @remarks
4202
+ * The error message.
4203
+ *
2880
4204
  * @example
2881
4205
  * "XXX"
2882
4206
  */
2883
4207
  message?: string;
2884
4208
  /**
4209
+ * @remarks
4210
+ * The request ID.
4211
+ *
2885
4212
  * @example
2886
4213
  * E7D55162-4489-1619-AAF5-3F97D5FCA948
2887
4214
  */
2888
4215
  requestId?: string;
2889
4216
  /**
4217
+ * @remarks
4218
+ * Indicates whether the request was successful.
4219
+ *
4220
+ * * true
4221
+ * * false
4222
+ *
2890
4223
  * @example
2891
4224
  * true
2892
4225
  */
@@ -2920,6 +4253,13 @@ export declare class GetIdleInstanceCullerResponse extends $dara.Model {
2920
4253
  });
2921
4254
  }
2922
4255
  export declare class GetInstanceRequest extends $dara.Model {
4256
+ /**
4257
+ * @remarks
4258
+ * The sharing token information.
4259
+ *
4260
+ * @example
4261
+ * WUzWCMr325LV0bH2JH4C4HoDaKIU6C4S
4262
+ */
2923
4263
  token?: string;
2924
4264
  static names(): {
2925
4265
  [key: string]: string;
@@ -2934,44 +4274,96 @@ export declare class GetInstanceRequest extends $dara.Model {
2934
4274
  }
2935
4275
  export declare class GetInstanceResponseBody extends $dara.Model {
2936
4276
  /**
4277
+ * @remarks
4278
+ * The accelerator type of the instance.
4279
+ *
4280
+ * Valid values:
4281
+ *
4282
+ * * CPU
4283
+ * * GPU
4284
+ *
2937
4285
  * @example
2938
4286
  * CPU
2939
4287
  */
2940
4288
  acceleratorType?: string;
2941
4289
  /**
4290
+ * @remarks
4291
+ * The accessibility. Valid values:
4292
+ *
4293
+ * * PRIVATE: Accessible only to you and the administrator of the workspace.
4294
+ * * PUBLIC: Accessible to all members in the workspace.
4295
+ *
2942
4296
  * @example
2943
4297
  * PRIVATE
2944
4298
  */
2945
4299
  accessibility?: string;
2946
4300
  /**
4301
+ * @remarks
4302
+ * The accumulated running duration. Unit: milliseconds.
4303
+ *
2947
4304
  * @example
2948
4305
  * 3600000
2949
4306
  */
2950
4307
  accumulatedRunningTimeInMs?: number;
4308
+ /**
4309
+ * @remarks
4310
+ * The affinity configuration.
4311
+ */
2951
4312
  affinity?: GetInstanceResponseBodyAffinity;
2952
4313
  /**
4314
+ * @remarks
4315
+ * The cloud disks of the instance.
4316
+ *
2953
4317
  * @example
2954
4318
  * []
2955
4319
  */
2956
4320
  cloudDisks?: GetInstanceResponseBodyCloudDisks[];
2957
4321
  /**
4322
+ * @remarks
4323
+ * The status code. Valid values:
4324
+ *
4325
+ * * InternalError: All errors, except for parameter validation errors, are internal errors.
4326
+ * * ValidationError: A parameter validation error.
4327
+ *
2958
4328
  * @example
2959
4329
  * null
2960
4330
  */
2961
4331
  code?: string;
4332
+ /**
4333
+ * @remarks
4334
+ * The credential injection configuration.
4335
+ */
2962
4336
  credentialConfig?: CredentialConfig;
4337
+ /**
4338
+ * @remarks
4339
+ * The datasets.
4340
+ */
2963
4341
  datasets?: GetInstanceResponseBodyDatasets[];
2964
4342
  /**
4343
+ * @remarks
4344
+ * The NVIDIA driver configuration.
4345
+ *
2965
4346
  * @example
2966
4347
  * 535.54.03
2967
4348
  */
2968
4349
  driver?: string;
2969
4350
  /**
4351
+ * @remarks
4352
+ * The dynamic mount configuration.
4353
+ */
4354
+ dynamicMount?: DynamicMount;
4355
+ /**
4356
+ * @remarks
4357
+ * The ECS instance type of the instance.
4358
+ *
2970
4359
  * @example
2971
4360
  * ecs.c6.large
2972
4361
  */
2973
4362
  ecsSpec?: string;
2974
4363
  /**
4364
+ * @remarks
4365
+ * The environment variables.
4366
+ *
2975
4367
  * @example
2976
4368
  * {userName: "Chris"}
2977
4369
  */
@@ -2979,169 +4371,323 @@ export declare class GetInstanceResponseBody extends $dara.Model {
2979
4371
  [key: string]: string;
2980
4372
  };
2981
4373
  /**
4374
+ * @remarks
4375
+ * The creation time of the instance.
4376
+ *
2982
4377
  * @example
2983
4378
  * 2021-01-12T14:36:01Z
2984
4379
  */
2985
4380
  gmtCreateTime?: string;
2986
4381
  /**
4382
+ * @remarks
4383
+ * The last modified time of the instance.
4384
+ *
2987
4385
  * @example
2988
4386
  * 2021-01-12T14:36:01Z
2989
4387
  */
2990
4388
  gmtModifiedTime?: string;
2991
4389
  /**
4390
+ * @remarks
4391
+ * The HTTP status code. Valid values:
4392
+ *
4393
+ * * 400
4394
+ * * 404
4395
+ *
2992
4396
  * @example
2993
4397
  * null
2994
4398
  */
2995
4399
  httpStatusCode?: number;
2996
4400
  /**
4401
+ * @remarks
4402
+ * The automatic shutdown settings.
4403
+ *
2997
4404
  * @example
2998
4405
  * {"InstanceId":"dsw-05cefd0be2e5a278","CpuPercentThreshold":20,"GpuPercentThreshold":10,"MaxIdleTimeInMinutes":120,"IdleTimeInMinutes":30}
2999
4406
  */
3000
4407
  idleInstanceCuller?: GetInstanceResponseBodyIdleInstanceCuller;
4408
+ /**
4409
+ * @remarks
4410
+ * The Base64-encoded account and password for the user‘s private image. The password will be hidden.
4411
+ *
4412
+ * @example
4413
+ * YWxpeXVuNjUzMzM5MjIwMzoqKioqKio=
4414
+ */
3001
4415
  imageAuth?: string;
3002
4416
  /**
4417
+ * @remarks
4418
+ * The image ID.
4419
+ *
3003
4420
  * @example
3004
4421
  * image-05cefd0be2exxxx
3005
4422
  */
3006
4423
  imageId?: string;
3007
4424
  /**
4425
+ * @remarks
4426
+ * The image name.
4427
+ *
3008
4428
  * @example
3009
4429
  * py36_cpu_tf1.12_ubuntu
3010
4430
  */
3011
4431
  imageName?: string;
3012
4432
  /**
4433
+ * @remarks
4434
+ * The image address.
4435
+ *
3013
4436
  * @example
3014
4437
  * registry.cn-shanghai.aliyuncs.com/pai_product/tensorflow:py36_cpu_tf1.12_ubuntu
3015
4438
  */
3016
4439
  imageUrl?: string;
3017
4440
  /**
4441
+ * @remarks
4442
+ * The instance ID.
4443
+ *
3018
4444
  * @example
3019
4445
  * dsw-730xxxxxxxxxx
3020
4446
  */
3021
4447
  instanceId?: string;
3022
4448
  /**
4449
+ * @remarks
4450
+ * The instance name.
4451
+ *
3023
4452
  * @example
3024
4453
  * training_data
3025
4454
  */
3026
4455
  instanceName?: string;
4456
+ /**
4457
+ * @remarks
4458
+ * The scheduled stop tasks.
4459
+ */
3027
4460
  instanceShutdownTimer?: GetInstanceResponseBodyInstanceShutdownTimer;
3028
4461
  /**
4462
+ * @remarks
4463
+ * The instance snapshots.
4464
+ *
3029
4465
  * @example
3030
4466
  * []
3031
4467
  */
3032
4468
  instanceSnapshotList?: GetInstanceResponseBodyInstanceSnapshotList[];
3033
4469
  /**
4470
+ * @remarks
4471
+ * The instance URL.
4472
+ *
3034
4473
  * @example
3035
4474
  * https://dsw-cn-shanghai.data.aliyun.com/notebook.htm?instance=39772#/
3036
4475
  */
3037
4476
  instanceUrl?: string;
3038
4477
  /**
3039
4478
  * @remarks
3040
- * Jupyterlab Url。
4479
+ * The JupyterLab URL.
3041
4480
  *
3042
4481
  * @example
3043
4482
  * https://dsw-gateway-cn-shanghai.aliyun.com/dsw-39772/lab/
3044
4483
  */
3045
4484
  jupyterlabUrl?: string;
3046
4485
  /**
4486
+ * @remarks
4487
+ * The custom tags.
4488
+ *
3047
4489
  * @example
3048
4490
  * {\\"foo\\": \\"bar\\"}
3049
4491
  */
3050
4492
  labels?: GetInstanceResponseBodyLabels[];
4493
+ /**
4494
+ * @remarks
4495
+ * The latest user image saved.
4496
+ */
3051
4497
  latestSnapshot?: GetInstanceResponseBodyLatestSnapshot;
3052
4498
  /**
4499
+ * @remarks
4500
+ * The error message. Valid values:
4501
+ *
4502
+ * * If the request is successful, null is returned.
4503
+ * * If the request fails, the cause for the failure is returned.
4504
+ *
3053
4505
  * @example
3054
4506
  * "XXX"
3055
4507
  */
3056
4508
  message?: string;
4509
+ /**
4510
+ * @remarks
4511
+ * The error recovery configuration of the node.
4512
+ */
3057
4513
  nodeErrorRecovery?: GetInstanceResponseBodyNodeErrorRecovery;
3058
4514
  /**
4515
+ * @remarks
4516
+ * The billing method. Valid values:
4517
+ *
4518
+ * * PayAsYouGo
4519
+ * * Subscription
4520
+ *
3059
4521
  * @example
3060
4522
  * PayAsYouGo
3061
4523
  */
3062
4524
  paymentType?: string;
3063
4525
  /**
4526
+ * @remarks
4527
+ * The priority based on which resources are allocated to instances.
4528
+ *
3064
4529
  * @example
3065
4530
  * 1
3066
4531
  */
3067
4532
  priority?: number;
4533
+ /**
4534
+ * @remarks
4535
+ * The proxy path.
4536
+ *
4537
+ * @example
4538
+ * dsw-170197/proxy/
4539
+ */
3068
4540
  proxyPath?: string;
3069
4541
  /**
4542
+ * @remarks
4543
+ * The error code of the instance.
4544
+ *
3070
4545
  * @example
3071
4546
  * Internal Error
3072
4547
  */
3073
4548
  reasonCode?: string;
3074
4549
  /**
4550
+ * @remarks
4551
+ * The cause of the instance error.
4552
+ *
3075
4553
  * @example
3076
4554
  * ImagePullBackOff
3077
4555
  */
3078
4556
  reasonMessage?: string;
3079
4557
  /**
4558
+ * @remarks
4559
+ * The request ID.
4560
+ *
3080
4561
  * @example
3081
4562
  * E7D55162-4489-1619-AAF5-3F97D5FCA948
3082
4563
  */
3083
4564
  requestId?: string;
3084
4565
  /**
4566
+ * @remarks
4567
+ * The resource configurations in subscription scenarios.
4568
+ *
3085
4569
  * @example
3086
4570
  * {"CPU":"4","Memory":"8Gi","SharedMemory":"4Gi","GPU":"1","GPUType":"Tesla-V100-16G"}
3087
4571
  */
3088
4572
  requestedResource?: GetInstanceResponseBodyRequestedResource;
3089
4573
  /**
4574
+ * @remarks
4575
+ * The resource ID. This parameter is available if the billing method is subscription.
4576
+ *
3090
4577
  * @example
3091
4578
  * dsw-123456789
3092
4579
  */
3093
4580
  resourceId?: string;
3094
4581
  /**
4582
+ * @remarks
4583
+ * The specification type.
4584
+ *
4585
+ * * For subscription, this is the requested CPU and memory size.
4586
+ * * For pay-as-you-go, this is the selected ECS instance type.
4587
+ *
3095
4588
  * @example
3096
4589
  * ecs.g7.xlarge
3097
4590
  */
3098
4591
  resourceName?: string;
3099
4592
  /**
4593
+ * @remarks
4594
+ * The instance status.
4595
+ *
4596
+ * Valid values:
4597
+ *
4598
+ * * Creating
4599
+ * * SaveFailed
4600
+ * * Stopped
4601
+ * * Failed
4602
+ * * ResourceAllocating
4603
+ * * Stopping
4604
+ * * Updating
4605
+ * * Saving
4606
+ * * Queuing
4607
+ * * Recovering
4608
+ * * Starting
4609
+ * * Running
4610
+ * * Saved
4611
+ * * Deleting
4612
+ * * EnvPreparing
4613
+ *
3100
4614
  * @example
3101
4615
  * Running
3102
4616
  */
3103
4617
  status?: string;
3104
4618
  /**
4619
+ * @remarks
4620
+ * Indicates whether the request was successful. Valid values:
4621
+ *
4622
+ * * true
4623
+ * * false
4624
+ *
3105
4625
  * @example
3106
4626
  * true
3107
4627
  */
3108
4628
  success?: boolean;
4629
+ /**
4630
+ * @remarks
4631
+ * The tags.
4632
+ */
3109
4633
  tags?: GetInstanceResponseBodyTags[];
3110
4634
  /**
4635
+ * @remarks
4636
+ * The terminal URL.
4637
+ *
3111
4638
  * @example
3112
4639
  * https://dsw-gateway-cn-shanghai.aliyun.com/dsw-39772/tty/
3113
4640
  */
3114
4641
  terminalUrl?: string;
3115
4642
  /**
4643
+ * @remarks
4644
+ * The user ID.
4645
+ *
3116
4646
  * @example
3117
4647
  * 1612285282502324
3118
4648
  */
3119
4649
  userId?: string;
3120
4650
  /**
4651
+ * @remarks
4652
+ * The username.
4653
+ *
3121
4654
  * @example
3122
4655
  * 测试用户
3123
4656
  */
3124
4657
  userName?: string;
4658
+ /**
4659
+ * @remarks
4660
+ * The virtual private cloud (VPC) configurations.
4661
+ */
3125
4662
  userVpc?: GetInstanceResponseBodyUserVpc;
3126
4663
  /**
3127
4664
  * @remarks
3128
- * Web IDE url。
4665
+ * The Web IDE URL.
3129
4666
  *
3130
4667
  * @example
3131
4668
  * https://dsw-gateway-cn-shanghai.aliyun.com/dsw-39772/ide/
3132
4669
  */
3133
4670
  webIDEUrl?: string;
3134
4671
  /**
4672
+ * @remarks
4673
+ * The workspace ID.
4674
+ *
3135
4675
  * @example
3136
4676
  * 40823
3137
4677
  */
3138
4678
  workspaceId?: string;
3139
4679
  /**
4680
+ * @remarks
4681
+ * The workspace name.
4682
+ *
3140
4683
  * @example
3141
4684
  * training_data
3142
4685
  */
3143
4686
  workspaceName?: string;
3144
4687
  /**
4688
+ * @remarks
4689
+ * The storage for the workspace. If you leave this parameter empty, the workspace uses File Storage NAS (NAS) storage, cloud disks, or local disks in sequence.
4690
+ *
3145
4691
  * @example
3146
4692
  * d-123456789
3147
4693
  */
@@ -3176,20 +4722,33 @@ export declare class GetInstanceResponse extends $dara.Model {
3176
4722
  }
3177
4723
  export declare class GetInstanceEventsRequest extends $dara.Model {
3178
4724
  /**
4725
+ * @remarks
4726
+ * The end of the time range to query.
4727
+ *
3179
4728
  * @example
3180
4729
  * 2020-11-08T15:00:00Z
3181
4730
  */
3182
4731
  endTime?: string;
3183
4732
  /**
4733
+ * @remarks
4734
+ * The maximum number of events. Default value: 2000.
4735
+ *
3184
4736
  * @example
3185
4737
  * 2000
3186
4738
  */
3187
4739
  maxEventsNum?: number;
3188
4740
  /**
4741
+ * @remarks
4742
+ * The beginning of the time range to query.
4743
+ *
3189
4744
  * @example
3190
4745
  * 2020-11-08T15:00:00Z
3191
4746
  */
3192
4747
  startTime?: string;
4748
+ /**
4749
+ * @remarks
4750
+ * The token used to share the URL.
4751
+ */
3193
4752
  token?: string;
3194
4753
  static names(): {
3195
4754
  [key: string]: string;
@@ -3204,32 +4763,64 @@ export declare class GetInstanceEventsRequest extends $dara.Model {
3204
4763
  }
3205
4764
  export declare class GetInstanceEventsResponseBody extends $dara.Model {
3206
4765
  /**
4766
+ * @remarks
4767
+ * The status code. Valid values:
4768
+ *
4769
+ * * InternalError: an internal error. All errors, except for parameter validation errors, are classified as internal errors.
4770
+ * * ValidationError: a parameter validation error.
4771
+ *
3207
4772
  * @example
3208
4773
  * None
3209
4774
  */
3210
4775
  code?: string;
4776
+ /**
4777
+ * @remarks
4778
+ * The events.
4779
+ */
3211
4780
  events?: string[];
3212
4781
  /**
4782
+ * @remarks
4783
+ * The HTTP status code. Valid values:
4784
+ *
4785
+ * * 400: One or more parameters are invalid.
4786
+ * * 404: The instance does not exist.
4787
+ * * 200: The request is normal.
4788
+ *
3213
4789
  * @example
3214
4790
  * 200
3215
4791
  */
3216
4792
  httpStatusCode?: number;
3217
4793
  /**
4794
+ * @remarks
4795
+ * The instance ID.
4796
+ *
3218
4797
  * @example
3219
4798
  * dsw-730xxxxxxxxxx
3220
4799
  */
3221
4800
  instanceId?: string;
3222
4801
  /**
4802
+ * @remarks
4803
+ * The response message.
4804
+ *
3223
4805
  * @example
3224
4806
  * XXX
3225
4807
  */
3226
4808
  message?: string;
3227
4809
  /**
4810
+ * @remarks
4811
+ * The request ID.
4812
+ *
3228
4813
  * @example
3229
4814
  * E7D55162-4489-1619-AAF5-3F97D5FCA948
3230
4815
  */
3231
4816
  requestId?: string;
3232
4817
  /**
4818
+ * @remarks
4819
+ * Indicates whether the request was successful.
4820
+ *
4821
+ * * true
4822
+ * * false
4823
+ *
3233
4824
  * @example
3234
4825
  * true
3235
4826
  */
@@ -3264,12 +4855,26 @@ export declare class GetInstanceEventsResponse extends $dara.Model {
3264
4855
  }
3265
4856
  export declare class GetInstanceMetricsRequest extends $dara.Model {
3266
4857
  /**
4858
+ * @remarks
4859
+ * The end of the time range to query.
4860
+ *
3267
4861
  * @example
3268
4862
  * 2020-11-08T15:00:00Z
3269
4863
  */
3270
4864
  endTime?: string;
3271
4865
  /**
3272
4866
  * @remarks
4867
+ * The metric type. Valid values:
4868
+ *
4869
+ * * GpuCoreUsage: the GPU utilization.
4870
+ * * GpuMemoryUsage: the GPU memory utilization.
4871
+ * * CpuCoreUsage: the CPU utilization.
4872
+ * * MemoryUsage: the memory utilization.
4873
+ * * NetworkInputRate: the network ingress rate.
4874
+ * * NetworkOutputRate: the network egress rate.
4875
+ * * DiskReadRate: the disk read rate.
4876
+ * * DiskWriteRate: the disk write rate.
4877
+ *
3273
4878
  * This parameter is required.
3274
4879
  *
3275
4880
  * @example
@@ -3277,11 +4882,17 @@ export declare class GetInstanceMetricsRequest extends $dara.Model {
3277
4882
  */
3278
4883
  metricType?: string;
3279
4884
  /**
4885
+ * @remarks
4886
+ * The beginning of the time range to query.
4887
+ *
3280
4888
  * @example
3281
4889
  * 2020-11-08T15:00:00Z
3282
4890
  */
3283
4891
  startTime?: string;
3284
4892
  /**
4893
+ * @remarks
4894
+ * The interval at which metrics are returned. Unit: minutes.
4895
+ *
3285
4896
  * @example
3286
4897
  * 15m
3287
4898
  */
@@ -3299,32 +4910,63 @@ export declare class GetInstanceMetricsRequest extends $dara.Model {
3299
4910
  }
3300
4911
  export declare class GetInstanceMetricsResponseBody extends $dara.Model {
3301
4912
  /**
4913
+ * @remarks
4914
+ * The status code. Valid values:
4915
+ *
4916
+ * * InternalError: an internal error. All errors, except for parameter validation errors, are classified as internal errors.
4917
+ * * ValidationError: a parameter validation error.
4918
+ *
3302
4919
  * @example
3303
4920
  * null
3304
4921
  */
3305
4922
  code?: string;
3306
4923
  /**
4924
+ * @remarks
4925
+ * The HTTP status code. Valid values:
4926
+ *
4927
+ * * 400
4928
+ * * 404
4929
+ *
3307
4930
  * @example
3308
4931
  * null
3309
4932
  */
3310
4933
  httpStatusCode?: number;
3311
4934
  /**
4935
+ * @remarks
4936
+ * The instance ID.
4937
+ *
3312
4938
  * @example
3313
4939
  * dsw-730xxxxxxxxxx
3314
4940
  */
3315
4941
  instanceId?: string;
3316
4942
  /**
4943
+ * @remarks
4944
+ * The response message.
4945
+ *
3317
4946
  * @example
3318
4947
  * "XXX"
3319
4948
  */
3320
4949
  message?: string;
4950
+ /**
4951
+ * @remarks
4952
+ * The information about the metrics of the pod that corresponds to the instance.
4953
+ */
3321
4954
  podMetrics?: GetInstanceMetricsResponseBodyPodMetrics[];
3322
4955
  /**
4956
+ * @remarks
4957
+ * The request ID.
4958
+ *
3323
4959
  * @example
3324
4960
  * E7D55162-4489-1619-AAF5-3F97D5FCA948
3325
4961
  */
3326
4962
  requestId?: string;
3327
4963
  /**
4964
+ * @remarks
4965
+ * Indicates whether the request was successful.
4966
+ *
4967
+ * * true
4968
+ * * false
4969
+ *
3328
4970
  * @example
3329
4971
  * true
3330
4972
  */
@@ -3548,30 +5190,52 @@ export declare class GetInstanceSnapshotResponse extends $dara.Model {
3548
5190
  }
3549
5191
  export declare class GetLifecycleRequest extends $dara.Model {
3550
5192
  /**
5193
+ * @remarks
5194
+ * The end of the time range to query.
5195
+ *
3551
5196
  * @example
3552
5197
  * 2020-11-08T15:00:00Z
3553
5198
  */
3554
5199
  endTime?: string;
3555
5200
  /**
5201
+ * @remarks
5202
+ * The number of sessions to query.
5203
+ *
3556
5204
  * @example
3557
5205
  * 1
3558
5206
  */
3559
5207
  limit?: number;
3560
5208
  /**
5209
+ * @remarks
5210
+ * The sorting order of the results. Valid values:
5211
+ *
5212
+ * * ASC: sorted by time in ascending order.
5213
+ * * DESC: sorted by time in descending order.
5214
+ *
3561
5215
  * @example
3562
5216
  * DESC
3563
5217
  */
3564
5218
  order?: string;
3565
5219
  /**
5220
+ * @remarks
5221
+ * A session refers to the process of an instance from startup to failure or shutdown. The sessionNumber indicates the offset value for the instance\\"s session sequence.
5222
+ *
3566
5223
  * @example
3567
5224
  * 1
3568
5225
  */
3569
5226
  sessionNumber?: number;
3570
5227
  /**
5228
+ * @remarks
5229
+ * The beginning of the time range to query.
5230
+ *
3571
5231
  * @example
3572
5232
  * 2020-11-08T15:00:00Z
3573
5233
  */
3574
5234
  startTime?: string;
5235
+ /**
5236
+ * @remarks
5237
+ * The token used to share the URL.
5238
+ */
3575
5239
  token?: string;
3576
5240
  static names(): {
3577
5241
  [key: string]: string;
@@ -3586,31 +5250,55 @@ export declare class GetLifecycleRequest extends $dara.Model {
3586
5250
  }
3587
5251
  export declare class GetLifecycleResponseBody extends $dara.Model {
3588
5252
  /**
5253
+ * @remarks
5254
+ * The status code. Valid values:
5255
+ *
5256
+ * * InternalError: All errors, except for parameter validation errors, are internal errors.
5257
+ * * ValidationError: A parameter validation error.
5258
+ *
3589
5259
  * @example
3590
5260
  * null
3591
5261
  */
3592
5262
  code?: string;
3593
5263
  /**
5264
+ * @remarks
5265
+ * The lifecycle details.
5266
+ *
3594
5267
  * @example
3595
5268
  * [[{"Status":"Creating","GmtCreateTime":"2022-09-19T22:38:00Z","Reason":"","ReasonCode":""}]]
3596
5269
  */
3597
5270
  lifecycle?: GetLifecycleResponseBodyLifecycle[][];
3598
5271
  /**
5272
+ * @remarks
5273
+ * The returned message.
5274
+ *
3599
5275
  * @example
3600
5276
  * "XXX"
3601
5277
  */
3602
5278
  message?: string;
3603
5279
  /**
5280
+ * @remarks
5281
+ * The request ID.
5282
+ *
3604
5283
  * @example
3605
5284
  * E7D55162-4489-1619-AAF5-3F97D5FCA948
3606
5285
  */
3607
5286
  requestId?: string;
3608
5287
  /**
5288
+ * @remarks
5289
+ * Indicates whether the request was successful. Valid values:
5290
+ *
5291
+ * * true
5292
+ * * false
5293
+ *
3609
5294
  * @example
3610
5295
  * true
3611
5296
  */
3612
5297
  success?: boolean;
3613
5298
  /**
5299
+ * @remarks
5300
+ * The total number of queried sessions.
5301
+ *
3614
5302
  * @example
3615
5303
  * 35
3616
5304
  */
@@ -3860,12 +5548,17 @@ export declare class GetResourceGroupStatisticsResponse extends $dara.Model {
3860
5548
  }
3861
5549
  export declare class GetTokenRequest extends $dara.Model {
3862
5550
  /**
5551
+ * @remarks
5552
+ * The validity period. Unit: seconds.
5553
+ *
3863
5554
  * @example
3864
5555
  * 60
3865
5556
  */
3866
5557
  expireTime?: number;
3867
5558
  /**
3868
5559
  * @remarks
5560
+ * The instance ID.
5561
+ *
3869
5562
  * This parameter is required.
3870
5563
  *
3871
5564
  * @example
@@ -3885,26 +5578,47 @@ export declare class GetTokenRequest extends $dara.Model {
3885
5578
  }
3886
5579
  export declare class GetTokenResponseBody extends $dara.Model {
3887
5580
  /**
5581
+ * @remarks
5582
+ * The status code. Valid values:
5583
+ *
5584
+ * * InternalError: All errors, except for parameter validation errors, are internal errors.
5585
+ * * ValidationError: A parameter validation error.
5586
+ *
3888
5587
  * @example
3889
5588
  * ValidationError
3890
5589
  */
3891
5590
  code?: string;
3892
5591
  /**
5592
+ * @remarks
5593
+ * The error message.
5594
+ *
3893
5595
  * @example
3894
5596
  * "XXX"
3895
5597
  */
3896
5598
  message?: string;
3897
5599
  /**
5600
+ * @remarks
5601
+ * The request ID.
5602
+ *
3898
5603
  * @example
3899
5604
  * E7D55162-4489-1619-AAF5-3F97D5FCA948
3900
5605
  */
3901
5606
  requestId?: string;
3902
5607
  /**
5608
+ * @remarks
5609
+ * Indicates whether the request was successful. Valid values:
5610
+ *
5611
+ * * true
5612
+ * * false
5613
+ *
3903
5614
  * @example
3904
5615
  * true
3905
5616
  */
3906
5617
  success?: boolean;
3907
5618
  /**
5619
+ * @remarks
5620
+ * The temporary authentication information of the DSW instance.
5621
+ *
3908
5622
  * @example
3909
5623
  * *******
3910
5624
  */
@@ -4280,76 +5994,246 @@ export declare class ListInstanceStatisticsResponse extends $dara.Model {
4280
5994
  }
4281
5995
  export declare class ListInstancesRequest extends $dara.Model {
4282
5996
  /**
5997
+ * @remarks
5998
+ * The accelerator type.
5999
+ *
6000
+ * * CPU: Only CPU computing is used.
6001
+ * * GPU: GPUs are used to accelerate computing.
6002
+ *
4283
6003
  * @example
4284
- * AcceleratorType
6004
+ * CPU
4285
6005
  */
4286
6006
  acceleratorType?: string;
4287
6007
  /**
6008
+ * @remarks
6009
+ * The accessibility. Valid values:
6010
+ *
6011
+ * * PRIVATE (default): The instances are accessible only to you and the administrator of the workspace.
6012
+ * * PUBLIC: The instances are accessible only to all members in the workspace.
6013
+ *
4288
6014
  * @example
4289
6015
  * PRIVATE
4290
6016
  */
4291
6017
  accessibility?: string;
6018
+ /**
6019
+ * @remarks
6020
+ * The UID of the creator.
6021
+ *
6022
+ * @example
6023
+ * 12345*****67890
6024
+ */
4292
6025
  createUserId?: string;
6026
+ /**
6027
+ * @remarks
6028
+ * The GPU type.
6029
+ *
6030
+ * @example
6031
+ * NVIDIA A10
6032
+ */
4293
6033
  gpuType?: string;
6034
+ /**
6035
+ * @remarks
6036
+ * The image name.
6037
+ *
6038
+ * @example
6039
+ * modelscope:1.9.4-pytorch2.0.1tensorflow2.13.0-cpu-py38-ubuntu20.04
6040
+ */
4294
6041
  imageName?: string;
4295
6042
  /**
6043
+ * @remarks
6044
+ * The instance ID. You can call [ListInstances](https://help.aliyun.com/document_detail/470439.html) to obtain the instance ID.
6045
+ *
4296
6046
  * @example
4297
6047
  * dsw-730xxxxxxxxxx
4298
6048
  */
4299
6049
  instanceId?: string;
4300
6050
  /**
6051
+ * @remarks
6052
+ * The instance name.
6053
+ *
4301
6054
  * @example
4302
6055
  * training_data
4303
6056
  */
4304
6057
  instanceName?: string;
6058
+ /**
6059
+ * @remarks
6060
+ * The labels. A maximum of four labels are supported.
6061
+ *
6062
+ * @example
6063
+ * {
6064
+ * "key1": "value1",
6065
+ * "key2": "value2",
6066
+ * "key3": "value3"
6067
+ * }
6068
+ */
4305
6069
  labels?: {
4306
6070
  [key: string]: any;
4307
6071
  };
6072
+ /**
6073
+ * @remarks
6074
+ * The maximum number of CPUs. Unit: 0.001 CPU. The value 1000 indicates one CPU.
6075
+ *
6076
+ * @example
6077
+ * 30000
6078
+ */
4308
6079
  maxCpu?: string;
6080
+ /**
6081
+ * @remarks
6082
+ * The maximum number of GPUs. Unit: 0.001 GPU. The value 1000 indicates one GPU.
6083
+ *
6084
+ * @example
6085
+ * 8000
6086
+ */
4309
6087
  maxGpu?: string;
6088
+ /**
6089
+ * @remarks
6090
+ * The maximum memory size per GPU card. Unit: GB.
6091
+ *
6092
+ * @example
6093
+ * 16
6094
+ */
4310
6095
  maxGpuMemory?: string;
6096
+ /**
6097
+ * @remarks
6098
+ * The maximum memory size. Unit: GB.
6099
+ *
6100
+ * @example
6101
+ * 48
6102
+ */
4311
6103
  maxMemory?: string;
6104
+ /**
6105
+ * @remarks
6106
+ * The minimum number of CPUs. Unit: 0.001 CPU. The value 1000 indicates one CPU.
6107
+ *
6108
+ * @example
6109
+ * 2000
6110
+ */
4312
6111
  minCpu?: string;
6112
+ /**
6113
+ * @remarks
6114
+ * The minimum number of GPUs. Unit: 0.001 GPU. The value 1000 indicates one GPU.
6115
+ *
6116
+ * @example
6117
+ * 100
6118
+ */
4313
6119
  minGpu?: string;
6120
+ /**
6121
+ * @remarks
6122
+ * The minimum memory size per GPU card. Unit: GB.
6123
+ *
6124
+ * @example
6125
+ * 8
6126
+ */
4314
6127
  minGpuMemory?: string;
6128
+ /**
6129
+ * @remarks
6130
+ * The minimum memory size. Unit: GB.
6131
+ *
6132
+ * @example
6133
+ * 4
6134
+ */
4315
6135
  minMemory?: string;
4316
6136
  /**
6137
+ * @remarks
6138
+ * The order that you use to sort the query results.
6139
+ *
6140
+ * Valid values:
6141
+ *
6142
+ * * ASC
6143
+ * * DESC
6144
+ *
4317
6145
  * @example
4318
6146
  * DESC
4319
6147
  */
4320
6148
  order?: string;
6149
+ oversoldInfo?: string;
6150
+ oversoldType?: string;
4321
6151
  /**
6152
+ * @remarks
6153
+ * The page number. Pages start from page 1. Default value: 1.
6154
+ *
4322
6155
  * @example
4323
6156
  * 1
4324
6157
  */
4325
6158
  pageNumber?: number;
4326
6159
  /**
6160
+ * @remarks
6161
+ * The number of entries per page.
6162
+ *
4327
6163
  * @example
4328
6164
  * 10
4329
6165
  */
4330
6166
  pageSize?: number;
4331
6167
  /**
6168
+ * @remarks
6169
+ * The billing method.
6170
+ *
6171
+ * Valid values:
6172
+ *
6173
+ * * PayAsYouGo
6174
+ * * Subscription
6175
+ *
4332
6176
  * @example
4333
6177
  * PayAsYouGo
4334
6178
  */
4335
6179
  paymentType?: string;
4336
6180
  /**
6181
+ * @remarks
6182
+ * The resource group ID. If you leave this parameter empty, the instances in the pay-as-you-go resource group are queried. If you set this parameter to ALL, all instances are queried.
6183
+ *
4337
6184
  * @example
4338
6185
  * rg-123456789
4339
6186
  */
4340
6187
  resourceId?: string;
4341
6188
  /**
6189
+ * @remarks
6190
+ * The field that you use to sort the query results.
6191
+ *
6192
+ * Valid values:
6193
+ *
6194
+ * * Priority
6195
+ * * GmtCreateTime
6196
+ * * GmtModifiedTime
6197
+ *
4342
6198
  * @example
4343
6199
  * gmtCreate
4344
6200
  */
4345
6201
  sortBy?: string;
4346
6202
  /**
6203
+ * @remarks
6204
+ * The instance status.
6205
+ *
6206
+ * Valid values:
6207
+ *
6208
+ * * Creating
6209
+ * * SaveFailed
6210
+ * * Stopped
6211
+ * * Failed
6212
+ * * ResourceAllocating
6213
+ * * Stopping
6214
+ * * Updating
6215
+ * * Saving
6216
+ * * Queuing
6217
+ * * Recovering
6218
+ * * Starting
6219
+ * * Running
6220
+ * * Saved
6221
+ * * Deleting
6222
+ * * EnvPreparing
6223
+ *
4347
6224
  * @example
4348
6225
  * Running
4349
6226
  */
4350
6227
  status?: string;
6228
+ /**
6229
+ * @remarks
6230
+ * The tags.
6231
+ */
4351
6232
  tag?: ListInstancesRequestTag[];
4352
6233
  /**
6234
+ * @remarks
6235
+ * The workspace ID. You can call [ListWorkspaces](https://help.aliyun.com/document_detail/449124.html) to obtain the workspace ID.
6236
+ *
4353
6237
  * @example
4354
6238
  * 40823
4355
6239
  */
@@ -4367,74 +6251,244 @@ export declare class ListInstancesRequest extends $dara.Model {
4367
6251
  }
4368
6252
  export declare class ListInstancesShrinkRequest extends $dara.Model {
4369
6253
  /**
6254
+ * @remarks
6255
+ * The accelerator type.
6256
+ *
6257
+ * * CPU: Only CPU computing is used.
6258
+ * * GPU: GPUs are used to accelerate computing.
6259
+ *
4370
6260
  * @example
4371
- * AcceleratorType
6261
+ * CPU
4372
6262
  */
4373
6263
  acceleratorType?: string;
4374
6264
  /**
6265
+ * @remarks
6266
+ * The accessibility. Valid values:
6267
+ *
6268
+ * * PRIVATE (default): The instances are accessible only to you and the administrator of the workspace.
6269
+ * * PUBLIC: The instances are accessible only to all members in the workspace.
6270
+ *
4375
6271
  * @example
4376
6272
  * PRIVATE
4377
6273
  */
4378
6274
  accessibility?: string;
6275
+ /**
6276
+ * @remarks
6277
+ * The UID of the creator.
6278
+ *
6279
+ * @example
6280
+ * 12345*****67890
6281
+ */
4379
6282
  createUserId?: string;
6283
+ /**
6284
+ * @remarks
6285
+ * The GPU type.
6286
+ *
6287
+ * @example
6288
+ * NVIDIA A10
6289
+ */
4380
6290
  gpuType?: string;
6291
+ /**
6292
+ * @remarks
6293
+ * The image name.
6294
+ *
6295
+ * @example
6296
+ * modelscope:1.9.4-pytorch2.0.1tensorflow2.13.0-cpu-py38-ubuntu20.04
6297
+ */
4381
6298
  imageName?: string;
4382
6299
  /**
6300
+ * @remarks
6301
+ * The instance ID. You can call [ListInstances](https://help.aliyun.com/document_detail/470439.html) to obtain the instance ID.
6302
+ *
4383
6303
  * @example
4384
6304
  * dsw-730xxxxxxxxxx
4385
6305
  */
4386
6306
  instanceId?: string;
4387
6307
  /**
6308
+ * @remarks
6309
+ * The instance name.
6310
+ *
4388
6311
  * @example
4389
6312
  * training_data
4390
6313
  */
4391
6314
  instanceName?: string;
6315
+ /**
6316
+ * @remarks
6317
+ * The labels. A maximum of four labels are supported.
6318
+ *
6319
+ * @example
6320
+ * {
6321
+ * "key1": "value1",
6322
+ * "key2": "value2",
6323
+ * "key3": "value3"
6324
+ * }
6325
+ */
4392
6326
  labelsShrink?: string;
6327
+ /**
6328
+ * @remarks
6329
+ * The maximum number of CPUs. Unit: 0.001 CPU. The value 1000 indicates one CPU.
6330
+ *
6331
+ * @example
6332
+ * 30000
6333
+ */
4393
6334
  maxCpu?: string;
6335
+ /**
6336
+ * @remarks
6337
+ * The maximum number of GPUs. Unit: 0.001 GPU. The value 1000 indicates one GPU.
6338
+ *
6339
+ * @example
6340
+ * 8000
6341
+ */
4394
6342
  maxGpu?: string;
6343
+ /**
6344
+ * @remarks
6345
+ * The maximum memory size per GPU card. Unit: GB.
6346
+ *
6347
+ * @example
6348
+ * 16
6349
+ */
4395
6350
  maxGpuMemory?: string;
6351
+ /**
6352
+ * @remarks
6353
+ * The maximum memory size. Unit: GB.
6354
+ *
6355
+ * @example
6356
+ * 48
6357
+ */
4396
6358
  maxMemory?: string;
6359
+ /**
6360
+ * @remarks
6361
+ * The minimum number of CPUs. Unit: 0.001 CPU. The value 1000 indicates one CPU.
6362
+ *
6363
+ * @example
6364
+ * 2000
6365
+ */
4397
6366
  minCpu?: string;
6367
+ /**
6368
+ * @remarks
6369
+ * The minimum number of GPUs. Unit: 0.001 GPU. The value 1000 indicates one GPU.
6370
+ *
6371
+ * @example
6372
+ * 100
6373
+ */
4398
6374
  minGpu?: string;
6375
+ /**
6376
+ * @remarks
6377
+ * The minimum memory size per GPU card. Unit: GB.
6378
+ *
6379
+ * @example
6380
+ * 8
6381
+ */
4399
6382
  minGpuMemory?: string;
6383
+ /**
6384
+ * @remarks
6385
+ * The minimum memory size. Unit: GB.
6386
+ *
6387
+ * @example
6388
+ * 4
6389
+ */
4400
6390
  minMemory?: string;
4401
6391
  /**
6392
+ * @remarks
6393
+ * The order that you use to sort the query results.
6394
+ *
6395
+ * Valid values:
6396
+ *
6397
+ * * ASC
6398
+ * * DESC
6399
+ *
4402
6400
  * @example
4403
6401
  * DESC
4404
6402
  */
4405
6403
  order?: string;
6404
+ oversoldInfo?: string;
6405
+ oversoldType?: string;
4406
6406
  /**
6407
+ * @remarks
6408
+ * The page number. Pages start from page 1. Default value: 1.
6409
+ *
4407
6410
  * @example
4408
6411
  * 1
4409
6412
  */
4410
6413
  pageNumber?: number;
4411
6414
  /**
6415
+ * @remarks
6416
+ * The number of entries per page.
6417
+ *
4412
6418
  * @example
4413
6419
  * 10
4414
6420
  */
4415
6421
  pageSize?: number;
4416
6422
  /**
6423
+ * @remarks
6424
+ * The billing method.
6425
+ *
6426
+ * Valid values:
6427
+ *
6428
+ * * PayAsYouGo
6429
+ * * Subscription
6430
+ *
4417
6431
  * @example
4418
6432
  * PayAsYouGo
4419
6433
  */
4420
6434
  paymentType?: string;
4421
6435
  /**
6436
+ * @remarks
6437
+ * The resource group ID. If you leave this parameter empty, the instances in the pay-as-you-go resource group are queried. If you set this parameter to ALL, all instances are queried.
6438
+ *
4422
6439
  * @example
4423
6440
  * rg-123456789
4424
6441
  */
4425
6442
  resourceId?: string;
4426
6443
  /**
6444
+ * @remarks
6445
+ * The field that you use to sort the query results.
6446
+ *
6447
+ * Valid values:
6448
+ *
6449
+ * * Priority
6450
+ * * GmtCreateTime
6451
+ * * GmtModifiedTime
6452
+ *
4427
6453
  * @example
4428
6454
  * gmtCreate
4429
6455
  */
4430
6456
  sortBy?: string;
4431
6457
  /**
6458
+ * @remarks
6459
+ * The instance status.
6460
+ *
6461
+ * Valid values:
6462
+ *
6463
+ * * Creating
6464
+ * * SaveFailed
6465
+ * * Stopped
6466
+ * * Failed
6467
+ * * ResourceAllocating
6468
+ * * Stopping
6469
+ * * Updating
6470
+ * * Saving
6471
+ * * Queuing
6472
+ * * Recovering
6473
+ * * Starting
6474
+ * * Running
6475
+ * * Saved
6476
+ * * Deleting
6477
+ * * EnvPreparing
6478
+ *
4432
6479
  * @example
4433
6480
  * Running
4434
6481
  */
4435
6482
  status?: string;
6483
+ /**
6484
+ * @remarks
6485
+ * The tags.
6486
+ */
4436
6487
  tagShrink?: string;
4437
6488
  /**
6489
+ * @remarks
6490
+ * The workspace ID. You can call [ListWorkspaces](https://help.aliyun.com/document_detail/449124.html) to obtain the workspace ID.
6491
+ *
4438
6492
  * @example
4439
6493
  * 40823
4440
6494
  */
@@ -4452,32 +6506,63 @@ export declare class ListInstancesShrinkRequest extends $dara.Model {
4452
6506
  }
4453
6507
  export declare class ListInstancesResponseBody extends $dara.Model {
4454
6508
  /**
6509
+ * @remarks
6510
+ * The status code. Valid values:
6511
+ *
6512
+ * * InternalError: an internal error. All errors, except for parameter validation errors, are classified as internal errors.
6513
+ * * ValidationError: a parameter validation error.
6514
+ *
4455
6515
  * @example
4456
6516
  * null
4457
6517
  */
4458
6518
  code?: string;
4459
6519
  /**
6520
+ * @remarks
6521
+ * The HTTP status code. Valid values:
6522
+ *
6523
+ * * 400
6524
+ * * 404
6525
+ *
4460
6526
  * @example
4461
6527
  * null
4462
6528
  */
4463
6529
  httpStatusCode?: number;
6530
+ /**
6531
+ * @remarks
6532
+ * The instances returned on this page.
6533
+ */
4464
6534
  instances?: ListInstancesResponseBodyInstances[];
4465
6535
  /**
6536
+ * @remarks
6537
+ * The response message.
6538
+ *
4466
6539
  * @example
4467
6540
  * "XXX"
4468
6541
  */
4469
6542
  message?: string;
4470
6543
  /**
6544
+ * @remarks
6545
+ * The request ID.
6546
+ *
4471
6547
  * @example
4472
6548
  * E7D55162-4489-1619-AAF5-3F97D5FCA948
4473
6549
  */
4474
6550
  requestId?: string;
4475
6551
  /**
6552
+ * @remarks
6553
+ * Indicates whether the request was successful.
6554
+ *
6555
+ * * true
6556
+ * * false
6557
+ *
4476
6558
  * @example
4477
6559
  * true
4478
6560
  */
4479
6561
  success?: boolean;
4480
6562
  /**
6563
+ * @remarks
6564
+ * The total number of instances.
6565
+ *
4481
6566
  * @example
4482
6567
  * 35
4483
6568
  */
@@ -4647,84 +6732,190 @@ export declare class StopInstanceResponse extends $dara.Model {
4647
6732
  }
4648
6733
  export declare class UpdateInstanceRequest extends $dara.Model {
4649
6734
  /**
6735
+ * @remarks
6736
+ * The visibility of the instance.
6737
+ *
6738
+ * Valid values:
6739
+ *
6740
+ * * PUBLIC: Accessible to all members in the workspace.
6741
+ * * PRIVATE: Accessible only to you and the administrator of the workspace.
6742
+ *
4650
6743
  * @example
4651
6744
  * PRIVATE
4652
6745
  */
4653
6746
  accessibility?: string;
6747
+ /**
6748
+ * @remarks
6749
+ * The affinity configuration.
6750
+ */
4654
6751
  affinity?: UpdateInstanceRequestAffinity;
4655
6752
  /**
6753
+ * @remarks
6754
+ * The cloud disks.
6755
+ *
4656
6756
  * @example
4657
6757
  * []
4658
6758
  */
4659
6759
  cloudDisks?: UpdateInstanceRequestCloudDisks[];
6760
+ /**
6761
+ * @remarks
6762
+ * The credential configuration.
6763
+ */
4660
6764
  credentialConfig?: CredentialConfig;
6765
+ /**
6766
+ * @remarks
6767
+ * The datasets.
6768
+ */
4661
6769
  datasets?: UpdateInstanceRequestDatasets[];
6770
+ /**
6771
+ * @remarks
6772
+ * Specifies whether to delete the credential injection information.
6773
+ *
6774
+ * @example
6775
+ * false
6776
+ */
4662
6777
  disassociateCredential?: boolean;
4663
6778
  /**
6779
+ * @remarks
6780
+ * Specifies whether to delete the associated datasets.
6781
+ *
6782
+ * * true
6783
+ * * false
6784
+ *
4664
6785
  * @example
4665
6786
  * false
4666
6787
  */
4667
6788
  disassociateDatasets?: boolean;
4668
6789
  /**
6790
+ * @remarks
6791
+ * Specifies whether to delete the NVIDIA driver configuration.
6792
+ *
4669
6793
  * @example
4670
6794
  * false
4671
6795
  */
4672
6796
  disassociateDriver?: boolean;
4673
6797
  /**
6798
+ * @remarks
6799
+ * Specifies whether to delete the associated forward information.
6800
+ *
4674
6801
  * @example
4675
6802
  * false
4676
6803
  */
4677
6804
  disassociateForwardInfos?: boolean;
4678
6805
  /**
6806
+ * @remarks
6807
+ * Specifies whether to delete the associated user VPC.
6808
+ *
4679
6809
  * @example
4680
6810
  * false
4681
6811
  */
4682
6812
  disassociateVpc?: boolean;
4683
6813
  /**
6814
+ * @remarks
6815
+ * The NVIDIA driver configuration.
6816
+ *
4684
6817
  * @example
4685
6818
  * 535.54.03
4686
6819
  */
4687
6820
  driver?: string;
4688
6821
  /**
6822
+ * @remarks
6823
+ * The dynamic mount configuration.
6824
+ */
6825
+ dynamicMount?: DynamicMount;
6826
+ /**
6827
+ * @remarks
6828
+ * The ECS instance type of the instance. You can call [ListEcsSpecs](https://help.aliyun.com/document_detail/470423.html) to obtain the ECS instance type.
6829
+ *
4689
6830
  * @example
4690
6831
  * ecs.c6.large
4691
6832
  */
4692
6833
  ecsSpec?: string;
6834
+ /**
6835
+ * @remarks
6836
+ * The Base64-encoded account and password for the user‘s private image. The password will be hidden.
6837
+ *
6838
+ * @example
6839
+ * ****
6840
+ */
4693
6841
  imageAuth?: string;
4694
6842
  /**
6843
+ * @remarks
6844
+ * The image ID. You can call [ListImages](https://help.aliyun.com/document_detail/449118.html) to obtain the image ID.
6845
+ *
4695
6846
  * @example
4696
6847
  * image-05cefd0be2exxxx
4697
6848
  */
4698
6849
  imageId?: string;
4699
6850
  /**
6851
+ * @remarks
6852
+ * The image address. You can call [ListImages](https://help.aliyun.com/document_detail/449118.html) to obtain the image address.
6853
+ *
4700
6854
  * @example
4701
6855
  * registry.cn-shanghai.aliyuncs.com/pai_product/tensorflow:py36_cpu_tf1.12_ubuntu
4702
6856
  */
4703
6857
  imageUrl?: string;
4704
6858
  /**
6859
+ * @remarks
6860
+ * The instance name. Format requirements:
6861
+ *
6862
+ * * The name can contain only letters, digits, and underscores (_).
6863
+ * * The name can be up to 27 characters in length.
6864
+ *
4705
6865
  * @example
4706
6866
  * training_data
4707
6867
  */
4708
6868
  instanceName?: string;
4709
6869
  /**
6870
+ * @remarks
6871
+ * The priority based on which resources are allocated to instances. Valid values: 1 to 9.
6872
+ *
6873
+ * * 1: the lowest priority.
6874
+ * * 9 is the highest priority.
6875
+ *
4710
6876
  * @example
4711
6877
  * 1
4712
6878
  */
4713
6879
  priority?: number;
4714
6880
  /**
6881
+ * @remarks
6882
+ * The resource configurations.
6883
+ *
4715
6884
  * @example
4716
6885
  * {"CPU":"4","Memory":"8Gi","SharedMemory":"4Gi","GPU":"1","GPUType":"Tesla-V100-16G"}
4717
6886
  */
4718
6887
  requestedResource?: UpdateInstanceRequestRequestedResource;
4719
6888
  /**
6889
+ * @remarks
6890
+ * the User ID of the instance.
6891
+ *
4720
6892
  * @example
4721
- * 1612285282502324
6893
+ * 16122**********
4722
6894
  */
4723
6895
  userId?: string;
6896
+ /**
6897
+ * @remarks
6898
+ * The virtual private cloud (VPC) configurations.
6899
+ */
4724
6900
  userVpc?: UpdateInstanceRequestUserVpc;
4725
6901
  /**
6902
+ * @remarks
6903
+ * Specifies the storage corresponding to the working directory. You can mount disks or datasets to /mnt/workspace at the same time. OSS datasets and dynamically mounted datasets are not supported.
6904
+ *
6905
+ * Valid values:
6906
+ *
6907
+ * * rootfsCloudDisk: Mount disk to the working directory.
6908
+ * * Mount path of the dataset, such as /mnt/data: Datasets in URI format only support this method.
6909
+ * * Dataset ID, such as d-vsqjvs\\*\\*\\*\\*rp5l206u: If a single dataset is mounted to multiple paths, the first path is selected. We recommend that you do not use this method, use the mount path instead.
6910
+ *
6911
+ * If you leave this parameter empty:
6912
+ *
6913
+ * * If the instance uses cloud disks, cloud disks are selected by default.
6914
+ * * if no disks are available, the first NAS or CPFS dataset is selected as the working directory.
6915
+ * * If no disk, NAS, or CPFS datasets is available, the host space is used.
6916
+ *
4726
6917
  * @example
4727
- * d-123456789
6918
+ * /mnt/data
4728
6919
  */
4729
6920
  workspaceSource?: string;
4730
6921
  static names(): {
@@ -4740,31 +6931,58 @@ export declare class UpdateInstanceRequest extends $dara.Model {
4740
6931
  }
4741
6932
  export declare class UpdateInstanceResponseBody extends $dara.Model {
4742
6933
  /**
6934
+ * @remarks
6935
+ * The status code. Valid values:
6936
+ *
6937
+ * * InternalError: an internal error. All errors, except for parameter validation errors, are classified as internal errors.
6938
+ * * ValidationError: a parameter validation error.
6939
+ *
4743
6940
  * @example
4744
6941
  * null
4745
6942
  */
4746
6943
  code?: string;
4747
6944
  /**
6945
+ * @remarks
6946
+ * The HTTP status code. Valid values:
6947
+ *
6948
+ * * 400
6949
+ * * 404
6950
+ *
4748
6951
  * @example
4749
6952
  * null
4750
6953
  */
4751
6954
  httpStatusCode?: number;
4752
6955
  /**
6956
+ * @remarks
6957
+ * The instance ID.
6958
+ *
4753
6959
  * @example
4754
6960
  * dsw-730xxxxxxxxxx
4755
6961
  */
4756
6962
  instanceId?: string;
4757
6963
  /**
6964
+ * @remarks
6965
+ * The response message.
6966
+ *
4758
6967
  * @example
4759
6968
  * "XXX"
4760
6969
  */
4761
6970
  message?: string;
4762
6971
  /**
6972
+ * @remarks
6973
+ * The request ID.
6974
+ *
4763
6975
  * @example
4764
6976
  * E7D55162-4489-1619-AAF5-3F97D5FCA948
4765
6977
  */
4766
6978
  requestId?: string;
4767
6979
  /**
6980
+ * @remarks
6981
+ * Indicates whether the request was successful. Valid values:
6982
+ *
6983
+ * * true
6984
+ * * false
6985
+ *
4768
6986
  * @example
4769
6987
  * true
4770
6988
  */
@@ -4800,6 +7018,8 @@ export declare class UpdateInstanceResponse extends $dara.Model {
4800
7018
  export declare class UpdateInstanceLabelsRequest extends $dara.Model {
4801
7019
  /**
4802
7020
  * @remarks
7021
+ * The tags that you want to update.
7022
+ *
4803
7023
  * This parameter is required.
4804
7024
  */
4805
7025
  labels?: UpdateInstanceLabelsRequestLabels[];
@@ -4816,6 +7036,9 @@ export declare class UpdateInstanceLabelsRequest extends $dara.Model {
4816
7036
  }
4817
7037
  export declare class UpdateInstanceLabelsResponseBody extends $dara.Model {
4818
7038
  /**
7039
+ * @remarks
7040
+ * The request ID.
7041
+ *
4819
7042
  * @example
4820
7043
  * E7D55162-4489-1619-AAF5-3F97D5FCA948
4821
7044
  */
@@ -4854,6 +7077,8 @@ export default class Client extends OpenApi {
4854
7077
  [key: string]: string;
4855
7078
  }, endpoint: string): string;
4856
7079
  /**
7080
+ * Creates an automatic stop policy for a specific Data Science Workshop (DSW) instance. When the conditions are met, the instance is automatically stopped. You can create only one automatic stop policy for an idle DSW instance. If the specific instance has an automatic stop policy, call DeleteIdleInstanceCuller to delete it first.
7081
+ *
4857
7082
  * @param request - CreateIdleInstanceCullerRequest
4858
7083
  * @param headers - map
4859
7084
  * @param runtime - runtime options for this request RuntimeOptions
@@ -4863,12 +7088,14 @@ export default class Client extends OpenApi {
4863
7088
  [key: string]: string;
4864
7089
  }, runtime: $dara.RuntimeOptions): Promise<CreateIdleInstanceCullerResponse>;
4865
7090
  /**
7091
+ * Creates an automatic stop policy for a specific Data Science Workshop (DSW) instance. When the conditions are met, the instance is automatically stopped. You can create only one automatic stop policy for an idle DSW instance. If the specific instance has an automatic stop policy, call DeleteIdleInstanceCuller to delete it first.
7092
+ *
4866
7093
  * @param request - CreateIdleInstanceCullerRequest
4867
7094
  * @returns CreateIdleInstanceCullerResponse
4868
7095
  */
4869
7096
  createIdleInstanceCuller(InstanceId: string, request: CreateIdleInstanceCullerRequest): Promise<CreateIdleInstanceCullerResponse>;
4870
7097
  /**
4871
- * 创建实例
7098
+ * Creates a Data Science Workshop (DSW) instance.
4872
7099
  *
4873
7100
  * @param request - CreateInstanceRequest
4874
7101
  * @param headers - map
@@ -4879,14 +7106,14 @@ export default class Client extends OpenApi {
4879
7106
  [key: string]: string;
4880
7107
  }, runtime: $dara.RuntimeOptions): Promise<CreateInstanceResponse>;
4881
7108
  /**
4882
- * 创建实例
7109
+ * Creates a Data Science Workshop (DSW) instance.
4883
7110
  *
4884
7111
  * @param request - CreateInstanceRequest
4885
7112
  * @returns CreateInstanceResponse
4886
7113
  */
4887
7114
  createInstance(request: CreateInstanceRequest): Promise<CreateInstanceResponse>;
4888
7115
  /**
4889
- * 创建定时关机任务
7116
+ * Creates a scheduled stop task for an instance.
4890
7117
  *
4891
7118
  * @param request - CreateInstanceShutdownTimerRequest
4892
7119
  * @param headers - map
@@ -4897,7 +7124,7 @@ export default class Client extends OpenApi {
4897
7124
  [key: string]: string;
4898
7125
  }, runtime: $dara.RuntimeOptions): Promise<CreateInstanceShutdownTimerResponse>;
4899
7126
  /**
4900
- * 创建定时关机任务
7127
+ * Creates a scheduled stop task for an instance.
4901
7128
  *
4902
7129
  * @param request - CreateInstanceShutdownTimerRequest
4903
7130
  * @returns CreateInstanceShutdownTimerResponse
@@ -4922,6 +7149,8 @@ export default class Client extends OpenApi {
4922
7149
  */
4923
7150
  createInstanceSnapshot(InstanceId: string, request: CreateInstanceSnapshotRequest): Promise<CreateInstanceSnapshotResponse>;
4924
7151
  /**
7152
+ * Deletes the automatic stop policy of an instance.
7153
+ *
4925
7154
  * @param headers - map
4926
7155
  * @param runtime - runtime options for this request RuntimeOptions
4927
7156
  * @returns DeleteIdleInstanceCullerResponse
@@ -4930,11 +7159,12 @@ export default class Client extends OpenApi {
4930
7159
  [key: string]: string;
4931
7160
  }, runtime: $dara.RuntimeOptions): Promise<DeleteIdleInstanceCullerResponse>;
4932
7161
  /**
7162
+ * Deletes the automatic stop policy of an instance.
4933
7163
  * @returns DeleteIdleInstanceCullerResponse
4934
7164
  */
4935
7165
  deleteIdleInstanceCuller(InstanceId: string): Promise<DeleteIdleInstanceCullerResponse>;
4936
7166
  /**
4937
- * 删除实例
7167
+ * Deletes a specific instance.
4938
7168
  *
4939
7169
  * @param headers - map
4940
7170
  * @param runtime - runtime options for this request RuntimeOptions
@@ -4944,12 +7174,12 @@ export default class Client extends OpenApi {
4944
7174
  [key: string]: string;
4945
7175
  }, runtime: $dara.RuntimeOptions): Promise<DeleteInstanceResponse>;
4946
7176
  /**
4947
- * 删除实例
7177
+ * Deletes a specific instance.
4948
7178
  * @returns DeleteInstanceResponse
4949
7179
  */
4950
7180
  deleteInstance(InstanceId: string): Promise<DeleteInstanceResponse>;
4951
7181
  /**
4952
- * 删除DSW实例的标签
7182
+ * Delete tags from a Data Science Workshop (DSW) instance.
4953
7183
  *
4954
7184
  * @param request - DeleteInstanceLabelsRequest
4955
7185
  * @param headers - map
@@ -4960,14 +7190,14 @@ export default class Client extends OpenApi {
4960
7190
  [key: string]: string;
4961
7191
  }, runtime: $dara.RuntimeOptions): Promise<DeleteInstanceLabelsResponse>;
4962
7192
  /**
4963
- * 删除DSW实例的标签
7193
+ * Delete tags from a Data Science Workshop (DSW) instance.
4964
7194
  *
4965
7195
  * @param request - DeleteInstanceLabelsRequest
4966
7196
  * @returns DeleteInstanceLabelsResponse
4967
7197
  */
4968
7198
  deleteInstanceLabels(InstanceId: string, request: DeleteInstanceLabelsRequest): Promise<DeleteInstanceLabelsResponse>;
4969
7199
  /**
4970
- * 删除定时关机任务
7200
+ * Deletes a scheduled stop task of an instance.
4971
7201
  *
4972
7202
  * @param headers - map
4973
7203
  * @param runtime - runtime options for this request RuntimeOptions
@@ -4977,7 +7207,7 @@ export default class Client extends OpenApi {
4977
7207
  [key: string]: string;
4978
7208
  }, runtime: $dara.RuntimeOptions): Promise<DeleteInstanceShutdownTimerResponse>;
4979
7209
  /**
4980
- * 删除定时关机任务
7210
+ * Deletes a scheduled stop task of an instance.
4981
7211
  * @returns DeleteInstanceShutdownTimerResponse
4982
7212
  */
4983
7213
  deleteInstanceShutdownTimer(InstanceId: string): Promise<DeleteInstanceShutdownTimerResponse>;
@@ -4997,6 +7227,8 @@ export default class Client extends OpenApi {
4997
7227
  */
4998
7228
  deleteInstanceSnapshot(InstanceId: string, SnapshotId: string): Promise<DeleteInstanceSnapshotResponse>;
4999
7229
  /**
7230
+ * Queries the information about an auto stop policy for a specific idle instance.
7231
+ *
5000
7232
  * @param headers - map
5001
7233
  * @param runtime - runtime options for this request RuntimeOptions
5002
7234
  * @returns GetIdleInstanceCullerResponse
@@ -5005,11 +7237,12 @@ export default class Client extends OpenApi {
5005
7237
  [key: string]: string;
5006
7238
  }, runtime: $dara.RuntimeOptions): Promise<GetIdleInstanceCullerResponse>;
5007
7239
  /**
7240
+ * Queries the information about an auto stop policy for a specific idle instance.
5008
7241
  * @returns GetIdleInstanceCullerResponse
5009
7242
  */
5010
7243
  getIdleInstanceCuller(InstanceId: string): Promise<GetIdleInstanceCullerResponse>;
5011
7244
  /**
5012
- * 获取实例详情
7245
+ * Queries the details of a DSW instance.
5013
7246
  *
5014
7247
  * @param request - GetInstanceRequest
5015
7248
  * @param headers - map
@@ -5020,13 +7253,15 @@ export default class Client extends OpenApi {
5020
7253
  [key: string]: string;
5021
7254
  }, runtime: $dara.RuntimeOptions): Promise<GetInstanceResponse>;
5022
7255
  /**
5023
- * 获取实例详情
7256
+ * Queries the details of a DSW instance.
5024
7257
  *
5025
7258
  * @param request - GetInstanceRequest
5026
7259
  * @returns GetInstanceResponse
5027
7260
  */
5028
7261
  getInstance(InstanceId: string, request: GetInstanceRequest): Promise<GetInstanceResponse>;
5029
7262
  /**
7263
+ * Queries a list of system events for a Data Science Workshop (DSW) instance.
7264
+ *
5030
7265
  * @param request - GetInstanceEventsRequest
5031
7266
  * @param headers - map
5032
7267
  * @param runtime - runtime options for this request RuntimeOptions
@@ -5036,11 +7271,15 @@ export default class Client extends OpenApi {
5036
7271
  [key: string]: string;
5037
7272
  }, runtime: $dara.RuntimeOptions): Promise<GetInstanceEventsResponse>;
5038
7273
  /**
7274
+ * Queries a list of system events for a Data Science Workshop (DSW) instance.
7275
+ *
5039
7276
  * @param request - GetInstanceEventsRequest
5040
7277
  * @returns GetInstanceEventsResponse
5041
7278
  */
5042
7279
  getInstanceEvents(InstanceId: string, request: GetInstanceEventsRequest): Promise<GetInstanceEventsResponse>;
5043
7280
  /**
7281
+ * Queries the resource metrics of an instance.
7282
+ *
5044
7283
  * @param request - GetInstanceMetricsRequest
5045
7284
  * @param headers - map
5046
7285
  * @param runtime - runtime options for this request RuntimeOptions
@@ -5050,6 +7289,8 @@ export default class Client extends OpenApi {
5050
7289
  [key: string]: string;
5051
7290
  }, runtime: $dara.RuntimeOptions): Promise<GetInstanceMetricsResponse>;
5052
7291
  /**
7292
+ * Queries the resource metrics of an instance.
7293
+ *
5053
7294
  * @param request - GetInstanceMetricsRequest
5054
7295
  * @returns GetInstanceMetricsResponse
5055
7296
  */
@@ -5085,6 +7326,11 @@ export default class Client extends OpenApi {
5085
7326
  */
5086
7327
  getInstanceSnapshot(InstanceId: string, SnapshotId: string): Promise<GetInstanceSnapshotResponse>;
5087
7328
  /**
7329
+ * Obtains the lifecycle of an instance
7330
+ *
7331
+ * @remarks
7332
+ * Obtains the lifecycle transition information for an instance, including details on the status an instance transitions to at a specific point in time.
7333
+ *
5088
7334
  * @param request - GetLifecycleRequest
5089
7335
  * @param headers - map
5090
7336
  * @param runtime - runtime options for this request RuntimeOptions
@@ -5094,6 +7340,11 @@ export default class Client extends OpenApi {
5094
7340
  [key: string]: string;
5095
7341
  }, runtime: $dara.RuntimeOptions): Promise<GetLifecycleResponse>;
5096
7342
  /**
7343
+ * Obtains the lifecycle of an instance
7344
+ *
7345
+ * @remarks
7346
+ * Obtains the lifecycle transition information for an instance, including details on the status an instance transitions to at a specific point in time.
7347
+ *
5097
7348
  * @param request - GetLifecycleRequest
5098
7349
  * @returns GetLifecycleResponse
5099
7350
  */
@@ -5131,6 +7382,8 @@ export default class Client extends OpenApi {
5131
7382
  */
5132
7383
  getResourceGroupStatistics(request: GetResourceGroupStatisticsRequest): Promise<GetResourceGroupStatisticsResponse>;
5133
7384
  /**
7385
+ * Obtains the temporary authentication information of a DSW instance.
7386
+ *
5134
7387
  * @param request - GetTokenRequest
5135
7388
  * @param headers - map
5136
7389
  * @param runtime - runtime options for this request RuntimeOptions
@@ -5140,6 +7393,8 @@ export default class Client extends OpenApi {
5140
7393
  [key: string]: string;
5141
7394
  }, runtime: $dara.RuntimeOptions): Promise<GetTokenResponse>;
5142
7395
  /**
7396
+ * Obtains the temporary authentication information of a DSW instance.
7397
+ *
5143
7398
  * @param request - GetTokenRequest
5144
7399
  * @returns GetTokenResponse
5145
7400
  */
@@ -5214,6 +7469,8 @@ export default class Client extends OpenApi {
5214
7469
  */
5215
7470
  listInstanceStatistics(request: ListInstanceStatisticsRequest): Promise<ListInstanceStatisticsResponse>;
5216
7471
  /**
7472
+ * Queries a list of Data Science Workshop (DSW) instances.
7473
+ *
5217
7474
  * @param tmpReq - ListInstancesRequest
5218
7475
  * @param headers - map
5219
7476
  * @param runtime - runtime options for this request RuntimeOptions
@@ -5223,6 +7480,8 @@ export default class Client extends OpenApi {
5223
7480
  [key: string]: string;
5224
7481
  }, runtime: $dara.RuntimeOptions): Promise<ListInstancesResponse>;
5225
7482
  /**
7483
+ * Queries a list of Data Science Workshop (DSW) instances.
7484
+ *
5226
7485
  * @param request - ListInstancesRequest
5227
7486
  * @returns ListInstancesResponse
5228
7487
  */
@@ -5261,7 +7520,7 @@ export default class Client extends OpenApi {
5261
7520
  */
5262
7521
  stopInstance(InstanceId: string, request: StopInstanceRequest): Promise<StopInstanceResponse>;
5263
7522
  /**
5264
- * 更新实例
7523
+ * Updates the properties of a DSW instance.
5265
7524
  *
5266
7525
  * @param request - UpdateInstanceRequest
5267
7526
  * @param headers - map
@@ -5272,14 +7531,14 @@ export default class Client extends OpenApi {
5272
7531
  [key: string]: string;
5273
7532
  }, runtime: $dara.RuntimeOptions): Promise<UpdateInstanceResponse>;
5274
7533
  /**
5275
- * 更新实例
7534
+ * Updates the properties of a DSW instance.
5276
7535
  *
5277
7536
  * @param request - UpdateInstanceRequest
5278
7537
  * @returns UpdateInstanceResponse
5279
7538
  */
5280
7539
  updateInstance(InstanceId: string, request: UpdateInstanceRequest): Promise<UpdateInstanceResponse>;
5281
7540
  /**
5282
- * 修改DSW实例的标签
7541
+ * Updates the tags of a Data Science Workshop (DSW) instance. If the tags do not exist, the system adds tags.
5283
7542
  *
5284
7543
  * @param request - UpdateInstanceLabelsRequest
5285
7544
  * @param headers - map
@@ -5290,7 +7549,7 @@ export default class Client extends OpenApi {
5290
7549
  [key: string]: string;
5291
7550
  }, runtime: $dara.RuntimeOptions): Promise<UpdateInstanceLabelsResponse>;
5292
7551
  /**
5293
- * 修改DSW实例的标签
7552
+ * Updates the tags of a Data Science Workshop (DSW) instance. If the tags do not exist, the system adds tags.
5294
7553
  *
5295
7554
  * @param request - UpdateInstanceLabelsRequest
5296
7555
  * @returns UpdateInstanceLabelsResponse