@alicloud/ecd20200930 4.14.0 → 4.16.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 (218) hide show
  1. package/dist/client.d.ts +128 -44
  2. package/dist/client.js +284 -44
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/AddFilePermissionRequest.d.ts +25 -38
  5. package/dist/models/AddFilePermissionRequest.js.map +1 -1
  6. package/dist/models/AddFilePermissionShrinkRequest.d.ts +6 -6
  7. package/dist/models/BatchModifyEntitlementRequest.d.ts +47 -0
  8. package/dist/models/BatchModifyEntitlementRequest.js +76 -0
  9. package/dist/models/BatchModifyEntitlementRequest.js.map +1 -0
  10. package/dist/models/BatchModifyEntitlementResponse.d.ts +19 -0
  11. package/dist/models/BatchModifyEntitlementResponse.js +69 -0
  12. package/dist/models/BatchModifyEntitlementResponse.js.map +1 -0
  13. package/dist/models/BatchModifyEntitlementResponseBody.d.ts +65 -0
  14. package/dist/models/BatchModifyEntitlementResponseBody.js +115 -0
  15. package/dist/models/BatchModifyEntitlementResponseBody.js.map +1 -0
  16. package/dist/models/CompleteCdsFileRequest.d.ts +12 -5
  17. package/dist/models/CompleteCdsFileRequest.js.map +1 -1
  18. package/dist/models/CreateCdsFileRequest.d.ts +0 -2
  19. package/dist/models/CreateCdsFileRequest.js.map +1 -1
  20. package/dist/models/CreateCenterPolicyRequest.d.ts +2 -0
  21. package/dist/models/CreateCenterPolicyRequest.js +4 -0
  22. package/dist/models/CreateCenterPolicyRequest.js.map +1 -1
  23. package/dist/models/CreateDriveRequest.d.ts +44 -0
  24. package/dist/models/CreateDriveRequest.js.map +1 -1
  25. package/dist/models/CreateDriveResponseBody.d.ts +82 -1
  26. package/dist/models/CreateDriveResponseBody.js.map +1 -1
  27. package/dist/models/CreateEcdReportTaskRequest.d.ts +62 -0
  28. package/dist/models/CreateEcdReportTaskRequest.js.map +1 -1
  29. package/dist/models/CreateEcdReportTaskResponseBody.d.ts +15 -0
  30. package/dist/models/CreateEcdReportTaskResponseBody.js.map +1 -1
  31. package/dist/models/CreateTemplateRequest.d.ts +134 -0
  32. package/dist/models/CreateTemplateRequest.js.map +1 -1
  33. package/dist/models/CreateTemplateResponseBody.d.ts +18 -0
  34. package/dist/models/CreateTemplateResponseBody.js.map +1 -1
  35. package/dist/models/DeleteCdsFileRequest.d.ts +8 -5
  36. package/dist/models/DeleteCdsFileRequest.js.map +1 -1
  37. package/dist/models/DeleteCdsFileResponseBody.d.ts +5 -31
  38. package/dist/models/DeleteCdsFileResponseBody.js.map +1 -1
  39. package/dist/models/DeleteDriveRequest.d.ts +6 -0
  40. package/dist/models/DeleteDriveRequest.js.map +1 -1
  41. package/dist/models/DeleteDriveResponseBody.d.ts +15 -0
  42. package/dist/models/DeleteDriveResponseBody.js.map +1 -1
  43. package/dist/models/DescribeAutoSnapshotPolicyRequest.d.ts +3 -3
  44. package/dist/models/DescribeCenterPolicyListResponseBody.d.ts +2 -2
  45. package/dist/models/DescribeCloudDiskGroupDrivesRequest.d.ts +40 -0
  46. package/dist/models/DescribeCloudDiskGroupDrivesRequest.js +66 -0
  47. package/dist/models/DescribeCloudDiskGroupDrivesRequest.js.map +1 -0
  48. package/dist/models/DescribeCloudDiskGroupDrivesResponse.d.ts +19 -0
  49. package/dist/models/DescribeCloudDiskGroupDrivesResponse.js +69 -0
  50. package/dist/models/DescribeCloudDiskGroupDrivesResponse.js.map +1 -0
  51. package/dist/models/DescribeCloudDiskGroupDrivesResponseBody.d.ts +87 -0
  52. package/dist/models/DescribeCloudDiskGroupDrivesResponseBody.js +104 -0
  53. package/dist/models/DescribeCloudDiskGroupDrivesResponseBody.js.map +1 -0
  54. package/dist/models/DescribeCloudDiskGroupsRequest.d.ts +36 -0
  55. package/dist/models/DescribeCloudDiskGroupsRequest.js +69 -0
  56. package/dist/models/DescribeCloudDiskGroupsRequest.js.map +1 -0
  57. package/dist/models/DescribeCloudDiskGroupsResponse.d.ts +19 -0
  58. package/dist/models/DescribeCloudDiskGroupsResponse.js +69 -0
  59. package/dist/models/DescribeCloudDiskGroupsResponse.js.map +1 -0
  60. package/dist/models/DescribeCloudDiskGroupsResponseBody.d.ts +87 -0
  61. package/dist/models/DescribeCloudDiskGroupsResponseBody.js +104 -0
  62. package/dist/models/DescribeCloudDiskGroupsResponseBody.js.map +1 -0
  63. package/dist/models/DescribeDesktopGroupSessionsRequest.d.ts +17 -3
  64. package/dist/models/DescribeDesktopGroupSessionsRequest.js.map +1 -1
  65. package/dist/models/DescribeDesktopGroupSessionsResponseBody.d.ts +43 -14
  66. package/dist/models/DescribeDesktopGroupSessionsResponseBody.js.map +1 -1
  67. package/dist/models/DescribeDrivesRequest.d.ts +27 -0
  68. package/dist/models/DescribeDrivesRequest.js.map +1 -1
  69. package/dist/models/DescribeDrivesResponseBody.d.ts +116 -0
  70. package/dist/models/DescribeDrivesResponseBody.js.map +1 -1
  71. package/dist/models/DescribeEcdReportTasksRequest.d.ts +35 -0
  72. package/dist/models/DescribeEcdReportTasksRequest.js.map +1 -1
  73. package/dist/models/DescribeEcdReportTasksResponseBody.d.ts +52 -0
  74. package/dist/models/DescribeEcdReportTasksResponseBody.js.map +1 -1
  75. package/dist/models/DescribeGlobalDesktopRecordsRequest.d.ts +64 -0
  76. package/dist/models/DescribeGlobalDesktopRecordsRequest.js.map +1 -1
  77. package/dist/models/DescribeGlobalDesktopRecordsResponseBody.d.ts +115 -0
  78. package/dist/models/DescribeGlobalDesktopRecordsResponseBody.js +2 -0
  79. package/dist/models/DescribeGlobalDesktopRecordsResponseBody.js.map +1 -1
  80. package/dist/models/DescribeKmsKeysRequest.d.ts +1 -1
  81. package/dist/models/DescribeKmsKeysResponseBody.d.ts +11 -1
  82. package/dist/models/DescribeKmsKeysResponseBody.js.map +1 -1
  83. package/dist/models/DescribePolicyGroupsResponseBody.d.ts +31 -1
  84. package/dist/models/DescribePolicyGroupsResponseBody.js +4 -0
  85. package/dist/models/DescribePolicyGroupsResponseBody.js.map +1 -1
  86. package/dist/models/DescribeSnapshotsRequest.d.ts +4 -0
  87. package/dist/models/DescribeSnapshotsRequest.js.map +1 -1
  88. package/dist/models/DescribeSnapshotsResponseBody.d.ts +8 -0
  89. package/dist/models/DescribeSnapshotsResponseBody.js.map +1 -1
  90. package/dist/models/DescribeTemplatesRequest.d.ts +41 -0
  91. package/dist/models/DescribeTemplatesRequest.js.map +1 -1
  92. package/dist/models/DescribeTemplatesResponseBody.d.ts +185 -0
  93. package/dist/models/DescribeTemplatesResponseBody.js.map +1 -1
  94. package/dist/models/DescribeTimerGroupResponseBody.d.ts +2 -2
  95. package/dist/models/ListCdsFilesRequest.d.ts +22 -123
  96. package/dist/models/ListCdsFilesRequest.js.map +1 -1
  97. package/dist/models/ListCdsFilesResponseBody.d.ts +21 -29
  98. package/dist/models/ListCdsFilesResponseBody.js.map +1 -1
  99. package/dist/models/ListCdsFilesShrinkRequest.d.ts +22 -123
  100. package/dist/models/ListCdsFilesShrinkRequest.js.map +1 -1
  101. package/dist/models/ListFilePermissionRequest.d.ts +8 -5
  102. package/dist/models/ListFilePermissionRequest.js.map +1 -1
  103. package/dist/models/ListInstalledAppsRequest.d.ts +41 -0
  104. package/dist/models/ListInstalledAppsRequest.js +62 -0
  105. package/dist/models/ListInstalledAppsRequest.js.map +1 -0
  106. package/dist/models/ListInstalledAppsResponse.d.ts +19 -0
  107. package/dist/models/ListInstalledAppsResponse.js +69 -0
  108. package/dist/models/ListInstalledAppsResponse.js.map +1 -0
  109. package/dist/models/ListInstalledAppsResponseBody.d.ts +62 -0
  110. package/dist/models/ListInstalledAppsResponseBody.js +86 -0
  111. package/dist/models/ListInstalledAppsResponseBody.js.map +1 -0
  112. package/dist/models/ListTransferFilesRequest.d.ts +13 -0
  113. package/dist/models/ListTransferFilesRequest.js.map +1 -1
  114. package/dist/models/ListTransferFilesResponseBody.d.ts +63 -0
  115. package/dist/models/ListTransferFilesResponseBody.js.map +1 -1
  116. package/dist/models/ModifyCdsFileRequest.d.ts +11 -42
  117. package/dist/models/ModifyCdsFileRequest.js.map +1 -1
  118. package/dist/models/ModifyCdsFileResponseBody.d.ts +6 -19
  119. package/dist/models/ModifyCdsFileResponseBody.js.map +1 -1
  120. package/dist/models/ModifyCenterPolicyRequest.d.ts +2 -0
  121. package/dist/models/ModifyCenterPolicyRequest.js +4 -0
  122. package/dist/models/ModifyCenterPolicyRequest.js.map +1 -1
  123. package/dist/models/ModifyNetworkPackageBandwidthRequest.d.ts +4 -4
  124. package/dist/models/ModifyOfficeSiteDnsInfoRequest.d.ts +8 -0
  125. package/dist/models/ModifyOfficeSiteDnsInfoRequest.js.map +1 -1
  126. package/dist/models/ModifyOfficeSiteDnsInfoResponseBody.d.ts +3 -0
  127. package/dist/models/ModifyOfficeSiteDnsInfoResponseBody.js.map +1 -1
  128. package/dist/models/ModifyTemplateRequest.d.ts +17 -0
  129. package/dist/models/ModifyTemplateRequest.js.map +1 -1
  130. package/dist/models/ModifyTimerGroupRequest.d.ts +6 -6
  131. package/dist/models/RemoveFilePermissionRequest.d.ts +25 -185
  132. package/dist/models/RemoveFilePermissionRequest.js.map +1 -1
  133. package/dist/models/RemoveFilePermissionShrinkRequest.d.ts +9 -6
  134. package/dist/models/RemoveFilePermissionShrinkRequest.js.map +1 -1
  135. package/dist/models/SetDesktopMaintenanceRequest.d.ts +11 -0
  136. package/dist/models/SetDesktopMaintenanceRequest.js.map +1 -1
  137. package/dist/models/SetDesktopMaintenanceResponseBody.d.ts +3 -0
  138. package/dist/models/SetDesktopMaintenanceResponseBody.js.map +1 -1
  139. package/dist/models/StartDesktopsRequest.d.ts +1 -1
  140. package/dist/models/StopDesktopsRequest.d.ts +8 -1
  141. package/dist/models/StopDesktopsRequest.js.map +1 -1
  142. package/dist/models/TransferTaskApprovalCallbackRequest.d.ts +17 -0
  143. package/dist/models/TransferTaskApprovalCallbackRequest.js.map +1 -1
  144. package/dist/models/TransferTaskApprovalCallbackResponseBody.d.ts +3 -0
  145. package/dist/models/TransferTaskApprovalCallbackResponseBody.js.map +1 -1
  146. package/dist/models/model.d.ts +17 -0
  147. package/dist/models/model.js +56 -22
  148. package/dist/models/model.js.map +1 -1
  149. package/package.json +1 -1
  150. package/src/client.ts +316 -44
  151. package/src/models/AddFilePermissionRequest.ts +25 -38
  152. package/src/models/AddFilePermissionShrinkRequest.ts +6 -6
  153. package/src/models/BatchModifyEntitlementRequest.ts +78 -0
  154. package/src/models/BatchModifyEntitlementResponse.ts +40 -0
  155. package/src/models/BatchModifyEntitlementResponseBody.ts +117 -0
  156. package/src/models/CompleteCdsFileRequest.ts +12 -5
  157. package/src/models/CreateCdsFileRequest.ts +0 -2
  158. package/src/models/CreateCenterPolicyRequest.ts +6 -0
  159. package/src/models/CreateDriveRequest.ts +44 -0
  160. package/src/models/CreateDriveResponseBody.ts +82 -1
  161. package/src/models/CreateEcdReportTaskRequest.ts +62 -0
  162. package/src/models/CreateEcdReportTaskResponseBody.ts +15 -0
  163. package/src/models/CreateTemplateRequest.ts +134 -0
  164. package/src/models/CreateTemplateResponseBody.ts +18 -0
  165. package/src/models/DeleteCdsFileRequest.ts +8 -5
  166. package/src/models/DeleteCdsFileResponseBody.ts +5 -31
  167. package/src/models/DeleteDriveRequest.ts +6 -0
  168. package/src/models/DeleteDriveResponseBody.ts +15 -0
  169. package/src/models/DescribeAutoSnapshotPolicyRequest.ts +3 -3
  170. package/src/models/DescribeCenterPolicyListResponseBody.ts +2 -2
  171. package/src/models/DescribeCloudDiskGroupDrivesRequest.ts +61 -0
  172. package/src/models/DescribeCloudDiskGroupDrivesResponse.ts +40 -0
  173. package/src/models/DescribeCloudDiskGroupDrivesResponseBody.ts +137 -0
  174. package/src/models/DescribeCloudDiskGroupsRequest.ts +60 -0
  175. package/src/models/DescribeCloudDiskGroupsResponse.ts +40 -0
  176. package/src/models/DescribeCloudDiskGroupsResponseBody.ts +137 -0
  177. package/src/models/DescribeDesktopGroupSessionsRequest.ts +17 -3
  178. package/src/models/DescribeDesktopGroupSessionsResponseBody.ts +43 -14
  179. package/src/models/DescribeDrivesRequest.ts +27 -0
  180. package/src/models/DescribeDrivesResponseBody.ts +116 -0
  181. package/src/models/DescribeEcdReportTasksRequest.ts +35 -0
  182. package/src/models/DescribeEcdReportTasksResponseBody.ts +52 -0
  183. package/src/models/DescribeGlobalDesktopRecordsRequest.ts +64 -0
  184. package/src/models/DescribeGlobalDesktopRecordsResponseBody.ts +117 -0
  185. package/src/models/DescribeKmsKeysRequest.ts +1 -1
  186. package/src/models/DescribeKmsKeysResponseBody.ts +11 -1
  187. package/src/models/DescribePolicyGroupsResponseBody.ts +35 -1
  188. package/src/models/DescribeSnapshotsRequest.ts +4 -0
  189. package/src/models/DescribeSnapshotsResponseBody.ts +8 -0
  190. package/src/models/DescribeTemplatesRequest.ts +41 -0
  191. package/src/models/DescribeTemplatesResponseBody.ts +185 -0
  192. package/src/models/DescribeTimerGroupResponseBody.ts +2 -2
  193. package/src/models/ListCdsFilesRequest.ts +22 -123
  194. package/src/models/ListCdsFilesResponseBody.ts +21 -29
  195. package/src/models/ListCdsFilesShrinkRequest.ts +22 -123
  196. package/src/models/ListFilePermissionRequest.ts +8 -5
  197. package/src/models/ListInstalledAppsRequest.ts +58 -0
  198. package/src/models/ListInstalledAppsResponse.ts +40 -0
  199. package/src/models/ListInstalledAppsResponseBody.ts +94 -0
  200. package/src/models/ListTransferFilesRequest.ts +13 -0
  201. package/src/models/ListTransferFilesResponseBody.ts +63 -0
  202. package/src/models/ModifyCdsFileRequest.ts +11 -42
  203. package/src/models/ModifyCdsFileResponseBody.ts +6 -19
  204. package/src/models/ModifyCenterPolicyRequest.ts +6 -0
  205. package/src/models/ModifyNetworkPackageBandwidthRequest.ts +4 -4
  206. package/src/models/ModifyOfficeSiteDnsInfoRequest.ts +8 -0
  207. package/src/models/ModifyOfficeSiteDnsInfoResponseBody.ts +3 -0
  208. package/src/models/ModifyTemplateRequest.ts +17 -0
  209. package/src/models/ModifyTimerGroupRequest.ts +6 -6
  210. package/src/models/RemoveFilePermissionRequest.ts +25 -185
  211. package/src/models/RemoveFilePermissionShrinkRequest.ts +9 -6
  212. package/src/models/SetDesktopMaintenanceRequest.ts +11 -0
  213. package/src/models/SetDesktopMaintenanceResponseBody.ts +3 -0
  214. package/src/models/StartDesktopsRequest.ts +1 -1
  215. package/src/models/StopDesktopsRequest.ts +8 -1
  216. package/src/models/TransferTaskApprovalCallbackRequest.ts +17 -0
  217. package/src/models/TransferTaskApprovalCallbackResponseBody.ts +3 -0
  218. package/src/models/model.ts +17 -0
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class ListCdsFilesResponseBodyFileModels extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The file category. PDS categorizes files based on their suffixes and MIME types. The following major categories are included: doc, image, audio, and video.
8
+ * File type classification. The network disk will classify files according to their suffix and MIME Type. The main categories are `doc`, `image`, `audio` and `video`.
9
9
  *
