@alicloud/ecd20200930 4.25.5 → 5.0.0

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.
Files changed (78) hide show
  1. package/dist/client.d.ts +66 -103
  2. package/dist/client.js +104 -142
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CreateAndBindNasFileSystemRequest.d.ts +7 -19
  5. package/dist/models/CreateAndBindNasFileSystemRequest.js.map +1 -1
  6. package/dist/models/CreateDesktopsRequest.d.ts +106 -128
  7. package/dist/models/CreateDesktopsRequest.js +4 -0
  8. package/dist/models/CreateDesktopsRequest.js.map +1 -1
  9. package/dist/models/CreateDesktopsResponseBody.d.ts +2 -3
  10. package/dist/models/CreateDesktopsResponseBody.js.map +1 -1
  11. package/dist/models/CreateDesktopsShrinkRequest.d.ts +89 -99
  12. package/dist/models/CreateDesktopsShrinkRequest.js +4 -0
  13. package/dist/models/CreateDesktopsShrinkRequest.js.map +1 -1
  14. package/dist/models/CreateNetworkPackageRequest.d.ts +32 -25
  15. package/dist/models/CreateNetworkPackageRequest.js +27 -1
  16. package/dist/models/CreateNetworkPackageRequest.js.map +1 -1
  17. package/dist/models/CreateNetworkPackageResponseBody.d.ts +3 -3
  18. package/dist/models/DescribeCenterPolicyListRequest.d.ts +5 -4
  19. package/dist/models/DescribeCenterPolicyListRequest.js.map +1 -1
  20. package/dist/models/DescribeCenterPolicyListResponseBody.d.ts +85 -84
  21. package/dist/models/DescribeCenterPolicyListResponseBody.js +10 -0
  22. package/dist/models/DescribeCenterPolicyListResponseBody.js.map +1 -1
  23. package/dist/models/DescribeNetworkPackagesRequest.d.ts +22 -14
  24. package/dist/models/DescribeNetworkPackagesRequest.js +27 -1
  25. package/dist/models/DescribeNetworkPackagesRequest.js.map +1 -1
  26. package/dist/models/DescribeNetworkPackagesResponseBody.d.ts +36 -98
  27. package/dist/models/DescribeNetworkPackagesResponseBody.js +27 -1
  28. package/dist/models/DescribeNetworkPackagesResponseBody.js.map +1 -1
  29. package/dist/models/DescribeTemplatesRequest.d.ts +11 -11
  30. package/dist/models/DescribeTemplatesResponseBody.d.ts +45 -45
  31. package/dist/models/ListTagResourcesRequest.d.ts +7 -11
  32. package/dist/models/ListTagResourcesRequest.js.map +1 -1
  33. package/dist/models/ListTagResourcesResponseBody.d.ts +5 -9
  34. package/dist/models/ListTagResourcesResponseBody.js.map +1 -1
  35. package/dist/models/ModifyAutoSnapshotPolicyRequest.d.ts +11 -4
  36. package/dist/models/ModifyAutoSnapshotPolicyRequest.js.map +1 -1
  37. package/dist/models/SetDirectorySsoStatusRequest.d.ts +4 -6
  38. package/dist/models/SetDirectorySsoStatusRequest.js.map +1 -1
  39. package/dist/models/TagResourcesRequest.d.ts +6 -10
  40. package/dist/models/TagResourcesRequest.js.map +1 -1
  41. package/dist/models/UntagResourcesRequest.d.ts +2 -6
  42. package/dist/models/UntagResourcesRequest.js.map +1 -1
  43. package/dist/models/model.d.ts +3 -4
  44. package/dist/models/model.js +37 -39
  45. package/dist/models/model.js.map +1 -1
  46. package/package.json +1 -1
  47. package/src/client.ts +108 -150
  48. package/src/models/CreateAndBindNasFileSystemRequest.ts +7 -19
  49. package/src/models/CreateDesktopsRequest.ts +110 -128
  50. package/src/models/CreateDesktopsResponseBody.ts +2 -3
  51. package/src/models/CreateDesktopsShrinkRequest.ts +93 -99
  52. package/src/models/CreateNetworkPackageRequest.ts +49 -25
  53. package/src/models/CreateNetworkPackageResponseBody.ts +3 -3
  54. package/src/models/DescribeCenterPolicyListRequest.ts +5 -4
  55. package/src/models/DescribeCenterPolicyListResponseBody.ts +95 -84
  56. package/src/models/DescribeNetworkPackagesRequest.ts +39 -14
  57. package/src/models/DescribeNetworkPackagesResponseBody.ts +53 -98
  58. package/src/models/DescribeTemplatesRequest.ts +11 -11
  59. package/src/models/DescribeTemplatesResponseBody.ts +45 -45
  60. package/src/models/ListTagResourcesRequest.ts +7 -11
  61. package/src/models/ListTagResourcesResponseBody.ts +5 -9
  62. package/src/models/ModifyAutoSnapshotPolicyRequest.ts +11 -4
  63. package/src/models/SetDirectorySsoStatusRequest.ts +4 -6
  64. package/src/models/TagResourcesRequest.ts +6 -10
  65. package/src/models/UntagResourcesRequest.ts +2 -6
  66. package/src/models/model.ts +3 -4
  67. package/dist/models/DescribeFlowStatisticRequest.d.ts +0 -76
  68. package/dist/models/DescribeFlowStatisticRequest.js +0 -68
  69. package/dist/models/DescribeFlowStatisticRequest.js.map +0 -1
  70. package/dist/models/DescribeFlowStatisticResponse.d.ts +0 -19
  71. package/dist/models/DescribeFlowStatisticResponse.js +0 -69
  72. package/dist/models/DescribeFlowStatisticResponse.js.map +0 -1
  73. package/dist/models/DescribeFlowStatisticResponseBody.d.ts +0 -78
  74. package/dist/models/DescribeFlowStatisticResponseBody.js +0 -90
  75. package/dist/models/DescribeFlowStatisticResponseBody.js.map +0 -1
  76. package/src/models/DescribeFlowStatisticRequest.ts +0 -99
  77. package/src/models/DescribeFlowStatisticResponse.ts +0 -40
  78. package/src/models/DescribeFlowStatisticResponseBody.ts +0 -114
