@alicloud/ecd20200930 5.2.0 → 5.4.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 (232) hide show
  1. package/dist/client.d.ts +334 -64
  2. package/dist/client.js +718 -64
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/ConfigAdconnectorTrustRequest.d.ts +1 -1
  5. package/dist/models/CreateDesktopsRequest.d.ts +56 -45
  6. package/dist/models/CreateDesktopsRequest.js +2 -0
  7. package/dist/models/CreateDesktopsRequest.js.map +1 -1
  8. package/dist/models/CreateDesktopsShrinkRequest.d.ts +41 -33
  9. package/dist/models/CreateDesktopsShrinkRequest.js +2 -0
  10. package/dist/models/CreateDesktopsShrinkRequest.js.map +1 -1
  11. package/dist/models/CreateDriveResponseBody.d.ts +1 -1
  12. package/dist/models/CreateNasfileSystemRequest.d.ts +18 -2
  13. package/dist/models/CreateNasfileSystemRequest.js +4 -0
  14. package/dist/models/CreateNasfileSystemRequest.js.map +1 -1
  15. package/dist/models/CreateNasfileSystemResponseBody.d.ts +8 -0
  16. package/dist/models/CreateNasfileSystemResponseBody.js +2 -0
  17. package/dist/models/CreateNasfileSystemResponseBody.js.map +1 -1
  18. package/dist/models/CreateOfficeSiteAcceleratorRequest.d.ts +7 -8
  19. package/dist/models/CreateOfficeSiteAcceleratorRequest.js.map +1 -1
  20. package/dist/models/CreateOfficeSiteAcceleratorResponseBody.d.ts +1 -1
  21. package/dist/models/CreateTemplateRequest.d.ts +34 -18
  22. package/dist/models/CreateTemplateRequest.js +4 -0
  23. package/dist/models/CreateTemplateRequest.js.map +1 -1
  24. package/dist/models/CreateTemplateResponseBody.d.ts +1 -1
  25. package/dist/models/DeleteDesktopsRequest.d.ts +1 -1
  26. package/dist/models/DeleteTemplatesResponseBody.d.ts +3 -6
  27. package/dist/models/DeleteTemplatesResponseBody.js.map +1 -1
  28. package/dist/models/DescribeCloudDiskGroupDrivesRequest.d.ts +3 -3
  29. package/dist/models/DescribeCloudDiskGroupDrivesResponseBody.d.ts +11 -3
  30. package/dist/models/DescribeCloudDiskGroupDrivesResponseBody.js +2 -0
  31. package/dist/models/DescribeCloudDiskGroupDrivesResponseBody.js.map +1 -1
  32. package/dist/models/DescribeDesktopsRequest.d.ts +26 -8
  33. package/dist/models/DescribeDesktopsRequest.js +2 -0
  34. package/dist/models/DescribeDesktopsRequest.js.map +1 -1
  35. package/dist/models/DescribeDesktopsResponseBody.d.ts +22 -7
  36. package/dist/models/DescribeDesktopsResponseBody.js +6 -0
  37. package/dist/models/DescribeDesktopsResponseBody.js.map +1 -1
  38. package/dist/models/DescribeFlowMetricRequest.d.ts +5 -5
  39. package/dist/models/DescribeGlobalDesktopRecordsRequest.d.ts +7 -7
  40. package/dist/models/DescribeGlobalDesktopRecordsResponseBody.d.ts +12 -5
  41. package/dist/models/DescribeGlobalDesktopRecordsResponseBody.js +2 -0
  42. package/dist/models/DescribeGlobalDesktopRecordsResponseBody.js.map +1 -1
  43. package/dist/models/DescribeInvocationsRequest.d.ts +6 -6
  44. package/dist/models/DescribeInvocationsResponseBody.d.ts +26 -26
  45. package/dist/models/DescribeNasfileSystemsRequest.d.ts +2 -2
  46. package/dist/models/DescribeNasfileSystemsResponseBody.d.ts +23 -4
  47. package/dist/models/DescribeNasfileSystemsResponseBody.js +2 -0
  48. package/dist/models/DescribeNasfileSystemsResponseBody.js.map +1 -1
  49. package/dist/models/DescribeOfficeSitesRequest.d.ts +6 -6
  50. package/dist/models/DescribeOfficeSitesResponseBody.d.ts +23 -23
  51. package/dist/models/DescribePeripheralDriversRequest.d.ts +86 -0
  52. package/dist/models/DescribePeripheralDriversRequest.js +77 -0
  53. package/dist/models/DescribePeripheralDriversRequest.js.map +1 -0
  54. package/dist/models/DescribePeripheralDriversResponse.d.ts +19 -0
  55. package/dist/models/DescribePeripheralDriversResponse.js +69 -0
  56. package/dist/models/DescribePeripheralDriversResponse.js.map +1 -0
  57. package/dist/models/DescribePeripheralDriversResponseBody.d.ts +141 -0
  58. package/dist/models/DescribePeripheralDriversResponseBody.js +104 -0
  59. package/dist/models/DescribePeripheralDriversResponseBody.js.map +1 -0
  60. package/dist/models/DescribeRecordFileRequest.d.ts +18 -5
  61. package/dist/models/DescribeRecordFileRequest.js +2 -0
  62. package/dist/models/DescribeRecordFileRequest.js.map +1 -1
  63. package/dist/models/DescribeRecordFileResponseBody.d.ts +14 -9
  64. package/dist/models/DescribeRecordFileResponseBody.js +5 -0
  65. package/dist/models/DescribeRecordFileResponseBody.js.map +1 -1
  66. package/dist/models/DescribeRenewalPriceRequest.d.ts +4 -4
  67. package/dist/models/DescribeRenewalPriceResponseBody.d.ts +3 -3
  68. package/dist/models/DescribeSnapshotsRequest.d.ts +4 -4
  69. package/dist/models/DescribeSnapshotsResponseBody.d.ts +2 -2
  70. package/dist/models/DescribeTemplatesRequest.d.ts +5 -8
  71. package/dist/models/DescribeTemplatesRequest.js.map +1 -1
  72. package/dist/models/DescribeTemplatesResponseBody.d.ts +39 -12
  73. package/dist/models/DescribeTemplatesResponseBody.js +4 -0
  74. package/dist/models/DescribeTemplatesResponseBody.js.map +1 -1
  75. package/dist/models/DescribeVulDesktopsRequest.d.ts +156 -0
  76. package/dist/models/DescribeVulDesktopsRequest.js +96 -0
  77. package/dist/models/DescribeVulDesktopsRequest.js.map +1 -0
  78. package/dist/models/DescribeVulDesktopsResponse.d.ts +19 -0
  79. package/dist/models/DescribeVulDesktopsResponse.js +69 -0
  80. package/dist/models/DescribeVulDesktopsResponse.js.map +1 -0
  81. package/dist/models/DescribeVulDesktopsResponseBody.d.ts +289 -0
  82. package/dist/models/DescribeVulDesktopsResponseBody.js +181 -0
  83. package/dist/models/DescribeVulDesktopsResponseBody.js.map +1 -0
  84. package/dist/models/DescribeVulnerabilityRequest.d.ts +78 -0
  85. package/dist/models/DescribeVulnerabilityRequest.js +72 -0
  86. package/dist/models/DescribeVulnerabilityRequest.js.map +1 -0
  87. package/dist/models/DescribeVulnerabilityResponse.d.ts +19 -0
  88. package/dist/models/DescribeVulnerabilityResponse.js +69 -0
  89. package/dist/models/DescribeVulnerabilityResponse.js.map +1 -0
  90. package/dist/models/DescribeVulnerabilityResponseBody.d.ts +267 -0
  91. package/dist/models/DescribeVulnerabilityResponseBody.js +172 -0
  92. package/dist/models/DescribeVulnerabilityResponseBody.js.map +1 -0
  93. package/dist/models/DownloadCdsFileResponseBody.d.ts +1 -1
  94. package/dist/models/GetAggregatedDesktopsRequest.d.ts +37 -0
  95. package/dist/models/GetAggregatedDesktopsRequest.js +62 -0
  96. package/dist/models/GetAggregatedDesktopsRequest.js.map +1 -0
  97. package/dist/models/GetAggregatedDesktopsResponse.d.ts +19 -0
  98. package/dist/models/GetAggregatedDesktopsResponse.js +69 -0
  99. package/dist/models/GetAggregatedDesktopsResponse.js.map +1 -0
  100. package/dist/models/GetAggregatedDesktopsResponseBody.d.ts +46 -0
  101. package/dist/models/GetAggregatedDesktopsResponseBody.js +85 -0
  102. package/dist/models/GetAggregatedDesktopsResponseBody.js.map +1 -0
  103. package/dist/models/GetConnectionTicketRequest.d.ts +12 -4
  104. package/dist/models/GetConnectionTicketRequest.js +2 -0
  105. package/dist/models/GetConnectionTicketRequest.js.map +1 -1
  106. package/dist/models/GetConnectionTicketResponseBody.d.ts +3 -3
  107. package/dist/models/ListDirectoryUsersRequest.d.ts +3 -3
  108. package/dist/models/ListDirectoryUsersResponseBody.d.ts +3 -3
  109. package/dist/models/MigrateDesktopsRequest.d.ts +3 -3
  110. package/dist/models/ModifyTemplateBaseInfoRequest.d.ts +9 -1
  111. package/dist/models/ModifyTemplateBaseInfoRequest.js +2 -0
  112. package/dist/models/ModifyTemplateBaseInfoRequest.js.map +1 -1
  113. package/dist/models/ModifyTemplateRequest.d.ts +26 -10
  114. package/dist/models/ModifyTemplateRequest.js +4 -0
  115. package/dist/models/ModifyTemplateRequest.js.map +1 -1
  116. package/dist/models/ModifyUserEntitlementRequest.d.ts +4 -4
  117. package/dist/models/QueryActiveUserStatisticRequest.d.ts +72 -0
  118. package/dist/models/QueryActiveUserStatisticRequest.js +66 -0
  119. package/dist/models/QueryActiveUserStatisticRequest.js.map +1 -0
  120. package/dist/models/QueryActiveUserStatisticResponse.d.ts +19 -0
  121. package/dist/models/QueryActiveUserStatisticResponse.js +69 -0
  122. package/dist/models/QueryActiveUserStatisticResponse.js.map +1 -0
  123. package/dist/models/QueryActiveUserStatisticResponseBody.d.ts +70 -0
  124. package/dist/models/QueryActiveUserStatisticResponseBody.js +88 -0
  125. package/dist/models/QueryActiveUserStatisticResponseBody.js.map +1 -0
  126. package/dist/models/QueryAuthUserConnectDurationListRequest.d.ts +93 -0
  127. package/dist/models/QueryAuthUserConnectDurationListRequest.js +76 -0
  128. package/dist/models/QueryAuthUserConnectDurationListRequest.js.map +1 -0
  129. package/dist/models/QueryAuthUserConnectDurationListResponse.d.ts +19 -0
  130. package/dist/models/QueryAuthUserConnectDurationListResponse.js +69 -0
  131. package/dist/models/QueryAuthUserConnectDurationListResponse.js.map +1 -0
  132. package/dist/models/QueryAuthUserConnectDurationListResponseBody.d.ts +171 -0
  133. package/dist/models/QueryAuthUserConnectDurationListResponseBody.js +112 -0
  134. package/dist/models/QueryAuthUserConnectDurationListResponseBody.js.map +1 -0
  135. package/dist/models/QueryEndUserHistoryUsageRequest.d.ts +50 -0
  136. package/dist/models/QueryEndUserHistoryUsageRequest.js +66 -0
  137. package/dist/models/QueryEndUserHistoryUsageRequest.js.map +1 -0
  138. package/dist/models/QueryEndUserHistoryUsageResponse.d.ts +19 -0
  139. package/dist/models/QueryEndUserHistoryUsageResponse.js +69 -0
  140. package/dist/models/QueryEndUserHistoryUsageResponse.js.map +1 -0
  141. package/dist/models/QueryEndUserHistoryUsageResponseBody.d.ts +165 -0
  142. package/dist/models/QueryEndUserHistoryUsageResponseBody.js +151 -0
  143. package/dist/models/QueryEndUserHistoryUsageResponseBody.js.map +1 -0
  144. package/dist/models/QueryHistoryActiveUserStatisticRequest.d.ts +61 -0
  145. package/dist/models/QueryHistoryActiveUserStatisticRequest.js +68 -0
  146. package/dist/models/QueryHistoryActiveUserStatisticRequest.js.map +1 -0
  147. package/dist/models/QueryHistoryActiveUserStatisticResponse.d.ts +19 -0
  148. package/dist/models/QueryHistoryActiveUserStatisticResponse.js +69 -0
  149. package/dist/models/QueryHistoryActiveUserStatisticResponse.js.map +1 -0
  150. package/dist/models/QueryHistoryActiveUserStatisticResponseBody.d.ts +70 -0
  151. package/dist/models/QueryHistoryActiveUserStatisticResponseBody.js +88 -0
  152. package/dist/models/QueryHistoryActiveUserStatisticResponseBody.js.map +1 -0
  153. package/dist/models/RebootDesktopsRequest.d.ts +9 -2
  154. package/dist/models/RebootDesktopsRequest.js.map +1 -1
  155. package/dist/models/RunCommandRequest.d.ts +8 -5
  156. package/dist/models/RunCommandRequest.js.map +1 -1
  157. package/dist/models/StartDesktopsRequest.d.ts +2 -2
  158. package/dist/models/model.d.ts +38 -0
  159. package/dist/models/model.js +98 -21
  160. package/dist/models/model.js.map +1 -1
  161. package/package.json +1 -1
  162. package/src/client.ts +806 -64
  163. package/src/models/ConfigAdconnectorTrustRequest.ts +1 -1
  164. package/src/models/CreateDesktopsRequest.ts +58 -45
  165. package/src/models/CreateDesktopsShrinkRequest.ts +43 -33
  166. package/src/models/CreateDriveResponseBody.ts +1 -1
  167. package/src/models/CreateNasfileSystemRequest.ts +22 -2
  168. package/src/models/CreateNasfileSystemResponseBody.ts +10 -0
  169. package/src/models/CreateOfficeSiteAcceleratorRequest.ts +7 -8
  170. package/src/models/CreateOfficeSiteAcceleratorResponseBody.ts +1 -1
  171. package/src/models/CreateTemplateRequest.ts +38 -18
  172. package/src/models/CreateTemplateResponseBody.ts +1 -1
  173. package/src/models/DeleteDesktopsRequest.ts +1 -1
  174. package/src/models/DeleteTemplatesResponseBody.ts +3 -6
  175. package/src/models/DescribeCloudDiskGroupDrivesRequest.ts +3 -3
  176. package/src/models/DescribeCloudDiskGroupDrivesResponseBody.ts +13 -3
  177. package/src/models/DescribeDesktopsRequest.ts +28 -8
  178. package/src/models/DescribeDesktopsResponseBody.ts +28 -7
  179. package/src/models/DescribeFlowMetricRequest.ts +5 -5
  180. package/src/models/DescribeGlobalDesktopRecordsRequest.ts +7 -7
  181. package/src/models/DescribeGlobalDesktopRecordsResponseBody.ts +14 -5
  182. package/src/models/DescribeInvocationsRequest.ts +6 -6
  183. package/src/models/DescribeInvocationsResponseBody.ts +26 -26
  184. package/src/models/DescribeNasfileSystemsRequest.ts +2 -2
  185. package/src/models/DescribeNasfileSystemsResponseBody.ts +25 -4
  186. package/src/models/DescribeOfficeSitesRequest.ts +6 -6
  187. package/src/models/DescribeOfficeSitesResponseBody.ts +23 -23
  188. package/src/models/DescribePeripheralDriversRequest.ts +118 -0
  189. package/src/models/DescribePeripheralDriversResponse.ts +40 -0
  190. package/src/models/DescribePeripheralDriversResponseBody.ts +191 -0
  191. package/src/models/DescribeRecordFileRequest.ts +20 -5
  192. package/src/models/DescribeRecordFileResponseBody.ts +19 -9
  193. package/src/models/DescribeRenewalPriceRequest.ts +4 -4
  194. package/src/models/DescribeRenewalPriceResponseBody.ts +3 -3
  195. package/src/models/DescribeSnapshotsRequest.ts +4 -4
  196. package/src/models/DescribeSnapshotsResponseBody.ts +2 -2
  197. package/src/models/DescribeTemplatesRequest.ts +5 -8
  198. package/src/models/DescribeTemplatesResponseBody.ts +43 -12
  199. package/src/models/DescribeVulDesktopsRequest.ts +207 -0
  200. package/src/models/DescribeVulDesktopsResponse.ts +40 -0
  201. package/src/models/DescribeVulDesktopsResponseBody.ts +398 -0
  202. package/src/models/DescribeVulnerabilityRequest.ts +105 -0
  203. package/src/models/DescribeVulnerabilityResponse.ts +40 -0
  204. package/src/models/DescribeVulnerabilityResponseBody.ts +367 -0
  205. package/src/models/DownloadCdsFileResponseBody.ts +1 -1
  206. package/src/models/GetAggregatedDesktopsRequest.ts +54 -0
  207. package/src/models/GetAggregatedDesktopsResponse.ts +40 -0
  208. package/src/models/GetAggregatedDesktopsResponseBody.ts +75 -0
  209. package/src/models/GetConnectionTicketRequest.ts +14 -4
  210. package/src/models/GetConnectionTicketResponseBody.ts +3 -3
  211. package/src/models/ListDirectoryUsersRequest.ts +3 -3
  212. package/src/models/ListDirectoryUsersResponseBody.ts +3 -3
  213. package/src/models/MigrateDesktopsRequest.ts +3 -3
  214. package/src/models/ModifyTemplateBaseInfoRequest.ts +11 -1
  215. package/src/models/ModifyTemplateRequest.ts +30 -10
  216. package/src/models/ModifyUserEntitlementRequest.ts +4 -4
  217. package/src/models/QueryActiveUserStatisticRequest.ts +93 -0
  218. package/src/models/QueryActiveUserStatisticResponse.ts +40 -0
  219. package/src/models/QueryActiveUserStatisticResponseBody.ts +104 -0
  220. package/src/models/QueryAuthUserConnectDurationListRequest.ts +124 -0
  221. package/src/models/QueryAuthUserConnectDurationListResponse.ts +40 -0
  222. package/src/models/QueryAuthUserConnectDurationListResponseBody.ts +229 -0
  223. package/src/models/QueryEndUserHistoryUsageRequest.ts +71 -0
  224. package/src/models/QueryEndUserHistoryUsageResponse.ts +40 -0
  225. package/src/models/QueryEndUserHistoryUsageResponseBody.ts +244 -0
  226. package/src/models/QueryHistoryActiveUserStatisticRequest.ts +84 -0
  227. package/src/models/QueryHistoryActiveUserStatisticResponse.ts +40 -0
  228. package/src/models/QueryHistoryActiveUserStatisticResponseBody.ts +104 -0
  229. package/src/models/RebootDesktopsRequest.ts +9 -2
  230. package/src/models/RunCommandRequest.ts +8 -5
  231. package/src/models/StartDesktopsRequest.ts +2 -2
  232. package/src/models/model.ts +38 -0
