@alicloud/ecd20200930 5.7.0 → 5.8.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 (84) hide show
  1. package/dist/client.d.ts +67 -16
  2. package/dist/client.js +187 -16
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CreateDesktopGroupRequest.d.ts +34 -34
  5. package/dist/models/CreateDriveRequest.d.ts +8 -0
  6. package/dist/models/CreateDriveRequest.js +5 -0
  7. package/dist/models/CreateDriveRequest.js.map +1 -1
  8. package/dist/models/CreateDriveResponseBody.d.ts +1 -1
  9. package/dist/models/DeleteCloudDriveServicesRequest.d.ts +1 -1
  10. package/dist/models/DeleteDriveRequest.d.ts +24 -0
  11. package/dist/models/DeleteDriveRequest.js +6 -0
  12. package/dist/models/DeleteDriveRequest.js.map +1 -1
  13. package/dist/models/DescribeDesktopIdsByVulNamesRequest.d.ts +64 -0
  14. package/dist/models/DescribeDesktopIdsByVulNamesRequest.js +69 -0
  15. package/dist/models/DescribeDesktopIdsByVulNamesRequest.js.map +1 -0
  16. package/dist/models/DescribeDesktopIdsByVulNamesResponse.d.ts +19 -0
  17. package/dist/models/DescribeDesktopIdsByVulNamesResponse.js +69 -0
  18. package/dist/models/DescribeDesktopIdsByVulNamesResponse.js.map +1 -0
  19. package/dist/models/DescribeDesktopIdsByVulNamesResponseBody.d.ts +54 -0
  20. package/dist/models/DescribeDesktopIdsByVulNamesResponseBody.js +84 -0
  21. package/dist/models/DescribeDesktopIdsByVulNamesResponseBody.js.map +1 -0
  22. package/dist/models/DescribeNasfileSystemsRequest.d.ts +5 -9
  23. package/dist/models/DescribeNasfileSystemsRequest.js.map +1 -1
  24. package/dist/models/DescribeNasfileSystemsResponseBody.d.ts +21 -23
  25. package/dist/models/DescribeNasfileSystemsResponseBody.js.map +1 -1
  26. package/dist/models/DescribeOfficeSitesRequest.d.ts +8 -11
  27. package/dist/models/DescribeOfficeSitesRequest.js.map +1 -1
  28. package/dist/models/DescribeOfficeSitesResponseBody.d.ts +69 -54
  29. package/dist/models/DescribeOfficeSitesResponseBody.js +4 -0
  30. package/dist/models/DescribeOfficeSitesResponseBody.js.map +1 -1
  31. package/dist/models/DescribeResourceStatisticByRegionRequest.d.ts +28 -0
  32. package/dist/models/DescribeResourceStatisticByRegionRequest.js +62 -0
  33. package/dist/models/DescribeResourceStatisticByRegionRequest.js.map +1 -0
  34. package/dist/models/DescribeResourceStatisticByRegionResponse.d.ts +19 -0
  35. package/dist/models/DescribeResourceStatisticByRegionResponse.js +69 -0
  36. package/dist/models/DescribeResourceStatisticByRegionResponse.js.map +1 -0
  37. package/dist/models/DescribeResourceStatisticByRegionResponseBody.d.ts +79 -0
  38. package/dist/models/DescribeResourceStatisticByRegionResponseBody.js +116 -0
  39. package/dist/models/DescribeResourceStatisticByRegionResponseBody.js.map +1 -0
  40. package/dist/models/DescribeSnapshotsResponseBody.d.ts +8 -0
  41. package/dist/models/DescribeSnapshotsResponseBody.js.map +1 -1
  42. package/dist/models/ImportDriveRequest.d.ts +69 -0
  43. package/dist/models/ImportDriveRequest.js +68 -0
  44. package/dist/models/ImportDriveRequest.js.map +1 -0
  45. package/dist/models/ImportDriveResponse.d.ts +19 -0
  46. package/dist/models/ImportDriveResponse.js +69 -0
  47. package/dist/models/ImportDriveResponse.js.map +1 -0
  48. package/dist/models/ImportDriveResponseBody.d.ts +55 -0
  49. package/dist/models/ImportDriveResponseBody.js +66 -0
  50. package/dist/models/ImportDriveResponseBody.js.map +1 -0
  51. package/dist/models/ModifyDesktopGroupRequest.d.ts +38 -38
  52. package/dist/models/ModifyOfficeSiteAttributeRequest.d.ts +20 -12
  53. package/dist/models/ModifyOfficeSiteAttributeRequest.js +2 -0
  54. package/dist/models/ModifyOfficeSiteAttributeRequest.js.map +1 -1
  55. package/dist/models/UntagResourcesRequest.d.ts +3 -9
  56. package/dist/models/UntagResourcesRequest.js.map +1 -1
  57. package/dist/models/model.d.ts +12 -0
  58. package/dist/models/model.js +49 -25
  59. package/dist/models/model.js.map +1 -1
  60. package/package.json +1 -1
  61. package/src/client.ts +212 -16
  62. package/src/models/CreateDesktopGroupRequest.ts +34 -34
  63. package/src/models/CreateDriveRequest.ts +13 -0
  64. package/src/models/CreateDriveResponseBody.ts +1 -1
  65. package/src/models/DeleteCloudDriveServicesRequest.ts +1 -1
  66. package/src/models/DeleteDriveRequest.ts +30 -0
  67. package/src/models/DescribeDesktopIdsByVulNamesRequest.ts +88 -0
  68. package/src/models/DescribeDesktopIdsByVulNamesResponse.ts +40 -0
  69. package/src/models/DescribeDesktopIdsByVulNamesResponseBody.ts +84 -0
  70. package/src/models/DescribeNasfileSystemsRequest.ts +6 -10
  71. package/src/models/DescribeNasfileSystemsResponseBody.ts +21 -23
  72. package/src/models/DescribeOfficeSitesRequest.ts +8 -11
  73. package/src/models/DescribeOfficeSitesResponseBody.ts +73 -54
  74. package/src/models/DescribeResourceStatisticByRegionRequest.ts +45 -0
  75. package/src/models/DescribeResourceStatisticByRegionResponse.ts +40 -0
  76. package/src/models/DescribeResourceStatisticByRegionResponseBody.ts +132 -0
  77. package/src/models/DescribeSnapshotsResponseBody.ts +8 -0
  78. package/src/models/ImportDriveRequest.ts +92 -0
  79. package/src/models/ImportDriveResponse.ts +40 -0
  80. package/src/models/ImportDriveResponseBody.ts +76 -0
  81. package/src/models/ModifyDesktopGroupRequest.ts +38 -38
  82. package/src/models/ModifyOfficeSiteAttributeRequest.ts +22 -12
  83. package/src/models/UntagResourcesRequest.ts +3 -9
  84. package/src/models/model.ts +12 -0