@@ -5,14 +5,13 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class CreateDesktopsResponseBody extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * An array of cloud desktop IDs. An ID is returned for each cloud desktop created in the call.
8
+ * The list of cloud desktop IDs. If multiple cloud desktops are created in a single call, multiple cloud desktop IDs are returned.
9
9
  */
10
10
  desktopId?: string[];
11
11
  /**
12
12
  * @remarks
13
13
  * The order ID.
14
- *
15
- * > This parameter is returned only when the `ChargeType` request parameter is set to `PrePaid`.
14
+ * > This parameter is returned only when the request parameter ChargeType is set to PrePaid.
16
15
  *
17
16
  * @example
18
17
  * 123456789
@@ -13,7 +13,7 @@ export class CreateDesktopsShrinkRequestBundleModels extends $dara.Model {
13
13
  amount?: number;
14
14
  /**
15
15
  * @remarks
16
- * The bundle ID.
16
+ * The cloud desktop template ID.
17
17
  *
18
18
  * @example
19
19
  * b-je9hani001wfn****
@@ -21,13 +21,11 @@ export class CreateDesktopsShrinkRequestBundleModels extends $dara.Model {
21
21
  bundleId?: string;
22
22
  /**
23
23
  * @remarks
24
- * The name of the cloud desktop. The name must meet the following requirements:
24
+ * The cloud desktop name. The naming rules are as follows:
25
25
  *
26
- * - The name must be 1 to 64 characters in length.
27
- *
28
- * - The name must start with a letter or a Chinese character. It cannot start with `http://` or `https://`.
29
- *
30
- * - The name can contain letters, digits, colons (:), underscores (_), periods (.), and hyphens (-).
26
+ * - The name can be up to 64 characters in length.
27
+ * - The name must start with a letter or a Chinese character and cannot start with `http://` or `https://`.
28
+ * - The name can contain Chinese characters, letters, digits, colons (:), underscores (_), periods (.), or hyphens (-).
31
29
  *
32
30
  * @example
33
31
  * DemoComputer02
@@ -35,25 +33,22 @@ export class CreateDesktopsShrinkRequestBundleModels extends $dara.Model {
35
33
  desktopName?: string;
36
34
  /**
37
35
  * @remarks
38
- * The list of end user IDs to whom the cloud desktops are assigned.
36
+ * The list of users to whom the cloud desktops are assigned.
39
37
  */
40
38
  endUserIds?: string[];