@@ -0,0 +1,367 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class DescribeVulnerabilityResponseBodyVulnerabilityPatchesCves extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The CVE ID.
9
+ *
10
+ * @example
11
+ * CVE-2026-62690
12
+ */
13
+ cveId?: string;
14
+ /**
15
+ * @remarks
16
+ * The vulnerability severity level.
17
+ *
18
+ * @example
19
+ * low
20
+ */
21
+ cveLevel?: string;
22
+ /**
23
+ * @remarks
24
+ * The vulnerability name.
25
+ *
26
+ * @example
27
+ * Windows Push Notification Elevation of Privilege Vulnerability
28
+ */
29
+ cveTitle?: string;
30
+ /**
31
+ * @remarks
32
+ * The CVE URL.
33
+ *
34
+ * @example
35
+ * https://avd.aliyun.com/detail/CVE-2026-62690
36
+ */
37
+ cveUrl?: string;
38
+ /**
39
+ * @remarks
40
+ * The impact score.
41
+ *
42
+ * @example
43
+ * 7.0
44
+ */
45
+ impactScore?: string;
46
+ /**
47
+ * @remarks
48
+ * The reference URL.
49
+ *
50
+ * @example
51
+ * https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-62690
52
+ */
53
+ referenceUrl?: string;
54
+ /**
55
+ * @remarks
56
+ * The vulnerability disclosure time in the yyyy-MM-dd HH:mm:ss format.
57
+ *
58
+ * @example
59
+ * 2026-08-11 07:00:00
60
+ */
61
+ releaseTime?: string;
62
+ static names(): { [key: string]: string } {
63
+ return {
64
+ cveId: 'CveId',
65
+ cveLevel: 'CveLevel',
66
+ cveTitle: 'CveTitle',
67
+ cveUrl: 'CveUrl',
68
+ impactScore: 'ImpactScore',
69
+ referenceUrl: 'ReferenceUrl',
70
+ releaseTime: 'ReleaseTime',
71
+ };
72
+ }
73
+
74
+ static types(): { [key: string]: any } {
75
+ return {
76
+ cveId: 'string',
77
+ cveLevel: 'string',
78
+ cveTitle: 'string',
79
+ cveUrl: 'string',
80
+ impactScore: 'string',
81
+ referenceUrl: 'string',
82
+ releaseTime: 'string',
83
+ };
84
+ }
85
+
86
+ validate() {
87
+ super.validate();
88
+ }
89
+
90
+ constructor(map?: { [key: string]: any }) {
91
+ super(map);
92
+ }
93
+ }
94
+
95
+ export class DescribeVulnerabilityResponseBodyVulnerabilityPatches extends $dara.Model {
96
+ /**
97
+ * @remarks
98
+ * The list of CVE details associated with the patch.
99
+ */
100
+ cves?: DescribeVulnerabilityResponseBodyVulnerabilityPatchesCves[];
101
+ /**
102
+ * @remarks
103
+ * The patch disclosure time.
104
+ *
105
+ * @example
106
+ * 2026-08-11 00:00:00
107
+ */
108
+ firstDetectedAt?: string;
109
+ /**
110
+ * @remarks
111
+ * The patch ID.
112
+ *
113
+ * @example
114
+ * KB5120238
115
+ */
116
+ patchId?: string;
117
+ /**
118
+ * @remarks
119
+ * The patch level.
120
+ *
121
+ * @example
122
+ * high
123
+ */
124
+ patchLevel?: string;
125
+ /**
126
+ * @remarks
127
+ * The patch title.
128
+ *
129
+ * @example
130
+ * 2026-08 Cumulative Update for Windows Server 2019 for x64-based Systems (KB5120238)
131
+ */
132
+ patchTitle?: string;
133
+ /**
134
+ * @remarks
135
+ * The URL of the patch.
136
+ *
137
+ * @example
138
+ * https://support.microsoft.com/help/5120238
139
+ */
140
+ patchUrl?: string;
141
+ /**
142
+ * @remarks
143
+ * The number of cloud desktops that can be upgraded to this version.
144
+ *
145
+ * @example
146
+ * 20
147
+ */
148
+ pendingDesktopCount?: number;
149
+ static names(): { [key: string]: string } {
150
+ return {
151
+ cves: 'Cves',
152
+ firstDetectedAt: 'FirstDetectedAt',
153
+ patchId: 'PatchId',
154
+ patchLevel: 'PatchLevel',
155
+ patchTitle: 'PatchTitle',
156
+ patchUrl: 'PatchUrl',
157
+ pendingDesktopCount: 'PendingDesktopCount',
158
+ };
159
+ }
160
+
161
+ static types(): { [key: string]: any } {
162
+ return {
163
+ cves: { 'type': 'array', 'itemType': DescribeVulnerabilityResponseBodyVulnerabilityPatchesCves },
164
+ firstDetectedAt: 'string',
165
+ patchId: 'string',
166
+ patchLevel: 'string',
167
+ patchTitle: 'string',
168
+ patchUrl: 'string',
169
+ pendingDesktopCount: 'number',
170
+ };
171
+ }
172
+
173
+ validate() {
174
+ if(Array.isArray(this.cves)) {
175
+ $dara.Model.validateArray(this.cves);
176
+ }
177
+ super.validate();
178
+ }
179
+
180
+ constructor(map?: { [key: string]: any }) {
181
+ super(map);
182
+ }
183
+ }
184
+
185
+ export class DescribeVulnerabilityResponseBodyVulnerability extends $dara.Model {
186
+ /**
187
+ * @remarks
188
+ * The number of cloud desktops on which no vulnerabilities are detected.
189
+ *
190
+ * @example
191
+ * 100
192
+ */
193
+ cleanDesktopCount?: number;
194
+ /**
195
+ * @remarks
196
+ * The total number of processed vulnerabilities.
197
+ *
198
+ * @example
199
+ * 600
200
+ */
201
+ cumulativeProcessedVulCount?: number;
202
+ /**
203
+ * @remarks
204
+ * The number of cloud desktops that failed to be fixed this month.
205
+ *
206
+ * @example
207
+ * 0
208
+ */
209
+ fixFailedDesktopCountThisMonth?: number;
210
+ /**
211
+ * @remarks
212
+ * The number of cloud desktops that are fixed this month.
213
+ *
214
+ * @example
215
+ * 20
216
+ */
217
+ fixedDesktopCountThisMonth?: number;
218
+ /**
219
+ * @remarks
220
+ * The list of patch details.
221
+ */
222
+ patches?: DescribeVulnerabilityResponseBodyVulnerabilityPatches[];
223
+ /**
224
+ * @remarks
225
+ * The number of vulnerabilities pending fix.
226
+ *
227
+ * @example
228
+ * 330
229
+ */
230
+ pendingVulCount?: number;
231
+ /**
232
+ * @remarks
233
+ * The number of cloud desktops being fixed.
234
+ *
235
+ * @example
236
+ * 160
237
+ */
238
+ remediationInProgressDesktopCount?: number;
239
+ /**
240
+ * @remarks
241
+ * The total number of cloud desktops managed by patch management.
242
+ *
243
+ * @example
244
+ * 1000
245
+ */
246
+ totalDesktopCount?: number;
247
+ /**
248
+ * @remarks
249
+ * The number of cloud desktops for which updates are blocked.
250
+ *
251
+ * @example
252
+ * 10
253
+ */
254
+ updateBlockedDesktopCount?: number;
255
+ /**
256
+ * @remarks
257
+ * The number of cloud desktops with vulnerabilities.
258
+ *
259
+ * @example
260
+ * 200
261
+ */
262
+ vulnerableDesktopCount?: number;
263
+ static names(): { [key: string]: string } {
264
+ return {
265
+ cleanDesktopCount: 'CleanDesktopCount',
266
+ cumulativeProcessedVulCount: 'CumulativeProcessedVulCount',
267
+ fixFailedDesktopCountThisMonth: 'FixFailedDesktopCountThisMonth',
268
+ fixedDesktopCountThisMonth: 'FixedDesktopCountThisMonth',
269
+ patches: 'Patches',
270
+ pendingVulCount: 'PendingVulCount',
271
+ remediationInProgressDesktopCount: 'RemediationInProgressDesktopCount',
272
+ totalDesktopCount: 'TotalDesktopCount',
273
+ updateBlockedDesktopCount: 'UpdateBlockedDesktopCount',
274
+ vulnerableDesktopCount: 'VulnerableDesktopCount',
275
+ };
276
+ }
277
+
278
+ static types(): { [key: string]: any } {
279
+ return {
280
+ cleanDesktopCount: 'number',
281
+ cumulativeProcessedVulCount: 'number',
282
+ fixFailedDesktopCountThisMonth: 'number',
283
+ fixedDesktopCountThisMonth: 'number',
284
+ patches: { 'type': 'array', 'itemType': DescribeVulnerabilityResponseBodyVulnerabilityPatches },
285
+ pendingVulCount: 'number',
286
+ remediationInProgressDesktopCount: 'number',
287
+ totalDesktopCount: 'number',
288
+ updateBlockedDesktopCount: 'number',
289
+ vulnerableDesktopCount: 'number',
290
+ };
291
+ }
292
+
293
+ validate() {
294
+ if(Array.isArray(this.patches)) {
295
+ $dara.Model.validateArray(this.patches);
296
+ }
297
+ super.validate();
298
+ }
299
+
300
+ constructor(map?: { [key: string]: any }) {
301
+ super(map);
302
+ }
303
+ }
304
+
305
+ export class DescribeVulnerabilityResponseBody extends $dara.Model {
306
+ /**
307
+ * @remarks
308
+ * The number of entries per page for a paged query.
309
+ *
310
+ * - Maximum value: 100.
311
+ * - Default value: 10.
312
+ *
313
+ * @example
314
+ * 10
315
+ */
316
+ maxResults?: number;
317
+ /**
318
+ * @remarks
319
+ * The pagination token for the next query.
320
+ *
321
+ * @example
322
+ * caeba0bbb2be03f84eb48b699f0a4883
323
+ */
324
+ nextToken?: string;
325
+ /**
326
+ * @remarks
327
+ * The request ID.
328
+ *
329
+ * @example
330
+ * 1CBAFFAB-B697-4049-A9B1-67E1FC5F****
331
+ */
332
+ requestId?: string;
333
+ /**
334
+ * @remarks
335
+ * The cloud desktop and vulnerability details.
336
+ */
337
+ vulnerability?: DescribeVulnerabilityResponseBodyVulnerability;
338
+ static names(): { [key: string]: string } {
339
+ return {
340
+ maxResults: 'MaxResults',
341
+ nextToken: 'NextToken',
342
+ requestId: 'RequestId',
343
+ vulnerability: 'Vulnerability',
344
+ };
345
+ }
346
+
347
+ static types(): { [key: string]: any } {
348
+ return {
349
+ maxResults: 'number',
350
+ nextToken: 'string',
351
+ requestId: 'string',
352
+ vulnerability: DescribeVulnerabilityResponseBodyVulnerability,
353
+ };
354
+ }
355
+
356
+ validate() {
357
+ if(this.vulnerability && typeof (this.vulnerability as any).validate === 'function') {
358
+ (this.vulnerability as any).validate();
359
+ }
360
+ super.validate();
361
+ }
362
+
363
+ constructor(map?: { [key: string]: any }) {
364
+ super(map);
365
+ }
366
+ }
367
+
@@ -29,7 +29,7 @@ export class DownloadCdsFileResponseBodyDownloadFileModel extends $dara.Model {
29
29
  expirationSecond?: string;
30
30
  /**
31
31
  * @remarks
32
- * The expiration time of the file download URL.
32
+ * The expiration time of the file download URL. The time follows the ISO 8601 standard in UTC and is accurate to milliseconds. Format: yyyy-MM-ddTHH:mm:ss.SSSZ.
33
33
  *
34
34
  * @example
35
35
  * 2024-07-18T02:55:49.795Z
@@ -0,0 +1,54 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class GetAggregatedDesktopsRequest extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The aggregation factor.
9
+ *
10
+ * @example
11
+ * STATUS
12
+ */
13
+ aggregationFactor?: string;
14
+ /**
15
+ * @remarks
16
+ * The region ID. You can call [DescribeRegions](https://help.aliyun.com/document_detail/196646.html) to query the list of regions supported by WUYING Workspace.
17
+ *
18
+ * @example
19
+ * cn-shanghai
20
+ */
21
+ regionId?: string;
22
+ /**
23
+ * @remarks
24
+ * The search region ID. Used to filter desktop information for a specified region.
25
+ *
26
+ * @example
27
+ * cn-shanghai
28
+ */
29
+ searchRegionId?: string;
30
+ static names(): { [key: string]: string } {
31
+ return {
32
+ aggregationFactor: 'AggregationFactor',
33
+ regionId: 'RegionId',
34
+ searchRegionId: 'SearchRegionId',
35
+ };
36
+ }
37
+
38
+ static types(): { [key: string]: any } {
39
+ return {
40
+ aggregationFactor: 'string',
41
+ regionId: 'string',
42
+ searchRegionId: 'string',
43
+ };
44
+ }
45
+
46
+ validate() {
47
+ super.validate();
48
+ }
49
+
50
+ constructor(map?: { [key: string]: any }) {
51
+ super(map);
52
+ }
53
+ }
54
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { GetAggregatedDesktopsResponseBody } from "./GetAggregatedDesktopsResponseBody";
4
+
5
+
6
+ export class GetAggregatedDesktopsResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: GetAggregatedDesktopsResponseBody;
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: GetAggregatedDesktopsResponseBody,
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,75 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class GetAggregatedDesktopsResponseBodyAggregations extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The aggregation results.
9
+ */
10
+ desktopAggregation?: { [key: string]: string }[];
11
+ static names(): { [key: string]: string } {
12
+ return {
13
+ desktopAggregation: 'DesktopAggregation',
14
+ };
15
+ }
16
+
17
+ static types(): { [key: string]: any } {
18
+ return {
19
+ desktopAggregation: { 'type': 'array', 'itemType': { 'type': 'map', 'keyType': 'string', 'valueType': 'string' } },
20
+ };
21
+ }
22
+
23
+ validate() {
24
+ if(Array.isArray(this.desktopAggregation)) {
25
+ $dara.Model.validateArray(this.desktopAggregation);
26
+ }
27
+ super.validate();
28
+ }
29
+
30
+ constructor(map?: { [key: string]: any }) {
31
+ super(map);
32
+ }
33
+ }
34
+
35
+ export class GetAggregatedDesktopsResponseBody extends $dara.Model {
36
+ /**
37
+ * @remarks
38
+ * The list of aggregation field information.
39
+ * >Notice: When you use an aggregate query, only aggregation results are returned. The list of matched metadata is not returned.
40
+ */
41
+ aggregations?: GetAggregatedDesktopsResponseBodyAggregations;
42
+ /**
43
+ * @remarks
44
+ * Id of the request
45
+ *
46
+ * @example
47
+ * 3147E094-C1F7-5001-8F04-C8CEE75D6552
48
+ */
49
+ requestId?: string;
50
+ static names(): { [key: string]: string } {
51
+ return {
52
+ aggregations: 'Aggregations',
53
+ requestId: 'RequestId',
54
+ };
55
+ }
56
+
57
+ static types(): { [key: string]: any } {
58
+ return {
59
+ aggregations: GetAggregatedDesktopsResponseBodyAggregations,
60
+ requestId: 'string',
61
+ };
62
+ }
63
+
64
+ validate() {
65
+ if(this.aggregations && typeof (this.aggregations as any).validate === 'function') {
66
+ (this.aggregations as any).validate();
67
+ }
68
+ super.validate();
69
+ }
70
+
71
+ constructor(map?: { [key: string]: any }) {
72
+ super(map);
73
+ }
74
+ }
75
+
@@ -5,10 +5,18 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class GetConnectionTicketRequest extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * Specifies a custom user-mode application that is automatically started after the credential is obtained.
8
+ * The client type.
9
9
  *
