@alicloud/pai-dsw20220101 1.4.9 → 1.4.10

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
  */
@@ -1205,7 +1655,21 @@ export declare class ListInstanceSnapshotResponseBodySnapshots extends $dara.Mod
1205
1655
  });
1206
1656
  }
1207
1657
  export declare class ListInstancesRequestTag extends $dara.Model {
1658
+ /**
1659
+ * @remarks
1660
+ * The tag key.
1661
+ *
1662
+ * @example
1663
+ * tag1
1664
+ */
1208
1665
  key?: string;
1666
+ /**
1667
+ * @remarks
1668
+ * The tag value.
1669
+ *
1670
+ * @example
1671
+ * value1
1672
+ */
1209
1673
  value?: string;
1210
1674
  static names(): {
1211
1675
  [key: string]: string;
@@ -1219,6 +1683,15 @@ export declare class ListInstancesRequestTag extends $dara.Model {
1219
1683
  });
1220
1684
  }
1221
1685
  export declare class ListInstancesResponseBodyInstancesAffinityCPU extends $dara.Model {
1686
+ /**
1687
+ * @remarks
1688
+ * Indicates whether the CPU affinity feature was enabled.
1689
+ *
1690
+ * true false
1691
+ *
1692
+ * @example
1693
+ * true
1694
+ */
1222
1695
  enable?: boolean;
1223
1696
  static names(): {
1224
1697
  [key: string]: string;
@@ -1232,6 +1705,10 @@ export declare class ListInstancesResponseBodyInstancesAffinityCPU extends $dara
1232
1705
  });
1233
1706
  }
1234
1707
  export declare class ListInstancesResponseBodyInstancesAffinity extends $dara.Model {
1708
+ /**
1709
+ * @remarks
1710
+ * The CPU affinity configuration. Only subscription instances that use general-purpose computing resources support CPU affinity configuration.
1711
+ */
1235
1712
  CPU?: ListInstancesResponseBodyInstancesAffinityCPU;
1236
1713
  static names(): {
1237
1714
  [key: string]: string;
@@ -1246,21 +1723,33 @@ export declare class ListInstancesResponseBodyInstancesAffinity extends $dara.Mo
1246
1723
  }
1247
1724
  export declare class ListInstancesResponseBodyInstancesCloudDisks extends $dara.Model {
1248
1725
  /**
1726
+ * @remarks
1727
+ * The cloud disk capacity.
1728
+ *
1249
1729
  * @example
1250
1730
  * 30Gi
1251
1731
  */
1252
1732
  capacity?: string;
1253
1733
  /**
1734
+ * @remarks
1735
+ * The mount path of the cloud disk in the container.
1736
+ *
1254
1737
  * @example
1255
1738
  * /mmt/workspace
1256
1739
  */
1257
1740
  mountPath?: string;
1258
1741
  /**
1742
+ * @remarks
1743
+ * The directory on the cloud disk that is mounted to the container.
1744
+ *
1259
1745
  * @example
1260
1746
  * /workspace
1261
1747
  */
1262
1748
  path?: string;
1263
1749
  /**
1750
+ * @remarks
1751
+ * The cloud disk type. The value rootfs indicates that the cloud disk is used as the root file system (rootfs).
1752
+ *
1264
1753
  * @example
1265
1754
  * rootfs
1266
1755
  */
@@ -1278,19 +1767,72 @@ export declare class ListInstancesResponseBodyInstancesCloudDisks extends $dara.
1278
1767
  }
1279
1768
  export declare class ListInstancesResponseBodyInstancesDatasets extends $dara.Model {
1280
1769
  /**
1770
+ * @remarks
1771
+ * The dataset ID.
1772
+ *
1281
1773
  * @example
1282
1774
  * d-vsqjvsjp4orp5l206u
1283
1775
  */
1284
1776
  datasetId?: string;
1777
+ /**
1778
+ * @remarks
1779
+ * The dataset version.
1780
+ *
1781
+ * @example
1782
+ * v1
1783
+ */
1285
1784
  datasetVersion?: string;
1785
+ /**
1786
+ * @remarks
1787
+ * Indicates whether dynamic mounting was enabled. Default value: false.
1788
+ *
1789
+ * @example
1790
+ * false
1791
+ */
1792
+ dynamic?: boolean;
1793
+ /**
1794
+ * @remarks
1795
+ * The read and write permissions. Valid values: RW and RO.
1796
+ *
1797
+ * @example
1798
+ * RW
1799
+ */
1286
1800
  mountAccess?: string;
1287
1801
  /**
1802
+ * @remarks
1803
+ * The mount path in the container.
1804
+ *
1288
1805
  * @example
1289
1806
  * /mnt/data
1290
1807
  */
1291
1808
  mountPath?: string;
1809
+ /**
1810
+ * @remarks
1811
+ * The type of the mount option.
1812
+ *
1813
+ * @example
1814
+ * FastReadWrite
1815
+ */
1292
1816
  optionType?: string;
1817
+ /**
1818
+ * @remarks
1819
+ * The mount type of the dataset.
1820
+ *
1821
+ * @example
1822
+ * {
1823
+ * "fs.oss.download.thread.concurrency": "10",
1824
+ * "fs.oss.upload.thread.concurrency": "10",
1825
+ * "fs.jindo.args": "-oattr_timeout=3 -oentry_timeout=0 -onegative_timeout=0 -oauto_cache -ono_symlink"
1826
+ * }
1827
+ */
1293
1828
  options?: string;
1829
+ /**
1830
+ * @remarks
1831
+ * The dataset URI.
1832
+ *
1833
+ * @example
1834
+ * oss://bucket-name.oss-cn-shanghai-internal.aliyuncs.com/data/path/
1835
+ */
1294
1836
  uri?: string;
1295
1837
  static names(): {
1296
1838
  [key: string]: string;
@@ -1305,26 +1847,41 @@ export declare class ListInstancesResponseBodyInstancesDatasets extends $dara.Mo
1305
1847
  }
1306
1848
  export declare class ListInstancesResponseBodyInstancesIdleInstanceCuller extends $dara.Model {
1307
1849
  /**
1850
+ * @remarks
1851
+ * 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.
1852
+ *
1308
1853
  * @example
1309
1854
  * 20
1310
1855
  */
1311
1856
  cpuPercentThreshold?: number;
1312
1857
  /**
1858
+ * @remarks
1859
+ * 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.
1860
+ *
1313
1861
  * @example
1314
1862
  * 10
1315
1863
  */
1316
1864
  gpuPercentThreshold?: number;
1317
1865
  /**
1866
+ * @remarks
1867
+ * The time duration for which the instance is idle. Unit: minutes.
1868
+ *
1318
1869
  * @example
1319
1870
  * 30
1320
1871
  */
1321
1872
  idleTimeInMinutes?: number;
1322
1873
  /**
1874
+ * @remarks
1875
+ * The instance ID.
1876
+ *
1323
1877
  * @example
1324
1878
  * dsw-730xxxxxxxxxx
1325
1879
  */
1326
1880
  instanceId?: string;
1327
1881
  /**
1882
+ * @remarks
1883
+ * 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.
1884
+ *
1328
1885
  * @example
1329
1886
  * 60
1330
1887
  */
@@ -1342,26 +1899,41 @@ export declare class ListInstancesResponseBodyInstancesIdleInstanceCuller extend
1342
1899
  }
1343
1900
  export declare class ListInstancesResponseBodyInstancesInstanceShutdownTimer extends $dara.Model {
1344
1901
  /**
1902
+ * @remarks
1903
+ * The scheduled stop time.
1904
+ *
1345
1905
  * @example
1346
1906
  * 2021-01-12T14:36:01Z
1347
1907
  */
1348
1908
  dueTime?: string;
1349
1909
  /**
1910
+ * @remarks
1911
+ * The time when the instance was created.
1912
+ *
1350
1913
  * @example
1351
1914
  * 2021-01-12T14:36:01Z
1352
1915
  */
1353
1916
  gmtCreateTime?: string;
1354
1917
  /**
1918
+ * @remarks
1919
+ * The time when the instance was modified.
1920
+ *
1355
1921
  * @example
1356
1922
  * 2021-01-12T14:36:01Z
1357
1923
  */
1358
1924
  gmtModifiedTime?: string;
1359
1925
  /**
1926
+ * @remarks
1927
+ * The instance ID.
1928
+ *
1360
1929
  * @example
1361
1930
  * dsw-730xxxxxxxxxx
1362
1931
  */
1363
1932
  instanceId?: string;
1364
1933
  /**
1934
+ * @remarks
1935
+ * The remaining time before the instance is stopped.
1936
+ *
1365
1937
  * @example
1366
1938
  * 3600000
1367
1939
  */
@@ -1379,46 +1951,73 @@ export declare class ListInstancesResponseBodyInstancesInstanceShutdownTimer ext
1379
1951
  }
1380
1952
  export declare class ListInstancesResponseBodyInstancesInstanceSnapshotList extends $dara.Model {
1381
1953
  /**
1954
+ * @remarks
1955
+ * The time when the snapshot was created.
1956
+ *
1382
1957
  * @example
1383
1958
  * 2021-01-12T14:36:01Z
1384
1959
  */
1385
1960
  gmtCreateTime?: string;
1386
1961
  /**
1962
+ * @remarks
1963
+ * The time when the snapshot was modified.
1964
+ *
1387
1965
  * @example
1388
1966
  * 2021-01-12T14:36:01Z
1389
1967
  */
1390
1968
  gmtModifiedTime?: string;
1391
1969
  /**
1970
+ * @remarks
1971
+ * The image ID.
1972
+ *
1392
1973
  * @example
1393
1974
  * image-05cefd0be2exxxx
1394
1975
  */
1395
1976
  imageId?: string;
1396
1977
  /**
1978
+ * @remarks
1979
+ * The image name.
1980
+ *
1397
1981
  * @example
1398
1982
  * py36_cpu_tf1.12_ubuntu
1399
1983
  */
1400
1984
  imageName?: string;
1401
1985
  /**
1986
+ * @remarks
1987
+ * The image URL.
1988
+ *
1402
1989
  * @example
1403
1990
  * registry.cn-shanghai.aliyuncs.com/pai_product/tensorflow:py36_cpu_tf1.12_ubuntu
1404
1991
  */
1405
1992
  imageUrl?: string;
1406
1993
  /**
1994
+ * @remarks
1995
+ * The error code of the instance snapshot.
1996
+ *
1407
1997
  * @example
1408
1998
  * Internal Error
1409
1999
  */
1410
2000
  reasonCode?: string;
1411
2001
  /**
2002
+ * @remarks
2003
+ * The error message of the instance snapshot.
2004
+ *
1412
2005
  * @example
1413
2006
  * ImagePullBackOff
1414
2007
  */
1415
2008
  reasonMessage?: string;
1416
2009
  /**
2010
+ * @remarks
2011
+ * The URL of the image repository.
2012
+ *
1417
2013
  * @example
1418
2014
  * https://cr.console.aliyun.com/repository/cn-hangzhou/zouxu/kf/images
1419
2015
  */
1420
2016
  repositoryUrl?: string;
1421
2017
  /**
2018
+ * @remarks
2019
+ * The status of the instance snapshot.
2020
+ *
1422
2021
  * @example
1423
2022
  * Pushing
1424
2023
  */
@@ -1436,11 +2035,17 @@ export declare class ListInstancesResponseBodyInstancesInstanceSnapshotList exte
1436
2035
  }
1437
2036
  export declare class ListInstancesResponseBodyInstancesLabels extends $dara.Model {
1438
2037
  /**
2038
+ * @remarks
2039
+ * The custom label key.
2040
+ *
1439
2041
  * @example
1440
2042
  * stsTokenOwner
1441
2043
  */
1442
2044
  key?: string;
1443
2045
  /**
2046
+ * @remarks
2047
+ * The custom label value.
2048
+ *
1444
2049
  * @example
1445
2050
  * 123xxxxxxxx
1446
2051
  */
@@ -1458,46 +2063,73 @@ export declare class ListInstancesResponseBodyInstancesLabels extends $dara.Mode
1458
2063
  }
1459
2064
  export declare class ListInstancesResponseBodyInstancesLatestSnapshot extends $dara.Model {
1460
2065
  /**
2066
+ * @remarks
2067
+ * The time when the snapshot was created.
2068
+ *
1461
2069
  * @example
1462
2070
  * 2021-01-12T14:36:01Z
1463
2071
  */
1464
2072
  gmtCreateTime?: string;
1465
2073
  /**
2074
+ * @remarks
2075
+ * The time when the snapshot was modified.
2076
+ *
1466
2077
  * @example
1467
2078
  * 2021-01-12T14:36:01Z
1468
2079
  */
1469
2080
  gmtModifiedTime?: string;
1470
2081
  /**
2082
+ * @remarks
2083
+ * The image ID.
2084
+ *
1471
2085
  * @example
1472
2086
  * image-05cefd0be2exxxx
1473
2087
  */
1474
2088
  imageId?: string;
1475
2089
  /**
2090
+ * @remarks
2091
+ * The image name.
2092
+ *
1476
2093
  * @example
1477
2094
  * py36_cpu_tf1.12_ubuntu
1478
2095
  */
1479
2096
  imageName?: string;
1480
2097
  /**
2098
+ * @remarks
2099
+ * The image URL.
2100
+ *
1481
2101
  * @example
1482
2102
  * registry.cn-shanghai.aliyuncs.com/pai_product/tensorflow:py36_cpu_tf1.12_ubuntu
1483
2103
  */
1484
2104
  imageUrl?: string;
1485
2105
  /**
2106
+ * @remarks
2107
+ * The error code of the instance snapshot.
2108
+ *
1486
2109
  * @example
1487
2110
  * Internal Error
1488
2111
  */
1489
2112
  reasonCode?: string;
1490
2113
  /**
2114
+ * @remarks
2115
+ * The error message of the instance snapshot.
2116
+ *
1491
2117
  * @example
1492
2118
  * ImagePullBackOff
1493
2119
  */
1494
2120
  reasonMessage?: string;
1495
2121
  /**
2122
+ * @remarks
2123
+ * The URL of the image repository.
2124
+ *
1496
2125
  * @example
1497
2126
  * https://cr.console.aliyun.com/repository/cn-hangzhou/zouxu/kf/images
1498
2127
  */
1499
2128
  repositoryUrl?: string;
1500
2129
  /**
2130
+ * @remarks
2131
+ * The status of the instance snapshot.
2132
+ *
1501
2133
  * @example
1502
2134
  * Pushing
1503
2135
  */
@@ -1515,26 +2147,41 @@ export declare class ListInstancesResponseBodyInstancesLatestSnapshot extends $d
1515
2147
  }
1516
2148
  export declare class ListInstancesResponseBodyInstancesRequestedResource extends $dara.Model {
1517
2149
  /**
2150
+ * @remarks
2151
+ * The number of CPU cores.
2152
+ *
1518
2153
  * @example
1519
2154
  * 32
1520
2155
  */
1521
2156
  CPU?: string;
1522
2157
  /**
2158
+ * @remarks
2159
+ * The number of GPUs.
2160
+ *
1523
2161
  * @example
1524
2162
  * 4
1525
2163
  */
1526
2164
  GPU?: string;
1527
2165
  /**
2166
+ * @remarks
2167
+ * The GPU memory type.
2168
+ *
1528
2169
  * @example
1529
2170
  * v100
1530
2171
  */
1531
2172
  GPUType?: string;
1532
2173
  /**
2174
+ * @remarks
2175
+ * The memory size.
2176
+ *
1533
2177
  * @example
1534
2178
  * 32
1535
2179
  */
1536
2180
  memory?: string;
1537
2181
  /**
2182
+ * @remarks
2183
+ * The size of the shared memory.
2184
+ *
1538
2185
  * @example
1539
2186
  * 32
1540
2187
  */
@@ -1551,7 +2198,21 @@ export declare class ListInstancesResponseBodyInstancesRequestedResource extends
1551
2198
  });
1552
2199
  }
1553
2200
  export declare class ListInstancesResponseBodyInstancesTags extends $dara.Model {
2201
+ /**
2202
+ * @remarks
2203
+ * The tag key.
2204
+ *
2205
+ * @example
2206
+ * tag1
2207
+ */
1554
2208
  tagKey?: string;
2209
+ /**
2210
+ * @remarks
2211
+ * The tag value.
2212
+ *
2213
+ * @example
2214
+ * value1
2215
+ */
1555
2216
  tagValue?: string;
1556
2217
  static names(): {
1557
2218
  [key: string]: string;
@@ -1565,28 +2226,48 @@ export declare class ListInstancesResponseBodyInstancesTags extends $dara.Model
1565
2226
  });
1566
2227
  }
