@alicloud/ecd20200930 5.3.0 → 5.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (139) hide show
  1. package/dist/client.d.ts +80 -50
  2. package/dist/client.js +194 -50
  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/DeleteTemplatesResponseBody.d.ts +3 -6
  23. package/dist/models/DeleteTemplatesResponseBody.js.map +1 -1
  24. package/dist/models/DescribeCloudDiskGroupDrivesRequest.d.ts +3 -3
  25. package/dist/models/DescribeCloudDiskGroupDrivesResponseBody.d.ts +11 -3
  26. package/dist/models/DescribeCloudDiskGroupDrivesResponseBody.js +2 -0
  27. package/dist/models/DescribeCloudDiskGroupDrivesResponseBody.js.map +1 -1
  28. package/dist/models/DescribeDesktopsRequest.d.ts +26 -8
  29. package/dist/models/DescribeDesktopsRequest.js +2 -0
  30. package/dist/models/DescribeDesktopsRequest.js.map +1 -1
  31. package/dist/models/DescribeDesktopsResponseBody.d.ts +22 -7
  32. package/dist/models/DescribeDesktopsResponseBody.js +6 -0
  33. package/dist/models/DescribeDesktopsResponseBody.js.map +1 -1
  34. package/dist/models/DescribeGlobalDesktopRecordsRequest.d.ts +7 -7
  35. package/dist/models/DescribeGlobalDesktopRecordsResponseBody.d.ts +12 -5
  36. package/dist/models/DescribeGlobalDesktopRecordsResponseBody.js +2 -0
  37. package/dist/models/DescribeGlobalDesktopRecordsResponseBody.js.map +1 -1
  38. package/dist/models/DescribeInvocationsRequest.d.ts +6 -6
  39. package/dist/models/DescribeInvocationsResponseBody.d.ts +26 -26
  40. package/dist/models/DescribeNasfileSystemsRequest.d.ts +2 -2
  41. package/dist/models/DescribeNasfileSystemsResponseBody.d.ts +23 -4
  42. package/dist/models/DescribeNasfileSystemsResponseBody.js +2 -0
  43. package/dist/models/DescribeNasfileSystemsResponseBody.js.map +1 -1
  44. package/dist/models/DescribeRecordFileRequest.d.ts +18 -5
  45. package/dist/models/DescribeRecordFileRequest.js +2 -0
  46. package/dist/models/DescribeRecordFileRequest.js.map +1 -1
  47. package/dist/models/DescribeRecordFileResponseBody.d.ts +14 -9
  48. package/dist/models/DescribeRecordFileResponseBody.js +5 -0
  49. package/dist/models/DescribeRecordFileResponseBody.js.map +1 -1
  50. package/dist/models/DescribeRenewalPriceRequest.d.ts +4 -4
  51. package/dist/models/DescribeRenewalPriceResponseBody.d.ts +3 -3
  52. package/dist/models/DescribeTemplatesRequest.d.ts +5 -8
  53. package/dist/models/DescribeTemplatesRequest.js.map +1 -1
  54. package/dist/models/DescribeTemplatesResponseBody.d.ts +39 -12
  55. package/dist/models/DescribeTemplatesResponseBody.js +4 -0
  56. package/dist/models/DescribeTemplatesResponseBody.js.map +1 -1
  57. package/dist/models/DescribeVulDesktopsRequest.d.ts +29 -10
  58. package/dist/models/DescribeVulDesktopsRequest.js +4 -0
  59. package/dist/models/DescribeVulDesktopsRequest.js.map +1 -1
  60. package/dist/models/DescribeVulDesktopsResponseBody.d.ts +26 -10
  61. package/dist/models/DescribeVulDesktopsResponseBody.js +4 -0
  62. package/dist/models/DescribeVulDesktopsResponseBody.js.map +1 -1
  63. package/dist/models/DescribeVulnerabilityRequest.d.ts +1 -1
  64. package/dist/models/DescribeVulnerabilityResponseBody.d.ts +5 -5
  65. package/dist/models/DownloadCdsFileResponseBody.d.ts +1 -1
  66. package/dist/models/GetAggregatedDesktopsRequest.d.ts +37 -0
  67. package/dist/models/GetAggregatedDesktopsRequest.js +62 -0
  68. package/dist/models/GetAggregatedDesktopsRequest.js.map +1 -0
  69. package/dist/models/GetAggregatedDesktopsResponse.d.ts +19 -0
  70. package/dist/models/GetAggregatedDesktopsResponse.js +69 -0
  71. package/dist/models/GetAggregatedDesktopsResponse.js.map +1 -0
  72. package/dist/models/GetAggregatedDesktopsResponseBody.d.ts +46 -0
  73. package/dist/models/GetAggregatedDesktopsResponseBody.js +85 -0
  74. package/dist/models/GetAggregatedDesktopsResponseBody.js.map +1 -0
  75. package/dist/models/GetConnectionTicketRequest.d.ts +12 -4
  76. package/dist/models/GetConnectionTicketRequest.js +2 -0
  77. package/dist/models/GetConnectionTicketRequest.js.map +1 -1
  78. package/dist/models/GetConnectionTicketResponseBody.d.ts +3 -3
  79. package/dist/models/ModifyTemplateBaseInfoRequest.d.ts +9 -1
  80. package/dist/models/ModifyTemplateBaseInfoRequest.js +2 -0
  81. package/dist/models/ModifyTemplateBaseInfoRequest.js.map +1 -1
  82. package/dist/models/ModifyTemplateRequest.d.ts +26 -10
  83. package/dist/models/ModifyTemplateRequest.js +4 -0
  84. package/dist/models/ModifyTemplateRequest.js.map +1 -1
  85. package/dist/models/QueryAuthUserConnectDurationListRequest.d.ts +93 -0
  86. package/dist/models/QueryAuthUserConnectDurationListRequest.js +76 -0
  87. package/dist/models/QueryAuthUserConnectDurationListRequest.js.map +1 -0
  88. package/dist/models/QueryAuthUserConnectDurationListResponse.d.ts +19 -0
  89. package/dist/models/QueryAuthUserConnectDurationListResponse.js +69 -0
  90. package/dist/models/QueryAuthUserConnectDurationListResponse.js.map +1 -0
  91. package/dist/models/QueryAuthUserConnectDurationListResponseBody.d.ts +171 -0
  92. package/dist/models/QueryAuthUserConnectDurationListResponseBody.js +112 -0
  93. package/dist/models/QueryAuthUserConnectDurationListResponseBody.js.map +1 -0
  94. package/dist/models/model.d.ts +8 -0
  95. package/dist/models/model.js +37 -21
  96. package/dist/models/model.js.map +1 -1
  97. package/package.json +1 -1
  98. package/src/client.ts +222 -50
  99. package/src/models/CreateDesktopsRequest.ts +70 -57
  100. package/src/models/CreateDesktopsResponseBody.ts +1 -1
  101. package/src/models/CreateDesktopsShrinkRequest.ts +58 -48
  102. package/src/models/CreateDriveResponseBody.ts +1 -1
  103. package/src/models/CreateNasfileSystemRequest.ts +22 -2
  104. package/src/models/CreateNasfileSystemResponseBody.ts +10 -0
  105. package/src/models/CreateTemplateRequest.ts +38 -18
  106. package/src/models/CreateTemplateResponseBody.ts +1 -1
  107. package/src/models/DeleteTemplatesResponseBody.ts +3 -6
  108. package/src/models/DescribeCloudDiskGroupDrivesRequest.ts +3 -3
  109. package/src/models/DescribeCloudDiskGroupDrivesResponseBody.ts +13 -3
  110. package/src/models/DescribeDesktopsRequest.ts +28 -8
  111. package/src/models/DescribeDesktopsResponseBody.ts +28 -7
  112. package/src/models/DescribeGlobalDesktopRecordsRequest.ts +7 -7
  113. package/src/models/DescribeGlobalDesktopRecordsResponseBody.ts +14 -5
  114. package/src/models/DescribeInvocationsRequest.ts +6 -6
  115. package/src/models/DescribeInvocationsResponseBody.ts +26 -26
  116. package/src/models/DescribeNasfileSystemsRequest.ts +2 -2
  117. package/src/models/DescribeNasfileSystemsResponseBody.ts +25 -4
  118. package/src/models/DescribeRecordFileRequest.ts +20 -5
  119. package/src/models/DescribeRecordFileResponseBody.ts +19 -9
  120. package/src/models/DescribeRenewalPriceRequest.ts +4 -4
  121. package/src/models/DescribeRenewalPriceResponseBody.ts +3 -3
  122. package/src/models/DescribeTemplatesRequest.ts +5 -8
  123. package/src/models/DescribeTemplatesResponseBody.ts +43 -12
  124. package/src/models/DescribeVulDesktopsRequest.ts +33 -10
  125. package/src/models/DescribeVulDesktopsResponseBody.ts +30 -10
  126. package/src/models/DescribeVulnerabilityRequest.ts +1 -1
  127. package/src/models/DescribeVulnerabilityResponseBody.ts +5 -5
  128. package/src/models/DownloadCdsFileResponseBody.ts +1 -1
  129. package/src/models/GetAggregatedDesktopsRequest.ts +54 -0
  130. package/src/models/GetAggregatedDesktopsResponse.ts +40 -0
  131. package/src/models/GetAggregatedDesktopsResponseBody.ts +75 -0
  132. package/src/models/GetConnectionTicketRequest.ts +14 -4
  133. package/src/models/GetConnectionTicketResponseBody.ts +3 -3
  134. package/src/models/ModifyTemplateBaseInfoRequest.ts +11 -1
  135. package/src/models/ModifyTemplateRequest.ts +30 -10
  136. package/src/models/QueryAuthUserConnectDurationListRequest.ts +124 -0
  137. package/src/models/QueryAuthUserConnectDurationListResponse.ts +40 -0
  138. package/src/models/QueryAuthUserConnectDurationListResponseBody.ts +229 -0
  139. package/src/models/model.ts +8 -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