10
- * - appPath: a value of the String type that specifies the application startup file path, such as `"C:\\Program Files (x86)\\000\\000.exe"`. Use double backslashes (\\\\) as path separators.
11
- * - appParameter: a value of the String type that specifies the application startup parameters, such as `"meetingid 000 meetingname aaa"`. Separate parameters with spaces.
10
+ * @example
11
+ * macos
12
+ */
13
+ clientType?: string;
14
+ /**
15
+ * @remarks
16
+ * The custom user-mode application to configure. After the credential is obtained, the application is automatically started.
17
+ *
18
+ * - appPath: a value of the STRING type that specifies the path of the application startup file. Example: `"C:\\Program Files (x86)\\000\\000.exe"`. Use double backslashes (\\\\) as path separators.
19
+ * - appParameter: a value of the STRING type that specifies the application startup parameters. Example: `"meetingid 000 meetingname aaa"`. Separate parameters with spaces.
12
20
  *
13
21
  * @example
14
22
  * {
@@ -30,7 +38,7 @@ export class GetConnectionTicketRequest extends $dara.Model {
30
38
  commandContent?: string;
31
39
  /**
32
40
  * @remarks
33
- * The ID of the cloud computer for which to generate a connection credential. This parameter is required to generate the credential.
41
+ * The ID of the cloud computer for which you want to generate a connection credential. This parameter is required to generate the credential.
34
42
  *
35
43
  * @example
36
44
  * ecd-gx2x1dhsmucyy****
@@ -83,6 +91,7 @@ export class GetConnectionTicketRequest extends $dara.Model {
83
91
  uuid?: string;
84
92
  static names(): { [key: string]: string } {
85
93
  return {
94
+ clientType: 'ClientType',
86
95
  commandContent: 'CommandContent',
87
96
  desktopId: 'DesktopId',
88
97
  endUserId: 'EndUserId',
@@ -98,6 +107,7 @@ export class GetConnectionTicketRequest extends $dara.Model {
98
107
 
99
108
  static types(): { [key: string]: any } {
100
109
  return {
110
+ clientType: 'string',
101
111
  commandContent: 'string',
102
112
  desktopId: 'string',
103
113
  endUserId: 'string',
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class GetConnectionTicketResponseBody extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The cloud computer ID.
8
+ * The ID of the cloud computer.
9
9
  *
10
10
  * @example
11
11
  * ecd-gx2x1dhsmucyy****
@@ -21,7 +21,7 @@ export class GetConnectionTicketResponseBody extends $dara.Model {
21
21
  requestId?: string;
22
22
  /**
23
23
  * @remarks
24
- * The ticket used to connect to the user instance. Before you use the ticket, Base64-decode its content and save it as an xxx.ica file, and then open the file. The following Python code provides an example:
24
+ * The ticket used to connect to the user instance. Before you use the ticket, Base64-decode its content, save the decoded content as an xxx.ica file, and then open the file. Python code example:
25
25
  *
26
26
  * ```
27
27
  * import base64
@@ -65,7 +65,7 @@ export class GetConnectionTicketResponseBody extends $dara.Model {
65
65
  taskStatus?: string;
66
66
  /**
67
67
  * @remarks
68
- * The connection credential for the cloud computer.
68
+ * The connection credential of the cloud computer.
69
69
  *
70
70
  * @example
71
71
  * W0VuY29kaW5nXQ0KSW5wdXRFbmNvZGluZz1V********
@@ -23,7 +23,7 @@ export class ListDirectoryUsersRequest extends $dara.Model {
23
23
  directoryId?: string;
24
24
  /**
25
25
  * @remarks
26
- * The fuzzy match query string. All results that contain this character string are returned.
26
+ * The fuzzy search string. All results that contain this string are matched.
27
27
  *
28
28
  * @example
29
29
  * alice
@@ -39,7 +39,7 @@ export class ListDirectoryUsersRequest extends $dara.Model {
39
39
  includeAssignedUser?: boolean;
40
40
  /**
41
41
  * @remarks
42
- * The number of entries per page for a paged query.
42
+ * The number of entries per page for a paginated query.
43
43
  *
44
44
  * - Maximum value: 100.
45
45
  * - Default value: 10.
@@ -50,7 +50,7 @@ export class ListDirectoryUsersRequest extends $dara.Model {
50
50
  maxResults?: number;
51
51
  /**
52
52
  * @remarks
53
- * The pagination token for the next query. An empty value indicates that no more results exist.
53
+ * The token for the next query. If this parameter is empty, no more results are available.
54
54
  *
55
55
  * @example
56
56
  * caeba0bbb2be03f84eb48b699f0a4883
@@ -24,7 +24,7 @@ export class ListDirectoryUsersResponseBodyUsers extends $dara.Model {
24
24
  * The new display name of the user.
25
25
  *
26
26
  * @example
27
- * 张三
27
+ * Zhang San
28
28
  */