1567
2228
  export declare class ListInstancesResponseBodyInstancesUserVpc extends $dara.Model {
2229
+ bandwidthLimit?: BandwidthLimit;
1568
2230
  /**
2231
+ * @remarks
2232
+ * The default route.
2233
+ *
1569
2234
  * @example
1570
2235
  * eth0 | eth1
1571
2236
  */
1572
2237
  defaultRoute?: string;
1573
2238
  /**
2239
+ * @remarks
2240
+ * The extended CIDR blocks.
2241
+ *
1574
2242
  * @example
1575
2243
  * ["192.168.0.1/24", "192.168.1.1/24"]
1576
2244
  */
1577
2245
  extendedCIDRs?: string[];
2246
+ /**
2247
+ * @remarks
2248
+ * The forward information.
2249
+ */
1578
2250
  forwardInfos?: ForwardInfoResponse[];
1579
2251
  /**
2252
+ * @remarks
2253
+ * The security group ID.
2254
+ *
1580
2255
  * @example
1581
2256
  * sg-xxxxxx
1582
2257
  */
1583
2258
  securityGroupId?: string;
1584
2259
  /**
2260
+ * @remarks
2261
+ * The vSwitch ID.
2262
+ *
1585
2263
  * @example
1586
2264
  * vsw-xxxxx
1587
2265
  */
1588
2266
  vSwitchId?: string;
1589
2267
  /**
2268
+ * @remarks
2269
+ * The VPC ID.
2270
+ *
1590
2271
  * @example
1591
2272
  * vpc-xxxxx
1592
2273
  */
@@ -1604,39 +2285,83 @@ export declare class ListInstancesResponseBodyInstancesUserVpc extends $dara.Mod
1604
2285
  }
1605
2286
  export declare class ListInstancesResponseBodyInstances extends $dara.Model {
1606
2287
  /**
2288
+ * @remarks
2289
+ * The accelerator type of the instance. Valid values:
2290
+ *
2291
+ * * CPU
2292
+ * * GPU
2293
+ *
1607
2294
  * @example
1608
2295
  * CPU
1609
2296
  */
1610
2297
  acceleratorType?: string;
1611
2298
  /**
2299
+ * @remarks
2300
+ * The accessibility. Valid values:
2301
+ *
2302
+ * * PRIVATE (default): The instances are accessible only to you and the administrator of the workspace.
2303
+ * * PUBLIC: The instances are accessible only to all members in the workspace.
2304
+ *
1612
2305
  * @example
1613
2306
  * PRIVATE
1614
2307
  */
1615
2308
  accessibility?: string;
1616
2309
  /**
2310
+ * @remarks
2311
+ * The accumulated running duration. Unit: milliseconds.
2312
+ *
1617
2313
  * @example
1618
2314
  * 3600000
1619
2315
  */
1620
2316
  accumulatedRunningTimeInMs?: number;
2317
+ /**
2318
+ * @remarks
2319
+ * The affinity configuration.
2320
+ */
1621
2321
  affinity?: ListInstancesResponseBodyInstancesAffinity;
1622
2322
  /**
2323
+ * @remarks
2324
+ * The cloud disks of the instance.
2325
+ *
1623
2326
  * @example
1624
2327
  * []
1625
2328
  */
1626
2329
  cloudDisks?: ListInstancesResponseBodyInstancesCloudDisks[];
2330
+ /**
2331
+ * @remarks
2332
+ * The credential configuration.
2333
+ */
1627
2334
  credentialConfig?: CredentialConfig;
2335
+ /**
2336
+ * @remarks
2337
+ * The datasets.
2338
+ */
1628
2339
  datasets?: ListInstancesResponseBodyInstancesDatasets[];
1629
2340
  /**
2341
+ * @remarks
2342
+ * The NVIDIA driver configuration.
2343
+ *
1630
2344
  * @example
1631
2345
  * 535.54.03
1632
2346
  */
1633
2347
  driver?: string;
1634
2348
  /**
2349
+ * @remarks
2350
+ * The dynamic mount configurations.
2351
+ */
2352
+ dynamicMount?: DynamicMount;
2353
+ /**
2354
+ * @remarks
2355
+ * The ECS instance type of the instance.
2356
+ *
1635
2357
  * @example
1636
2358
  * ecs.c6.large
1637
2359
  */
1638
2360
  ecsSpec?: string;
1639
2361
  /**
2362
+ * @remarks
2363
+ * The environment variables.
2364
+ *
1640
2365
  * @example
1641
2366
  * {userName: "Chris"}
1642
2367
  */
@@ -1644,147 +2369,253 @@ export declare class ListInstancesResponseBodyInstances extends $dara.Model {
1644
2369
  [key: string]: string;
1645
2370
  };
1646
2371
  /**
2372
+ * @remarks
2373
+ * The time when the instance was created.
2374
+ *
1647
2375
  * @example
1648
2376
  * 2021-01-12T14:36:01Z
1649
2377
  */
1650
2378
  gmtCreateTime?: string;
1651
2379
  /**
2380
+ * @remarks
2381
+ * The time when the instance was modified.
2382
+ *
1652
2383
  * @example
1653
2384
  * 2021-01-12T14:36:01Z
1654
2385
  */
1655
2386
  gmtModifiedTime?: string;
1656
2387
  /**
2388
+ * @remarks
2389
+ * The rule for stopping idle instances.
2390
+ *
1657
2391
  * @example
1658
2392
  * {"InstanceId":"dsw-05cefd0be2e5a278","CpuPercentThreshold":20,"GpuPercentThreshold":10,"MaxIdleTimeInMinutes":120,"IdleTimeInMinutes":30}
1659
2393
  */
1660
2394
  idleInstanceCuller?: ListInstancesResponseBodyInstancesIdleInstanceCuller;
2395
+ /**
2396
+ * @remarks
2397
+ * The Base64-encoded account and password for the user\\"s private image. The password will be hidden.
2398
+ *
2399
+ * @example
2400
+ * aGFyYm9yYWlAeGltYWxheWE6KioqKioq
2401
+ */
1661
2402
  imageAuth?: string;
1662
2403
  /**
2404
+ * @remarks
2405
+ * The image ID.
2406
+ *
1663
2407
  * @example
1664
2408
  * image-05cefd0be2exxxx
1665
2409
  */
1666
2410
  imageId?: string;
1667
2411
  /**
2412
+ * @remarks
2413
+ * The image name.
2414
+ *
1668
2415
  * @example
1669
2416
  * py36_cpu_tf1.12_ubuntu
1670
2417
  */
1671
2418
  imageName?: string;
1672
2419
  /**
2420
+ * @remarks
2421
+ * The image address.
2422
+ *
1673
2423
  * @example
1674
2424
  * registry.cn-shanghai.aliyuncs.com/pai_product/tensorflow:py36_cpu_tf1.12_ubuntu
1675
2425
  */
1676
2426
  imageUrl?: string;
1677
2427
  /**
2428
+ * @remarks
2429
+ * The instance ID.
2430
+ *
1678
2431
  * @example
1679
2432
  * dsw-730xxxxxxxxxx
1680
2433
  */
1681
2434
  instanceId?: string;
1682
2435
  /**
2436
+ * @remarks
2437
+ * The instance name.
2438
+ *
1683
2439
  * @example
1684
2440
  * training_data
1685
2441
  */
1686
2442
  instanceName?: string;
2443
+ /**
2444
+ * @remarks
2445
+ * The scheduled stop task.
2446
+ */
1687
2447
  instanceShutdownTimer?: ListInstancesResponseBodyInstancesInstanceShutdownTimer;
1688
2448
  /**
2449
+ * @remarks
2450
+ * The instance snapshots.
2451
+ *
1689
2452
  * @example
1690
2453
  * []
1691
2454
  */
1692
2455
  instanceSnapshotList?: ListInstancesResponseBodyInstancesInstanceSnapshotList[];
1693
2456
  /**
2457
+ * @remarks
2458
+ * The instance URL.
2459
+ *
1694
2460
  * @example
1695
2461
  * https://dsw-cn-shanghai.data.aliyun.com/notebook.htm?instance=39772#/
1696
2462
  */
1697
2463
  instanceUrl?: string;
1698
2464
  /**
1699
2465
  * @remarks
1700
- * Jupyterlab Url。
2466
+ * The JupyterLab URL.
1701
2467
  *
1702
2468
  * @example
1703
2469
  * https://dsw-gateway-cn-shanghai.aliyun.com/dsw-39772/lab/
1704
2470
  */
1705
2471
  jupyterlabUrl?: string;
1706
2472
  /**
2473
+ * @remarks
2474
+ * The custom labels.
2475
+ *
1707
2476
  * @example
1708
2477
  * {\\"foo\\": \\"bar\\"}
1709
2478
  */
1710
2479
  labels?: ListInstancesResponseBodyInstancesLabels[];
2480
+ /**
2481
+ * @remarks
2482
+ * The user image that was latest saved.
2483
+ */
1711
2484
  latestSnapshot?: ListInstancesResponseBodyInstancesLatestSnapshot;
2485
+ oversoldInfo?: string;
2486
+ oversoldType?: string;
1712
2487
  /**
2488
+ * @remarks
2489
+ * The billing method. Valid values:
2490
+ *
2491
+ * * PayAsYouGo
2492
+ * * Subscription
2493
+ *
1713
2494
  * @example
1714
2495
  * PayAsYouGo
1715
2496
  */
1716
2497
  paymentType?: string;
1717
2498
  /**
2499
+ * @remarks
2500
+ * The priority based on which resources are allocated to instances. Resources are preferentially allocated to instances with higher priorities.
2501
+ *
1718
2502
  * @example
1719
2503
  * 1
1720
2504
  */
1721
2505
  priority?: number;
1722
2506
  /**
2507
+ * @remarks
2508
+ * The error code of the instance.
2509
+ *
1723
2510
  * @example
1724
2511
  * Internal Error
1725
2512
  */
1726
2513
  reasonCode?: string;
1727
2514
  /**
2515
+ * @remarks
2516
+ * The cause of the instance error.
2517
+ *
1728
2518
  * @example
1729
2519
  * ImagePullBackOff
1730
2520
  */
1731
2521
  reasonMessage?: string;
1732
2522
  /**
2523
+ * @remarks
2524
+ * The resource configurations.
2525
+ *
1733
2526
  * @example
1734
2527
  * {"CPU":"4","Memory":"8Gi","SharedMemory":"4Gi","GPU":"1","GPUType":"Tesla-V100-16G"}
1735
2528
  */
1736
2529
  requestedResource?: ListInstancesResponseBodyInstancesRequestedResource;
1737
2530
  /**
2531
+ * @remarks
2532
+ * The resource ID. This parameter is valid only if you set PaymentType to Subscription.
2533
+ *
1738
2534
  * @example
1739
2535
  * dsw-123456789
1740
2536
  */
1741
2537
  resourceId?: string;
1742
2538
  /**
2539
+ * @remarks
2540
+ * The specifications.
2541
+ *
2542
+ * * In pay-as-you-go scenarios, the value is the specifications of the purchased ECS instance type.
2543
+ * * In subscription scenarios, the value is the requested number of CPU cores and memory size.
2544
+ *
1743
2545
  * @example
1744
2546
  * resource_group
1745
2547
  */
1746
2548
  resourceName?: string;
1747
2549
  /**
2550
+ * @remarks
2551
+ * The instance status.
2552
+ *
1748
2553
  * @example
1749
2554
  * Running
1750
2555
  */
1751
2556
  status?: string;
2557
+ /**
2558
+ * @remarks
2559
+ * The tags.
2560
+ */
1752
2561
  tags?: ListInstancesResponseBodyInstancesTags[];
1753
2562
  /**
2563
+ * @remarks
2564
+ * The terminal URL.
2565
+ *
1754
2566
  * @example
1755
2567
  * https://dsw-gateway-cn-shanghai.aliyun.com/dsw-39772/tty/
1756
2568
  */
1757
2569
  terminalUrl?: string;
1758
2570
  /**
2571
+ * @remarks
2572
+ * The user ID.
2573
+ *
1759
2574
  * @example
1760
2575
  * 1612285282502324
1761
2576
  */
1762
2577
  userId?: string;
1763
2578
  /**
2579
+ * @remarks
2580
+ * The username.
2581
+ *
1764
2582
  * @example
1765
2583
  * 测试用户
1766
2584
  */
1767
2585
  userName?: string;
2586
+ /**
2587
+ * @remarks
2588
+ * The virtual private cloud (VPC) configurations.
2589
+ */
1768
2590
  userVpc?: ListInstancesResponseBodyInstancesUserVpc;
1769
2591
  /**
1770
2592
  * @remarks
1771
- * Web IDE url。
2593
+ * The Web IDE URL.
1772
2594
  *
1773
2595
  * @example
1774
2596
  * https://dsw-gateway-cn-shanghai.aliyun.com/dsw-39772/ide/
1775
2597
  */
1776
2598
  webIDEUrl?: string;
1777
2599
  /**
2600
+ * @remarks
2601
+ * The workspace ID.
2602
+ *
1778
2603
  * @example
1779
2604
  * 40823
1780
2605
  */
1781
2606
  workspaceId?: string;
1782
2607
  /**
2608
+ * @remarks
2609
+ * The workspace name.
2610
+ *
1783
2611
  * @example
1784
2612
  * training_data
1785
2613
  */
1786
2614
  workspaceName?: string;
1787
2615
  /**
2616
+ * @remarks
2617
+ * 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.
2618
+ *
1788
2619
  * @example
1789
2620
  * d-123456789
1790
2621
  */
@@ -1801,6 +2632,16 @@ export declare class ListInstancesResponseBodyInstances extends $dara.Model {
1801
2632
  });
1802
2633
  }
1803
2634
  export declare class UpdateInstanceRequestAffinityCPU extends $dara.Model {
2635
+ /**
2636
+ * @remarks
2637
+ * Specifies whether CPU affinity is enabled.
2638
+ *
2639
+ * * true
2640
+ * * false
2641
+ *
2642
+ * @example
2643
+ * true
2644
+ */
1804
2645
  enable?: boolean;
1805
2646
  static names(): {
1806
2647
  [key: string]: string;
@@ -1814,6 +2655,10 @@ export declare class UpdateInstanceRequestAffinityCPU extends $dara.Model {
1814
2655
  });
1815
2656
  }