41
39
  /**
42
40
  * @remarks
43
- * The custom hostname of the cloud desktop. This parameter is supported only for Windows cloud desktops that are in an AD office network.
41
+ * The custom hostname of the cloud desktop. Settings for this parameter are supported only for cloud desktops that run the Windows operating system in an AD office network.
44
42
  *
45
- * The hostname must meet the following requirements:
43
+ * The naming rules for the hostname are as follows:
46
44
  *
47
45
  * - The hostname must be 2 to 15 characters in length.
46
+ * - The hostname can contain uppercase letters, lowercase letters, digits, or hyphens (-). It cannot start or end with a hyphen, contain consecutive hyphens, or consist of only digits.
48
47
  *
49
- * - The hostname can contain letters, digits, and hyphens (-). The hostname cannot start or end with a hyphen, contain consecutive hyphens, or consist of only digits.
50
- *
51
- * If you create multiple cloud desktops, you can use the `name_prefix[begin_number,bits]name_suffix` format to specify sequential hostnames for the cloud desktops. For example, if you set the `Hostname` parameter to `ecd-[1,4]-test`, the hostname of the first cloud desktop is `ecd-0001-test`, the second is `ecd-0002-test`, and so on.
48
+ * When you create multiple cloud desktops, you can use the `name_prefix[begin_number,bits]name_suffix` format to uniformly name the cloud desktops. For example, if you set Hostname to ecd-[1,4]-test, the hostname of the first cloud desktop is ecd-0001-test, the hostname of the second cloud desktop is ecd-0002-test, and so on.
52
49
  *
53
50
  * - `name_prefix`: the prefix of the hostname.
54
- *
55
- * - `[begin_number,bits]`: The sequential part of the hostname.
56
- *
51
+ * - `[begin_number,bits]`: the sequential number in the hostname. `begin_number` is the starting number. Valid values: 0 to 999999. Default value: 0. `bits` is the number of digits. Valid values: 1 to 6. Default value: 6.
57
52
  * - `name_suffix`: the suffix of the hostname.
58
53
  *
59
54
  * @example
@@ -62,7 +57,7 @@ export class CreateDesktopsShrinkRequestBundleModels extends $dara.Model {
62
57
  hostname?: string;
63
58
  /**
64
59
  * @remarks
65
- * Specifies whether to enable disk encryption.
60
+ * Specifies whether to enable cloud disk encryption.
66
61
  *
67
62
  * @example
68
63
  * false
@@ -70,7 +65,7 @@ export class CreateDesktopsShrinkRequestBundleModels extends $dara.Model {
70
65
  volumeEncryptionEnabled?: boolean;
71
66
  /**
72
67
  * @remarks
73
- * The ID of the KMS key to use for disk encryption. You can call the [ListKeys](https://help.aliyun.com/document_detail/28951.html) operation to obtain a list of key IDs.
68
+ * The ID of the Key Management Service (KMS) key used for cloud disk encryption. You can call [ListKeys](https://help.aliyun.com/document_detail/28951.html) to obtain the key ID.
74
69
  *
75
70
  * @example
76
71
  * 08c33a6f-4e0a-4a1b-a3fa-7ddfa1d4****
@@ -115,7 +110,7 @@ export class CreateDesktopsShrinkRequestBundleModels extends $dara.Model {
115
110
  export class CreateDesktopsShrinkRequestDesktopTimers extends $dara.Model {
116
111
  /**
117
112
  * @remarks
118
- * Specifies whether to allow end users to configure the scheduled task.
113
+ * Specifies whether to allow end users to configure scheduled tasks.
119
114
  *
120
115
  * @example
121
116
  * true
@@ -123,11 +118,9 @@ export class CreateDesktopsShrinkRequestDesktopTimers extends $dara.Model {
123
118
  allowClientSetting?: boolean;
124
119
  /**
125
120
  * @remarks
126
- * The cron expression for the scheduled task.
127
- *
128
- * >Notice:
121
+ * The cron expression of the scheduled task.
129
122
  *
130
- * The cron expression is evaluated in UTC. For example, to specify 00:00 (UTC+8) every day, set the value to `0 0 16 ? * 1,2,3,4,5,6,7`.
123
+ * >Notice: Specify the time in UTC. For example, to schedule a task at 00:00 (UTC+8) every day, set the value to 0 0 16 ? * 1,2,3,4,5,6,7.</notice>
131
124
  *
132
125
  * @example
133
126
  * 0 40 7 ? * 1,2,3,4,5,6,7
@@ -135,7 +128,7 @@ export class CreateDesktopsShrinkRequestDesktopTimers extends $dara.Model {
135
128
  cronExpression?: string;
136
129
  /**
137
130
  * @remarks
138
- * Specifies whether to forcibly execute the scheduled task.
131
+ * Specifies whether to forcefully execute the task.
139
132
  *
140
133
  * @example
141
134
  * true
@@ -143,7 +136,7 @@ export class CreateDesktopsShrinkRequestDesktopTimers extends $dara.Model {
143
136
  enforce?: boolean;
144
137
  /**
145
138
  * @remarks
146
- * The interval in minutes.
139
+ * The time interval, in minutes.
147
140
  *
148
141
  * @example
149
142
  * 10
@@ -151,7 +144,7 @@ export class CreateDesktopsShrinkRequestDesktopTimers extends $dara.Model {
151
144
  interval?: number;
152
145
  /**
153
146
  * @remarks
154
- * The operation to perform for the scheduled task. This parameter is valid only for scheduled tasks that are triggered by user disconnection.
147
+ * The operation type of the scheduled task. Currently, only the disconnection scheduled task is supported.
155
148
  *
156
149
  * @example
157
150
  * Shutdown
@@ -159,7 +152,7 @@ export class CreateDesktopsShrinkRequestDesktopTimers extends $dara.Model {
159
152
  operationType?: string;
160
153
  /**
161
154
  * @remarks
162
- * The disk reset type.
155
+ * The reset type of the cloud desktop.
163
156
  *
164
157
  * @example
165
158
  * RESET_TYPE_SYSTEM
@@ -209,7 +202,7 @@ export class CreateDesktopsShrinkRequestDesktopTimers extends $dara.Model {
209
202
  export class CreateDesktopsShrinkRequestMonthDesktopSetting extends $dara.Model {
210
203
  /**
211
204
  * @remarks
212
- * > This parameter is for internal use only.
205
+ * > This field is not available for use.
213
206
  *
214
207
  * @example
215
208
  * null
@@ -217,7 +210,7 @@ export class CreateDesktopsShrinkRequestMonthDesktopSetting extends $dara.Model
217
210
  buyerId?: number;
218
211
  /**
219
212
  * @remarks
220
- * > This parameter is for internal use only.
213
+ * > This field is not available for use.
221
214
  *
222
215
  * @example
223
216
  * null
@@ -225,7 +218,7 @@ export class CreateDesktopsShrinkRequestMonthDesktopSetting extends $dara.Model
225
218
  desktopId?: string;
226
219
  /**
227
220
  * @remarks
228
- * The duration in hours for the monthly usage package. Valid values: 120, 250, and 360.
221
+ * The package option when purchasing a monthly hourly package. Valid values: 120, 250, and 360.
229
222
  *
230
223
  * @example
231
224
  * null
@@ -259,7 +252,7 @@ export class CreateDesktopsShrinkRequestMonthDesktopSetting extends $dara.Model
259
252
  export class CreateDesktopsShrinkRequestTag extends $dara.Model {
260
253
  /**
261
254
  * @remarks
262
- * The key of the tag.
255
+ * The tag key. You can specify 1 to 20 tag keys.
263
256
  *
264
257
  * @example
265
258
  * TestKey
@@ -267,7 +260,7 @@ export class CreateDesktopsShrinkRequestTag extends $dara.Model {
267
260
  key?: string;
268
261
  /**
269
262
  * @remarks
270
- * The value of the tag.
263
+ * The tag value. You can specify 1 to 20 tag values.
271
264
  *
272
265
  * @example
273
266
  * TestValue
@@ -299,7 +292,7 @@ export class CreateDesktopsShrinkRequestTag extends $dara.Model {
299
292
  export class CreateDesktopsShrinkRequestUserCommands extends $dara.Model {
300
293
  /**
301
294
  * @remarks
302
- * The content of the script.
295
+ * The command content.
303
296
  *
304
297
  * @example
305
298
  * bmV3LWl0ZW0gZDpcdGVzdF91c2VyX2NvbW1hbmRzLnR4dCAtdHlwZSBm****
@@ -307,7 +300,7 @@ export class CreateDesktopsShrinkRequestUserCommands extends $dara.Model {
307
300
  content?: string;
308
301
  /**
309
302
  * @remarks
310
- * The encoding format of the script content specified in the `Content` parameter.
303
+ * The encoding method of the command content (CommandContent).
311
304
  *
312
305
  * @example
313
306
  * Base64
@@ -315,7 +308,7 @@ export class CreateDesktopsShrinkRequestUserCommands extends $dara.Model {
315
308
  contentEncoding?: string;
316
309
  /**
317
310
  * @remarks
318
- * The script type.
311
+ * The language type of the command.
319
312
  *
320
313
  * @example
321
314
  * RunPowerShellScript
@@ -357,7 +350,7 @@ export class CreateDesktopsShrinkRequest extends $dara.Model {
357
350
  amount?: number;
358
351
  /**
359
352
  * @remarks
360
- * The ID of the application control policy.
353
+ * The application control policy ID.
361
354
  *
362
355
  * @example
363
356
  * bwr-245d4e0e6b7d42f5afa97eb3fbc7e488
@@ -373,7 +366,7 @@ export class CreateDesktopsShrinkRequest extends $dara.Model {
373
366
  autoPay?: boolean;
374
367
  /**
375
368
  * @remarks
376
- * Specifies whether to enable auto-renewal for the cloud desktops. This parameter is valid only when `ChargeType` is set to `PrePaid`.
369
+ * Specifies whether to enable auto-renewal. This parameter takes effect only when `ChargeType` is set to `PrePaid`.
377
370
  *
378
371
  * @example
379
372
  * false
@@ -381,7 +374,7 @@ export class CreateDesktopsShrinkRequest extends $dara.Model {
381
374
  autoRenew?: boolean;
382
375
  /**
383
376
  * @remarks
384
- * The bundle ID. If you do not specify this parameter, you must use the `DesktopAttachment` parameter to configure the cloud desktop.
377
+ * The cloud desktop template ID. If no template ID is specified, you can create a cloud desktop by specifying the required fields.
385
378
  *
386
379
  * @example
387
380
  * b-je9hani001wfn****
@@ -389,7 +382,7 @@ export class CreateDesktopsShrinkRequest extends $dara.Model {
389
382
  bundleId?: string;
390
383
  /**
391
384
  * @remarks
392
- * An array of bundle objects. Use this parameter to create cloud desktops from one or more bundles in a single call.
385
+ * The list of cloud desktop templates.
393
386
  *
394
387
  * **if can be null:**
395
388
  * true
@@ -397,7 +390,7 @@ export class CreateDesktopsShrinkRequest extends $dara.Model {
397
390
  bundleModels?: CreateDesktopsShrinkRequestBundleModels[];
398
391
  /**
399
392
  * @remarks
400
- * > This parameter is for internal use only.
393
+ * > This field is not available for use.
401
394
  *
402
395
  * @example
403
396
  * PBKB1QbqEl2tslEuU6gRrLxvCFBU2M%2FVD0Eru6Oo%2FI9LTU3XQhvq3PGMWarE%2BPJdkNvCqT3blqlRSthNy4A%2BJQ%3D%3D
@@ -405,7 +398,7 @@ export class CreateDesktopsShrinkRequest extends $dara.Model {
405
398
  channelCookie?: string;
406
399
  /**
407
400
  * @remarks
408
- * The billing method of the cloud desktops.
401
+ * The billing method of the cloud desktop.
409
402
  *
410
403
  * @example
411
404
  * PrePaid
@@ -413,7 +406,7 @@ export class CreateDesktopsShrinkRequest extends $dara.Model {
413
406
  chargeType?: string;
414
407
  /**
415
408
  * @remarks
416
- * The parameters for creating a cloud desktop without a bundle. This parameter is used only if `BundleId` is not specified.
409
+ * The parameters for creating a cloud desktop without a template. This parameter is invalid when the BundleId parameter is specified.
417
410
  */