@@ -7174,7 +7190,7 @@ export default class Client extends OpenApi {
7174
7190
  * Deletes a custom cloud computer template.
7175
7191
  *
7176
7192
  * @remarks
7177
- * After the template is deleted, cloud computers that were created based on the template are not affected, and resources associated with the template are not affected.
7193
+ * After a template is deleted, cloud computers that were created based on the template are not affected, and resources associated with the template are not affected.
7178
7194
  *
7179
7195
  * @param request - DeleteTemplatesRequest
7180
7196
  * @param runtime - runtime options for this request RuntimeOptions
@@ -7212,7 +7228,7 @@ export default class Client extends OpenApi {
7212
7228
  * Deletes a custom cloud computer template.
7213
7229
  *
7214
7230
  * @remarks
7215
- * After the template is deleted, cloud computers that were created based on the template are not affected, and resources associated with the template are not affected.
7231
+ * After a template is deleted, cloud computers that were created based on the template are not affected, and resources associated with the template are not affected.
7216
7232
  *
7217
7233
  * @param request - DeleteTemplatesRequest
7218
7234
  * @returns DeleteTemplatesResponse
@@ -7868,7 +7884,7 @@ export default class Client extends OpenApi {
7868
7884
  * Queries the list of cloud disk team spaces.
7869
7885
  *
7870
7886
  * @remarks
7871
- * The cloud disk team list is synchronized from the Wuying client > User Management > Organization Structure. To use team spaces, shift users to a specified organization in the User Management interface. Users can then see the team space menu bar in the cloud disk client.
7887
+ * The cloud disk team list is obtained through synchronization from the Wuying client > User Management > organization structure. To use team spaces, shift users to a specified organization in the User Management interface. Users can then see the team space menu bar in the cloud disk client.
7872
7888
  *
7873
7889
  * @param request - DescribeCloudDiskGroupDrivesRequest
7874
7890
  * @param runtime - runtime options for this request RuntimeOptions
@@ -7918,7 +7934,7 @@ export default class Client extends OpenApi {
7918
7934
  * Queries the list of cloud disk team spaces.
7919
7935
  *
7920
7936
  * @remarks
7921
- * The cloud disk team list is synchronized from the Wuying client > User Management > Organization Structure. To use team spaces, shift users to a specified organization in the User Management interface. Users can then see the team space menu bar in the cloud disk client.
7937
+ * The cloud disk team list is obtained through synchronization from the Wuying client > User Management > organization structure. To use team spaces, shift users to a specified organization in the User Management interface. Users can then see the team space menu bar in the cloud disk client.
7922
7938
  *
7923
7939
  * @param request - DescribeCloudDiskGroupDrivesRequest
7924
7940
  * @returns DescribeCloudDiskGroupDrivesResponse
@@ -9230,6 +9246,10 @@ export default class Client extends OpenApi {
9230
9246
  query["RegionId"] = request.regionId;
9231
9247
  }
9232
9248
 
9249
+ if (!$dara.isNull(request.reservePoolId)) {
9250
+ query["ReservePoolId"] = request.reservePoolId;
9251
+ }
9252
+
9233
9253
  if (!$dara.isNull(request.resourceGroupId)) {
9234
9254
  query["ResourceGroupId"] = request.resourceGroupId;
9235
9255
  }
@@ -9877,10 +9897,10 @@ export default class Client extends OpenApi {
9877
9897
  }
9878
9898
 
9879
9899
  /**
9880
- * Queries the basic information of all recent cloud desktops and their corresponding usage duration records.
9900
+ * Queries the basic information about all recent cloud desktops and the corresponding usage duration records.
9881
9901
  *
9882
9902
  * @remarks
9883
- * - China site users should select Shanghai as the site. International site users should select Singapore.
9903
+ * - China site users must select Shanghai as the site. International site users must select Singapore.
9884
9904
  * - By default, both deleted and non-deleted cloud desktops are queried.
9885
9905
  * - Deleted cloud desktops can only be queried if they were deleted within the last three months.
9886
9906
  * - Sort conditions cannot be used together with other conditions.
@@ -9986,10 +10006,10 @@ export default class Client extends OpenApi {
9986
10006
  }
9987
10007
 
9988
10008
  /**
9989
- * Queries the basic information of all recent cloud desktops and their corresponding usage duration records.
10009
+ * Queries the basic information about all recent cloud desktops and the corresponding usage duration records.
9990
10010
  *
9991
10011
  * @remarks
9992
- * - China site users should select Shanghai as the site. International site users should select Singapore.
10012
+ * - China site users must select Shanghai as the site. International site users must select Singapore.
9993
10013
  * - By default, both deleted and non-deleted cloud desktops are queried.
9994
10014
  * - Deleted cloud desktops can only be queried if they were deleted within the last three months.
9995
10015
  * - Sort conditions cannot be used together with other conditions.
@@ -10426,7 +10446,7 @@ export default class Client extends OpenApi {
10426
10446
  * Queries the execution list and status of Cloud Assistant scripts.
10427
10447
  *
10428
10448
  * @remarks
10429
- * - After you run a command, it does not necessarily succeed or produce the expected results. Check the actual execution results based on the response values returned by this operation.
10449
+ * - After you run a command, the command is not guaranteed to succeed or produce the expected results. Check the actual execution results based on the response of this operation.
10430
10450
  * - You can query execution information from the last two weeks. A maximum of 100,000 execution records are retained.
10431
10451
  *
10432
10452
  * @param request - DescribeInvocationsRequest
@@ -10505,7 +10525,7 @@ export default class Client extends OpenApi {
10505
10525
  * Queries the execution list and status of Cloud Assistant scripts.
10506
10526
  *
10507
10527
  * @remarks
10508
- * - After you run a command, it does not necessarily succeed or produce the expected results. Check the actual execution results based on the response values returned by this operation.
10528
+ * - After you run a command, the command is not guaranteed to succeed or produce the expected results. Check the actual execution results based on the response of this operation.
10509
10529
  * - You can query execution information from the last two weeks. A maximum of 100,000 execution records are retained.
10510
10530
  *
10511
10531
  * @param request - DescribeInvocationsRequest
@@ -11796,6 +11816,10 @@ export default class Client extends OpenApi {
11796
11816
  async describeRecordFileWithOptions(request: $_model.DescribeRecordFileRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeRecordFileResponse> {
11797
11817
  request.validate();
11798
11818
  let query = { };
11819
+ if (!$dara.isNull(request.auditStatus)) {
11820
+ query["AuditStatus"] = request.auditStatus;
11821
+ }
11822
+
11799
11823
  if (!$dara.isNull(request.desktopId)) {
11800
11824
  query["DesktopId"] = request.desktopId;
11801
11825
  }
@@ -12059,7 +12083,7 @@ export default class Client extends OpenApi {
12059
12083
  }
12060
12084
 
12061
12085
  /**
12062
- * Queries the renewal price of a Wuying product.
12086
+ * Queries the renewal price of an Elastic Desktop Service product.
12063
12087
  *
12064
12088
  * @param request - DescribeRenewalPriceRequest
12065
12089
  * @param runtime - runtime options for this request RuntimeOptions
@@ -12118,7 +12142,7 @@ export default class Client extends OpenApi {
12118
12142
  }
12119
12143
 
12120
12144
  /**
12121
- * Queries the renewal price of a Wuying product.
12145
+ * Queries the renewal price of an Elastic Desktop Service product.
12122
12146
  *
12123
12147
  * @param request - DescribeRenewalPriceRequest
12124
12148
  * @returns DescribeRenewalPriceResponse
@@ -13157,11 +13181,11 @@ export default class Client extends OpenApi {
13157
13181
  }
13158
13182
 
13159
13183
  /**
13160
- * Retrieves cloud computer information for a vulnerability.
13184
+ * Retrieves cloud desktop information for a vulnerability.
13161
13185
  *
13162
13186
  * @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.
13187
+ * - This operation uses a centralized endpoint in the Shanghai region. Calls from other regions are not supported.
13188
+ * - The cloud desktop status information returned by this operation has a 1 to 3 second delay from the actual values.
13165
13189
  *
13166
13190
  * @param request - DescribeVulDesktopsRequest
13167
13191
  * @param runtime - runtime options for this request RuntimeOptions
@@ -13170,6 +13194,10 @@ export default class Client extends OpenApi {
13170
13194
  async describeVulDesktopsWithOptions(request: $_model.DescribeVulDesktopsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeVulDesktopsResponse> {
13171
13195
  request.validate();
13172
13196
  let query = { };
13197
+ if (!$dara.isNull(request.connectionStatus)) {
13198
+ query["ConnectionStatus"] = request.connectionStatus;
13199
+ }
13200
+
13173
13201
  if (!$dara.isNull(request.cveId)) {
13174
13202
  query["CveId"] = request.cveId;
13175
13203
  }
@@ -13178,6 +13206,10 @@ export default class Client extends OpenApi {
13178
13206
  query["DesktopIdList"] = request.desktopIdList;
13179
13207
  }
13180
13208
 
13209
+ if (!$dara.isNull(request.desktopStatus)) {
13210
+ query["DesktopStatus"] = request.desktopStatus;
13211
+ }
13212
+
13181
13213
  if (!$dara.isNull(request.includeFixResult)) {
13182
13214
  query["IncludeFixResult"] = request.includeFixResult;
13183
13215
  }
@@ -13248,11 +13280,11 @@ export default class Client extends OpenApi {
13248
13280
  }
13249
13281
 
13250
13282
  /**
13251
- * Retrieves cloud computer information for a vulnerability.
13283
+ * Retrieves cloud desktop information for a vulnerability.
13252
13284
  *
13253
13285
  * @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.
13286
+ * - This operation uses a centralized endpoint in the Shanghai region. Calls from other regions are not supported.
13287
+ * - The cloud desktop status information returned by this operation has a 1 to 3 second delay from the actual values.
13256
13288
  *
13257
13289
  * @param request - DescribeVulDesktopsRequest
13258
13290
  * @returns DescribeVulDesktopsResponse
@@ -14052,6 +14084,56 @@ export default class Client extends OpenApi {
14052
14084
  return await this.exportDesktopListInfoWithOptions(request, runtime);
14053
14085
  }
14054
14086
 
14087
+ /**
14088
+ * Queries desktop data statistics by different dimensions.
14089
+ *
14090
+ * @param request - GetAggregatedDesktopsRequest
14091
+ * @param runtime - runtime options for this request RuntimeOptions
14092
+ * @returns GetAggregatedDesktopsResponse
14093
+ */
14094
+ async getAggregatedDesktopsWithOptions(request: $_model.GetAggregatedDesktopsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetAggregatedDesktopsResponse> {
14095
+ request.validate();
14096
+ let query = { };
14097
+ if (!$dara.isNull(request.aggregationFactor)) {
14098
+ query["AggregationFactor"] = request.aggregationFactor;
14099
+ }
14100
+
14101
+ if (!$dara.isNull(request.regionId)) {
14102
+ query["RegionId"] = request.regionId;
14103
+ }
14104
+
14105
+ if (!$dara.isNull(request.searchRegionId)) {
14106
+ query["SearchRegionId"] = request.searchRegionId;
14107
+ }
14108
+
14109
+ let req = new $OpenApiUtil.OpenApiRequest({
14110
+ query: OpenApiUtil.query(query),
14111
+ });
14112
+ let params = new $OpenApiUtil.Params({
14113
+ action: "GetAggregatedDesktops",
14114
+ version: "2020-09-30",
14115
+ protocol: "HTTPS",
14116
+ pathname: "/",
14117
+ method: "POST",
14118
+ authType: "AK",
14119
+ style: "RPC",
14120
+ reqBodyType: "formData",
14121
+ bodyType: "json",
14122
+ });
14123
+ return $dara.cast<$_model.GetAggregatedDesktopsResponse>(await this.callApi(params, req, runtime), new $_model.GetAggregatedDesktopsResponse({}));
14124
+ }
14125
+
14126
+ /**
14127
+ * Queries desktop data statistics by different dimensions.
14128
+ *
14129
+ * @param request - GetAggregatedDesktopsRequest
14130
+ * @returns GetAggregatedDesktopsResponse
14131
+ */
14132
+ async getAggregatedDesktops(request: $_model.GetAggregatedDesktopsRequest): Promise<$_model.GetAggregatedDesktopsResponse> {
14133
+ let runtime = new $dara.RuntimeOptions({ });
14134
+ return await this.getAggregatedDesktopsWithOptions(request, runtime);
14135
+ }
14136
+
14055
14137
  /**
14056
14138
  * Retrieves the details of a folder copy asynchronous node based on the AsyncTaskId parameter returned by the CopyCdsFile operation.
14057
14139
  *
@@ -14102,7 +14184,7 @@ export default class Client extends OpenApi {
14102
14184
  * Retrieves the connection credential for a cloud computer.
14103
14185
  *
14104
14186
  * @remarks
14105
- * The cloud computer must be in the Running state. The ticket obtained by calling this operation expires in 10 minutes.
14187
+ * The cloud computer must be in the Running state. The ticket obtained by calling this operation expires after 10 minutes.
14106
14188
  *
14107
14189
  * @param request - GetConnectionTicketRequest
14108
14190
  * @param runtime - runtime options for this request RuntimeOptions
@@ -14111,6 +14193,10 @@ export default class Client extends OpenApi {
14111
14193
  async getConnectionTicketWithOptions(request: $_model.GetConnectionTicketRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetConnectionTicketResponse> {
14112
14194
  request.validate();
14113
14195
  let query = { };
14196
+ if (!$dara.isNull(request.clientType)) {
14197
+ query["ClientType"] = request.clientType;
14198
+ }
14199
+
14114
14200
  if (!$dara.isNull(request.commandContent)) {
14115
14201
  query["CommandContent"] = request.commandContent;
14116
14202
  }
@@ -14172,7 +14258,7 @@ export default class Client extends OpenApi {
14172
14258
  * Retrieves the connection credential for a cloud computer.
14173
14259
  *
14174
14260
  * @remarks
14175
- * The cloud computer must be in the Running state. The ticket obtained by calling this operation expires in 10 minutes.
14261
+ * The cloud computer must be in the Running state. The ticket obtained by calling this operation expires after 10 minutes.
14176
14262
  *
14177
14263
  * @param request - GetConnectionTicketRequest
14178
14264
  * @returns GetConnectionTicketResponse
@@ -18836,7 +18922,7 @@ export default class Client extends OpenApi {
18836
18922
  * Modifies all parameters of a custom cloud computer template.
18837
18923
  *
18838
18924
  * @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.
18925
+ * >Warning: To ensure compatibility with unset parameters and default upgrade logic in the template, this operation uses full parameter update logic. In other words, any parameter that is not specified is treated as being set to empty.
18840
18926
  *
18841
18927
  * @param request - ModifyTemplateRequest
18842
18928
  * @param runtime - runtime options for this request RuntimeOptions
@@ -18874,6 +18960,10 @@ export default class Client extends OpenApi {
18874
18960
  body["ImageId"] = request.imageId;
18875
18961
  }
18876
18962
 
18963
+ if (!$dara.isNull(request.instanceName)) {
18964
+ body["InstanceName"] = request.instanceName;
18965
+ }
18966
+
18877
18967
  if (!$dara.isNull(request.period)) {
18878
18968
  body["Period"] = request.period;
18879
18969
  }
@@ -18955,7 +19045,7 @@ export default class Client extends OpenApi {
18955
19045
  * Modifies all parameters of a custom cloud computer template.
18956
19046
  *
18957
19047
  * @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.
19048
+ * >Warning: To ensure compatibility with unset parameters and default upgrade logic in the template, this operation uses full parameter update logic. In other words, any parameter that is not specified is treated as being set to empty.
18959
19049
  *
18960
19050
  * @param request - ModifyTemplateRequest
18961
19051
  * @returns ModifyTemplateResponse
@@ -18966,10 +19056,10 @@ export default class Client extends OpenApi {
18966
19056
  }
18967
19057
 
18968
19058
  /**
18969
- * Modifies the basic information of a custom cloud computer template, including the template name and description.
19059
+ * Modifies the basic information of a custom cloud computer template, including the template name and template description.
18970
19060
  *
18971
19061
  * @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).
19062
+ * This operation is used only to modify the name and description of a custom cloud computer template. To modify the parameters of a custom cloud computer template, use [ModifyTemplate](https://help.aliyun.com/document_detail/2925841.html).
18973
19063
  *
18974
19064
  * @param request - ModifyTemplateBaseInfoRequest
18975
19065
  * @param runtime - runtime options for this request RuntimeOptions
@@ -18982,6 +19072,10 @@ export default class Client extends OpenApi {
18982
19072
  body["Description"] = request.description;
18983
19073
  }
18984
19074
 
19075
+ if (!$dara.isNull(request.instanceName)) {
19076
+ body["InstanceName"] = request.instanceName;
19077
+ }
19078
+
18985
19079
  if (!$dara.isNull(request.templateId)) {
18986
19080
  body["TemplateId"] = request.templateId;
18987
19081
  }
@@ -19008,10 +19102,10 @@ export default class Client extends OpenApi {
19008
19102
  }
19009
19103
 
19010
19104
  /**
19011
- * Modifies the basic information of a custom cloud computer template, including the template name and description.
19105
+ * Modifies the basic information of a custom cloud computer template, including the template name and template description.
19012
19106
  *
19013
19107
  * @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).
19108
+ * This operation is used only to modify the name and description of a custom cloud computer template. To modify the parameters of a custom cloud computer template, use [ModifyTemplate](https://help.aliyun.com/document_detail/2925841.html).
19015
19109
  *
19016
19110
  * @param request - ModifyTemplateBaseInfoRequest
19017
19111
  * @returns ModifyTemplateBaseInfoResponse
@@ -19453,6 +19547,84 @@ export default class Client extends OpenApi {
19453
19547
  return await this.queryActiveUserStatisticWithOptions(request, runtime);
19454
19548
  }
19455
19549
 
19550
+ /**
19551
+ * Queries the connection duration statistics of authorized users based on specified conditions. Statistics can be collected by daily cumulative duration or by individual session details.
19552
+ *
19553
+ * @param request - QueryAuthUserConnectDurationListRequest
19554
+ * @param runtime - runtime options for this request RuntimeOptions
19555
+ * @returns QueryAuthUserConnectDurationListResponse
19556
+ */
19557
+ async queryAuthUserConnectDurationListWithOptions(request: $_model.QueryAuthUserConnectDurationListRequest, runtime: $dara.RuntimeOptions): Promise<$_model.QueryAuthUserConnectDurationListResponse> {
19558
+ request.validate();
19559
+ let query = { };
19560
+ if (!$dara.isNull(request.comparisonOperator)) {
19561
+ query["ComparisonOperator"] = request.comparisonOperator;
19562
+ }
19563
+
19564
+ if (!$dara.isNull(request.dataDate)) {
19565
+ query["DataDate"] = request.dataDate;
19566
+ }
19567
+
19568
+ if (!$dara.isNull(request.isAdUser)) {
19569
+ query["IsAdUser"] = request.isAdUser;
19570
+ }
19571
+
19572
+ if (!$dara.isNull(request.nextToken)) {
19573
+ query["NextToken"] = request.nextToken;
19574
+ }
19575
+
19576
+ if (!$dara.isNull(request.pageNum)) {
19577
+ query["PageNum"] = request.pageNum;
19578
+ }
19579
+
19580
+ if (!$dara.isNull(request.pageSize)) {
19581
+ query["PageSize"] = request.pageSize;
19582
+ }
19583
+
19584
+ if (!$dara.isNull(request.statisticType)) {
19585
+ query["StatisticType"] = request.statisticType;
19586
+ }
19587
+
19588
+ if (!$dara.isNull(request.threshold)) {
19589
+ query["Threshold"] = request.threshold;
19590
+ }
19591
+
19592
+ if (!$dara.isNull(request.userName)) {
19593
+ query["UserName"] = request.userName;
19594
+ }
19595
+
19596
+ if (!$dara.isNull(request.withDetail)) {
19597
+ query["WithDetail"] = request.withDetail;
19598
+ }
19599
+
19600
+ let req = new $OpenApiUtil.OpenApiRequest({
19601
+ query: OpenApiUtil.query(query),
19602
+ });
19603
+ let params = new $OpenApiUtil.Params({
19604
+ action: "QueryAuthUserConnectDurationList",
19605
+ version: "2020-09-30",
19606
+ protocol: "HTTPS",
19607
+ pathname: "/",
19608
+ method: "POST",
19609
+ authType: "AK",
19610
+ style: "RPC",
19611
+ reqBodyType: "formData",
19612
+ bodyType: "json",
19613
+ });
19614
+ return $dara.cast<$_model.QueryAuthUserConnectDurationListResponse>(await this.callApi(params, req, runtime), new $_model.QueryAuthUserConnectDurationListResponse({}));
19615
+ }
19616
+
19617
+ /**
19618
+ * Queries the connection duration statistics of authorized users based on specified conditions. Statistics can be collected by daily cumulative duration or by individual session details.
19619
+ *
19620
+ * @param request - QueryAuthUserConnectDurationListRequest
19621
+ * @returns QueryAuthUserConnectDurationListResponse
19622
+ */
19623
+ async queryAuthUserConnectDurationList(request: $_model.QueryAuthUserConnectDurationListRequest): Promise<$_model.QueryAuthUserConnectDurationListResponse> {
19624
+ let runtime = new $dara.RuntimeOptions({ });
19625
+ return await this.queryAuthUserConnectDurationListWithOptions(request, runtime);
19626
+ }
19627
+
19456
19628
  /**
19457
19629
  * Queries the usage duration ranking and details of each end user under a tenant within a specified date range. Aggregates offline statistical data, summarizes connection duration by user dimension, and populates basic information and per-desktop usage duration details for users on the current page.
19458
19630
  *