@alicloud/ecd20200930 5.7.0 → 5.8.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 (84) hide show
  1. package/dist/client.d.ts +67 -16
  2. package/dist/client.js +187 -16
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CreateDesktopGroupRequest.d.ts +34 -34
  5. package/dist/models/CreateDriveRequest.d.ts +8 -0
  6. package/dist/models/CreateDriveRequest.js +5 -0
  7. package/dist/models/CreateDriveRequest.js.map +1 -1
  8. package/dist/models/CreateDriveResponseBody.d.ts +1 -1
  9. package/dist/models/DeleteCloudDriveServicesRequest.d.ts +1 -1
  10. package/dist/models/DeleteDriveRequest.d.ts +24 -0
  11. package/dist/models/DeleteDriveRequest.js +6 -0
  12. package/dist/models/DeleteDriveRequest.js.map +1 -1
  13. package/dist/models/DescribeDesktopIdsByVulNamesRequest.d.ts +64 -0
  14. package/dist/models/DescribeDesktopIdsByVulNamesRequest.js +69 -0
  15. package/dist/models/DescribeDesktopIdsByVulNamesRequest.js.map +1 -0
  16. package/dist/models/DescribeDesktopIdsByVulNamesResponse.d.ts +19 -0
  17. package/dist/models/DescribeDesktopIdsByVulNamesResponse.js +69 -0
  18. package/dist/models/DescribeDesktopIdsByVulNamesResponse.js.map +1 -0
  19. package/dist/models/DescribeDesktopIdsByVulNamesResponseBody.d.ts +54 -0
  20. package/dist/models/DescribeDesktopIdsByVulNamesResponseBody.js +84 -0
  21. package/dist/models/DescribeDesktopIdsByVulNamesResponseBody.js.map +1 -0
  22. package/dist/models/DescribeNasfileSystemsRequest.d.ts +5 -9
  23. package/dist/models/DescribeNasfileSystemsRequest.js.map +1 -1
  24. package/dist/models/DescribeNasfileSystemsResponseBody.d.ts +21 -23
  25. package/dist/models/DescribeNasfileSystemsResponseBody.js.map +1 -1
  26. package/dist/models/DescribeOfficeSitesRequest.d.ts +8 -11
  27. package/dist/models/DescribeOfficeSitesRequest.js.map +1 -1
  28. package/dist/models/DescribeOfficeSitesResponseBody.d.ts +69 -54
  29. package/dist/models/DescribeOfficeSitesResponseBody.js +4 -0
  30. package/dist/models/DescribeOfficeSitesResponseBody.js.map +1 -1
  31. package/dist/models/DescribeResourceStatisticByRegionRequest.d.ts +28 -0
  32. package/dist/models/DescribeResourceStatisticByRegionRequest.js +62 -0
  33. package/dist/models/DescribeResourceStatisticByRegionRequest.js.map +1 -0
  34. package/dist/models/DescribeResourceStatisticByRegionResponse.d.ts +19 -0
  35. package/dist/models/DescribeResourceStatisticByRegionResponse.js +69 -0
  36. package/dist/models/DescribeResourceStatisticByRegionResponse.js.map +1 -0
  37. package/dist/models/DescribeResourceStatisticByRegionResponseBody.d.ts +79 -0
  38. package/dist/models/DescribeResourceStatisticByRegionResponseBody.js +116 -0
  39. package/dist/models/DescribeResourceStatisticByRegionResponseBody.js.map +1 -0
  40. package/dist/models/DescribeSnapshotsResponseBody.d.ts +8 -0
  41. package/dist/models/DescribeSnapshotsResponseBody.js.map +1 -1
  42. package/dist/models/ImportDriveRequest.d.ts +69 -0
  43. package/dist/models/ImportDriveRequest.js +68 -0
  44. package/dist/models/ImportDriveRequest.js.map +1 -0
  45. package/dist/models/ImportDriveResponse.d.ts +19 -0
  46. package/dist/models/ImportDriveResponse.js +69 -0
  47. package/dist/models/ImportDriveResponse.js.map +1 -0
  48. package/dist/models/ImportDriveResponseBody.d.ts +55 -0
  49. package/dist/models/ImportDriveResponseBody.js +66 -0
  50. package/dist/models/ImportDriveResponseBody.js.map +1 -0
  51. package/dist/models/ModifyDesktopGroupRequest.d.ts +38 -38
  52. package/dist/models/ModifyOfficeSiteAttributeRequest.d.ts +20 -12
  53. package/dist/models/ModifyOfficeSiteAttributeRequest.js +2 -0
  54. package/dist/models/ModifyOfficeSiteAttributeRequest.js.map +1 -1
  55. package/dist/models/UntagResourcesRequest.d.ts +3 -9
  56. package/dist/models/UntagResourcesRequest.js.map +1 -1
  57. package/dist/models/model.d.ts +12 -0
  58. package/dist/models/model.js +49 -25
  59. package/dist/models/model.js.map +1 -1
  60. package/package.json +1 -1
  61. package/src/client.ts +212 -16
  62. package/src/models/CreateDesktopGroupRequest.ts +34 -34
  63. package/src/models/CreateDriveRequest.ts +13 -0
  64. package/src/models/CreateDriveResponseBody.ts +1 -1
  65. package/src/models/DeleteCloudDriveServicesRequest.ts +1 -1
  66. package/src/models/DeleteDriveRequest.ts +30 -0
  67. package/src/models/DescribeDesktopIdsByVulNamesRequest.ts +88 -0
  68. package/src/models/DescribeDesktopIdsByVulNamesResponse.ts +40 -0
  69. package/src/models/DescribeDesktopIdsByVulNamesResponseBody.ts +84 -0
  70. package/src/models/DescribeNasfileSystemsRequest.ts +6 -10
  71. package/src/models/DescribeNasfileSystemsResponseBody.ts +21 -23
  72. package/src/models/DescribeOfficeSitesRequest.ts +8 -11
  73. package/src/models/DescribeOfficeSitesResponseBody.ts +73 -54
  74. package/src/models/DescribeResourceStatisticByRegionRequest.ts +45 -0
  75. package/src/models/DescribeResourceStatisticByRegionResponse.ts +40 -0
  76. package/src/models/DescribeResourceStatisticByRegionResponseBody.ts +132 -0
  77. package/src/models/DescribeSnapshotsResponseBody.ts +8 -0
  78. package/src/models/ImportDriveRequest.ts +92 -0
  79. package/src/models/ImportDriveResponse.ts +40 -0
  80. package/src/models/ImportDriveResponseBody.ts +76 -0
  81. package/src/models/ModifyDesktopGroupRequest.ts +38 -38
  82. package/src/models/ModifyOfficeSiteAttributeRequest.ts +22 -12
  83. package/src/models/UntagResourcesRequest.ts +3 -9
  84. package/src/models/model.ts +12 -0
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class CreateDesktopGroupRequestTag extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The tag key. It cannot be an empty string. It can be up to 128 characters in length, and cannot start with aliyun or acs:, or contain http:// or https://.
8
+ * The tag key. The tag key cannot be an empty string. It can be up to 128 characters in length, and cannot start with `aliyun` or `acs:`, or contain `http://` or `https://`.
9
9
  *