10
10
  * @example
11
11
  * image
@@ -45,7 +45,7 @@ export class ListCdsFilesResponseBodyFileModels extends $dara.Model {
45
45
  description?: string;
46
46
  /**
47
47
  * @remarks
48
- * The URL that is used to download the file. The download URL is valid for only 15 minutes. If the URL is expired, you can call the GetFile operation to obtain the file.
48
+ * The download link. The default validity period is 15 minutes.
49
49
  *
50
50
  * @example
51
51
  * https://data.aliyunpds.com/hz22%2F5d5b986facbec311ef844c25954f96821497b383%2F5d5b986f955410dd991646bb87c6b4e899ef****?Expires=xxx&OSSAccessKeyId=xxx&Signature=xxx
@@ -79,13 +79,18 @@ export class ListCdsFilesResponseBodyFileModels extends $dara.Model {
79
79
  * @remarks
80
80
  * The file type.
81
81
  *
82
+ * Valid value:
83
+ *
84
+ * * file
85
+ * * folder
86
+ *
82
87
  * @example
83
88
  * file
84
89
  */
85
90
  fileType?: string;
86
91
  /**
87
92
  * @remarks
88
- * The MD5 value of the file.
93
+ * The MD5 hash of the object.
89
94
  *
90
95
  * @example
91
96
  * 63c83ececb4e6926c51448fc5ecb****
@@ -101,7 +106,7 @@ export class ListCdsFilesResponseBodyFileModels extends $dara.Model {
101
106
  modifiedTime?: string;
102
107
  /**
103
108
  * @remarks
104
- * The user who modified the file.
109
+ * Modifier.
105
110
  *
106
111
  * @example
107
112
  * user02
@@ -109,7 +114,7 @@ export class ListCdsFilesResponseBodyFileModels extends $dara.Model {
109
114
  modifier?: string;
110
115
  /**
111
116
  * @remarks
112
- * The file name.
117
+ * The name of the file.
113
118
  *
114
119
  * @example
115
120
  * fvt-appcenterp4qwa
@@ -141,7 +146,7 @@ export class ListCdsFilesResponseBodyFileModels extends $dara.Model {
141
146
  parentId?: string;
142
147
  /**
143
148
  * @remarks
144
- * The region ID You can call the [DescribeRegions](https://help.aliyun.com/document_detail/196646.html) operation to query the most recent region list.
149
+ * The ID of the region. You can call the [DescribeRegions](https://help.aliyun.com/document_detail/196646.html) operation to obtain the list of regions supported by cloud computers.
145
150
  *
146
151
  * @example
147
152
  * cn-beijing
@@ -149,7 +154,7 @@ export class ListCdsFilesResponseBodyFileModels extends $dara.Model {
149
154
  regionId?: string;
150
155
  /**
151
156
  * @remarks
152
- * The SHA 1 file.
157
+ * The SHA1 hash of the data file.
153
158
  *
154
159
  * @example
155
160
  * EA4942AA8761213890A5C386F88E6464D2C3****
@@ -157,7 +162,7 @@ export class ListCdsFilesResponseBodyFileModels extends $dara.Model {
157
162
  sha1?: string;
158
163
  /**
159
164
  * @remarks
160
- * The file size. Unit: bits.
165
+ * The size of the file. Unit: bytes.
161
166
  *
162
167
  * @example
163
168
  * 102400
@@ -235,7 +240,7 @@ export class ListCdsFilesResponseBodyFileModels extends $dara.Model {
235
240
  export class ListCdsFilesResponseBody extends $dara.Model {
236
241
  /**
237
242
  * @remarks
238
- * The result of the operation. A value of success indicates that the operation is successful. If the operation failed, an error message is returned.
243
+ * The response parameters. If the request was successful, `success` is returned. If the request failed, an error message is returned.
239
244
  *
240
245
  * @example
241
246
  * success
@@ -243,7 +248,7 @@ export class ListCdsFilesResponseBody extends $dara.Model {
243
248
  code?: string;
244
249
  /**
245
250
  * @remarks
246
- * The total number of entries.
251
+ * The total number of file list entries.
247
252
  *
248
253
  * @example
249
254
  * 0
@@ -256,7 +261,7 @@ export class ListCdsFilesResponseBody extends $dara.Model {
256
261
  fileModels?: ListCdsFilesResponseBodyFileModels[];
257
262
  /**
258
263
  * @remarks
259
- * The error message returned if the request failed. This parameter is empty if the value of Code is success.
264
+ * Error message. This parameter is not returned if the value of Code is `success`.
260
265
  *
261
266
  * @example
262
267
  * success
@@ -264,7 +269,7 @@ export class ListCdsFilesResponseBody extends $dara.Model {
264
269
  message?: string;
265
270
  /**
266
271
  * @remarks
267
- * The token used for the next query. If this parameter is empty, all results have been returned.
272
+ * The token used to start the next query. If the `NextToken` is empty, the next query does not exist.
268
273
  *
269
274
  * @example
270
275
  * WyI2MzhmMjA2ZTFmZGZlZGVjZDk3OTRlNzVhZmIwMDFiZmM5NWQ3YTgwIiwibiIsIm4iLDEsLTEsMTY3MDMyNDMzNTAzMSwiNjM4ZjIwNmZjNDFkMzIwOTZmZWU0NGYxODkwY2I5ZjI0Mjg0NzM2****
@@ -272,7 +277,7 @@ export class ListCdsFilesResponseBody extends $dara.Model {
272
277
  nextToken?: string;
273
278
  /**
274
279
  * @remarks
275
- * The request ID. An ID is the unique identifier of the request.
280
+ * Request ID.
276
281
  *
277
282
  * @example
278
283
  * 40D86754-20FD-53DC-A9B8-25F7FECC****
@@ -280,25 +285,12 @@ export class ListCdsFilesResponseBody extends $dara.Model {
280
285
  requestId?: string;
281
286
  /**
282
287
  * @remarks
283
- * Indicates whether the request is successful.
288
+ * Indicates whether the operation was successful.
284
289
  *
285
- * Valid values:
290
+ * Valid value:
286
291
  *
287
292
  * * true
288
- *
289
- * <!-- -->
290
- *
291
- * <!-- -->
292
- *
293
- * <!-- -->
294
- *
295
- * * <!-- -->
296
- *
297
- * false
298
- *
299
- * <!-- -->
300
- *
301
- * <!-- -->
293
+ * * false
302
294
  *
303
295
  * @example
304
296
  * true
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class ListCdsFilesShrinkRequest extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The ID of the cloud disk.
8
+ * The ID of the enterprise drive.
9
9
  *
10
10
  * This parameter is required.
11
11
  *
@@ -15,7 +15,7 @@ export class ListCdsFilesShrinkRequest extends $dara.Model {
15
15
  cdsId?: string;
16
16
  /**
17
17
  * @remarks
18
- * The ID of the user to whom the cloud disk is allocated.
18
+ * The ID of the user to which the network disk is assigned.
19
19
  *
20
20
  * @example
21
21
  * testUser
@@ -26,6 +26,13 @@ export class ListCdsFilesShrinkRequest extends $dara.Model {
26
26
  * The IDs of the files to be queried.
27
27
  */
28
28
  fileIdsShrink?: string;
29
+ /**
30
+ * @remarks
31
+ * The ID of the team space.
32
+ *
33
+ * @example
34
+ * cg-i1ruuudp92qpj****
35
+ */
29
36
  groupId?: string;
30
37
  /**
31
38
  * @remarks
@@ -37,7 +44,7 @@ export class ListCdsFilesShrinkRequest extends $dara.Model {
37
44
  maxResults?: number;
38
45
  /**
39
46
  * @remarks
40
- * The token used for the next query. If this parameter is empty, all results are returned.
47
+ * The query token. Set the value to the value of the `NextToken` parameter returned in the last call to the operation. You do not need to set this parameter when you call the operation for the first time.
41
48
  *
42
49
  * @example
43
50
  * WyI2Mzg4MjAwMzFhNGQwZWVmN2I3MjRkZjZhZjAyMWU4YzY1MmRjZmUyIiwibiIsIm4iLDEsLTEsMTY2OTg2NTQ3NTMxMiwiNjM4ODIwMDNlNTU0YmZiZjFkYTk0MmEyYTZhMjEyZDkxODdjMjAy****
@@ -49,101 +56,14 @@ export class ListCdsFilesShrinkRequest extends $dara.Model {
49
56
  *
50
57
  * Valid values:
51
58
  *
52
- * * CreateTimeDesc
53
- *
54
- * <!-- -->
55
- *
56
- * :
57
- *
58
- * <!-- -->
59
- *
60
- * sorts files in descending order based on the time when they are created.
61
- *
62
- * <!-- -->
63
- *
64
- * * ModifiedTimeAsc
65
- *
66
- * <!-- -->
67
- *
68
- * :
69
- *
70
- * <!-- -->
71
- *
72
- * sorts files in ascending order based on the time when they are modified.
73
- *
74
- * <!-- -->
75
- *
76
- * * NameDesc
77
- *
78
- * <!-- -->
79
- *
80
- * :
81
- *
82
- * <!-- -->
83
- *
84
- * sorts files in descending order based on their names.
85
- *
86
- * <!-- -->
87
- *
88
- * * SizeAsc
89
- *
90
- * <!-- -->
91
- *
92
- * :
93
- *
94
- * <!-- -->
95
- *
96
- * sorts files in ascending order based on their sizes.
97
- *
98
- * <!-- -->
99
- *
100
- * * ModifiedTimeDesc
101
- *
102
- * <!-- -->
103
- *
104
- * :
105
- *
106
- * <!-- -->
107
- *
108
- * sorts files in descending order based on the time when they are modified.
109
- *
110
- * <!-- -->
111
- *
112
- * * CreateTimeAsc
113
- *
114
- * <!-- -->
115
- *
116
- * :
117
- *
118
- * <!-- -->
119
- *
120
- * sorts files in ascending order based on the time when they are created.
121
- *
122
- * <!-- -->
123
- *
124
- * * SizeDesc
125
- *
126
- * <!-- -->
127
- *
128
- * :
129
- *
130
- * <!-- -->
131
- *
132
- * sorts files in descending order based on their sizes.
133
- *
134
- * <!-- -->
135
- *
136
- * * NameAsc
137
- *
138
- * <!-- -->
139
- *
140
- * :
141
- *
142
- * <!-- -->
143
- *
144
- * sorts files in ascending order based on their names.
145
- *
146
- * <!-- -->
59
+ * * CreateTimeDesc: sorts the by creation time in descending order.
60
+ * * ModifiedTimeAsc: sort the by modification time in ascending order.
61
+ * * NameDesc: sorts the by file name in descending order.
62
+ * * SizeAsc: sorts by file size in ascending order.
63
+ * * ModifiedTimeDesc: sort the by modification time in descending order.
64
+ * * CreateTimeAsc: sorts the by creation time in ascending order.
65
+ * * SizeDesc: sorts by file size in descending order.
66
+ * * NameAsc: sorts by file name in ascending order.
147
67
  *
148
68
  * @example
149
69
  * CreateTimeDesc
@@ -151,7 +71,7 @@ export class ListCdsFilesShrinkRequest extends $dara.Model {
151
71
  orderType?: string;
152
72
  /**
153
73
  * @remarks
154
- * The ID of the parent file.
74
+ * The parent folder ID. You can obtain the value by using the response parameter `FileId` of this operation.
155
75
  *
156
76
  * @example
157
77
  * 63636837e47e5a24a8a940218bef395c210e****
@@ -159,7 +79,7 @@ export class ListCdsFilesShrinkRequest extends $dara.Model {
159
79
  parentFileId?: string;
160
80
  /**
161
81
  * @remarks
162
- * The region ID. You can call the [DescribeRegions](https://help.aliyun.com/document_detail/196646.html) operation to query the most recent region list.
82
+ * The ID of the logon region. You can call the [DescribeRegions](https://help.aliyun.com/document_detail/196646.html) operation to obtain the list of regions supported by cloud computers.
163
83
  *
164
84
  * @example
165
85
  * cn-hangzhou
@@ -171,29 +91,8 @@ export class ListCdsFilesShrinkRequest extends $dara.Model {
171
91
  *
172
92
  * Valid values:
173
93
  *
174
- * * available
175
- *
176
- * <!-- -->
177
- *
178
- * :
179
- *
180
- * <!-- -->
181
- *
182
- * returns only normal files.
183
- *
184
- * <!-- -->
185
- *
186
- * * uploading
187
- *
188
- * <!-- -->
189
- *
190
- * :
191
- *
192
- * <!-- -->
193
- *
194
- * returns only the files that are being uploaded.
195
- *
196
- * <!-- -->
94
+ * * available: returns only normal file.
95
+ * * uploading: returns only the of objects that are being uploaded.
197
96
  *
198
97
  * @example
199
98
  * available
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class ListFilePermissionRequest extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The ID of the cloud disk.
8
+ * The ID of the enterprise drive.
9
9
  *
10
10
  * This parameter is required.
11
11
  *
@@ -15,7 +15,7 @@ export class ListFilePermissionRequest extends $dara.Model {
15
15
  cdsId?: string;
16
16
  /**
17
17
  * @remarks
18
- * The ID of the end user who uses the cloud disk.
18
+ * The ID of the user who uses the drive.
19
19
  *
20
20
  * @example
21
21
  * user01
@@ -23,7 +23,7 @@ export class ListFilePermissionRequest extends $dara.Model {
23
23
  endUserId?: string;
24
24
  /**
25
25
  * @remarks
26
- * The ID of the shared file.
26
+ * The file ID. You can call the [ListCdsFiles](https://help.aliyun.com/document_detail/2247622.html) operation to get the file ID.
27
27
  *
28
28
  * This parameter is required.
29
29
  *
@@ -33,12 +33,15 @@ export class ListFilePermissionRequest extends $dara.Model {
33
33
  fileId?: string;
34
34
  /**
35
35
  * @remarks
36
- * The group ID.
36
+ * The ID of the team space.
37
+ *
38
+ * @example
39
+ * cg-c3acvkkbsfkte****
37
40
  */
38
41
  groupId?: string;
39
42
  /**
40
43
  * @remarks
41
- * The region ID of the cloud disk. You can call the [DescribeRegions](https://help.aliyun.com/document_detail/196646.html) operation to query the most recent region list.
44
+ * The ID of the region. You can call the [DescribeRegions](https://help.aliyun.com/document_detail/196646.html) operation to query the list of regions where Elastic Desktop Service (EDS) Enterprise is available.
42
45
  *
43
46
  * This parameter is required.
44
47
  *
@@ -0,0 +1,58 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class ListInstalledAppsRequest extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The cloud computer ID.
9
+ *
10
+ * This parameter is required.
11
+ *
12
+ * @example
13
+ * ecd-39clsqyxr****
14
+ */
15
+ desktopId?: string;
16
+ /**
17
+ * @remarks
18
+ * The page number.\\
19
+ * Default value: 1.
20
+ *
21
+ * @example
22
+ * 1
23
+ */
24
+ pageNumber?: number;
25
+ /**
26
+ * @remarks
27
+ * The number of entries per page.\\
28
+ * Default value: 20.
29
+ *
30
+ * @example
31
+ * 20
32
+ */
33
+ pageSize?: number;
34
+ static names(): { [key: string]: string } {
35
+ return {
36
+ desktopId: 'DesktopId',
37
+ pageNumber: 'PageNumber',
38
+ pageSize: 'PageSize',
39
+ };
40
+ }
41
+
42
+ static types(): { [key: string]: any } {
43
+ return {
44
+ desktopId: 'string',
45
+ pageNumber: 'number',
46
+ pageSize: 'number',
47
+ };
48
+ }
49
+
50
+ validate() {
51
+ super.validate();
52
+ }
53
+
54
+ constructor(map?: { [key: string]: any }) {
55
+ super(map);
56
+ }
57
+ }
58
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { ListInstalledAppsResponseBody } from "./ListInstalledAppsResponseBody";
4
+
5
+
6
+ export class ListInstalledAppsResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: ListInstalledAppsResponseBody;
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: ListInstalledAppsResponseBody,
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,94 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class ListInstalledAppsResponseBodyApps extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The name of the application.
9
+ *
10
+ * @example
11
+ * test_app
12
+ */
13
+ appName?: string;
14
+ /**
15
+ * @remarks
16
+ * The application version.
17
+ *
18
+ * @example
19
+ * 2.0.1
20
+ */
21
+ appVersion?: string;
22
+ static names(): { [key: string]: string } {
23
+ return {
24
+ appName: 'AppName',
25
+ appVersion: 'AppVersion',
26
+ };
27
+ }
28
+
29
+ static types(): { [key: string]: any } {
30
+ return {
31
+ appName: 'string',
32
+ appVersion: '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 ListInstalledAppsResponseBody extends $dara.Model {
46
+ /**
47
+ * @remarks
48
+ * The information about the application.
49
+ */
50
+ apps?: ListInstalledAppsResponseBodyApps[];
51
+ /**
52
+ * @remarks
53
+ * The unique ID of the request.
54
+ *
55
+ * @example
56
+ * 1CBAFFAB-B697-4049-A9B1-67E1FC5F****
57
+ */
58
+ requestId?: string;
59
+ /**
60
+ * @remarks
61
+ * The total number of entries returned.
62
+ *
63
+ * @example
64
+ * 94
65
+ */
66
+ totalCount?: number;
67
+ static names(): { [key: string]: string } {
68
+ return {
69
+ apps: 'Apps',
70
+ requestId: 'RequestId',
71
+ totalCount: 'TotalCount',
72
+ };
73
+ }
74
+
75
+ static types(): { [key: string]: any } {
76
+ return {
77
+ apps: { 'type': 'array', 'itemType': ListInstalledAppsResponseBodyApps },
78
+ requestId: 'string',
79
+ totalCount: 'number',
80
+ };
81
+ }
82
+
83
+ validate() {
84
+ if(Array.isArray(this.apps)) {
85
+ $dara.Model.validateArray(this.apps);
86
+ }
87
+ super.validate();
88
+ }
89
+
90
+ constructor(map?: { [key: string]: any }) {
91
+ super(map);
92
+ }
93
+ }
94
+
@@ -4,16 +4,29 @@ import * as $dara from '@darabonba/typescript';
4
4
 
5
5
  export class ListTransferFilesRequest extends $dara.Model {
6
6
  /**
7
+ * @remarks
8
+ * The number of entries to return on each page.
9
+ *
10
+ * Maximum value: 100.
11
+ *
12
+ * Default value: 20.
13
+ *
7
14
  * @example
8
15
  * 20
9
16
  */
10
17
  maxResults?: number;
11
18
  /**
19
+ * @remarks
20
+ * A pagination token. It can be used in the next request to retrieve a new page of results. If NextToken is empty, no next page exists.
21
+ *
12
22
  * @example
13
23
  * caeba0bbb2be03f84eb48b699f0****
14
24
  */
15
25
  nextToken?: string;
16
26
  /**
27
+ * @remarks
28
+ * The ID of the transmission task.
29
+ *
17
30
  * @example
18
31
  * trt-03tdwg4tcuwdzv****
19
32
  */