418
411
  desktopAttachmentShrink?: string;
419
412
  /**
@@ -426,13 +419,11 @@ export class CreateDesktopsShrinkRequest extends $dara.Model {
426
419
  desktopMemberIp?: string;
427
420
  /**
428
421
  * @remarks
429
- * The name of the cloud desktop. The name must meet the following requirements:
422
+ * The cloud desktop name. The naming rules are as follows:
430
423
  *
431
- * - The name must be 1 to 64 characters in length.
432
- *
433
- * - The name must start with a letter or a Chinese character. It cannot start with `http://` or `https://`.
434
- *
435
- * - The name can contain letters, digits, colons (:), underscores (_), periods (.), and hyphens (-).
424
+ * - The name can be up to 64 characters in length.
425
+ * - The name must start with a letter or a Chinese character and cannot start with `http://` or `https://`.
426
+ * - The name can contain Chinese characters, letters, digits, colons (:), underscores (_), periods (.), or hyphens (-).
436
427
  *
437
428
  * @example
438
429
  * DemoComputer01
@@ -440,7 +431,7 @@ export class CreateDesktopsShrinkRequest extends $dara.Model {
440
431
  desktopName?: string;
441
432
  /**
442
433
  * @remarks
443
- * Specifies whether to automatically append a suffix to the value of `DesktopName` when you create multiple cloud desktops.
434
+ * Specifies whether to automatically append a suffix to the cloud desktop name when you create multiple cloud desktops in a batch.
444
435
  *
445
436
  * @example
446
437
  * false
@@ -448,7 +439,7 @@ export class CreateDesktopsShrinkRequest extends $dara.Model {
448
439
  desktopNameSuffix?: boolean;
449
440
  /**
450
441
  * @remarks
451
- * The details of the scheduled tasks for the cloud desktops. This parameter is being deprecated. We recommend that you use `TimerGroupId` instead.
442
+ * The scheduled task details of the cloud desktop. This parameter is being deprecated. Use the TimerGroupId parameter instead.
452
443
  *
453
444
  * **if can be null:**
454
445
  * true
@@ -456,7 +447,7 @@ export class CreateDesktopsShrinkRequest extends $dara.Model {
456
447
  desktopTimers?: CreateDesktopsShrinkRequestDesktopTimers[];
457
448
  /**
458
449
  * @remarks
459
- * > This parameter is for internal use only.
450
+ * > This parameter is not available for use.
460
451
  *
461
452
  * @example
462
453
  * cn-hangzhou+dir-300943****
@@ -464,7 +455,7 @@ export class CreateDesktopsShrinkRequest extends $dara.Model {
464
455
  directoryId?: string;
465
456
  /**
466
457
  * @remarks
467
- * The IDs of the end users to assign to the cloud desktops. You can specify up to 100 IDs.
458
+ * The list of authorized user IDs to add to the cloud desktops. You can specify 1 to 100 user IDs.
468
459
  *
469
460
  * @example
470
461
  * 123456789
@@ -472,7 +463,7 @@ export class CreateDesktopsShrinkRequest extends $dara.Model {
472
463
  endUserId?: string[];
473
464
  /**
474
465
  * @remarks
475
- * The extended information in a JSON string. This parameter is for internal use only.
466
+ * The extended information in JSON string format. This parameter is available only for internal customers.
476
467
  *
477
468
  * @example
478
469
  * {}
@@ -480,7 +471,7 @@ export class CreateDesktopsShrinkRequest extends $dara.Model {
480
471
  extendInfo?: string;
481
472
  /**
482
473
  * @remarks
483
- * The ID of the desktop pool.
474
+ * The cloud desktop pool ID.
484
475
  *
485
476
  * @example
486
477
  * dg-boyczi8enfyc5****
@@ -488,20 +479,17 @@ export class CreateDesktopsShrinkRequest extends $dara.Model {
488
479
  groupId?: string;
489
480
  /**
490
481
  * @remarks
491
- * The custom hostname of the cloud desktop. This parameter is supported only for Windows cloud desktops that are in an AD office network.
482
+ * The custom hostname of the cloud desktop. Settings for this parameter are supported only for cloud desktops that run the Windows operating system in an AD office network.
492
483
  *
493
- * The hostname must meet the following requirements:
484
+ * The naming rules for the hostname are as follows:
494
485
  *
495
486
  * - The hostname must be 2 to 15 characters in length.
487
+ * - The hostname can contain uppercase letters, lowercase letters, digits, or hyphens (-). It cannot start or end with a hyphen, contain consecutive hyphens, or consist of only digits.
496
488
  *
497
- * - The hostname can contain letters, digits, and hyphens (-). The hostname cannot start or end with a hyphen, contain consecutive hyphens, or consist of only digits.
498
- *
499
- * If you create multiple cloud desktops, you can use the `name_prefix[begin_number,bits]name_suffix` format to specify sequential hostnames for the cloud desktops. For example, if you set the `Hostname` parameter to `ecd-[1,4]-test`, the hostname of the first cloud desktop is `ecd-0001-test`, the second is `ecd-0002-test`, and so on.
489
+ * When you create multiple cloud desktops, you can use the `name_prefix[begin_number,bits]name_suffix` format to uniformly name the cloud desktops. For example, if you set Hostname to ecd-[1,4]-test, the hostname of the first cloud desktop is ecd-0001-test, the hostname of the second cloud desktop is ecd-0002-test, and so on.
500
490
  *
501
491
  * - `name_prefix`: the prefix of the hostname.
502
- *
503
- * - `[begin_number,bits]`: The sequential part of the hostname.
504
- *
492
+ * - `[begin_number,bits]`: the sequential number in the hostname. `begin_number` is the starting number. Valid values: 0 to 999999. Default value: 0. `bits` is the number of digits. Valid values: 1 to 6. Default value: 6.
505
493
  * - `name_suffix`: the suffix of the hostname.
506
494
  *
507
495
  * @example
@@ -510,12 +498,12 @@ export class CreateDesktopsShrinkRequest extends $dara.Model {
510
498
  hostname?: string;
511
499
  /**
512
500
  * @remarks
513
- * The parameters for purchasing a monthly usage package.
501
+ * The purchase parameters for the monthly hourly package.
514
502
  */
