@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/dist/client.js CHANGED
@@ -3181,17 +3181,17 @@ class Client extends openapi_core_1.default {
3181
3181
  return await this.createDesktopOversoldGroupWithOptions(request, runtime);
3182
3182
  }
3183
3183
  /**
3184
- * Creates one or more cloud computers. If user information is provided during creation, the cloud computers are assigned directly.
3184
+ * Creates one or more cloud desktops. If user information is specified during creation, the cloud desktops are directly assigned to the users.
3185
3185
  *
3186
3186
  * @remarks
3187
- * Before creating cloud computers, complete the following preparations:
3188
- * - Create an office network (formerly workspace) and users. For related API operations or documentation, refer to:
3189
- * - Convenience office network: [CreateSimpleOfficeSite](https://help.aliyun.com/document_detail/215416.html), [CreateUsers](https://help.aliyun.com/document_detail/437832.html).
3190
- * - AD office network: [CreateADConnectorOfficeSite](https://help.aliyun.com/document_detail/215417.html), [Create AD users](https://help.aliyun.com/document_detail/188619.html).
3187
+ * Before creating cloud desktops, complete the following preparations:
3188
+ * - Create an office network (formerly workspace) and users. For more information about the related API operations or documentation, see:
3189
+ * - Convenience office network: [CreateSimpleOfficeSite](https://help.aliyun.com/document_detail/215416.html) and [CreateUsers](https://help.aliyun.com/document_detail/437832.html).
3190
+ * - AD office network: [CreateADConnectorOfficeSite](https://help.aliyun.com/document_detail/215417.html) and [Create AD users](https://help.aliyun.com/document_detail/188619.html).
3191
3191
  * - Call [CreatePolicyGroup](https://help.aliyun.com/document_detail/188889.html) to create a policy, or confirm that an existing policy is available.
3192
3192
  * **Call examples:**
3193
3193
  * <details>
3194
- * <summary>Example of creating with a template</summary>
3194
+ * <summary>Example of creating a cloud desktop by using a template</summary>
3195
3195
  * ```
3196
3196
  * {
3197
3197
  * "RegionId": "cn-hangzhou",
@@ -3205,7 +3205,7 @@ class Client extends openapi_core_1.default {
3205
3205
  * ```
3206
3206
  * </details>
3207
3207
  * <details>
3208
- * <summary>Example of creating without a template</summary>
3208
+ * <summary>Example of creating a cloud desktop without a template</summary>
3209
3209
  * ```
3210
3210
  * {
3211
3211
  * "RegionId": "cn-hangzhou",
@@ -3225,7 +3225,7 @@ class Client extends openapi_core_1.default {
3225
3225
  * ```
3226
3226
  * </details>
3227
3227
  * <details>
3228
- * <summary>Example of creating a monthly hourly package</summary>
3228
+ * <summary>Example of creating a cloud desktop with a monthly hourly package</summary>
3229
3229
  * ```
3230
3230
  * {
3231
3231
  * "RegionId": "cn-hangzhou",
@@ -3250,7 +3250,7 @@ class Client extends openapi_core_1.default {
3250
3250
  * ```
3251
3251
  * </details>
3252
3252
  * <details>
3253
- * <summary>Example of creating an Agent resource</summary>
3253
+ * <summary>Example of creating an agent resource</summary>
3254
3254
  * ```
3255
3255
  * {
3256
3256
  * "RegionId": "cn-hangzhou",
@@ -3270,7 +3270,7 @@ class Client extends openapi_core_1.default {
3270
3270
  * }
3271
3271
  * ```
3272
3272
  * </details>
3273
- * To have cloud computers automatically run custom command scripts, use the `UserCommands` field to configure custom commands.
3273
+ * To have the cloud desktop automatically run custom command scripts, use the `UserCommands` field to configure custom commands.
3274
3274
  *
3275
3275
  * @param tmpReq - CreateDesktopsRequest
3276
3276
  * @param runtime - runtime options for this request RuntimeOptions
@@ -3380,6 +3380,9 @@ class Client extends openapi_core_1.default {
3380
3380
  if (!$dara.isNull(request.resellerOwnerUid)) {
3381
3381
  query["ResellerOwnerUid"] = request.resellerOwnerUid;
3382
3382
  }
3383
+ if (!$dara.isNull(request.reservePoolId)) {
3384
+ query["ReservePoolId"] = request.reservePoolId;
3385
+ }
3383
3386
  if (!$dara.isNull(request.resourceGroupId)) {
3384
3387
  query["ResourceGroupId"] = request.resourceGroupId;
3385
3388
  }
@@ -3436,17 +3439,17 @@ class Client extends openapi_core_1.default {
3436
3439
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateDesktopsResponse({}));
3437
3440
  }
3438
3441
  /**
3439
- * Creates one or more cloud computers. If user information is provided during creation, the cloud computers are assigned directly.
3442
+ * Creates one or more cloud desktops. If user information is specified during creation, the cloud desktops are directly assigned to the users.
3440
3443
  *
3441
3444
  * @remarks
3442
- * Before creating cloud computers, complete the following preparations:
3443
- * - Create an office network (formerly workspace) and users. For related API operations or documentation, refer to:
3444
- * - Convenience office network: [CreateSimpleOfficeSite](https://help.aliyun.com/document_detail/215416.html), [CreateUsers](https://help.aliyun.com/document_detail/437832.html).
3445
- * - AD office network: [CreateADConnectorOfficeSite](https://help.aliyun.com/document_detail/215417.html), [Create AD users](https://help.aliyun.com/document_detail/188619.html).
3445
+ * Before creating cloud desktops, complete the following preparations:
3446
+ * - Create an office network (formerly workspace) and users. For more information about the related API operations or documentation, see:
3447
+ * - Convenience office network: [CreateSimpleOfficeSite](https://help.aliyun.com/document_detail/215416.html) and [CreateUsers](https://help.aliyun.com/document_detail/437832.html).
3448
+ * - AD office network: [CreateADConnectorOfficeSite](https://help.aliyun.com/document_detail/215417.html) and [Create AD users](https://help.aliyun.com/document_detail/188619.html).
3446
3449
  * - Call [CreatePolicyGroup](https://help.aliyun.com/document_detail/188889.html) to create a policy, or confirm that an existing policy is available.
3447
3450
  * **Call examples:**
3448
3451
  * <details>
3449
- * <summary>Example of creating with a template</summary>
3452
+ * <summary>Example of creating a cloud desktop by using a template</summary>
3450
3453
  * ```
3451
3454
  * {
3452
3455
  * "RegionId": "cn-hangzhou",
@@ -3460,7 +3463,7 @@ class Client extends openapi_core_1.default {
3460
3463
  * ```
3461
3464
  * </details>
3462
3465
  * <details>
3463
- * <summary>Example of creating without a template</summary>
3466
+ * <summary>Example of creating a cloud desktop without a template</summary>
3464
3467
  * ```
3465
3468
  * {
3466
3469
  * "RegionId": "cn-hangzhou",
@@ -3480,7 +3483,7 @@ class Client extends openapi_core_1.default {
3480
3483
  * ```
3481
3484
  * </details>
3482
3485
  * <details>
3483
- * <summary>Example of creating a monthly hourly package</summary>
3486
+ * <summary>Example of creating a cloud desktop with a monthly hourly package</summary>
3484
3487
  * ```
3485
3488
  * {
3486
3489
  * "RegionId": "cn-hangzhou",
@@ -3505,7 +3508,7 @@ class Client extends openapi_core_1.default {
3505
3508
  * ```
3506
3509
  * </details>
3507
3510
  * <details>
3508
- * <summary>Example of creating an Agent resource</summary>
3511
+ * <summary>Example of creating an agent resource</summary>
3509
3512
  * ```
3510
3513
  * {
3511
3514
  * "RegionId": "cn-hangzhou",
@@ -3525,7 +3528,7 @@ class Client extends openapi_core_1.default {
3525
3528
  * }
3526
3529
  * ```
3527
3530
  * </details>
3528
- * To have cloud computers automatically run custom command scripts, use the `UserCommands` field to configure custom commands.
3531
+ * To have the cloud desktop automatically run custom command scripts, use the `UserCommands` field to configure custom commands.
3529
3532
  *
3530
3533
  * @param request - CreateDesktopsRequest
3531
3534
  * @returns CreateDesktopsResponse
@@ -3835,12 +3838,18 @@ class Client extends openapi_core_1.default {
3835
3838
  async createNASFileSystemWithOptions(request, runtime) {
3836
3839
  request.validate();
3837
3840
  let query = {};
3841
+ if (!$dara.isNull(request.capacity)) {
3842
+ query["Capacity"] = request.capacity;
3843
+ }
3838
3844
  if (!$dara.isNull(request.description)) {
3839
3845
  query["Description"] = request.description;
3840
3846
  }
3841
3847
  if (!$dara.isNull(request.encryptType)) {
3842
3848
  query["EncryptType"] = request.encryptType;
3843
3849
  }
3850
+ if (!$dara.isNull(request.fileSystemType)) {
3851
+ query["FileSystemType"] = request.fileSystemType;
3852
+ }
3844
3853
  if (!$dara.isNull(request.name)) {
3845
3854
  query["Name"] = request.name;
3846
3855
  }
@@ -4781,9 +4790,9 @@ class Client extends openapi_core_1.default {
4781
4790
  * Creates a custom cloud computer template. A cloud computer template is a collection of cloud computer configurations that reduces the configuration steps and accelerates the creation of cloud computers.
4782
4791
  *
4783
4792
  * @remarks
4784
- * When you call this operation, note the following items:
4793
+ * When you call this operation, take note of the following items:
4785
4794
  * - Most parameters in the instance launch template are optional. When you create a template, Alibaba Cloud does not strictly verify the existence or validity of parameter values. Parameter values are validated only when you create an instance by using the template.
4786
- * - For parameters that have region attributes in the template, if the region does not match when you create a cloud computer by using the template, these parameters do not take effect.
4795
+ * - For region-specific parameters in the template, if the region does not match when you create a cloud computer by using the template, these parameters do not take effect.
4787
4796
  *
4788
4797
  * @param request - CreateTemplateRequest
4789
4798
  * @param runtime - runtime options for this request RuntimeOptions
@@ -4817,6 +4826,9 @@ class Client extends openapi_core_1.default {
4817
4826
  if (!$dara.isNull(request.imageId)) {
4818
4827
  body["ImageId"] = request.imageId;
4819
4828
  }
4829
+ if (!$dara.isNull(request.instanceName)) {
4830
+ body["InstanceName"] = request.instanceName;
4831
+ }
4820
4832
  if (!$dara.isNull(request.period)) {
4821
4833
  body["Period"] = request.period;
4822
4834
  }
@@ -4880,9 +4892,9 @@ class Client extends openapi_core_1.default {
4880
4892
  * Creates a custom cloud computer template. A cloud computer template is a collection of cloud computer configurations that reduces the configuration steps and accelerates the creation of cloud computers.
4881
4893
  *
4882
4894
  * @remarks
4883
- * When you call this operation, note the following items:
4895
+ * When you call this operation, take note of the following items:
4884
4896
  * - Most parameters in the instance launch template are optional. When you create a template, Alibaba Cloud does not strictly verify the existence or validity of parameter values. Parameter values are validated only when you create an instance by using the template.
4885
- * - For parameters that have region attributes in the template, if the region does not match when you create a cloud computer by using the template, these parameters do not take effect.
4897
+ * - For region-specific parameters in the template, if the region does not match when you create a cloud computer by using the template, these parameters do not take effect.
4886
4898
  *
4887
4899
  * @param request - CreateTemplateRequest
4888
4900
  * @returns CreateTemplateResponse
@@ -4895,7 +4907,7 @@ class Client extends openapi_core_1.default {
4895
4907
  * Creates a virtual bridge.
4896
4908
  *
4897
4909
  * @remarks
4898
- * 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.
4910
+ * 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.
4899
4911
  *
4900
4912
  * @param request - CreateVirtualBridgeRequest
4901
4913
  * @param runtime - runtime options for this request RuntimeOptions
@@ -4951,7 +4963,7 @@ class Client extends openapi_core_1.default {
4951
4963
  * Creates a virtual bridge.
4952
4964
  *
4953
4965
  * @remarks
4954
- * 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.
4966
+ * 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.
4955
4967
  *
4956
4968
  * @param request - CreateVirtualBridgeRequest
4957
4969
  * @returns CreateVirtualBridgeResponse
@@ -6211,7 +6223,7 @@ class Client extends openapi_core_1.default {
6211
6223
  * Deletes a custom cloud computer template.
6212
6224
  *
6213
6225
  * @remarks
6214
- * After the template is deleted, cloud computers that were created based on the template are not affected, and resources associated with the template are not affected.
6226
+ * After a template is deleted, cloud computers that were created based on the template are not affected, and resources associated with the template are not affected.
6215
6227
  *
6216
6228
  * @param request - DeleteTemplatesRequest
6217
6229
  * @param runtime - runtime options for this request RuntimeOptions
@@ -6246,7 +6258,7 @@ class Client extends openapi_core_1.default {
6246
6258
  * Deletes a custom cloud computer template.
6247
6259
  *
6248
6260
  * @remarks
6249
- * After the template is deleted, cloud computers that were created based on the template are not affected, and resources associated with the template are not affected.
6261
+ * After a template is deleted, cloud computers that were created based on the template are not affected, and resources associated with the template are not affected.
6250
6262
  *
6251
6263
  * @param request - DeleteTemplatesRequest
6252
6264
  * @returns DeleteTemplatesResponse
@@ -6259,7 +6271,7 @@ class Client extends openapi_core_1.default {
6259
6271
  * Modifies the status of a virtual bridge.
6260
6272
  *
6261
6273
  * @remarks
6262
- * 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.
6274
+ * 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.
6263
6275
  *
6264
6276
  * @param request - DeleteVirtualBridgeRequest
6265
6277
  * @param runtime - runtime options for this request RuntimeOptions
@@ -6294,7 +6306,7 @@ class Client extends openapi_core_1.default {
6294
6306
  * Modifies the status of a virtual bridge.
6295
6307
  *
6296
6308
  * @remarks
6297
- * 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.
6309
+ * 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.
6298
6310
  *
6299
6311
  * @param request - DeleteVirtualBridgeRequest
6300
6312
  * @returns DeleteVirtualBridgeResponse
@@ -6811,7 +6823,7 @@ class Client extends openapi_core_1.default {
6811
6823
  * Queries the list of cloud disk team spaces.
6812
6824
  *
6813
6825
  * @remarks
6814
- * The cloud disk team list is synchronized from the Wuying client > User Management > Organization Structure. To use team spaces, shift users to a specified organization in the User Management interface. Users can then see the team space menu bar in the cloud disk client.
6826
+ * The cloud disk team list is obtained through synchronization from the Wuying client > User Management > organization structure. To use team spaces, shift users to a specified organization in the User Management interface. Users can then see the team space menu bar in the cloud disk client.
6815
6827
  *
6816
6828
  * @param request - DescribeCloudDiskGroupDrivesRequest
6817
6829
  * @param runtime - runtime options for this request RuntimeOptions
@@ -6855,7 +6867,7 @@ class Client extends openapi_core_1.default {
6855
6867
  * Queries the list of cloud disk team spaces.
6856
6868
  *
6857
6869
  * @remarks
6858
- * The cloud disk team list is synchronized from the Wuying client > User Management > Organization Structure. To use team spaces, shift users to a specified organization in the User Management interface. Users can then see the team space menu bar in the cloud disk client.
6870
+ * The cloud disk team list is obtained through synchronization from the Wuying client > User Management > organization structure. To use team spaces, shift users to a specified organization in the User Management interface. Users can then see the team space menu bar in the cloud disk client.
6859
6871
  *
6860
6872
  * @param request - DescribeCloudDiskGroupDrivesRequest
6861
6873
  * @returns DescribeCloudDiskGroupDrivesResponse
@@ -7149,6 +7161,88 @@ class Client extends openapi_core_1.default {
7149
7161
  let runtime = new $dara.RuntimeOptions({});
7150
7162
  return await this.describeConfigGroupWithOptions(request, runtime);
7151
7163
  }
7164
+ /**
7165
+ * Queries WUYING Workspace management messages.
7166
+ *
7167
+ * @remarks
7168
+ * 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.
7169
+ * - When multiple filter conditions are provided, all conditions are applied together to limit the query results.
7170
+ * - Uses PageNum and PageSize for pagination. The default value of PageNum is 1, and the default and maximum values of PageSize are both 200.
7171
+ * - 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.
7172
+ * - 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.
7173
+ * - Image download URLs are temporary links. If a link expires, you can query again to obtain a new one.
7174
+ *
7175
+ * @param request - DescribeConsoleMessagesRequest
7176
+ * @param runtime - runtime options for this request RuntimeOptions
7177
+ * @returns DescribeConsoleMessagesResponse
7178
+ */
7179
+ async describeConsoleMessagesWithOptions(request, runtime) {
7180
+ request.validate();
7181
+ let query = {};
7182
+ if (!$dara.isNull(request.businessChannel)) {
7183
+ query["BusinessChannel"] = request.businessChannel;
7184
+ }
7185
+ if (!$dara.isNull(request.clientTypes)) {
7186
+ query["ClientTypes"] = request.clientTypes;
7187
+ }
7188
+ if (!$dara.isNull(request.keyword)) {
7189
+ query["Keyword"] = request.keyword;
7190
+ }
7191
+ if (!$dara.isNull(request.messageIds)) {
7192
+ query["MessageIds"] = request.messageIds;
7193
+ }
7194
+ if (!$dara.isNull(request.messageLevel)) {
7195
+ query["MessageLevel"] = request.messageLevel;
7196
+ }
7197
+ if (!$dara.isNull(request.messageType)) {
7198
+ query["MessageType"] = request.messageType;
7199
+ }
7200
+ if (!$dara.isNull(request.pageNum)) {
7201
+ query["PageNum"] = request.pageNum;
7202
+ }
7203
+ if (!$dara.isNull(request.pageSize)) {
7204
+ query["PageSize"] = request.pageSize;
7205
+ }
7206
+ if (!$dara.isNull(request.targetIds)) {
7207
+ query["TargetIds"] = request.targetIds;
7208
+ }
7209
+ if (!$dara.isNull(request.targetType)) {
7210
+ query["TargetType"] = request.targetType;
7211
+ }
7212
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
7213
+ query: openapi_core_2.OpenApiUtil.query(query),
7214
+ });
7215
+ let params = new openapi_core_2.$OpenApiUtil.Params({
7216
+ action: "DescribeConsoleMessages",
7217
+ version: "2020-09-30",
7218
+ protocol: "HTTPS",
7219
+ pathname: "/",
7220
+ method: "POST",
7221
+ authType: "AK",
7222
+ style: "RPC",
7223
+ reqBodyType: "formData",
7224
+ bodyType: "json",
7225
+ });
7226
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeConsoleMessagesResponse({}));
7227
+ }
7228
+ /**
7229
+ * Queries WUYING Workspace management messages.
7230
+ *
7231
+ * @remarks
7232
+ * 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.
7233
+ * - When multiple filter conditions are provided, all conditions are applied together to limit the query results.
7234
+ * - Uses PageNum and PageSize for pagination. The default value of PageNum is 1, and the default and maximum values of PageSize are both 200.
7235
+ * - 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.
7236
+ * - 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.
7237
+ * - Image download URLs are temporary links. If a link expires, you can query again to obtain a new one.
7238
+ *
7239
+ * @param request - DescribeConsoleMessagesRequest
7240
+ * @returns DescribeConsoleMessagesResponse
7241
+ */
7242
+ async describeConsoleMessages(request) {
7243
+ let runtime = new $dara.RuntimeOptions({});
7244
+ return await this.describeConsoleMessagesWithOptions(request, runtime);
7245
+ }
7152
7246
  /**
7153
7247
  * Obtain the table header information of the WUYING Workspace list page.
7154
7248
  *
@@ -7846,7 +7940,7 @@ class Client extends openapi_core_1.default {
7846
7940
  return await this.describeDesktopTypesWithOptions(request, runtime);
7847
7941
  }
7848
7942
  /**
7849
- * Queries the details of cloud computers.
7943
+ * Queries the details of a cloud computer.
7850
7944
  *
7851
7945
  * @param request - DescribeDesktopsRequest
7852
7946
  * @param runtime - runtime options for this request RuntimeOptions
@@ -7960,6 +8054,9 @@ class Client extends openapi_core_1.default {
7960
8054
  if (!$dara.isNull(request.regionId)) {
7961
8055
  query["RegionId"] = request.regionId;
7962
8056
  }
8057
+ if (!$dara.isNull(request.reservePoolId)) {
8058
+ query["ReservePoolId"] = request.reservePoolId;
8059
+ }
7963
8060
  if (!$dara.isNull(request.resourceGroupId)) {
7964
8061
  query["ResourceGroupId"] = request.resourceGroupId;
7965
8062
  }
@@ -7992,7 +8089,7 @@ class Client extends openapi_core_1.default {
7992
8089
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeDesktopsResponse({}));
7993
8090
  }
7994
8091
  /**
7995
- * Queries the details of cloud computers.
8092
+ * Queries the details of a cloud computer.
7996
8093
  *
7997
8094
  * @param request - DescribeDesktopsRequest
7998
8095
  * @returns DescribeDesktopsResponse
@@ -8518,10 +8615,10 @@ class Client extends openapi_core_1.default {
8518
8615
  return await this.describeFotaTasksWithOptions(request, runtime);
8519
8616
  }
8520
8617
  /**
8521
- * Queries the basic information of all recent cloud desktops and their corresponding usage duration records.
8618
+ * Queries the basic information about all recent cloud desktops and the corresponding usage duration records.
8522
8619
  *
8523
8620
  * @remarks
8524
- * - China site users should select Shanghai as the site. International site users should select Singapore.
8621
+ * - China site users must select Shanghai as the site. International site users must select Singapore.
8525
8622
  * - By default, both deleted and non-deleted cloud desktops are queried.
8526
8623
  * - Deleted cloud desktops can only be queried if they were deleted within the last three months.
8527
8624
  * - Sort conditions cannot be used together with other conditions.
@@ -8607,10 +8704,10 @@ class Client extends openapi_core_1.default {
8607
8704
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeGlobalDesktopRecordsResponse({}));
8608
8705
  }
8609
8706
  /**
8610
- * Queries the basic information of all recent cloud desktops and their corresponding usage duration records.
8707
+ * Queries the basic information about all recent cloud desktops and the corresponding usage duration records.
8611
8708
  *
8612
8709
  * @remarks
8613
- * - China site users should select Shanghai as the site. International site users should select Singapore.
8710
+ * - China site users must select Shanghai as the site. International site users must select Singapore.
8614
8711
  * - By default, both deleted and non-deleted cloud desktops are queried.
8615
8712
  * - Deleted cloud desktops can only be queried if they were deleted within the last three months.
8616
8713
  * - Sort conditions cannot be used together with other conditions.
@@ -8989,7 +9086,7 @@ class Client extends openapi_core_1.default {
8989
9086
  * Queries the execution list and status of Cloud Assistant scripts.
8990
9087
  *
8991
9088
  * @remarks
8992
- * - After you run a command, it does not necessarily succeed or produce the expected results. Check the actual execution results based on the response values returned by this operation.
9089
+ * - After you run a command, the command is not guaranteed to succeed or produce the expected results. Check the actual execution results based on the response of this operation.
8993
9090
  * - You can query execution information from the last two weeks. A maximum of 100,000 execution records are retained.
8994
9091
  *
8995
9092
  * @param request - DescribeInvocationsRequest
@@ -9055,7 +9152,7 @@ class Client extends openapi_core_1.default {
9055
9152
  * Queries the execution list and status of Cloud Assistant scripts.
9056
9153
  *
9057
9154
  * @remarks
9058
- * - After you run a command, it does not necessarily succeed or produce the expected results. Check the actual execution results based on the response values returned by this operation.
9155
+ * - After you run a command, the command is not guaranteed to succeed or produce the expected results. Check the actual execution results based on the response of this operation.
9059
9156
  * - You can query execution information from the last two weeks. A maximum of 100,000 execution records are retained.
9060
9157
  *
9061
9158
  * @param request - DescribeInvocationsRequest
@@ -10195,6 +10292,9 @@ class Client extends openapi_core_1.default {
10195
10292
  async describeRecordFileWithOptions(request, runtime) {
10196
10293
  request.validate();
10197
10294
  let query = {};
10295
+ if (!$dara.isNull(request.auditStatus)) {
10296
+ query["AuditStatus"] = request.auditStatus;
10297
+ }
10198
10298
  if (!$dara.isNull(request.desktopId)) {
10199
10299
  query["DesktopId"] = request.desktopId;
10200
10300
  }
@@ -10420,7 +10520,7 @@ class Client extends openapi_core_1.default {
10420
10520
  return await this.describeRegionsWithOptions(request, runtime);
10421
10521
  }
10422
10522
  /**
10423
- * Queries the renewal price of a Wuying product.
10523
+ * Queries the renewal price of an Elastic Desktop Service product.
10424
10524
  *
10425
10525
  * @param request - DescribeRenewalPriceRequest
10426
10526
  * @param runtime - runtime options for this request RuntimeOptions
@@ -10470,7 +10570,7 @@ class Client extends openapi_core_1.default {
10470
10570
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeRenewalPriceResponse({}));
10471
10571
  }
10472
10572
  /**
10473
- * Queries the renewal price of a Wuying product.
10573
+ * Queries the renewal price of an Elastic Desktop Service product.
10474
10574
  *
10475
10575
  * @param request - DescribeRenewalPriceRequest
10476
10576
  * @returns DescribeRenewalPriceResponse
@@ -11372,11 +11472,11 @@ class Client extends openapi_core_1.default {
11372
11472
  return await this.describeVirtualMFADevicesWithOptions(request, runtime);
11373
11473
  }
11374
11474
  /**
11375
- * Retrieves cloud computer information for a vulnerability.
11475
+ * Retrieves cloud desktop information for a vulnerability.
11376
11476
  *
11377
11477
  * @remarks
11378
- * - This operation uses a centralized domain name. The access point is in the China (Shanghai) region. Other regions are not supported.
11379
- * - The cloud computer status information returned by this operation has a 1 to 3 second delay from the actual values.
11478
+ * - This operation uses a centralized endpoint in the Shanghai region. Calls from other regions are not supported.
11479
+ * - The cloud desktop status information returned by this operation has a 1 to 3 second delay from the actual values.
11380
11480
  *
11381
11481
  * @param request - DescribeVulDesktopsRequest
11382
11482
  * @param runtime - runtime options for this request RuntimeOptions
@@ -11385,12 +11485,18 @@ class Client extends openapi_core_1.default {
11385
11485
  async describeVulDesktopsWithOptions(request, runtime) {
11386
11486
  request.validate();
11387
11487
  let query = {};
11488
+ if (!$dara.isNull(request.connectionStatus)) {
11489
+ query["ConnectionStatus"] = request.connectionStatus;
11490
+ }
11388
11491
  if (!$dara.isNull(request.cveId)) {
11389
11492
  query["CveId"] = request.cveId;
11390
11493
  }
11391
11494
  if (!$dara.isNull(request.desktopIdList)) {
11392
11495
  query["DesktopIdList"] = request.desktopIdList;
11393
11496
  }
11497
+ if (!$dara.isNull(request.desktopStatus)) {
11498
+ query["DesktopStatus"] = request.desktopStatus;
11499
+ }
11394
11500
  if (!$dara.isNull(request.includeFixResult)) {
11395
11501
  query["IncludeFixResult"] = request.includeFixResult;
11396
11502
  }
@@ -11447,11 +11553,11 @@ class Client extends openapi_core_1.default {
11447
11553
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeVulDesktopsResponse({}));
11448
11554
  }
11449
11555
  /**
11450
- * Retrieves cloud computer information for a vulnerability.
11556
+ * Retrieves cloud desktop information for a vulnerability.
11451
11557
  *
11452
11558
  * @remarks
11453
- * - This operation uses a centralized domain name. The access point is in the China (Shanghai) region. Other regions are not supported.
11454
- * - The cloud computer status information returned by this operation has a 1 to 3 second delay from the actual values.
11559
+ * - This operation uses a centralized endpoint in the Shanghai region. Calls from other regions are not supported.
11560
+ * - The cloud desktop status information returned by this operation has a 1 to 3 second delay from the actual values.
11455
11561
  *
11456
11562
  * @param request - DescribeVulDesktopsRequest
11457
11563
  * @returns DescribeVulDesktopsResponse
@@ -12153,6 +12259,51 @@ class Client extends openapi_core_1.default {
12153
12259
  let runtime = new $dara.RuntimeOptions({});
12154
12260
  return await this.exportDesktopListInfoWithOptions(request, runtime);
12155
12261
  }
12262
+ /**
12263
+ * Queries desktop statistics by different dimensions.
12264
+ *
12265
+ * @param request - GetAggregatedDesktopsRequest
12266
+ * @param runtime - runtime options for this request RuntimeOptions
12267
+ * @returns GetAggregatedDesktopsResponse
12268
+ */
12269
+ async getAggregatedDesktopsWithOptions(request, runtime) {
12270
+ request.validate();
12271
+ let query = {};
12272
+ if (!$dara.isNull(request.aggregationFactor)) {
12273
+ query["AggregationFactor"] = request.aggregationFactor;
12274
+ }
12275
+ if (!$dara.isNull(request.regionId)) {
12276
+ query["RegionId"] = request.regionId;
12277
+ }
12278
+ if (!$dara.isNull(request.searchRegionId)) {
12279
+ query["SearchRegionId"] = request.searchRegionId;
12280
+ }
12281
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
12282
+ query: openapi_core_2.OpenApiUtil.query(query),
12283
+ });
12284
+ let params = new openapi_core_2.$OpenApiUtil.Params({
12285
+ action: "GetAggregatedDesktops",
12286
+ version: "2020-09-30",
12287
+ protocol: "HTTPS",
12288
+ pathname: "/",
12289
+ method: "POST",
12290
+ authType: "AK",
12291
+ style: "RPC",
12292
+ reqBodyType: "formData",
12293
+ bodyType: "json",
12294
+ });
12295
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetAggregatedDesktopsResponse({}));
12296
+ }
12297
+ /**
12298
+ * Queries desktop statistics by different dimensions.
12299
+ *
12300
+ * @param request - GetAggregatedDesktopsRequest
12301
+ * @returns GetAggregatedDesktopsResponse
12302
+ */
12303
+ async getAggregatedDesktops(request) {
12304
+ let runtime = new $dara.RuntimeOptions({});
12305
+ return await this.getAggregatedDesktopsWithOptions(request, runtime);
12306
+ }
12156
12307
  /**
12157
12308
  * Retrieves the details of a folder copy asynchronous node based on the AsyncTaskId parameter returned by the CopyCdsFile operation.
12158
12309
  *
@@ -12199,7 +12350,7 @@ class Client extends openapi_core_1.default {
12199
12350
  * Retrieves the connection credential for a cloud computer.
12200
12351
  *
12201
12352
  * @remarks
12202
- * The cloud computer must be in the Running state. The ticket obtained by calling this operation expires in 10 minutes.
12353
+ * The cloud computer must be in the Running state. The ticket obtained by calling this operation expires after 10 minutes.
12203
12354
  *
12204
12355
  * @param request - GetConnectionTicketRequest
12205
12356
  * @param runtime - runtime options for this request RuntimeOptions
@@ -12208,6 +12359,9 @@ class Client extends openapi_core_1.default {
12208
12359
  async getConnectionTicketWithOptions(request, runtime) {
12209
12360
  request.validate();
12210
12361
  let query = {};
12362
+ if (!$dara.isNull(request.clientType)) {
12363
+ query["ClientType"] = request.clientType;
12364
+ }
12211
12365
  if (!$dara.isNull(request.commandContent)) {
12212
12366
  query["CommandContent"] = request.commandContent;
12213
12367
  }
@@ -12258,7 +12412,7 @@ class Client extends openapi_core_1.default {
12258
12412
  * Retrieves the connection credential for a cloud computer.
12259
12413
  *
12260
12414
  * @remarks
12261
- * The cloud computer must be in the Running state. The ticket obtained by calling this operation expires in 10 minutes.
12415
+ * The cloud computer must be in the Running state. The ticket obtained by calling this operation expires after 10 minutes.
12262
12416
  *
12263
12417
  * @param request - GetConnectionTicketRequest
12264
12418
  * @returns GetConnectionTicketResponse
@@ -13035,10 +13189,10 @@ class Client extends openapi_core_1.default {
13035
13189
  return await this.listUserAdOrganizationUnitsWithOptions(request, runtime);
13036
13190
  }
13037
13191
  /**
13038
- * Queries a list of virtual bridges.
13192
+ * Queries virtual bridges.
13039
13193
  *
13040
13194
  * @remarks
13041
- * 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.
13195
+ * 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.
13042
13196
  *
13043
13197
  * @param request - ListVirtualBridgesRequest
13044
13198
  * @param runtime - runtime options for this request RuntimeOptions
@@ -13079,10 +13233,10 @@ class Client extends openapi_core_1.default {
13079
13233
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListVirtualBridgesResponse({}));
13080
13234
  }
13081
13235
  /**
13082
- * Queries a list of virtual bridges.
13236
+ * Queries virtual bridges.
13083
13237
  *
13084
13238
  * @remarks
13085
- * 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.
13239
+ * 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.
13086
13240
  *
13087
13241
  * @param request - ListVirtualBridgesRequest
13088
13242
  * @returns ListVirtualBridgesResponse
@@ -16252,7 +16406,7 @@ class Client extends openapi_core_1.default {
16252
16406
  * Modifies all parameters of a custom cloud computer template.
16253
16407
  *
16254
16408
  * @remarks
16255
- * >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.
16409
+ * >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.
16256
16410
  *
16257
16411
  * @param request - ModifyTemplateRequest
16258
16412
  * @param runtime - runtime options for this request RuntimeOptions
@@ -16283,6 +16437,9 @@ class Client extends openapi_core_1.default {
16283
16437
  if (!$dara.isNull(request.imageId)) {
16284
16438
  body["ImageId"] = request.imageId;
16285
16439
  }
16440
+ if (!$dara.isNull(request.instanceName)) {
16441
+ body["InstanceName"] = request.instanceName;
16442
+ }
16286
16443
  if (!$dara.isNull(request.period)) {
16287
16444
  body["Period"] = request.period;
16288
16445
  }
@@ -16346,7 +16503,7 @@ class Client extends openapi_core_1.default {
16346
16503
  * Modifies all parameters of a custom cloud computer template.
16347
16504
  *
16348
16505
  * @remarks
16349
- * >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.
16506
+ * >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.
16350
16507
  *
16351
16508
  * @param request - ModifyTemplateRequest
16352
16509
  * @returns ModifyTemplateResponse
@@ -16356,10 +16513,10 @@ class Client extends openapi_core_1.default {
16356
16513
  return await this.modifyTemplateWithOptions(request, runtime);
16357
16514
  }
16358
16515
  /**
16359
- * Modifies the basic information of a custom cloud computer template, including the template name and description.
16516
+ * Modifies the basic information of a custom cloud computer template, including the template name and template description.
16360
16517
  *
16361
16518
  * @remarks
16362
- * 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).
16519
+ * 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).
16363
16520
  *
16364
16521
  * @param request - ModifyTemplateBaseInfoRequest
16365
16522
  * @param runtime - runtime options for this request RuntimeOptions
@@ -16371,6 +16528,9 @@ class Client extends openapi_core_1.default {
16371
16528
  if (!$dara.isNull(request.description)) {
16372
16529
  body["Description"] = request.description;
16373
16530
  }
16531
+ if (!$dara.isNull(request.instanceName)) {
16532
+ body["InstanceName"] = request.instanceName;
16533
+ }
16374
16534
  if (!$dara.isNull(request.templateId)) {
16375
16535
  body["TemplateId"] = request.templateId;
16376
16536
  }
@@ -16394,10 +16554,10 @@ class Client extends openapi_core_1.default {
16394
16554
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.ModifyTemplateBaseInfoResponse({}));
16395
16555
  }
16396
16556
  /**
16397
- * Modifies the basic information of a custom cloud computer template, including the template name and description.
16557
+ * Modifies the basic information of a custom cloud computer template, including the template name and template description.
16398
16558
  *
16399
16559
  * @remarks
16400
- * 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).
16560
+ * 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).
16401
16561
  *
16402
16562
  * @param request - ModifyTemplateBaseInfoRequest
16403
16563
  * @returns ModifyTemplateBaseInfoResponse
@@ -16560,10 +16720,10 @@ class Client extends openapi_core_1.default {
16560
16720
  return await this.modifyUserToDesktopGroupWithOptions(request, runtime);
16561
16721
  }
16562
16722
  /**
16563
- * Changes the specifications of a virtual bridge.
16723
+ * Upgrades or downgrades the specifications of a virtual bridge.
16564
16724
  *
16565
16725
  * @remarks
16566
- * 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.
16726
+ * 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.
16567
16727
  *
16568
16728
  * @param request - ModifyVirtualBridgeLevelRequest
16569
16729
  * @param runtime - runtime options for this request RuntimeOptions
@@ -16616,10 +16776,10 @@ class Client extends openapi_core_1.default {
16616
16776
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.ModifyVirtualBridgeLevelResponse({}));
16617
16777
  }
16618
16778
  /**
16619
- * Changes the specifications of a virtual bridge.
16779
+ * Upgrades or downgrades the specifications of a virtual bridge.
16620
16780
  *
16621
16781
  * @remarks
16622
- * 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.
16782
+ * 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.
16623
16783
  *
16624
16784
  * @param request - ModifyVirtualBridgeLevelRequest
16625
16785
  * @returns ModifyVirtualBridgeLevelResponse
@@ -16632,7 +16792,7 @@ class Client extends openapi_core_1.default {
16632
16792
  * Modifies the status of a virtual bridge.
16633
16793
  *
16634
16794
  * @remarks
16635
- * Only custom images in the active (Available) state can be modified.
16795
+ * Only custom images in the Available state can be modified.
16636
16796
  *
16637
16797
  * @param request - ModifyVirtualBridgeStatusRequest
16638
16798
  * @param runtime - runtime options for this request RuntimeOptions
@@ -16670,7 +16830,7 @@ class Client extends openapi_core_1.default {
16670
16830
  * Modifies the status of a virtual bridge.
16671
16831
  *
16672
16832
  * @remarks
16673
- * Only custom images in the active (Available) state can be modified.
16833
+ * Only custom images in the Available state can be modified.
16674
16834
  *
16675
16835
  * @param request - ModifyVirtualBridgeStatusRequest
16676
16836
  * @returns ModifyVirtualBridgeStatusResponse
@@ -16787,6 +16947,72 @@ class Client extends openapi_core_1.default {
16787
16947
  let runtime = new $dara.RuntimeOptions({});
16788
16948
  return await this.queryActiveUserStatisticWithOptions(request, runtime);
16789
16949
  }
16950
+ /**
16951
+ * 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.
16952
+ *
16953
+ * @param request - QueryAuthUserConnectDurationListRequest
16954
+ * @param runtime - runtime options for this request RuntimeOptions
16955
+ * @returns QueryAuthUserConnectDurationListResponse
16956
+ */
16957
+ async queryAuthUserConnectDurationListWithOptions(request, runtime) {
16958
+ request.validate();
16959
+ let query = {};
16960
+ if (!$dara.isNull(request.comparisonOperator)) {
16961
+ query["ComparisonOperator"] = request.comparisonOperator;
16962
+ }
16963
+ if (!$dara.isNull(request.dataDate)) {
16964
+ query["DataDate"] = request.dataDate;
16965
+ }
16966
+ if (!$dara.isNull(request.isAdUser)) {
16967
+ query["IsAdUser"] = request.isAdUser;
16968
+ }
16969
+ if (!$dara.isNull(request.nextToken)) {
16970
+ query["NextToken"] = request.nextToken;
16971
+ }
16972
+ if (!$dara.isNull(request.pageNum)) {
16973
+ query["PageNum"] = request.pageNum;
16974
+ }
16975
+ if (!$dara.isNull(request.pageSize)) {
16976
+ query["PageSize"] = request.pageSize;
16977
+ }
16978
+ if (!$dara.isNull(request.statisticType)) {
16979
+ query["StatisticType"] = request.statisticType;
16980
+ }
16981
+ if (!$dara.isNull(request.threshold)) {
16982
+ query["Threshold"] = request.threshold;
16983
+ }
16984
+ if (!$dara.isNull(request.userName)) {
16985
+ query["UserName"] = request.userName;
16986
+ }
16987
+ if (!$dara.isNull(request.withDetail)) {
16988
+ query["WithDetail"] = request.withDetail;
16989
+ }
16990
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
16991
+ query: openapi_core_2.OpenApiUtil.query(query),
16992
+ });
16993
+ let params = new openapi_core_2.$OpenApiUtil.Params({
16994
+ action: "QueryAuthUserConnectDurationList",
16995
+ version: "2020-09-30",
16996
+ protocol: "HTTPS",
16997
+ pathname: "/",
16998
+ method: "POST",
16999
+ authType: "AK",
17000
+ style: "RPC",
17001
+ reqBodyType: "formData",
17002
+ bodyType: "json",
17003
+ });
17004
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.QueryAuthUserConnectDurationListResponse({}));
17005
+ }
17006
+ /**
17007
+ * 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.
17008
+ *
17009
+ * @param request - QueryAuthUserConnectDurationListRequest
17010
+ * @returns QueryAuthUserConnectDurationListResponse
17011
+ */
17012
+ async queryAuthUserConnectDurationList(request) {
17013
+ let runtime = new $dara.RuntimeOptions({});
17014
+ return await this.queryAuthUserConnectDurationListWithOptions(request, runtime);
17015
+ }
16790
17016
  /**
16791
17017
  * 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.
16792
17018
  *
@@ -17726,7 +17952,7 @@ class Client extends openapi_core_1.default {
17726
17952
  * Renews a virtual bridge.
17727
17953
  *
17728
17954
  * @remarks
17729
- * 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.
17955
+ * 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.
17730
17956
  *
17731
17957
  * @param request - RenewVirtualBridgeRequest
17732
17958
  * @param runtime - runtime options for this request RuntimeOptions
@@ -17779,7 +18005,7 @@ class Client extends openapi_core_1.default {
17779
18005
  * Renews a virtual bridge.
17780
18006
  *
17781
18007
  * @remarks
17782
- * 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.
18008
+ * 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.
17783
18009
  *
17784
18010
  * @param request - RenewVirtualBridgeRequest
17785
18011
  * @returns RenewVirtualBridgeResponse
@@ -18073,6 +18299,59 @@ class Client extends openapi_core_1.default {
18073
18299
  let runtime = new $dara.RuntimeOptions({});
18074
18300
  return await this.runCommandWithOptions(request, runtime);
18075
18301
  }
18302
+ /**
18303
+ * Sends a created Elastic Desktop Service management message.
18304
+ *
18305
+ * @remarks
18306
+ * 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.
18307
+ * - 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.
18308
+ * - 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.
18309
+ * - 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.
18310
+ * - 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.
18311
+ *
18312
+ * @param request - SendConsoleMessageRequest
18313
+ * @param runtime - runtime options for this request RuntimeOptions
18314
+ * @returns SendConsoleMessageResponse
18315
+ */
18316
+ async sendConsoleMessageWithOptions(request, runtime) {
18317
+ request.validate();
18318
+ let query = {};
18319
+ if (!$dara.isNull(request.messageId)) {
18320
+ query["MessageId"] = request.messageId;
18321
+ }
18322
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
18323
+ query: openapi_core_2.OpenApiUtil.query(query),
18324
+ });
18325
+ let params = new openapi_core_2.$OpenApiUtil.Params({
18326
+ action: "SendConsoleMessage",
18327
+ version: "2020-09-30",
18328
+ protocol: "HTTPS",
18329
+ pathname: "/",
18330
+ method: "POST",
18331
+ authType: "AK",
18332
+ style: "RPC",
18333
+ reqBodyType: "formData",
18334
+ bodyType: "json",
18335
+ });
18336
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.SendConsoleMessageResponse({}));
18337
+ }
18338
+ /**
18339
+ * Sends a created Elastic Desktop Service management message.
18340
+ *
18341
+ * @remarks
18342
+ * 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.
18343
+ * - 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.
18344
+ * - 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.
18345
+ * - 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.
18346
+ * - 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.
18347
+ *
18348
+ * @param request - SendConsoleMessageRequest
18349
+ * @returns SendConsoleMessageResponse
18350
+ */
18351
+ async sendConsoleMessage(request) {
18352
+ let runtime = new $dara.RuntimeOptions({});
18353
+ return await this.sendConsoleMessageWithOptions(request, runtime);
18354
+ }
18076
18355
  /**
18077
18356
  * 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.
18078
18357
  *