@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
package/dist/client.js CHANGED
@@ -3185,13 +3185,13 @@ class Client extends openapi_core_1.default {
3185
3185
  *
3186
3186
  * @remarks
3187
3187
  * Before creating cloud desktops, complete the following preparations:
3188
- * - Create an office network (formerly workspace) and users. For more information, see the following API operations or documentation:
3188
+ * - Create an office network (formerly workspace) and users. For more information about the related API operations or documentation, see:
3189
3189
  * - Convenience office network: [CreateSimpleOfficeSite](https://help.aliyun.com/document_detail/215416.html) and [CreateUsers](https://help.aliyun.com/document_detail/437832.html).
3190
3190
  * - AD office network: [CreateADConnectorOfficeSite](https://help.aliyun.com/document_detail/215417.html) and [Create AD users](https://help.aliyun.com/document_detail/188619.html).
3191
3191
  * - Call [CreatePolicyGroup](https://help.aliyun.com/document_detail/188889.html) to create a policy, or confirm that an existing policy is available.
3192
3192
  * **Call examples:**
3193
3193
  * <details>
3194
- * <summary>Example of creating with a template</summary>
3194
+ * <summary>Example of creating a cloud desktop by using a template</summary>
3195
3195
  * ```
3196
3196
  * {
3197
3197
  * "RegionId": "cn-hangzhou",
@@ -3205,7 +3205,7 @@ class Client extends openapi_core_1.default {
3205
3205
  * ```
3206
3206
  * </details>
3207
3207
  * <details>
3208
- * <summary>Example of creating without a template</summary>
3208
+ * <summary>Example of creating a cloud desktop without a template</summary>
3209
3209
  * ```
3210
3210
  * {
3211
3211
  * "RegionId": "cn-hangzhou",
@@ -3225,7 +3225,7 @@ class Client extends openapi_core_1.default {
3225
3225
  * ```
3226
3226
  * </details>
3227
3227
  * <details>
3228
- * <summary>Example of creating a monthly hourly package</summary>
3228
+ * <summary>Example of creating a cloud desktop with a monthly hourly package</summary>
3229
3229
  * ```
3230
3230
  * {
3231
3231
  * "RegionId": "cn-hangzhou",
@@ -3250,7 +3250,7 @@ class Client extends openapi_core_1.default {
3250
3250
  * ```
3251
3251
  * </details>
3252
3252
  * <details>
3253
- * <summary>Example of creating an Agent resource</summary>
3253
+ * <summary>Example of creating an agent resource</summary>
3254
3254
  * ```
3255
3255
  * {
3256
3256
  * "RegionId": "cn-hangzhou",
@@ -3270,7 +3270,7 @@ class Client extends openapi_core_1.default {
3270
3270
  * }
3271
3271
  * ```
3272
3272
  * </details>
3273
- * To have cloud desktops automatically execute custom command scripts, use the `UserCommands` field to configure custom commands.
3273
+ * To have the cloud desktop automatically run custom command scripts, use the `UserCommands` field to configure custom commands.
3274
3274
  *
3275
3275
  * @param tmpReq - CreateDesktopsRequest
3276
3276
  * @param runtime - runtime options for this request RuntimeOptions
@@ -3380,6 +3380,9 @@ class Client extends openapi_core_1.default {
3380
3380
  if (!$dara.isNull(request.resellerOwnerUid)) {
3381
3381
  query["ResellerOwnerUid"] = request.resellerOwnerUid;
3382
3382
  }
3383
+ if (!$dara.isNull(request.reservePoolId)) {
3384
+ query["ReservePoolId"] = request.reservePoolId;
3385
+ }
3383
3386
  if (!$dara.isNull(request.resourceGroupId)) {
3384
3387
  query["ResourceGroupId"] = request.resourceGroupId;
3385
3388
  }
@@ -3440,13 +3443,13 @@ class Client extends openapi_core_1.default {
3440
3443
  *
3441
3444
  * @remarks
3442
3445
  * Before creating cloud desktops, complete the following preparations:
3443
- * - Create an office network (formerly workspace) and users. For more information, see the following API operations or documentation:
3446
+ * - Create an office network (formerly workspace) and users. For more information about the related API operations or documentation, see:
3444
3447
  * - Convenience office network: [CreateSimpleOfficeSite](https://help.aliyun.com/document_detail/215416.html) and [CreateUsers](https://help.aliyun.com/document_detail/437832.html).
3445
3448
  * - AD office network: [CreateADConnectorOfficeSite](https://help.aliyun.com/document_detail/215417.html) and [Create AD users](https://help.aliyun.com/document_detail/188619.html).
3446
3449
  * - Call [CreatePolicyGroup](https://help.aliyun.com/document_detail/188889.html) to create a policy, or confirm that an existing policy is available.
3447
3450
  * **Call examples:**
3448
3451
  * <details>
3449
- * <summary>Example of creating with a template</summary>
3452
+ * <summary>Example of creating a cloud desktop by using a template</summary>
3450
3453
  * ```
3451
3454
  * {
3452
3455
  * "RegionId": "cn-hangzhou",
@@ -3460,7 +3463,7 @@ class Client extends openapi_core_1.default {
3460
3463
  * ```
3461
3464
  * </details>
3462
3465
  * <details>
3463
- * <summary>Example of creating without a template</summary>
3466
+ * <summary>Example of creating a cloud desktop without a template</summary>
3464
3467
  * ```
3465
3468
  * {
3466
3469
  * "RegionId": "cn-hangzhou",
@@ -3480,7 +3483,7 @@ class Client extends openapi_core_1.default {
3480
3483
  * ```
3481
3484
  * </details>
3482
3485
  * <details>
3483
- * <summary>Example of creating a monthly hourly package</summary>
3486
+ * <summary>Example of creating a cloud desktop with a monthly hourly package</summary>
3484
3487
  * ```
3485
3488
  * {
3486
3489
  * "RegionId": "cn-hangzhou",
@@ -3505,7 +3508,7 @@ class Client extends openapi_core_1.default {
3505
3508
  * ```
3506
3509
  * </details>
3507
3510
  * <details>
3508
- * <summary>Example of creating an Agent resource</summary>
3511
+ * <summary>Example of creating an agent resource</summary>
3509
3512
  * ```
3510
3513
  * {
3511
3514
  * "RegionId": "cn-hangzhou",
@@ -3525,7 +3528,7 @@ class Client extends openapi_core_1.default {
3525
3528
  * }
3526
3529
  * ```
3527
3530
  * </details>
3528
- * To have cloud desktops automatically execute custom command scripts, use the `UserCommands` field to configure custom commands.
3531
+ * To have the cloud desktop automatically run custom command scripts, use the `UserCommands` field to configure custom commands.
3529
3532
  *
3530
3533
  * @param request - CreateDesktopsRequest
3531
3534
  * @returns CreateDesktopsResponse
@@ -3835,12 +3838,18 @@ class Client extends openapi_core_1.default {
3835
3838
  async createNASFileSystemWithOptions(request, runtime) {
3836
3839
  request.validate();
3837
3840
  let query = {};
3841
+ if (!$dara.isNull(request.capacity)) {
3842
+ query["Capacity"] = request.capacity;
3843
+ }
3838
3844
  if (!$dara.isNull(request.description)) {
3839
3845
  query["Description"] = request.description;
3840
3846
  }
3841
3847
  if (!$dara.isNull(request.encryptType)) {
3842
3848
  query["EncryptType"] = request.encryptType;
3843
3849
  }
3850
+ if (!$dara.isNull(request.fileSystemType)) {
3851
+ query["FileSystemType"] = request.fileSystemType;
3852
+ }
3844
3853
  if (!$dara.isNull(request.name)) {
3845
3854
  query["Name"] = request.name;
3846
3855
  }
@@ -4009,10 +4018,10 @@ class Client extends openapi_core_1.default {
4009
4018
  return await this.createNetworkPackageWithOptions(request, runtime);
4010
4019
  }
4011
4020
  /**
4012
- * Enables the Global Accelerator (GA) service for an office network.
4021
+ * Enables Global Accelerator (GA) for an office network.
4013
4022
  *
4014
4023
  * @remarks
4015
- * Before you call this operation, ensure you fully understand the billing methods and [pricing](t2208086.xdita#) of the GA service.
4024
+ * Before calling this operation, make sure that you fully understand the billing methods and [pricing](https://help.aliyun.com/document_detail/425831.html) of Global Accelerator (GA).
4016
4025
  *
4017
4026
  * @param request - CreateOfficeSiteAcceleratorRequest
4018
4027
  * @param runtime - runtime options for this request RuntimeOptions
@@ -4053,10 +4062,10 @@ class Client extends openapi_core_1.default {
4053
4062
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateOfficeSiteAcceleratorResponse({}));
4054
4063
  }
4055
4064
  /**
4056
- * Enables the Global Accelerator (GA) service for an office network.
4065
+ * Enables Global Accelerator (GA) for an office network.
4057
4066
  *
4058
4067
  * @remarks
4059
- * Before you call this operation, ensure you fully understand the billing methods and [pricing](t2208086.xdita#) of the GA service.
4068
+ * Before calling this operation, make sure that you fully understand the billing methods and [pricing](https://help.aliyun.com/document_detail/425831.html) of Global Accelerator (GA).
4060
4069
  *
4061
4070
  * @param request - CreateOfficeSiteAcceleratorRequest
4062
4071
  * @returns CreateOfficeSiteAcceleratorResponse
@@ -4781,9 +4790,9 @@ class Client extends openapi_core_1.default {
4781
4790
  * Creates a custom cloud computer template. A cloud computer template is a collection of cloud computer configurations that reduces the configuration steps and accelerates the creation of cloud computers.
4782
4791
  *
4783
4792
  * @remarks
4784
- * When you call this operation, note the following items:
4793
+ * When you call this operation, take note of the following items:
4785
4794
  * - Most parameters in the instance launch template are optional. When you create a template, Alibaba Cloud does not strictly verify the existence or validity of parameter values. Parameter values are validated only when you create an instance by using the template.
4786
- * - For parameters that have region attributes in the template, if the region does not match when you create a cloud computer by using the template, these parameters do not take effect.
4795
+ * - For region-specific parameters in the template, if the region does not match when you create a cloud computer by using the template, these parameters do not take effect.
4787
4796
  *
4788
4797
  * @param request - CreateTemplateRequest
4789
4798
  * @param runtime - runtime options for this request RuntimeOptions
@@ -4817,6 +4826,9 @@ class Client extends openapi_core_1.default {
4817
4826
  if (!$dara.isNull(request.imageId)) {
4818
4827
  body["ImageId"] = request.imageId;
4819
4828
  }
4829
+ if (!$dara.isNull(request.instanceName)) {
4830
+ body["InstanceName"] = request.instanceName;
4831
+ }
4820
4832
  if (!$dara.isNull(request.period)) {
4821
4833
  body["Period"] = request.period;
4822
4834
  }
@@ -4880,9 +4892,9 @@ class Client extends openapi_core_1.default {
4880
4892
  * Creates a custom cloud computer template. A cloud computer template is a collection of cloud computer configurations that reduces the configuration steps and accelerates the creation of cloud computers.
4881
4893
  *
4882
4894
  * @remarks
4883
- * When you call this operation, note the following items:
4895
+ * When you call this operation, take note of the following items:
4884
4896
  * - Most parameters in the instance launch template are optional. When you create a template, Alibaba Cloud does not strictly verify the existence or validity of parameter values. Parameter values are validated only when you create an instance by using the template.
4885
- * - For parameters that have region attributes in the template, if the region does not match when you create a cloud computer by using the template, these parameters do not take effect.
4897
+ * - For region-specific parameters in the template, if the region does not match when you create a cloud computer by using the template, these parameters do not take effect.
4886
4898
  *
4887
4899
  * @param request - CreateTemplateRequest
4888
4900
  * @returns CreateTemplateResponse
@@ -6211,7 +6223,7 @@ class Client extends openapi_core_1.default {
6211
6223
  * Deletes a custom cloud computer template.
6212
6224
  *
6213
6225
  * @remarks
6214
- * After the template is deleted, cloud computers that were created based on the template are not affected, and resources associated with the template are not affected.
6226
+ * After a template is deleted, cloud computers that were created based on the template are not affected, and resources associated with the template are not affected.
6215
6227
  *
6216
6228
  * @param request - DeleteTemplatesRequest
6217
6229
  * @param runtime - runtime options for this request RuntimeOptions
@@ -6246,7 +6258,7 @@ class Client extends openapi_core_1.default {
6246
6258
  * Deletes a custom cloud computer template.
6247
6259
  *
6248
6260
  * @remarks
6249
- * After the template is deleted, cloud computers that were created based on the template are not affected, and resources associated with the template are not affected.
6261
+ * After a template is deleted, cloud computers that were created based on the template are not affected, and resources associated with the template are not affected.
6250
6262
  *
6251
6263
  * @param request - DeleteTemplatesRequest
6252
6264
  * @returns DeleteTemplatesResponse
@@ -6811,7 +6823,7 @@ class Client extends openapi_core_1.default {
6811
6823
  * Queries the list of cloud disk team spaces.
6812
6824
  *
6813
6825
  * @remarks
6814
- * The cloud disk team list is synchronized from the Wuying client > User Management > Organization Structure. To use team spaces, shift users to a specified organization in the User Management interface. Users can then see the team space menu bar in the cloud disk client.
6826
+ * The cloud disk team list is obtained through synchronization from the Wuying client > User Management > organization structure. To use team spaces, shift users to a specified organization in the User Management interface. Users can then see the team space menu bar in the cloud disk client.
6815
6827
  *
6816
6828
  * @param request - DescribeCloudDiskGroupDrivesRequest
6817
6829
  * @param runtime - runtime options for this request RuntimeOptions
@@ -6855,7 +6867,7 @@ class Client extends openapi_core_1.default {
6855
6867
  * Queries the list of cloud disk team spaces.
6856
6868
  *
6857
6869
  * @remarks
6858
- * The cloud disk team list is synchronized from the Wuying client > User Management > Organization Structure. To use team spaces, shift users to a specified organization in the User Management interface. Users can then see the team space menu bar in the cloud disk client.
6870
+ * The cloud disk team list is obtained through synchronization from the Wuying client > User Management > organization structure. To use team spaces, shift users to a specified organization in the User Management interface. Users can then see the team space menu bar in the cloud disk client.
6859
6871
  *
6860
6872
  * @param request - DescribeCloudDiskGroupDrivesRequest
6861
6873
  * @returns DescribeCloudDiskGroupDrivesResponse
@@ -7960,6 +7972,9 @@ class Client extends openapi_core_1.default {
7960
7972
  if (!$dara.isNull(request.regionId)) {
7961
7973
  query["RegionId"] = request.regionId;
7962
7974
  }
7975
+ if (!$dara.isNull(request.reservePoolId)) {
7976
+ query["ReservePoolId"] = request.reservePoolId;
7977
+ }
7963
7978
  if (!$dara.isNull(request.resourceGroupId)) {
7964
7979
  query["ResourceGroupId"] = request.resourceGroupId;
7965
7980
  }
@@ -8293,7 +8308,7 @@ class Client extends openapi_core_1.default {
8293
8308
  return await this.describeEcdReportTasksWithOptions(request, runtime);
8294
8309
  }
8295
8310
  /**
8296
- * Queries the inbound bandwidth and outbound bandwidth monitoring data of a cloud computer, or the public network access inbound bandwidth and outbound bandwidth monitoring data of a premium public bandwidth plan.
8311
+ * Queries the inbound and outbound bandwidth monitoring data of a cloud computer, or the public inbound and outbound bandwidth monitoring data of a premium public bandwidth instance.
8297
8312
  *
8298
8313
  * @param request - DescribeFlowMetricRequest
8299
8314
  * @param runtime - runtime options for this request RuntimeOptions
@@ -8340,7 +8355,7 @@ class Client extends openapi_core_1.default {
8340
8355
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeFlowMetricResponse({}));
8341
8356
  }
8342
8357
  /**
8343
- * Queries the inbound bandwidth and outbound bandwidth monitoring data of a cloud computer, or the public network access inbound bandwidth and outbound bandwidth monitoring data of a premium public bandwidth plan.
8358
+ * Queries the inbound and outbound bandwidth monitoring data of a cloud computer, or the public inbound and outbound bandwidth monitoring data of a premium public bandwidth instance.
8344
8359
  *
8345
8360
  * @param request - DescribeFlowMetricRequest
8346
8361
  * @returns DescribeFlowMetricResponse
@@ -8518,10 +8533,10 @@ class Client extends openapi_core_1.default {
8518
8533
  return await this.describeFotaTasksWithOptions(request, runtime);
8519
8534
  }
8520
8535
  /**
8521
- * Queries the basic information of all recent cloud desktops and their corresponding usage duration records.
8536
+ * Queries the basic information about all recent cloud desktops and the corresponding usage duration records.
8522
8537
  *
8523
8538
  * @remarks
8524
- * - China site users should select Shanghai as the site. International site users should select Singapore.
8539
+ * - China site users must select Shanghai as the site. International site users must select Singapore.
8525
8540
  * - By default, both deleted and non-deleted cloud desktops are queried.
8526
8541
  * - Deleted cloud desktops can only be queried if they were deleted within the last three months.
8527
8542
  * - Sort conditions cannot be used together with other conditions.
@@ -8607,10 +8622,10 @@ class Client extends openapi_core_1.default {
8607
8622
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeGlobalDesktopRecordsResponse({}));
8608
8623
  }
8609
8624
  /**
8610
- * Queries the basic information of all recent cloud desktops and their corresponding usage duration records.
8625
+ * Queries the basic information about all recent cloud desktops and the corresponding usage duration records.
8611
8626
  *
8612
8627
  * @remarks
8613
- * - China site users should select Shanghai as the site. International site users should select Singapore.
8628
+ * - China site users must select Shanghai as the site. International site users must select Singapore.
8614
8629
  * - By default, both deleted and non-deleted cloud desktops are queried.
8615
8630
  * - Deleted cloud desktops can only be queried if they were deleted within the last three months.
8616
8631
  * - Sort conditions cannot be used together with other conditions.
@@ -8989,7 +9004,7 @@ class Client extends openapi_core_1.default {
8989
9004
  * Queries the execution list and status of Cloud Assistant scripts.
8990
9005
  *
8991
9006
  * @remarks
8992
- * - After you run a command, it does not necessarily succeed or produce the expected results. Check the actual execution results based on the response values returned by this operation.
9007
+ * - After you run a command, the command is not guaranteed to succeed or produce the expected results. Check the actual execution results based on the response of this operation.
8993
9008
  * - You can query execution information from the last two weeks. A maximum of 100,000 execution records are retained.
8994
9009
  *
8995
9010
  * @param request - DescribeInvocationsRequest
@@ -9055,7 +9070,7 @@ class Client extends openapi_core_1.default {
9055
9070
  * Queries the execution list and status of Cloud Assistant scripts.
9056
9071
  *
9057
9072
  * @remarks
9058
- * - After you run a command, it does not necessarily succeed or produce the expected results. Check the actual execution results based on the response values returned by this operation.
9073
+ * - After you run a command, the command is not guaranteed to succeed or produce the expected results. Check the actual execution results based on the response of this operation.
9059
9074
  * - You can query execution information from the last two weeks. A maximum of 100,000 execution records are retained.
9060
9075
  *
9061
9076
  * @param request - DescribeInvocationsRequest
@@ -9447,7 +9462,7 @@ class Client extends openapi_core_1.default {
9447
9462
  return await this.describeOfficeSiteBridgeInfoWithOptions(request, runtime);
9448
9463
  }
9449
9464
  /**
9450
- * Queries all properties of an office network, including the ID, name, status, and creation time.
9465
+ * Queries all attributes of an office network, including the ID, name, status, and creation time.
9451
9466
  *
9452
9467
  * @param request - DescribeOfficeSitesRequest
9453
9468
  * @param runtime - runtime options for this request RuntimeOptions
@@ -9500,7 +9515,7 @@ class Client extends openapi_core_1.default {
9500
9515
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeOfficeSitesResponse({}));
9501
9516
  }
9502
9517
  /**
9503
- * Queries all properties of an office network, including the ID, name, status, and creation time.
9518
+ * Queries all attributes of an office network, including the ID, name, status, and creation time.
9504
9519
  *
9505
9520
  * @param request - DescribeOfficeSitesRequest
9506
9521
  * @returns DescribeOfficeSitesResponse
@@ -9563,6 +9578,205 @@ class Client extends openapi_core_1.default {
9563
9578
  let runtime = new $dara.RuntimeOptions({});
9564
9579
  return await this.describeOnlineUserCountWithOptions(request, runtime);
9565
9580
  }
9581
+ /**
9582
+ * Queries peripheral drivers visible to the current account, with support for filtering by ownership, brand, device type, driver ID, and keyword, and returns paginated results.
9583
+ *
9584
+ * @remarks
9585
+ * When multiple filter conditions are specified, only drivers that meet all conditions are returned. If no filter conditions are specified, both Wuying official drivers and drivers of the current account are returned. Use PageSize and PageNumber for pagination. Keep the filter conditions and PageSize unchanged, increment PageNumber page by page, and stop when an empty list is returned. The example values are provided to illustrate the format. Replace them with actual values.
9586
+ * ## Request examples
9587
+ * The following JSON examples show the logical request parameters. Common signature parameters are generated by the SDK or signing component.
9588
+ * ### Query official printer drivers
9589
+ * Query official printer drivers of a specified brand that contain a keyword. The first page is returned with a maximum of 20 entries per page.
9590
+ * ```json
9591
+ * {
9592
+ * "Action": "DescribePeripheralDrivers",
9593
+ * "Version": "2020-09-30",
9594
+ * "OwnerType": "WUYING",
9595
+ * "Brand": "hp",
9596
+ * "DeviceType": "printer",
9597
+ * "Filter": "LaserJet",
9598
+ * "PageSize": 20,
9599
+ * "PageNumber": 1
9600
+ * }
9601
+ * ```
9602
+ * ### Query drivers by driver ID in batches
9603
+ * ```json
9604
+ * {
9605
+ * "Action": "DescribePeripheralDrivers",
9606
+ * "Version": "2020-09-30",
9607
+ * "DriverIds": [
9608
+ * "11111111-2222-4333-8444-555555555555",
9609
+ * "66666666-7777-4888-8999-000000000000"
9610
+ * ],
9611
+ * "PageSize": 20,
9612
+ * "PageNumber": 1
9613
+ * }
9614
+ * ```
9615
+ * When you construct request parameters directly, expand DriverIds by sequence number:
9616
+ * ```text
9617
+ * DriverIds.1=11111111-2222-4333-8444-555555555555
9618
+ * DriverIds.2=66666666-7777-4888-8999-000000000000
9619
+ * ```
9620
+ * When you use an SDK, pass in a string array and the SDK handles the encoding.
9621
+ * ## Response examples
9622
+ * The following responses are format examples. The icon URLs are for illustration purposes only. The reserved fields MaxResults and NextToken do not provide valid values and are omitted from the examples.
9623
+ * ### Successful query
9624
+ * ```json
9625
+ * {
9626
+ * "RequestId": "00000000-1111-4222-8333-444444444444",
9627
+ * "Count": 1,
9628
+ * "DriverInfos": [
9629
+ * {
9630
+ * "Id": "11111111-2222-4333-8444-555555555555",
9631
+ * "Icon": "https://example.com/icons/printer.png",
9632
+ * "Name": "HP Universal Printing PCL 6",
9633
+ * "Brand": "hp",
9634
+ * "DeviceType": "printer",
9635
+ * "OsType": "Windows",
9636
+ * "CreateTime": "2026-09-01T10:30:00+08:00",
9637
+ * "Source": "Wuying",
9638
+ * "OwnerType": "WUYING"
9639
+ * }
9640
+ * ]
9641
+ * }
9642
+ * ```
9643
+ * ### No matching results
9644
+ * ```json
9645
+ * {
9646
+ * "RequestId": "00000000-1111-4222-8333-444444444444",
9647
+ * "Count": 0,
9648
+ * "DriverInfos": []
9649
+ * }
9650
+ * ```
9651
+ *
9652
+ * @param request - DescribePeripheralDriversRequest
9653
+ * @param runtime - runtime options for this request RuntimeOptions
9654
+ * @returns DescribePeripheralDriversResponse
9655
+ */
9656
+ async describePeripheralDriversWithOptions(request, runtime) {
9657
+ request.validate();
9658
+ let query = {};
9659
+ if (!$dara.isNull(request.brand)) {
9660
+ query["Brand"] = request.brand;
9661
+ }
9662
+ if (!$dara.isNull(request.deviceType)) {
9663
+ query["DeviceType"] = request.deviceType;
9664
+ }
9665
+ if (!$dara.isNull(request.driverIds)) {
9666
+ query["DriverIds"] = request.driverIds;
9667
+ }
9668
+ if (!$dara.isNull(request.filter)) {
9669
+ query["Filter"] = request.filter;
9670
+ }
9671
+ if (!$dara.isNull(request.maxResults)) {
9672
+ query["MaxResults"] = request.maxResults;
9673
+ }
9674
+ if (!$dara.isNull(request.nextToken)) {
9675
+ query["NextToken"] = request.nextToken;
9676
+ }
9677
+ if (!$dara.isNull(request.ownerType)) {
9678
+ query["OwnerType"] = request.ownerType;
9679
+ }
9680
+ if (!$dara.isNull(request.pageNumber)) {
9681
+ query["PageNumber"] = request.pageNumber;
9682
+ }
9683
+ if (!$dara.isNull(request.pageSize)) {
9684
+ query["PageSize"] = request.pageSize;
9685
+ }
9686
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
9687
+ query: openapi_core_2.OpenApiUtil.query(query),
9688
+ });
9689
+ let params = new openapi_core_2.$OpenApiUtil.Params({
9690
+ action: "DescribePeripheralDrivers",
9691
+ version: "2020-09-30",
9692
+ protocol: "HTTPS",
9693
+ pathname: "/",
9694
+ method: "POST",
9695
+ authType: "AK",
9696
+ style: "RPC",
9697
+ reqBodyType: "formData",
9698
+ bodyType: "json",
9699
+ });
9700
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribePeripheralDriversResponse({}));
9701
+ }
9702
+ /**
9703
+ * Queries peripheral drivers visible to the current account, with support for filtering by ownership, brand, device type, driver ID, and keyword, and returns paginated results.
9704
+ *
9705
+ * @remarks
9706
+ * When multiple filter conditions are specified, only drivers that meet all conditions are returned. If no filter conditions are specified, both Wuying official drivers and drivers of the current account are returned. Use PageSize and PageNumber for pagination. Keep the filter conditions and PageSize unchanged, increment PageNumber page by page, and stop when an empty list is returned. The example values are provided to illustrate the format. Replace them with actual values.
9707
+ * ## Request examples
9708
+ * The following JSON examples show the logical request parameters. Common signature parameters are generated by the SDK or signing component.
9709
+ * ### Query official printer drivers
9710
+ * Query official printer drivers of a specified brand that contain a keyword. The first page is returned with a maximum of 20 entries per page.
9711
+ * ```json
9712
+ * {
9713
+ * "Action": "DescribePeripheralDrivers",
9714
+ * "Version": "2020-09-30",
9715
+ * "OwnerType": "WUYING",
9716
+ * "Brand": "hp",
9717
+ * "DeviceType": "printer",
9718
+ * "Filter": "LaserJet",
9719
+ * "PageSize": 20,
9720
+ * "PageNumber": 1
9721
+ * }
9722
+ * ```
9723
+ * ### Query drivers by driver ID in batches
9724
+ * ```json
9725
+ * {
9726
+ * "Action": "DescribePeripheralDrivers",
9727
+ * "Version": "2020-09-30",
9728
+ * "DriverIds": [
9729
+ * "11111111-2222-4333-8444-555555555555",
9730
+ * "66666666-7777-4888-8999-000000000000"
9731
+ * ],
9732
+ * "PageSize": 20,
9733
+ * "PageNumber": 1
9734
+ * }
9735
+ * ```
9736
+ * When you construct request parameters directly, expand DriverIds by sequence number:
9737
+ * ```text
9738
+ * DriverIds.1=11111111-2222-4333-8444-555555555555
9739
+ * DriverIds.2=66666666-7777-4888-8999-000000000000
9740
+ * ```
9741
+ * When you use an SDK, pass in a string array and the SDK handles the encoding.
9742
+ * ## Response examples
9743
+ * The following responses are format examples. The icon URLs are for illustration purposes only. The reserved fields MaxResults and NextToken do not provide valid values and are omitted from the examples.
9744
+ * ### Successful query
9745
+ * ```json
9746
+ * {
9747
+ * "RequestId": "00000000-1111-4222-8333-444444444444",
9748
+ * "Count": 1,
9749
+ * "DriverInfos": [
9750
+ * {
9751
+ * "Id": "11111111-2222-4333-8444-555555555555",
9752
+ * "Icon": "https://example.com/icons/printer.png",
9753
+ * "Name": "HP Universal Printing PCL 6",
9754
+ * "Brand": "hp",
9755
+ * "DeviceType": "printer",
9756
+ * "OsType": "Windows",
9757
+ * "CreateTime": "2026-09-01T10:30:00+08:00",
9758
+ * "Source": "Wuying",
9759
+ * "OwnerType": "WUYING"
9760
+ * }
9761
+ * ]
9762
+ * }
9763
+ * ```
9764
+ * ### No matching results
9765
+ * ```json
9766
+ * {
9767
+ * "RequestId": "00000000-1111-4222-8333-444444444444",
9768
+ * "Count": 0,
9769
+ * "DriverInfos": []
9770
+ * }
9771
+ * ```
9772
+ *
9773
+ * @param request - DescribePeripheralDriversRequest
9774
+ * @returns DescribePeripheralDriversResponse
9775
+ */
9776
+ async describePeripheralDrivers(request) {
9777
+ let runtime = new $dara.RuntimeOptions({});
9778
+ return await this.describePeripheralDriversWithOptions(request, runtime);
9779
+ }
9566
9780
  /**
9567
9781
  * Queries the details of cloud computer policies.
9568
9782
  *
@@ -9996,6 +10210,9 @@ class Client extends openapi_core_1.default {
9996
10210
  async describeRecordFileWithOptions(request, runtime) {
9997
10211
  request.validate();
9998
10212
  let query = {};
10213
+ if (!$dara.isNull(request.auditStatus)) {
10214
+ query["AuditStatus"] = request.auditStatus;
10215
+ }
9999
10216
  if (!$dara.isNull(request.desktopId)) {
10000
10217
  query["DesktopId"] = request.desktopId;
10001
10218
  }
@@ -10221,7 +10438,7 @@ class Client extends openapi_core_1.default {
10221
10438
  return await this.describeRegionsWithOptions(request, runtime);
10222
10439
  }
10223
10440
  /**
10224
- * Queries the renewal price of a Wuying product.
10441
+ * Queries the renewal price of an Elastic Desktop Service product.
10225
10442
  *
10226
10443
  * @param request - DescribeRenewalPriceRequest
10227
10444
  * @param runtime - runtime options for this request RuntimeOptions
@@ -10271,7 +10488,7 @@ class Client extends openapi_core_1.default {
10271
10488
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeRenewalPriceResponse({}));
10272
10489
  }
10273
10490
  /**
10274
- * Queries the renewal price of a Wuying product.
10491
+ * Queries the renewal price of an Elastic Desktop Service product.
10275
10492
  *
10276
10493
  * @param request - DescribeRenewalPriceRequest
10277
10494
  * @returns DescribeRenewalPriceResponse
@@ -10538,7 +10755,7 @@ class Client extends openapi_core_1.default {
10538
10755
  return await this.describeSessionStatisticWithOptions(request, runtime);
10539
10756
  }
10540
10757
  /**
10541
- * Queries the snapshot list and snapshot details of a cloud computer.
10758
+ * Queries the snapshot list and detailed snapshot information of a cloud computer.
10542
10759
  *
10543
10760
  * @param request - DescribeSnapshotsRequest
10544
10761
  * @param runtime - runtime options for this request RuntimeOptions
@@ -10606,7 +10823,7 @@ class Client extends openapi_core_1.default {
10606
10823
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeSnapshotsResponse({}));
10607
10824
  }
10608
10825
  /**
10609
- * Queries the snapshot list and snapshot details of a cloud computer.
10826
+ * Queries the snapshot list and detailed snapshot information of a cloud computer.
10610
10827
  *
10611
10828
  * @param request - DescribeSnapshotsRequest
10612
10829
  * @returns DescribeSnapshotsResponse
@@ -11172,6 +11389,167 @@ class Client extends openapi_core_1.default {
11172
11389
  let runtime = new $dara.RuntimeOptions({});
11173
11390
  return await this.describeVirtualMFADevicesWithOptions(request, runtime);
11174
11391
  }
11392
+ /**
11393
+ * Retrieves cloud desktop information for a vulnerability.
11394
+ *
11395
+ * @remarks
11396
+ * - This operation uses a centralized endpoint in the Shanghai region. Calls from other regions are not supported.
11397
+ * - The cloud desktop status information returned by this operation has a 1 to 3 second delay from the actual values.
11398
+ *
11399
+ * @param request - DescribeVulDesktopsRequest
11400
+ * @param runtime - runtime options for this request RuntimeOptions
11401
+ * @returns DescribeVulDesktopsResponse
11402
+ */
11403
+ async describeVulDesktopsWithOptions(request, runtime) {
11404
+ request.validate();
11405
+ let query = {};
11406
+ if (!$dara.isNull(request.connectionStatus)) {
11407
+ query["ConnectionStatus"] = request.connectionStatus;
11408
+ }
11409
+ if (!$dara.isNull(request.cveId)) {
11410
+ query["CveId"] = request.cveId;
11411
+ }
11412
+ if (!$dara.isNull(request.desktopIdList)) {
11413
+ query["DesktopIdList"] = request.desktopIdList;
11414
+ }
11415
+ if (!$dara.isNull(request.desktopStatus)) {
11416
+ query["DesktopStatus"] = request.desktopStatus;
11417
+ }
11418
+ if (!$dara.isNull(request.includeFixResult)) {
11419
+ query["IncludeFixResult"] = request.includeFixResult;
11420
+ }
11421
+ if (!$dara.isNull(request.language)) {
11422
+ query["Language"] = request.language;
11423
+ }
11424
+ if (!$dara.isNull(request.maxResults)) {
11425
+ query["MaxResults"] = request.maxResults;
11426
+ }
11427
+ if (!$dara.isNull(request.nextToken)) {
11428
+ query["NextToken"] = request.nextToken;
11429
+ }
11430
+ if (!$dara.isNull(request.onlyCurrentMonthFixAttempted)) {
11431
+ query["OnlyCurrentMonthFixAttempted"] = request.onlyCurrentMonthFixAttempted;
11432
+ }
11433
+ if (!$dara.isNull(request.pageNumber)) {
11434
+ query["PageNumber"] = request.pageNumber;
11435
+ }
11436
+ if (!$dara.isNull(request.pageSize)) {
11437
+ query["PageSize"] = request.pageSize;
11438
+ }
11439
+ if (!$dara.isNull(request.patchId)) {
11440
+ query["PatchId"] = request.patchId;
11441
+ }
11442
+ if (!$dara.isNull(request.regionId)) {
11443
+ query["RegionId"] = request.regionId;
11444
+ }
11445
+ if (!$dara.isNull(request.resourceGroupId)) {
11446
+ query["ResourceGroupId"] = request.resourceGroupId;
11447
+ }
11448
+ if (!$dara.isNull(request.searchRegionId)) {
11449
+ query["SearchRegionId"] = request.searchRegionId;
11450
+ }
11451
+ if (!$dara.isNull(request.statusList)) {
11452
+ query["StatusList"] = request.statusList;
11453
+ }
11454
+ if (!$dara.isNull(request.vulLevel)) {
11455
+ query["VulLevel"] = request.vulLevel;
11456
+ }
11457
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
11458
+ query: openapi_core_2.OpenApiUtil.query(query),
11459
+ });
11460
+ let params = new openapi_core_2.$OpenApiUtil.Params({
11461
+ action: "DescribeVulDesktops",
11462
+ version: "2020-09-30",
11463
+ protocol: "HTTPS",
11464
+ pathname: "/",
11465
+ method: "POST",
11466
+ authType: "AK",
11467
+ style: "RPC",
11468
+ reqBodyType: "formData",
11469
+ bodyType: "json",
11470
+ });
11471
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeVulDesktopsResponse({}));
11472
+ }
11473
+ /**
11474
+ * Retrieves cloud desktop information for a vulnerability.
11475
+ *
11476
+ * @remarks
11477
+ * - This operation uses a centralized endpoint in the Shanghai region. Calls from other regions are not supported.
11478
+ * - The cloud desktop status information returned by this operation has a 1 to 3 second delay from the actual values.
11479
+ *
11480
+ * @param request - DescribeVulDesktopsRequest
11481
+ * @returns DescribeVulDesktopsResponse
11482
+ */
11483
+ async describeVulDesktops(request) {
11484
+ let runtime = new $dara.RuntimeOptions({});
11485
+ return await this.describeVulDesktopsWithOptions(request, runtime);
11486
+ }
11487
+ /**
11488
+ * Retrieves vulnerability information.
11489
+ *
11490
+ * @remarks
11491
+ * After security protection is enabled, the system automatically scans cloud desktops for system vulnerabilities on a periodic basis (once a day).
11492
+ *
11493
+ * @param request - DescribeVulnerabilityRequest
11494
+ * @param runtime - runtime options for this request RuntimeOptions
11495
+ * @returns DescribeVulnerabilityResponse
11496
+ */
11497
+ async describeVulnerabilityWithOptions(request, runtime) {
11498
+ request.validate();
11499
+ let query = {};
11500
+ if (!$dara.isNull(request.cveId)) {
11501
+ query["CveId"] = request.cveId;
11502
+ }
11503
+ if (!$dara.isNull(request.includeDesktop)) {
11504
+ query["IncludeDesktop"] = request.includeDesktop;
11505
+ }
11506
+ if (!$dara.isNull(request.language)) {
11507
+ query["Language"] = request.language;
11508
+ }
11509
+ if (!$dara.isNull(request.maxResults)) {
11510
+ query["MaxResults"] = request.maxResults;
11511
+ }
11512
+ if (!$dara.isNull(request.nextToken)) {
11513
+ query["NextToken"] = request.nextToken;
11514
+ }
11515
+ if (!$dara.isNull(request.patchId)) {
11516
+ query["PatchId"] = request.patchId;
11517
+ }
11518
+ if (!$dara.isNull(request.regionId)) {
11519
+ query["RegionId"] = request.regionId;
11520
+ }
11521
+ if (!$dara.isNull(request.searchRegionId)) {
11522
+ query["SearchRegionId"] = request.searchRegionId;
11523
+ }
11524
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
11525
+ query: openapi_core_2.OpenApiUtil.query(query),
11526
+ });
11527
+ let params = new openapi_core_2.$OpenApiUtil.Params({
11528
+ action: "DescribeVulnerability",
11529
+ version: "2020-09-30",
11530
+ protocol: "HTTPS",
11531
+ pathname: "/",
11532
+ method: "POST",
11533
+ authType: "AK",
11534
+ style: "RPC",
11535
+ reqBodyType: "formData",
11536
+ bodyType: "json",
11537
+ });
11538
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeVulnerabilityResponse({}));
11539
+ }
11540
+ /**
11541
+ * Retrieves vulnerability information.
11542
+ *
11543
+ * @remarks
11544
+ * After security protection is enabled, the system automatically scans cloud desktops for system vulnerabilities on a periodic basis (once a day).
11545
+ *
11546
+ * @param request - DescribeVulnerabilityRequest
11547
+ * @returns DescribeVulnerabilityResponse
11548
+ */
11549
+ async describeVulnerability(request) {
11550
+ let runtime = new $dara.RuntimeOptions({});
11551
+ return await this.describeVulnerabilityWithOptions(request, runtime);
11552
+ }
11175
11553
  /**
11176
11554
  * Queries the zones supported by Alibaba Cloud Workspace in a specified Alibaba Cloud region.
11177
11555
  *
@@ -11799,6 +12177,51 @@ class Client extends openapi_core_1.default {
11799
12177
  let runtime = new $dara.RuntimeOptions({});
11800
12178
  return await this.exportDesktopListInfoWithOptions(request, runtime);
11801
12179
  }
12180
+ /**
12181
+ * Queries desktop data statistics by different dimensions.
12182
+ *
12183
+ * @param request - GetAggregatedDesktopsRequest
12184
+ * @param runtime - runtime options for this request RuntimeOptions
12185
+ * @returns GetAggregatedDesktopsResponse
12186
+ */
12187
+ async getAggregatedDesktopsWithOptions(request, runtime) {
12188
+ request.validate();
12189
+ let query = {};
12190
+ if (!$dara.isNull(request.aggregationFactor)) {
12191
+ query["AggregationFactor"] = request.aggregationFactor;
12192
+ }
12193
+ if (!$dara.isNull(request.regionId)) {
12194
+ query["RegionId"] = request.regionId;
12195
+ }
12196
+ if (!$dara.isNull(request.searchRegionId)) {
12197
+ query["SearchRegionId"] = request.searchRegionId;
12198
+ }
12199
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
12200
+ query: openapi_core_2.OpenApiUtil.query(query),
12201
+ });
12202
+ let params = new openapi_core_2.$OpenApiUtil.Params({
12203
+ action: "GetAggregatedDesktops",
12204
+ version: "2020-09-30",
12205
+ protocol: "HTTPS",
12206
+ pathname: "/",
12207
+ method: "POST",
12208
+ authType: "AK",
12209
+ style: "RPC",
12210
+ reqBodyType: "formData",
12211
+ bodyType: "json",
12212
+ });
12213
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetAggregatedDesktopsResponse({}));
12214
+ }
12215
+ /**
12216
+ * Queries desktop data statistics by different dimensions.
12217
+ *
12218
+ * @param request - GetAggregatedDesktopsRequest
12219
+ * @returns GetAggregatedDesktopsResponse
12220
+ */
12221
+ async getAggregatedDesktops(request) {
12222
+ let runtime = new $dara.RuntimeOptions({});
12223
+ return await this.getAggregatedDesktopsWithOptions(request, runtime);
12224
+ }
11802
12225
  /**
11803
12226
  * Retrieves the details of a folder copy asynchronous node based on the AsyncTaskId parameter returned by the CopyCdsFile operation.
11804
12227
  *
@@ -11845,7 +12268,7 @@ class Client extends openapi_core_1.default {
11845
12268
  * Retrieves the connection credential for a cloud computer.
11846
12269
  *
11847
12270
  * @remarks
11848
- * The cloud computer must be in the Running state. The ticket obtained by calling this operation expires in 10 minutes.
12271
+ * The cloud computer must be in the Running state. The ticket obtained by calling this operation expires after 10 minutes.
11849
12272
  *
11850
12273
  * @param request - GetConnectionTicketRequest
11851
12274
  * @param runtime - runtime options for this request RuntimeOptions
@@ -11854,6 +12277,9 @@ class Client extends openapi_core_1.default {
11854
12277
  async getConnectionTicketWithOptions(request, runtime) {
11855
12278
  request.validate();
11856
12279
  let query = {};
12280
+ if (!$dara.isNull(request.clientType)) {
12281
+ query["ClientType"] = request.clientType;
12282
+ }
11857
12283
  if (!$dara.isNull(request.commandContent)) {
11858
12284
  query["CommandContent"] = request.commandContent;
11859
12285
  }
@@ -11904,7 +12330,7 @@ class Client extends openapi_core_1.default {
11904
12330
  * Retrieves the connection credential for a cloud computer.
11905
12331
  *
11906
12332
  * @remarks
11907
- * The cloud computer must be in the Running state. The ticket obtained by calling this operation expires in 10 minutes.
12333
+ * The cloud computer must be in the Running state. The ticket obtained by calling this operation expires after 10 minutes.
11908
12334
  *
11909
12335
  * @param request - GetConnectionTicketRequest
11910
12336
  * @returns GetConnectionTicketResponse
@@ -12207,7 +12633,7 @@ class Client extends openapi_core_1.default {
12207
12633
  return await this.listCdsFilesWithOptions(request, runtime);
12208
12634
  }
12209
12635
  /**
12210
- * Retrieves user information from an enterprise Active Directory (AD) when you use an AD directory to connect to your enterprise AD.
12636
+ * Retrieves user information from an enterprise Active Directory (AD) if you use an AD directory to connect to your enterprise AD.
12211
12637
  *
12212
12638
  * @param request - ListDirectoryUsersRequest
12213
12639
  * @param runtime - runtime options for this request RuntimeOptions
@@ -12260,7 +12686,7 @@ class Client extends openapi_core_1.default {
12260
12686
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListDirectoryUsersResponse({}));
12261
12687
  }
12262
12688
  /**
12263
- * Retrieves user information from an enterprise Active Directory (AD) when you use an AD directory to connect to your enterprise AD.
12689
+ * Retrieves user information from an enterprise Active Directory (AD) if you use an AD directory to connect to your enterprise AD.
12264
12690
  *
12265
12691
  * @param request - ListDirectoryUsersRequest
12266
12692
  * @returns ListDirectoryUsersResponse
@@ -12786,7 +13212,7 @@ class Client extends openapi_core_1.default {
12786
13212
  return await this.lockVirtualMFADeviceWithOptions(request, runtime);
12787
13213
  }
12788
13214
  /**
12789
- * Migrates cloud computers from the current office network (formerly known as workspace) to a new office network.
13215
+ * Migrates cloud computers from the current office network to a new office network.
12790
13216
  *
12791
13217
  * @param request - MigrateDesktopsRequest
12792
13218
  * @param runtime - runtime options for this request RuntimeOptions
@@ -12827,7 +13253,7 @@ class Client extends openapi_core_1.default {
12827
13253
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.MigrateDesktopsResponse({}));
12828
13254
  }
12829
13255
  /**
12830
- * Migrates cloud computers from the current office network (formerly known as workspace) to a new office network.
13256
+ * Migrates cloud computers from the current office network to a new office network.
12831
13257
  *
12832
13258
  * @param request - MigrateDesktopsRequest
12833
13259
  * @returns MigrateDesktopsResponse
@@ -15898,7 +16324,7 @@ class Client extends openapi_core_1.default {
15898
16324
  * Modifies all parameters of a custom cloud computer template.
15899
16325
  *
15900
16326
  * @remarks
15901
- * >Warning: To ensure compatibility with the logic for unset parameters and default upgrades in the template, this operation uses a full-parameter update logic. In other words, any parameter that is not specified is treated as being set to empty.
16327
+ * >Warning: To ensure compatibility with unset parameters and default upgrade logic in the template, this operation uses full parameter update logic. In other words, any parameter that is not specified is treated as being set to empty.
15902
16328
  *
15903
16329
  * @param request - ModifyTemplateRequest
15904
16330
  * @param runtime - runtime options for this request RuntimeOptions
@@ -15929,6 +16355,9 @@ class Client extends openapi_core_1.default {
15929
16355
  if (!$dara.isNull(request.imageId)) {
15930
16356
  body["ImageId"] = request.imageId;
15931
16357
  }
16358
+ if (!$dara.isNull(request.instanceName)) {
16359
+ body["InstanceName"] = request.instanceName;
16360
+ }
15932
16361
  if (!$dara.isNull(request.period)) {
15933
16362
  body["Period"] = request.period;
15934
16363
  }
@@ -15992,7 +16421,7 @@ class Client extends openapi_core_1.default {
15992
16421
  * Modifies all parameters of a custom cloud computer template.
15993
16422
  *
15994
16423
  * @remarks
15995
- * >Warning: To ensure compatibility with the logic for unset parameters and default upgrades in the template, this operation uses a full-parameter update logic. In other words, any parameter that is not specified is treated as being set to empty.
16424
+ * >Warning: To ensure compatibility with unset parameters and default upgrade logic in the template, this operation uses full parameter update logic. In other words, any parameter that is not specified is treated as being set to empty.
15996
16425
  *
15997
16426
  * @param request - ModifyTemplateRequest
15998
16427
  * @returns ModifyTemplateResponse
@@ -16002,10 +16431,10 @@ class Client extends openapi_core_1.default {
16002
16431
  return await this.modifyTemplateWithOptions(request, runtime);
16003
16432
  }
16004
16433
  /**
16005
- * Modifies the basic information of a custom cloud computer template, including the template name and description.
16434
+ * Modifies the basic information of a custom cloud computer template, including the template name and template description.
16006
16435
  *
16007
16436
  * @remarks
16008
- * This operation only modifies the name and description of a custom cloud computer template. To modify the parameters of a custom cloud computer template, use [ModifyTemplate](https://help.aliyun.com/document_detail/2925841.html).
16437
+ * This operation is used only to modify the name and description of a custom cloud computer template. To modify the parameters of a custom cloud computer template, use [ModifyTemplate](https://help.aliyun.com/document_detail/2925841.html).
16009
16438
  *
16010
16439
  * @param request - ModifyTemplateBaseInfoRequest
16011
16440
  * @param runtime - runtime options for this request RuntimeOptions
@@ -16017,6 +16446,9 @@ class Client extends openapi_core_1.default {
16017
16446
  if (!$dara.isNull(request.description)) {
16018
16447
  body["Description"] = request.description;
16019
16448
  }
16449
+ if (!$dara.isNull(request.instanceName)) {
16450
+ body["InstanceName"] = request.instanceName;
16451
+ }
16020
16452
  if (!$dara.isNull(request.templateId)) {
16021
16453
  body["TemplateId"] = request.templateId;
16022
16454
  }
@@ -16040,10 +16472,10 @@ class Client extends openapi_core_1.default {
16040
16472
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.ModifyTemplateBaseInfoResponse({}));
16041
16473
  }
16042
16474
  /**
16043
- * Modifies the basic information of a custom cloud computer template, including the template name and description.
16475
+ * Modifies the basic information of a custom cloud computer template, including the template name and template description.
16044
16476
  *
16045
16477
  * @remarks
16046
- * This operation only modifies the name and description of a custom cloud computer template. To modify the parameters of a custom cloud computer template, use [ModifyTemplate](https://help.aliyun.com/document_detail/2925841.html).
16478
+ * This operation is used only to modify the name and description of a custom cloud computer template. To modify the parameters of a custom cloud computer template, use [ModifyTemplate](https://help.aliyun.com/document_detail/2925841.html).
16047
16479
  *
16048
16480
  * @param request - ModifyTemplateBaseInfoRequest
16049
16481
  * @returns ModifyTemplateBaseInfoResponse
@@ -16104,10 +16536,10 @@ class Client extends openapi_core_1.default {
16104
16536
  return await this.modifyTimerGroupWithOptions(request, runtime);
16105
16537
  }
16106
16538
  /**
16107
- * Grants permissions on cloud desktops to end users, or revokes the permissions from the end users.
16539
+ * Adds or removes the authorization of one or more cloud computers for one or more users.
16108
16540
  *
16109
16541
  * @remarks
16110
- * You can modify end users only for cloud computers that are in the Running state.
16542
+ * Only cloud computers in the Running state support modifying authorized users.
16111
16543
  *
16112
16544
  * @param request - ModifyUserEntitlementRequest
16113
16545
  * @param runtime - runtime options for this request RuntimeOptions
@@ -16145,10 +16577,10 @@ class Client extends openapi_core_1.default {
16145
16577
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.ModifyUserEntitlementResponse({}));
16146
16578
  }
16147
16579
  /**
16148
- * Grants permissions on cloud desktops to end users, or revokes the permissions from the end users.
16580
+ * Adds or removes the authorization of one or more cloud computers for one or more users.
16149
16581
  *
16150
16582
  * @remarks
16151
- * You can modify end users only for cloud computers that are in the Running state.
16583
+ * Only cloud computers in the Running state support modifying authorized users.
16152
16584
  *
16153
16585
  * @param request - ModifyUserEntitlementRequest
16154
16586
  * @returns ModifyUserEntitlementResponse
@@ -16382,6 +16814,174 @@ class Client extends openapi_core_1.default {
16382
16814
  let runtime = new $dara.RuntimeOptions({});
16383
16815
  return await this.moveCdsFileWithOptions(request, runtime);
16384
16816
  }
16817
+ /**
16818
+ * Queries the trend of active user count statistics within a specified time range. Returns the deduplicated active user count at each time slice based on the specified aggregation interval (Period), which can be used to plot online user trend charts.
16819
+ *
16820
+ * @param request - QueryActiveUserStatisticRequest
16821
+ * @param runtime - runtime options for this request RuntimeOptions
16822
+ * @returns QueryActiveUserStatisticResponse
16823
+ */
16824
+ async queryActiveUserStatisticWithOptions(request, runtime) {
16825
+ request.validate();
16826
+ let query = {};
16827
+ if (!$dara.isNull(request.bizType)) {
16828
+ query["BizType"] = request.bizType;
16829
+ }
16830
+ if (!$dara.isNull(request.endTime)) {
16831
+ query["EndTime"] = request.endTime;
16832
+ }
16833
+ if (!$dara.isNull(request.officeSiteId)) {
16834
+ query["OfficeSiteId"] = request.officeSiteId;
16835
+ }
16836
+ if (!$dara.isNull(request.period)) {
16837
+ query["Period"] = request.period;
16838
+ }
16839
+ if (!$dara.isNull(request.startTime)) {
16840
+ query["StartTime"] = request.startTime;
16841
+ }
16842
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
16843
+ query: openapi_core_2.OpenApiUtil.query(query),
16844
+ });
16845
+ let params = new openapi_core_2.$OpenApiUtil.Params({
16846
+ action: "QueryActiveUserStatistic",
16847
+ version: "2020-09-30",
16848
+ protocol: "HTTPS",
16849
+ pathname: "/",
16850
+ method: "POST",
16851
+ authType: "AK",
16852
+ style: "RPC",
16853
+ reqBodyType: "formData",
16854
+ bodyType: "json",
16855
+ });
16856
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.QueryActiveUserStatisticResponse({}));
16857
+ }
16858
+ /**
16859
+ * Queries the trend of active user count statistics within a specified time range. Returns the deduplicated active user count at each time slice based on the specified aggregation interval (Period), which can be used to plot online user trend charts.
16860
+ *
16861
+ * @param request - QueryActiveUserStatisticRequest
16862
+ * @returns QueryActiveUserStatisticResponse
16863
+ */
16864
+ async queryActiveUserStatistic(request) {
16865
+ let runtime = new $dara.RuntimeOptions({});
16866
+ return await this.queryActiveUserStatisticWithOptions(request, runtime);
16867
+ }
16868
+ /**
16869
+ * Queries the connection duration statistics of authorized users based on specified conditions. Statistics can be collected by daily cumulative duration or by individual session details.
16870
+ *
16871
+ * @param request - QueryAuthUserConnectDurationListRequest
16872
+ * @param runtime - runtime options for this request RuntimeOptions
16873
+ * @returns QueryAuthUserConnectDurationListResponse
16874
+ */
16875
+ async queryAuthUserConnectDurationListWithOptions(request, runtime) {
16876
+ request.validate();
16877
+ let query = {};
16878
+ if (!$dara.isNull(request.comparisonOperator)) {
16879
+ query["ComparisonOperator"] = request.comparisonOperator;
16880
+ }
16881
+ if (!$dara.isNull(request.dataDate)) {
16882
+ query["DataDate"] = request.dataDate;
16883
+ }
16884
+ if (!$dara.isNull(request.isAdUser)) {
16885
+ query["IsAdUser"] = request.isAdUser;
16886
+ }
16887
+ if (!$dara.isNull(request.nextToken)) {
16888
+ query["NextToken"] = request.nextToken;
16889
+ }
16890
+ if (!$dara.isNull(request.pageNum)) {
16891
+ query["PageNum"] = request.pageNum;
16892
+ }
16893
+ if (!$dara.isNull(request.pageSize)) {
16894
+ query["PageSize"] = request.pageSize;
16895
+ }
16896
+ if (!$dara.isNull(request.statisticType)) {
16897
+ query["StatisticType"] = request.statisticType;
16898
+ }
16899
+ if (!$dara.isNull(request.threshold)) {
16900
+ query["Threshold"] = request.threshold;
16901
+ }
16902
+ if (!$dara.isNull(request.userName)) {
16903
+ query["UserName"] = request.userName;
16904
+ }
16905
+ if (!$dara.isNull(request.withDetail)) {
16906
+ query["WithDetail"] = request.withDetail;
16907
+ }
16908
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
16909
+ query: openapi_core_2.OpenApiUtil.query(query),
16910
+ });
16911
+ let params = new openapi_core_2.$OpenApiUtil.Params({
16912
+ action: "QueryAuthUserConnectDurationList",
16913
+ version: "2020-09-30",
16914
+ protocol: "HTTPS",
16915
+ pathname: "/",
16916
+ method: "POST",
16917
+ authType: "AK",
16918
+ style: "RPC",
16919
+ reqBodyType: "formData",
16920
+ bodyType: "json",
16921
+ });
16922
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.QueryAuthUserConnectDurationListResponse({}));
16923
+ }
16924
+ /**
16925
+ * Queries the connection duration statistics of authorized users based on specified conditions. Statistics can be collected by daily cumulative duration or by individual session details.
16926
+ *
16927
+ * @param request - QueryAuthUserConnectDurationListRequest
16928
+ * @returns QueryAuthUserConnectDurationListResponse
16929
+ */
16930
+ async queryAuthUserConnectDurationList(request) {
16931
+ let runtime = new $dara.RuntimeOptions({});
16932
+ return await this.queryAuthUserConnectDurationListWithOptions(request, runtime);
16933
+ }
16934
+ /**
16935
+ * Queries the usage duration ranking and details of each end user under a tenant within a specified date range. Aggregates offline statistical data, summarizes connection duration by user dimension, and populates basic information and per-desktop usage duration details for users on the current page.
16936
+ *
16937
+ * @param request - QueryEndUserHistoryUsageRequest
16938
+ * @param runtime - runtime options for this request RuntimeOptions
16939
+ * @returns QueryEndUserHistoryUsageResponse
16940
+ */
16941
+ async queryEndUserHistoryUsageWithOptions(request, runtime) {
16942
+ request.validate();
16943
+ let query = {};
16944
+ if (!$dara.isNull(request.endDate)) {
16945
+ query["EndDate"] = request.endDate;
16946
+ }
16947
+ if (!$dara.isNull(request.isAdUser)) {
16948
+ query["IsAdUser"] = request.isAdUser;
16949
+ }
16950
+ if (!$dara.isNull(request.pageNum)) {
16951
+ query["PageNum"] = request.pageNum;
16952
+ }
16953
+ if (!$dara.isNull(request.pageSize)) {
16954
+ query["PageSize"] = request.pageSize;
16955
+ }
16956
+ if (!$dara.isNull(request.startDate)) {
16957
+ query["StartDate"] = request.startDate;
16958
+ }
16959
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
16960
+ query: openapi_core_2.OpenApiUtil.query(query),
16961
+ });
16962
+ let params = new openapi_core_2.$OpenApiUtil.Params({
16963
+ action: "QueryEndUserHistoryUsage",
16964
+ version: "2020-09-30",
16965
+ protocol: "HTTPS",
16966
+ pathname: "/",
16967
+ method: "POST",
16968
+ authType: "AK",
16969
+ style: "RPC",
16970
+ reqBodyType: "formData",
16971
+ bodyType: "json",
16972
+ });
16973
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.QueryEndUserHistoryUsageResponse({}));
16974
+ }
16975
+ /**
16976
+ * Queries the usage duration ranking and details of each end user under a tenant within a specified date range. Aggregates offline statistical data, summarizes connection duration by user dimension, and populates basic information and per-desktop usage duration details for users on the current page.
16977
+ *
16978
+ * @param request - QueryEndUserHistoryUsageRequest
16979
+ * @returns QueryEndUserHistoryUsageResponse
16980
+ */
16981
+ async queryEndUserHistoryUsage(request) {
16982
+ let runtime = new $dara.RuntimeOptions({});
16983
+ return await this.queryEndUserHistoryUsageWithOptions(request, runtime);
16984
+ }
16385
16985
  /**
16386
16986
  * Queries the historical daily active user count and monthly active user count for a specified date.
16387
16987
  *
@@ -16433,6 +17033,60 @@ class Client extends openapi_core_1.default {
16433
17033
  let runtime = new $dara.RuntimeOptions({});
16434
17034
  return await this.queryHistoryActiveUserCountWithOptions(request, runtime);
16435
17035
  }
17036
+ /**
17037
+ * Queries the daily historical active user count for a tenant within a specified time range. Based on offline statistical data, this operation aggregates and deduplicates active users by date to calculate daily active users (DAU). Filtering by user group and workspace is supported.
17038
+ *
17039
+ * @param request - QueryHistoryActiveUserStatisticRequest
17040
+ * @param runtime - runtime options for this request RuntimeOptions
17041
+ * @returns QueryHistoryActiveUserStatisticResponse
17042
+ */
17043
+ async queryHistoryActiveUserStatisticWithOptions(request, runtime) {
17044
+ request.validate();
17045
+ let query = {};
17046
+ if (!$dara.isNull(request.bizType)) {
17047
+ query["BizType"] = request.bizType;
17048
+ }
17049
+ if (!$dara.isNull(request.endDate)) {
17050
+ query["EndDate"] = request.endDate;
17051
+ }
17052
+ if (!$dara.isNull(request.officeSiteId)) {
17053
+ query["OfficeSiteId"] = request.officeSiteId;
17054
+ }
17055
+ if (!$dara.isNull(request.period)) {
17056
+ query["Period"] = request.period;
17057
+ }
17058
+ if (!$dara.isNull(request.startDate)) {
17059
+ query["StartDate"] = request.startDate;
17060
+ }
17061
+ if (!$dara.isNull(request.userGroupId)) {
17062
+ query["UserGroupId"] = request.userGroupId;
17063
+ }
17064
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
17065
+ query: openapi_core_2.OpenApiUtil.query(query),
17066
+ });
17067
+ let params = new openapi_core_2.$OpenApiUtil.Params({
17068
+ action: "QueryHistoryActiveUserStatistic",
17069
+ version: "2020-09-30",
17070
+ protocol: "HTTPS",
17071
+ pathname: "/",
17072
+ method: "POST",
17073
+ authType: "AK",
17074
+ style: "RPC",
17075
+ reqBodyType: "formData",
17076
+ bodyType: "json",
17077
+ });
17078
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.QueryHistoryActiveUserStatisticResponse({}));
17079
+ }
17080
+ /**
17081
+ * Queries the daily historical active user count for a tenant within a specified time range. Based on offline statistical data, this operation aggregates and deduplicates active users by date to calculate daily active users (DAU). Filtering by user group and workspace is supported.
17082
+ *
17083
+ * @param request - QueryHistoryActiveUserStatisticRequest
17084
+ * @returns QueryHistoryActiveUserStatisticResponse
17085
+ */
17086
+ async queryHistoryActiveUserStatistic(request) {
17087
+ let runtime = new $dara.RuntimeOptions({});
17088
+ return await this.queryHistoryActiveUserStatisticWithOptions(request, runtime);
17089
+ }
16436
17090
  /**
16437
17091
  * Queries the historical average monitoring metrics of desktop resources within a specified date range.
16438
17092
  *
@@ -16652,10 +17306,10 @@ class Client extends openapi_core_1.default {
16652
17306
  return await this.queryHistoryUsageDurationRankWithOptions(request, runtime);
16653
17307
  }
16654
17308
  /**
16655
- * Reboots one or more desktops.
17309
+ * Restarts one or more cloud computers.
16656
17310
  *
16657
17311
  * @remarks
16658
- * The desktops must be in the Running state.
17312
+ * The cloud computers must be in the Running state.
16659
17313
  *
16660
17314
  * @param request - RebootDesktopsRequest
16661
17315
  * @param runtime - runtime options for this request RuntimeOptions
@@ -16696,10 +17350,10 @@ class Client extends openapi_core_1.default {
16696
17350
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.RebootDesktopsResponse({}));
16697
17351
  }
16698
17352
  /**
16699
- * Reboots one or more desktops.
17353
+ * Restarts one or more cloud computers.
16700
17354
  *
16701
17355
  * @remarks
16702
- * The desktops must be in the Running state.
17356
+ * The cloud computers must be in the Running state.
16703
17357
  *
16704
17358
  * @param request - RebootDesktopsRequest
16705
17359
  * @returns RebootDesktopsResponse
@@ -17504,7 +18158,7 @@ class Client extends openapi_core_1.default {
17504
18158
  return await this.revokeCoordinatePrivilegeWithOptions(request, runtime);
17505
18159
  }
17506
18160
  /**
17507
- * Executes a PowerShell or Bat script on one or more cloud computers that run the Windows operating system.
18161
+ * Executes a PowerShell or Bat script on one or more cloud computers that run Windows.
17508
18162
  *
17509
18163
  * @param request - RunCommandRequest
17510
18164
  * @param runtime - runtime options for this request RuntimeOptions
@@ -17554,7 +18208,7 @@ class Client extends openapi_core_1.default {
17554
18208
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.RunCommandResponse({}));
17555
18209
  }
17556
18210
  /**
17557
- * Executes a PowerShell or Bat script on one or more cloud computers that run the Windows operating system.
18211
+ * Executes a PowerShell or Bat script on one or more cloud computers that run Windows.
17558
18212
  *
17559
18213
  * @param request - RunCommandRequest
17560
18214
  * @returns RunCommandResponse
@@ -18012,10 +18666,10 @@ class Client extends openapi_core_1.default {
18012
18666
  return await this.setUserProfilePathRulesWithOptions(request, runtime);
18013
18667
  }
18014
18668
  /**
18015
- * Starts stopped cloud computers. After the API operation is successfully called, the cloud computers enter the Running state.
18669
+ * Starts one or more stopped cloud computers. After the operation is called successfully, the cloud computers enter the Running state.
18016
18670
  *
18017
18671
  * @remarks
18018
- * The cloud computers that you want to start must be in the Stopped state.
18672
+ * The cloud computers must be in the Stopped state.
18019
18673
  *
18020
18674
  * @param request - StartDesktopsRequest
18021
18675
  * @param runtime - runtime options for this request RuntimeOptions
@@ -18047,10 +18701,10 @@ class Client extends openapi_core_1.default {
18047
18701
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.StartDesktopsResponse({}));
18048
18702
  }
18049
18703
  /**
18050
- * Starts stopped cloud computers. After the API operation is successfully called, the cloud computers enter the Running state.
18704
+ * Starts one or more stopped cloud computers. After the operation is called successfully, the cloud computers enter the Running state.
18051
18705
  *
18052
18706
  * @remarks
18053
- * The cloud computers that you want to start must be in the Stopped state.
18707
+ * The cloud computers must be in the Stopped state.
18054
18708
  *
18055
18709
  * @param request - StartDesktopsRequest
18056
18710
  * @returns StartDesktopsResponse