package/dist/client.d.ts CHANGED
@@ -738,8 +738,8 @@ export default class Client extends OpenApi {
738
738
  * Creates a shared cloud desktop.
739
739
  *
740
740
  * @remarks
741
- * - For information about the features, common scenarios, limits, and scaling policy of shared cloud desktops, see [Overview of shared cloud desktops (formerly cloud desktop pools)](https://help.aliyun.com/document_detail/290959.html).
742
- * - Before you invoke this operation, make sure that required prerequisite resources such as office networks, cloud desktop templates, and policies are created.
741
+ * - For information about the features, Common scenarios, limits, and scaling policy of shared cloud desktops, see [Overview of shared cloud desktops (formerly cloud desktop pools)](https://help.aliyun.com/document_detail/290959.html).
742
+ * - Before you invoke this operation, make sure that required prerequisite resources such as office networks, cloud desktop templates, and policy are created.
743
743
  *
744
744
  * @param request - CreateDesktopGroupRequest
745
745
  * @param runtime - runtime options for this request RuntimeOptions
@@ -750,8 +750,8 @@ export default class Client extends OpenApi {
750
750
  * Creates a shared cloud desktop.
751
751
  *
752
752
  * @remarks
753
- * - For information about the features, common scenarios, limits, and scaling policy of shared cloud desktops, see [Overview of shared cloud desktops (formerly cloud desktop pools)](https://help.aliyun.com/document_detail/290959.html).
754
- * - Before you invoke this operation, make sure that required prerequisite resources such as office networks, cloud desktop templates, and policies are created.
753
+ * - For information about the features, Common scenarios, limits, and scaling policy of shared cloud desktops, see [Overview of shared cloud desktops (formerly cloud desktop pools)](https://help.aliyun.com/document_detail/290959.html).
754
+ * - Before you invoke this operation, make sure that required prerequisite resources such as office networks, cloud desktop templates, and policy are created.
755
755
  *
756
756
  * @param request - CreateDesktopGroupRequest
757
757
  * @returns CreateDesktopGroupResponse
@@ -1530,7 +1530,7 @@ export default class Client extends OpenApi {
1530
1530
  */
1531
1531
  deleteDirectories(request: $_model.DeleteDirectoriesRequest): Promise<$_model.DeleteDirectoriesResponse>;
1532
1532
  /**
1533
- * Deletes a drive.
1533
+ * Deletes a cloud drive.
1534
1534
  *
1535
1535
  * @param request - DeleteDriveRequest
1536
1536
  * @param runtime - runtime options for this request RuntimeOptions
@@ -1538,7 +1538,7 @@ export default class Client extends OpenApi {
1538
1538
  */
1539
1539
  deleteDriveWithOptions(request: $_model.DeleteDriveRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteDriveResponse>;
1540
1540
  /**
1541
- * Deletes a drive.
1541
+ * Deletes a cloud drive.
1542
1542
  *
1543
1543
  * @param request - DeleteDriveRequest
1544
1544
  * @returns DeleteDriveResponse
@@ -2155,6 +2155,21 @@ export default class Client extends OpenApi {
2155
2155
  * @returns DescribeDesktopGroupsResponse
2156
2156
  */
2157
2157
  describeDesktopGroups(request: $_model.DescribeDesktopGroupsRequest): Promise<$_model.DescribeDesktopGroupsResponse>;
2158
+ /**
2159
+ * Queries a list of cloud desktops with detected vulnerabilities.
2160
+ *
2161
+ * @param request - DescribeDesktopIdsByVulNamesRequest
2162
+ * @param runtime - runtime options for this request RuntimeOptions
2163
+ * @returns DescribeDesktopIdsByVulNamesResponse
2164
+ */
2165
+ describeDesktopIdsByVulNamesWithOptions(request: $_model.DescribeDesktopIdsByVulNamesRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeDesktopIdsByVulNamesResponse>;
2166
+ /**
2167
+ * Queries a list of cloud desktops with detected vulnerabilities.
2168
+ *
2169
+ * @param request - DescribeDesktopIdsByVulNamesRequest
2170
+ * @returns DescribeDesktopIdsByVulNamesResponse
2171
+ */
2172
+ describeDesktopIdsByVulNames(request: $_model.DescribeDesktopIdsByVulNamesRequest): Promise<$_model.DescribeDesktopIdsByVulNamesResponse>;
2158
2173
  /**
2159
2174
  * Queries the basic information of cloud computers.
2160
2175
  *
@@ -2692,7 +2707,7 @@ export default class Client extends OpenApi {
2692
2707
  */
2693
2708
  describeOfficeSiteBridgeInfo(request: $_model.DescribeOfficeSiteBridgeInfoRequest): Promise<$_model.DescribeOfficeSiteBridgeInfoResponse>;
2694
2709
  /**
2695
- * Queries all attributes of an office network, including the ID, name, status, and creation time.
2710
+ * Queries all properties of an office network, including the ID, name, status, and creation time.
2696
2711
  *
2697
2712
  * @param request - DescribeOfficeSitesRequest
2698
2713
  * @param runtime - runtime options for this request RuntimeOptions
@@ -2700,7 +2715,7 @@ export default class Client extends OpenApi {
2700
2715
  */
2701
2716
  describeOfficeSitesWithOptions(request: $_model.DescribeOfficeSitesRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeOfficeSitesResponse>;
2702
2717
  /**
2703
- * Queries all attributes of an office network, including the ID, name, status, and creation time.
2718
+ * Queries all properties of an office network, including the ID, name, status, and creation time.
2704
2719
  *
2705
2720
  * @param request - DescribeOfficeSitesRequest
2706
2721
  * @returns DescribeOfficeSitesResponse
@@ -3079,6 +3094,27 @@ export default class Client extends OpenApi {
3079
3094
  * @returns DescribeResourceByCenterPolicyIdResponse
3080
3095
  */
3081
3096
  describeResourceByCenterPolicyId(request: $_model.DescribeResourceByCenterPolicyIdRequest): Promise<$_model.DescribeResourceByCenterPolicyIdResponse>;
3097
+ /**
3098
+ * 查询地域化的统计数据
3099
+ *
3100
+ * @remarks
3101
+ * - 该接口为中心化接口,只可通过上海或新加坡地域的服务进行调用。
3102
+ *
3103
+ * @param request - DescribeResourceStatisticByRegionRequest
3104
+ * @param runtime - runtime options for this request RuntimeOptions
3105
+ * @returns DescribeResourceStatisticByRegionResponse
3106
+ */
3107
+ describeResourceStatisticByRegionWithOptions(request: $_model.DescribeResourceStatisticByRegionRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeResourceStatisticByRegionResponse>;
3108
+ /**
3109
+ * 查询地域化的统计数据
3110
+ *
3111
+ * @remarks
3112
+ * - 该接口为中心化接口,只可通过上海或新加坡地域的服务进行调用。
3113
+ *
3114
+ * @param request - DescribeResourceStatisticByRegionRequest
3115
+ * @returns DescribeResourceStatisticByRegionResponse
3116
+ */
3117
+ describeResourceStatisticByRegion(request: $_model.DescribeResourceStatisticByRegionRequest): Promise<$_model.DescribeResourceStatisticByRegionResponse>;
3082
3118
  /**
3083
3119
  * 查询路由条目列表
3084
3120
  *
@@ -3694,6 +3730,21 @@ export default class Client extends OpenApi {
3694
3730
  * @returns HibernateDesktopsResponse
3695
3731
  */
3696
3732
  hibernateDesktops(request: $_model.HibernateDesktopsRequest): Promise<$_model.HibernateDesktopsResponse>;
3733
+ /**
3734
+ * Imports a UPM user VHD.
3735
+ *
3736
+ * @param request - ImportDriveRequest
3737
+ * @param runtime - runtime options for this request RuntimeOptions
3738
+ * @returns ImportDriveResponse
3739
+ */
3740
+ importDriveWithOptions(request: $_model.ImportDriveRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ImportDriveResponse>;
3741
+ /**
3742
+ * Imports a UPM user VHD.
3743
+ *
3744
+ * @param request - ImportDriveRequest
3745
+ * @returns ImportDriveResponse
3746
+ */
3747
+ importDrive(request: $_model.ImportDriveRequest): Promise<$_model.ImportDriveResponse>;
3697
3748
  /**
3698
3749
  * Queries the file list in a cloud drive and retrieves download URLs for files.
3699
3750
  *
@@ -4173,10 +4224,10 @@ export default class Client extends OpenApi {
4173
4224
  */
4174
4225
  modifyDesktopChargeType(request: $_model.ModifyDesktopChargeTypeRequest): Promise<$_model.ModifyDesktopChargeTypeResponse>;
4175
4226
  /**
4176
- * Modifies a shared cloud computer.
4227
+ * Modifies a shared cloud desktop.
4177
4228
  *
4178
4229
  * @remarks
4179
- * After you create a shared cloud computer, the system performs automatic creation of the corresponding number of cloud computers in the shared cloud computer based on the scaling policy in Settings and the connection status of end users. These cloud computers use the same cloud computer template and security policy. In different scenarios, you can modify the shared cloud computer configurations as needed, including the shared cloud computer name, cloud computer template, and associated policies.
4230
+ * After a shared cloud desktop is created, the system performs automatic creation of a corresponding number of cloud desktops within the shared cloud desktop based on the shared cloud desktop scaling policy Settings and the end-user connection status. These cloud desktops share the same cloud desktop template and security policy. You can modify the configurations of the shared cloud desktop as needed in different scenarios, such as the name, cloud desktop template, and associated policies.
4180
4231
  *
4181
4232
  * @param request - ModifyDesktopGroupRequest
4182
4233
  * @param runtime - runtime options for this request RuntimeOptions
@@ -4184,10 +4235,10 @@ export default class Client extends OpenApi {
4184
4235
  */
4185
4236
  modifyDesktopGroupWithOptions(request: $_model.ModifyDesktopGroupRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ModifyDesktopGroupResponse>;
4186
4237
  /**
4187
- * Modifies a shared cloud computer.
4238
+ * Modifies a shared cloud desktop.
4188
4239
  *
4189
4240
  * @remarks
4190
- * After you create a shared cloud computer, the system performs automatic creation of the corresponding number of cloud computers in the shared cloud computer based on the scaling policy in Settings and the connection status of end users. These cloud computers use the same cloud computer template and security policy. In different scenarios, you can modify the shared cloud computer configurations as needed, including the shared cloud computer name, cloud computer template, and associated policies.
4241
+ * After a shared cloud desktop is created, the system performs automatic creation of a corresponding number of cloud desktops within the shared cloud desktop based on the shared cloud desktop scaling policy Settings and the end-user connection status. These cloud desktops share the same cloud desktop template and security policy. You can modify the configurations of the shared cloud desktop as needed in different scenarios, such as the name, cloud desktop template, and associated policies.
4191
4242
  *
4192
4243
  * @param request - ModifyDesktopGroupRequest
4193
4244
  * @returns ModifyDesktopGroupResponse
@@ -4536,7 +4587,7 @@ export default class Client extends OpenApi {
4536
4587
  */
4537
4588
  modifyOfficeSiteAccelerator(request: $_model.ModifyOfficeSiteAcceleratorRequest): Promise<$_model.ModifyOfficeSiteAcceleratorResponse>;
4538
4589
  /**
4539
- * Modifies the basic attributes of an office network (formerly workspace), such as the office network name and whether to grant local administrator permissions to cloud computer users.
4590
+ * Modifies the basic properties of an office network (formerly workspace), such as the office network name and whether to grant local administrator permissions to users of cloud desktops.
4540
4591
  *
4541
4592
  * @param request - ModifyOfficeSiteAttributeRequest
4542
4593
  * @param runtime - runtime options for this request RuntimeOptions
@@ -4544,7 +4595,7 @@ export default class Client extends OpenApi {
4544
4595
  */
4545
4596
  modifyOfficeSiteAttributeWithOptions(request: $_model.ModifyOfficeSiteAttributeRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ModifyOfficeSiteAttributeResponse>;
4546
4597
  /**
4547
- * Modifies the basic attributes of an office network (formerly workspace), such as the office network name and whether to grant local administrator permissions to cloud computer users.
4598
+ * Modifies the basic properties of an office network (formerly workspace), such as the office network name and whether to grant local administrator permissions to users of cloud desktops.
4548
4599
  *
4549
4600
  * @param request - ModifyOfficeSiteAttributeRequest
4550
4601
  * @returns ModifyOfficeSiteAttributeResponse
@@ -5648,7 +5699,7 @@ export default class Client extends OpenApi {
5648
5699
  */
5649
5700
  unlockVirtualMFADevice(request: $_model.UnlockVirtualMFADeviceRequest): Promise<$_model.UnlockVirtualMFADeviceResponse>;
5650
5701
  /**
5651
- * Removes tags from cloud desktops. After a tag is removed, if the tag is not added to any cloud desktop, the tag is automatically deleted.
5702
+ * Removes tags from cloud computers. If a removed tag is not added to any cloud computer, the tag is automatically deleted.
5652
5703
  *
5653
5704
  * @param request - UntagResourcesRequest
5654
5705
  * @param runtime - runtime options for this request RuntimeOptions
@@ -5656,7 +5707,7 @@ export default class Client extends OpenApi {
5656
5707
  */
5657
5708
  untagResourcesWithOptions(request: $_model.UntagResourcesRequest, runtime: $dara.RuntimeOptions): Promise<$_model.UntagResourcesResponse>;
5658
5709
  /**
5659
- * Removes tags from cloud desktops. After a tag is removed, if the tag is not added to any cloud desktop, the tag is automatically deleted.
5710
+ * Removes tags from cloud computers. If a removed tag is not added to any cloud computer, the tag is automatically deleted.
5660
5711
  *
5661
5712
  * @param request - UntagResourcesRequest
5662
5713
  * @returns UntagResourcesResponse
package/dist/client.js CHANGED
@@ -2894,8 +2894,8 @@ class Client extends openapi_core_1.default {
2894
2894
  * Creates a shared cloud desktop.
2895
2895
  *
2896
2896
  * @remarks
2897
- * - For information about the features, common scenarios, limits, and scaling policy of shared cloud desktops, see [Overview of shared cloud desktops (formerly cloud desktop pools)](https://help.aliyun.com/document_detail/290959.html).
2898
- * - Before you invoke this operation, make sure that required prerequisite resources such as office networks, cloud desktop templates, and policies are created.
2897
+ * - For information about the features, Common scenarios, limits, and scaling policy of shared cloud desktops, see [Overview of shared cloud desktops (formerly cloud desktop pools)](https://help.aliyun.com/document_detail/290959.html).
2898
+ * - Before you invoke this operation, make sure that required prerequisite resources such as office networks, cloud desktop templates, and policy are created.
2899
2899
  *
2900
2900
  * @param request - CreateDesktopGroupRequest
2901
2901
  * @param runtime - runtime options for this request RuntimeOptions
@@ -3107,8 +3107,8 @@ class Client extends openapi_core_1.default {
3107
3107
  * Creates a shared cloud desktop.
3108
3108
  *
3109
3109
  * @remarks
3110
- * - For information about the features, common scenarios, limits, and scaling policy of shared cloud desktops, see [Overview of shared cloud desktops (formerly cloud desktop pools)](https://help.aliyun.com/document_detail/290959.html).
3111
- * - Before you invoke this operation, make sure that required prerequisite resources such as office networks, cloud desktop templates, and policies are created.
3110
+ * - For information about the features, Common scenarios, limits, and scaling policy of shared cloud desktops, see [Overview of shared cloud desktops (formerly cloud desktop pools)](https://help.aliyun.com/document_detail/290959.html).
3111
+ * - Before you invoke this operation, make sure that required prerequisite resources such as office networks, cloud desktop templates, and policy are created.
3112
3112
  *
3113
3113
  * @param request - CreateDesktopGroupRequest
3114
3114
  * @returns CreateDesktopGroupResponse
@@ -3625,6 +3625,9 @@ class Client extends openapi_core_1.default {
3625
3625
  if (!$dara.isNull(request.externalDomainId)) {
3626
3626
  query["ExternalDomainId"] = request.externalDomainId;
3627
3627
  }
3628
+ if (!$dara.isNull(request.platforms)) {
3629
+ query["Platforms"] = request.platforms;
3630
+ }
3628
3631
  if (!$dara.isNull(request.profileRoaming)) {
3629
3632
  query["ProfileRoaming"] = request.profileRoaming;
3630
3633
  }
@@ -5556,7 +5559,7 @@ class Client extends openapi_core_1.default {
5556
5559
  return await this.deleteDirectoriesWithOptions(request, runtime);
5557
5560
  }
5558
5561
  /**
5559
- * Deletes a drive.
5562
+ * Deletes a cloud drive.
5560
5563
  *
5561
5564
  * @param request - DeleteDriveRequest
5562
5565
  * @param runtime - runtime options for this request RuntimeOptions
@@ -5565,9 +5568,18 @@ class Client extends openapi_core_1.default {
5565
5568
  async deleteDriveWithOptions(request, runtime) {
5566
5569
  request.validate();
5567
5570
  let query = {};
5571
+ if (!$dara.isNull(request.domainId)) {
5572
+ query["DomainId"] = request.domainId;
5573
+ }
5568
5574
  if (!$dara.isNull(request.driveId)) {
5569
5575
  query["DriveId"] = request.driveId;
5570
5576
  }
5577
+ if (!$dara.isNull(request.endUserId)) {
5578
+ query["EndUserId"] = request.endUserId;
5579
+ }
5580
+ if (!$dara.isNull(request.officeSiteId)) {
5581
+ query["OfficeSiteId"] = request.officeSiteId;
5582
+ }
5571
5583
  if (!$dara.isNull(request.regionId)) {
5572
5584
  query["RegionId"] = request.regionId;
5573
5585
  }
@@ -5588,7 +5600,7 @@ class Client extends openapi_core_1.default {
5588
5600
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteDriveResponse({}));
5589
5601
  }
5590
5602
  /**
5591
- * Deletes a drive.
5603
+ * Deletes a cloud drive.
5592
5604
  *
5593
5605
  * @param request - DeleteDriveRequest
5594
5606
  * @returns DeleteDriveResponse
@@ -7525,6 +7537,57 @@ class Client extends openapi_core_1.default {
7525
7537
  let runtime = new $dara.RuntimeOptions({});
7526
7538
  return await this.describeDesktopGroupsWithOptions(request, runtime);
7527
7539
  }
7540
+ /**
7541
+ * Queries a list of cloud desktops with detected vulnerabilities.
7542
+ *
7543
+ * @param request - DescribeDesktopIdsByVulNamesRequest
7544
+ * @param runtime - runtime options for this request RuntimeOptions
7545
+ * @returns DescribeDesktopIdsByVulNamesResponse
7546
+ */
7547
+ async describeDesktopIdsByVulNamesWithOptions(request, runtime) {
7548
+ request.validate();
7549
+ let query = {};
7550
+ if (!$dara.isNull(request.necessity)) {
7551
+ query["Necessity"] = request.necessity;
7552
+ }
7553
+ if (!$dara.isNull(request.officeSiteId)) {
7554
+ query["OfficeSiteId"] = request.officeSiteId;
7555
+ }
7556
+ if (!$dara.isNull(request.regionId)) {
7557
+ query["RegionId"] = request.regionId;
7558
+ }
7559
+ if (!$dara.isNull(request.type)) {
7560
+ query["Type"] = request.type;
7561
+ }
7562
+ if (!$dara.isNull(request.vulName)) {
7563
+ query["VulName"] = request.vulName;
7564
+ }
7565
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
7566
+ query: openapi_core_2.OpenApiUtil.query(query),
7567
+ });
7568
+ let params = new openapi_core_2.$OpenApiUtil.Params({
7569
+ action: "DescribeDesktopIdsByVulNames",
7570
+ version: "2020-09-30",
7571
+ protocol: "HTTPS",
7572
+ pathname: "/",
7573
+ method: "POST",
7574
+ authType: "AK",
7575
+ style: "RPC",
7576
+ reqBodyType: "formData",
7577
+ bodyType: "json",
7578
+ });
7579
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeDesktopIdsByVulNamesResponse({}));
7580
+ }
7581
+ /**
7582
+ * Queries a list of cloud desktops with detected vulnerabilities.
7583
+ *
7584
+ * @param request - DescribeDesktopIdsByVulNamesRequest
7585
+ * @returns DescribeDesktopIdsByVulNamesResponse
7586
+ */
7587
+ async describeDesktopIdsByVulNames(request) {
7588
+ let runtime = new $dara.RuntimeOptions({});
7589
+ return await this.describeDesktopIdsByVulNamesWithOptions(request, runtime);
7590
+ }
7528
7591
  /**
7529
7592
  * Queries the basic information of cloud computers.
7530
7593
  *
@@ -9613,7 +9676,7 @@ class Client extends openapi_core_1.default {
9613
9676
  return await this.describeOfficeSiteBridgeInfoWithOptions(request, runtime);
9614
9677
  }
9615
9678
  /**
9616
- * Queries all attributes of an office network, including the ID, name, status, and creation time.
9679
+ * Queries all properties of an office network, including the ID, name, status, and creation time.
9617
9680
  *
9618
9681
  * @param request - DescribeOfficeSitesRequest
9619
9682
  * @param runtime - runtime options for this request RuntimeOptions
@@ -9666,7 +9729,7 @@ class Client extends openapi_core_1.default {
9666
9729
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeOfficeSitesResponse({}));
9667
9730
  }
9668
9731
  /**
9669
- * Queries all attributes of an office network, including the ID, name, status, and creation time.
9732
+ * Queries all properties of an office network, including the ID, name, status, and creation time.
9670
9733
  *
9671
9734
  * @param request - DescribeOfficeSitesRequest
9672
9735
  * @returns DescribeOfficeSitesResponse
@@ -10702,6 +10765,57 @@ class Client extends openapi_core_1.default {
10702
10765
  let runtime = new $dara.RuntimeOptions({});
10703
10766
  return await this.describeResourceByCenterPolicyIdWithOptions(request, runtime);
10704
10767
  }
10768
+ /**
10769
+ * 查询地域化的统计数据
10770
+ *
10771
+ * @remarks
10772
+ * - 该接口为中心化接口,只可通过上海或新加坡地域的服务进行调用。
10773
+ *
10774
+ * @param request - DescribeResourceStatisticByRegionRequest
10775
+ * @param runtime - runtime options for this request RuntimeOptions
10776
+ * @returns DescribeResourceStatisticByRegionResponse
10777
+ */
10778
+ async describeResourceStatisticByRegionWithOptions(request, runtime) {
10779
+ request.validate();
10780
+ let query = {};
10781
+ if (!$dara.isNull(request.includeGroupDesktops)) {
10782
+ query["IncludeGroupDesktops"] = request.includeGroupDesktops;
10783
+ }
10784
+ if (!$dara.isNull(request.regionId)) {
10785
+ query["RegionId"] = request.regionId;
10786
+ }
10787
+ if (!$dara.isNull(request.searchRegionId)) {
10788
+ query["SearchRegionId"] = request.searchRegionId;
10789
+ }
10790
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
10791
+ query: openapi_core_2.OpenApiUtil.query(query),
10792
+ });
10793
+ let params = new openapi_core_2.$OpenApiUtil.Params({
10794
+ action: "DescribeResourceStatisticByRegion",
10795
+ version: "2020-09-30",
10796
+ protocol: "HTTPS",
10797
+ pathname: "/",
10798
+ method: "POST",
10799
+ authType: "AK",
10800
+ style: "RPC",
10801
+ reqBodyType: "formData",
10802
+ bodyType: "json",
10803
+ });
10804
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeResourceStatisticByRegionResponse({}));
10805
+ }
10806
+ /**
10807
+ * 查询地域化的统计数据
10808
+ *
10809
+ * @remarks
10810
+ * - 该接口为中心化接口,只可通过上海或新加坡地域的服务进行调用。
10811
+ *
10812
+ * @param request - DescribeResourceStatisticByRegionRequest
10813
+ * @returns DescribeResourceStatisticByRegionResponse
10814
+ */
10815
+ async describeResourceStatisticByRegion(request) {
10816
+ let runtime = new $dara.RuntimeOptions({});
10817
+ return await this.describeResourceStatisticByRegionWithOptions(request, runtime);
10818
+ }
10705
10819
  /**
10706
10820
  * 查询路由条目列表
10707
10821
  *
@@ -12763,6 +12877,60 @@ class Client extends openapi_core_1.default {
12763
12877
  let runtime = new $dara.RuntimeOptions({});
12764
12878
  return await this.hibernateDesktopsWithOptions(request, runtime);
12765
12879
  }
12880
+ /**
12881
+ * Imports a UPM user VHD.
12882
+ *
12883
+ * @param request - ImportDriveRequest
12884
+ * @param runtime - runtime options for this request RuntimeOptions
12885
+ * @returns ImportDriveResponse
12886
+ */
12887
+ async importDriveWithOptions(request, runtime) {
12888
+ request.validate();
12889
+ let query = {};
12890
+ if (!$dara.isNull(request.domainId)) {
12891
+ query["DomainId"] = request.domainId;
12892
+ }
12893
+ if (!$dara.isNull(request.endUserId)) {
12894
+ query["EndUserId"] = request.endUserId;
12895
+ }
12896
+ if (!$dara.isNull(request.forceUpdate)) {
12897
+ query["ForceUpdate"] = request.forceUpdate;
12898
+ }
12899
+ if (!$dara.isNull(request.mountUrl)) {
12900
+ query["MountUrl"] = request.mountUrl;
12901
+ }
12902
+ if (!$dara.isNull(request.platform)) {
12903
+ query["Platform"] = request.platform;
12904
+ }
12905
+ if (!$dara.isNull(request.regionId)) {
12906
+ query["RegionId"] = request.regionId;
12907
+ }
12908
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
12909
+ query: openapi_core_2.OpenApiUtil.query(query),
12910
+ });
12911
+ let params = new openapi_core_2.$OpenApiUtil.Params({
12912
+ action: "ImportDrive",
12913
+ version: "2020-09-30",
12914
+ protocol: "HTTPS",
12915
+ pathname: "/",
12916
+ method: "POST",
12917
+ authType: "AK",
12918
+ style: "RPC",
12919
+ reqBodyType: "formData",
12920
+ bodyType: "json",
12921
+ });
12922
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.ImportDriveResponse({}));
12923
+ }
12924
+ /**
12925
+ * Imports a UPM user VHD.
12926
+ *
12927
+ * @param request - ImportDriveRequest
12928
+ * @returns ImportDriveResponse
12929
+ */
12930
+ async importDrive(request) {
12931
+ let runtime = new $dara.RuntimeOptions({});
12932
+ return await this.importDriveWithOptions(request, runtime);
12933
+ }
12766
12934
  /**
12767
12935
  * Queries the file list in a cloud drive and retrieves download URLs for files.
12768
12936
  *
@@ -14792,10 +14960,10 @@ class Client extends openapi_core_1.default {
14792
14960
  return await this.modifyDesktopChargeTypeWithOptions(request, runtime);
14793
14961
  }
14794
14962
  /**
14795
- * Modifies a shared cloud computer.
14963
+ * Modifies a shared cloud desktop.
14796
14964
  *
14797
14965
  * @remarks
14798
- * After you create a shared cloud computer, the system performs automatic creation of the corresponding number of cloud computers in the shared cloud computer based on the scaling policy in Settings and the connection status of end users. These cloud computers use the same cloud computer template and security policy. In different scenarios, you can modify the shared cloud computer configurations as needed, including the shared cloud computer name, cloud computer template, and associated policies.
14966
+ * After a shared cloud desktop is created, the system performs automatic creation of a corresponding number of cloud desktops within the shared cloud desktop based on the shared cloud desktop scaling policy Settings and the end-user connection status. These cloud desktops share the same cloud desktop template and security policy. You can modify the configurations of the shared cloud desktop as needed in different scenarios, such as the name, cloud desktop template, and associated policies.
14799
14967
  *
14800
14968
  * @param request - ModifyDesktopGroupRequest
14801
14969
  * @param runtime - runtime options for this request RuntimeOptions
@@ -14902,10 +15070,10 @@ class Client extends openapi_core_1.default {
14902
15070
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.ModifyDesktopGroupResponse({}));
14903
15071
  }
14904
15072
  /**
14905
- * Modifies a shared cloud computer.
15073
+ * Modifies a shared cloud desktop.
14906
15074
  *
14907
15075
  * @remarks
14908
- * After you create a shared cloud computer, the system performs automatic creation of the corresponding number of cloud computers in the shared cloud computer based on the scaling policy in Settings and the connection status of end users. These cloud computers use the same cloud computer template and security policy. In different scenarios, you can modify the shared cloud computer configurations as needed, including the shared cloud computer name, cloud computer template, and associated policies.
15076
+ * After a shared cloud desktop is created, the system performs automatic creation of a corresponding number of cloud desktops within the shared cloud desktop based on the shared cloud desktop scaling policy Settings and the end-user connection status. These cloud desktops share the same cloud desktop template and security policy. You can modify the configurations of the shared cloud desktop as needed in different scenarios, such as the name, cloud desktop template, and associated policies.
14909
15077
  *
14910
15078
  * @param request - ModifyDesktopGroupRequest
14911
15079
  * @returns ModifyDesktopGroupResponse
@@ -15833,7 +16001,7 @@ class Client extends openapi_core_1.default {
15833
16001
  return await this.modifyOfficeSiteAcceleratorWithOptions(request, runtime);
15834
16002
  }
15835
16003
  /**
15836
- * Modifies the basic attributes of an office network (formerly workspace), such as the office network name and whether to grant local administrator permissions to cloud computer users.
16004
+ * Modifies the basic properties of an office network (formerly workspace), such as the office network name and whether to grant local administrator permissions to users of cloud desktops.
15837
16005
  *
15838
16006
  * @param request - ModifyOfficeSiteAttributeRequest
15839
16007
  * @param runtime - runtime options for this request RuntimeOptions
@@ -15860,6 +16028,9 @@ class Client extends openapi_core_1.default {
15860
16028
  if (!$dara.isNull(request.enableAdminAccess)) {
15861
16029
  query["EnableAdminAccess"] = request.enableAdminAccess;
15862
16030
  }
16031
+ if (!$dara.isNull(request.enableUpm)) {
16032
+ query["EnableUpm"] = request.enableUpm;
16033
+ }
15863
16034
  if (!$dara.isNull(request.needVerifyLoginRisk)) {
15864
16035
  query["NeedVerifyLoginRisk"] = request.needVerifyLoginRisk;
15865
16036
  }
@@ -15898,7 +16069,7 @@ class Client extends openapi_core_1.default {
15898
16069
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.ModifyOfficeSiteAttributeResponse({}));
15899
16070
  }
15900
16071
  /**
15901
- * Modifies the basic attributes of an office network (formerly workspace), such as the office network name and whether to grant local administrator permissions to cloud computer users.
16072
+ * Modifies the basic properties of an office network (formerly workspace), such as the office network name and whether to grant local administrator permissions to users of cloud desktops.
15902
16073
  *
15903
16074
  * @param request - ModifyOfficeSiteAttributeRequest
15904
16075
  * @returns ModifyOfficeSiteAttributeResponse
@@ -19335,7 +19506,7 @@ class Client extends openapi_core_1.default {
19335
19506
  return await this.unlockVirtualMFADeviceWithOptions(request, runtime);
19336
19507
  }
19337
19508
  /**
19338
- * Removes tags from cloud desktops. After a tag is removed, if the tag is not added to any cloud desktop, the tag is automatically deleted.
19509
+ * Removes tags from cloud computers. If a removed tag is not added to any cloud computer, the tag is automatically deleted.
19339
19510
  *
19340
19511
  * @param request - UntagResourcesRequest
19341
19512
  * @param runtime - runtime options for this request RuntimeOptions
@@ -19376,7 +19547,7 @@ class Client extends openapi_core_1.default {
19376
19547
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.UntagResourcesResponse({}));
19377
19548
  }
19378
19549
  /**
19379
- * Removes tags from cloud desktops. After a tag is removed, if the tag is not added to any cloud desktop, the tag is automatically deleted.
19550
+ * Removes tags from cloud computers. If a removed tag is not added to any cloud computer, the tag is automatically deleted.
19380
19551
  *
19381
19552
  * @param request - UntagResourcesRequest
19382
19553
  * @returns UntagResourcesResponse