10
10
  * This parameter is required.
11
11
  *
@@ -15,7 +15,7 @@ export class CreateDesktopGroupRequestTag extends $dara.Model {
15
15
  key?: string;
16
16
  /**
17
17
  * @remarks
18
- * The tag value. It can be an empty string. It can be up to 128 characters in length, and cannot start with acs:, or contain http:// or https://.
18
+ * The tag value. The tag value can be an empty string. It can be up to 128 characters in length, and cannot start with `acs:`, or contain `http://` or `https://`.
19
19
  *
20
20
  * This parameter is required.
21
21
  *
@@ -59,7 +59,7 @@ export class CreateDesktopGroupRequest extends $dara.Model {
59
59
  allClassifyUsers?: boolean;
60
60
  /**
61
61
  * @remarks
62
- * Specifies whether to allow automatic creation of cloud desktops in subscription shared cloud desktops. This parameter takes effect and is required only when the ChargeType parameter is set to PrePaid.
62
+ * Specifies whether to allow automatic creation of cloud desktops in subscription shared cloud desktops. This parameter takes effect and is required only when the `ChargeType` parameter is set to `PrePaid`.
63
63
  *
64
64
  * @example
65
65
  * 1
@@ -67,11 +67,11 @@ export class CreateDesktopGroupRequest extends $dara.Model {
67
67
  allowAutoSetup?: number;
68
68
  /**
69
69
  * @remarks
70
- * The number of reserved cloud desktops allowed in pay-as-you-go shared cloud desktops. This parameter takes effect and is required only when the ChargeType parameter is set to PostPaid. Valid values:
70
+ * The number of reserved cloud desktops allowed in pay-as-you-go shared cloud desktops. This parameter takes effect and is required only when the `ChargeType` parameter is set to `PostPaid`. Valid values:
71
71
  * - 0: No cloud desktops are reserved.
72
72
  * - N: N cloud desktops are reserved (1 ≤ N ≤ 100).
73
73
  *
74
- * > If no available cloud desktops are reserved, when an end user initiates a connection request, the system must create and start a cloud desktop before assigning it to the user, which takes a relatively long time. Reserve a certain number of cloud desktops as needed to ensure the user experience of end users.
74
+ * > If no available cloud desktops are reserved, when an end user initiates a connection request, the system must create and start a cloud desktop before assigning it to the user, which takes a relatively long time. We recommend that you reserve a certain number of cloud desktops as needed to ensure the user experience.
75
75
  *
76
76
  * @example
77
77
  * 1
@@ -87,7 +87,7 @@ export class CreateDesktopGroupRequest extends $dara.Model {
87
87
  autoPay?: boolean;
88
88
  /**
89
89
  * @remarks
90
- * Specifies whether to enable auto-renewal for the subscription shared cloud desktop.
90
+ * Specifies whether to enable auto-renewal for subscription shared cloud desktops.
91
91
  *
92
92
  * @example
93
93
  * false
@@ -114,7 +114,7 @@ export class CreateDesktopGroupRequest extends $dara.Model {
114
114
  /**
115
115
  * @remarks
116
116
  * - For subscription shared cloud desktops: the initial number of cloud desktops created. Valid values: 0 to 200.
117
- * - For pay-as-you-go shared cloud desktops: the minimum initial number of cloud desktops created. Default value: 1. Valid values: 0 to the value of MaxDesktopsCount.
117
+ * - For pay-as-you-go shared cloud desktops: the minimum initial number of cloud desktops created. Default value: 1. Valid values: 0 to the value of `MaxDesktopsCount`.
118
118
  *
119
119
  * @example
120
120
  * 3
@@ -142,7 +142,7 @@ export class CreateDesktopGroupRequest extends $dara.Model {
142
142
  classify?: string;
143
143
  /**
144
144
  * @remarks
145
- * The client token that is used to ensure the idempotence of the request. You can use the client to generate the value, but you must make sure that it is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length. For more information, see [How to ensure idempotence](https://help.aliyun.com/document_detail/25693.html).
145
+ * The client token that is used to ensure the idempotence of the request. You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length. For more information, see [How to ensure idempotence](https://help.aliyun.com/document_detail/25693.html).
146
146
  *
147
147
  * @example
148
148
  * 123e4567-e89b-12d3-a456-426655440000
@@ -187,16 +187,16 @@ export class CreateDesktopGroupRequest extends $dara.Model {
187
187
  * <props="china">
188
188
  * - A value of 0 indicates that no data cloud disk is mounted.
189
189
  *
190
- * - If the selected plan uses an ESSD cloud disk (performance level (PL) PL0), the minimum capacity of the mounted data cloud disk is 40 GB.
190
+ * - If the selected plan uses ESSD cloud disks (performance level (PL) PL0), the minimum capacity of the mounted data cloud disk is 40 GB.
191
191
  *
192
- * - If the selected plan uses a standard SSD, the minimum capacity of the mounted data cloud disk is 20 GB.
192
+ * - If the selected plan uses standard SSDs, the minimum capacity of the mounted data cloud disk is 20 GB.
193
193
  *
194
194
  *
195
195
  *
196
196
  * <props="intl">
197
197
  * - A value of 0 indicates that no data cloud disk is mounted.
198
198
  *
199
- * - If the selected plan uses a standard SSD, the minimum capacity of the mounted data cloud disk is 20 GB.
199
+ * - If the selected plan uses standard SSDs, the minimum capacity of the mounted data cloud disk is 20 GB.
200
200
  *
201
201
  *
202
202
  *
@@ -263,7 +263,7 @@ export class CreateDesktopGroupRequest extends $dara.Model {
263
263
  endUserIds?: string[];
264
264
  /**
265
265
  * @remarks
266
- * The static pool type. If you set the `SessionType` parameter to `MultipleSession`, you must specify this parameter and set the value to `Exclusive`.
266
+ * The pool type. To create a static pool, set this parameter to `Exclusive`. If the `SessionType` parameter is set to `MultipleSession`, you must specify this parameter and set the value to `Exclusive`.
267
267
  *
268
268
  * @example
269
269
  * Exclusive
@@ -281,7 +281,7 @@ export class CreateDesktopGroupRequest extends $dara.Model {
281
281
  fileSystemId?: string;
282
282
  /**
283
283
  * @remarks
284
- * The number of single-instance shared cloud desktops to create. You need to specify this parameter only when the `MultiResource` parameter is set to `false`. Valid values: 1 to 5. Default value: 1.
284
+ * The number of single-user shared cloud desktops to create. This parameter is required only when the `MultiResource` parameter is set to `false`. Valid values: 1 to 5. Default value: 1.
285
285
  *
286
286
  * @example
287
287
  * 1
@@ -297,18 +297,18 @@ export class CreateDesktopGroupRequest extends $dara.Model {
297
297
  groupVersion?: number;
298
298
  /**
299
299
  * @remarks
300
- * Custom Settings for the hostname of the cloud desktop. This is supported only for cloud desktops that run the Windows operating system and reside in an Active Directory (AD) office network.
300
+ * The custom hostname settings of the cloud desktop. This parameter is supported only for the settings of cloud desktops that run the Windows operating system and are connected to an AD workspace.
301
301
  *
302
- * Naming rules for hostnames:
302
+ * The hostname must meet the following naming rules:
303
303
  *
304
304
  * - The hostname must be 2 to 15 characters in length.
305
305
  * - The hostname can contain letters, digits, and hyphens (-). It cannot start or end with a hyphen, contain consecutive hyphens, or contain only digits.
306
306
  *
307
- * When you create multiple cloud desktops, you can use the `name_prefix[begin_number,bits]name_suffix` format to name them in a unified manner. 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.
307
+ * When you create multiple cloud desktops, you can use the `name_prefix[begin_number,bits]name_suffix` format to name the cloud desktops in a unified manner. 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.
308
308
  *
309
- * - ` name_prefix`: the prefix of the hostname.
310
- * - ` [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.
311
- * - `name_suffix`: the suffix of the hostname.
309
+ * - `name_prefix`: the prefix of the hostname.
310
+ * - `[begin_number,bits]`: the sequential number in the hostname. `begin_number` specifies the starting number. Valid values: 0 to 999999. Default value: 0. `bits` specifies the number of digits. Valid values: 1 to 6. Default value: 6.
311
+ * - `name_suffix`: the suffix of the hostname.
312
312
  *
313
313
  * @example
314
314
  * testhost
@@ -336,9 +336,9 @@ export class CreateDesktopGroupRequest extends $dara.Model {
336
336
  imageId?: string;
337
337
  /**
338
338
  * @remarks
339
- * The retention period after a session is disconnected. Unit: milliseconds. Valid values: 180000 (3 minutes) to 345600000 (4 days). A value of 0 indicates that the session is always retained.
339
+ * The retention period of a session after it is disconnected. Unit: milliseconds. Valid values: 180000 (3 minutes) to 345600000 (4 days). A value of 0 indicates that the session is always retained.
340
340
  *
341
- * If a session is actively disconnected by the user or unexpectedly disconnected due to other factors, the retention period starts from the time of disconnection. If the user does not reconnect to the session within the retention period, the session is logged off and unsaved data is destroyed. If the user successfully reconnects within the retention period, the user can enter the original session and access the data before the disconnection.
341
+ * If a session is actively disconnected by the user or unexpectedly disconnected due to other factors, the retention period starts from the time of disconnection. If the user does not reconnect to the session within the retention period, the session is logged off and unsaved data is destroyed. If the user successfully reconnects to the session within the retention period, the user can enter the original session and access the data before the disconnection.
342
342
  *
343
343
  * @example
344
344
  * 180000
@@ -364,7 +364,7 @@ export class CreateDesktopGroupRequest extends $dara.Model {
364
364
  maxDesktopsCount?: number;
365
365
  /**
366
366
  * @remarks
367
- * The maximum number of cloud desktops for automatic creation in subscription shared cloud desktops. This parameter takes effect and is required only when the ChargeType parameter is set to PrePaid. Default value: 1. Valid values: 0 to the value of MaxDesktopsCount.
367
+ * The maximum number of shared cloud desktops for automatic creation in a subscription plan. This parameter takes effect and is required only when the `ChargeType` parameter is set to `PrePaid`. Default value: 1. Valid values: 0 to the value of `MaxDesktopsCount`.
368
368
  *
369
369
  * @example
370
370
  * 1
@@ -372,7 +372,7 @@ export class CreateDesktopGroupRequest extends $dara.Model {
372
372
  minDesktopsCount?: number;
373
373
  /**
374
374
  * @remarks
375
- * Specifies whether the cloud desktop is a multi-instance shared cloud desktop.
375
+ * Specifies whether the cloud desktop is a multi-user shared cloud desktop.
376
376
  *
377
377
  * @example
378
378
  * false
@@ -400,13 +400,13 @@ export class CreateDesktopGroupRequest extends $dara.Model {
400
400
  ownType?: number;
401
401
  /**
402
402
  * @remarks
403
- * The subscription period of the shared cloud desktop. This parameter takes effect and is required only when the ChargeType parameter is set to PrePaid. The unit is specified by the PeriodUnit parameter.
404
- * - If PeriodUnit is set to Month, valid values:
403
+ * The subscription period of the shared cloud desktop. This parameter takes effect and is required only when the `ChargeType` parameter is set to `PrePaid`. The unit is specified by the `PeriodUnit` parameter.
404
+ * - If `PeriodUnit` is set to `Month`, valid values:
405
405
  * - 1
406
406
  * - 2
407
407
  * - 3
408
408
  * - 6
409
- * - If PeriodUnit is set to Year, valid values:
409
+ * - If `PeriodUnit` is set to `Year`, valid values:
410
410
  * - 1
411
411
  * - 2
412
412
  * - 3
@@ -419,7 +419,7 @@ export class CreateDesktopGroupRequest extends $dara.Model {
419
419
  period?: number;
420
420
  /**
421
421
  * @remarks
422
- * The duration unit of the subscription billing method.
422
+ * The billing time unit for the subscription Billable methods.
423
423
  *
424
424
  * @example
425
425
  * Month
@@ -455,7 +455,7 @@ export class CreateDesktopGroupRequest extends $dara.Model {
455
455
  promotionId?: string;
456
456
  /**
457
457
  * @remarks
458
- * The session usage threshold, which is used as the trigger for automatic scaling of multi-session shared cloud desktops. The formula for session usage is:
458
+ * The session usage threshold, which is used as the trigger for automatic scaling of multi-session shared cloud desktops. The formula for calculating the session usage is:
459
459
  *
460
460
  * ```Session usage = Number of attached sessions / (Total number of cloud desktop resources × Maximum number of sessions supported per cloud desktop) × 100%```
461
461
  *
@@ -469,7 +469,7 @@ export class CreateDesktopGroupRequest extends $dara.Model {
469
469
  ratioThreshold?: number;
470
470
  /**
471
471
  * @remarks
472
- * The region ID. You can call the [DescribeRegions](~~DescribeRegions~~) operation to query the regions supported by Elastic Desktop Service.
472
+ * The region ID. You can call the [DescribeRegions](~~DescribeRegions~~) operation to query the regions supported by Wuying Cloud Computer.
473
473
  *
474
474
  * This parameter is required.
475
475
  *
@@ -479,7 +479,7 @@ export class CreateDesktopGroupRequest extends $dara.Model {
479
479
  regionId?: string;
480
480
  /**
481
481
  * @remarks
482
- * The user ID for resource ownership in the reseller pattern. You do not need to specify this parameter for the non-reseller pattern.
482
+ * The user ID for resource ownership in the reseller pattern. This parameter is not required in the non-reseller pattern.
483
483
  *
484
484
  * @example
485
485
  * 1422724566551XXX
@@ -529,7 +529,7 @@ export class CreateDesktopGroupRequest extends $dara.Model {
529
529
  snapshotPolicyId?: string;
530
530
  /**
531
531
  * @remarks
532
- * The idle shutdown time. When the idle time of the cloud desktop reaches this value, the cloud desktop is automatically shut down. If a user connects to the cloud desktop after it is shut down, the cloud desktop is automatically started. Unit: milliseconds.
532
+ * The idle shutdown time. When the idle time of a cloud desktop reaches this value, the cloud desktop is automatically shut down. If a user connects to the cloud desktop after it is shut down, the cloud desktop is automatically started. Unit: milliseconds.
533
533
  *
534
534
  * @example
535
535
  * 300000
@@ -555,7 +555,7 @@ export class CreateDesktopGroupRequest extends $dara.Model {
555
555
  * @remarks
556
556
  * The size of the system cloud disk. Unit: GiB.
557
557
  *
558
- * > The size of the system cloud disk cannot be smaller than the image file.
558
+ * > The size of the system cloud disk cannot be smaller than the size of the image file.
559
559
  *
560
560
  * @example
561
561
  * 80
@@ -584,7 +584,7 @@ export class CreateDesktopGroupRequest extends $dara.Model {
584
584
  userGroupName?: string;
585
585
  /**
586
586
  * @remarks
587
- * The path of the user organizational unit.
587
+ * The path of the user organizational unit (OU).
588
588
  *
589
589
  * @example
590
590
  * example.com
@@ -600,7 +600,7 @@ export class CreateDesktopGroupRequest extends $dara.Model {
600
600
  volumeEncryptionEnabled?: boolean;
601
601
  /**
602
602
  * @remarks
603
- * The ID of the KMS key used when disk encryption is enabled. You can obtain it by calling the [ListKeys](https://help.aliyun.com/document_detail/28951.html) operation.
603
+ * The ID of the KMS key used when disk encryption is enabled. You can obtain the key ID by calling the [ListKeys](https://help.aliyun.com/document_detail/28951.html) operation.
604
604
  *
605
605
  * @example
606
606
  * 08c33a6f-4e0a-4a1b-a3fa-7ddfa1d4****
@@ -45,6 +45,14 @@ export class CreateDriveRequest extends $dara.Model {
45
45
  * 1234****
46
46
  */
47
47
  externalDomainId?: string;
48
+ /**
49
+ * @remarks
50
+ * The list of image platforms for which to initialize VHDs, such as WINDOWS_SERVER_2025. This parameter applies to UPM binding scenarios such as workspaces, desktop pools, and cloud application delivery groups. If you specify this parameter, the VHDs are initialized based on the specified platforms. If you do not specify this parameter, the original platform derivation rules for each scenario are used.
51
+ *
52
+ * @example
53
+ * ["WINDOWS_11","WINDOWS_SERVER_2025"]
54
+ */
55
+ platforms?: string[];
48
56
  /**
49
57
  * @remarks
50
58
  * > **[Deprecated]**
@@ -92,6 +100,7 @@ export class CreateDriveRequest extends $dara.Model {
92
100
  domainId: 'DomainId',
93
101
  driveName: 'DriveName',
94
102
  externalDomainId: 'ExternalDomainId',
103
+ platforms: 'Platforms',
95
104
  profileRoaming: 'ProfileRoaming',
96
105
  regionId: 'RegionId',
97
106
  resourceType: 'ResourceType',
@@ -107,6 +116,7 @@ export class CreateDriveRequest extends $dara.Model {
107
116
  domainId: 'string',
108
117
  driveName: 'string',
109
118
  externalDomainId: 'string',
119
+ platforms: { 'type': 'array', 'itemType': 'string' },
110
120
  profileRoaming: 'boolean',
111
121
  regionId: 'string',
112
122
  resourceType: 'string',
@@ -116,6 +126,9 @@ export class CreateDriveRequest extends $dara.Model {
116
126
  }
117
127
 
118
128
  validate() {
129
+ if(Array.isArray(this.platforms)) {
130
+ $dara.Model.validateArray(this.platforms);
131
+ }
119
132
  super.validate();
120
133
  }
121
134
 
@@ -217,7 +217,7 @@ export class CreateDriveResponseBody extends $dara.Model {
217
217
  requestId?: string;
218
218
  /**
219
219
  * @remarks
220
- * Indicates whether the request was successful.
220
+ * Indicates whether the request is successful.
221
221
  *
222
222
  * @example
223
223
  * true
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class DeleteCloudDriveServicesRequest extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The list of Wuying cloud disk IDs.
8
+ * The IDs of the Wuying cloud disks.
9
9
  *
10
10
  * This parameter is required.
11
11
  */
@@ -3,6 +3,14 @@ import * as $dara from '@darabonba/typescript';
3
3
 
4
4
 
5
5
  export class DeleteDriveRequest extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The instance ID.
9
+ *
10
+ * @example
11
+ * dom-aaaa****
12
+ */
13
+ domainId?: string;
6
14
  /**
7
15
  * @remarks
8
16
  * The ID of the user-level storage resource.
@@ -11,6 +19,22 @@ export class DeleteDriveRequest extends $dara.Model {
11
19
  * dri-aaaa****
12
20
  */
13
21
  driveId?: string;
22
+ /**
23
+ * @remarks
24
+ * The ID of the end user. This parameter is used when locating the UPM drive by using DomainId or OfficeSiteId.
25
+ *
26
+ * @example
27
+ * abc****
28
+ */
29
+ endUserId?: string;
30
+ /**
31
+ * @remarks
32
+ * The ID of the workspace.
33
+ *
34
+ * @example
35
+ * cn-hangzhou+dir-467671****
36
+ */
37
+ officeSiteId?: string;
14
38
  /**
15
39
  * @remarks
16
40
  * The region ID.
@@ -21,14 +45,20 @@ export class DeleteDriveRequest extends $dara.Model {
21
45
  regionId?: string;
22
46
  static names(): { [key: string]: string } {
23
47
  return {
48
+ domainId: 'DomainId',
24
49
  driveId: 'DriveId',
50
+ endUserId: 'EndUserId',
51
+ officeSiteId: 'OfficeSiteId',
25
52
  regionId: 'RegionId',
26
53
  };
27
54
  }
28
55
 
29
56
  static types(): { [key: string]: any } {
30
57
  return {
58
+ domainId: 'string',
31
59
  driveId: 'string',
60
+ endUserId: 'string',
61
+ officeSiteId: 'string',
32
62
  regionId: 'string',
33
63
  };
34
64
  }
@@ -0,0 +1,88 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class DescribeDesktopIdsByVulNamesRequest extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The necessity level for vulnerability fixing, which indicates the urgency of the vulnerability. Valid values:
9
+ * - asap: high
10
+ * - later: medium
11
+ * - nntf: low
12
+ *
13
+ * @example
14
+ * asap
15
+ */
16
+ necessity?: string;
17
+ /**
18
+ * @remarks
19
+ * The workspace ID.
20
+ *
21
+ * This parameter is required.
22
+ *
23
+ * @example
24
+ * cn-hangzhou+dir-363353****
25
+ */
26
+ officeSiteId?: string;
27
+ /**
28
+ * @remarks
29
+ * The region ID.
30
+ *
31
+ * This parameter is required.
32
+ *
33
+ * @example
34
+ * cn-hangzhou
35
+ */
36
+ regionId?: string;
37
+ /**
38
+ * @remarks
39
+ * The vulnerability type. Valid values:
40
+ *
41
+ * - cve: Linux software vulnerability
42
+ * - sys: Windows system vulnerability
43
+ *
44
+ * This parameter is required.
45
+ *
46
+ * @example
47
+ * cve
48
+ */
49
+ type?: string;
50
+ /**
51
+ * @remarks
52
+ * The array of vulnerability names.
53
+ *
54
+ * This parameter is required.
55
+ */
56
+ vulName?: string[];
57
+ static names(): { [key: string]: string } {
58
+ return {
59
+ necessity: 'Necessity',
60
+ officeSiteId: 'OfficeSiteId',
61
+ regionId: 'RegionId',
62
+ type: 'Type',
63
+ vulName: 'VulName',
64
+ };
65
+ }
66
+
67
+ static types(): { [key: string]: any } {
68
+ return {
69
+ necessity: 'string',
70
+ officeSiteId: 'string',
71
+ regionId: 'string',
72
+ type: 'string',
73
+ vulName: { 'type': 'array', 'itemType': 'string' },
74
+ };
75
+ }
76
+
77
+ validate() {
78
+ if(Array.isArray(this.vulName)) {
79
+ $dara.Model.validateArray(this.vulName);
80
+ }
81
+ super.validate();
82
+ }
83
+
84
+ constructor(map?: { [key: string]: any }) {
85
+ super(map);
86
+ }
87
+ }
88
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { DescribeDesktopIdsByVulNamesResponseBody } from "./DescribeDesktopIdsByVulNamesResponseBody";
4
+
5
+
6
+ export class DescribeDesktopIdsByVulNamesResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: DescribeDesktopIdsByVulNamesResponseBody;
10
+ static names(): { [key: string]: string } {
11
+ return {
12
+ headers: 'headers',
13
+ statusCode: 'statusCode',
14
+ body: 'body',
15
+ };
16
+ }
17
+
18
+ static types(): { [key: string]: any } {
19
+ return {
20
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
21
+ statusCode: 'number',
22
+ body: DescribeDesktopIdsByVulNamesResponseBody,
23
+ };
24
+ }
25
+
26
+ validate() {
27
+ if(this.headers) {
28
+ $dara.Model.validateMap(this.headers);
29
+ }
30
+ if(this.body && typeof (this.body as any).validate === 'function') {
31
+ (this.body as any).validate();
32
+ }
33
+ super.validate();
34
+ }
35
+
36
+ constructor(map?: { [key: string]: any }) {
37
+ super(map);
38
+ }
39
+ }
40
+
@@ -0,0 +1,84 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class DescribeDesktopIdsByVulNamesResponseBodyDesktopItems extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The cloud desktop ID.
9
+ *
10
+ * @example
11
+ * ecd-138dsptkrt00u****
12
+ */
13
+ desktopId?: string;
14
+ /**
15
+ * @remarks
16
+ * The cloud desktop name.
17
+ *
18
+ * @example
19
+ * Graphics-21
20
+ */
21
+ desktopName?: string;
22
+ static names(): { [key: string]: string } {
23
+ return {
24
+ desktopId: 'DesktopId',
25
+ desktopName: 'DesktopName',
26
+ };
27
+ }
28
+
29
+ static types(): { [key: string]: any } {
30
+ return {
31
+ desktopId: 'string',
32
+ desktopName: 'string',
33
+ };
34
+ }
35
+
36
+ validate() {
37
+ super.validate();
38
+ }
39
+
40
+ constructor(map?: { [key: string]: any }) {
41
+ super(map);
42
+ }
43
+ }
44
+
45
+ export class DescribeDesktopIdsByVulNamesResponseBody extends $dara.Model {
46
+ /**
47
+ * @remarks
48
+ * The array of cloud desktop information.
49
+ */
50
+ desktopItems?: DescribeDesktopIdsByVulNamesResponseBodyDesktopItems[];
51
+ /**
52
+ * @remarks
53
+ * The request ID.
54
+ *
55
+ * @example
56
+ * 1CBAFFAB-B697-4049-A9B1-67E1FC5F****
57
+ */
58
+ requestId?: string;
59
+ static names(): { [key: string]: string } {
60
+ return {
61
+ desktopItems: 'DesktopItems',
62
+ requestId: 'RequestId',
63
+ };
64
+ }
65
+
66
+ static types(): { [key: string]: any } {
67
+ return {
68
+ desktopItems: { 'type': 'array', 'itemType': DescribeDesktopIdsByVulNamesResponseBodyDesktopItems },
69
+ requestId: 'string',
70
+ };
71
+ }
72
+
73
+ validate() {
74
+ if(Array.isArray(this.desktopItems)) {
75
+ $dara.Model.validateArray(this.desktopItems);
76
+ }
77
+ super.validate();
78
+ }
79
+
80
+ constructor(map?: { [key: string]: any }) {
81
+ super(map);
82
+ }
83
+ }
84
+
@@ -5,10 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class DescribeNASFileSystemsRequest extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The IDs of the NAS file systems.
9
- *
10
- * @example
11
- * 04f314****
8
+ * The list of NAS file system IDs.
12
9
  */