29
29
  displayNameNew?: string;
30
30
  /**
@@ -45,7 +45,7 @@ export class ListDirectoryUsersResponseBodyUsers extends $dara.Model {
45
45
  endUser?: string;
46
46
  /**
47
47
  * @remarks
48
- * The phone number.
48
+ * The mobile phone number.
49
49
  *
50
50
  * @example
51
51
  * 130********
@@ -95,7 +95,7 @@ export class ListDirectoryUsersResponseBodyUsers extends $dara.Model {
95
95
  export class ListDirectoryUsersResponseBody extends $dara.Model {
96
96
  /**
97
97
  * @remarks
98
- * The pagination token for the next query. An empty value indicates that no more results exist.
98
+ * The token for the next query. If this parameter is empty, no more results are available.
99
99
  *
100
100
  * @example
101
101
  * caeba0bbb2be03f84eb48b699f0a4883
@@ -22,7 +22,7 @@ export class MigrateDesktopsRequest extends $dara.Model {
22
22
  regionId?: string;
23
23
  /**
24
24
  * @remarks
25
- * The member IP address of the target node for migration.
25
+ * The member IP address of the destination node for migration.
26
26
  *
27
27
  * @example
28
28
  * 192.168.1.10
@@ -30,7 +30,7 @@ export class MigrateDesktopsRequest extends $dara.Model {
30
30
  targetMemberIp?: string;
31
31
  /**
32
32
  * @remarks
33
- * The ID of the target office network.
33
+ * The ID of the destination office network.
34
34
  *
35
35
  * This parameter is required.
36
36
  *
@@ -40,7 +40,7 @@ export class MigrateDesktopsRequest extends $dara.Model {
40
40
  targetOfficeSiteId?: string;
41
41
  /**
42
42
  * @remarks
43
- * > This parameter is not publicly available.
43
+ * > This parameter is not yet available for use.
44
44
  *
45
45
  * @example
46
46
  * vsw-bp1m3o4kbjxwe****