@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 AddFilePermissionRequestMemberListCdsIdentity extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The ID of the user.
8
+ * The ID of the convenience user.
9
9
  *
10
10
  * This parameter is required.
11
11
  *
@@ -15,25 +15,12 @@ export class AddFilePermissionRequestMemberListCdsIdentity extends $dara.Model {
15
15
  id?: string;
16
16
  /**
17
17
  * @remarks
18
- * The type of the user.
18
+ * The user type.
19
19
  *
20
- * Valid values:
21
- *
22
- * * <!-- -->
23
- *
24
- * IT_Group
25
- *
26
- * <!-- -->
27
- *
28
- * <!-- -->
29
- *
30
- * * <!-- -->
31
- *
32
- * IT_User
33
- *
34
- * <!-- -->
20
+ * Set the value to TENANT_ADMIN.
35
21
  *
36
- * <!-- -->
22
+ * * IT_Group: group.
23
+ * * IT_User: user.
37
24
  *
38
25
  * This parameter is required.
39
26
  *
@@ -90,23 +77,23 @@ export class AddFilePermissionRequestMemberList extends $dara.Model {
90
77
  expireTime?: number;
91
78
  /**
92
79
  * @remarks
93
- * The ID of the role to which you want to attach the folder permissions. To configure the folder permissions: you can specify a role or create custom operation permissions. You can use RoleId to specify a role. RoleId is mutually exclusive with ActionList. If you specify both of them, the value of RoleId takes precedence.
80
+ * You can set permissions by specifying roles or by customizing operation permissions. This field is used to set permissions by specifying roles. This field is mutually exclusive with `ActionList`.
94
81
  *
95
82
  * Valid values:
96
83
  *
97
- * * SystemFileEditorWithoutShareLink
98
- * * SystemFileUploaderAndDownloaderWithShareLink
99
- * * SystemFileDownloader
100
- * * SystemFileEditorWithoutDelete
101
- * * SystemFileOwner
102
- * * SystemFileDownloaderWithShareLink
103
- * * SystemFileUploaderAndViewer
104
- * * SystemFileViewer
105
- * * SystemFileEditor
106
- * * SystemFileUploaderWithShareLink
107
- * * SystemFileUploader
108
- * * SystemFileUploaderAndDownloader
109
- * * SystemFileMetaViewer
84
+ * * SystemFileEditorWithoutShareLink: The role that can edit but cannot share files.
85
+ * * SystemFileUploaderAndDownloaderWithShareLink: The role that can upload, download, and share files.
86
+ * * SystemFileDownloader: The role that can download files.
87
+ * * SystemFileEditorWithoutDelete: The role that can edit but cannot edit files.
88
+ * * SystemFileOwner: The role that can collaborate with others on files.
89
+ * * SystemFileDownloaderWithShareLink: The role that can download and share files.
90
+ * * SystemFileUploaderAndViewer: The role that can preview and upload files.
91
+ * * SystemFileViewer: The role that can preview files.
92
+ * * SystemFileEditor: The role that can edit files.
93
+ * * SystemFileUploaderWithShareLink: The role that can upload and share files.
94
+ * * SystemFileUploader: The role that can upload files.
95
+ * * SystemFileUploaderAndDownloader: The role that can upload and download files.
96
+ * * SystemFileMetaViewer: The role that can view file list.
110
97
  *
111
98
  * This parameter is required.
112
99
  *
@@ -147,7 +134,7 @@ export class AddFilePermissionRequestMemberList extends $dara.Model {
147
134
  export class AddFilePermissionRequest extends $dara.Model {
148
135
  /**
149
136
  * @remarks
150
- * The ID of the cloud disk whose folder you want to share.
137
+ * The ID of the enterprise drive.
151
138
  *
152
139
  * This parameter is required.
153
140
  *
@@ -157,7 +144,7 @@ export class AddFilePermissionRequest extends $dara.Model {
157
144
  cdsId?: string;
158
145
  /**
159
146
  * @remarks
160
- * The ID of the end user who uses the cloud disk.
147
+ * The ID of the user who uses the network disk.
161
148
  *
162
149
  * @example
163
150
  * user01
@@ -165,7 +152,7 @@ export class AddFilePermissionRequest extends $dara.Model {
165
152
  endUserId?: string;
166
153
  /**
167
154
  * @remarks
168
- * The ID of the file.
155
+ * The file ID. You can call the [ListCdsFiles](https://help.aliyun.com/document_detail/2247622.html) operation to query the ID of the file.
169
156
  *
170
157
  * This parameter is required.
171
158
  *
@@ -175,7 +162,7 @@ export class AddFilePermissionRequest extends $dara.Model {
175
162
  fileId?: string;
176
163
  /**
177
164
  * @remarks
178
- * The ID of the team that uses cloud disks in Cloud Drive Service.
165
+ * The ID of the team space.
179
166
  *
180
167
  * @example
181
168
  * cg-i1ruuudp92qpj****
@@ -183,14 +170,14 @@ export class AddFilePermissionRequest extends $dara.Model {
183
170
  groupId?: string;
184
171
  /**
185
172
  * @remarks
186
- * The members who are granted the folder permissions.
173
+ * The users that you want to authorize to use the cloud disk.
187
174
  *
188
175
  * This parameter is required.
189
176
  */
190
177
  memberList?: AddFilePermissionRequestMemberList[];
191
178
  /**
192
179
  * @remarks
193
- * The region ID of the folder. You can call the [DescribeRegions](https://help.aliyun.com/document_detail/196646.html) operation to query the most recent region list.
180
+ * 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.
194
181
  *
195
182
  * This parameter is required.
196
183
  *
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class AddFilePermissionShrinkRequest extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The ID of the cloud disk whose folder you want to share.
8
+ * The ID of the enterprise drive.
9
9
  *
10
10
  * This parameter is required.
11
11
  *
@@ -15,7 +15,7 @@ export class AddFilePermissionShrinkRequest 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 network disk.
19
19
  *
20
20
  * @example
21
21
  * user01
@@ -23,7 +23,7 @@ export class AddFilePermissionShrinkRequest extends $dara.Model {
23
23
  endUserId?: string;
24
24
  /**
25
25
  * @remarks
26
- * The ID of the file.
26
+ * The file ID. You can call the [ListCdsFiles](https://help.aliyun.com/document_detail/2247622.html) operation to query the ID of the file.
27
27
  *
28
28
  * This parameter is required.
29
29
  *
@@ -33,7 +33,7 @@ export class AddFilePermissionShrinkRequest extends $dara.Model {
33
33
  fileId?: string;
34
34
  /**
35
35
  * @remarks
36
- * The ID of the team that uses cloud disks in Cloud Drive Service.
36
+ * The ID of the team space.
37
37
  *
38
38
  * @example
39
39
  * cg-i1ruuudp92qpj****
@@ -41,14 +41,14 @@ export class AddFilePermissionShrinkRequest extends $dara.Model {
41
41
  groupId?: string;
42
42
  /**
43
43
  * @remarks
44
- * The members who are granted the folder permissions.
44
+ * The users that you want to authorize to use the cloud disk.
45
45
  *
46
46
  * This parameter is required.
47
47
  */
48
48
  memberListShrink?: string;
49
49
  /**
50
50
  * @remarks
51
- * The region ID of the folder. You can call the [DescribeRegions](https://help.aliyun.com/document_detail/196646.html) operation to query the most recent region list.
51
+ * 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.
52
52
  *
53
53
  * This parameter is required.
54
54
  *
@@ -0,0 +1,78 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class BatchModifyEntitlementRequest extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * This parameter is required.
9
+ */
10
+ desktopId?: string[];
11
+ endUserId?: string[];
12
+ /**
13
+ * @example
14
+ * 0
15
+ */
16
+ maxDesktopPerUser?: number;
17
+ /**
18
+ * @example
19
+ * 1
20
+ */
21
+ maxUserPerDesktop?: number;
22
+ /**
23
+ * @example
24
+ * true
25
+ */
26
+ preview?: boolean;
27
+ /**
28
+ * @remarks
29
+ * This parameter is required.
30
+ *
31
+ * @example
32
+ * cn-hangzhou
33
+ */
34
+ regionId?: string;
35
+ /**
36
+ * @example
37
+ * AVERAGE
38
+ */
39
+ strategy?: string;
40
+ static names(): { [key: string]: string } {
41
+ return {
42
+ desktopId: 'DesktopId',
43
+ endUserId: 'EndUserId',
44
+ maxDesktopPerUser: 'MaxDesktopPerUser',
45
+ maxUserPerDesktop: 'MaxUserPerDesktop',
46
+ preview: 'Preview',
47
+ regionId: 'RegionId',
48
+ strategy: 'Strategy',
49
+ };
50
+ }
51
+
52
+ static types(): { [key: string]: any } {
53
+ return {
54
+ desktopId: { 'type': 'array', 'itemType': 'string' },
55
+ endUserId: { 'type': 'array', 'itemType': 'string' },
56
+ maxDesktopPerUser: 'number',
57
+ maxUserPerDesktop: 'number',
58
+ preview: 'boolean',
59
+ regionId: 'string',
60
+ strategy: 'string',
61
+ };
62
+ }
63
+
64
+ validate() {
65
+ if(Array.isArray(this.desktopId)) {
66
+ $dara.Model.validateArray(this.desktopId);
67
+ }
68
+ if(Array.isArray(this.endUserId)) {
69
+ $dara.Model.validateArray(this.endUserId);
70
+ }
71
+ super.validate();
72
+ }
73
+
74
+ constructor(map?: { [key: string]: any }) {
75
+ super(map);
76
+ }
77
+ }
78
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { BatchModifyEntitlementResponseBody } from "./BatchModifyEntitlementResponseBody";
4
+
5
+
6
+ export class BatchModifyEntitlementResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: BatchModifyEntitlementResponseBody;
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: BatchModifyEntitlementResponseBody,
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,117 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class BatchModifyEntitlementResponseBodyEntitlementsAssignModels extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * ecd-e94kzikmpljjx99pl
9
+ */
10
+ desktopId?: string;
11
+ endUserIds?: string[];
12
+ /**
13
+ * @example
14
+ * FINISHED
15
+ */
16
+ innerStatus?: string;
17
+ static names(): { [key: string]: string } {
18
+ return {
19
+ desktopId: 'DesktopId',
20
+ endUserIds: 'EndUserIds',
21
+ innerStatus: 'InnerStatus',
22
+ };
23
+ }
24
+
25
+ static types(): { [key: string]: any } {
26
+ return {
27
+ desktopId: 'string',
28
+ endUserIds: { 'type': 'array', 'itemType': 'string' },
29
+ innerStatus: 'string',
30
+ };
31
+ }
32
+
33
+ validate() {
34
+ if(Array.isArray(this.endUserIds)) {
35
+ $dara.Model.validateArray(this.endUserIds);
36
+ }
37
+ super.validate();
38
+ }
39
+
40
+ constructor(map?: { [key: string]: any }) {
41
+ super(map);
42
+ }
43
+ }
44
+
45
+ export class BatchModifyEntitlementResponseBodyEntitlements extends $dara.Model {
46
+ assignModels?: BatchModifyEntitlementResponseBodyEntitlementsAssignModels[];
47
+ /**
48
+ * @example
49
+ * FINISHED
50
+ */
51
+ status?: string;
52
+ /**
53
+ * @example
54
+ * B2F4F018-0EDF-159C-B285-117B5F1C****
55
+ */
56
+ taskId?: string;
57
+ static names(): { [key: string]: string } {
58
+ return {
59
+ assignModels: 'AssignModels',
60
+ status: 'Status',
61
+ taskId: 'TaskId',
62
+ };
63
+ }
64
+
65
+ static types(): { [key: string]: any } {
66
+ return {
67
+ assignModels: { 'type': 'array', 'itemType': BatchModifyEntitlementResponseBodyEntitlementsAssignModels },
68
+ status: 'string',
69
+ taskId: 'string',
70
+ };
71
+ }
72
+
73
+ validate() {
74
+ if(Array.isArray(this.assignModels)) {
75
+ $dara.Model.validateArray(this.assignModels);
76
+ }
77
+ super.validate();
78
+ }
79
+
80
+ constructor(map?: { [key: string]: any }) {
81
+ super(map);
82
+ }
83
+ }
84
+
85
+ export class BatchModifyEntitlementResponseBody extends $dara.Model {
86
+ entitlements?: BatchModifyEntitlementResponseBodyEntitlements;
87
+ /**
88
+ * @example
89
+ * 51592A88-0F2C-55E6-AD2C-2AD9C10D****
90
+ */
91
+ requestId?: string;
92
+ static names(): { [key: string]: string } {
93
+ return {
94
+ entitlements: 'Entitlements',
95
+ requestId: 'RequestId',
96
+ };
97
+ }
98
+
99
+ static types(): { [key: string]: any } {
100
+ return {
101
+ entitlements: BatchModifyEntitlementResponseBodyEntitlements,
102
+ requestId: 'string',
103
+ };
104
+ }
105
+
106
+ validate() {
107
+ if(this.entitlements && typeof (this.entitlements as any).validate === 'function') {
108
+ (this.entitlements as any).validate();
109
+ }
110
+ super.validate();
111
+ }
112
+
113
+ constructor(map?: { [key: string]: any }) {
114
+ super(map);
115
+ }
116
+ }
117
+
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class CompleteCdsFileRequest 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 CompleteCdsFileRequest extends $dara.Model {
15
15
  cdsId?: string;
16
16
  /**
17
17
  * @remarks
18
- * The name of the end user.
18
+ * The username. You must specify at least one of `EndUserId` and `GroupId`.
19
19
  *
20
20
  * @example
21
21
  * test0
@@ -23,7 +23,7 @@ export class CompleteCdsFileRequest extends $dara.Model {
23
23
  endUserId?: string;
24
24
  /**
25
25
  * @remarks
26
- * The file ID. An ID is the unique identifier of a file.
26
+ * The file ID.
27
27
  *
28
28
  * This parameter is required.
29
29
  *
@@ -31,10 +31,17 @@ export class CompleteCdsFileRequest extends $dara.Model {
31
31
  * 635a316c94f40f35f5354da29b2aee88c9d1****
32
32
  */
33
33
  fileId?: string;
34
+ /**
35
+ * @remarks
36
+ * The ID of the team space. You must specify at least one of `EndUserId` and `GroupId`.
37
+ *
38
+ * @example
39
+ * cg-i1ruuudp92qpj****
40
+ */
34
41
  groupId?: string;
35
42
  /**
36
43
  * @remarks
37
- * The region ID. You can call the DescribeRegions 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.
38
45
  *
39
46
  * This parameter is required.
40
47
  *
@@ -44,7 +51,7 @@ export class CompleteCdsFileRequest extends $dara.Model {
44
51
  regionId?: string;
45
52
  /**
46
53
  * @remarks
47
- * The ID of the file uploading task.
54
+ * The ID of the file upload task. Callable interface [CreateCdsFile](https://help.aliyun.com/document_detail/2247619.html).
48
55
  *
49
56
  * This parameter is required.
50
57
  *
@@ -148,8 +148,6 @@ export class CreateCdsFileRequest extends $dara.Model {
148
148
  * @remarks
149
149
  * The ID of the parent folder.
150
150
  *
151
- * This parameter is required.
152
- *
153
151
  * @example
154
152
  * 637c9163b453b1a384874264ba79f3f9eab9****
155
153
  */
@@ -689,6 +689,7 @@ export class CreateCenterPolicyRequest extends $dara.Model {
689
689
  */
690
690
  cameraRedirect?: string;
691
691
  clientControlMenu?: string;
692
+ clientCreateSnapshot?: string;
692
693
  /**
693
694
  * @remarks
694
695
  * The types of Alibaba Cloud Workspace clients that end users can use to connect to cloud computers.
@@ -1636,6 +1637,7 @@ export class CreateCenterPolicyRequest extends $dara.Model {
1636
1637
  * on
1637
1638
  */
1638
1639
  watermarkSecurity?: string;
1640
+ watermarkShadow?: string;
1639
1641
  /**
1640
1642
  * @remarks
1641
1643
  * The watermark opacity. A higher value makes the watermark more opaque. Valid values: 10 to 100.
@@ -1696,6 +1698,7 @@ export class CreateCenterPolicyRequest extends $dara.Model {
1696
1698
  businessType: 'BusinessType',
1697
1699
  cameraRedirect: 'CameraRedirect',
1698
1700
  clientControlMenu: 'ClientControlMenu',
1701
+ clientCreateSnapshot: 'ClientCreateSnapshot',
1699
1702
  clientType: 'ClientType',
1700
1703
  clipboard: 'Clipboard',
1701
1704
  clipboardGraineds: 'ClipboardGraineds',
@@ -1801,6 +1804,7 @@ export class CreateCenterPolicyRequest extends $dara.Model {
1801
1804
  watermarkPower: 'WatermarkPower',
1802
1805
  watermarkRowAmount: 'WatermarkRowAmount',
1803
1806
  watermarkSecurity: 'WatermarkSecurity',
1807
+ watermarkShadow: 'WatermarkShadow',
1804
1808
  watermarkTransparencyValue: 'WatermarkTransparencyValue',
1805
1809
  watermarkType: 'WatermarkType',
1806
1810
  wuyingKeeper: 'WuyingKeeper',
@@ -1818,6 +1822,7 @@ export class CreateCenterPolicyRequest extends $dara.Model {
1818
1822
  businessType: 'number',
1819
1823
  cameraRedirect: 'string',
1820
1824
  clientControlMenu: 'string',
1825
+ clientCreateSnapshot: 'string',
1821
1826
  clientType: { 'type': 'array', 'itemType': CreateCenterPolicyRequestClientType },
1822
1827
  clipboard: 'string',
1823
1828
  clipboardGraineds: { 'type': 'array', 'itemType': CreateCenterPolicyRequestClipboardGraineds },
@@ -1923,6 +1928,7 @@ export class CreateCenterPolicyRequest extends $dara.Model {
1923
1928
  watermarkPower: 'string',
1924
1929
  watermarkRowAmount: 'number',
1925
1930
  watermarkSecurity: 'string',
1931
+ watermarkShadow: 'string',
1926
1932
  watermarkTransparencyValue: 'number',
1927
1933
  watermarkType: 'string',
1928
1934
  wuyingKeeper: 'string',
@@ -4,51 +4,95 @@ import * as $dara from '@darabonba/typescript';
4
4
 
5
5
  export class CreateDriveRequest extends $dara.Model {
6
6
  /**
7
+ * @remarks
8
+ * The ID of your Alibaba Cloud account.
9
+ *
7
10
  * @example
8
11
  * 1202****
9
12
  */
10
13
  aliUid?: number;
11
14
  /**
15
+ * @remarks
16
+ * The description of the user-level storage resource.
17
+ *
12
18
  * @example
13
19
  * test01
14
20
  */
15
21
  description?: string;
16
22
  /**
23
+ * @remarks
24
+ * The ID of the storage resource.
25
+ *
26
+ * > Call the DescribeDrives operation to retrieve the storage resource ID.
27
+ *
17
28
  * @example
18
29
  * dom-aaaa****
19
30
  */
20
31
  domainId?: string;
21
32
  /**
33
+ * @remarks
34
+ * The name of the user-level storage resource.
35
+ *
22
36
  * @example
23
37
  * test01
24
38
  */
25
39
  driveName?: string;
26
40
  /**
41
+ * @remarks
42
+ * The ID of the external storage resource.
43
+ *
44
+ * > Call the DescribeDrives operation to retrieve the external storage resource ID.
45
+ *
27
46
  * @example
28
47
  * 1234****
29
48
  */
30
49
  externalDomainId?: string;
31
50
  /**
51
+ * @remarks
52
+ * > This parameter is deprecated.
53
+ *
32
54
  * @example
33
55
  * -
34
56
  */
35
57
  profileRoaming?: boolean;
36
58
  /**
59
+ * @remarks
60
+ * The region ID.
61
+ *
37
62
  * @example
38
63
  * cn-hangzhou
39
64
  */
40
65
  regionId?: string;
41
66
  /**
67
+ * @remarks
68
+ * The type of the storage resource.
69
+ *
70
+ * Valid values:
71
+ *
72
+ * * NAS: File Storage NAS
73
+ * * PDS: Drive and Photo Service
74
+ *
42
75
  * @example
43
76
  * NAS
44
77
  */
45
78
  resourceType?: string;
46
79
  /**
80
+ * @remarks
81
+ * The usage of the storage resource.
82
+ *
83
+ * Valid values:
84
+ *
85
+ * * DESKTOP: data disk space
86
+ * * USER_PROFILE: space for personal data of the user
87
+ *
47
88
  * @example
48
89
  * USER_PROFILE
49
90
  */
50
91
  type?: string;
51
92
  /**
93
+ * @remarks
94
+ * The user ID.
95
+ *
52
96
  * @example
53
97
  * user01
54
98
  */