515
503
  monthDesktopSetting?: CreateDesktopsShrinkRequestMonthDesktopSetting;
516
504
  /**
517
505
  * @remarks
518
- * The ID of the office network.
506
+ * The office network ID.
519
507
  *
520
508
  * @example
521
509
  * cn-hangzhou+dir-387822****
@@ -523,29 +511,30 @@ export class CreateDesktopsShrinkRequest extends $dara.Model {
523
511
  officeSiteId?: string;
524
512
  /**
525
513
  * @remarks
526
- * The subscription duration. The unit is specified by the `PeriodUnit` parameter. This parameter is required only when `ChargeType` is set to `PrePaid`.
514
+ * The OU path. If specified, the cloud desktop is added to the corresponding organizational unit (OU) in Active Directory (AD).
527
515
  *
528
- * - If `PeriodUnit` is set to `Month`, valid values are:
529
- *
530
- * - 1
531
- *
532
- * - 2
533
- *
534
- * - 3
535
- *
536
- * - 6
537
- *
538
- * - If `PeriodUnit` is set to `Year`, valid values are:
539
- *
540
- * - 1
516
+ * @example
517
+ * test.com/wuyingtest/computers
518
+ */
519
+ ouPath?: string;
520
+ /**
521
+ * @remarks
522
+ * The subscription duration of the resource. The unit is specified by `PeriodUnit`. This parameter takes effect and is required only when `ChargeType` is set to `PrePaid`.
541
523
  *
542
- * - 2
524
+ * - If `PeriodUnit` is set to `Month`, valid values of this parameter:
543
525
  *
544
- * - 3
526
+ * - 1
527
+ * - 2
528
+ * - 3
529
+ * - 6
545
530
  *
546
- * - 4
531
+ * - If `PeriodUnit` is set to `Year`, valid values of this parameter:
547
532
  *
548
- * - 5
533
+ * - 1
534
+ * - 2
535
+ * - 3
536
+ * - 4
537
+ * - 5
549
538
  *
550
539
  * @example
551
540
  * 1
@@ -561,7 +550,7 @@ export class CreateDesktopsShrinkRequest extends $dara.Model {
561
550
  periodUnit?: string;
562
551
  /**
563
552
  * @remarks
564
- * The ID of the policy.
553
+ * The policy ID.
565
554
  *
566
555
  * @example
567
556
  * system-all-enabled-policy
@@ -582,7 +571,7 @@ export class CreateDesktopsShrinkRequest extends $dara.Model {
582
571
  purchaseOptionsShrink?: string;
583
572
  /**
584
573
  * @remarks
585
- * The ID of the bandwidth QoS policy.
574
+ * The public network rate limiting rule ID.
586
575
  *
587
576
  * @example
588
577
  * qos-52fqmg6kvyro7zu4l
@@ -590,7 +579,7 @@ export class CreateDesktopsShrinkRequest extends $dara.Model {
590
579
  qosRuleId?: string;
591
580
  /**
592
581
  * @remarks
593
- * The region ID. You can call the [DescribeRegions](https://help.aliyun.com/document_detail/196646.html) operation to query the regions that support Elastic Desktop Service.
582
+ * The region ID. You can call [DescribeRegions](https://help.aliyun.com/document_detail/196646.html) to query the regions supported by WUYING Workspace.
594
583
  *
595
584
  * This parameter is required.
596
585
  *
@@ -600,7 +589,7 @@ export class CreateDesktopsShrinkRequest extends $dara.Model {
600
589
  regionId?: string;
601
590
  /**
602
591
  * @remarks
603
- * The UID of the resource owner in reseller mode. This parameter is required only in reseller mode.
592
+ * The user ID for resource ownership in reseller pattern. This parameter is not required in non-reseller pattern.
604
593
  *
605
594
  * @example
606
595
  * 1828644634819902
@@ -608,7 +597,7 @@ export class CreateDesktopsShrinkRequest extends $dara.Model {
608
597
  resellerOwnerUid?: number;
609
598
  /**
610
599
  * @remarks
611
- * The ID of the resource group.
600
+ * The WUYING resource group ID.
612
601
  *
613
602
  * @example
614
603
  * rg-3mtuc28rx95lx****
@@ -616,7 +605,7 @@ export class CreateDesktopsShrinkRequest extends $dara.Model {
616
605
  resourceGroupId?: string;
617
606
  /**
618
607
  * @remarks
619
- * > This parameter is for internal use only.
608
+ * > This field is not available for use.
620
609
  *
621
610
  * @example
622
611
  * spn-26c1b7bcrjcI****
@@ -624,15 +613,16 @@ export class CreateDesktopsShrinkRequest extends $dara.Model {
624
613
  savingPlanId?: string;
625
614
  /**
626
615
  * @remarks
627
- * The ID of the automatic snapshot policy.
616
+ * The WUYING automatic snapshot policy ID.
628
617
  *
629
618
  * @example
630
619
  * sp-28mp6my0l6zow****
631
620
  */
