@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/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
@@ -6211,7 +6223,7 @@ class Client extends openapi_core_1.default {
6211
6223
  * Deletes a custom cloud computer template.
6212
6224
  *
6213
6225
  * @remarks
6214
- * After the template is deleted, cloud computers that were created based on the template are not affected, and resources associated with the template are not affected.
6226
+ * After a template is deleted, cloud computers that were created based on the template are not affected, and resources associated with the template are not affected.
6215
6227
  *
6216
6228
  * @param request - DeleteTemplatesRequest
6217
6229
  * @param runtime - runtime options for this request RuntimeOptions
@@ -6246,7 +6258,7 @@ class Client extends openapi_core_1.default {
6246
6258
  * Deletes a custom cloud computer template.
6247
6259
  *
6248
6260
  * @remarks
6249
- * After the template is deleted, cloud computers that were created based on the template are not affected, and resources associated with the template are not affected.
6261
+ * After a template is deleted, cloud computers that were created based on the template are not affected, and resources associated with the template are not affected.
6250
6262
  *
6251
6263
  * @param request - DeleteTemplatesRequest
6252
6264
  * @returns DeleteTemplatesResponse
@@ -6811,7 +6823,7 @@ class Client extends openapi_core_1.default {
6811
6823
  * Queries the list of cloud disk team spaces.
6812
6824
  *
6813
6825
  * @remarks
6814
- * The cloud disk team list is synchronized from the Wuying client > User Management > Organization Structure. To use team spaces, shift users to a specified organization in the User Management interface. Users can then see the team space menu bar in the cloud disk client.
6826
+ * The cloud disk team list is obtained through synchronization from the Wuying client > User Management > organization structure. To use team spaces, shift users to a specified organization in the User Management interface. Users can then see the team space menu bar in the cloud disk client.
6815
6827
  *
6816
6828
  * @param request - DescribeCloudDiskGroupDrivesRequest
6817
6829
  * @param runtime - runtime options for this request RuntimeOptions
@@ -6855,7 +6867,7 @@ class Client extends openapi_core_1.default {
6855
6867
  * Queries the list of cloud disk team spaces.
6856
6868
  *
6857
6869
  * @remarks
6858
- * The cloud disk team list is synchronized from the Wuying client > User Management > Organization Structure. To use team spaces, shift users to a specified organization in the User Management interface. Users can then see the team space menu bar in the cloud disk client.
6870
+ * The cloud disk team list is obtained through synchronization from the Wuying client > User Management > organization structure. To use team spaces, shift users to a specified organization in the User Management interface. Users can then see the team space menu bar in the cloud disk client.
6859
6871
  *
6860
6872
  * @param request - DescribeCloudDiskGroupDrivesRequest
6861
6873
  * @returns DescribeCloudDiskGroupDrivesResponse
@@ -7960,6 +7972,9 @@ class Client extends openapi_core_1.default {
7960
7972
  if (!$dara.isNull(request.regionId)) {
7961
7973
  query["RegionId"] = request.regionId;
7962
7974
  }
7975
+ if (!$dara.isNull(request.reservePoolId)) {
7976
+ query["ReservePoolId"] = request.reservePoolId;
7977
+ }
7963
7978
  if (!$dara.isNull(request.resourceGroupId)) {
7964
7979
  query["ResourceGroupId"] = request.resourceGroupId;
7965
7980
  }
@@ -8518,10 +8533,10 @@ class Client extends openapi_core_1.default {
8518
8533
  return await this.describeFotaTasksWithOptions(request, runtime);
8519
8534
  }
8520
8535
  /**
8521
- * Queries the basic information of all recent cloud desktops and their corresponding usage duration records.
8536
+ * Queries the basic information about all recent cloud desktops and the corresponding usage duration records.
8522
8537
  *
8523
8538
  * @remarks
8524
- * - China site users should select Shanghai as the site. International site users should select Singapore.
8539
+ * - China site users must select Shanghai as the site. International site users must select Singapore.
8525
8540
  * - By default, both deleted and non-deleted cloud desktops are queried.
8526
8541
  * - Deleted cloud desktops can only be queried if they were deleted within the last three months.
8527
8542
  * - Sort conditions cannot be used together with other conditions.
@@ -8607,10 +8622,10 @@ class Client extends openapi_core_1.default {
8607
8622
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeGlobalDesktopRecordsResponse({}));
8608
8623
  }
8609
8624
  /**
8610
- * Queries the basic information of all recent cloud desktops and their corresponding usage duration records.
8625
+ * Queries the basic information about all recent cloud desktops and the corresponding usage duration records.
8611
8626
  *
8612
8627
  * @remarks
8613
- * - China site users should select Shanghai as the site. International site users should select Singapore.
8628
+ * - China site users must select Shanghai as the site. International site users must select Singapore.
8614
8629
  * - By default, both deleted and non-deleted cloud desktops are queried.
8615
8630
  * - Deleted cloud desktops can only be queried if they were deleted within the last three months.
8616
8631
  * - Sort conditions cannot be used together with other conditions.
@@ -8989,7 +9004,7 @@ class Client extends openapi_core_1.default {
8989
9004
  * Queries the execution list and status of Cloud Assistant scripts.
8990
9005
  *
8991
9006
  * @remarks
8992
- * - After you run a command, it does not necessarily succeed or produce the expected results. Check the actual execution results based on the response values returned by this operation.
9007
+ * - After you run a command, the command is not guaranteed to succeed or produce the expected results. Check the actual execution results based on the response of this operation.
8993
9008
  * - You can query execution information from the last two weeks. A maximum of 100,000 execution records are retained.
8994
9009
  *
8995
9010
  * @param request - DescribeInvocationsRequest
@@ -9055,7 +9070,7 @@ class Client extends openapi_core_1.default {
9055
9070
  * Queries the execution list and status of Cloud Assistant scripts.
9056
9071
  *
9057
9072
  * @remarks
9058
- * - After you run a command, it does not necessarily succeed or produce the expected results. Check the actual execution results based on the response values returned by this operation.
9073
+ * - After you run a command, the command is not guaranteed to succeed or produce the expected results. Check the actual execution results based on the response of this operation.
9059
9074
  * - You can query execution information from the last two weeks. A maximum of 100,000 execution records are retained.
9060
9075
  *
9061
9076
  * @param request - DescribeInvocationsRequest
@@ -10195,6 +10210,9 @@ class Client extends openapi_core_1.default {
10195
10210
  async describeRecordFileWithOptions(request, runtime) {
10196
10211
  request.validate();
10197
10212
  let query = {};
10213
+ if (!$dara.isNull(request.auditStatus)) {
10214
+ query["AuditStatus"] = request.auditStatus;
10215
+ }
10198
10216
  if (!$dara.isNull(request.desktopId)) {
10199
10217
  query["DesktopId"] = request.desktopId;
10200
10218
  }
@@ -10420,7 +10438,7 @@ class Client extends openapi_core_1.default {
10420
10438
  return await this.describeRegionsWithOptions(request, runtime);
10421
10439
  }
10422
10440
  /**
10423
- * Queries the renewal price of a Wuying product.
10441
+ * Queries the renewal price of an Elastic Desktop Service product.
10424
10442
  *
10425
10443
  * @param request - DescribeRenewalPriceRequest
10426
10444
  * @param runtime - runtime options for this request RuntimeOptions
@@ -10470,7 +10488,7 @@ class Client extends openapi_core_1.default {
10470
10488
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeRenewalPriceResponse({}));
10471
10489
  }
10472
10490
  /**
10473
- * Queries the renewal price of a Wuying product.
10491
+ * Queries the renewal price of an Elastic Desktop Service product.
10474
10492
  *
10475
10493
  * @param request - DescribeRenewalPriceRequest
10476
10494
  * @returns DescribeRenewalPriceResponse
@@ -11372,11 +11390,11 @@ class Client extends openapi_core_1.default {
11372
11390
  return await this.describeVirtualMFADevicesWithOptions(request, runtime);
11373
11391
  }
11374
11392
  /**
11375
- * Retrieves cloud computer information for a vulnerability.
11393
+ * Retrieves cloud desktop information for a vulnerability.
11376
11394
  *
11377
11395
  * @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.
11396
+ * - This operation uses a centralized endpoint in the Shanghai region. Calls from other regions are not supported.
11397
+ * - The cloud desktop status information returned by this operation has a 1 to 3 second delay from the actual values.
11380
11398
  *
11381
11399
  * @param request - DescribeVulDesktopsRequest
11382
11400
  * @param runtime - runtime options for this request RuntimeOptions
@@ -11385,12 +11403,18 @@ class Client extends openapi_core_1.default {
11385
11403
  async describeVulDesktopsWithOptions(request, runtime) {
11386
11404
  request.validate();
11387
11405
  let query = {};
11406
+ if (!$dara.isNull(request.connectionStatus)) {
11407
+ query["ConnectionStatus"] = request.connectionStatus;
11408
+ }
11388
11409
  if (!$dara.isNull(request.cveId)) {
11389
11410
  query["CveId"] = request.cveId;
11390
11411
  }
11391
11412
  if (!$dara.isNull(request.desktopIdList)) {
11392
11413
  query["DesktopIdList"] = request.desktopIdList;
11393
11414
  }
11415
+ if (!$dara.isNull(request.desktopStatus)) {
11416
+ query["DesktopStatus"] = request.desktopStatus;
11417
+ }
11394
11418
  if (!$dara.isNull(request.includeFixResult)) {
11395
11419
  query["IncludeFixResult"] = request.includeFixResult;
11396
11420
  }
@@ -11447,11 +11471,11 @@ class Client extends openapi_core_1.default {
11447
11471
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeVulDesktopsResponse({}));
11448
11472
  }
11449
11473
  /**
11450
- * Retrieves cloud computer information for a vulnerability.
11474
+ * Retrieves cloud desktop information for a vulnerability.
11451
11475
  *
11452
11476
  * @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.
11477
+ * - This operation uses a centralized endpoint in the Shanghai region. Calls from other regions are not supported.
11478
+ * - The cloud desktop status information returned by this operation has a 1 to 3 second delay from the actual values.
11455
11479
  *
11456
11480
  * @param request - DescribeVulDesktopsRequest
11457
11481
  * @returns DescribeVulDesktopsResponse
@@ -12153,6 +12177,51 @@ class Client extends openapi_core_1.default {
12153
12177
  let runtime = new $dara.RuntimeOptions({});
12154
12178
  return await this.exportDesktopListInfoWithOptions(request, runtime);
12155
12179
  }
12180
+ /**
12181
+ * Queries desktop data statistics by different dimensions.
12182
+ *
12183
+ * @param request - GetAggregatedDesktopsRequest
12184
+ * @param runtime - runtime options for this request RuntimeOptions
12185
+ * @returns GetAggregatedDesktopsResponse
12186
+ */
12187
+ async getAggregatedDesktopsWithOptions(request, runtime) {
12188
+ request.validate();
12189
+ let query = {};
12190
+ if (!$dara.isNull(request.aggregationFactor)) {
12191
+ query["AggregationFactor"] = request.aggregationFactor;
12192
+ }
12193
+ if (!$dara.isNull(request.regionId)) {
12194
+ query["RegionId"] = request.regionId;
12195
+ }
12196
+ if (!$dara.isNull(request.searchRegionId)) {
12197
+ query["SearchRegionId"] = request.searchRegionId;
12198
+ }
12199
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
12200
+ query: openapi_core_2.OpenApiUtil.query(query),
12201
+ });
12202
+ let params = new openapi_core_2.$OpenApiUtil.Params({
12203
+ action: "GetAggregatedDesktops",
12204
+ version: "2020-09-30",
12205
+ protocol: "HTTPS",
12206
+ pathname: "/",
12207
+ method: "POST",
12208
+ authType: "AK",
12209
+ style: "RPC",
12210
+ reqBodyType: "formData",
12211
+ bodyType: "json",
12212
+ });
12213
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetAggregatedDesktopsResponse({}));
12214
+ }
12215
+ /**
12216
+ * Queries desktop data statistics by different dimensions.
12217
+ *
12218
+ * @param request - GetAggregatedDesktopsRequest
12219
+ * @returns GetAggregatedDesktopsResponse
12220
+ */
12221
+ async getAggregatedDesktops(request) {
12222
+ let runtime = new $dara.RuntimeOptions({});
12223
+ return await this.getAggregatedDesktopsWithOptions(request, runtime);
12224
+ }
12156
12225
  /**
12157
12226
  * Retrieves the details of a folder copy asynchronous node based on the AsyncTaskId parameter returned by the CopyCdsFile operation.
12158
12227
  *
@@ -12199,7 +12268,7 @@ class Client extends openapi_core_1.default {
12199
12268
  * Retrieves the connection credential for a cloud computer.
12200
12269
  *
12201
12270
  * @remarks
12202
- * The cloud computer must be in the Running state. The ticket obtained by calling this operation expires in 10 minutes.
12271
+ * The cloud computer must be in the Running state. The ticket obtained by calling this operation expires after 10 minutes.
12203
12272
  *
12204
12273
  * @param request - GetConnectionTicketRequest
12205
12274
  * @param runtime - runtime options for this request RuntimeOptions
@@ -12208,6 +12277,9 @@ class Client extends openapi_core_1.default {
12208
12277
  async getConnectionTicketWithOptions(request, runtime) {
12209
12278
  request.validate();
12210
12279
  let query = {};
12280
+ if (!$dara.isNull(request.clientType)) {
12281
+ query["ClientType"] = request.clientType;
12282
+ }
12211
12283
  if (!$dara.isNull(request.commandContent)) {
12212
12284
  query["CommandContent"] = request.commandContent;
12213
12285
  }
@@ -12258,7 +12330,7 @@ class Client extends openapi_core_1.default {
12258
12330
  * Retrieves the connection credential for a cloud computer.
12259
12331
  *
12260
12332
  * @remarks
12261
- * The cloud computer must be in the Running state. The ticket obtained by calling this operation expires in 10 minutes.
12333
+ * The cloud computer must be in the Running state. The ticket obtained by calling this operation expires after 10 minutes.
12262
12334
  *
12263
12335
  * @param request - GetConnectionTicketRequest
12264
12336
  * @returns GetConnectionTicketResponse
@@ -16252,7 +16324,7 @@ class Client extends openapi_core_1.default {
16252
16324
  * Modifies all parameters of a custom cloud computer template.
16253
16325
  *
16254
16326
  * @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.
16327
+ * >Warning: To ensure compatibility with unset parameters and default upgrade logic in the template, this operation uses full parameter update logic. In other words, any parameter that is not specified is treated as being set to empty.
16256
16328
  *
16257
16329
  * @param request - ModifyTemplateRequest
16258
16330
  * @param runtime - runtime options for this request RuntimeOptions
@@ -16283,6 +16355,9 @@ class Client extends openapi_core_1.default {
16283
16355
  if (!$dara.isNull(request.imageId)) {
16284
16356
  body["ImageId"] = request.imageId;
16285
16357
  }
16358
+ if (!$dara.isNull(request.instanceName)) {
16359
+ body["InstanceName"] = request.instanceName;
16360
+ }
16286
16361
  if (!$dara.isNull(request.period)) {
16287
16362
  body["Period"] = request.period;
16288
16363
  }
@@ -16346,7 +16421,7 @@ class Client extends openapi_core_1.default {
16346
16421
  * Modifies all parameters of a custom cloud computer template.
16347
16422
  *
16348
16423
  * @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.
16424
+ * >Warning: To ensure compatibility with unset parameters and default upgrade logic in the template, this operation uses full parameter update logic. In other words, any parameter that is not specified is treated as being set to empty.
16350
16425
  *
16351
16426
  * @param request - ModifyTemplateRequest
16352
16427
  * @returns ModifyTemplateResponse
@@ -16356,10 +16431,10 @@ class Client extends openapi_core_1.default {
16356
16431
  return await this.modifyTemplateWithOptions(request, runtime);
16357
16432
  }
16358
16433
  /**
16359
- * Modifies the basic information of a custom cloud computer template, including the template name and description.
16434
+ * Modifies the basic information of a custom cloud computer template, including the template name and template description.
16360
16435
  *
16361
16436
  * @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).
16437
+ * This operation is used only to modify the name and description of a custom cloud computer template. To modify the parameters of a custom cloud computer template, use [ModifyTemplate](https://help.aliyun.com/document_detail/2925841.html).
16363
16438
  *
16364
16439
  * @param request - ModifyTemplateBaseInfoRequest
16365
16440
  * @param runtime - runtime options for this request RuntimeOptions
@@ -16371,6 +16446,9 @@ class Client extends openapi_core_1.default {
16371
16446
  if (!$dara.isNull(request.description)) {
16372
16447
  body["Description"] = request.description;
16373
16448
  }
16449
+ if (!$dara.isNull(request.instanceName)) {
16450
+ body["InstanceName"] = request.instanceName;
16451
+ }
16374
16452
  if (!$dara.isNull(request.templateId)) {
16375
16453
  body["TemplateId"] = request.templateId;
16376
16454
  }
@@ -16394,10 +16472,10 @@ class Client extends openapi_core_1.default {
16394
16472
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.ModifyTemplateBaseInfoResponse({}));
16395
16473
  }
16396
16474
  /**
16397
- * Modifies the basic information of a custom cloud computer template, including the template name and description.
16475
+ * Modifies the basic information of a custom cloud computer template, including the template name and template description.
16398
16476
  *
16399
16477
  * @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).
16478
+ * This operation is used only to modify the name and description of a custom cloud computer template. To modify the parameters of a custom cloud computer template, use [ModifyTemplate](https://help.aliyun.com/document_detail/2925841.html).
16401
16479
  *
16402
16480
  * @param request - ModifyTemplateBaseInfoRequest
16403
16481
  * @returns ModifyTemplateBaseInfoResponse
@@ -16787,6 +16865,72 @@ class Client extends openapi_core_1.default {
16787
16865
  let runtime = new $dara.RuntimeOptions({});
16788
16866
  return await this.queryActiveUserStatisticWithOptions(request, runtime);
16789
16867
  }
16868
+ /**
16869
+ * Queries the connection duration statistics of authorized users based on specified conditions. Statistics can be collected by daily cumulative duration or by individual session details.
16870
+ *
16871
+ * @param request - QueryAuthUserConnectDurationListRequest
16872
+ * @param runtime - runtime options for this request RuntimeOptions
16873
+ * @returns QueryAuthUserConnectDurationListResponse
16874
+ */
16875
+ async queryAuthUserConnectDurationListWithOptions(request, runtime) {
16876
+ request.validate();
16877
+ let query = {};
16878
+ if (!$dara.isNull(request.comparisonOperator)) {
16879
+ query["ComparisonOperator"] = request.comparisonOperator;
16880
+ }
16881
+ if (!$dara.isNull(request.dataDate)) {
16882
+ query["DataDate"] = request.dataDate;
16883
+ }
16884
+ if (!$dara.isNull(request.isAdUser)) {
16885
+ query["IsAdUser"] = request.isAdUser;
16886
+ }
16887
+ if (!$dara.isNull(request.nextToken)) {
16888
+ query["NextToken"] = request.nextToken;
16889
+ }
16890
+ if (!$dara.isNull(request.pageNum)) {
16891
+ query["PageNum"] = request.pageNum;
16892
+ }
16893
+ if (!$dara.isNull(request.pageSize)) {
16894
+ query["PageSize"] = request.pageSize;
16895
+ }
16896
+ if (!$dara.isNull(request.statisticType)) {
16897
+ query["StatisticType"] = request.statisticType;
16898
+ }
16899
+ if (!$dara.isNull(request.threshold)) {
16900
+ query["Threshold"] = request.threshold;
16901
+ }
16902
+ if (!$dara.isNull(request.userName)) {
16903
+ query["UserName"] = request.userName;
16904
+ }
16905
+ if (!$dara.isNull(request.withDetail)) {
16906
+ query["WithDetail"] = request.withDetail;
16907
+ }
16908
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
16909
+ query: openapi_core_2.OpenApiUtil.query(query),
16910
+ });
16911
+ let params = new openapi_core_2.$OpenApiUtil.Params({
16912
+ action: "QueryAuthUserConnectDurationList",
16913
+ version: "2020-09-30",
16914
+ protocol: "HTTPS",
16915
+ pathname: "/",
16916
+ method: "POST",
16917
+ authType: "AK",
16918
+ style: "RPC",
16919
+ reqBodyType: "formData",
16920
+ bodyType: "json",
16921
+ });
16922
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.QueryAuthUserConnectDurationListResponse({}));
16923
+ }
16924
+ /**
16925
+ * Queries the connection duration statistics of authorized users based on specified conditions. Statistics can be collected by daily cumulative duration or by individual session details.
16926
+ *
16927
+ * @param request - QueryAuthUserConnectDurationListRequest
16928
+ * @returns QueryAuthUserConnectDurationListResponse
16929
+ */
16930
+ async queryAuthUserConnectDurationList(request) {
16931
+ let runtime = new $dara.RuntimeOptions({});
16932
+ return await this.queryAuthUserConnectDurationListWithOptions(request, runtime);
16933
+ }
16790
16934
  /**
16791
16935
  * Queries the usage duration ranking and details of each end user under a tenant within a specified date range. Aggregates offline statistical data, summarizes connection duration by user dimension, and populates basic information and per-desktop usage duration details for users on the current page.
16792
16936
  *