@alicloud/ecd20200930 5.3.0 → 5.5.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 (178) hide show
  1. package/dist/client.d.ts +158 -68
  2. package/dist/client.js +347 -68
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CreateDesktopsRequest.d.ts +68 -57
  5. package/dist/models/CreateDesktopsRequest.js +2 -0
  6. package/dist/models/CreateDesktopsRequest.js.map +1 -1
  7. package/dist/models/CreateDesktopsResponseBody.d.ts +1 -1
  8. package/dist/models/CreateDesktopsShrinkRequest.d.ts +56 -48
  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/CreateTemplateRequest.d.ts +34 -18
  19. package/dist/models/CreateTemplateRequest.js +4 -0
  20. package/dist/models/CreateTemplateRequest.js.map +1 -1
  21. package/dist/models/CreateTemplateResponseBody.d.ts +1 -1
  22. package/dist/models/CreateVirtualBridgeRequest.d.ts +10 -10
  23. package/dist/models/DeleteTemplatesResponseBody.d.ts +3 -6
  24. package/dist/models/DeleteTemplatesResponseBody.js.map +1 -1
  25. package/dist/models/DeleteVirtualBridgeRequest.d.ts +2 -2
  26. package/dist/models/DescribeCloudDiskGroupDrivesRequest.d.ts +3 -3
  27. package/dist/models/DescribeCloudDiskGroupDrivesResponseBody.d.ts +11 -3
  28. package/dist/models/DescribeCloudDiskGroupDrivesResponseBody.js +2 -0
  29. package/dist/models/DescribeCloudDiskGroupDrivesResponseBody.js.map +1 -1
  30. package/dist/models/DescribeConsoleMessagesRequest.d.ts +84 -0
  31. package/dist/models/DescribeConsoleMessagesRequest.js +85 -0
  32. package/dist/models/DescribeConsoleMessagesRequest.js.map +1 -0
  33. package/dist/models/DescribeConsoleMessagesResponse.d.ts +19 -0
  34. package/dist/models/DescribeConsoleMessagesResponse.js +69 -0
  35. package/dist/models/DescribeConsoleMessagesResponse.js.map +1 -0
  36. package/dist/models/DescribeConsoleMessagesResponseBody.d.ts +365 -0
  37. package/dist/models/DescribeConsoleMessagesResponseBody.js +258 -0
  38. package/dist/models/DescribeConsoleMessagesResponseBody.js.map +1 -0
  39. package/dist/models/DescribeDesktopsRequest.d.ts +50 -25
  40. package/dist/models/DescribeDesktopsRequest.js +2 -0
  41. package/dist/models/DescribeDesktopsRequest.js.map +1 -1
  42. package/dist/models/DescribeDesktopsResponseBody.d.ts +89 -60
  43. package/dist/models/DescribeDesktopsResponseBody.js +6 -0
  44. package/dist/models/DescribeDesktopsResponseBody.js.map +1 -1
  45. package/dist/models/DescribeGlobalDesktopRecordsRequest.d.ts +7 -7
  46. package/dist/models/DescribeGlobalDesktopRecordsResponseBody.d.ts +12 -5
  47. package/dist/models/DescribeGlobalDesktopRecordsResponseBody.js +2 -0
  48. package/dist/models/DescribeGlobalDesktopRecordsResponseBody.js.map +1 -1
  49. package/dist/models/DescribeInvocationsRequest.d.ts +6 -6
  50. package/dist/models/DescribeInvocationsResponseBody.d.ts +26 -26
  51. package/dist/models/DescribeNasfileSystemsRequest.d.ts +2 -2
  52. package/dist/models/DescribeNasfileSystemsResponseBody.d.ts +23 -4
  53. package/dist/models/DescribeNasfileSystemsResponseBody.js +2 -0
  54. package/dist/models/DescribeNasfileSystemsResponseBody.js.map +1 -1
  55. package/dist/models/DescribeRecordFileRequest.d.ts +18 -5
  56. package/dist/models/DescribeRecordFileRequest.js +2 -0
  57. package/dist/models/DescribeRecordFileRequest.js.map +1 -1
  58. package/dist/models/DescribeRecordFileResponseBody.d.ts +14 -9
  59. package/dist/models/DescribeRecordFileResponseBody.js +5 -0
  60. package/dist/models/DescribeRecordFileResponseBody.js.map +1 -1
  61. package/dist/models/DescribeRenewalPriceRequest.d.ts +4 -4
  62. package/dist/models/DescribeRenewalPriceResponseBody.d.ts +3 -3
  63. package/dist/models/DescribeTemplatesRequest.d.ts +5 -8
  64. package/dist/models/DescribeTemplatesRequest.js.map +1 -1
  65. package/dist/models/DescribeTemplatesResponseBody.d.ts +39 -12
  66. package/dist/models/DescribeTemplatesResponseBody.js +4 -0
  67. package/dist/models/DescribeTemplatesResponseBody.js.map +1 -1
  68. package/dist/models/DescribeVulDesktopsRequest.d.ts +29 -10
  69. package/dist/models/DescribeVulDesktopsRequest.js +4 -0
  70. package/dist/models/DescribeVulDesktopsRequest.js.map +1 -1
  71. package/dist/models/DescribeVulDesktopsResponseBody.d.ts +26 -10
  72. package/dist/models/DescribeVulDesktopsResponseBody.js +4 -0
  73. package/dist/models/DescribeVulDesktopsResponseBody.js.map +1 -1
  74. package/dist/models/DescribeVulnerabilityRequest.d.ts +1 -1
  75. package/dist/models/DescribeVulnerabilityResponseBody.d.ts +5 -5
  76. package/dist/models/DownloadCdsFileResponseBody.d.ts +1 -1
  77. package/dist/models/GetAggregatedDesktopsRequest.d.ts +41 -0
  78. package/dist/models/GetAggregatedDesktopsRequest.js +62 -0
  79. package/dist/models/GetAggregatedDesktopsRequest.js.map +1 -0
  80. package/dist/models/GetAggregatedDesktopsResponse.d.ts +19 -0
  81. package/dist/models/GetAggregatedDesktopsResponse.js +69 -0
  82. package/dist/models/GetAggregatedDesktopsResponse.js.map +1 -0
  83. package/dist/models/GetAggregatedDesktopsResponseBody.d.ts +46 -0
  84. package/dist/models/GetAggregatedDesktopsResponseBody.js +85 -0
  85. package/dist/models/GetAggregatedDesktopsResponseBody.js.map +1 -0
  86. package/dist/models/GetConnectionTicketRequest.d.ts +12 -4
  87. package/dist/models/GetConnectionTicketRequest.js +2 -0
  88. package/dist/models/GetConnectionTicketRequest.js.map +1 -1
  89. package/dist/models/GetConnectionTicketResponseBody.d.ts +3 -3
  90. package/dist/models/ListVirtualBridgesRequest.d.ts +3 -3
  91. package/dist/models/ListVirtualBridgesResponseBody.d.ts +5 -3
  92. package/dist/models/ListVirtualBridgesResponseBody.js.map +1 -1
  93. package/dist/models/ModifyTemplateBaseInfoRequest.d.ts +9 -1
  94. package/dist/models/ModifyTemplateBaseInfoRequest.js +2 -0
  95. package/dist/models/ModifyTemplateBaseInfoRequest.js.map +1 -1
  96. package/dist/models/ModifyTemplateRequest.d.ts +26 -10
  97. package/dist/models/ModifyTemplateRequest.js +4 -0
  98. package/dist/models/ModifyTemplateRequest.js.map +1 -1
  99. package/dist/models/ModifyVirtualBridgeLevelRequest.d.ts +5 -5
  100. package/dist/models/ModifyVirtualBridgeStatusRequest.d.ts +3 -3
  101. package/dist/models/QueryAuthUserConnectDurationListRequest.d.ts +93 -0
  102. package/dist/models/QueryAuthUserConnectDurationListRequest.js +76 -0
  103. package/dist/models/QueryAuthUserConnectDurationListRequest.js.map +1 -0
  104. package/dist/models/QueryAuthUserConnectDurationListResponse.d.ts +19 -0
  105. package/dist/models/QueryAuthUserConnectDurationListResponse.js +69 -0
  106. package/dist/models/QueryAuthUserConnectDurationListResponse.js.map +1 -0
  107. package/dist/models/QueryAuthUserConnectDurationListResponseBody.d.ts +171 -0
  108. package/dist/models/QueryAuthUserConnectDurationListResponseBody.js +112 -0
  109. package/dist/models/QueryAuthUserConnectDurationListResponseBody.js.map +1 -0
  110. package/dist/models/RenewVirtualBridgeRequest.d.ts +3 -3
  111. package/dist/models/SendConsoleMessageRequest.d.ts +23 -0
  112. package/dist/models/SendConsoleMessageRequest.js +58 -0
  113. package/dist/models/SendConsoleMessageRequest.js.map +1 -0
  114. package/dist/models/SendConsoleMessageResponse.d.ts +19 -0
  115. package/dist/models/SendConsoleMessageResponse.js +69 -0
  116. package/dist/models/SendConsoleMessageResponse.js.map +1 -0
  117. package/dist/models/SendConsoleMessageResponseBody.d.ts +29 -0
  118. package/dist/models/SendConsoleMessageResponseBody.js +60 -0
  119. package/dist/models/SendConsoleMessageResponseBody.js.map +1 -0
  120. package/dist/models/model.d.ts +20 -0
  121. package/dist/models/model.js +64 -24
  122. package/dist/models/model.js.map +1 -1
  123. package/package.json +1 -1
  124. package/src/client.ts +390 -68
  125. package/src/models/CreateDesktopsRequest.ts +70 -57
  126. package/src/models/CreateDesktopsResponseBody.ts +1 -1
  127. package/src/models/CreateDesktopsShrinkRequest.ts +58 -48
  128. package/src/models/CreateDriveResponseBody.ts +1 -1
  129. package/src/models/CreateNasfileSystemRequest.ts +22 -2
  130. package/src/models/CreateNasfileSystemResponseBody.ts +10 -0
  131. package/src/models/CreateTemplateRequest.ts +38 -18
  132. package/src/models/CreateTemplateResponseBody.ts +1 -1
  133. package/src/models/CreateVirtualBridgeRequest.ts +10 -10
  134. package/src/models/DeleteTemplatesResponseBody.ts +3 -6
  135. package/src/models/DeleteVirtualBridgeRequest.ts +2 -2
  136. package/src/models/DescribeCloudDiskGroupDrivesRequest.ts +3 -3
  137. package/src/models/DescribeCloudDiskGroupDrivesResponseBody.ts +13 -3
  138. package/src/models/DescribeConsoleMessagesRequest.ts +124 -0
  139. package/src/models/DescribeConsoleMessagesResponse.ts +40 -0
  140. package/src/models/DescribeConsoleMessagesResponseBody.ts +524 -0
  141. package/src/models/DescribeDesktopsRequest.ts +52 -25
  142. package/src/models/DescribeDesktopsResponseBody.ts +95 -60
  143. package/src/models/DescribeGlobalDesktopRecordsRequest.ts +7 -7
  144. package/src/models/DescribeGlobalDesktopRecordsResponseBody.ts +14 -5
  145. package/src/models/DescribeInvocationsRequest.ts +6 -6
  146. package/src/models/DescribeInvocationsResponseBody.ts +26 -26
  147. package/src/models/DescribeNasfileSystemsRequest.ts +2 -2
  148. package/src/models/DescribeNasfileSystemsResponseBody.ts +25 -4
  149. package/src/models/DescribeRecordFileRequest.ts +20 -5
  150. package/src/models/DescribeRecordFileResponseBody.ts +19 -9
  151. package/src/models/DescribeRenewalPriceRequest.ts +4 -4
  152. package/src/models/DescribeRenewalPriceResponseBody.ts +3 -3
  153. package/src/models/DescribeTemplatesRequest.ts +5 -8
  154. package/src/models/DescribeTemplatesResponseBody.ts +43 -12
  155. package/src/models/DescribeVulDesktopsRequest.ts +33 -10
  156. package/src/models/DescribeVulDesktopsResponseBody.ts +30 -10
  157. package/src/models/DescribeVulnerabilityRequest.ts +1 -1
  158. package/src/models/DescribeVulnerabilityResponseBody.ts +5 -5
  159. package/src/models/DownloadCdsFileResponseBody.ts +1 -1
  160. package/src/models/GetAggregatedDesktopsRequest.ts +58 -0
  161. package/src/models/GetAggregatedDesktopsResponse.ts +40 -0
  162. package/src/models/GetAggregatedDesktopsResponseBody.ts +75 -0
  163. package/src/models/GetConnectionTicketRequest.ts +14 -4
  164. package/src/models/GetConnectionTicketResponseBody.ts +3 -3
  165. package/src/models/ListVirtualBridgesRequest.ts +3 -3
  166. package/src/models/ListVirtualBridgesResponseBody.ts +5 -3
  167. package/src/models/ModifyTemplateBaseInfoRequest.ts +11 -1
  168. package/src/models/ModifyTemplateRequest.ts +30 -10
  169. package/src/models/ModifyVirtualBridgeLevelRequest.ts +5 -5
  170. package/src/models/ModifyVirtualBridgeStatusRequest.ts +3 -3
  171. package/src/models/QueryAuthUserConnectDurationListRequest.ts +124 -0
  172. package/src/models/QueryAuthUserConnectDurationListResponse.ts +40 -0
  173. package/src/models/QueryAuthUserConnectDurationListResponseBody.ts +229 -0
  174. package/src/models/RenewVirtualBridgeRequest.ts +3 -3
  175. package/src/models/SendConsoleMessageRequest.ts +36 -0
  176. package/src/models/SendConsoleMessageResponse.ts +40 -0
  177. package/src/models/SendConsoleMessageResponseBody.ts +44 -0
  178. package/src/models/model.ts +20 -0