13
10
  fileSystemId?: string[];
14
11
  /**
@@ -21,9 +18,8 @@ export class DescribeNASFileSystemsRequest extends $dara.Model {
21
18
  matchCompatibleProfile?: boolean;
22
19
  /**
23
20
  * @remarks
24
- * The number of entries to return per page in a paging query.
25
- *
26
- * - Maximum value: 100.
21
+ * The number of entries to return on each page in a paging query.
22
+ * - Maximum value: 100.
27
23
  * - Default value: 10.
28
24
  *
29
25
  * @example
@@ -32,7 +28,7 @@ export class DescribeNASFileSystemsRequest extends $dara.Model {
32
28
  maxResults?: number;
33
29
  /**
34
30
  * @remarks
35
- * The pagination token. Set the value to the NextToken value returned from the last API call.
31
+ * The query token. The value is the NextToken parameter value returned by the previous API call.
36
32
  *
37
33
  * @example
38
34
  * caeba0bbb2be03f84eb48b699f0a4883
@@ -40,7 +36,7 @@ export class DescribeNASFileSystemsRequest extends $dara.Model {
40
36
  nextToken?: string;
41
37
  /**
42
38
  * @remarks
43
- * The ID of the office network.
39
+ * The office network ID.
44
40
  *
45
41
  * @example
46
42
  * cn-hangzhou+dir-363353****
@@ -48,7 +44,7 @@ export class DescribeNASFileSystemsRequest extends $dara.Model {
48
44
  officeSiteId?: string;
49
45
  /**
50
46
  * @remarks
51
- * The region ID. You can call the [DescribeRegions](~~DescribeRegions~~) operation to query the list of regions supported by WUYING Workspace.
47
+ * The region ID. You can call [DescribeRegions](~~DescribeRegions~~) to query the list of regions supported by WUYING Workspace.
52
48
  *
53
49
  * This parameter is required.
54
50
  *