1816
2657
  export declare class UpdateInstanceRequestAffinity extends $dara.Model {
2658
+ /**
2659
+ * @remarks
2660
+ * The CPU affinity configuration. Only subscription instances that use general-purpose computing resources support CPU affinity configuration.
2661
+ */
1817
2662
  CPU?: UpdateInstanceRequestAffinityCPU;
1818
2663
  static names(): {
1819
2664
  [key: string]: string;
@@ -1828,11 +2673,33 @@ export declare class UpdateInstanceRequestAffinity extends $dara.Model {
1828
2673
  }
1829
2674
  export declare class UpdateInstanceRequestCloudDisks extends $dara.Model {
1830
2675
  /**
2676
+ * @remarks
2677
+ * 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):
2678
+ *
2679
+ * 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.
2680
+ *
2681
+ * **
2682
+ *
2683
+ * **Warning**
2684
+ *
2685
+ * * After the expansion, you cannot reduce the storage space. Proceed with caution.
2686
+ *
2687
+ * * 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.
2688
+ *
2689
+ * * 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.
2690
+ *
2691
+ * If you need persistent storage, you can **mount a dataset** or add the OSS, NAS, or CPFS path to the **storage path**.
2692
+ *
1831
2693
  * @example
1832
- * 30Gi
2694
+ * 100Gi
1833
2695
  */
1834
2696
  capacity?: string;
1835
2697
  /**
2698
+ * @remarks
2699
+ * Disk type:
2700
+ *
2701
+ * * rootfs: Mounts the disk as a system disk. The system environment is stored on the disk.
2702
+ *
1836
2703
  * @example
1837
2704
  * rootfs
1838
2705
  */
@@ -1850,25 +2717,88 @@ export declare class UpdateInstanceRequestCloudDisks extends $dara.Model {
1850
2717
  }
1851
2718
  export declare class UpdateInstanceRequestDatasets extends $dara.Model {
1852
2719
  /**
2720
+ * @remarks
2721
+ * 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.
2722
+ *
2723
+ * 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.
2724
+ *
1853
2725
  * @example
1854
2726
  * d-vsqjvsjp4orp5l206u
1855
2727
  */
1856
2728
  datasetId?: string;
2729
+ /**
2730
+ * @remarks
2731
+ * The dataset version. You must also configure DatasetId. If you leave this parameter empty, the value v1 is used by default.
2732
+ *
2733
+ * @example
2734
+ * v1
2735
+ */
1857
2736
  datasetVersion?: string;
2737
+ /**
2738
+ * @remarks
2739
+ * Specifies whether dynamic mounting is enabled. Default value: false.
2740
+ *
2741
+ * * Currently, only instances using general-purpose computing resources are supported.
2742
+ * * Currently, only OSS datasets are supported. The mounted datasets are read-only.
2743
+ * * The MountPath of the dynamically mounted dataset must be a subpath of the root path. Example: /mnt/dynamic/data1/
2744
+ * * A dynamically mounted dataset must be after non-dynamic datasets.
2745
+ *
2746
+ * @example
2747
+ * false
2748
+ */
2749
+ dynamic?: boolean;
2750
+ /**
2751
+ * @remarks
2752
+ * The read and write permissions of the dataset. If the dataset is read-only, it cannot be changed to read and write.
2753
+ *
2754
+ * @example
2755
+ * RW
2756
+ */
1858
2757
  mountAccess?: string;
1859
2758
  /**
2759
+ * @remarks
2760
+ * The mount path of the dataset.
2761
+ *
1860
2762
  * @example
1861
2763
  * /mnt/data
1862
2764
  */
1863
2765
  mountPath?: string;
1864
2766
  /**
2767
+ * @remarks
2768
+ * The mount type. You cannot specify Options at the same time. This is deprecated, you can use Options instead.
2769
+ *
2770
+ * @example
2771
+ * ReadOnly
2772
+ *
1865
2773
  * @deprecated
1866
2774
  */
1867
2775
  optionType?: string;
2776
+ /**
2777
+ * @remarks
2778
+ * 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).
2779
+ *
2780
+ * @example
2781
+ * {
2782
+ * "fs.oss.download.thread.concurrency": "10",
2783
+ * "fs.oss.upload.thread.concurrency": "10",
2784
+ * "fs.jindo.args": "-oattr_timeout=3 -oentry_timeout=0 -onegative_timeout=0 -oauto_cache -ono_symlink"
2785
+ * }
2786
+ */
1868
2787
  options?: string;
1869
2788
  /**
2789
+ * @remarks
2790
+ * The URI of the storage service directory, which can be directly mounted. This parameter is mutually exclusive with DatasetId.
2791
+ *
2792
+ * URI formats of different types of storage:
2793
+ *
2794
+ * * OSS: oss://bucket-name.oss-cn-shanghai-internal.aliyuncs.com/data/path/
2795
+ * * NAS: nas://29\\*\\*d-b12\\*\\*\\*\\*446.cn-hangzhou.nas.aliyuncs.com/data/path/
2796
+ * * Extreme NAS: nas://29\\*\\*\\*\\*123-y\\*\\*r.cn-hangzhou.extreme.nas.aliyuncs.com/data/path/
2797
+ * * CPFS: cpfs://cpfs-213\\*\\*\\*\\*87.cn-wulanchabu/ptc-292\\*\\*\\*\\*\\*cbb/exp-290\\*\\*\\*\\*\\*\\*\\*\\*03e/data/path/
2798
+ * * Lingjun CPFS: bmcpfs://cpfs-290\\*\\*\\*\\*\\*\\*foflh-vpc-x\\*\\*\\*\\*8r.cn-wulanchabu.cpfs.aliyuncs.com/data/path/
2799
+ *
1870
2800
  * @example
1871
- * oss://bucket.oss-cn-shanghai.aliyuncs.com/data/path/
2801
+ * oss://bucket-name.oss-cn-shanghai-internal.aliyuncs.com/data/path/
1872
2802
  */
1873
2803
  uri?: string;
1874
2804
  static names(): {
@@ -1884,26 +2814,41 @@ export declare class UpdateInstanceRequestDatasets extends $dara.Model {
1884
2814
  }
1885
2815
  export declare class UpdateInstanceRequestRequestedResource extends $dara.Model {
1886
2816
  /**
2817
+ * @remarks
2818
+ * The number of vCPU cores.
2819
+ *
1887
2820
  * @example
1888
2821
  * 32
1889
2822
  */
1890
2823
  CPU?: string;
1891
2824
  /**
2825
+ * @remarks
2826
+ * The number of GPUs.
2827
+ *
1892
2828
  * @example
1893
2829
  * 4
1894
2830
  */
1895
2831
  GPU?: string;
1896
2832
  /**
2833
+ * @remarks
2834
+ * The GPU type.
2835
+ *
1897
2836
  * @example
1898
2837
  * v100
1899
2838
  */
1900
2839
  GPUType?: string;
1901
2840
  /**
2841
+ * @remarks
2842
+ * The memory size. Unit: GB.
2843
+ *
1902
2844
  * @example
1903
2845
  * 32
1904
2846
  */
1905
2847
  memory?: string;
1906
2848
  /**
2849
+ * @remarks
2850
+ * The shared memory size. Unit: GB.
2851
+ *
1907
2852
  * @example
1908
2853
  * 32
1909
2854
  */
@@ -1920,28 +2865,54 @@ export declare class UpdateInstanceRequestRequestedResource extends $dara.Model
1920
2865
  });
1921
2866
  }
1922
2867
  export declare class UpdateInstanceRequestUserVpc extends $dara.Model {
2868
+ bandwidthLimit?: BandwidthLimit;
1923
2869
  /**
2870
+ * @remarks
2871
+ * The default route. Valid values:
2872
+ *
2873
+ * * eth0: The default network interface is used to access the Internet through the public gateway.
2874
+ * * eth1: The user\\"s Elastic Network Interface is used to access the Internet through the private gateway.
2875
+ *
1924
2876
  * @example
1925
- * eth0 | eth1
2877
+ * eth0
1926
2878
  */
1927
2879
  defaultRoute?: string;
1928
2880
  /**
2881
+ * @remarks
2882
+ * The extended CIDR blocks.
2883
+ *
2884
+ * * If you leave VSwitchId empty, this parameter is not required and the system automatically obtains all CIDR blocks in the VPC.
2885
+ * * If VSwitchId is not empty, this parameter is required. Specify all CIDR blocks in the VPC.
2886
+ *
1929
2887
  * @example
1930
2888
  * ["192.168.0.1/24", "192.168.1.1/24"]
1931
2889
  */
1932
2890
  extendedCIDRs?: string[];
2891
+ /**
2892
+ * @remarks
2893
+ * The forward configuration of the instance.
2894
+ */
1933
2895
  forwardInfos?: ForwardInfo[];
1934
2896
  /**
2897
+ * @remarks
2898
+ * The security group ID.
2899
+ *
1935
2900
  * @example
1936
2901
  * sg-xxxxxx
1937
2902
  */
1938
2903
  securityGroupId?: string;
1939
2904
  /**
2905
+ * @remarks
2906
+ * The vSwitch ID.
2907
+ *
1940
2908
  * @example
1941
2909
  * vsw-xxxxx
1942
2910
  */
1943
2911
  vSwitchId?: string;
1944
2912
  /**
2913
+ * @remarks
2914
+ * The VPC ID.
2915
+ *
1945
2916
  * @example
1946
2917
  * vpc-xxxxx
1947
2918
  */
@@ -1960,6 +2931,8 @@ export declare class UpdateInstanceRequestUserVpc extends $dara.Model {
1960
2931
  export declare class UpdateInstanceLabelsRequestLabels extends $dara.Model {
1961
2932
  /**
1962
2933
  * @remarks
2934
+ * The key of the custom tag.
2935
+ *
1963
2936
  * This parameter is required.
1964
2937
  *
1965
2938
  * @example
@@ -1968,6 +2941,8 @@ export declare class UpdateInstanceLabelsRequestLabels extends $dara.Model {
1968
2941
  key?: string;
1969
2942
  /**
1970
2943
  * @remarks
2944
+ * The value of the custom tag.
2945
+ *
1971
2946
  * This parameter is required.
1972
2947
  *
1973
2948
  * @example
@@ -1985,6 +2960,22 @@ export declare class UpdateInstanceLabelsRequestLabels extends $dara.Model {
1985
2960
  [key: string]: any;
1986
2961
  });
1987
2962
  }
2963
+ export declare class BandwidthLimit extends $dara.Model {
2964
+ egressRate?: string;
2965
+ egressWhitelists?: string[];
2966
+ ingressRate?: string;
2967
+ ingressWhitelists?: string[];
2968
+ static names(): {
2969
+ [key: string]: string;
2970
+ };
2971
+ static types(): {
2972
+ [key: string]: any;
2973
+ };
2974
+ validate(): void;
2975
+ constructor(map?: {
2976
+ [key: string]: any;
2977
+ });
2978
+ }
1988
2979
  export declare class CredentialConfig extends $dara.Model {
1989
2980
  /**
1990
2981
  * @example
@@ -2036,6 +3027,38 @@ export declare class DemoCategory extends $dara.Model {
2036
3027
  [key: string]: any;
2037
3028
  });
2038
3029
  }
3030
+ export declare class DynamicMount extends $dara.Model {
3031
+ enable?: boolean;
3032
+ mountPoints?: DynamicMountPoint[];
3033
+ static names(): {
3034
+ [key: string]: string;
3035
+ };
3036
+ static types(): {
3037
+ [key: string]: any;
3038
+ };
3039
+ validate(): void;
3040
+ constructor(map?: {
3041
+ [key: string]: any;
3042
+ });
3043
+ }
3044
+ export declare class DynamicMountPoint extends $dara.Model {
3045
+ options?: string;
3046
+ /**
3047
+ * @remarks
3048
+ * This parameter is required.
3049
+ */
3050
+ rootPath?: string;
3051
+ static names(): {
3052
+ [key: string]: string;
3053
+ };
3054
+ static types(): {
3055
+ [key: string]: any;
3056
+ };
3057
+ validate(): void;
3058
+ constructor(map?: {
3059
+ [key: string]: any;
3060
+ });
3061
+ }
2039
3062
  export declare class ForwardInfo extends $dara.Model {
2040
3063
  accessType?: string[];
2041
3064
  /**
@@ -2137,16 +3160,25 @@ export declare class ForwardInfoResponse extends $dara.Model {
2137
3160
  }
2138
3161
  export declare class CreateIdleInstanceCullerRequest extends $dara.Model {
2139
3162
  /**
3163
+ * @remarks
3164
+ * 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.
3165
+ *
2140
3166
  * @example
2141
3167
  * 20
2142
3168
  */
2143
3169
  cpuPercentThreshold?: number;
2144
3170
  /**
3171
+ * @remarks
3172
+ * 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.
3173
+ *
2145
3174
  * @example
2146
3175
  * 10
2147
3176
  */
2148
3177
  gpuPercentThreshold?: number;
2149
3178
  /**
3179
+ * @remarks
3180
+ * 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.
3181
+ *
2150
3182
  * @example
2151
3183
  * 60
2152
3184
  */
@@ -2164,26 +3196,47 @@ export declare class CreateIdleInstanceCullerRequest extends $dara.Model {
2164
3196
  }
2165
3197
  export declare class CreateIdleInstanceCullerResponseBody extends $dara.Model {
2166
3198
  /**
3199
+ * @remarks
3200
+ * The status code. Valid values:
3201
+ *
3202
+ * * InternalError: an internal error. All errors, except for parameter validation errors, are classified as internal errors.
3203
+ * * ValidationError: a parameter validation error.
3204
+ *
2167
3205
  * @example
2168
3206
  * null
2169
3207
  */
2170
3208
  code?: string;
2171
3209
  /**
3210
+ * @remarks
3211
+ * The instance ID.
3212
+ *
2172
3213
  * @example
2173
3214
  * dsw-730xxxxxxxxxx
2174
3215
  */
2175
3216
  instanceId?: string;
2176
3217
  /**
3218
+ * @remarks
3219
+ * The error message.
3220
+ *
2177
3221
  * @example
2178
3222
  * "XXX"
2179
3223
  */
2180
3224
  message?: string;
2181
3225
  /**
3226
+ * @remarks
3227
+ * The request ID.
3228
+ *
2182
3229
  * @example
2183
3230
  * E7D55162-4489-1619-AAF5-3F97D5FCA948
2184
3231
  */
2185
3232
  requestId?: string;
2186
3233
  /**
3234
+ * @remarks
3235
+ * Indicates whether the request was successful. Valid values:
3236
+ *
3237
+ * * true
3238
+ * * false
3239
+ *
2187
3240
  * @example
2188
3241
  * true
2189
3242
  */
@@ -2218,86 +3271,186 @@ export declare class CreateIdleInstanceCullerResponse extends $dara.Model {
2218
3271
  }
2219
3272
  export declare class CreateInstanceRequest extends $dara.Model {
2220
3273
  /**
3274
+ * @remarks
3275
+ * The instance accessibility.
3276
+ *
3277
+ * Valid values:
3278
+ *
3279
+ * * PUBLIC: The instances are accessible to all members in the workspace.
3280
+ * * PRIVATE: The instances are accessible only to you and the administrator of the workspace.
3281
+ *
2221
3282
  * @example
2222
3283
  * PRIVATE
2223
3284
  */
2224
3285
  accessibility?: string;
3286
+ /**
3287
+ * @remarks
3288
+ * The affinity configuration.
3289
+ */
2225
3290
  affinity?: CreateInstanceRequestAffinity;
2226
3291
  /**
3292
+ * @remarks
3293
+ * The cloud disks.
3294
+ *
2227
3295
  * @example
2228
3296
  * []
2229
3297
  */
2230
3298
  cloudDisks?: CreateInstanceRequestCloudDisks[];
3299
+ /**
3300
+ * @remarks
3301
+ * The credential configuration.
3302
+ */
2231
3303
  credentialConfig?: CredentialConfig;
3304
+ /**
3305
+ * @remarks
3306
+ * The datasets.
3307
+ */
2232
3308
  datasets?: CreateInstanceRequestDatasets[];
2233
3309
  /**
3310
+ * @remarks
3311
+ * The NVIDIA driver configuration.
3312
+ *
2234
3313
  * @example
2235
3314
  * 535.54.03
2236
3315
  */
2237
3316
  driver?: string;
2238
3317
  /**
3318
+ * @remarks
3319
+ * The dynamic mount configuration.
3320
+ */
3321
+ dynamicMount?: DynamicMount;
3322
+ /**
3323
+ * @remarks
3324
+ * 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.
3325
+ *
2239
3326
  * @example
2240
3327
  * ecs.c6.large
2241
3328
  */
2242
3329
  ecsSpec?: string;
2243
3330
  /**
3331
+ * @remarks
3332
+ * The environment variables.
3333
+ *
2244
3334
  * @example
2245
3335
  * {userName: "Chris"}
2246
3336
  */
2247
3337
  environmentVariables?: {
2248
3338
  [key: string]: string;
2249
3339
  };
3340
+ /**
3341
+ * @remarks
3342
+ * The Base64-encoded account and password for the user\\"s private image. The password will be hidden.
3343
+ *
3344
+ * @example
3345
+ * ****
3346
+ */
2250
3347
  imageAuth?: string;
2251
3348
  /**
3349
+ * @remarks
3350
+ * The image ID. You can call [ListImages](https://help.aliyun.com/document_detail/449118.html) to obtain the image ID.
3351
+ *
2252
3352
  * @example
2253
3353
  * image-05cefd0be2exxxx
2254
3354
  */
2255
3355
  imageId?: string;
2256
3356
  /**
3357
+ * @remarks
3358
+ * The image address. You can call [ListImages](https://help.aliyun.com/document_detail/449118.html) to obtain the image address.
3359
+ *
2257
3360
  * @example
2258
3361
  * registry.cn-shanghai.aliyuncs.com/pai_product/tensorflow:py36_cpu_tf1.12_ubuntu
2259
3362
  */
2260
3363
  imageUrl?: string;
2261
3364
  /**
3365
+ * @remarks
3366
+ * The instance name. The name must meet the following requirements:
3367
+ *
3368
+ * * The name can contain only letters, digits, and underscores (_).
3369
+ * * The name can be up to 27 characters in length.
3370
+ *
2262
3371
  * @example
2263
3372
  * training_data
2264
3373
  */
2265
3374
  instanceName?: string;
2266
3375
  /**
3376
+ * @remarks
3377
+ * The custom labels.
3378
+ *
2267
3379
  * @example
2268
3380
  * {\\"foo\\": \\"bar\\"}
2269
3381
  */
2270
3382
  labels?: CreateInstanceRequestLabels[];
2271
3383
  /**
3384
+ * @remarks
3385
+ * The priority based on which resources are allocated to instances. Valid values: 1 to 9.
3386
+ *
3387
+ * * 1: the lowest priority.
3388
+ * * 9: the highest priority.
3389
+ *
2272
3390
  * @example
2273
3391
  * 1
2274
3392
  */
2275
3393
  priority?: number;
2276
3394
  /**
3395
+ * @remarks
3396
+ * The resource configurations.
3397
+ *
2277
3398
  * @example
2278
3399
  * {"CPU":"4","Memory":"8Gi","SharedMemory":"4Gi","GPU":"1","GPUType":"Tesla-V100-16G"}
2279
3400
  */
2280
3401
  requestedResource?: CreateInstanceRequestRequestedResource;
2281
3402
  /**
3403
+ * @remarks
3404
+ * 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).
3405
+ *
2282
3406
  * @example
2283
3407
  * dsw-123456789
2284
3408
  */
2285
3409
  resourceId?: string;
3410
+ /**
3411
+ * @remarks
3412
+ * The tags.
3413
+ */
2286
3414
  tag?: CreateInstanceRequestTag[];
2287
3415
  /**
3416
+ * @remarks
3417
+ * The ID of the instance owner. Valid values: Alibaba Cloud account and RAM user.
3418
+ *
2288
3419
  * @example
2289
- * 1612285282502324
3420
+ * 161228528250****
2290
3421
  */
2291
3422
  userId?: string;
3423
+ /**
3424
+ * @remarks
3425
+ * The virtual private cloud (VPC) configurations.
3426
+ */
2292
3427
  userVpc?: CreateInstanceRequestUserVpc;
2293
3428
  /**
3429
+ * @remarks
3430
+ * The workspace ID. You can call [ListWorkspaces](https://help.aliyun.com/document_detail/449124.html) to obtain the workspace ID.
3431
+ *
2294
3432
  * @example
2295
3433
  * 40823
2296
3434
  */
2297
3435
  workspaceId?: string;
2298
3436
  /**
3437
+ * @remarks
3438
+ * 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.
3439
+ *
3440
+ * Valid values:
3441
+ *
3442
+ * * rootfsCloudDisk: Mount the disk to the working directory.
3443
+ * * Mount path of the dataset, such as /mnt/data: Datasets in URI format only support this method.
3444
+ * * 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.
3445
+ *
3446
+ * If you leave this parameter empty:
3447
+ *
3448
+ * * If the instance uses cloud disks, cloud disks are selected by default.
3449
+ * * if no cloud disks are available, the first NAS or CPFS dataset is selected as the working directory.
3450
+ * * If no cloud disks, and NAS or CPFS datasets are available, the host space is used.
3451
+ *
2299
3452
  * @example
2300
- * d-123456789
3453
+ * rootfsCloudDisk
2301
3454
  */
2302
3455
  workspaceSource?: string;
2303
3456
  static names(): {
@@ -2313,31 +3466,59 @@ export declare class CreateInstanceRequest extends $dara.Model {
2313
3466
  }
2314
3467
  export declare class CreateInstanceResponseBody extends $dara.Model {
2315
3468
  /**
3469
+ * @remarks
3470
+ * The status code. Valid values:
3471
+ *
3472
+ * * InternalError: an internal error. All errors, except for parameter validation errors, are classified as internal errors.
3473
+ * * ValidationError: a parameter validation error.
3474
+ *
2316
3475
  * @example
2317
3476
  * null
2318
3477
  */
2319
3478
  code?: string;
2320
3479
  /**
3480
+ * @remarks
3481
+ * The HTTP status code. Valid values:
3482
+ *
3483
+ * * 400
3484
+ * * 404
3485
+ * * 200
3486
+ *
2321
3487
  * @example
2322
3488
  * null
2323
3489
  */
2324
3490
  httpStatusCode?: number;
2325
3491
  /**
3492
+ * @remarks
3493
+ * The instance ID.
3494
+ *
2326
3495
  * @example
2327
3496
  * dsw-730xxxxxxxxxx
2328
3497
  */
2329
3498
  instanceId?: string;
2330
3499
  /**
3500
+ * @remarks
3501
+ * The response message.
3502
+ *
2331
3503
  * @example
2332
3504
  * "XXX"
2333
3505
  */
2334
3506
  message?: string;
2335
3507
  /**
3508
+ * @remarks
3509
+ * The request ID.
3510
+ *
2336
3511
  * @example
2337
3512
  * E7D55162-4489-1619-AAF5-3F97D5FCA948
2338
3513
  */
2339
3514
  requestId?: string;
2340
3515
  /**
3516
+ * @remarks
3517
+ * Indicates whether the request was successful. Valid values:
3518
+ *
3519
+ * * true
3520
+ * * false
3521
+ *
2341
3522
  * @example
2342
3523
  * true
2343
3524
  */
@@ -2372,11 +3553,17 @@ export declare class CreateInstanceResponse extends $dara.Model {
2372
3553
  }
2373
3554
  export declare class CreateInstanceShutdownTimerRequest extends $dara.Model {
2374
3555
  /**
3556
+ * @remarks
3557
+ * The scheduled stop time.
3558
+ *
2375
3559
  * @example
2376
3560
  * 2021-01-12T14:36:01Z
2377
3561
  */
2378
3562
  dueTime?: string;
2379
3563
  /**
3564
+ * @remarks
3565
+ * The time duration before the instance is stopped. Unit: milliseconds.
3566
+ *
2380
3567
  * @example
2381
3568
  * 3600000
2382
3569
  */
@@ -2394,31 +3581,58 @@ export declare class CreateInstanceShutdownTimerRequest extends $dara.Model {
2394
3581
  }
2395
3582
  export declare class CreateInstanceShutdownTimerResponseBody extends $dara.Model {
2396
3583
  /**
3584
+ * @remarks
3585
+ * The status code. Valid values:
3586
+ *
3587
+ * * InternalError: an internal error. All errors, except for parameter validation errors, are classified as internal errors.
3588
+ * * ValidationError: a parameter validation error.
3589
+ *
2397
3590
  * @example
2398
3591
  * null
2399
3592
  */
2400
3593
  code?: string;
2401
3594
  /**
3595
+ * @remarks
3596
+ * The HTTP status code. Valid values:
3597
+ *
3598
+ * * 400
3599
+ * * 404
3600
+ *
2402
3601
  * @example
2403
3602
  * null
2404
3603
  */
2405
3604
  httpStatusCode?: number;
2406
3605
  /**
3606
+ * @remarks
3607
+ * The instance ID.
3608
+ *
2407
3609
  * @example
2408
3610
  * dsw-730xxxxxxxxxx
2409
3611
  */
2410
3612
  instanceId?: string;
2411
3613
  /**
3614
+ * @remarks
3615
+ * The response message.
3616
+ *
2412
3617
  * @example
2413
3618
  * "XXX"
2414
3619
  */
2415
3620
  message?: string;
2416
3621
  /**
3622
+ * @remarks
3623
+ * The request ID.
3624
+ *
2417
3625
  * @example
2418
3626
  * E7D55162-4489-1619-AAF5-3F97D5FCA948
2419
3627
  */
2420
3628
  requestId?: string;
2421
3629
  /**
3630
+ * @remarks
3631
+ * Indicates whether the request was successful. Valid values:
3632
+ *
3633
+ * * true
3634
+ * * false
3635
+ *
2422
3636
  * @example
2423
3637
  * true
2424
3638
  */
@@ -2557,26 +3771,50 @@ export declare class CreateInstanceSnapshotResponse extends $dara.Model {
2557
3771
  }
2558
3772
  export declare class DeleteIdleInstanceCullerResponseBody extends $dara.Model {
2559
3773
  /**
3774
+ * @remarks
3775
+ * The status code. Valid values:
3776
+ *
3777
+ * * InternalError: an internal error. All errors, except for parameter validation errors, are classified as internal errors.
3778
+ * * ValidationError: a parameter validation error.
3779
+ *
2560
3780
  * @example
2561
3781
  * ValidationError
2562
3782
  */
2563
3783
  code?: string;
2564
3784
  /**
3785
+ * @remarks
3786
+ * The instance ID.
3787
+ *
2565
3788
  * @example
2566
3789
  * dsw-730xxxxxxxxxx
2567
3790
  */
2568
3791
  instanceId?: string;
2569
3792
  /**
3793
+ * @remarks
3794
+ * The response message.
3795
+ *
3796
+ * * If the request is successful, null is returned.
3797
+ * * If the request fails, the failure cause is returned.
3798
+ *
2570
3799
  * @example
2571
3800
  * "XXX"
2572
3801
  */
2573
3802
  message?: string;
2574
3803
  /**
3804
+ * @remarks
3805
+ * The request ID.
3806
+ *
2575
3807
  * @example
2576
3808
  * E7D55162-4489-1619-AAF5-3F97D5FCA948
2577
3809
  */
2578
3810
  requestId?: string;
2579
3811
  /**
3812
+ * @remarks
3813
+ * Indicates whether the request was successful. Valid values:
3814
+ *
3815
+ * * true
3816
+ * * false
3817
+ *
2580
3818
  * @example
2581
3819
  * true
2582
3820
  */
@@ -2611,31 +3849,59 @@ export declare class DeleteIdleInstanceCullerResponse extends $dara.Model {
2611
3849
  }
2612
3850
  export declare class DeleteInstanceResponseBody extends $dara.Model {
2613
3851
  /**
3852
+ * @remarks
3853
+ * The status code. Valid values:
3854
+ *
3855
+ * * InternalError: an internal error. All errors, except for parameter validation errors, are classified as internal errors.
3856
+ * * ValidationError: a parameter validation error.
3857
+ *
2614
3858
  * @example
2615
3859
  * null
2616
3860
  */
2617
3861
  code?: string;
2618
3862
  /**
3863
+ * @remarks
3864
+ * The HTTP status code. Valid values:
3865
+ *
3866
+ * * 400
3867
+ * * 404
3868
+ * * 200
3869
+ *
2619
3870
  * @example
2620
3871
  * null
2621
3872
  */
2622
3873
  httpStatusCode?: number;
2623
3874
  /**
3875
+ * @remarks
3876
+ * The instance ID.
3877
+ *
2624
3878
  * @example
2625
3879
  * dsw-730xxxxxxxxxx
2626
3880
  */
2627
3881
  instanceId?: string;
2628
3882
  /**
3883
+ * @remarks
3884
+ * The response message.
3885
+ *
2629
3886
  * @example
2630
3887
  * "XXX"
2631
3888
  */
2632
3889
  message?: string;
2633
3890
  /**
3891
+ * @remarks
3892
+ * The request ID.
3893
+ *
2634
3894
  * @example
2635
3895
  * E7D55162-4489-1619-AAF5-3F97D5FCA948
2636
3896
  */
2637
3897
  requestId?: string;
2638
3898
  /**
3899
+ * @remarks
3900
+ * Indicates whether the request was successful.
3901
+ *
3902
+ * * true
3903
+ * * false
3904
+ *
2639
3905
  * @example
2640
3906
  * true
2641
3907
  */
@@ -2671,6 +3937,8 @@ export declare class DeleteInstanceResponse extends $dara.Model {
2671
3937
  export declare class DeleteInstanceLabelsRequest extends $dara.Model {
2672
3938
  /**
2673
3939
  * @remarks
3940
+ * The keys of the tags that you want to delete. Separate multiple tags with commas (,).
3941
+ *
2674
3942
  * This parameter is required.
2675
3943
  *
2676
3944
  * @example
@@ -2690,6 +3958,9 @@ export declare class DeleteInstanceLabelsRequest extends $dara.Model {
2690
3958
  }
2691
3959
  export declare class DeleteInstanceLabelsResponseBody extends $dara.Model {
2692
3960
  /**
3961
+ * @remarks
3962
+ * The request ID.
3963
+ *
2693
3964
  * @example
2694
3965
  * 473469C7-AA6F-4DC5-B3DB-A3DC0DE3****
2695
3966
  */
@@ -2724,31 +3995,58 @@ export declare class DeleteInstanceLabelsResponse extends $dara.Model {
2724
3995
  }
2725
3996
  export declare class DeleteInstanceShutdownTimerResponseBody extends $dara.Model {
2726
3997
  /**
3998
+ * @remarks
3999
+ * The status code. Valid values:
4000
+ *
4001
+ * * InternalError: an internal error. All errors, except for parameter validation errors, are classified as internal errors.
4002
+ * * ValidationError: a parameter validation error.
4003
+ *
2727
4004
  * @example
2728
4005
  * null
2729
4006
  */
2730
4007
  code?: string;
2731
4008
  /**
4009
+ * @remarks
4010
+ * The HTTP status code. Valid values:
4011
+ *
4012
+ * * 400
4013
+ * * 404
4014
+ *
2732
4015
  * @example
2733
4016
  * null
2734
4017
  */
2735
4018
  httpStatusCode?: number;
2736
4019
  /**
4020
+ * @remarks
4021
+ * The instance ID.
4022
+ *
2737
4023
  * @example
2738
4024
  * dsw-730xxxxxxxxxx
2739
4025
  */
2740
4026
  instanceId?: string;
2741
4027
  /**
4028
+ * @remarks
4029
+ * The response message.
4030
+ *
2742
4031
  * @example
2743
4032
  * "XXX"
2744
4033
  */
2745
4034
  message?: string;
2746
4035
  /**
4036
+ * @remarks
4037
+ * The request ID.
4038
+ *
2747
4039
  * @example
2748
4040
  * E7D55162-4489-1619-AAF5-3F97D5FCA948
2749
4041
  */
2750
4042
  requestId?: string;
2751
4043
  /**
4044
+ * @remarks
4045
+ * Indicates whether the request was successful. Valid values:
4046
+ *
4047
+ * * true
4048
+ * * false
4049
+ *
2752
4050
  * @example
2753
4051
  * true
2754
4052
  */
@@ -2847,46 +4145,79 @@ export declare class DeleteInstanceSnapshotResponse extends $dara.Model {
2847
4145
  }
2848
4146
  export declare class GetIdleInstanceCullerResponseBody extends $dara.Model {
2849
4147
  /**
4148
+ * @remarks
4149
+ * The status code. Valid values:
4150
+ *
4151
+ * * InternalError: an internal error. All errors, except for parameter validation errors, are classified as internal errors.
4152
+ * * ValidationError: a parameter validation error.
4153
+ *
2850
4154
  * @example
2851
4155
  * ValidationError
2852
4156
  */
2853
4157
  code?: string;
2854
4158
  /**
4159
+ * @remarks
4160
+ * 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.
4161
+ *
2855
4162
  * @example
2856
4163
  * 20
2857
4164
  */
2858
4165
  cpuPercentThreshold?: number;
2859
4166
  /**
4167
+ * @remarks
4168
+ * 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.
4169
+ *
2860
4170
  * @example
2861
4171
  * 10
2862
4172
  */
2863
4173
  gpuPercentThreshold?: number;
2864
4174
  /**
4175
+ * @remarks
4176
+ * The time duration for which the instance is idle. Unit: minutes.
4177
+ *
2865
4178
  * @example
2866
4179
  * 30
2867
4180
  */
2868
4181
  idleTimeInMinutes?: number;
2869
4182
  /**
4183
+ * @remarks
4184
+ * The instance ID.
4185
+ *
2870
4186
  * @example
2871
4187
  * dsw-730xxxxxxxxxx
2872
4188
  */
2873
4189
  instanceId?: string;
2874
4190
  /**
4191
+ * @remarks
4192
+ * 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.
4193
+ *
2875
4194
  * @example
2876
4195
  * 60
2877
4196
  */
2878
4197
  maxIdleTimeInMinutes?: number;
2879
4198
  /**
4199
+ * @remarks
4200
+ * The error message.
4201
+ *
2880
4202
  * @example
2881
4203
  * "XXX"
2882
4204
  */
2883
4205
  message?: string;
2884
4206
  /**
4207
+ * @remarks
4208
+ * The request ID.
4209
+ *
2885
4210
  * @example
2886
4211
  * E7D55162-4489-1619-AAF5-3F97D5FCA948
2887
4212
  */
2888
4213
  requestId?: string;
2889
4214
  /**
4215
+ * @remarks
4216
+ * Indicates whether the request was successful.
4217
+ *
4218
+ * * true
4219
+ * * false
4220
+ *
2890
4221
  * @example
2891
4222
  * true
2892
4223
  */
@@ -2920,6 +4251,13 @@ export declare class GetIdleInstanceCullerResponse extends $dara.Model {
2920
4251
  });
2921
4252
  }
2922
4253
  export declare class GetInstanceRequest extends $dara.Model {
4254
+ /**
4255
+ * @remarks
4256
+ * The sharing token information.
4257
+ *
4258
+ * @example
4259
+ * WUzWCMr325LV0bH2JH4C4HoDaKIU6C4S
4260
+ */
2923
4261
  token?: string;
2924
4262
  static names(): {
2925
4263
  [key: string]: string;
@@ -2934,44 +4272,96 @@ export declare class GetInstanceRequest extends $dara.Model {
2934
4272
  }
2935
4273
  export declare class GetInstanceResponseBody extends $dara.Model {
2936
4274
  /**
4275
+ * @remarks
4276
+ * The accelerator type of the instance.
4277
+ *
4278
+ * Valid values:
4279
+ *
4280
+ * * CPU
4281
+ * * GPU
4282
+ *
2937
4283
  * @example
2938
4284
  * CPU
2939
4285
  */
2940
4286
  acceleratorType?: string;
2941
4287
  /**
4288
+ * @remarks
4289
+ * The accessibility. Valid values:
4290
+ *
4291
+ * * PRIVATE: Accessible only to you and the administrator of the workspace.
4292
+ * * PUBLIC: Accessible to all members in the workspace.
4293
+ *
2942
4294
  * @example
2943
4295
  * PRIVATE
2944
4296
  */
2945
4297
  accessibility?: string;
2946
4298
  /**
4299
+ * @remarks
4300
+ * The accumulated running duration. Unit: milliseconds.
4301
+ *
2947
4302
  * @example
2948
4303
  * 3600000
2949
4304
  */
2950
4305
  accumulatedRunningTimeInMs?: number;
4306
+ /**
4307
+ * @remarks
4308
+ * The affinity configuration.
4309
+ */
2951
4310
  affinity?: GetInstanceResponseBodyAffinity;
2952
4311
  /**
4312
+ * @remarks
4313
+ * The cloud disks of the instance.
4314
+ *
2953
4315
  * @example
2954
4316
  * []
2955
4317
  */
2956
4318
  cloudDisks?: GetInstanceResponseBodyCloudDisks[];
2957
4319
  /**
4320
+ * @remarks
4321
+ * The status code. Valid values:
4322
+ *
4323
+ * * InternalError: All errors, except for parameter validation errors, are internal errors.
4324
+ * * ValidationError: A parameter validation error.
4325
+ *
2958
4326
  * @example
2959
4327
  * null
2960
4328
  */
2961
4329
  code?: string;
4330
+ /**
4331
+ * @remarks
4332
+ * The credential injection configuration.
4333
+ */
2962
4334
  credentialConfig?: CredentialConfig;
4335
+ /**
4336
+ * @remarks
4337
+ * The datasets.
4338
+ */
2963
4339
  datasets?: GetInstanceResponseBodyDatasets[];
2964
4340
  /**
4341
+ * @remarks
4342
+ * The NVIDIA driver configuration.
4343
+ *
2965
4344
  * @example
2966
4345
  * 535.54.03
2967
4346
  */
2968
4347
  driver?: string;
2969
4348
  /**
4349
+ * @remarks
4350
+ * The dynamic mount configuration.
4351
+ */
4352
+ dynamicMount?: DynamicMount;
4353
+ /**
4354
+ * @remarks
4355
+ * The ECS instance type of the instance.
4356
+ *
2970
4357
  * @example
2971
4358
  * ecs.c6.large
2972
4359
  */
2973
4360
  ecsSpec?: string;
2974
4361
  /**
4362
+ * @remarks
4363
+ * The environment variables.
4364
+ *
2975
4365
  * @example
2976
4366
  * {userName: "Chris"}
2977
4367
  */
@@ -2979,169 +4369,323 @@ export declare class GetInstanceResponseBody extends $dara.Model {
2979
4369
  [key: string]: string;
2980
4370
  };
2981
4371
  /**
4372
+ * @remarks
4373
+ * The creation time of the instance.
4374
+ *
2982
4375
  * @example
2983
4376
  * 2021-01-12T14:36:01Z
2984
4377
  */
2985
4378
  gmtCreateTime?: string;
2986
4379
  /**
4380
+ * @remarks
4381
+ * The last modified time of the instance.
4382
+ *
2987
4383
  * @example
2988
4384
  * 2021-01-12T14:36:01Z
2989
4385
  */
2990
4386
  gmtModifiedTime?: string;
2991
4387
  /**
4388
+ * @remarks
4389
+ * The HTTP status code. Valid values:
4390
+ *
4391
+ * * 400
4392
+ * * 404
4393
+ *
2992
4394
  * @example
2993
4395
  * null
2994
4396
  */
2995
4397
  httpStatusCode?: number;
2996
4398
  /**
4399
+ * @remarks
4400
+ * The automatic shutdown settings.
4401
+ *
2997
4402
  * @example
2998
4403
  * {"InstanceId":"dsw-05cefd0be2e5a278","CpuPercentThreshold":20,"GpuPercentThreshold":10,"MaxIdleTimeInMinutes":120,"IdleTimeInMinutes":30}
2999
4404
  */
3000
4405
  idleInstanceCuller?: GetInstanceResponseBodyIdleInstanceCuller;
4406
+ /**
4407
+ * @remarks
4408
+ * The Base64-encoded account and password for the user‘s private image. The password will be hidden.
4409
+ *
4410
+ * @example
4411
+ * YWxpeXVuNjUzMzM5MjIwMzoqKioqKio=
4412
+ */
3001
4413
  imageAuth?: string;
3002
4414
  /**
4415
+ * @remarks
4416
+ * The image ID.
4417
+ *
3003
4418
  * @example
3004
4419
  * image-05cefd0be2exxxx
3005
4420
  */
3006
4421
  imageId?: string;
3007
4422
  /**
4423
+ * @remarks
4424
+ * The image name.
4425
+ *
3008
4426
  * @example
3009
4427
  * py36_cpu_tf1.12_ubuntu
3010
4428
  */
3011
4429
  imageName?: string;
3012
4430
  /**
4431
+ * @remarks
4432
+ * The image address.
4433
+ *
3013
4434
  * @example
3014
4435
  * registry.cn-shanghai.aliyuncs.com/pai_product/tensorflow:py36_cpu_tf1.12_ubuntu
3015
4436
  */
3016
4437
  imageUrl?: string;
3017
4438
  /**
4439
+ * @remarks
4440
+ * The instance ID.
4441
+ *
3018
4442
  * @example
3019
4443
  * dsw-730xxxxxxxxxx
3020
4444
  */
3021
4445
  instanceId?: string;
3022
4446
  /**
4447
+ * @remarks
4448
+ * The instance name.
4449
+ *
3023
4450
  * @example
3024
4451
  * training_data
3025
4452
  */
3026
4453
  instanceName?: string;
4454
+ /**
4455
+ * @remarks
4456
+ * The scheduled stop tasks.
4457
+ */
3027
4458
  instanceShutdownTimer?: GetInstanceResponseBodyInstanceShutdownTimer;
3028
4459
  /**
4460
+ * @remarks
4461
+ * The instance snapshots.
4462
+ *
3029
4463
  * @example
3030
4464
  * []
3031
4465
  */
3032
4466
  instanceSnapshotList?: GetInstanceResponseBodyInstanceSnapshotList[];
3033
4467
  /**
4468
+ * @remarks
4469
+ * The instance URL.
4470
+ *
3034
4471
  * @example
3035
4472
  * https://dsw-cn-shanghai.data.aliyun.com/notebook.htm?instance=39772#/
3036
4473
  */
3037
4474
  instanceUrl?: string;
3038
4475
  /**
3039
4476
  * @remarks
3040
- * Jupyterlab Url。
4477
+ * The JupyterLab URL.
3041
4478
  *
3042
4479
  * @example
3043
4480
  * https://dsw-gateway-cn-shanghai.aliyun.com/dsw-39772/lab/
3044
4481
  */
3045
4482
  jupyterlabUrl?: string;
3046
4483
  /**
4484
+ * @remarks
4485
+ * The custom tags.
4486
+ *
3047
4487
  * @example
3048
4488
  * {\\"foo\\": \\"bar\\"}
3049
4489
  */
3050
4490
  labels?: GetInstanceResponseBodyLabels[];
4491
+ /**
4492
+ * @remarks
4493
+ * The latest user image saved.
4494
+ */
3051
4495
  latestSnapshot?: GetInstanceResponseBodyLatestSnapshot;
3052
4496
  /**
4497
+ * @remarks
4498
+ * The error message. Valid values:
4499
+ *
4500
+ * * If the request is successful, null is returned.
4501
+ * * If the request fails, the cause for the failure is returned.
4502
+ *
3053
4503
  * @example
3054
4504
  * "XXX"
3055
4505
  */
3056
4506
  message?: string;
4507
+ /**
4508
+ * @remarks
4509
+ * The error recovery configuration of the node.
4510
+ */
3057
4511
  nodeErrorRecovery?: GetInstanceResponseBodyNodeErrorRecovery;
3058
4512
  /**
4513
+ * @remarks
4514
+ * The billing method. Valid values:
4515
+ *
4516
+ * * PayAsYouGo
4517
+ * * Subscription
4518
+ *
3059
4519
  * @example
3060
4520
  * PayAsYouGo
3061
4521
  */
3062
4522
  paymentType?: string;
3063
4523
  /**
4524
+ * @remarks
4525
+ * The priority based on which resources are allocated to instances.
4526
+ *
3064
4527
  * @example
3065
4528
  * 1
3066
4529
  */
3067
4530
  priority?: number;
4531
+ /**
4532
+ * @remarks
4533
+ * The proxy path.
4534
+ *
4535
+ * @example
4536
+ * dsw-170197/proxy/
4537
+ */
3068
4538
  proxyPath?: string;
3069
4539
  /**
4540
+ * @remarks
4541
+ * The error code of the instance.
4542
+ *
3070
4543
  * @example
3071
4544
  * Internal Error
3072
4545
  */
3073
4546
  reasonCode?: string;
3074
4547
  /**
4548
+ * @remarks
4549
+ * The cause of the instance error.
4550
+ *
3075
4551
  * @example
3076
4552
  * ImagePullBackOff
3077
4553
  */
3078
4554
  reasonMessage?: string;
3079
4555
  /**
4556
+ * @remarks
4557
+ * The request ID.
4558
+ *
3080
4559
  * @example
3081
4560
  * E7D55162-4489-1619-AAF5-3F97D5FCA948
3082
4561
  */
3083
4562
  requestId?: string;
3084
4563
  /**
4564
+ * @remarks
4565
+ * The resource configurations in subscription scenarios.
4566
+ *
3085
4567
  * @example
3086
4568
  * {"CPU":"4","Memory":"8Gi","SharedMemory":"4Gi","GPU":"1","GPUType":"Tesla-V100-16G"}
3087
4569
  */
3088
4570
  requestedResource?: GetInstanceResponseBodyRequestedResource;
3089
4571
  /**
4572
+ * @remarks
4573
+ * The resource ID. This parameter is available if the billing method is subscription.
4574
+ *
3090
4575
  * @example
3091
4576
  * dsw-123456789
3092
4577
  */
3093
4578
  resourceId?: string;
3094
4579
  /**
4580
+ * @remarks
4581
+ * The specification type.
4582
+ *
4583
+ * * For subscription, this is the requested CPU and memory size.
4584
+ * * For pay-as-you-go, this is the selected ECS instance type.
4585
+ *
3095
4586
  * @example
3096
4587
  * ecs.g7.xlarge
3097
4588
  */
3098
4589
  resourceName?: string;
3099
4590
  /**
4591
+ * @remarks
4592
+ * The instance status.
4593
+ *
4594
+ * Valid values:
4595
+ *
4596
+ * * Creating
4597
+ * * SaveFailed
4598
+ * * Stopped
4599
+ * * Failed
4600
+ * * ResourceAllocating
4601
+ * * Stopping
4602
+ * * Updating
4603
+ * * Saving
4604
+ * * Queuing
4605
+ * * Recovering
4606
+ * * Starting
4607
+ * * Running
4608
+ * * Saved
4609
+ * * Deleting
4610
+ * * EnvPreparing
4611
+ *
3100
4612
  * @example
3101
4613
  * Running
3102
4614
  */
3103
4615
  status?: string;
3104
4616
  /**
4617
+ * @remarks
4618
+ * Indicates whether the request was successful. Valid values:
4619
+ *
4620
+ * * true
4621
+ * * false
4622
+ *
3105
4623
  * @example
3106
4624
  * true
3107
4625
  */
3108
4626
  success?: boolean;
4627
+ /**
4628
+ * @remarks
4629
+ * The tags.
4630
+ */
3109
4631
  tags?: GetInstanceResponseBodyTags[];
3110
4632
  /**
4633
+ * @remarks
4634
+ * The terminal URL.
4635
+ *
3111
4636
  * @example
3112
4637
  * https://dsw-gateway-cn-shanghai.aliyun.com/dsw-39772/tty/
3113
4638
  */
3114
4639
  terminalUrl?: string;
3115
4640
  /**
4641
+ * @remarks
4642
+ * The user ID.
4643
+ *
3116
4644
  * @example
3117
4645
  * 1612285282502324
3118
4646
  */
3119
4647
  userId?: string;
3120
4648
  /**
4649
+ * @remarks
4650
+ * The username.
4651
+ *
3121
4652
  * @example
3122
4653
  * 测试用户
3123
4654
  */
3124
4655
  userName?: string;
4656
+ /**
4657
+ * @remarks
4658
+ * The virtual private cloud (VPC) configurations.
4659
+ */
3125
4660
  userVpc?: GetInstanceResponseBodyUserVpc;
3126
4661
  /**
3127
4662
  * @remarks
3128
- * Web IDE url。
4663
+ * The Web IDE URL.
3129
4664
  *
3130
4665
  * @example
3131
4666
  * https://dsw-gateway-cn-shanghai.aliyun.com/dsw-39772/ide/
3132
4667
  */
3133
4668
  webIDEUrl?: string;
3134
4669
  /**
4670
+ * @remarks
4671
+ * The workspace ID.
4672
+ *
3135
4673
  * @example
3136
4674
  * 40823
3137
4675
  */
3138
4676
  workspaceId?: string;
3139
4677
  /**
4678
+ * @remarks
4679
+ * The workspace name.
4680
+ *
3140
4681
  * @example
3141
4682
  * training_data
3142
4683
  */
3143
4684
  workspaceName?: string;
3144
4685
  /**
4686
+ * @remarks
4687
+ * 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.
4688
+ *
3145
4689
  * @example
3146
4690
  * d-123456789
3147
4691
  */
@@ -3176,20 +4720,33 @@ export declare class GetInstanceResponse extends $dara.Model {
3176
4720
  }
3177
4721
  export declare class GetInstanceEventsRequest extends $dara.Model {
3178
4722
  /**
4723
+ * @remarks
4724
+ * The end of the time range to query.
4725
+ *
3179
4726
  * @example
3180
4727
  * 2020-11-08T15:00:00Z
3181
4728
  */
3182
4729
  endTime?: string;
3183
4730
  /**
4731
+ * @remarks
4732
+ * The maximum number of events. Default value: 2000.
4733
+ *
3184
4734
  * @example
3185
4735
  * 2000
3186
4736
  */
3187
4737
  maxEventsNum?: number;
3188
4738
  /**
4739
+ * @remarks
4740
+ * The beginning of the time range to query.
4741
+ *
3189
4742
  * @example
3190
4743
  * 2020-11-08T15:00:00Z
3191
4744
  */
3192
4745
  startTime?: string;
4746
+ /**
4747
+ * @remarks
4748
+ * The token used to share the URL.
4749
+ */
3193
4750
  token?: string;
3194
4751
  static names(): {
3195
4752
  [key: string]: string;
@@ -3204,32 +4761,64 @@ export declare class GetInstanceEventsRequest extends $dara.Model {
3204
4761
  }
3205
4762
  export declare class GetInstanceEventsResponseBody extends $dara.Model {
3206
4763
  /**
4764
+ * @remarks
4765
+ * The status code. Valid values:
4766
+ *
4767
+ * * InternalError: an internal error. All errors, except for parameter validation errors, are classified as internal errors.
4768
+ * * ValidationError: a parameter validation error.
4769
+ *
3207
4770
  * @example
3208
4771
  * None
3209
4772
  */
3210
4773
  code?: string;
4774
+ /**
4775
+ * @remarks
4776
+ * The events.
4777
+ */
3211
4778
  events?: string[];
3212
4779
  /**
4780
+ * @remarks
4781
+ * The HTTP status code. Valid values:
4782
+ *
4783
+ * * 400: One or more parameters are invalid.
4784
+ * * 404: The instance does not exist.
4785
+ * * 200: The request is normal.
4786
+ *
3213
4787
  * @example
3214
4788
  * 200
3215
4789
  */
3216
4790
  httpStatusCode?: number;
3217
4791
  /**
4792
+ * @remarks
4793
+ * The instance ID.
4794
+ *
3218
4795
  * @example
3219
4796
  * dsw-730xxxxxxxxxx
3220
4797
  */
3221
4798
  instanceId?: string;
3222
4799
  /**
4800
+ * @remarks
4801
+ * The response message.
4802
+ *
3223
4803
  * @example
3224
4804
  * XXX
3225
4805
  */
3226
4806
  message?: string;
3227
4807
  /**
4808
+ * @remarks
4809
+ * The request ID.
4810
+ *
3228
4811
  * @example
3229
4812
  * E7D55162-4489-1619-AAF5-3F97D5FCA948
3230
4813
  */
3231
4814
  requestId?: string;
3232
4815
  /**
4816
+ * @remarks
4817
+ * Indicates whether the request was successful.
4818
+ *
4819
+ * * true
4820
+ * * false
4821
+ *
3233
4822
  * @example
3234
4823
  * true
3235
4824
  */
@@ -3264,12 +4853,26 @@ export declare class GetInstanceEventsResponse extends $dara.Model {
3264
4853
  }
3265
4854
  export declare class GetInstanceMetricsRequest extends $dara.Model {
3266
4855
  /**
4856
+ * @remarks
4857
+ * The end of the time range to query.
4858
+ *
3267
4859
  * @example
3268
4860
  * 2020-11-08T15:00:00Z
3269
4861
  */
3270
4862
  endTime?: string;
3271
4863
  /**
3272
4864
  * @remarks
4865
+ * The metric type. Valid values:
4866
+ *
4867
+ * * GpuCoreUsage: the GPU utilization.
4868
+ * * GpuMemoryUsage: the GPU memory utilization.
4869
+ * * CpuCoreUsage: the CPU utilization.
4870
+ * * MemoryUsage: the memory utilization.
4871
+ * * NetworkInputRate: the network ingress rate.
4872
+ * * NetworkOutputRate: the network egress rate.
4873
+ * * DiskReadRate: the disk read rate.
4874
+ * * DiskWriteRate: the disk write rate.
4875
+ *
3273
4876
  * This parameter is required.
3274
4877
  *
3275
4878
  * @example
@@ -3277,11 +4880,17 @@ export declare class GetInstanceMetricsRequest extends $dara.Model {
3277
4880
  */
3278
4881
  metricType?: string;
3279
4882
  /**
4883
+ * @remarks
4884
+ * The beginning of the time range to query.
4885
+ *
3280
4886
  * @example
3281
4887
  * 2020-11-08T15:00:00Z
3282
4888
  */
3283
4889
  startTime?: string;
3284
4890
  /**
4891
+ * @remarks
4892
+ * The interval at which metrics are returned. Unit: minutes.
4893
+ *
3285
4894
  * @example
3286
4895
  * 15m
3287
4896
  */
@@ -3299,32 +4908,63 @@ export declare class GetInstanceMetricsRequest extends $dara.Model {
3299
4908
  }
3300
4909
  export declare class GetInstanceMetricsResponseBody extends $dara.Model {
3301
4910
  /**
4911
+ * @remarks
4912
+ * The status code. Valid values:
4913
+ *
4914
+ * * InternalError: an internal error. All errors, except for parameter validation errors, are classified as internal errors.
4915
+ * * ValidationError: a parameter validation error.
4916
+ *
3302
4917
  * @example
3303
4918
  * null
3304
4919
  */
3305
4920
  code?: string;
3306
4921
  /**
4922
+ * @remarks
4923
+ * The HTTP status code. Valid values:
4924
+ *
4925
+ * * 400
4926
+ * * 404
4927
+ *
3307
4928
  * @example
3308
4929
  * null
3309
4930
  */
3310
4931
  httpStatusCode?: number;
3311
4932
  /**
4933
+ * @remarks
4934
+ * The instance ID.
4935
+ *
3312
4936
  * @example
3313
4937
  * dsw-730xxxxxxxxxx
3314
4938
  */
3315
4939
  instanceId?: string;
3316
4940
  /**
4941
+ * @remarks
4942
+ * The response message.
4943
+ *
3317
4944
  * @example
3318
4945
  * "XXX"
3319
4946
  */
3320
4947
  message?: string;
4948
+ /**
4949
+ * @remarks
4950
+ * The information about the metrics of the pod that corresponds to the instance.
4951
+ */
3321
4952
  podMetrics?: GetInstanceMetricsResponseBodyPodMetrics[];
3322
4953
  /**
4954
+ * @remarks
4955
+ * The request ID.
4956
+ *
3323
4957
  * @example
3324
4958
  * E7D55162-4489-1619-AAF5-3F97D5FCA948
3325
4959
  */
3326
4960
  requestId?: string;
3327
4961
  /**
4962
+ * @remarks
4963
+ * Indicates whether the request was successful.
4964
+ *
4965
+ * * true
4966
+ * * false
4967
+ *
3328
4968
  * @example
3329
4969
  * true
3330
4970
  */
@@ -3548,30 +5188,52 @@ export declare class GetInstanceSnapshotResponse extends $dara.Model {
3548
5188
  }
3549
5189
  export declare class GetLifecycleRequest extends $dara.Model {
3550
5190
  /**
5191
+ * @remarks
5192
+ * The end of the time range to query.
5193
+ *
3551
5194
  * @example
3552
5195
  * 2020-11-08T15:00:00Z
3553
5196
  */
3554
5197
  endTime?: string;
3555
5198
  /**
5199
+ * @remarks
5200
+ * The number of sessions to query.
5201
+ *
3556
5202
  * @example
3557
5203
  * 1
3558
5204
  */
3559
5205
  limit?: number;
3560
5206
  /**
5207
+ * @remarks
5208
+ * The sorting order of the results. Valid values:
5209
+ *
5210
+ * * ASC: sorted by time in ascending order.
5211
+ * * DESC: sorted by time in descending order.
5212
+ *
3561
5213
  * @example
3562
5214
  * DESC
3563
5215
  */
3564
5216
  order?: string;
3565
5217
  /**
5218
+ * @remarks
5219
+ * 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.
5220
+ *
3566
5221
  * @example
3567
5222
  * 1
3568
5223
  */
3569
5224
  sessionNumber?: number;
3570
5225
  /**
5226
+ * @remarks
5227
+ * The beginning of the time range to query.
5228
+ *
3571
5229
  * @example
3572
5230
  * 2020-11-08T15:00:00Z
3573
5231
  */
3574
5232
  startTime?: string;
5233
+ /**
5234
+ * @remarks
5235
+ * The token used to share the URL.
5236
+ */
3575
5237
  token?: string;
3576
5238
  static names(): {
3577
5239
  [key: string]: string;
@@ -3586,31 +5248,55 @@ export declare class GetLifecycleRequest extends $dara.Model {
3586
5248
  }
3587
5249
  export declare class GetLifecycleResponseBody extends $dara.Model {
3588
5250
  /**
5251
+ * @remarks
5252
+ * The status code. Valid values:
5253
+ *
5254
+ * * InternalError: All errors, except for parameter validation errors, are internal errors.
5255
+ * * ValidationError: A parameter validation error.
5256
+ *
3589
5257
  * @example
3590
5258
  * null
3591
5259
  */
3592
5260
  code?: string;
3593
5261
  /**
5262
+ * @remarks
5263
+ * The lifecycle details.
5264
+ *
3594
5265
  * @example
3595
5266
  * [[{"Status":"Creating","GmtCreateTime":"2022-09-19T22:38:00Z","Reason":"","ReasonCode":""}]]
3596
5267
  */
3597
5268
  lifecycle?: GetLifecycleResponseBodyLifecycle[][];
3598
5269
  /**
5270
+ * @remarks
5271
+ * The returned message.
5272
+ *
3599
5273
  * @example
3600
5274
  * "XXX"
3601
5275
  */
3602
5276
  message?: string;
3603
5277
  /**
5278
+ * @remarks
5279
+ * The request ID.
5280
+ *
3604
5281
  * @example
3605
5282
  * E7D55162-4489-1619-AAF5-3F97D5FCA948
3606
5283
  */
3607
5284
  requestId?: string;
3608
5285
  /**
5286
+ * @remarks
5287
+ * Indicates whether the request was successful. Valid values:
5288
+ *
5289
+ * * true
5290
+ * * false
5291
+ *
3609
5292
  * @example
3610
5293
  * true
3611
5294
  */
3612
5295
  success?: boolean;
3613
5296
  /**
5297
+ * @remarks
5298
+ * The total number of queried sessions.
5299
+ *
3614
5300
  * @example
3615
5301
  * 35
3616
5302
  */
@@ -3860,12 +5546,17 @@ export declare class GetResourceGroupStatisticsResponse extends $dara.Model {
3860
5546
  }
3861
5547
  export declare class GetTokenRequest extends $dara.Model {
3862
5548
  /**
5549
+ * @remarks
5550
+ * The validity period. Unit: seconds.
5551
+ *
3863
5552
  * @example
3864
5553
  * 60
3865
5554
  */
3866
5555
  expireTime?: number;
3867
5556
  /**
3868
5557
  * @remarks
5558
+ * The instance ID.
5559
+ *
3869
5560
  * This parameter is required.
3870
5561
  *
3871
5562
  * @example
@@ -3885,26 +5576,47 @@ export declare class GetTokenRequest extends $dara.Model {
3885
5576
  }
3886
5577
  export declare class GetTokenResponseBody extends $dara.Model {
3887
5578
  /**
5579
+ * @remarks
5580
+ * The status code. Valid values:
5581
+ *
5582
+ * * InternalError: All errors, except for parameter validation errors, are internal errors.
5583
+ * * ValidationError: A parameter validation error.
5584
+ *
3888
5585
  * @example
3889
5586
  * ValidationError
3890
5587
  */
3891
5588
  code?: string;
3892
5589
  /**
5590
+ * @remarks
5591
+ * The error message.
5592
+ *
3893
5593
  * @example
3894
5594
  * "XXX"
3895
5595
  */
3896
5596
  message?: string;
3897
5597
  /**
5598
+ * @remarks
5599
+ * The request ID.
5600
+ *
3898
5601
  * @example
3899
5602
  * E7D55162-4489-1619-AAF5-3F97D5FCA948
3900
5603
  */
3901
5604
  requestId?: string;
3902
5605
  /**
5606
+ * @remarks
5607
+ * Indicates whether the request was successful. Valid values:
5608
+ *
5609
+ * * true
5610
+ * * false
5611
+ *
3903
5612
  * @example
3904
5613
  * true
3905
5614
  */
3906
5615
  success?: boolean;
3907
5616
  /**
5617
+ * @remarks
5618
+ * The temporary authentication information of the DSW instance.
5619
+ *
3908
5620
  * @example
3909
5621
  * *******
3910
5622
  */
@@ -4280,76 +5992,246 @@ export declare class ListInstanceStatisticsResponse extends $dara.Model {
4280
5992
  }
4281
5993
  export declare class ListInstancesRequest extends $dara.Model {
4282
5994
  /**
5995
+ * @remarks
5996
+ * The accelerator type.
5997
+ *
5998
+ * * CPU: Only CPU computing is used.
5999
+ * * GPU: GPUs are used to accelerate computing.
6000
+ *
4283
6001
  * @example
4284
- * AcceleratorType
6002
+ * CPU
4285
6003
  */
4286
6004
  acceleratorType?: string;
4287
6005
  /**
6006
+ * @remarks
6007
+ * The accessibility. Valid values:
6008
+ *
6009
+ * * PRIVATE (default): The instances are accessible only to you and the administrator of the workspace.
6010
+ * * PUBLIC: The instances are accessible only to all members in the workspace.
6011
+ *
4288
6012
  * @example
4289
6013
  * PRIVATE
4290
6014
  */
4291
6015
  accessibility?: string;
6016
+ /**
6017
+ * @remarks
6018
+ * The UID of the creator.
6019
+ *
6020
+ * @example
6021
+ * 12345*****67890
6022
+ */
4292
6023
  createUserId?: string;
6024
+ /**
6025
+ * @remarks
6026
+ * The GPU type.
6027
+ *
6028
+ * @example
6029
+ * NVIDIA A10
6030
+ */
4293
6031
  gpuType?: string;
6032
+ /**
6033
+ * @remarks
6034
+ * The image name.
6035
+ *
6036
+ * @example
6037
+ * modelscope:1.9.4-pytorch2.0.1tensorflow2.13.0-cpu-py38-ubuntu20.04
6038
+ */
4294
6039
  imageName?: string;
4295
6040
  /**
6041
+ * @remarks
6042
+ * The instance ID. You can call [ListInstances](https://help.aliyun.com/document_detail/470439.html) to obtain the instance ID.
6043
+ *
4296
6044
  * @example
4297
6045
  * dsw-730xxxxxxxxxx
4298
6046
  */
4299
6047
  instanceId?: string;
4300
6048
  /**
6049
+ * @remarks
6050
+ * The instance name.
6051
+ *
4301
6052
  * @example
4302
6053
  * training_data
4303
6054
  */
4304
6055
  instanceName?: string;
6056
+ /**
6057
+ * @remarks
6058
+ * The labels. A maximum of four labels are supported.
6059
+ *
6060
+ * @example
6061
+ * {
6062
+ * "key1": "value1",
6063
+ * "key2": "value2",
6064
+ * "key3": "value3"
6065
+ * }
6066
+ */
4305
6067
  labels?: {
4306
6068
  [key: string]: any;
4307
6069
  };
6070
+ /**
6071
+ * @remarks
6072
+ * The maximum number of CPUs. Unit: 0.001 CPU. The value 1000 indicates one CPU.
6073
+ *
6074
+ * @example
6075
+ * 30000
6076
+ */
4308
6077
  maxCpu?: string;
6078
+ /**
6079
+ * @remarks
6080
+ * The maximum number of GPUs. Unit: 0.001 GPU. The value 1000 indicates one GPU.
6081
+ *
6082
+ * @example
6083
+ * 8000
6084
+ */
4309
6085
  maxGpu?: string;
6086
+ /**
6087
+ * @remarks
6088
+ * The maximum memory size per GPU card. Unit: GB.
6089
+ *
6090
+ * @example
6091
+ * 16
6092
+ */
4310
6093
  maxGpuMemory?: string;
6094
+ /**
6095
+ * @remarks
6096
+ * The maximum memory size. Unit: GB.
6097
+ *
6098
+ * @example
6099
+ * 48
6100
+ */
4311
6101
  maxMemory?: string;
6102
+ /**
6103
+ * @remarks
6104
+ * The minimum number of CPUs. Unit: 0.001 CPU. The value 1000 indicates one CPU.
6105
+ *
6106
+ * @example
6107
+ * 2000
6108
+ */
4312
6109
  minCpu?: string;
6110
+ /**
6111
+ * @remarks
6112
+ * The minimum number of GPUs. Unit: 0.001 GPU. The value 1000 indicates one GPU.
6113
+ *
6114
+ * @example
6115
+ * 100
6116
+ */
4313
6117
  minGpu?: string;
6118
+ /**
6119
+ * @remarks
6120
+ * The minimum memory size per GPU card. Unit: GB.
6121
+ *
6122
+ * @example
6123
+ * 8
6124
+ */
4314
6125
  minGpuMemory?: string;
6126
+ /**
6127
+ * @remarks
6128
+ * The minimum memory size. Unit: GB.
6129
+ *
6130
+ * @example
6131
+ * 4
6132
+ */
4315
6133
  minMemory?: string;
4316
6134
  /**
6135
+ * @remarks
6136
+ * The order that you use to sort the query results.
6137
+ *
6138
+ * Valid values:
6139
+ *
6140
+ * * ASC
6141
+ * * DESC
6142
+ *
4317
6143
  * @example
4318
6144
  * DESC
4319
6145
  */
4320
6146
  order?: string;
6147
+ oversoldInfo?: string;
6148
+ oversoldType?: string;
4321
6149
  /**
6150
+ * @remarks
6151
+ * The page number. Pages start from page 1. Default value: 1.
6152
+ *
4322
6153
  * @example
4323
6154
  * 1
4324
6155
  */
4325
6156
  pageNumber?: number;
4326
6157
  /**
6158
+ * @remarks
6159
+ * The number of entries per page.
6160
+ *
4327
6161
  * @example
4328
6162
  * 10
4329
6163
  */
4330
6164
  pageSize?: number;
4331
6165
  /**
6166
+ * @remarks
6167
+ * The billing method.
6168
+ *
6169
+ * Valid values:
6170
+ *
6171
+ * * PayAsYouGo
6172
+ * * Subscription
6173
+ *
4332
6174
  * @example
4333
6175
  * PayAsYouGo
4334
6176
  */
4335
6177
  paymentType?: string;
4336
6178
  /**
6179
+ * @remarks
6180
+ * 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.
6181
+ *
4337
6182
  * @example
4338
6183
  * rg-123456789
4339
6184
  */
4340
6185
  resourceId?: string;
4341
6186
  /**
6187
+ * @remarks
6188
+ * The field that you use to sort the query results.
6189
+ *
6190
+ * Valid values:
6191
+ *
6192
+ * * Priority
6193
+ * * GmtCreateTime
6194
+ * * GmtModifiedTime
6195
+ *
4342
6196
  * @example
4343
6197
  * gmtCreate
4344
6198
  */
4345
6199
  sortBy?: string;
4346
6200
  /**
6201
+ * @remarks
6202
+ * The instance status.
6203
+ *
6204
+ * Valid values:
6205
+ *
6206
+ * * Creating
6207
+ * * SaveFailed
6208
+ * * Stopped
6209
+ * * Failed
6210
+ * * ResourceAllocating
6211
+ * * Stopping
6212
+ * * Updating
6213
+ * * Saving
6214
+ * * Queuing
6215
+ * * Recovering
6216
+ * * Starting
6217
+ * * Running
6218
+ * * Saved
6219
+ * * Deleting
6220
+ * * EnvPreparing
6221
+ *
4347
6222
  * @example
4348
6223
  * Running
4349
6224
  */
4350
6225
  status?: string;
6226
+ /**
6227
+ * @remarks
6228
+ * The tags.
6229
+ */
4351
6230
  tag?: ListInstancesRequestTag[];
4352
6231
  /**
6232
+ * @remarks
6233
+ * The workspace ID. You can call [ListWorkspaces](https://help.aliyun.com/document_detail/449124.html) to obtain the workspace ID.
6234
+ *
4353
6235
  * @example
4354
6236
  * 40823
4355
6237
  */
@@ -4367,74 +6249,244 @@ export declare class ListInstancesRequest extends $dara.Model {
4367
6249
  }
4368
6250
  export declare class ListInstancesShrinkRequest extends $dara.Model {
4369
6251
  /**
6252
+ * @remarks
6253
+ * The accelerator type.
6254
+ *
6255
+ * * CPU: Only CPU computing is used.
6256
+ * * GPU: GPUs are used to accelerate computing.
6257
+ *
4370
6258
  * @example
4371
- * AcceleratorType
6259
+ * CPU
4372
6260
  */
4373
6261
  acceleratorType?: string;
4374
6262
  /**
6263
+ * @remarks
6264
+ * The accessibility. Valid values:
6265
+ *
6266
+ * * PRIVATE (default): The instances are accessible only to you and the administrator of the workspace.
6267
+ * * PUBLIC: The instances are accessible only to all members in the workspace.
6268
+ *
4375
6269
  * @example
4376
6270
  * PRIVATE
4377
6271
  */
4378
6272
  accessibility?: string;
6273
+ /**
6274
+ * @remarks
6275
+ * The UID of the creator.
6276
+ *
6277
+ * @example
6278
+ * 12345*****67890
6279
+ */
4379
6280
  createUserId?: string;
6281
+ /**
6282
+ * @remarks
6283
+ * The GPU type.
6284
+ *
6285
+ * @example
6286
+ * NVIDIA A10
6287
+ */
4380
6288
  gpuType?: string;
6289
+ /**
6290
+ * @remarks
6291
+ * The image name.
6292
+ *
6293
+ * @example
6294
+ * modelscope:1.9.4-pytorch2.0.1tensorflow2.13.0-cpu-py38-ubuntu20.04
6295
+ */
4381
6296
  imageName?: string;
4382
6297
  /**
6298
+ * @remarks
6299
+ * The instance ID. You can call [ListInstances](https://help.aliyun.com/document_detail/470439.html) to obtain the instance ID.
6300
+ *
4383
6301
  * @example
4384
6302
  * dsw-730xxxxxxxxxx
4385
6303
  */
4386
6304
  instanceId?: string;
4387
6305
  /**
6306
+ * @remarks
6307
+ * The instance name.
6308
+ *
4388
6309
  * @example
4389
6310
  * training_data
4390
6311
  */
4391
6312
  instanceName?: string;
6313
+ /**
6314
+ * @remarks
6315
+ * The labels. A maximum of four labels are supported.
6316
+ *
6317
+ * @example
6318
+ * {
6319
+ * "key1": "value1",
6320
+ * "key2": "value2",
6321
+ * "key3": "value3"
6322
+ * }
6323
+ */
4392
6324
  labelsShrink?: string;
6325
+ /**
6326
+ * @remarks
6327
+ * The maximum number of CPUs. Unit: 0.001 CPU. The value 1000 indicates one CPU.
6328
+ *
6329
+ * @example
6330
+ * 30000
6331
+ */
4393
6332
  maxCpu?: string;
6333
+ /**
6334
+ * @remarks
6335
+ * The maximum number of GPUs. Unit: 0.001 GPU. The value 1000 indicates one GPU.
6336
+ *
6337
+ * @example
6338
+ * 8000
6339
+ */
4394
6340
  maxGpu?: string;
6341
+ /**
6342
+ * @remarks
6343
+ * The maximum memory size per GPU card. Unit: GB.
6344
+ *
6345
+ * @example
6346
+ * 16
6347
+ */
4395
6348
  maxGpuMemory?: string;
6349
+ /**
6350
+ * @remarks
6351
+ * The maximum memory size. Unit: GB.
6352
+ *
6353
+ * @example
6354
+ * 48
6355
+ */
4396
6356
  maxMemory?: string;
6357
+ /**
6358
+ * @remarks
6359
+ * The minimum number of CPUs. Unit: 0.001 CPU. The value 1000 indicates one CPU.
6360
+ *
6361
+ * @example
6362
+ * 2000
6363
+ */
4397
6364
  minCpu?: string;
6365
+ /**
6366
+ * @remarks
6367
+ * The minimum number of GPUs. Unit: 0.001 GPU. The value 1000 indicates one GPU.
6368
+ *
6369
+ * @example
6370
+ * 100
6371
+ */
4398
6372
  minGpu?: string;
6373
+ /**
6374
+ * @remarks
6375
+ * The minimum memory size per GPU card. Unit: GB.
6376
+ *
6377
+ * @example
6378
+ * 8
6379
+ */
4399
6380
  minGpuMemory?: string;
6381
+ /**
6382
+ * @remarks
6383
+ * The minimum memory size. Unit: GB.
6384
+ *
6385
+ * @example
6386
+ * 4
6387
+ */
4400
6388
  minMemory?: string;
4401
6389
  /**
6390
+ * @remarks
6391
+ * The order that you use to sort the query results.
6392
+ *
6393
+ * Valid values:
6394
+ *
6395
+ * * ASC
6396
+ * * DESC
6397
+ *
4402
6398
  * @example
4403
6399
  * DESC
4404
6400
  */
4405
6401
  order?: string;
6402
+ oversoldInfo?: string;
6403
+ oversoldType?: string;
4406
6404
  /**
6405
+ * @remarks
6406
+ * The page number. Pages start from page 1. Default value: 1.
6407
+ *
4407
6408
  * @example
4408
6409
  * 1
4409
6410
  */
4410
6411
  pageNumber?: number;
4411
6412
  /**
6413
+ * @remarks
6414
+ * The number of entries per page.
6415
+ *
4412
6416
  * @example
4413
6417
  * 10
4414
6418
  */
4415
6419
  pageSize?: number;
4416
6420
  /**
6421
+ * @remarks
6422
+ * The billing method.
6423
+ *
6424
+ * Valid values:
6425
+ *
6426
+ * * PayAsYouGo
6427
+ * * Subscription
6428
+ *
4417
6429
  * @example
4418
6430
  * PayAsYouGo
4419
6431
  */
4420
6432
  paymentType?: string;
4421
6433
  /**
6434
+ * @remarks
6435
+ * 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.
6436
+ *
4422
6437
  * @example
4423
6438
  * rg-123456789
4424
6439
  */
4425
6440
  resourceId?: string;
4426
6441
  /**
6442
+ * @remarks
6443
+ * The field that you use to sort the query results.
6444
+ *
6445
+ * Valid values:
6446
+ *
6447
+ * * Priority
6448
+ * * GmtCreateTime
6449
+ * * GmtModifiedTime
6450
+ *
4427
6451
  * @example
4428
6452
  * gmtCreate
4429
6453
  */
4430
6454
  sortBy?: string;
4431
6455
  /**
6456
+ * @remarks
6457
+ * The instance status.
6458
+ *
6459
+ * Valid values:
6460
+ *
6461
+ * * Creating
6462
+ * * SaveFailed
6463
+ * * Stopped
6464
+ * * Failed
6465
+ * * ResourceAllocating
6466
+ * * Stopping
6467
+ * * Updating
6468
+ * * Saving
6469
+ * * Queuing
6470
+ * * Recovering
6471
+ * * Starting
6472
+ * * Running
6473
+ * * Saved
6474
+ * * Deleting
6475
+ * * EnvPreparing
6476
+ *
4432
6477
  * @example
4433
6478
  * Running
4434
6479
  */
4435
6480
  status?: string;
6481
+ /**
6482
+ * @remarks
6483
+ * The tags.
6484
+ */
4436
6485
  tagShrink?: string;
4437
6486
  /**
6487
+ * @remarks
6488
+ * The workspace ID. You can call [ListWorkspaces](https://help.aliyun.com/document_detail/449124.html) to obtain the workspace ID.
6489
+ *
4438
6490
  * @example
4439
6491
  * 40823
4440
6492
  */
@@ -4452,32 +6504,63 @@ export declare class ListInstancesShrinkRequest extends $dara.Model {
4452
6504
  }
4453
6505
  export declare class ListInstancesResponseBody extends $dara.Model {
4454
6506
  /**
6507
+ * @remarks
6508
+ * The status code. Valid values:
6509
+ *
6510
+ * * InternalError: an internal error. All errors, except for parameter validation errors, are classified as internal errors.
6511
+ * * ValidationError: a parameter validation error.
6512
+ *
4455
6513
  * @example
4456
6514
  * null
4457
6515
  */
4458
6516
  code?: string;
4459
6517
  /**
6518
+ * @remarks
6519
+ * The HTTP status code. Valid values:
6520
+ *
6521
+ * * 400
6522
+ * * 404
6523
+ *
4460
6524
  * @example
4461
6525
  * null
4462
6526
  */
4463
6527
  httpStatusCode?: number;
6528
+ /**
6529
+ * @remarks
6530
+ * The instances returned on this page.
6531
+ */
4464
6532
  instances?: ListInstancesResponseBodyInstances[];
4465
6533
  /**
6534
+ * @remarks
6535
+ * The response message.
6536
+ *
4466
6537
  * @example
4467
6538
  * "XXX"
4468
6539
  */
4469
6540
  message?: string;
4470
6541
  /**
6542
+ * @remarks
6543
+ * The request ID.
6544
+ *
4471
6545
  * @example
4472
6546
  * E7D55162-4489-1619-AAF5-3F97D5FCA948
4473
6547
  */
4474
6548
  requestId?: string;
4475
6549
  /**
6550
+ * @remarks
6551
+ * Indicates whether the request was successful.
6552
+ *
6553
+ * * true
6554
+ * * false
6555
+ *
4476
6556
  * @example
4477
6557
  * true
4478
6558
  */
4479
6559
  success?: boolean;
4480
6560
  /**
6561
+ * @remarks
6562
+ * The total number of instances.
6563
+ *
4481
6564
  * @example
4482
6565
  * 35
4483
6566
  */
@@ -4647,84 +6730,190 @@ export declare class StopInstanceResponse extends $dara.Model {
4647
6730
  }
4648
6731
  export declare class UpdateInstanceRequest extends $dara.Model {
4649
6732
  /**
6733
+ * @remarks
6734
+ * The visibility of the instance.
6735
+ *
6736
+ * Valid values:
6737
+ *
6738
+ * * PUBLIC: Accessible to all members in the workspace.
6739
+ * * PRIVATE: Accessible only to you and the administrator of the workspace.
6740
+ *
4650
6741
  * @example
4651
6742
  * PRIVATE
4652
6743
  */
4653
6744
  accessibility?: string;
6745
+ /**
6746
+ * @remarks
6747
+ * The affinity configuration.
6748
+ */
4654
6749
  affinity?: UpdateInstanceRequestAffinity;
4655
6750
  /**
6751
+ * @remarks
6752
+ * The cloud disks.
6753
+ *
4656
6754
  * @example
4657
6755
  * []
4658
6756
  */
4659
6757
  cloudDisks?: UpdateInstanceRequestCloudDisks[];
6758
+ /**
6759
+ * @remarks
6760
+ * The credential configuration.
6761
+ */
4660
6762
  credentialConfig?: CredentialConfig;
6763
+ /**
6764
+ * @remarks
6765
+ * The datasets.
6766
+ */
4661
6767
  datasets?: UpdateInstanceRequestDatasets[];
6768
+ /**
6769
+ * @remarks
6770
+ * Specifies whether to delete the credential injection information.
6771
+ *
6772
+ * @example
6773
+ * false
6774
+ */
4662
6775
  disassociateCredential?: boolean;
4663
6776
  /**
6777
+ * @remarks
6778
+ * Specifies whether to delete the associated datasets.
6779
+ *
6780
+ * * true
6781
+ * * false
6782
+ *
4664
6783
  * @example
4665
6784
  * false
4666
6785
  */
4667
6786
  disassociateDatasets?: boolean;
4668
6787
  /**
6788
+ * @remarks
6789
+ * Specifies whether to delete the NVIDIA driver configuration.
6790
+ *
4669
6791
  * @example
4670
6792
  * false
4671
6793
  */
4672
6794
  disassociateDriver?: boolean;
4673
6795
  /**
6796
+ * @remarks
6797
+ * Specifies whether to delete the associated forward information.
6798
+ *
4674
6799
  * @example
4675
6800
  * false
4676
6801
  */
4677
6802
  disassociateForwardInfos?: boolean;
4678
6803
  /**
6804
+ * @remarks
6805
+ * Specifies whether to delete the associated user VPC.
6806
+ *
4679
6807
  * @example
4680
6808
  * false
4681
6809
  */
4682
6810
  disassociateVpc?: boolean;
4683
6811
  /**
6812
+ * @remarks
6813
+ * The NVIDIA driver configuration.
6814
+ *
4684
6815
  * @example
4685
6816
  * 535.54.03
4686
6817
  */
4687
6818
  driver?: string;
4688
6819
  /**
6820
+ * @remarks
6821
+ * The dynamic mount configuration.
6822
+ */
6823
+ dynamicMount?: DynamicMount;
6824
+ /**
6825
+ * @remarks
6826
+ * 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.
6827
+ *
4689
6828
  * @example
4690
6829
  * ecs.c6.large
4691
6830
  */
4692
6831
  ecsSpec?: string;
6832
+ /**
6833
+ * @remarks
6834
+ * The Base64-encoded account and password for the user‘s private image. The password will be hidden.
6835
+ *
6836
+ * @example
6837
+ * ****
6838
+ */
4693
6839
  imageAuth?: string;
4694
6840
  /**
6841
+ * @remarks
6842
+ * The image ID. You can call [ListImages](https://help.aliyun.com/document_detail/449118.html) to obtain the image ID.
6843
+ *
4695
6844
  * @example
4696
6845
  * image-05cefd0be2exxxx
4697
6846
  */
4698
6847
  imageId?: string;
4699
6848
  /**
6849
+ * @remarks
6850
+ * The image address. You can call [ListImages](https://help.aliyun.com/document_detail/449118.html) to obtain the image address.
6851
+ *
4700
6852
  * @example
4701
6853
  * registry.cn-shanghai.aliyuncs.com/pai_product/tensorflow:py36_cpu_tf1.12_ubuntu
4702
6854
  */
4703
6855
  imageUrl?: string;
4704
6856
  /**
6857
+ * @remarks
6858
+ * The instance name. Format requirements:
6859
+ *
6860
+ * * The name can contain only letters, digits, and underscores (_).
6861
+ * * The name can be up to 27 characters in length.
6862
+ *
4705
6863
  * @example
4706
6864
  * training_data
4707
6865
  */
4708
6866
  instanceName?: string;
4709
6867
  /**
6868
+ * @remarks
6869
+ * The priority based on which resources are allocated to instances. Valid values: 1 to 9.
6870
+ *
6871
+ * * 1: the lowest priority.
6872
+ * * 9 is the highest priority.
6873
+ *
4710
6874
  * @example
4711
6875
  * 1
4712
6876
  */
4713
6877
  priority?: number;
4714
6878
  /**
6879
+ * @remarks
6880
+ * The resource configurations.
6881
+ *
4715
6882
  * @example
4716
6883
  * {"CPU":"4","Memory":"8Gi","SharedMemory":"4Gi","GPU":"1","GPUType":"Tesla-V100-16G"}
4717
6884
  */
4718
6885
  requestedResource?: UpdateInstanceRequestRequestedResource;
4719
6886
  /**
6887
+ * @remarks
6888
+ * the User ID of the instance.
6889
+ *
4720
6890
  * @example
4721
- * 1612285282502324
6891
+ * 16122**********
4722
6892
  */
4723
6893
  userId?: string;
6894
+ /**
6895
+ * @remarks
6896
+ * The virtual private cloud (VPC) configurations.
6897
+ */
4724
6898
  userVpc?: UpdateInstanceRequestUserVpc;
4725
6899
  /**
6900
+ * @remarks
6901
+ * 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.
6902
+ *
6903
+ * Valid values:
6904
+ *
6905
+ * * rootfsCloudDisk: Mount disk to the working directory.
6906
+ * * Mount path of the dataset, such as /mnt/data: Datasets in URI format only support this method.
6907
+ * * 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.
6908
+ *
6909
+ * If you leave this parameter empty:
6910
+ *
6911
+ * * If the instance uses cloud disks, cloud disks are selected by default.
6912
+ * * if no disks are available, the first NAS or CPFS dataset is selected as the working directory.
6913
+ * * If no disk, NAS, or CPFS datasets is available, the host space is used.
6914
+ *
4726
6915
  * @example
4727
- * d-123456789
6916
+ * /mnt/data
4728
6917
  */
4729
6918
  workspaceSource?: string;
4730
6919
  static names(): {
@@ -4740,31 +6929,58 @@ export declare class UpdateInstanceRequest extends $dara.Model {
4740
6929
  }
4741
6930
  export declare class UpdateInstanceResponseBody extends $dara.Model {
4742
6931
  /**
6932
+ * @remarks
6933
+ * The status code. Valid values:
6934
+ *
6935
+ * * InternalError: an internal error. All errors, except for parameter validation errors, are classified as internal errors.
6936
+ * * ValidationError: a parameter validation error.
6937
+ *
4743
6938
  * @example
4744
6939
  * null
4745
6940
  */
4746
6941
  code?: string;
4747
6942
  /**
6943
+ * @remarks
6944
+ * The HTTP status code. Valid values:
6945
+ *
6946
+ * * 400
6947
+ * * 404
6948
+ *
4748
6949
  * @example
4749
6950
  * null
4750
6951
  */
4751
6952
  httpStatusCode?: number;
4752
6953
  /**
6954
+ * @remarks
6955
+ * The instance ID.
6956
+ *
4753
6957
  * @example
4754
6958
  * dsw-730xxxxxxxxxx
4755
6959
  */
4756
6960
  instanceId?: string;
4757
6961
  /**
6962
+ * @remarks
6963
+ * The response message.
6964
+ *
4758
6965
  * @example
4759
6966
  * "XXX"
4760
6967
  */
4761
6968
  message?: string;
4762
6969
  /**
6970
+ * @remarks
6971
+ * The request ID.
6972
+ *
4763
6973
  * @example
4764
6974
  * E7D55162-4489-1619-AAF5-3F97D5FCA948
4765
6975
  */
4766
6976
  requestId?: string;
4767
6977
  /**
6978
+ * @remarks
6979
+ * Indicates whether the request was successful. Valid values:
6980
+ *
6981
+ * * true
6982
+ * * false
6983
+ *
4768
6984
  * @example
4769
6985
  * true
4770
6986
  */
@@ -4800,6 +7016,8 @@ export declare class UpdateInstanceResponse extends $dara.Model {
4800
7016
  export declare class UpdateInstanceLabelsRequest extends $dara.Model {
4801
7017
  /**
4802
7018
  * @remarks
7019
+ * The tags that you want to update.
7020
+ *
4803
7021
  * This parameter is required.
4804
7022
  */
4805
7023
  labels?: UpdateInstanceLabelsRequestLabels[];
@@ -4816,6 +7034,9 @@ export declare class UpdateInstanceLabelsRequest extends $dara.Model {
4816
7034
  }
4817
7035
  export declare class UpdateInstanceLabelsResponseBody extends $dara.Model {
4818
7036
  /**
7037
+ * @remarks
7038
+ * The request ID.
7039
+ *
4819
7040
  * @example
4820
7041
  * E7D55162-4489-1619-AAF5-3F97D5FCA948
4821
7042
  */
@@ -4854,6 +7075,8 @@ export default class Client extends OpenApi {
4854
7075
  [key: string]: string;
4855
7076
  }, endpoint: string): string;
4856
7077
  /**
7078
+ * 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.
7079
+ *
4857
7080
  * @param request - CreateIdleInstanceCullerRequest
4858
7081
  * @param headers - map
4859
7082
  * @param runtime - runtime options for this request RuntimeOptions
@@ -4863,12 +7086,14 @@ export default class Client extends OpenApi {
4863
7086
  [key: string]: string;
4864
7087
  }, runtime: $dara.RuntimeOptions): Promise<CreateIdleInstanceCullerResponse>;
4865
7088
  /**
7089
+ * 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.
7090
+ *
4866
7091
  * @param request - CreateIdleInstanceCullerRequest
4867
7092
  * @returns CreateIdleInstanceCullerResponse
4868
7093
  */
4869
7094
  createIdleInstanceCuller(InstanceId: string, request: CreateIdleInstanceCullerRequest): Promise<CreateIdleInstanceCullerResponse>;
4870
7095
  /**
4871
- * 创建实例
7096
+ * Creates a Data Science Workshop (DSW) instance.
4872
7097
  *
4873
7098
  * @param request - CreateInstanceRequest
4874
7099
  * @param headers - map
@@ -4879,14 +7104,14 @@ export default class Client extends OpenApi {
4879
7104
  [key: string]: string;
4880
7105
  }, runtime: $dara.RuntimeOptions): Promise<CreateInstanceResponse>;
4881
7106
  /**
4882
- * 创建实例
7107
+ * Creates a Data Science Workshop (DSW) instance.
4883
7108
  *
4884
7109
  * @param request - CreateInstanceRequest
4885
7110
  * @returns CreateInstanceResponse
4886
7111
  */
4887
7112
  createInstance(request: CreateInstanceRequest): Promise<CreateInstanceResponse>;
4888
7113
  /**
4889
- * 创建定时关机任务
7114
+ * Creates a scheduled stop task for an instance.
4890
7115
  *
4891
7116
  * @param request - CreateInstanceShutdownTimerRequest
4892
7117
  * @param headers - map
@@ -4897,7 +7122,7 @@ export default class Client extends OpenApi {
4897
7122
  [key: string]: string;
4898
7123
  }, runtime: $dara.RuntimeOptions): Promise<CreateInstanceShutdownTimerResponse>;
4899
7124
  /**
4900
- * 创建定时关机任务
7125
+ * Creates a scheduled stop task for an instance.
4901
7126
  *
4902
7127
  * @param request - CreateInstanceShutdownTimerRequest
4903
7128
  * @returns CreateInstanceShutdownTimerResponse
@@ -4922,6 +7147,8 @@ export default class Client extends OpenApi {
4922
7147
  */
4923
7148
  createInstanceSnapshot(InstanceId: string, request: CreateInstanceSnapshotRequest): Promise<CreateInstanceSnapshotResponse>;
4924
7149
  /**
7150
+ * Deletes the automatic stop policy of an instance.
7151
+ *
4925
7152
  * @param headers - map
4926
7153
  * @param runtime - runtime options for this request RuntimeOptions
4927
7154
  * @returns DeleteIdleInstanceCullerResponse
@@ -4930,11 +7157,12 @@ export default class Client extends OpenApi {
4930
7157
  [key: string]: string;
4931
7158
  }, runtime: $dara.RuntimeOptions): Promise<DeleteIdleInstanceCullerResponse>;
4932
7159
  /**
7160
+ * Deletes the automatic stop policy of an instance.
4933
7161
  * @returns DeleteIdleInstanceCullerResponse
4934
7162
  */
4935
7163
  deleteIdleInstanceCuller(InstanceId: string): Promise<DeleteIdleInstanceCullerResponse>;
4936
7164
  /**
4937
- * 删除实例
7165
+ * Deletes a specific instance.
4938
7166
  *
4939
7167
  * @param headers - map
4940
7168
  * @param runtime - runtime options for this request RuntimeOptions
@@ -4944,12 +7172,12 @@ export default class Client extends OpenApi {
4944
7172
  [key: string]: string;
4945
7173
  }, runtime: $dara.RuntimeOptions): Promise<DeleteInstanceResponse>;
4946
7174
  /**
4947
- * 删除实例
7175
+ * Deletes a specific instance.
4948
7176
  * @returns DeleteInstanceResponse
4949
7177
  */
4950
7178
  deleteInstance(InstanceId: string): Promise<DeleteInstanceResponse>;
4951
7179
  /**
4952
- * 删除DSW实例的标签
7180
+ * Delete tags from a Data Science Workshop (DSW) instance.
4953
7181
  *
4954
7182
  * @param request - DeleteInstanceLabelsRequest
4955
7183
  * @param headers - map
@@ -4960,14 +7188,14 @@ export default class Client extends OpenApi {
4960
7188
  [key: string]: string;
4961
7189
  }, runtime: $dara.RuntimeOptions): Promise<DeleteInstanceLabelsResponse>;
4962
7190
  /**
4963
- * 删除DSW实例的标签
7191
+ * Delete tags from a Data Science Workshop (DSW) instance.
4964
7192
  *
4965
7193
  * @param request - DeleteInstanceLabelsRequest
4966
7194
  * @returns DeleteInstanceLabelsResponse
4967
7195
  */
4968
7196
  deleteInstanceLabels(InstanceId: string, request: DeleteInstanceLabelsRequest): Promise<DeleteInstanceLabelsResponse>;
4969
7197
  /**
4970
- * 删除定时关机任务
7198
+ * Deletes a scheduled stop task of an instance.
4971
7199
  *
4972
7200
  * @param headers - map
4973
7201
  * @param runtime - runtime options for this request RuntimeOptions
@@ -4977,7 +7205,7 @@ export default class Client extends OpenApi {
4977
7205
  [key: string]: string;
4978
7206
  }, runtime: $dara.RuntimeOptions): Promise<DeleteInstanceShutdownTimerResponse>;
4979
7207
  /**
4980
- * 删除定时关机任务
7208
+ * Deletes a scheduled stop task of an instance.
4981
7209
  * @returns DeleteInstanceShutdownTimerResponse
4982
7210
  */
4983
7211
  deleteInstanceShutdownTimer(InstanceId: string): Promise<DeleteInstanceShutdownTimerResponse>;
@@ -4997,6 +7225,8 @@ export default class Client extends OpenApi {
4997
7225
  */
4998
7226
  deleteInstanceSnapshot(InstanceId: string, SnapshotId: string): Promise<DeleteInstanceSnapshotResponse>;
4999
7227
  /**
7228
+ * Queries the information about an auto stop policy for a specific idle instance.
7229
+ *
5000
7230
  * @param headers - map
5001
7231
  * @param runtime - runtime options for this request RuntimeOptions
5002
7232
  * @returns GetIdleInstanceCullerResponse
@@ -5005,11 +7235,12 @@ export default class Client extends OpenApi {
5005
7235
  [key: string]: string;
5006
7236
  }, runtime: $dara.RuntimeOptions): Promise<GetIdleInstanceCullerResponse>;
5007
7237
  /**
7238
+ * Queries the information about an auto stop policy for a specific idle instance.
5008
7239
  * @returns GetIdleInstanceCullerResponse
5009
7240
  */
5010
7241
  getIdleInstanceCuller(InstanceId: string): Promise<GetIdleInstanceCullerResponse>;
5011
7242
  /**
5012
- * 获取实例详情
7243
+ * Queries the details of a DSW instance.
5013
7244
  *
5014
7245
  * @param request - GetInstanceRequest
5015
7246
  * @param headers - map
@@ -5020,13 +7251,15 @@ export default class Client extends OpenApi {
5020
7251
  [key: string]: string;
5021
7252
  }, runtime: $dara.RuntimeOptions): Promise<GetInstanceResponse>;
5022
7253
  /**
5023
- * 获取实例详情
7254
+ * Queries the details of a DSW instance.
5024
7255
  *
5025
7256
  * @param request - GetInstanceRequest
5026
7257
  * @returns GetInstanceResponse
5027
7258
  */
5028
7259
  getInstance(InstanceId: string, request: GetInstanceRequest): Promise<GetInstanceResponse>;
5029
7260
  /**
7261
+ * Queries a list of system events for a Data Science Workshop (DSW) instance.
7262
+ *
5030
7263
  * @param request - GetInstanceEventsRequest
5031
7264
  * @param headers - map
5032
7265
  * @param runtime - runtime options for this request RuntimeOptions
@@ -5036,11 +7269,15 @@ export default class Client extends OpenApi {
5036
7269
  [key: string]: string;
5037
7270
  }, runtime: $dara.RuntimeOptions): Promise<GetInstanceEventsResponse>;
5038
7271
  /**
7272
+ * Queries a list of system events for a Data Science Workshop (DSW) instance.
7273
+ *
5039
7274
  * @param request - GetInstanceEventsRequest
5040
7275
  * @returns GetInstanceEventsResponse
5041
7276
  */
5042
7277
  getInstanceEvents(InstanceId: string, request: GetInstanceEventsRequest): Promise<GetInstanceEventsResponse>;
5043
7278
  /**
7279
+ * Queries the resource metrics of an instance.
7280
+ *
5044
7281
  * @param request - GetInstanceMetricsRequest
5045
7282
  * @param headers - map
5046
7283
  * @param runtime - runtime options for this request RuntimeOptions
@@ -5050,6 +7287,8 @@ export default class Client extends OpenApi {
5050
7287
  [key: string]: string;
5051
7288
  }, runtime: $dara.RuntimeOptions): Promise<GetInstanceMetricsResponse>;
5052
7289
  /**
7290
+ * Queries the resource metrics of an instance.
7291
+ *
5053
7292
  * @param request - GetInstanceMetricsRequest
5054
7293
  * @returns GetInstanceMetricsResponse
5055
7294
  */
@@ -5085,6 +7324,11 @@ export default class Client extends OpenApi {
5085
7324
  */
5086
7325
  getInstanceSnapshot(InstanceId: string, SnapshotId: string): Promise<GetInstanceSnapshotResponse>;
5087
7326
  /**
7327
+ * Obtains the lifecycle of an instance
7328
+ *
7329
+ * @remarks
7330
+ * Obtains the lifecycle transition information for an instance, including details on the status an instance transitions to at a specific point in time.
7331
+ *
5088
7332
  * @param request - GetLifecycleRequest
5089
7333
  * @param headers - map
5090
7334
  * @param runtime - runtime options for this request RuntimeOptions
@@ -5094,6 +7338,11 @@ export default class Client extends OpenApi {
5094
7338
  [key: string]: string;
5095
7339
  }, runtime: $dara.RuntimeOptions): Promise<GetLifecycleResponse>;
5096
7340
  /**
7341
+ * Obtains the lifecycle of an instance
7342
+ *
7343
+ * @remarks
7344
+ * Obtains the lifecycle transition information for an instance, including details on the status an instance transitions to at a specific point in time.
7345
+ *
5097
7346
  * @param request - GetLifecycleRequest
5098
7347
  * @returns GetLifecycleResponse
5099
7348
  */
@@ -5131,6 +7380,8 @@ export default class Client extends OpenApi {
5131
7380
  */
5132
7381
  getResourceGroupStatistics(request: GetResourceGroupStatisticsRequest): Promise<GetResourceGroupStatisticsResponse>;
5133
7382
  /**
7383
+ * Obtains the temporary authentication information of a DSW instance.
7384
+ *
5134
7385
  * @param request - GetTokenRequest
5135
7386
  * @param headers - map
5136
7387
  * @param runtime - runtime options for this request RuntimeOptions
@@ -5140,6 +7391,8 @@ export default class Client extends OpenApi {
5140
7391
  [key: string]: string;
5141
7392
  }, runtime: $dara.RuntimeOptions): Promise<GetTokenResponse>;
5142
7393
  /**
7394
+ * Obtains the temporary authentication information of a DSW instance.
7395
+ *
5143
7396
  * @param request - GetTokenRequest
5144
7397
  * @returns GetTokenResponse
5145
7398
  */
@@ -5214,6 +7467,8 @@ export default class Client extends OpenApi {
5214
7467
  */
5215
7468
  listInstanceStatistics(request: ListInstanceStatisticsRequest): Promise<ListInstanceStatisticsResponse>;
5216
7469
  /**
7470
+ * Queries a list of Data Science Workshop (DSW) instances.
7471
+ *
5217
7472
  * @param tmpReq - ListInstancesRequest
5218
7473
  * @param headers - map
5219
7474
  * @param runtime - runtime options for this request RuntimeOptions
@@ -5223,6 +7478,8 @@ export default class Client extends OpenApi {
5223
7478
  [key: string]: string;
5224
7479
  }, runtime: $dara.RuntimeOptions): Promise<ListInstancesResponse>;
5225
7480
  /**
7481
+ * Queries a list of Data Science Workshop (DSW) instances.
7482
+ *
5226
7483
  * @param request - ListInstancesRequest
5227
7484
  * @returns ListInstancesResponse
5228
7485
  */
@@ -5261,7 +7518,7 @@ export default class Client extends OpenApi {
5261
7518
  */
5262
7519
  stopInstance(InstanceId: string, request: StopInstanceRequest): Promise<StopInstanceResponse>;
5263
7520
  /**
5264
- * 更新实例
7521
+ * Updates the properties of a DSW instance.
5265
7522
  *
5266
7523
  * @param request - UpdateInstanceRequest
5267
7524
  * @param headers - map
@@ -5272,14 +7529,14 @@ export default class Client extends OpenApi {
5272
7529
  [key: string]: string;
5273
7530
  }, runtime: $dara.RuntimeOptions): Promise<UpdateInstanceResponse>;
5274
7531
  /**
5275
- * 更新实例
7532
+ * Updates the properties of a DSW instance.
5276
7533
  *
5277
7534
  * @param request - UpdateInstanceRequest
5278
7535
  * @returns UpdateInstanceResponse
5279
7536
  */
5280
7537
  updateInstance(InstanceId: string, request: UpdateInstanceRequest): Promise<UpdateInstanceResponse>;
5281
7538
  /**
5282
- * 修改DSW实例的标签
7539
+ * Updates the tags of a Data Science Workshop (DSW) instance. If the tags do not exist, the system adds tags.
5283
7540
  *
5284
7541
  * @param request - UpdateInstanceLabelsRequest
5285
7542
  * @param headers - map
@@ -5290,7 +7547,7 @@ export default class Client extends OpenApi {
5290
7547
  [key: string]: string;
5291
7548
  }, runtime: $dara.RuntimeOptions): Promise<UpdateInstanceLabelsResponse>;
5292
7549
  /**
5293
- * 修改DSW实例的标签
7550
+ * Updates the tags of a Data Science Workshop (DSW) instance. If the tags do not exist, the system adds tags.
5294
7551
  *
5295
7552
  * @param request - UpdateInstanceLabelsRequest
5296
7553
  * @returns UpdateInstanceLabelsResponse