632
621
  snapshotPolicyId?: string;
622
+ subPayType?: string;
633
623
  /**
634
624
  * @remarks
635
- * The ID of the vSwitch.
625
+ * The subnet ID.
636
626
  *
637
627
  * @example
638
628
  * vsw-bp1m*****
@@ -640,12 +630,12 @@ export class CreateDesktopsShrinkRequest extends $dara.Model {
640
630
  subnetId?: string;
641
631
  /**
642
632
  * @remarks
643
- * The tags to add to the cloud desktops. A resource can have up to 20 tags.
633
+ * The tags.
644
634
  */
645
635
  tag?: CreateDesktopsShrinkRequestTag[];
646
636
  /**
647
637
  * @remarks
648
- * The ID of the scheduled task group.
638
+ * The scheduled task group ID.
649
639
  *
650
640
  * @example
651
641
  * ccg-0caoeogrk9m5****
@@ -653,9 +643,9 @@ export class CreateDesktopsShrinkRequest extends $dara.Model {
653
643
  timerGroupId?: string;
654
644
  /**
655
645
  * @remarks
656
- * The user assignment mode for the cloud desktops.
646
+ * The cloud desktop assignment mode.
657
647
  *
658
- * > If you do not specify the `EndUserId` parameter, the created cloud desktops are unassigned.
648
+ * > If `EndUserId` is not specified, the created cloud desktops are not assigned to any user.
659
649
  *
660
650
  * @example
661
651
  * ALL
@@ -663,12 +653,12 @@ export class CreateDesktopsShrinkRequest extends $dara.Model {
663
653
  userAssignMode?: string;
664
654
  /**
665
655
  * @remarks
666
- * The custom scripts to run on the cloud desktops after they start.
656
+ * The custom command script data.
667
657
  */
