@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/src/client.ts CHANGED
@@ -3718,13 +3718,13 @@ export default class Client extends OpenApi {
3718
3718
  *
3719
3719
  * @remarks
3720
3720
  * Before creating cloud desktops, complete the following preparations:
3721
- * - Create an office network (formerly workspace) and users. For more information, see the following API operations or documentation:
3721
+ * - Create an office network (formerly workspace) and users. For more information about the related API operations or documentation, see:
3722
3722
  * - Convenience office network: [CreateSimpleOfficeSite](https://help.aliyun.com/document_detail/215416.html) and [CreateUsers](https://help.aliyun.com/document_detail/437832.html).
3723
3723
  * - AD office network: [CreateADConnectorOfficeSite](https://help.aliyun.com/document_detail/215417.html) and [Create AD users](https://help.aliyun.com/document_detail/188619.html).
3724
3724
  * - Call [CreatePolicyGroup](https://help.aliyun.com/document_detail/188889.html) to create a policy, or confirm that an existing policy is available.
3725
3725
  * **Call examples:**
3726
3726
  * <details>
3727
- * <summary>Example of creating with a template</summary>
3727
+ * <summary>Example of creating a cloud desktop by using a template</summary>
3728
3728
  * ```
3729
3729
  * {
3730
3730
  * "RegionId": "cn-hangzhou",
@@ -3738,7 +3738,7 @@ export default class Client extends OpenApi {
3738
3738
  * ```
3739
3739
  * </details>
3740
3740
  * <details>
3741
- * <summary>Example of creating without a template</summary>
3741
+ * <summary>Example of creating a cloud desktop without a template</summary>
3742
3742
  * ```
3743
3743
  * {
3744
3744
  * "RegionId": "cn-hangzhou",
@@ -3758,7 +3758,7 @@ export default class Client extends OpenApi {
3758
3758
  * ```
3759
3759
  * </details>
3760
3760
  * <details>
3761
- * <summary>Example of creating a monthly hourly package</summary>
3761
+ * <summary>Example of creating a cloud desktop with a monthly hourly package</summary>
3762
3762
  * ```
3763
3763
  * {
3764
3764
  * "RegionId": "cn-hangzhou",
@@ -3783,7 +3783,7 @@ export default class Client extends OpenApi {
3783
3783
  * ```
3784
3784
  * </details>
3785
3785
  * <details>
3786
- * <summary>Example of creating an Agent resource</summary>
3786
+ * <summary>Example of creating an agent resource</summary>
3787
3787
  * ```
3788
3788
  * {
3789
3789
  * "RegionId": "cn-hangzhou",
@@ -3803,7 +3803,7 @@ export default class Client extends OpenApi {
3803
3803
  * }
3804
3804
  * ```
3805
3805
  * </details>
3806
- * To have cloud desktops automatically execute custom command scripts, use the `UserCommands` field to configure custom commands.
3806
+ * To have the cloud desktop automatically run custom command scripts, use the `UserCommands` field to configure custom commands.
3807
3807
  *
3808
3808
  * @param tmpReq - CreateDesktopsRequest
3809
3809
  * @param runtime - runtime options for this request RuntimeOptions
@@ -3946,6 +3946,10 @@ export default class Client extends OpenApi {
3946
3946
  query["ResellerOwnerUid"] = request.resellerOwnerUid;
3947
3947
  }
3948
3948
 
3949
+ if (!$dara.isNull(request.reservePoolId)) {
3950
+ query["ReservePoolId"] = request.reservePoolId;
3951
+ }
3952
+
3949
3953
  if (!$dara.isNull(request.resourceGroupId)) {
3950
3954
  query["ResourceGroupId"] = request.resourceGroupId;
3951
3955
  }
@@ -4020,13 +4024,13 @@ export default class Client extends OpenApi {
4020
4024
  *
4021
4025
  * @remarks
4022
4026
  * Before creating cloud desktops, complete the following preparations:
4023
- * - Create an office network (formerly workspace) and users. For more information, see the following API operations or documentation:
4027
+ * - Create an office network (formerly workspace) and users. For more information about the related API operations or documentation, see:
4024
4028
  * - Convenience office network: [CreateSimpleOfficeSite](https://help.aliyun.com/document_detail/215416.html) and [CreateUsers](https://help.aliyun.com/document_detail/437832.html).
4025
4029
  * - AD office network: [CreateADConnectorOfficeSite](https://help.aliyun.com/document_detail/215417.html) and [Create AD users](https://help.aliyun.com/document_detail/188619.html).
4026
4030
  * - Call [CreatePolicyGroup](https://help.aliyun.com/document_detail/188889.html) to create a policy, or confirm that an existing policy is available.
4027
4031
  * **Call examples:**
4028
4032
  * <details>
4029
- * <summary>Example of creating with a template</summary>
4033
+ * <summary>Example of creating a cloud desktop by using a template</summary>
4030
4034
  * ```
4031
4035
  * {
4032
4036
  * "RegionId": "cn-hangzhou",
@@ -4040,7 +4044,7 @@ export default class Client extends OpenApi {
4040
4044
  * ```
4041
4045
  * </details>
4042
4046
  * <details>
4043
- * <summary>Example of creating without a template</summary>
4047
+ * <summary>Example of creating a cloud desktop without a template</summary>
4044
4048
  * ```
4045
4049
  * {
4046
4050
  * "RegionId": "cn-hangzhou",
@@ -4060,7 +4064,7 @@ export default class Client extends OpenApi {
4060
4064
  * ```
4061
4065
  * </details>
4062
4066
  * <details>
4063
- * <summary>Example of creating a monthly hourly package</summary>
4067
+ * <summary>Example of creating a cloud desktop with a monthly hourly package</summary>
4064
4068
  * ```
4065
4069
  * {
4066
4070
  * "RegionId": "cn-hangzhou",
@@ -4085,7 +4089,7 @@ export default class Client extends OpenApi {
4085
4089
  * ```
4086
4090
  * </details>
4087
4091
  * <details>
4088
- * <summary>Example of creating an Agent resource</summary>
4092
+ * <summary>Example of creating an agent resource</summary>
4089
4093
  * ```
4090
4094
  * {
4091
4095
  * "RegionId": "cn-hangzhou",
@@ -4105,7 +4109,7 @@ export default class Client extends OpenApi {
4105
4109
  * }
4106
4110
  * ```
4107
4111
  * </details>
4108
- * To have cloud desktops automatically execute custom command scripts, use the `UserCommands` field to configure custom commands.
4112
+ * To have the cloud desktop automatically run custom command scripts, use the `UserCommands` field to configure custom commands.
4109
4113
  *
4110
4114
  * @param request - CreateDesktopsRequest
4111
4115
  * @returns CreateDesktopsResponse
@@ -4461,6 +4465,10 @@ export default class Client extends OpenApi {
4461
4465
  async createNASFileSystemWithOptions(request: $_model.CreateNASFileSystemRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CreateNASFileSystemResponse> {
4462
4466
  request.validate();
4463
4467
  let query = { };
4468
+ if (!$dara.isNull(request.capacity)) {
4469
+ query["Capacity"] = request.capacity;
4470
+ }
4471
+
4464
4472
  if (!$dara.isNull(request.description)) {
4465
4473
  query["Description"] = request.description;
4466
4474
  }
@@ -4469,6 +4477,10 @@ export default class Client extends OpenApi {
4469
4477
  query["EncryptType"] = request.encryptType;
4470
4478
  }
4471
4479
 
4480
+ if (!$dara.isNull(request.fileSystemType)) {
4481
+ query["FileSystemType"] = request.fileSystemType;
4482
+ }
4483
+
4472
4484
  if (!$dara.isNull(request.name)) {
4473
4485
  query["Name"] = request.name;
4474
4486
  }
@@ -4664,10 +4676,10 @@ export default class Client extends OpenApi {
4664
4676
  }
4665
4677
 
4666
4678
  /**
4667
- * Enables the Global Accelerator (GA) service for an office network.
4679
+ * Enables Global Accelerator (GA) for an office network.
4668
4680
  *
4669
4681
  * @remarks
4670
- * Before you call this operation, ensure you fully understand the billing methods and [pricing](t2208086.xdita#) of the GA service.
4682
+ * 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).
4671
4683
  *
4672
4684
  * @param request - CreateOfficeSiteAcceleratorRequest
4673
4685
  * @param runtime - runtime options for this request RuntimeOptions
@@ -4714,10 +4726,10 @@ export default class Client extends OpenApi {
4714
4726
  }
4715
4727
 
4716
4728
  /**
4717
- * Enables the Global Accelerator (GA) service for an office network.
4729
+ * Enables Global Accelerator (GA) for an office network.
4718
4730
  *
4719
4731
  * @remarks
4720
- * Before you call this operation, ensure you fully understand the billing methods and [pricing](t2208086.xdita#) of the GA service.
4732
+ * 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).
4721
4733
  *
4722
4734
  * @param request - CreateOfficeSiteAcceleratorRequest
4723
4735
  * @returns CreateOfficeSiteAcceleratorResponse
@@ -5581,9 +5593,9 @@ export default class Client extends OpenApi {
5581
5593
  * 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.
5582
5594
  *
5583
5595
  * @remarks
5584
- * When you call this operation, note the following items:
5596
+ * When you call this operation, take note of the following items:
5585
5597
  * - 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.
5586
- * - 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.
5598
+ * - 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.
5587
5599
  *
5588
5600
  * @param request - CreateTemplateRequest
5589
5601
  * @param runtime - runtime options for this request RuntimeOptions
@@ -5625,6 +5637,10 @@ export default class Client extends OpenApi {
5625
5637
  body["ImageId"] = request.imageId;
5626
5638
  }
5627
5639
 
5640
+ if (!$dara.isNull(request.instanceName)) {
5641
+ body["InstanceName"] = request.instanceName;
5642
+ }
5643
+
5628
5644
  if (!$dara.isNull(request.period)) {
5629
5645
  body["Period"] = request.period;
5630
5646
  }
@@ -5706,9 +5722,9 @@ export default class Client extends OpenApi {
5706
5722
  * 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.
5707
5723
  *
5708
5724
  * @remarks
5709
- * When you call this operation, note the following items:
5725
+ * When you call this operation, take note of the following items:
5710
5726
  * - 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.
5711
- * - 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.
5727
+ * - 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.
5712
5728
  *
5713
5729
  * @param request - CreateTemplateRequest
5714
5730
  * @returns CreateTemplateResponse
@@ -7174,7 +7190,7 @@ export default class Client extends OpenApi {
7174
7190
  * Deletes a custom cloud computer template.
7175
7191
  *
7176
7192
  * @remarks
7177
- * 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.
7193
+ * 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.
7178
7194
  *
7179
7195
  * @param request - DeleteTemplatesRequest
7180
7196
  * @param runtime - runtime options for this request RuntimeOptions
@@ -7212,7 +7228,7 @@ export default class Client extends OpenApi {
7212
7228
  * Deletes a custom cloud computer template.
7213
7229
  *
7214
7230
  * @remarks
7215
- * 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.
7231
+ * 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.
7216
7232
  *
7217
7233
  * @param request - DeleteTemplatesRequest
7218
7234
  * @returns DeleteTemplatesResponse
@@ -7868,7 +7884,7 @@ export default class Client extends OpenApi {
7868
7884
  * Queries the list of cloud disk team spaces.
7869
7885
  *
7870
7886
  * @remarks
7871
- * 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.
7887
+ * 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.
7872
7888
  *
7873
7889
  * @param request - DescribeCloudDiskGroupDrivesRequest
7874
7890
  * @param runtime - runtime options for this request RuntimeOptions
@@ -7918,7 +7934,7 @@ export default class Client extends OpenApi {
7918
7934
  * Queries the list of cloud disk team spaces.
7919
7935
  *
7920
7936
  * @remarks
7921
- * 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.
7937
+ * 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.
7922
7938
  *
7923
7939
  * @param request - DescribeCloudDiskGroupDrivesRequest
7924
7940
  * @returns DescribeCloudDiskGroupDrivesResponse
@@ -9230,6 +9246,10 @@ export default class Client extends OpenApi {
9230
9246
  query["RegionId"] = request.regionId;
9231
9247
  }
9232
9248
 
9249
+ if (!$dara.isNull(request.reservePoolId)) {
9250
+ query["ReservePoolId"] = request.reservePoolId;
9251
+ }
9252
+
9233
9253
  if (!$dara.isNull(request.resourceGroupId)) {
9234
9254
  query["ResourceGroupId"] = request.resourceGroupId;
9235
9255
  }
@@ -9617,7 +9637,7 @@ export default class Client extends OpenApi {
9617
9637
  }
9618
9638
 
9619
9639
  /**
9620
- * 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.
9640
+ * 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.
9621
9641
  *
9622
9642
  * @param request - DescribeFlowMetricRequest
9623
9643
  * @param runtime - runtime options for this request RuntimeOptions
@@ -9672,7 +9692,7 @@ export default class Client extends OpenApi {
9672
9692
  }
9673
9693
 
9674
9694
  /**
9675
- * 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.
9695
+ * 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.
9676
9696
  *
9677
9697
  * @param request - DescribeFlowMetricRequest
9678
9698
  * @returns DescribeFlowMetricResponse
@@ -9877,10 +9897,10 @@ export default class Client extends OpenApi {
9877
9897
  }
9878
9898
 
9879
9899
  /**
9880
- * Queries the basic information of all recent cloud desktops and their corresponding usage duration records.
9900
+ * Queries the basic information about all recent cloud desktops and the corresponding usage duration records.
9881
9901
  *
9882
9902
  * @remarks
9883
- * - China site users should select Shanghai as the site. International site users should select Singapore.
9903
+ * - China site users must select Shanghai as the site. International site users must select Singapore.
9884
9904
  * - By default, both deleted and non-deleted cloud desktops are queried.
9885
9905
  * - Deleted cloud desktops can only be queried if they were deleted within the last three months.
9886
9906
  * - Sort conditions cannot be used together with other conditions.
@@ -9986,10 +10006,10 @@ export default class Client extends OpenApi {
9986
10006
  }
9987
10007
 
9988
10008
  /**
9989
- * Queries the basic information of all recent cloud desktops and their corresponding usage duration records.
10009
+ * Queries the basic information about all recent cloud desktops and the corresponding usage duration records.
9990
10010
  *
9991
10011
  * @remarks
9992
- * - China site users should select Shanghai as the site. International site users should select Singapore.
10012
+ * - China site users must select Shanghai as the site. International site users must select Singapore.
9993
10013
  * - By default, both deleted and non-deleted cloud desktops are queried.
9994
10014
  * - Deleted cloud desktops can only be queried if they were deleted within the last three months.
9995
10015
  * - Sort conditions cannot be used together with other conditions.
@@ -10426,7 +10446,7 @@ export default class Client extends OpenApi {
10426
10446
  * Queries the execution list and status of Cloud Assistant scripts.
10427
10447
  *
10428
10448
  * @remarks
10429
- * - 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.
10449
+ * - 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.
10430
10450
  * - You can query execution information from the last two weeks. A maximum of 100,000 execution records are retained.
10431
10451
  *
10432
10452
  * @param request - DescribeInvocationsRequest
@@ -10505,7 +10525,7 @@ export default class Client extends OpenApi {
10505
10525
  * Queries the execution list and status of Cloud Assistant scripts.
10506
10526
  *
10507
10527
  * @remarks
10508
- * - 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.
10528
+ * - 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.
10509
10529
  * - You can query execution information from the last two weeks. A maximum of 100,000 execution records are retained.
10510
10530
  *
10511
10531
  * @param request - DescribeInvocationsRequest
@@ -10951,7 +10971,7 @@ export default class Client extends OpenApi {
10951
10971
  }
10952
10972
 
10953
10973
  /**
10954
- * Queries all properties of an office network, including the ID, name, status, and creation time.
10974
+ * Queries all attributes of an office network, including the ID, name, status, and creation time.
10955
10975
  *
10956
10976
  * @param request - DescribeOfficeSitesRequest
10957
10977
  * @param runtime - runtime options for this request RuntimeOptions
@@ -11014,7 +11034,7 @@ export default class Client extends OpenApi {
11014
11034
  }
11015
11035
 
11016
11036
  /**
11017
- * Queries all properties of an office network, including the ID, name, status, and creation time.
11037
+ * Queries all attributes of an office network, including the ID, name, status, and creation time.
11018
11038
  *
11019
11039
  * @param request - DescribeOfficeSitesRequest
11020
11040
  * @returns DescribeOfficeSitesResponse
@@ -11084,6 +11104,216 @@ export default class Client extends OpenApi {
11084
11104
  return await this.describeOnlineUserCountWithOptions(request, runtime);
11085
11105
  }
11086
11106
 
11107
+ /**
11108
+ * 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.
11109
+ *
11110
+ * @remarks
11111
+ * 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.
11112
+ * ## Request examples
11113
+ * The following JSON examples show the logical request parameters. Common signature parameters are generated by the SDK or signing component.
11114
+ * ### Query official printer drivers
11115
+ * 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.
11116
+ * ```json
11117
+ * {
11118
+ * "Action": "DescribePeripheralDrivers",
11119
+ * "Version": "2020-09-30",
11120
+ * "OwnerType": "WUYING",
11121
+ * "Brand": "hp",
11122
+ * "DeviceType": "printer",
11123
+ * "Filter": "LaserJet",
11124
+ * "PageSize": 20,
11125
+ * "PageNumber": 1
11126
+ * }
11127
+ * ```
11128
+ * ### Query drivers by driver ID in batches
11129
+ * ```json
11130
+ * {
11131
+ * "Action": "DescribePeripheralDrivers",
11132
+ * "Version": "2020-09-30",
11133
+ * "DriverIds": [
11134
+ * "11111111-2222-4333-8444-555555555555",
11135
+ * "66666666-7777-4888-8999-000000000000"
11136
+ * ],
11137
+ * "PageSize": 20,
11138
+ * "PageNumber": 1
11139
+ * }
11140
+ * ```
11141
+ * When you construct request parameters directly, expand DriverIds by sequence number:
11142
+ * ```text
11143
+ * DriverIds.1=11111111-2222-4333-8444-555555555555
11144
+ * DriverIds.2=66666666-7777-4888-8999-000000000000
11145
+ * ```
11146
+ * When you use an SDK, pass in a string array and the SDK handles the encoding.
11147
+ * ## Response examples
11148
+ * 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.
11149
+ * ### Successful query
11150
+ * ```json
11151
+ * {
11152
+ * "RequestId": "00000000-1111-4222-8333-444444444444",
11153
+ * "Count": 1,
11154
+ * "DriverInfos": [
11155
+ * {
11156
+ * "Id": "11111111-2222-4333-8444-555555555555",
11157
+ * "Icon": "https://example.com/icons/printer.png",
11158
+ * "Name": "HP Universal Printing PCL 6",
11159
+ * "Brand": "hp",
11160
+ * "DeviceType": "printer",
11161
+ * "OsType": "Windows",
11162
+ * "CreateTime": "2026-09-01T10:30:00+08:00",
11163
+ * "Source": "Wuying",
11164
+ * "OwnerType": "WUYING"
11165
+ * }
11166
+ * ]
11167
+ * }
11168
+ * ```
11169
+ * ### No matching results
11170
+ * ```json
11171
+ * {
11172
+ * "RequestId": "00000000-1111-4222-8333-444444444444",
11173
+ * "Count": 0,
11174
+ * "DriverInfos": []
11175
+ * }
11176
+ * ```
11177
+ *
11178
+ * @param request - DescribePeripheralDriversRequest
11179
+ * @param runtime - runtime options for this request RuntimeOptions
11180
+ * @returns DescribePeripheralDriversResponse
11181
+ */
11182
+ async describePeripheralDriversWithOptions(request: $_model.DescribePeripheralDriversRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribePeripheralDriversResponse> {
11183
+ request.validate();
11184
+ let query = { };
11185
+ if (!$dara.isNull(request.brand)) {
11186
+ query["Brand"] = request.brand;
11187
+ }
11188
+
11189
+ if (!$dara.isNull(request.deviceType)) {
11190
+ query["DeviceType"] = request.deviceType;
11191
+ }
11192
+
11193
+ if (!$dara.isNull(request.driverIds)) {
11194
+ query["DriverIds"] = request.driverIds;
11195
+ }
11196
+
11197
+ if (!$dara.isNull(request.filter)) {
11198
+ query["Filter"] = request.filter;
11199
+ }
11200
+
11201
+ if (!$dara.isNull(request.maxResults)) {
11202
+ query["MaxResults"] = request.maxResults;
11203
+ }
11204
+
11205
+ if (!$dara.isNull(request.nextToken)) {
11206
+ query["NextToken"] = request.nextToken;
11207
+ }
11208
+
11209
+ if (!$dara.isNull(request.ownerType)) {
11210
+ query["OwnerType"] = request.ownerType;
11211
+ }
11212
+
11213
+ if (!$dara.isNull(request.pageNumber)) {
11214
+ query["PageNumber"] = request.pageNumber;
11215
+ }
11216
+
11217
+ if (!$dara.isNull(request.pageSize)) {
11218
+ query["PageSize"] = request.pageSize;
11219
+ }
11220
+
11221
+ let req = new $OpenApiUtil.OpenApiRequest({
11222
+ query: OpenApiUtil.query(query),
11223
+ });
11224
+ let params = new $OpenApiUtil.Params({
11225
+ action: "DescribePeripheralDrivers",
11226
+ version: "2020-09-30",
11227
+ protocol: "HTTPS",
11228
+ pathname: "/",
11229
+ method: "POST",
11230
+ authType: "AK",
11231
+ style: "RPC",
11232
+ reqBodyType: "formData",
11233
+ bodyType: "json",
11234
+ });
11235
+ return $dara.cast<$_model.DescribePeripheralDriversResponse>(await this.callApi(params, req, runtime), new $_model.DescribePeripheralDriversResponse({}));
11236
+ }
11237
+
11238
+ /**
11239
+ * 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.
11240
+ *
11241
+ * @remarks
11242
+ * 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.
11243
+ * ## Request examples
11244
+ * The following JSON examples show the logical request parameters. Common signature parameters are generated by the SDK or signing component.
11245
+ * ### Query official printer drivers
11246
+ * 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.
11247
+ * ```json
11248
+ * {
11249
+ * "Action": "DescribePeripheralDrivers",
11250
+ * "Version": "2020-09-30",
11251
+ * "OwnerType": "WUYING",
11252
+ * "Brand": "hp",
11253
+ * "DeviceType": "printer",
11254
+ * "Filter": "LaserJet",
11255
+ * "PageSize": 20,
11256
+ * "PageNumber": 1
11257
+ * }
11258
+ * ```
11259
+ * ### Query drivers by driver ID in batches
11260
+ * ```json
11261
+ * {
11262
+ * "Action": "DescribePeripheralDrivers",
11263
+ * "Version": "2020-09-30",
11264
+ * "DriverIds": [
11265
+ * "11111111-2222-4333-8444-555555555555",
11266
+ * "66666666-7777-4888-8999-000000000000"
11267
+ * ],
11268
+ * "PageSize": 20,
11269
+ * "PageNumber": 1
11270
+ * }
11271
+ * ```
11272
+ * When you construct request parameters directly, expand DriverIds by sequence number:
11273
+ * ```text
11274
+ * DriverIds.1=11111111-2222-4333-8444-555555555555
11275
+ * DriverIds.2=66666666-7777-4888-8999-000000000000
11276
+ * ```
11277
+ * When you use an SDK, pass in a string array and the SDK handles the encoding.
11278
+ * ## Response examples
11279
+ * 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.
11280
+ * ### Successful query
11281
+ * ```json
11282
+ * {
11283
+ * "RequestId": "00000000-1111-4222-8333-444444444444",
11284
+ * "Count": 1,
11285
+ * "DriverInfos": [
11286
+ * {
11287
+ * "Id": "11111111-2222-4333-8444-555555555555",
11288
+ * "Icon": "https://example.com/icons/printer.png",
11289
+ * "Name": "HP Universal Printing PCL 6",
11290
+ * "Brand": "hp",
11291
+ * "DeviceType": "printer",
11292
+ * "OsType": "Windows",
11293
+ * "CreateTime": "2026-09-01T10:30:00+08:00",
11294
+ * "Source": "Wuying",
11295
+ * "OwnerType": "WUYING"
11296
+ * }
11297
+ * ]
11298
+ * }
11299
+ * ```
11300
+ * ### No matching results
11301
+ * ```json
11302
+ * {
11303
+ * "RequestId": "00000000-1111-4222-8333-444444444444",
11304
+ * "Count": 0,
11305
+ * "DriverInfos": []
11306
+ * }
11307
+ * ```
11308
+ *
11309
+ * @param request - DescribePeripheralDriversRequest
11310
+ * @returns DescribePeripheralDriversResponse
11311
+ */
11312
+ async describePeripheralDrivers(request: $_model.DescribePeripheralDriversRequest): Promise<$_model.DescribePeripheralDriversResponse> {
11313
+ let runtime = new $dara.RuntimeOptions({ });
11314
+ return await this.describePeripheralDriversWithOptions(request, runtime);
11315
+ }
11316
+
11087
11317
  /**
11088
11318
  * Queries the details of cloud computer policies.
11089
11319
  *
@@ -11586,6 +11816,10 @@ export default class Client extends OpenApi {
11586
11816
  async describeRecordFileWithOptions(request: $_model.DescribeRecordFileRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeRecordFileResponse> {
11587
11817
  request.validate();
11588
11818
  let query = { };
11819
+ if (!$dara.isNull(request.auditStatus)) {
11820
+ query["AuditStatus"] = request.auditStatus;
11821
+ }
11822
+
11589
11823
  if (!$dara.isNull(request.desktopId)) {
11590
11824
  query["DesktopId"] = request.desktopId;
11591
11825
  }
@@ -11849,7 +12083,7 @@ export default class Client extends OpenApi {
11849
12083
  }
11850
12084
 
11851
12085
  /**
11852
- * Queries the renewal price of a Wuying product.
12086
+ * Queries the renewal price of an Elastic Desktop Service product.
11853
12087
  *
11854
12088
  * @param request - DescribeRenewalPriceRequest
11855
12089
  * @param runtime - runtime options for this request RuntimeOptions
@@ -11908,7 +12142,7 @@ export default class Client extends OpenApi {
11908
12142
  }
11909
12143
 
11910
12144
  /**
11911
- * Queries the renewal price of a Wuying product.
12145
+ * Queries the renewal price of an Elastic Desktop Service product.
11912
12146
  *
11913
12147
  * @param request - DescribeRenewalPriceRequest
11914
12148
  * @returns DescribeRenewalPriceResponse
@@ -12209,7 +12443,7 @@ export default class Client extends OpenApi {
12209
12443
  }
12210
12444
 
12211
12445
  /**
12212
- * Queries the snapshot list and snapshot details of a cloud computer.
12446
+ * Queries the snapshot list and detailed snapshot information of a cloud computer.
12213
12447
  *
12214
12448
  * @param request - DescribeSnapshotsRequest
12215
12449
  * @param runtime - runtime options for this request RuntimeOptions
@@ -12292,7 +12526,7 @@ export default class Client extends OpenApi {
12292
12526
  }
12293
12527
 
12294
12528
  /**
12295
- * Queries the snapshot list and snapshot details of a cloud computer.
12529
+ * Queries the snapshot list and detailed snapshot information of a cloud computer.
12296
12530
  *
12297
12531
  * @param request - DescribeSnapshotsRequest
12298
12532
  * @returns DescribeSnapshotsResponse
@@ -12946,6 +13180,196 @@ export default class Client extends OpenApi {
12946
13180
  return await this.describeVirtualMFADevicesWithOptions(request, runtime);
12947
13181
  }
12948
13182
 
13183
+ /**
13184
+ * Retrieves cloud desktop information for a vulnerability.
13185
+ *
13186
+ * @remarks
13187
+ * - This operation uses a centralized endpoint in the Shanghai region. Calls from other regions are not supported.
13188
+ * - The cloud desktop status information returned by this operation has a 1 to 3 second delay from the actual values.
13189
+ *
13190
+ * @param request - DescribeVulDesktopsRequest
13191
+ * @param runtime - runtime options for this request RuntimeOptions
13192
+ * @returns DescribeVulDesktopsResponse
13193
+ */
13194
+ async describeVulDesktopsWithOptions(request: $_model.DescribeVulDesktopsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeVulDesktopsResponse> {
13195
+ request.validate();
13196
+ let query = { };
13197
+ if (!$dara.isNull(request.connectionStatus)) {
13198
+ query["ConnectionStatus"] = request.connectionStatus;
13199
+ }
13200
+
13201
+ if (!$dara.isNull(request.cveId)) {
13202
+ query["CveId"] = request.cveId;
13203
+ }
13204
+
13205
+ if (!$dara.isNull(request.desktopIdList)) {
13206
+ query["DesktopIdList"] = request.desktopIdList;
13207
+ }
13208
+
13209
+ if (!$dara.isNull(request.desktopStatus)) {
13210
+ query["DesktopStatus"] = request.desktopStatus;
13211
+ }
13212
+
13213
+ if (!$dara.isNull(request.includeFixResult)) {
13214
+ query["IncludeFixResult"] = request.includeFixResult;
13215
+ }
13216
+
13217
+ if (!$dara.isNull(request.language)) {
13218
+ query["Language"] = request.language;
13219
+ }
13220
+
13221
+ if (!$dara.isNull(request.maxResults)) {
13222
+ query["MaxResults"] = request.maxResults;
13223
+ }
13224
+
13225
+ if (!$dara.isNull(request.nextToken)) {
13226
+ query["NextToken"] = request.nextToken;
13227
+ }
13228
+
13229
+ if (!$dara.isNull(request.onlyCurrentMonthFixAttempted)) {
13230
+ query["OnlyCurrentMonthFixAttempted"] = request.onlyCurrentMonthFixAttempted;
13231
+ }
13232
+
13233
+ if (!$dara.isNull(request.pageNumber)) {
13234
+ query["PageNumber"] = request.pageNumber;
13235
+ }
13236
+
13237
+ if (!$dara.isNull(request.pageSize)) {
13238
+ query["PageSize"] = request.pageSize;
13239
+ }
13240
+
13241
+ if (!$dara.isNull(request.patchId)) {
13242
+ query["PatchId"] = request.patchId;
13243
+ }
13244
+
13245
+ if (!$dara.isNull(request.regionId)) {
13246
+ query["RegionId"] = request.regionId;
13247
+ }
13248
+
13249
+ if (!$dara.isNull(request.resourceGroupId)) {
13250
+ query["ResourceGroupId"] = request.resourceGroupId;
13251
+ }
13252
+
13253
+ if (!$dara.isNull(request.searchRegionId)) {
13254
+ query["SearchRegionId"] = request.searchRegionId;
13255
+ }
13256
+
13257
+ if (!$dara.isNull(request.statusList)) {
13258
+ query["StatusList"] = request.statusList;
13259
+ }
13260
+
13261
+ if (!$dara.isNull(request.vulLevel)) {
13262
+ query["VulLevel"] = request.vulLevel;
13263
+ }
13264
+
13265
+ let req = new $OpenApiUtil.OpenApiRequest({
13266
+ query: OpenApiUtil.query(query),
13267
+ });
13268
+ let params = new $OpenApiUtil.Params({
13269
+ action: "DescribeVulDesktops",
13270
+ version: "2020-09-30",
13271
+ protocol: "HTTPS",
13272
+ pathname: "/",
13273
+ method: "POST",
13274
+ authType: "AK",
13275
+ style: "RPC",
13276
+ reqBodyType: "formData",
13277
+ bodyType: "json",
13278
+ });
13279
+ return $dara.cast<$_model.DescribeVulDesktopsResponse>(await this.callApi(params, req, runtime), new $_model.DescribeVulDesktopsResponse({}));
13280
+ }
13281
+
13282
+ /**
13283
+ * Retrieves cloud desktop information for a vulnerability.
13284
+ *
13285
+ * @remarks
13286
+ * - This operation uses a centralized endpoint in the Shanghai region. Calls from other regions are not supported.
13287
+ * - The cloud desktop status information returned by this operation has a 1 to 3 second delay from the actual values.
13288
+ *
13289
+ * @param request - DescribeVulDesktopsRequest
13290
+ * @returns DescribeVulDesktopsResponse
13291
+ */
13292
+ async describeVulDesktops(request: $_model.DescribeVulDesktopsRequest): Promise<$_model.DescribeVulDesktopsResponse> {
13293
+ let runtime = new $dara.RuntimeOptions({ });
13294
+ return await this.describeVulDesktopsWithOptions(request, runtime);
13295
+ }
13296
+
13297
+ /**
13298
+ * Retrieves vulnerability information.
13299
+ *
13300
+ * @remarks
13301
+ * After security protection is enabled, the system automatically scans cloud desktops for system vulnerabilities on a periodic basis (once a day).
13302
+ *
13303
+ * @param request - DescribeVulnerabilityRequest
13304
+ * @param runtime - runtime options for this request RuntimeOptions
13305
+ * @returns DescribeVulnerabilityResponse
13306
+ */
13307
+ async describeVulnerabilityWithOptions(request: $_model.DescribeVulnerabilityRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeVulnerabilityResponse> {
13308
+ request.validate();
13309
+ let query = { };
13310
+ if (!$dara.isNull(request.cveId)) {
13311
+ query["CveId"] = request.cveId;
13312
+ }
13313
+
13314
+ if (!$dara.isNull(request.includeDesktop)) {
13315
+ query["IncludeDesktop"] = request.includeDesktop;
13316
+ }
13317
+
13318
+ if (!$dara.isNull(request.language)) {
13319
+ query["Language"] = request.language;
13320
+ }
13321
+
13322
+ if (!$dara.isNull(request.maxResults)) {
13323
+ query["MaxResults"] = request.maxResults;
13324
+ }
13325
+
13326
+ if (!$dara.isNull(request.nextToken)) {
13327
+ query["NextToken"] = request.nextToken;
13328
+ }
13329
+
13330
+ if (!$dara.isNull(request.patchId)) {
13331
+ query["PatchId"] = request.patchId;
13332
+ }
13333
+
13334
+ if (!$dara.isNull(request.regionId)) {
13335
+ query["RegionId"] = request.regionId;
13336
+ }
13337
+
13338
+ if (!$dara.isNull(request.searchRegionId)) {
13339
+ query["SearchRegionId"] = request.searchRegionId;
13340
+ }
13341
+
13342
+ let req = new $OpenApiUtil.OpenApiRequest({
13343
+ query: OpenApiUtil.query(query),
13344
+ });
13345
+ let params = new $OpenApiUtil.Params({
13346
+ action: "DescribeVulnerability",
13347
+ version: "2020-09-30",
13348
+ protocol: "HTTPS",
13349
+ pathname: "/",
13350
+ method: "POST",
13351
+ authType: "AK",
13352
+ style: "RPC",
13353
+ reqBodyType: "formData",
13354
+ bodyType: "json",
13355
+ });
13356
+ return $dara.cast<$_model.DescribeVulnerabilityResponse>(await this.callApi(params, req, runtime), new $_model.DescribeVulnerabilityResponse({}));
13357
+ }
13358
+
13359
+ /**
13360
+ * Retrieves vulnerability information.
13361
+ *
13362
+ * @remarks
13363
+ * After security protection is enabled, the system automatically scans cloud desktops for system vulnerabilities on a periodic basis (once a day).
13364
+ *
13365
+ * @param request - DescribeVulnerabilityRequest
13366
+ * @returns DescribeVulnerabilityResponse
13367
+ */
13368
+ async describeVulnerability(request: $_model.DescribeVulnerabilityRequest): Promise<$_model.DescribeVulnerabilityResponse> {
13369
+ let runtime = new $dara.RuntimeOptions({ });
13370
+ return await this.describeVulnerabilityWithOptions(request, runtime);
13371
+ }
13372
+
12949
13373
  /**
12950
13374
  * Queries the zones supported by Alibaba Cloud Workspace in a specified Alibaba Cloud region.
12951
13375
  *
@@ -13660,6 +14084,56 @@ export default class Client extends OpenApi {
13660
14084
  return await this.exportDesktopListInfoWithOptions(request, runtime);
13661
14085
  }
13662
14086
 
14087
+ /**
14088
+ * Queries desktop data statistics by different dimensions.
14089
+ *
14090
+ * @param request - GetAggregatedDesktopsRequest
14091
+ * @param runtime - runtime options for this request RuntimeOptions
14092
+ * @returns GetAggregatedDesktopsResponse
14093
+ */
14094
+ async getAggregatedDesktopsWithOptions(request: $_model.GetAggregatedDesktopsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetAggregatedDesktopsResponse> {
14095
+ request.validate();
14096
+ let query = { };
14097
+ if (!$dara.isNull(request.aggregationFactor)) {
14098
+ query["AggregationFactor"] = request.aggregationFactor;
14099
+ }
14100
+
14101
+ if (!$dara.isNull(request.regionId)) {
14102
+ query["RegionId"] = request.regionId;
14103
+ }
14104
+
14105
+ if (!$dara.isNull(request.searchRegionId)) {
14106
+ query["SearchRegionId"] = request.searchRegionId;
14107
+ }
14108
+
14109
+ let req = new $OpenApiUtil.OpenApiRequest({
14110
+ query: OpenApiUtil.query(query),
14111
+ });
14112
+ let params = new $OpenApiUtil.Params({
14113
+ action: "GetAggregatedDesktops",
14114
+ version: "2020-09-30",
14115
+ protocol: "HTTPS",
14116
+ pathname: "/",
14117
+ method: "POST",
14118
+ authType: "AK",
14119
+ style: "RPC",
14120
+ reqBodyType: "formData",
14121
+ bodyType: "json",
14122
+ });
14123
+ return $dara.cast<$_model.GetAggregatedDesktopsResponse>(await this.callApi(params, req, runtime), new $_model.GetAggregatedDesktopsResponse({}));
14124
+ }
14125
+
14126
+ /**
14127
+ * Queries desktop data statistics by different dimensions.
14128
+ *
14129
+ * @param request - GetAggregatedDesktopsRequest
14130
+ * @returns GetAggregatedDesktopsResponse
14131
+ */
14132
+ async getAggregatedDesktops(request: $_model.GetAggregatedDesktopsRequest): Promise<$_model.GetAggregatedDesktopsResponse> {
14133
+ let runtime = new $dara.RuntimeOptions({ });
14134
+ return await this.getAggregatedDesktopsWithOptions(request, runtime);
14135
+ }
14136
+
13663
14137
  /**
13664
14138
  * Retrieves the details of a folder copy asynchronous node based on the AsyncTaskId parameter returned by the CopyCdsFile operation.
13665
14139
  *
@@ -13710,7 +14184,7 @@ export default class Client extends OpenApi {
13710
14184
  * Retrieves the connection credential for a cloud computer.
13711
14185
  *
13712
14186
  * @remarks
13713
- * The cloud computer must be in the Running state. The ticket obtained by calling this operation expires in 10 minutes.
14187
+ * The cloud computer must be in the Running state. The ticket obtained by calling this operation expires after 10 minutes.
13714
14188
  *
13715
14189
  * @param request - GetConnectionTicketRequest
13716
14190
  * @param runtime - runtime options for this request RuntimeOptions
@@ -13719,6 +14193,10 @@ export default class Client extends OpenApi {
13719
14193
  async getConnectionTicketWithOptions(request: $_model.GetConnectionTicketRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetConnectionTicketResponse> {
13720
14194
  request.validate();
13721
14195
  let query = { };
14196
+ if (!$dara.isNull(request.clientType)) {
14197
+ query["ClientType"] = request.clientType;
14198
+ }
14199
+
13722
14200
  if (!$dara.isNull(request.commandContent)) {
13723
14201
  query["CommandContent"] = request.commandContent;
13724
14202
  }
@@ -13780,7 +14258,7 @@ export default class Client extends OpenApi {
13780
14258
  * Retrieves the connection credential for a cloud computer.
13781
14259
  *
13782
14260
  * @remarks
13783
- * The cloud computer must be in the Running state. The ticket obtained by calling this operation expires in 10 minutes.
14261
+ * The cloud computer must be in the Running state. The ticket obtained by calling this operation expires after 10 minutes.
13784
14262
  *
13785
14263
  * @param request - GetConnectionTicketRequest
13786
14264
  * @returns GetConnectionTicketResponse
@@ -14121,7 +14599,7 @@ export default class Client extends OpenApi {
14121
14599
  }
14122
14600
 
14123
14601
  /**
14124
- * Retrieves user information from an enterprise Active Directory (AD) when you use an AD directory to connect to your enterprise AD.
14602
+ * Retrieves user information from an enterprise Active Directory (AD) if you use an AD directory to connect to your enterprise AD.
14125
14603
  *
14126
14604
  * @param request - ListDirectoryUsersRequest
14127
14605
  * @param runtime - runtime options for this request RuntimeOptions
@@ -14184,7 +14662,7 @@ export default class Client extends OpenApi {
14184
14662
  }
14185
14663
 
14186
14664
  /**
14187
- * Retrieves user information from an enterprise Active Directory (AD) when you use an AD directory to connect to your enterprise AD.
14665
+ * Retrieves user information from an enterprise Active Directory (AD) if you use an AD directory to connect to your enterprise AD.
14188
14666
  *
14189
14667
  * @param request - ListDirectoryUsersRequest
14190
14668
  * @returns ListDirectoryUsersResponse
@@ -14777,7 +15255,7 @@ export default class Client extends OpenApi {
14777
15255
  }
14778
15256
 
14779
15257
  /**
14780
- * Migrates cloud computers from the current office network (formerly known as workspace) to a new office network.
15258
+ * Migrates cloud computers from the current office network to a new office network.
14781
15259
  *
14782
15260
  * @param request - MigrateDesktopsRequest
14783
15261
  * @param runtime - runtime options for this request RuntimeOptions
@@ -14824,7 +15302,7 @@ export default class Client extends OpenApi {
14824
15302
  }
14825
15303
 
14826
15304
  /**
14827
- * Migrates cloud computers from the current office network (formerly known as workspace) to a new office network.
15305
+ * Migrates cloud computers from the current office network to a new office network.
14828
15306
  *
14829
15307
  * @param request - MigrateDesktopsRequest
14830
15308
  * @returns MigrateDesktopsResponse
@@ -18444,7 +18922,7 @@ export default class Client extends OpenApi {
18444
18922
  * Modifies all parameters of a custom cloud computer template.
18445
18923
  *
18446
18924
  * @remarks
18447
- * >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.
18925
+ * >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.
18448
18926
  *
18449
18927
  * @param request - ModifyTemplateRequest
18450
18928
  * @param runtime - runtime options for this request RuntimeOptions
@@ -18482,6 +18960,10 @@ export default class Client extends OpenApi {
18482
18960
  body["ImageId"] = request.imageId;
18483
18961
  }
18484
18962
 
18963
+ if (!$dara.isNull(request.instanceName)) {
18964
+ body["InstanceName"] = request.instanceName;
18965
+ }
18966
+
18485
18967
  if (!$dara.isNull(request.period)) {
18486
18968
  body["Period"] = request.period;
18487
18969
  }
@@ -18563,7 +19045,7 @@ export default class Client extends OpenApi {
18563
19045
  * Modifies all parameters of a custom cloud computer template.
18564
19046
  *
18565
19047
  * @remarks
18566
- * >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.
19048
+ * >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.
18567
19049
  *
18568
19050
  * @param request - ModifyTemplateRequest
18569
19051
  * @returns ModifyTemplateResponse
@@ -18574,10 +19056,10 @@ export default class Client extends OpenApi {
18574
19056
  }
18575
19057
 
18576
19058
  /**
18577
- * Modifies the basic information of a custom cloud computer template, including the template name and description.
19059
+ * Modifies the basic information of a custom cloud computer template, including the template name and template description.
18578
19060
  *
18579
19061
  * @remarks
18580
- * 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).
19062
+ * 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).
18581
19063
  *
18582
19064
  * @param request - ModifyTemplateBaseInfoRequest
18583
19065
  * @param runtime - runtime options for this request RuntimeOptions
@@ -18590,6 +19072,10 @@ export default class Client extends OpenApi {
18590
19072
  body["Description"] = request.description;
18591
19073
  }
18592
19074
 
19075
+ if (!$dara.isNull(request.instanceName)) {
19076
+ body["InstanceName"] = request.instanceName;
19077
+ }
19078
+
18593
19079
  if (!$dara.isNull(request.templateId)) {
18594
19080
  body["TemplateId"] = request.templateId;
18595
19081
  }
@@ -18616,10 +19102,10 @@ export default class Client extends OpenApi {
18616
19102
  }
18617
19103
 
18618
19104
  /**
18619
- * Modifies the basic information of a custom cloud computer template, including the template name and description.
19105
+ * Modifies the basic information of a custom cloud computer template, including the template name and template description.
18620
19106
  *
18621
19107
  * @remarks
18622
- * 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).
19108
+ * 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).
18623
19109
  *
18624
19110
  * @param request - ModifyTemplateBaseInfoRequest
18625
19111
  * @returns ModifyTemplateBaseInfoResponse
@@ -18688,10 +19174,10 @@ export default class Client extends OpenApi {
18688
19174
  }
18689
19175
 
18690
19176
  /**
18691
- * Grants permissions on cloud desktops to end users, or revokes the permissions from the end users.
19177
+ * Adds or removes the authorization of one or more cloud computers for one or more users.
18692
19178
  *
18693
19179
  * @remarks
18694
- * You can modify end users only for cloud computers that are in the Running state.
19180
+ * Only cloud computers in the Running state support modifying authorized users.
18695
19181
  *
18696
19182
  * @param request - ModifyUserEntitlementRequest
18697
19183
  * @param runtime - runtime options for this request RuntimeOptions
@@ -18734,10 +19220,10 @@ export default class Client extends OpenApi {
18734
19220
  }
18735
19221
 
18736
19222
  /**
18737
- * Grants permissions on cloud desktops to end users, or revokes the permissions from the end users.
19223
+ * Adds or removes the authorization of one or more cloud computers for one or more users.
18738
19224
  *
18739
19225
  * @remarks
18740
- * You can modify end users only for cloud computers that are in the Running state.
19226
+ * Only cloud computers in the Running state support modifying authorized users.
18741
19227
  *
18742
19228
  * @param request - ModifyUserEntitlementRequest
18743
19229
  * @returns ModifyUserEntitlementResponse
@@ -19003,6 +19489,200 @@ export default class Client extends OpenApi {
19003
19489
  return await this.moveCdsFileWithOptions(request, runtime);
19004
19490
  }
19005
19491
 
19492
+ /**
19493
+ * 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.
19494
+ *
19495
+ * @param request - QueryActiveUserStatisticRequest
19496
+ * @param runtime - runtime options for this request RuntimeOptions
19497
+ * @returns QueryActiveUserStatisticResponse
19498
+ */
19499
+ async queryActiveUserStatisticWithOptions(request: $_model.QueryActiveUserStatisticRequest, runtime: $dara.RuntimeOptions): Promise<$_model.QueryActiveUserStatisticResponse> {
19500
+ request.validate();
19501
+ let query = { };
19502
+ if (!$dara.isNull(request.bizType)) {
19503
+ query["BizType"] = request.bizType;
19504
+ }
19505
+
19506
+ if (!$dara.isNull(request.endTime)) {
19507
+ query["EndTime"] = request.endTime;
19508
+ }
19509
+
19510
+ if (!$dara.isNull(request.officeSiteId)) {
19511
+ query["OfficeSiteId"] = request.officeSiteId;
19512
+ }
19513
+
19514
+ if (!$dara.isNull(request.period)) {
19515
+ query["Period"] = request.period;
19516
+ }
19517
+
19518
+ if (!$dara.isNull(request.startTime)) {
19519
+ query["StartTime"] = request.startTime;
19520
+ }
19521
+
19522
+ let req = new $OpenApiUtil.OpenApiRequest({
19523
+ query: OpenApiUtil.query(query),
19524
+ });
19525
+ let params = new $OpenApiUtil.Params({
19526
+ action: "QueryActiveUserStatistic",
19527
+ version: "2020-09-30",
19528
+ protocol: "HTTPS",
19529
+ pathname: "/",
19530
+ method: "POST",
19531
+ authType: "AK",
19532
+ style: "RPC",
19533
+ reqBodyType: "formData",
19534
+ bodyType: "json",
19535
+ });
19536
+ return $dara.cast<$_model.QueryActiveUserStatisticResponse>(await this.callApi(params, req, runtime), new $_model.QueryActiveUserStatisticResponse({}));
19537
+ }
19538
+
19539
+ /**
19540
+ * 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.
19541
+ *
19542
+ * @param request - QueryActiveUserStatisticRequest
19543
+ * @returns QueryActiveUserStatisticResponse
19544
+ */
19545
+ async queryActiveUserStatistic(request: $_model.QueryActiveUserStatisticRequest): Promise<$_model.QueryActiveUserStatisticResponse> {
19546
+ let runtime = new $dara.RuntimeOptions({ });
19547
+ return await this.queryActiveUserStatisticWithOptions(request, runtime);
19548
+ }
19549
+
19550
+ /**
19551
+ * 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.
19552
+ *
19553
+ * @param request - QueryAuthUserConnectDurationListRequest
19554
+ * @param runtime - runtime options for this request RuntimeOptions
19555
+ * @returns QueryAuthUserConnectDurationListResponse
19556
+ */
19557
+ async queryAuthUserConnectDurationListWithOptions(request: $_model.QueryAuthUserConnectDurationListRequest, runtime: $dara.RuntimeOptions): Promise<$_model.QueryAuthUserConnectDurationListResponse> {
19558
+ request.validate();
19559
+ let query = { };
19560
+ if (!$dara.isNull(request.comparisonOperator)) {
19561
+ query["ComparisonOperator"] = request.comparisonOperator;
19562
+ }
19563
+
19564
+ if (!$dara.isNull(request.dataDate)) {
19565
+ query["DataDate"] = request.dataDate;
19566
+ }
19567
+
19568
+ if (!$dara.isNull(request.isAdUser)) {
19569
+ query["IsAdUser"] = request.isAdUser;
19570
+ }
19571
+
19572
+ if (!$dara.isNull(request.nextToken)) {
19573
+ query["NextToken"] = request.nextToken;
19574
+ }
19575
+
19576
+ if (!$dara.isNull(request.pageNum)) {
19577
+ query["PageNum"] = request.pageNum;
19578
+ }
19579
+
19580
+ if (!$dara.isNull(request.pageSize)) {
19581
+ query["PageSize"] = request.pageSize;
19582
+ }
19583
+
19584
+ if (!$dara.isNull(request.statisticType)) {
19585
+ query["StatisticType"] = request.statisticType;
19586
+ }
19587
+
19588
+ if (!$dara.isNull(request.threshold)) {
19589
+ query["Threshold"] = request.threshold;
19590
+ }
19591
+
19592
+ if (!$dara.isNull(request.userName)) {
19593
+ query["UserName"] = request.userName;
19594
+ }
19595
+
19596
+ if (!$dara.isNull(request.withDetail)) {
19597
+ query["WithDetail"] = request.withDetail;
19598
+ }
19599
+
19600
+ let req = new $OpenApiUtil.OpenApiRequest({
19601
+ query: OpenApiUtil.query(query),
19602
+ });
19603
+ let params = new $OpenApiUtil.Params({
19604
+ action: "QueryAuthUserConnectDurationList",
19605
+ version: "2020-09-30",
19606
+ protocol: "HTTPS",
19607
+ pathname: "/",
19608
+ method: "POST",
19609
+ authType: "AK",
19610
+ style: "RPC",
19611
+ reqBodyType: "formData",
19612
+ bodyType: "json",
19613
+ });
19614
+ return $dara.cast<$_model.QueryAuthUserConnectDurationListResponse>(await this.callApi(params, req, runtime), new $_model.QueryAuthUserConnectDurationListResponse({}));
19615
+ }
19616
+
19617
+ /**
19618
+ * 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.
19619
+ *
19620
+ * @param request - QueryAuthUserConnectDurationListRequest
19621
+ * @returns QueryAuthUserConnectDurationListResponse
19622
+ */
19623
+ async queryAuthUserConnectDurationList(request: $_model.QueryAuthUserConnectDurationListRequest): Promise<$_model.QueryAuthUserConnectDurationListResponse> {
19624
+ let runtime = new $dara.RuntimeOptions({ });
19625
+ return await this.queryAuthUserConnectDurationListWithOptions(request, runtime);
19626
+ }
19627
+
19628
+ /**
19629
+ * 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.
19630
+ *
19631
+ * @param request - QueryEndUserHistoryUsageRequest
19632
+ * @param runtime - runtime options for this request RuntimeOptions
19633
+ * @returns QueryEndUserHistoryUsageResponse
19634
+ */
19635
+ async queryEndUserHistoryUsageWithOptions(request: $_model.QueryEndUserHistoryUsageRequest, runtime: $dara.RuntimeOptions): Promise<$_model.QueryEndUserHistoryUsageResponse> {
19636
+ request.validate();
19637
+ let query = { };
19638
+ if (!$dara.isNull(request.endDate)) {
19639
+ query["EndDate"] = request.endDate;
19640
+ }
19641
+
19642
+ if (!$dara.isNull(request.isAdUser)) {
19643
+ query["IsAdUser"] = request.isAdUser;
19644
+ }
19645
+
19646
+ if (!$dara.isNull(request.pageNum)) {
19647
+ query["PageNum"] = request.pageNum;
19648
+ }
19649
+
19650
+ if (!$dara.isNull(request.pageSize)) {
19651
+ query["PageSize"] = request.pageSize;
19652
+ }
19653
+
19654
+ if (!$dara.isNull(request.startDate)) {
19655
+ query["StartDate"] = request.startDate;
19656
+ }
19657
+
19658
+ let req = new $OpenApiUtil.OpenApiRequest({
19659
+ query: OpenApiUtil.query(query),
19660
+ });
19661
+ let params = new $OpenApiUtil.Params({
19662
+ action: "QueryEndUserHistoryUsage",
19663
+ version: "2020-09-30",
19664
+ protocol: "HTTPS",
19665
+ pathname: "/",
19666
+ method: "POST",
19667
+ authType: "AK",
19668
+ style: "RPC",
19669
+ reqBodyType: "formData",
19670
+ bodyType: "json",
19671
+ });
19672
+ return $dara.cast<$_model.QueryEndUserHistoryUsageResponse>(await this.callApi(params, req, runtime), new $_model.QueryEndUserHistoryUsageResponse({}));
19673
+ }
19674
+
19675
+ /**
19676
+ * 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.
19677
+ *
19678
+ * @param request - QueryEndUserHistoryUsageRequest
19679
+ * @returns QueryEndUserHistoryUsageResponse
19680
+ */
19681
+ async queryEndUserHistoryUsage(request: $_model.QueryEndUserHistoryUsageRequest): Promise<$_model.QueryEndUserHistoryUsageResponse> {
19682
+ let runtime = new $dara.RuntimeOptions({ });
19683
+ return await this.queryEndUserHistoryUsageWithOptions(request, runtime);
19684
+ }
19685
+
19006
19686
  /**
19007
19687
  * Queries the historical daily active user count and monthly active user count for a specified date.
19008
19688
  *
@@ -19057,6 +19737,68 @@ export default class Client extends OpenApi {
19057
19737
  return await this.queryHistoryActiveUserCountWithOptions(request, runtime);
19058
19738
  }
19059
19739
 
19740
+ /**
19741
+ * 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.
19742
+ *
19743
+ * @param request - QueryHistoryActiveUserStatisticRequest
19744
+ * @param runtime - runtime options for this request RuntimeOptions
19745
+ * @returns QueryHistoryActiveUserStatisticResponse
19746
+ */
19747
+ async queryHistoryActiveUserStatisticWithOptions(request: $_model.QueryHistoryActiveUserStatisticRequest, runtime: $dara.RuntimeOptions): Promise<$_model.QueryHistoryActiveUserStatisticResponse> {
19748
+ request.validate();
19749
+ let query = { };
19750
+ if (!$dara.isNull(request.bizType)) {
19751
+ query["BizType"] = request.bizType;
19752
+ }
19753
+
19754
+ if (!$dara.isNull(request.endDate)) {
19755
+ query["EndDate"] = request.endDate;
19756
+ }
19757
+
19758
+ if (!$dara.isNull(request.officeSiteId)) {
19759
+ query["OfficeSiteId"] = request.officeSiteId;
19760
+ }
19761
+
19762
+ if (!$dara.isNull(request.period)) {
19763
+ query["Period"] = request.period;
19764
+ }
19765
+
19766
+ if (!$dara.isNull(request.startDate)) {
19767
+ query["StartDate"] = request.startDate;
19768
+ }
19769
+
19770
+ if (!$dara.isNull(request.userGroupId)) {
19771
+ query["UserGroupId"] = request.userGroupId;
19772
+ }
19773
+
19774
+ let req = new $OpenApiUtil.OpenApiRequest({
19775
+ query: OpenApiUtil.query(query),
19776
+ });
19777
+ let params = new $OpenApiUtil.Params({
19778
+ action: "QueryHistoryActiveUserStatistic",
19779
+ version: "2020-09-30",
19780
+ protocol: "HTTPS",
19781
+ pathname: "/",
19782
+ method: "POST",
19783
+ authType: "AK",
19784
+ style: "RPC",
19785
+ reqBodyType: "formData",
19786
+ bodyType: "json",
19787
+ });
19788
+ return $dara.cast<$_model.QueryHistoryActiveUserStatisticResponse>(await this.callApi(params, req, runtime), new $_model.QueryHistoryActiveUserStatisticResponse({}));
19789
+ }
19790
+
19791
+ /**
19792
+ * 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.
19793
+ *
19794
+ * @param request - QueryHistoryActiveUserStatisticRequest
19795
+ * @returns QueryHistoryActiveUserStatisticResponse
19796
+ */
19797
+ async queryHistoryActiveUserStatistic(request: $_model.QueryHistoryActiveUserStatisticRequest): Promise<$_model.QueryHistoryActiveUserStatisticResponse> {
19798
+ let runtime = new $dara.RuntimeOptions({ });
19799
+ return await this.queryHistoryActiveUserStatisticWithOptions(request, runtime);
19800
+ }
19801
+
19060
19802
  /**
19061
19803
  * Queries the historical average monitoring metrics of desktop resources within a specified date range.
19062
19804
  *
@@ -19300,10 +20042,10 @@ export default class Client extends OpenApi {
19300
20042
  }
19301
20043
 
19302
20044
  /**
19303
- * Reboots one or more desktops.
20045
+ * Restarts one or more cloud computers.
19304
20046
  *
19305
20047
  * @remarks
19306
- * The desktops must be in the Running state.
20048
+ * The cloud computers must be in the Running state.
19307
20049
  *
19308
20050
  * @param request - RebootDesktopsRequest
19309
20051
  * @param runtime - runtime options for this request RuntimeOptions
@@ -19350,10 +20092,10 @@ export default class Client extends OpenApi {
19350
20092
  }
19351
20093
 
19352
20094
  /**
19353
- * Reboots one or more desktops.
20095
+ * Restarts one or more cloud computers.
19354
20096
  *
19355
20097
  * @remarks
19356
- * The desktops must be in the Running state.
20098
+ * The cloud computers must be in the Running state.
19357
20099
  *
19358
20100
  * @param request - RebootDesktopsRequest
19359
20101
  * @returns RebootDesktopsResponse
@@ -20268,7 +21010,7 @@ export default class Client extends OpenApi {
20268
21010
  }
20269
21011
 
20270
21012
  /**
20271
- * Executes a PowerShell or Bat script on one or more cloud computers that run the Windows operating system.
21013
+ * Executes a PowerShell or Bat script on one or more cloud computers that run Windows.
20272
21014
  *
20273
21015
  * @param request - RunCommandRequest
20274
21016
  * @param runtime - runtime options for this request RuntimeOptions
@@ -20327,7 +21069,7 @@ export default class Client extends OpenApi {
20327
21069
  }
20328
21070
 
20329
21071
  /**
20330
- * Executes a PowerShell or Bat script on one or more cloud computers that run the Windows operating system.
21072
+ * Executes a PowerShell or Bat script on one or more cloud computers that run Windows.
20331
21073
  *
20332
21074
  * @param request - RunCommandRequest
20333
21075
  * @returns RunCommandResponse
@@ -20838,10 +21580,10 @@ export default class Client extends OpenApi {
20838
21580
  }
20839
21581
 
20840
21582
  /**
20841
- * Starts stopped cloud computers. After the API operation is successfully called, the cloud computers enter the Running state.
21583
+ * Starts one or more stopped cloud computers. After the operation is called successfully, the cloud computers enter the Running state.
20842
21584
  *
20843
21585
  * @remarks
20844
- * The cloud computers that you want to start must be in the Stopped state.
21586
+ * The cloud computers must be in the Stopped state.
20845
21587
  *
20846
21588
  * @param request - StartDesktopsRequest
20847
21589
  * @param runtime - runtime options for this request RuntimeOptions
@@ -20876,10 +21618,10 @@ export default class Client extends OpenApi {
20876
21618
  }
20877
21619
 
20878
21620
  /**
20879
- * Starts stopped cloud computers. After the API operation is successfully called, the cloud computers enter the Running state.
21621
+ * Starts one or more stopped cloud computers. After the operation is called successfully, the cloud computers enter the Running state.
20880
21622
  *
20881
21623
  * @remarks
20882
- * The cloud computers that you want to start must be in the Stopped state.
21624
+ * The cloud computers must be in the Stopped state.
20883
21625
  *
20884
21626
  * @param request - StartDesktopsRequest
20885
21627
  * @returns StartDesktopsResponse