package/src/client.ts CHANGED
@@ -3714,17 +3714,17 @@ export default class Client extends OpenApi {
3714
3714
  }
3715
3715
 
3716
3716
  /**
3717
- * Creates one or more cloud computers. If user information is provided during creation, the cloud computers are assigned directly.
3717
+ * Creates one or more cloud desktops. If user information is specified during creation, the cloud desktops are directly assigned to the users.
3718
3718
  *
3719
3719
  * @remarks
3720
- * Before creating cloud computers, complete the following preparations:
3721
- * - Create an office network (formerly workspace) and users. For related API operations or documentation, refer to:
3722
- * - Convenience office network: [CreateSimpleOfficeSite](https://help.aliyun.com/document_detail/215416.html), [CreateUsers](https://help.aliyun.com/document_detail/437832.html).
3723
- * - AD office network: [CreateADConnectorOfficeSite](https://help.aliyun.com/document_detail/215417.html), [Create AD users](https://help.aliyun.com/document_detail/188619.html).
3720
+ * Before creating cloud desktops, complete the following preparations:
3721
+ * - Create an office network (formerly workspace) and users. For more information about the related API operations or documentation, see:
3722
+ * - Convenience office network: [CreateSimpleOfficeSite](https://help.aliyun.com/document_detail/215416.html) and [CreateUsers](https://help.aliyun.com/document_detail/437832.html).
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 computers automatically run 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
  }
@@ -4016,17 +4020,17 @@ export default class Client extends OpenApi {
4016
4020
  }
4017
4021
 
4018
4022
  /**
4019
- * Creates one or more cloud computers. If user information is provided during creation, the cloud computers are assigned directly.
4023
+ * Creates one or more cloud desktops. If user information is specified during creation, the cloud desktops are directly assigned to the users.
4020
4024
  *
4021
4025
  * @remarks
4022
- * Before creating cloud computers, complete the following preparations:
4023
- * - Create an office network (formerly workspace) and users. For related API operations or documentation, refer to:
4024
- * - Convenience office network: [CreateSimpleOfficeSite](https://help.aliyun.com/document_detail/215416.html), [CreateUsers](https://help.aliyun.com/document_detail/437832.html).
4025
- * - AD office network: [CreateADConnectorOfficeSite](https://help.aliyun.com/document_detail/215417.html), [Create AD users](https://help.aliyun.com/document_detail/188619.html).
4026
+ * Before creating cloud desktops, complete the following preparations:
4027
+ * - Create an office network (formerly workspace) and users. For more information about the related API operations or documentation, see:
4028
+ * - Convenience office network: [CreateSimpleOfficeSite](https://help.aliyun.com/document_detail/215416.html) and [CreateUsers](https://help.aliyun.com/document_detail/437832.html).
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 computers automatically run 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
  }
@@ -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
@@ -5722,7 +5738,7 @@ export default class Client extends OpenApi {
5722
5738
  * Creates a virtual bridge.
5723
5739
  *
5724
5740
  * @remarks
5725
- * Deleting an MFA device unbinds the MFA device, which is equivalent to resetting or disabling the MFA device. The corresponding AD user must bind a new MFA device the next time they log on to a Cloud Desktop.
5741
+ * Deleting an MFA device unbinds the MFA device, which is equivalent to resetting or disabling the MFA device. The corresponding Active Directory (AD) user must bind a new MFA device when logging on to a cloud desktop.
5726
5742
  *
5727
5743
  * @param request - CreateVirtualBridgeRequest
5728
5744
  * @param runtime - runtime options for this request RuntimeOptions
@@ -5788,7 +5804,7 @@ export default class Client extends OpenApi {
5788
5804
  * Creates a virtual bridge.
5789
5805
  *
5790
5806
  * @remarks
5791
- * Deleting an MFA device unbinds the MFA device, which is equivalent to resetting or disabling the MFA device. The corresponding AD user must bind a new MFA device the next time they log on to a Cloud Desktop.
5807
+ * Deleting an MFA device unbinds the MFA device, which is equivalent to resetting or disabling the MFA device. The corresponding Active Directory (AD) user must bind a new MFA device when logging on to a cloud desktop.
5792
5808
  *
5793
5809
  * @param request - CreateVirtualBridgeRequest
5794
5810
  * @returns CreateVirtualBridgeResponse
@@ -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
@@ -7226,7 +7242,7 @@ export default class Client extends OpenApi {
7226
7242
  * Modifies the status of a virtual bridge.
7227
7243
  *
7228
7244
  * @remarks
7229
- * Deleting an MFA device unbinds the MFA device, which is equivalent to resetting or disabling the MFA device. The corresponding AD user must bind a new MFA device when logging on to Cloud Desktop.
7245
+ * Deleting an MFA device unbinds the MFA device, which is equivalent to resetting and disabling the MFA device. The corresponding Active Directory (AD) user must bind a new MFA device when logging on to a Cloud Desktop.
7230
7246
  *
7231
7247
  * @param request - DeleteVirtualBridgeRequest
7232
7248
  * @param runtime - runtime options for this request RuntimeOptions
@@ -7264,7 +7280,7 @@ export default class Client extends OpenApi {
7264
7280
  * Modifies the status of a virtual bridge.
7265
7281
  *
7266
7282
  * @remarks
7267
- * Deleting an MFA device unbinds the MFA device, which is equivalent to resetting or disabling the MFA device. The corresponding AD user must bind a new MFA device when logging on to Cloud Desktop.
7283
+ * Deleting an MFA device unbinds the MFA device, which is equivalent to resetting and disabling the MFA device. The corresponding Active Directory (AD) user must bind a new MFA device when logging on to a Cloud Desktop.
7268
7284
  *
7269
7285
  * @param request - DeleteVirtualBridgeRequest
7270
7286
  * @returns DeleteVirtualBridgeResponse
@@ -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
@@ -8256,6 +8272,100 @@ export default class Client extends OpenApi {
8256
8272
  return await this.describeConfigGroupWithOptions(request, runtime);
8257
8273
  }
8258
8274
 
8275
+ /**
8276
+ * Queries WUYING Workspace management messages.
8277
+ *
8278
+ * @remarks
8279
+ * Queries console messages and their configurations under the current Alibaba Cloud account. You can filter messages by message ID, business channel, message type, client type, message level, title or body keyword, and target audience. Returns the list of messages on the current page and the total number of messages that match the query conditions.
8280
+ * - When multiple filter conditions are provided, all conditions are applied together to limit the query results.
8281
+ * - Uses PageNum and PageSize for pagination. The default value of PageNum is 1, and the default and maximum values of PageSize are both 200.
8282
+ * - When querying by a specified convenience user, the results include messages targeted at all convenience users, the user themselves, and the organization to which the user belongs. When querying by a specified AD user, the results also include messages targeted at all AD users, the user themselves, and the AD organization to which the user belongs.
8283
+ * - Query results may include messages in the initializing, pushing, published, expired, deleting, and failed states. The Published state does not indicate that all target terminals have successfully received the message.
8284
+ * - Image download URLs are temporary links. If a link expires, you can query again to obtain a new one.
8285
+ *
8286
+ * @param request - DescribeConsoleMessagesRequest
8287
+ * @param runtime - runtime options for this request RuntimeOptions
8288
+ * @returns DescribeConsoleMessagesResponse
8289
+ */
8290
+ async describeConsoleMessagesWithOptions(request: $_model.DescribeConsoleMessagesRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeConsoleMessagesResponse> {
8291
+ request.validate();
8292
+ let query = { };
8293
+ if (!$dara.isNull(request.businessChannel)) {
8294
+ query["BusinessChannel"] = request.businessChannel;
8295
+ }
8296
+
8297
+ if (!$dara.isNull(request.clientTypes)) {
8298
+ query["ClientTypes"] = request.clientTypes;
8299
+ }
8300
+
8301
+ if (!$dara.isNull(request.keyword)) {
8302
+ query["Keyword"] = request.keyword;
8303
+ }
8304
+
8305
+ if (!$dara.isNull(request.messageIds)) {
8306
+ query["MessageIds"] = request.messageIds;
8307
+ }
8308
+
8309
+ if (!$dara.isNull(request.messageLevel)) {
8310
+ query["MessageLevel"] = request.messageLevel;
8311
+ }
8312
+
8313
+ if (!$dara.isNull(request.messageType)) {
8314
+ query["MessageType"] = request.messageType;
8315
+ }
8316
+
8317
+ if (!$dara.isNull(request.pageNum)) {
8318
+ query["PageNum"] = request.pageNum;
8319
+ }
8320
+
8321
+ if (!$dara.isNull(request.pageSize)) {
8322
+ query["PageSize"] = request.pageSize;
8323
+ }
8324
+
8325
+ if (!$dara.isNull(request.targetIds)) {
8326
+ query["TargetIds"] = request.targetIds;
8327
+ }
8328
+
8329
+ if (!$dara.isNull(request.targetType)) {
8330
+ query["TargetType"] = request.targetType;
8331
+ }
8332
+
8333
+ let req = new $OpenApiUtil.OpenApiRequest({
8334
+ query: OpenApiUtil.query(query),
8335
+ });
8336
+ let params = new $OpenApiUtil.Params({
8337
+ action: "DescribeConsoleMessages",
8338
+ version: "2020-09-30",
8339
+ protocol: "HTTPS",
8340
+ pathname: "/",
8341
+ method: "POST",
8342
+ authType: "AK",
8343
+ style: "RPC",
8344
+ reqBodyType: "formData",
8345
+ bodyType: "json",
8346
+ });
8347
+ return $dara.cast<$_model.DescribeConsoleMessagesResponse>(await this.callApi(params, req, runtime), new $_model.DescribeConsoleMessagesResponse({}));
8348
+ }
8349
+
8350
+ /**
8351
+ * Queries WUYING Workspace management messages.
8352
+ *
8353
+ * @remarks
8354
+ * Queries console messages and their configurations under the current Alibaba Cloud account. You can filter messages by message ID, business channel, message type, client type, message level, title or body keyword, and target audience. Returns the list of messages on the current page and the total number of messages that match the query conditions.
8355
+ * - When multiple filter conditions are provided, all conditions are applied together to limit the query results.
8356
+ * - Uses PageNum and PageSize for pagination. The default value of PageNum is 1, and the default and maximum values of PageSize are both 200.
8357
+ * - When querying by a specified convenience user, the results include messages targeted at all convenience users, the user themselves, and the organization to which the user belongs. When querying by a specified AD user, the results also include messages targeted at all AD users, the user themselves, and the AD organization to which the user belongs.
8358
+ * - Query results may include messages in the initializing, pushing, published, expired, deleting, and failed states. The Published state does not indicate that all target terminals have successfully received the message.
8359
+ * - Image download URLs are temporary links. If a link expires, you can query again to obtain a new one.
8360
+ *
8361
+ * @param request - DescribeConsoleMessagesRequest
8362
+ * @returns DescribeConsoleMessagesResponse
8363
+ */
8364
+ async describeConsoleMessages(request: $_model.DescribeConsoleMessagesRequest): Promise<$_model.DescribeConsoleMessagesResponse> {
8365
+ let runtime = new $dara.RuntimeOptions({ });
8366
+ return await this.describeConsoleMessagesWithOptions(request, runtime);
8367
+ }
8368
+
8259
8369
  /**
8260
8370
  * Obtain the table header information of the WUYING Workspace list page.
8261
8371
  *
@@ -9081,7 +9191,7 @@ export default class Client extends OpenApi {
9081
9191
  }
9082
9192
 
9083
9193
  /**
9084
- * Queries the details of cloud computers.
9194
+ * Queries the details of a cloud computer.
9085
9195
  *
9086
9196
  * @param request - DescribeDesktopsRequest
9087
9197
  * @param runtime - runtime options for this request RuntimeOptions
@@ -9230,6 +9340,10 @@ export default class Client extends OpenApi {
9230
9340
  query["RegionId"] = request.regionId;
9231
9341
  }
9232
9342
 
9343
+ if (!$dara.isNull(request.reservePoolId)) {
9344
+ query["ReservePoolId"] = request.reservePoolId;
9345
+ }
9346
+
9233
9347
  if (!$dara.isNull(request.resourceGroupId)) {
9234
9348
  query["ResourceGroupId"] = request.resourceGroupId;
9235
9349
  }
@@ -9268,7 +9382,7 @@ export default class Client extends OpenApi {
9268
9382
  }
9269
9383
 
9270
9384
  /**
9271
- * Queries the details of cloud computers.
9385
+ * Queries the details of a cloud computer.
9272
9386
  *
9273
9387
  * @param request - DescribeDesktopsRequest
9274
9388
  * @returns DescribeDesktopsResponse
@@ -9877,10 +9991,10 @@ export default class Client extends OpenApi {
9877
9991
  }
9878
9992
 
9879
9993
  /**
9880
- * Queries the basic information of all recent cloud desktops and their corresponding usage duration records.
9994
+ * Queries the basic information about all recent cloud desktops and the corresponding usage duration records.
9881
9995
  *
9882
9996
  * @remarks
9883
- * - China site users should select Shanghai as the site. International site users should select Singapore.
9997
+ * - China site users must select Shanghai as the site. International site users must select Singapore.
9884
9998
  * - By default, both deleted and non-deleted cloud desktops are queried.
9885
9999
  * - Deleted cloud desktops can only be queried if they were deleted within the last three months.
9886
10000
  * - Sort conditions cannot be used together with other conditions.
@@ -9986,10 +10100,10 @@ export default class Client extends OpenApi {
9986
10100
  }
9987
10101
 
9988
10102
  /**
9989
- * Queries the basic information of all recent cloud desktops and their corresponding usage duration records.
10103
+ * Queries the basic information about all recent cloud desktops and the corresponding usage duration records.
9990
10104
  *
9991
10105
  * @remarks
9992
- * - China site users should select Shanghai as the site. International site users should select Singapore.
10106
+ * - China site users must select Shanghai as the site. International site users must select Singapore.
9993
10107
  * - By default, both deleted and non-deleted cloud desktops are queried.
9994
10108
  * - Deleted cloud desktops can only be queried if they were deleted within the last three months.
9995
10109
  * - Sort conditions cannot be used together with other conditions.
@@ -10426,7 +10540,7 @@ export default class Client extends OpenApi {
10426
10540
  * Queries the execution list and status of Cloud Assistant scripts.
10427
10541
  *
10428
10542
  * @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.
10543
+ * - 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
10544
  * - You can query execution information from the last two weeks. A maximum of 100,000 execution records are retained.
10431
10545
  *
10432
10546
  * @param request - DescribeInvocationsRequest
@@ -10505,7 +10619,7 @@ export default class Client extends OpenApi {
10505
10619
  * Queries the execution list and status of Cloud Assistant scripts.
10506
10620
  *
10507
10621
  * @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.
10622
+ * - 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
10623
  * - You can query execution information from the last two weeks. A maximum of 100,000 execution records are retained.
10510
10624
  *
10511
10625
  * @param request - DescribeInvocationsRequest
@@ -11796,6 +11910,10 @@ export default class Client extends OpenApi {
11796
11910
  async describeRecordFileWithOptions(request: $_model.DescribeRecordFileRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeRecordFileResponse> {
11797
11911
  request.validate();
11798
11912
  let query = { };
11913
+ if (!$dara.isNull(request.auditStatus)) {
11914
+ query["AuditStatus"] = request.auditStatus;
11915
+ }
11916
+
11799
11917
  if (!$dara.isNull(request.desktopId)) {
11800
11918
  query["DesktopId"] = request.desktopId;
11801
11919
  }
@@ -12059,7 +12177,7 @@ export default class Client extends OpenApi {
12059
12177
  }
12060
12178
 
12061
12179
  /**
12062
- * Queries the renewal price of a Wuying product.
12180
+ * Queries the renewal price of an Elastic Desktop Service product.
12063
12181
  *
12064
12182
  * @param request - DescribeRenewalPriceRequest
12065
12183
  * @param runtime - runtime options for this request RuntimeOptions
@@ -12118,7 +12236,7 @@ export default class Client extends OpenApi {
12118
12236
  }
12119
12237
 
12120
12238
  /**
12121
- * Queries the renewal price of a Wuying product.
12239
+ * Queries the renewal price of an Elastic Desktop Service product.
12122
12240
  *
12123
12241
  * @param request - DescribeRenewalPriceRequest
12124
12242
  * @returns DescribeRenewalPriceResponse
@@ -13157,11 +13275,11 @@ export default class Client extends OpenApi {
13157
13275
  }
13158
13276
 
13159
13277
  /**
13160
- * Retrieves cloud computer information for a vulnerability.
13278
+ * Retrieves cloud desktop information for a vulnerability.
13161
13279
  *
13162
13280
  * @remarks
13163
- * - This operation uses a centralized domain name. The access point is in the China (Shanghai) region. Other regions are not supported.
13164
- * - The cloud computer status information returned by this operation has a 1 to 3 second delay from the actual values.
13281
+ * - This operation uses a centralized endpoint in the Shanghai region. Calls from other regions are not supported.
13282
+ * - The cloud desktop status information returned by this operation has a 1 to 3 second delay from the actual values.
13165
13283
  *
13166
13284
  * @param request - DescribeVulDesktopsRequest
13167
13285
  * @param runtime - runtime options for this request RuntimeOptions
@@ -13170,6 +13288,10 @@ export default class Client extends OpenApi {
13170
13288
  async describeVulDesktopsWithOptions(request: $_model.DescribeVulDesktopsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeVulDesktopsResponse> {
13171
13289
  request.validate();
13172
13290
  let query = { };
13291
+ if (!$dara.isNull(request.connectionStatus)) {
13292
+ query["ConnectionStatus"] = request.connectionStatus;
13293
+ }
13294
+
13173
13295
  if (!$dara.isNull(request.cveId)) {
13174
13296
  query["CveId"] = request.cveId;
13175
13297
  }
@@ -13178,6 +13300,10 @@ export default class Client extends OpenApi {
13178
13300
  query["DesktopIdList"] = request.desktopIdList;
13179
13301
  }
13180
13302
 
13303
+ if (!$dara.isNull(request.desktopStatus)) {
13304
+ query["DesktopStatus"] = request.desktopStatus;
13305
+ }
13306
+
13181
13307
  if (!$dara.isNull(request.includeFixResult)) {
13182
13308
  query["IncludeFixResult"] = request.includeFixResult;
13183
13309
  }
@@ -13248,11 +13374,11 @@ export default class Client extends OpenApi {
13248
13374
  }
13249
13375
 
13250
13376
  /**
13251
- * Retrieves cloud computer information for a vulnerability.
13377
+ * Retrieves cloud desktop information for a vulnerability.
13252
13378
  *
13253
13379
  * @remarks
13254
- * - This operation uses a centralized domain name. The access point is in the China (Shanghai) region. Other regions are not supported.
13255
- * - The cloud computer status information returned by this operation has a 1 to 3 second delay from the actual values.
13380
+ * - This operation uses a centralized endpoint in the Shanghai region. Calls from other regions are not supported.
13381
+ * - The cloud desktop status information returned by this operation has a 1 to 3 second delay from the actual values.
13256
13382
  *
13257
13383
  * @param request - DescribeVulDesktopsRequest
13258
13384
  * @returns DescribeVulDesktopsResponse
@@ -14052,6 +14178,56 @@ export default class Client extends OpenApi {
14052
14178
  return await this.exportDesktopListInfoWithOptions(request, runtime);
14053
14179
  }
14054
14180
 
14181
+ /**
14182
+ * Queries desktop statistics by different dimensions.
14183
+ *
14184
+ * @param request - GetAggregatedDesktopsRequest
14185
+ * @param runtime - runtime options for this request RuntimeOptions
14186
+ * @returns GetAggregatedDesktopsResponse
14187
+ */
14188
+ async getAggregatedDesktopsWithOptions(request: $_model.GetAggregatedDesktopsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetAggregatedDesktopsResponse> {
14189
+ request.validate();
14190
+ let query = { };
14191
+ if (!$dara.isNull(request.aggregationFactor)) {
14192
+ query["AggregationFactor"] = request.aggregationFactor;
14193
+ }
14194
+
14195
+ if (!$dara.isNull(request.regionId)) {
14196
+ query["RegionId"] = request.regionId;
14197
+ }
14198
+
14199
+ if (!$dara.isNull(request.searchRegionId)) {
14200
+ query["SearchRegionId"] = request.searchRegionId;
14201
+ }
14202
+
14203
+ let req = new $OpenApiUtil.OpenApiRequest({
14204
+ query: OpenApiUtil.query(query),
14205
+ });
14206
+ let params = new $OpenApiUtil.Params({
14207
+ action: "GetAggregatedDesktops",
14208
+ version: "2020-09-30",
14209
+ protocol: "HTTPS",
14210
+ pathname: "/",
14211
+ method: "POST",
14212
+ authType: "AK",
14213
+ style: "RPC",
14214
+ reqBodyType: "formData",
14215
+ bodyType: "json",
14216
+ });
14217
+ return $dara.cast<$_model.GetAggregatedDesktopsResponse>(await this.callApi(params, req, runtime), new $_model.GetAggregatedDesktopsResponse({}));
14218
+ }
14219
+
14220
+ /**
14221
+ * Queries desktop statistics by different dimensions.
14222
+ *
14223
+ * @param request - GetAggregatedDesktopsRequest
14224
+ * @returns GetAggregatedDesktopsResponse
14225
+ */
14226
+ async getAggregatedDesktops(request: $_model.GetAggregatedDesktopsRequest): Promise<$_model.GetAggregatedDesktopsResponse> {
14227
+ let runtime = new $dara.RuntimeOptions({ });
14228
+ return await this.getAggregatedDesktopsWithOptions(request, runtime);
14229
+ }
14230
+
14055
14231
  /**
14056
14232
  * Retrieves the details of a folder copy asynchronous node based on the AsyncTaskId parameter returned by the CopyCdsFile operation.
14057
14233
  *
@@ -14102,7 +14278,7 @@ export default class Client extends OpenApi {
14102
14278
  * Retrieves the connection credential for a cloud computer.
14103
14279
  *
14104
14280
  * @remarks
14105
- * The cloud computer must be in the Running state. The ticket obtained by calling this operation expires in 10 minutes.
14281
+ * The cloud computer must be in the Running state. The ticket obtained by calling this operation expires after 10 minutes.
14106
14282
  *
14107
14283
  * @param request - GetConnectionTicketRequest
14108
14284
  * @param runtime - runtime options for this request RuntimeOptions
@@ -14111,6 +14287,10 @@ export default class Client extends OpenApi {
14111
14287
  async getConnectionTicketWithOptions(request: $_model.GetConnectionTicketRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetConnectionTicketResponse> {
14112
14288
  request.validate();
14113
14289
  let query = { };
14290
+ if (!$dara.isNull(request.clientType)) {
14291
+ query["ClientType"] = request.clientType;
14292
+ }
14293
+
14114
14294
  if (!$dara.isNull(request.commandContent)) {
14115
14295
  query["CommandContent"] = request.commandContent;
14116
14296
  }
@@ -14172,7 +14352,7 @@ export default class Client extends OpenApi {
14172
14352
  * Retrieves the connection credential for a cloud computer.
14173
14353
  *
14174
14354
  * @remarks
14175
- * The cloud computer must be in the Running state. The ticket obtained by calling this operation expires in 10 minutes.
14355
+ * The cloud computer must be in the Running state. The ticket obtained by calling this operation expires after 10 minutes.
14176
14356
  *
14177
14357
  * @param request - GetConnectionTicketRequest
14178
14358
  * @returns GetConnectionTicketResponse
@@ -15053,10 +15233,10 @@ export default class Client extends OpenApi {
15053
15233
  }
15054
15234
 
15055
15235
  /**
15056
- * Queries a list of virtual bridges.
15236
+ * Queries virtual bridges.
15057
15237
  *
15058
15238
  * @remarks
15059
- * After the device is locked, the status of the MFA device changes to locked (LOCKED), and the corresponding AD account cannot log on to the WUYING terminal because the MFA device cannot be authenticated. You can call [UnlockVirtualMFADevice](~~UnlockVirtualMFADevice~~) to unlock the device.
15239
+ * After an MFA device is locked, its status changes to LOCKED. The corresponding Active Directory (AD) account cannot log on to the Wuying terminal because it cannot authenticate the MFA device. You can call [UnlockVirtualMFADevice](~~UnlockVirtualMFADevice~~) to unlock the device.
15060
15240
  *
15061
15241
  * @param request - ListVirtualBridgesRequest
15062
15242
  * @param runtime - runtime options for this request RuntimeOptions
@@ -15103,10 +15283,10 @@ export default class Client extends OpenApi {
15103
15283
  }
15104
15284
 
15105
15285
  /**
15106
- * Queries a list of virtual bridges.
15286
+ * Queries virtual bridges.
15107
15287
  *
15108
15288
  * @remarks
15109
- * After the device is locked, the status of the MFA device changes to locked (LOCKED), and the corresponding AD account cannot log on to the WUYING terminal because the MFA device cannot be authenticated. You can call [UnlockVirtualMFADevice](~~UnlockVirtualMFADevice~~) to unlock the device.
15289
+ * After an MFA device is locked, its status changes to LOCKED. The corresponding Active Directory (AD) account cannot log on to the Wuying terminal because it cannot authenticate the MFA device. You can call [UnlockVirtualMFADevice](~~UnlockVirtualMFADevice~~) to unlock the device.
15110
15290
  *
15111
15291
  * @param request - ListVirtualBridgesRequest
15112
15292
  * @returns ListVirtualBridgesResponse
@@ -18836,7 +19016,7 @@ export default class Client extends OpenApi {
18836
19016
  * Modifies all parameters of a custom cloud computer template.
18837
19017
  *
18838
19018
  * @remarks
18839
- * >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.
19019
+ * >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.
18840
19020
  *
18841
19021
  * @param request - ModifyTemplateRequest
18842
19022
  * @param runtime - runtime options for this request RuntimeOptions
@@ -18874,6 +19054,10 @@ export default class Client extends OpenApi {
18874
19054
  body["ImageId"] = request.imageId;
18875
19055
  }
18876
19056
 
19057
+ if (!$dara.isNull(request.instanceName)) {
19058
+ body["InstanceName"] = request.instanceName;
19059
+ }
19060
+
18877
19061
  if (!$dara.isNull(request.period)) {
18878
19062
  body["Period"] = request.period;
18879
19063
  }
@@ -18955,7 +19139,7 @@ export default class Client extends OpenApi {
18955
19139
  * Modifies all parameters of a custom cloud computer template.
18956
19140
  *
18957
19141
  * @remarks
18958
- * >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.
19142
+ * >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.
18959
19143
  *
18960
19144
  * @param request - ModifyTemplateRequest
18961
19145
  * @returns ModifyTemplateResponse
@@ -18966,10 +19150,10 @@ export default class Client extends OpenApi {
18966
19150
  }
18967
19151
 
18968
19152
  /**
18969
- * Modifies the basic information of a custom cloud computer template, including the template name and description.
19153
+ * Modifies the basic information of a custom cloud computer template, including the template name and template description.
18970
19154
  *
18971
19155
  * @remarks
18972
- * 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).
19156
+ * 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).
18973
19157
  *
18974
19158
  * @param request - ModifyTemplateBaseInfoRequest
18975
19159
  * @param runtime - runtime options for this request RuntimeOptions
@@ -18982,6 +19166,10 @@ export default class Client extends OpenApi {
18982
19166
  body["Description"] = request.description;
18983
19167
  }
18984
19168
 
19169
+ if (!$dara.isNull(request.instanceName)) {
19170
+ body["InstanceName"] = request.instanceName;
19171
+ }
19172
+
18985
19173
  if (!$dara.isNull(request.templateId)) {
18986
19174
  body["TemplateId"] = request.templateId;
18987
19175
  }
@@ -19008,10 +19196,10 @@ export default class Client extends OpenApi {
19008
19196
  }
19009
19197
 
19010
19198
  /**
19011
- * Modifies the basic information of a custom cloud computer template, including the template name and description.
19199
+ * Modifies the basic information of a custom cloud computer template, including the template name and template description.
19012
19200
  *
19013
19201
  * @remarks
19014
- * 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).
19202
+ * 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).
19015
19203
  *
19016
19204
  * @param request - ModifyTemplateBaseInfoRequest
19017
19205
  * @returns ModifyTemplateBaseInfoResponse
@@ -19194,10 +19382,10 @@ export default class Client extends OpenApi {
19194
19382
  }
19195
19383
 
19196
19384
  /**
19197
- * Changes the specifications of a virtual bridge.
19385
+ * Upgrades or downgrades the specifications of a virtual bridge.
19198
19386
  *
19199
19387
  * @remarks
19200
- * Deleting an MFA device unbinds the MFA device, which is equivalent to resetting or disabling the MFA device. The corresponding AD user must bind a new MFA device when logging on to a cloud desktop.
19388
+ * Deleting an MFA device means unbinding the MFA device, which is equivalent to resetting or disabling the MFA device. The corresponding AD user must bind a new MFA device when logging on to a Cloud Desktop.
19201
19389
  *
19202
19390
  * @param request - ModifyVirtualBridgeLevelRequest
19203
19391
  * @param runtime - runtime options for this request RuntimeOptions
@@ -19260,10 +19448,10 @@ export default class Client extends OpenApi {
19260
19448
  }
19261
19449
 
19262
19450
  /**
19263
- * Changes the specifications of a virtual bridge.
19451
+ * Upgrades or downgrades the specifications of a virtual bridge.
19264
19452
  *
19265
19453
  * @remarks
19266
- * Deleting an MFA device unbinds the MFA device, which is equivalent to resetting or disabling the MFA device. The corresponding AD user must bind a new MFA device when logging on to a cloud desktop.
19454
+ * Deleting an MFA device means unbinding the MFA device, which is equivalent to resetting or disabling the MFA device. The corresponding AD user must bind a new MFA device when logging on to a Cloud Desktop.
19267
19455
  *
19268
19456
  * @param request - ModifyVirtualBridgeLevelRequest
19269
19457
  * @returns ModifyVirtualBridgeLevelResponse
@@ -19277,7 +19465,7 @@ export default class Client extends OpenApi {
19277
19465
  * Modifies the status of a virtual bridge.
19278
19466
  *
19279
19467
  * @remarks
19280
- * Only custom images in the active (Available) state can be modified.
19468
+ * Only custom images in the Available state can be modified.
19281
19469
  *
19282
19470
  * @param request - ModifyVirtualBridgeStatusRequest
19283
19471
  * @param runtime - runtime options for this request RuntimeOptions
@@ -19319,7 +19507,7 @@ export default class Client extends OpenApi {
19319
19507
  * Modifies the status of a virtual bridge.
19320
19508
  *
19321
19509
  * @remarks
19322
- * Only custom images in the active (Available) state can be modified.
19510
+ * Only custom images in the Available state can be modified.
19323
19511
  *
19324
19512
  * @param request - ModifyVirtualBridgeStatusRequest
19325
19513
  * @returns ModifyVirtualBridgeStatusResponse
@@ -19453,6 +19641,84 @@ export default class Client extends OpenApi {
19453
19641
  return await this.queryActiveUserStatisticWithOptions(request, runtime);
19454
19642
  }
19455
19643
 
19644
+ /**
19645
+ * 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.
19646
+ *
19647
+ * @param request - QueryAuthUserConnectDurationListRequest
19648
+ * @param runtime - runtime options for this request RuntimeOptions
19649
+ * @returns QueryAuthUserConnectDurationListResponse
19650
+ */
19651
+ async queryAuthUserConnectDurationListWithOptions(request: $_model.QueryAuthUserConnectDurationListRequest, runtime: $dara.RuntimeOptions): Promise<$_model.QueryAuthUserConnectDurationListResponse> {
19652
+ request.validate();
19653
+ let query = { };
19654
+ if (!$dara.isNull(request.comparisonOperator)) {
19655
+ query["ComparisonOperator"] = request.comparisonOperator;
19656
+ }
19657
+
19658
+ if (!$dara.isNull(request.dataDate)) {
19659
+ query["DataDate"] = request.dataDate;
19660
+ }
19661
+
19662
+ if (!$dara.isNull(request.isAdUser)) {
19663
+ query["IsAdUser"] = request.isAdUser;
19664
+ }
19665
+
19666
+ if (!$dara.isNull(request.nextToken)) {
19667
+ query["NextToken"] = request.nextToken;
19668
+ }
19669
+
19670
+ if (!$dara.isNull(request.pageNum)) {
19671
+ query["PageNum"] = request.pageNum;
19672
+ }
19673
+
19674
+ if (!$dara.isNull(request.pageSize)) {
19675
+ query["PageSize"] = request.pageSize;
19676
+ }
19677
+
19678
+ if (!$dara.isNull(request.statisticType)) {
19679
+ query["StatisticType"] = request.statisticType;
19680
+ }
19681
+
19682
+ if (!$dara.isNull(request.threshold)) {
19683
+ query["Threshold"] = request.threshold;
19684
+ }
19685
+
19686
+ if (!$dara.isNull(request.userName)) {
19687
+ query["UserName"] = request.userName;
19688
+ }
19689
+
19690
+ if (!$dara.isNull(request.withDetail)) {
19691
+ query["WithDetail"] = request.withDetail;
19692
+ }
19693
+
19694
+ let req = new $OpenApiUtil.OpenApiRequest({
19695
+ query: OpenApiUtil.query(query),
19696
+ });
19697
+ let params = new $OpenApiUtil.Params({
19698
+ action: "QueryAuthUserConnectDurationList",
19699
+ version: "2020-09-30",
19700
+ protocol: "HTTPS",
19701
+ pathname: "/",
19702
+ method: "POST",
19703
+ authType: "AK",
19704
+ style: "RPC",
19705
+ reqBodyType: "formData",
19706
+ bodyType: "json",
19707
+ });
19708
+ return $dara.cast<$_model.QueryAuthUserConnectDurationListResponse>(await this.callApi(params, req, runtime), new $_model.QueryAuthUserConnectDurationListResponse({}));
19709
+ }
19710
+
19711
+ /**
19712
+ * 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.
19713
+ *
19714
+ * @param request - QueryAuthUserConnectDurationListRequest
19715
+ * @returns QueryAuthUserConnectDurationListResponse
19716
+ */
19717
+ async queryAuthUserConnectDurationList(request: $_model.QueryAuthUserConnectDurationListRequest): Promise<$_model.QueryAuthUserConnectDurationListResponse> {
19718
+ let runtime = new $dara.RuntimeOptions({ });
19719
+ return await this.queryAuthUserConnectDurationListWithOptions(request, runtime);
19720
+ }
19721
+
19456
19722
  /**
19457
19723
  * 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.
19458
19724
  *
@@ -20513,7 +20779,7 @@ export default class Client extends OpenApi {
20513
20779
  * Renews a virtual bridge.
20514
20780
  *
20515
20781
  * @remarks
20516
- * After the device is locked, the status of the MFA device changes to locked (LOCKED), and the corresponding AD account cannot log on to the WUYING terminal because the MFA device cannot be authenticated. You can call [UnlockVirtualMFADevice](~~UnlockVirtualMFADevice~~) to unlock the device.
20782
+ * After being locked, the status of the MFA device changes to Locked (LOCKED). The corresponding AD account cannot log on to the Wuying terminal because it cannot authenticate the MFA device. You can call [UnlockVirtualMFADevice](~~UnlockVirtualMFADevice~~) to unlock it.
20517
20783
  *
20518
20784
  * @param request - RenewVirtualBridgeRequest
20519
20785
  * @param runtime - runtime options for this request RuntimeOptions
@@ -20575,7 +20841,7 @@ export default class Client extends OpenApi {
20575
20841
  * Renews a virtual bridge.
20576
20842
  *
20577
20843
  * @remarks
20578
- * After the device is locked, the status of the MFA device changes to locked (LOCKED), and the corresponding AD account cannot log on to the WUYING terminal because the MFA device cannot be authenticated. You can call [UnlockVirtualMFADevice](~~UnlockVirtualMFADevice~~) to unlock the device.
20844
+ * After being locked, the status of the MFA device changes to Locked (LOCKED). The corresponding AD account cannot log on to the Wuying terminal because it cannot authenticate the MFA device. You can call [UnlockVirtualMFADevice](~~UnlockVirtualMFADevice~~) to unlock it.
20579
20845
  *
20580
20846
  * @param request - RenewVirtualBridgeRequest
20581
20847
  * @returns RenewVirtualBridgeResponse
@@ -20907,6 +21173,62 @@ export default class Client extends OpenApi {
20907
21173
  return await this.runCommandWithOptions(request, runtime);
20908
21174
  }
20909
21175
 
21176
+ /**
21177
+ * Sends a created Elastic Desktop Service management message.
21178
+ *
21179
+ * @remarks
21180
+ * This operation sends a created management message. The message body, client type, recipients, and business type all use the saved configurations. Each call processes only one MessageId.
21181
+ * - The message must belong to the current Alibaba Cloud account. Messages in the Init, Pushing, Expired, Deleting, or Failed state cannot be sent. Only messages in the Published state can be sent.
21182
+ * - Before the request is accepted, the system checks the number of Pushing messages of the same message type under the current account. If there are 5 or more such messages, the request is rejected. The count is not split by business channel.
21183
+ * - Regular notifications and wallpaper messages are pushed through asynchronous tasks. For the OPERATIONAL type, only the publish status is updated. Messages configured for scheduled sending retain their original schedules and are not immediately triggered by this operation.
21184
+ * - A Success value of true indicates that the request is accepted, but it does not mean that all recipients have received the message. Published indicates that the message is published or the server-side push processing is complete, and it is not a delivery confirmation for each individual target.
21185
+ *
21186
+ * @param request - SendConsoleMessageRequest
21187
+ * @param runtime - runtime options for this request RuntimeOptions
21188
+ * @returns SendConsoleMessageResponse
21189
+ */
21190
+ async sendConsoleMessageWithOptions(request: $_model.SendConsoleMessageRequest, runtime: $dara.RuntimeOptions): Promise<$_model.SendConsoleMessageResponse> {
21191
+ request.validate();
21192
+ let query = { };
21193
+ if (!$dara.isNull(request.messageId)) {
21194
+ query["MessageId"] = request.messageId;
21195
+ }
21196
+
21197
+ let req = new $OpenApiUtil.OpenApiRequest({
21198
+ query: OpenApiUtil.query(query),
21199
+ });
21200
+ let params = new $OpenApiUtil.Params({
21201
+ action: "SendConsoleMessage",
21202
+ version: "2020-09-30",
21203
+ protocol: "HTTPS",
21204
+ pathname: "/",
21205
+ method: "POST",
21206
+ authType: "AK",
21207
+ style: "RPC",
21208
+ reqBodyType: "formData",
21209
+ bodyType: "json",
21210
+ });
21211
+ return $dara.cast<$_model.SendConsoleMessageResponse>(await this.callApi(params, req, runtime), new $_model.SendConsoleMessageResponse({}));
21212
+ }
21213
+
21214
+ /**
21215
+ * Sends a created Elastic Desktop Service management message.
21216
+ *
21217
+ * @remarks
21218
+ * This operation sends a created management message. The message body, client type, recipients, and business type all use the saved configurations. Each call processes only one MessageId.
21219
+ * - The message must belong to the current Alibaba Cloud account. Messages in the Init, Pushing, Expired, Deleting, or Failed state cannot be sent. Only messages in the Published state can be sent.
21220
+ * - Before the request is accepted, the system checks the number of Pushing messages of the same message type under the current account. If there are 5 or more such messages, the request is rejected. The count is not split by business channel.
21221
+ * - Regular notifications and wallpaper messages are pushed through asynchronous tasks. For the OPERATIONAL type, only the publish status is updated. Messages configured for scheduled sending retain their original schedules and are not immediately triggered by this operation.
21222
+ * - A Success value of true indicates that the request is accepted, but it does not mean that all recipients have received the message. Published indicates that the message is published or the server-side push processing is complete, and it is not a delivery confirmation for each individual target.
21223
+ *
21224
+ * @param request - SendConsoleMessageRequest
21225
+ * @returns SendConsoleMessageResponse
21226
+ */
21227
+ async sendConsoleMessage(request: $_model.SendConsoleMessageRequest): Promise<$_model.SendConsoleMessageResponse> {
21228
+ let runtime = new $dara.RuntimeOptions({ });
21229
+ return await this.sendConsoleMessageWithOptions(request, runtime);
21230
+ }
21231
+
20910
21232
  /**
20911
21233
  * Retrieves a verification code required when adding a premium office network to a Cloud Enterprise Network (CEN) instance that belongs to a different Alibaba Cloud account.
20912
21234
  *