668
658
  userCommands?: CreateDesktopsShrinkRequestUserCommands[];
669
659
  /**
670
660
  * @remarks
671
- * > This parameter is for internal use only.
661
+ * > This parameter is not available for use.
672
662
  *
673
663
  * @example
674
664
  * username
@@ -676,7 +666,7 @@ export class CreateDesktopsShrinkRequest extends $dara.Model {
676
666
  userName?: string;
677
667
  /**
678
668
  * @remarks
679
- * Specifies whether to enable disk encryption.
669
+ * Specifies whether to enable cloud disk encryption.
680
670
  *
681
671
  * @example
682
672
  * false
@@ -684,7 +674,7 @@ export class CreateDesktopsShrinkRequest extends $dara.Model {
684
674
  volumeEncryptionEnabled?: boolean;
685
675
  /**
686
676
  * @remarks
687
- * The ID of the KMS key to use for disk encryption. You can call the [ListKeys](https://help.aliyun.com/document_detail/28951.html) operation to obtain a list of key IDs.
677
+ * The ID of the Key Management Service (KMS) key used for cloud disk encryption. You can call [ListKeys](https://help.aliyun.com/document_detail/28951.html) to obtain the key ID.
688
678
  *
689
679
  * @example
690
680
  * 08c33a6f-4e0a-4a1b-a3fa-7ddfa1d4****
@@ -692,7 +682,7 @@ export class CreateDesktopsShrinkRequest extends $dara.Model {
692
682
  volumeEncryptionKey?: string;
693
683
  /**
694
684
  * @remarks
695
- * > This parameter is for internal use only.
685
+ * > This parameter is not available for use.
696
686
  *
697
687
  * @example
698
688
  * vpc-uf6w8u60n8xbkg5el****
@@ -720,6 +710,7 @@ export class CreateDesktopsShrinkRequest extends $dara.Model {
720
710
  hostname: 'Hostname',
721
711
  monthDesktopSetting: 'MonthDesktopSetting',
722
712
  officeSiteId: 'OfficeSiteId',
713
+ ouPath: 'OuPath',
723
714
  period: 'Period',
724
715
  periodUnit: 'PeriodUnit',
725
716
  policyGroupId: 'PolicyGroupId',
@@ -731,6 +722,7 @@ export class CreateDesktopsShrinkRequest extends $dara.Model {
731
722
  resourceGroupId: 'ResourceGroupId',
732
723
  savingPlanId: 'SavingPlanId',
733
724
  snapshotPolicyId: 'SnapshotPolicyId',
725
+ subPayType: 'SubPayType',
734
726
  subnetId: 'SubnetId',
735
727
  tag: 'Tag',
736
728
  timerGroupId: 'TimerGroupId',
@@ -765,6 +757,7 @@ export class CreateDesktopsShrinkRequest extends $dara.Model {
765
757
  hostname: 'string',
766
758
  monthDesktopSetting: CreateDesktopsShrinkRequestMonthDesktopSetting,
767
759
  officeSiteId: 'string',
760
+ ouPath: 'string',
768
761
  period: 'number',
769
762
  periodUnit: 'string',
770
763
  policyGroupId: 'string',
@@ -776,6 +769,7 @@ export class CreateDesktopsShrinkRequest extends $dara.Model {
776
769
  resourceGroupId: 'string',
777
770
  savingPlanId: 'string',
778
771
  snapshotPolicyId: 'string',
772
+ subPayType: 'string',
779
773
  subnetId: 'string',
780
774
  tag: { 'type': 'array', 'itemType': CreateDesktopsShrinkRequestTag },
781
775
  timerGroupId: 'string',