@alicloud/ecd20200930 5.8.1 → 5.9.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 (153) hide show
  1. package/dist/client.d.ts +94 -36
  2. package/dist/client.js +229 -36
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CdsFileShareLinkModel.d.ts +1 -1
  5. package/dist/models/CreateAdconnectorDirectoryRequest.d.ts +2 -2
  6. package/dist/models/CreateCenterPolicyRequest.d.ts +1 -1
  7. package/dist/models/CreateCloudDriveUsersRequest.d.ts +1 -1
  8. package/dist/models/CreateDesktopsRequest.d.ts +67 -72
  9. package/dist/models/CreateDesktopsRequest.js.map +1 -1
  10. package/dist/models/CreateDesktopsResponseBody.d.ts +3 -3
  11. package/dist/models/CreateDesktopsShrinkRequest.d.ts +51 -56
  12. package/dist/models/CreateDesktopsShrinkRequest.js.map +1 -1
  13. package/dist/models/CreateDriveRequest.d.ts +3 -3
  14. package/dist/models/CreateEcdReportTaskRequest.d.ts +1 -1
  15. package/dist/models/CreateImageRequest.d.ts +1 -1
  16. package/dist/models/DeleteDevicesRequest.d.ts +6 -16
  17. package/dist/models/DeleteDevicesRequest.js.map +1 -1
  18. package/dist/models/DeleteDevicesResponseBody.d.ts +1 -1
  19. package/dist/models/DescribeCenterPolicyListResponseBody.d.ts +1 -1
  20. package/dist/models/DescribeCloudDriveGroupsRequest.d.ts +10 -8
  21. package/dist/models/DescribeCloudDriveGroupsRequest.js.map +1 -1
  22. package/dist/models/DescribeCloudDriveGroupsResponseBody.d.ts +7 -7
  23. package/dist/models/DescribeDesktopIdsByVulNamesRequest.d.ts +1 -1
  24. package/dist/models/DescribeDesktopIdsByVulNamesResponseBody.d.ts +2 -2
  25. package/dist/models/DescribeDesktopMetadataRequest.d.ts +2 -2
  26. package/dist/models/DescribeDesktopSessionsResponseBody.d.ts +1 -1
  27. package/dist/models/DescribeDesktopsRequest.d.ts +32 -42
  28. package/dist/models/DescribeDesktopsRequest.js.map +1 -1
  29. package/dist/models/DescribeDesktopsResponseBody.d.ts +37 -37
  30. package/dist/models/DescribeFlowMetricResponseBody.d.ts +1 -1
  31. package/dist/models/DescribeGuestApplicationsResponseBody.d.ts +2 -2
  32. package/dist/models/DescribePolicyGroupsResponseBody.d.ts +2 -2
  33. package/dist/models/DescribeRecordFileResponseBody.d.ts +1 -1
  34. package/dist/models/DescribeResourceStatisticByRegionRequest.d.ts +3 -3
  35. package/dist/models/DescribeResourceStatisticByRegionResponseBody.d.ts +6 -6
  36. package/dist/models/DescribeUserProfilePathRulesRequest.d.ts +19 -0
  37. package/dist/models/DescribeUserProfilePathRulesRequest.js.map +1 -1
  38. package/dist/models/DescribeUserProfilePathRulesResponseBody.d.ts +65 -0
  39. package/dist/models/DescribeUserProfilePathRulesResponseBody.js.map +1 -1
  40. package/dist/models/DescribeVulDetailsRequest.d.ts +65 -0
  41. package/dist/models/DescribeVulDetailsRequest.js +66 -0
  42. package/dist/models/DescribeVulDetailsRequest.js.map +1 -0
  43. package/dist/models/DescribeVulDetailsResponse.d.ts +19 -0
  44. package/dist/models/DescribeVulDetailsResponse.js +69 -0
  45. package/dist/models/DescribeVulDetailsResponse.js.map +1 -0
  46. package/dist/models/DescribeVulDetailsResponseBody.d.ts +70 -0
  47. package/dist/models/DescribeVulDetailsResponseBody.js +88 -0
  48. package/dist/models/DescribeVulDetailsResponseBody.js.map +1 -0
  49. package/dist/models/GetConnectionTicketRequest.d.ts +2 -2
  50. package/dist/models/GetConnectionTicketResponseBody.d.ts +2 -2
  51. package/dist/models/ImportDriveRequest.d.ts +4 -4
  52. package/dist/models/ImportDriveResponseBody.d.ts +4 -4
  53. package/dist/models/ListInstalledAppsRequest.d.ts +2 -2
  54. package/dist/models/ModifyAdconnectorDirectoryRequest.d.ts +3 -3
  55. package/dist/models/ModifyCenterPolicyRequest.d.ts +1 -1
  56. package/dist/models/ModifyCloudDriveServiceRequest.d.ts +73 -0
  57. package/dist/models/ModifyCloudDriveServiceRequest.js +70 -0
  58. package/dist/models/ModifyCloudDriveServiceRequest.js.map +1 -0
  59. package/dist/models/ModifyCloudDriveServiceResponse.d.ts +19 -0
  60. package/dist/models/ModifyCloudDriveServiceResponse.js +69 -0
  61. package/dist/models/ModifyCloudDriveServiceResponse.js.map +1 -0
  62. package/dist/models/ModifyCloudDriveServiceResponseBody.d.ts +21 -0
  63. package/dist/models/ModifyCloudDriveServiceResponseBody.js +58 -0
  64. package/dist/models/ModifyCloudDriveServiceResponseBody.js.map +1 -0
  65. package/dist/models/ModifyDesktopTimerRequest.d.ts +2 -2
  66. package/dist/models/ModifyNetworkPackageRequest.d.ts +41 -0
  67. package/dist/models/ModifyNetworkPackageRequest.js +62 -0
  68. package/dist/models/ModifyNetworkPackageRequest.js.map +1 -0
  69. package/dist/models/ModifyNetworkPackageResponse.d.ts +19 -0
  70. package/dist/models/ModifyNetworkPackageResponse.js +69 -0
  71. package/dist/models/ModifyNetworkPackageResponse.js.map +1 -0
  72. package/dist/models/ModifyNetworkPackageResponseBody.d.ts +21 -0
  73. package/dist/models/ModifyNetworkPackageResponseBody.js +58 -0
  74. package/dist/models/ModifyNetworkPackageResponseBody.js.map +1 -0
  75. package/dist/models/ModifyOfficeSiteSecurityProtectionRequest.d.ts +30 -0
  76. package/dist/models/ModifyOfficeSiteSecurityProtectionRequest.js +63 -0
  77. package/dist/models/ModifyOfficeSiteSecurityProtectionRequest.js.map +1 -0
  78. package/dist/models/ModifyOfficeSiteSecurityProtectionResponse.d.ts +19 -0
  79. package/dist/models/ModifyOfficeSiteSecurityProtectionResponse.js +69 -0
  80. package/dist/models/ModifyOfficeSiteSecurityProtectionResponse.js.map +1 -0
  81. package/dist/models/ModifyOfficeSiteSecurityProtectionResponseBody.d.ts +29 -0
  82. package/dist/models/ModifyOfficeSiteSecurityProtectionResponseBody.js +60 -0
  83. package/dist/models/ModifyOfficeSiteSecurityProtectionResponseBody.js.map +1 -0
  84. package/dist/models/QueryHistoryAvgMetricListRequest.d.ts +1 -1
  85. package/dist/models/QueryHistoryMetricDistributionRequest.d.ts +1 -1
  86. package/dist/models/SetUserProfilePathRulesRequest.d.ts +59 -0
  87. package/dist/models/SetUserProfilePathRulesRequest.js.map +1 -1
  88. package/dist/models/SetUserProfilePathRulesResponseBody.d.ts +7 -0
  89. package/dist/models/SetUserProfilePathRulesResponseBody.js.map +1 -1
  90. package/dist/models/SetUserProfilePathRulesShrinkRequest.d.ts +23 -0
  91. package/dist/models/SetUserProfilePathRulesShrinkRequest.js.map +1 -1
  92. package/dist/models/UntagResourcesRequest.d.ts +3 -3
  93. package/dist/models/model.d.ts +13 -0
  94. package/dist/models/model.js +48 -22
  95. package/dist/models/model.js.map +1 -1
  96. package/package.json +2 -2
  97. package/src/client.ts +254 -36
  98. package/src/models/CdsFileShareLinkModel.ts +1 -1
  99. package/src/models/CreateAdconnectorDirectoryRequest.ts +2 -2
  100. package/src/models/CreateCenterPolicyRequest.ts +1 -1
  101. package/src/models/CreateCloudDriveUsersRequest.ts +1 -1
  102. package/src/models/CreateDesktopsRequest.ts +67 -72
  103. package/src/models/CreateDesktopsResponseBody.ts +3 -3
  104. package/src/models/CreateDesktopsShrinkRequest.ts +51 -56
  105. package/src/models/CreateDriveRequest.ts +3 -3
  106. package/src/models/CreateEcdReportTaskRequest.ts +1 -1
  107. package/src/models/CreateImageRequest.ts +1 -1
  108. package/src/models/DeleteDevicesRequest.ts +6 -16
  109. package/src/models/DeleteDevicesResponseBody.ts +1 -1
  110. package/src/models/DescribeCenterPolicyListResponseBody.ts +1 -1
  111. package/src/models/DescribeCloudDriveGroupsRequest.ts +10 -8
  112. package/src/models/DescribeCloudDriveGroupsResponseBody.ts +7 -7
  113. package/src/models/DescribeDesktopIdsByVulNamesRequest.ts +1 -1
  114. package/src/models/DescribeDesktopIdsByVulNamesResponseBody.ts +2 -2
  115. package/src/models/DescribeDesktopMetadataRequest.ts +2 -2
  116. package/src/models/DescribeDesktopSessionsResponseBody.ts +1 -1
  117. package/src/models/DescribeDesktopsRequest.ts +32 -42
  118. package/src/models/DescribeDesktopsResponseBody.ts +37 -37
  119. package/src/models/DescribeFlowMetricResponseBody.ts +1 -1
  120. package/src/models/DescribeGuestApplicationsResponseBody.ts +2 -2
  121. package/src/models/DescribePolicyGroupsResponseBody.ts +2 -2
  122. package/src/models/DescribeRecordFileResponseBody.ts +1 -1
  123. package/src/models/DescribeResourceStatisticByRegionRequest.ts +3 -3
  124. package/src/models/DescribeResourceStatisticByRegionResponseBody.ts +6 -6
  125. package/src/models/DescribeUserProfilePathRulesRequest.ts +19 -0
  126. package/src/models/DescribeUserProfilePathRulesResponseBody.ts +65 -0
  127. package/src/models/DescribeVulDetailsRequest.ts +86 -0
  128. package/src/models/DescribeVulDetailsResponse.ts +40 -0
  129. package/src/models/DescribeVulDetailsResponseBody.ts +104 -0
  130. package/src/models/GetConnectionTicketRequest.ts +2 -2
  131. package/src/models/GetConnectionTicketResponseBody.ts +2 -2
  132. package/src/models/ImportDriveRequest.ts +4 -4
  133. package/src/models/ImportDriveResponseBody.ts +4 -4
  134. package/src/models/ListInstalledAppsRequest.ts +2 -2
  135. package/src/models/ModifyAdconnectorDirectoryRequest.ts +3 -3
  136. package/src/models/ModifyCenterPolicyRequest.ts +1 -1
  137. package/src/models/ModifyCloudDriveServiceRequest.ts +98 -0
  138. package/src/models/ModifyCloudDriveServiceResponse.ts +40 -0
  139. package/src/models/ModifyCloudDriveServiceResponseBody.ts +34 -0
  140. package/src/models/ModifyDesktopTimerRequest.ts +2 -2
  141. package/src/models/ModifyNetworkPackageRequest.ts +58 -0
  142. package/src/models/ModifyNetworkPackageResponse.ts +40 -0
  143. package/src/models/ModifyNetworkPackageResponseBody.ts +34 -0
  144. package/src/models/ModifyOfficeSiteSecurityProtectionRequest.ts +48 -0
  145. package/src/models/ModifyOfficeSiteSecurityProtectionResponse.ts +40 -0
  146. package/src/models/ModifyOfficeSiteSecurityProtectionResponseBody.ts +44 -0
  147. package/src/models/QueryHistoryAvgMetricListRequest.ts +1 -1
  148. package/src/models/QueryHistoryMetricDistributionRequest.ts +1 -1
  149. package/src/models/SetUserProfilePathRulesRequest.ts +59 -0
  150. package/src/models/SetUserProfilePathRulesResponseBody.ts +7 -0
  151. package/src/models/SetUserProfilePathRulesShrinkRequest.ts +23 -0
  152. package/src/models/UntagResourcesRequest.ts +3 -3
  153. package/src/models/model.ts +13 -0
package/dist/client.js CHANGED
@@ -3205,14 +3205,14 @@ class Client extends openapi_core_1.default {
3205
3205
  * Creates one or more cloud desktops. If user information is provided during creation, the cloud desktops are directly assigned.
3206
3206
  *
3207
3207
  * @remarks
3208
- * Before you create a cloud desktop, complete the following preparations:
3209
- * - An office network (formerly workspace) and users are created. For related API operations or documentation, see:
3210
- * - Convenience office network: [CreateSimpleOfficeSite](https://help.aliyun.com/document_detail/215416.html) and [CreateUsers](https://help.aliyun.com/document_detail/437832.html).
3211
- * - AD office network: [CreateADConnectorOfficeSite](https://help.aliyun.com/document_detail/215417.html) and [Create an AD user](https://help.aliyun.com/document_detail/188619.html).
3212
- * - A policy is created by calling [CreatePolicyGroup](https://help.aliyun.com/document_detail/188889.html), or an existing policy is used.
3208
+ * Before creating a cloud desktop, complete the following preparations:
3209
+ * - An office network (formerly workspace) and users are created. For related API operations or documentation, refer to:
3210
+ * - Simple office network: [CreateSimpleOfficeSite](https://help.aliyun.com/document_detail/215416.html) and [CreateUsers](https://help.aliyun.com/document_detail/437832.html).
3211
+ * - AD office network: [CreateADConnectorOfficeSite](https://help.aliyun.com/document_detail/215417.html) and [Create AD users](https://help.aliyun.com/document_detail/188619.html).
3212
+ * - [CreatePolicyGroup](https://help.aliyun.com/document_detail/188889.html) is called to create a policy, or an existing policy is used.
3213
3213
  * **Call examples:**
3214
3214
  * <details>
3215
- * <summary>Example of request parameters for creating a cloud desktop by using a template</summary>
3215
+ * <summary>Sample request parameters for creating a cloud desktop by using a template</summary>
3216
3216
  * ```
3217
3217
  * {
3218
3218
  * "RegionId": "cn-hangzhou",
@@ -3226,7 +3226,7 @@ class Client extends openapi_core_1.default {
3226
3226
  * ```
3227
3227
  * </details>
3228
3228
  * <details>
3229
- * <summary>Example of creating a cloud desktop without a template</summary>
3229
+ * <summary>Sample request parameters for creating a cloud desktop without a template</summary>
3230
3230
  * ```
3231
3231
  * {
3232
3232
  * "RegionId": "cn-hangzhou",
@@ -3246,7 +3246,7 @@ class Client extends openapi_core_1.default {
3246
3246
  * ```
3247
3247
  * </details>
3248
3248
  * <details>
3249
- * <summary>Example of request parameters for creating a monthly hourly package</summary>
3249
+ * <summary>Sample request parameters for creating a cloud desktop with a monthly hourly plan</summary>
3250
3250
  * ```
3251
3251
  * {
3252
3252
  * "RegionId": "cn-hangzhou",
@@ -3271,7 +3271,7 @@ class Client extends openapi_core_1.default {
3271
3271
  * ```
3272
3272
  * </details>
3273
3273
  * <details>
3274
- * <summary>Example of request parameters for creating an agent resource</summary>
3274
+ * <summary>Sample request parameters for creating agent resources</summary>
3275
3275
  * ```
3276
3276
  * {
3277
3277
  * "RegionId": "cn-hangzhou",
@@ -3291,7 +3291,7 @@ class Client extends openapi_core_1.default {
3291
3291
  * }
3292
3292
  * ```
3293
3293
  * </details>
3294
- * To allow the cloud desktop to automatically execute custom command scripts, you can use the UserCommands field to configure custom commands.
3294
+ * To allow cloud desktops to automatically execute custom command scripts, use the `UserCommands` field to configure custom commands.
3295
3295
  *
3296
3296
  * @param tmpReq - CreateDesktopsRequest
3297
3297
  * @param runtime - runtime options for this request RuntimeOptions
@@ -3466,14 +3466,14 @@ class Client extends openapi_core_1.default {
3466
3466
  * Creates one or more cloud desktops. If user information is provided during creation, the cloud desktops are directly assigned.
3467
3467
  *
3468
3468
  * @remarks
3469
- * Before you create a cloud desktop, complete the following preparations:
3470
- * - An office network (formerly workspace) and users are created. For related API operations or documentation, see:
3471
- * - Convenience office network: [CreateSimpleOfficeSite](https://help.aliyun.com/document_detail/215416.html) and [CreateUsers](https://help.aliyun.com/document_detail/437832.html).
3472
- * - AD office network: [CreateADConnectorOfficeSite](https://help.aliyun.com/document_detail/215417.html) and [Create an AD user](https://help.aliyun.com/document_detail/188619.html).
3473
- * - A policy is created by calling [CreatePolicyGroup](https://help.aliyun.com/document_detail/188889.html), or an existing policy is used.
3469
+ * Before creating a cloud desktop, complete the following preparations:
3470
+ * - An office network (formerly workspace) and users are created. For related API operations or documentation, refer to:
3471
+ * - Simple office network: [CreateSimpleOfficeSite](https://help.aliyun.com/document_detail/215416.html) and [CreateUsers](https://help.aliyun.com/document_detail/437832.html).
3472
+ * - AD office network: [CreateADConnectorOfficeSite](https://help.aliyun.com/document_detail/215417.html) and [Create AD users](https://help.aliyun.com/document_detail/188619.html).
3473
+ * - [CreatePolicyGroup](https://help.aliyun.com/document_detail/188889.html) is called to create a policy, or an existing policy is used.
3474
3474
  * **Call examples:**
3475
3475
  * <details>
3476
- * <summary>Example of request parameters for creating a cloud desktop by using a template</summary>
3476
+ * <summary>Sample request parameters for creating a cloud desktop by using a template</summary>
3477
3477
  * ```
3478
3478
  * {
3479
3479
  * "RegionId": "cn-hangzhou",
@@ -3487,7 +3487,7 @@ class Client extends openapi_core_1.default {
3487
3487
  * ```
3488
3488
  * </details>
3489
3489
  * <details>
3490
- * <summary>Example of creating a cloud desktop without a template</summary>
3490
+ * <summary>Sample request parameters for creating a cloud desktop without a template</summary>
3491
3491
  * ```
3492
3492
  * {
3493
3493
  * "RegionId": "cn-hangzhou",
@@ -3507,7 +3507,7 @@ class Client extends openapi_core_1.default {
3507
3507
  * ```
3508
3508
  * </details>
3509
3509
  * <details>
3510
- * <summary>Example of request parameters for creating a monthly hourly package</summary>
3510
+ * <summary>Sample request parameters for creating a cloud desktop with a monthly hourly plan</summary>
3511
3511
  * ```
3512
3512
  * {
3513
3513
  * "RegionId": "cn-hangzhou",
@@ -3532,7 +3532,7 @@ class Client extends openapi_core_1.default {
3532
3532
  * ```
3533
3533
  * </details>
3534
3534
  * <details>
3535
- * <summary>Example of request parameters for creating an agent resource</summary>
3535
+ * <summary>Sample request parameters for creating agent resources</summary>
3536
3536
  * ```
3537
3537
  * {
3538
3538
  * "RegionId": "cn-hangzhou",
@@ -3552,7 +3552,7 @@ class Client extends openapi_core_1.default {
3552
3552
  * }
3553
3553
  * ```
3554
3554
  * </details>
3555
- * To allow the cloud desktop to automatically execute custom command scripts, you can use the UserCommands field to configure custom commands.
3555
+ * To allow cloud desktops to automatically execute custom command scripts, use the `UserCommands` field to configure custom commands.
3556
3556
  *
3557
3557
  * @param request - CreateDesktopsRequest
3558
3558
  * @returns CreateDesktopsResponse
@@ -5457,10 +5457,7 @@ class Client extends openapi_core_1.default {
5457
5457
  return await this.deleteDesktopsWithOptions(request, runtime);
5458
5458
  }
5459
5459
  /**
5460
- * Deletes trusted devices.
5461
- *
5462
- * @remarks
5463
- * You can call the operation to manage client devices.
5460
+ * Deletes a trusted device.
5464
5461
  *
5465
5462
  * @param request - DeleteDevicesRequest
5466
5463
  * @param runtime - runtime options for this request RuntimeOptions
@@ -5498,10 +5495,7 @@ class Client extends openapi_core_1.default {
5498
5495
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteDevicesResponse({}));
5499
5496
  }
5500
5497
  /**
5501
- * Deletes trusted devices.
5502
- *
5503
- * @remarks
5504
- * You can call the operation to manage client devices.
5498
+ * Deletes a trusted device.
5505
5499
  *
5506
5500
  * @param request - DeleteDevicesRequest
5507
5501
  * @returns DeleteDevicesResponse
@@ -10766,10 +10760,10 @@ class Client extends openapi_core_1.default {
10766
10760
  return await this.describeResourceByCenterPolicyIdWithOptions(request, runtime);
10767
10761
  }
10768
10762
  /**
10769
- * Retrieves the statistics on the number of different resources by region.
10763
+ * Queries the statistics on the number of different resources by region.
10770
10764
  *
10771
10765
  * @remarks
10772
- * - This API operation is a centralized operation and can only be called by using the endpoints in the China (Shanghai) or Singapore region.
10766
+ * - This API operation is centralized and can only be called from the Shanghai or Singapore region.
10773
10767
  *
10774
10768
  * @param request - DescribeResourceStatisticByRegionRequest
10775
10769
  * @param runtime - runtime options for this request RuntimeOptions
@@ -10804,10 +10798,10 @@ class Client extends openapi_core_1.default {
10804
10798
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeResourceStatisticByRegionResponse({}));
10805
10799
  }
10806
10800
  /**
10807
- * Retrieves the statistics on the number of different resources by region.
10801
+ * Queries the statistics on the number of different resources by region.
10808
10802
  *
10809
10803
  * @remarks
10810
- * - This API operation is a centralized operation and can only be called by using the endpoints in the China (Shanghai) or Singapore region.
10804
+ * - This API operation is centralized and can only be called from the Shanghai or Singapore region.
10811
10805
  *
10812
10806
  * @param request - DescribeResourceStatisticByRegionRequest
10813
10807
  * @returns DescribeResourceStatisticByRegionResponse
@@ -11455,6 +11449,8 @@ class Client extends openapi_core_1.default {
11455
11449
  return await this.describeUserConnectionRecordsWithOptions(request, runtime);
11456
11450
  }
11457
11451
  /**
11452
+ * Queries the blacklists and whitelists settings for UPM folders.
11453
+ *
11458
11454
  * @param request - DescribeUserProfilePathRulesRequest
11459
11455
  * @param runtime - runtime options for this request RuntimeOptions
11460
11456
  * @returns DescribeUserProfilePathRulesResponse
@@ -11488,6 +11484,8 @@ class Client extends openapi_core_1.default {
11488
11484
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeUserProfilePathRulesResponse({}));
11489
11485
  }
11490
11486
  /**
11487
+ * Queries the blacklists and whitelists settings for UPM folders.
11488
+ *
11491
11489
  * @param request - DescribeUserProfilePathRulesRequest
11492
11490
  * @returns DescribeUserProfilePathRulesResponse
11493
11491
  */
@@ -11755,6 +11753,57 @@ class Client extends openapi_core_1.default {
11755
11753
  let runtime = new $dara.RuntimeOptions({});
11756
11754
  return await this.describeVulDesktopsWithOptions(request, runtime);
11757
11755
  }
11756
+ /**
11757
+ * Queries the details of a vulnerability.
11758
+ *
11759
+ * @param request - DescribeVulDetailsRequest
11760
+ * @param runtime - runtime options for this request RuntimeOptions
11761
+ * @returns DescribeVulDetailsResponse
11762
+ */
11763
+ async describeVulDetailsWithOptions(request, runtime) {
11764
+ request.validate();
11765
+ let query = {};
11766
+ if (!$dara.isNull(request.aliasName)) {
11767
+ query["AliasName"] = request.aliasName;
11768
+ }
11769
+ if (!$dara.isNull(request.lang)) {
11770
+ query["Lang"] = request.lang;
11771
+ }
11772
+ if (!$dara.isNull(request.name)) {
11773
+ query["Name"] = request.name;
11774
+ }
11775
+ if (!$dara.isNull(request.regionId)) {
11776
+ query["RegionId"] = request.regionId;
11777
+ }
11778
+ if (!$dara.isNull(request.type)) {
11779
+ query["Type"] = request.type;
11780
+ }
11781
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
11782
+ query: openapi_core_2.OpenApiUtil.query(query),
11783
+ });
11784
+ let params = new openapi_core_2.$OpenApiUtil.Params({
11785
+ action: "DescribeVulDetails",
11786
+ version: "2020-09-30",
11787
+ protocol: "HTTPS",
11788
+ pathname: "/",
11789
+ method: "POST",
11790
+ authType: "AK",
11791
+ style: "RPC",
11792
+ reqBodyType: "formData",
11793
+ bodyType: "json",
11794
+ });
11795
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeVulDetailsResponse({}));
11796
+ }
11797
+ /**
11798
+ * Queries the details of a vulnerability.
11799
+ *
11800
+ * @param request - DescribeVulDetailsRequest
11801
+ * @returns DescribeVulDetailsResponse
11802
+ */
11803
+ async describeVulDetails(request) {
11804
+ let runtime = new $dara.RuntimeOptions({});
11805
+ return await this.describeVulDetailsWithOptions(request, runtime);
11806
+ }
11758
11807
  /**
11759
11808
  * Retrieves vulnerability information.
11760
11809
  *
@@ -14743,6 +14792,63 @@ class Client extends openapi_core_1.default {
14743
14792
  let runtime = new $dara.RuntimeOptions({});
14744
14793
  return await this.modifyCloudDrivePermissionWithOptions(request, runtime);
14745
14794
  }
14795
+ /**
14796
+ * Modifies the editable properties of a Wuying cloud disk.
14797
+ *
14798
+ * @param request - ModifyCloudDriveServiceRequest
14799
+ * @param runtime - runtime options for this request RuntimeOptions
14800
+ * @returns ModifyCloudDriveServiceResponse
14801
+ */
14802
+ async modifyCloudDriveServiceWithOptions(request, runtime) {
14803
+ request.validate();
14804
+ let query = {};
14805
+ if (!$dara.isNull(request.allowClientDisplay)) {
14806
+ query["AllowClientDisplay"] = request.allowClientDisplay;
14807
+ }
14808
+ if (!$dara.isNull(request.autoCreateUserEnable)) {
14809
+ query["AutoCreateUserEnable"] = request.autoCreateUserEnable;
14810
+ }
14811
+ if (!$dara.isNull(request.autoCreateUserMaxSize)) {
14812
+ query["AutoCreateUserMaxSize"] = request.autoCreateUserMaxSize;
14813
+ }
14814
+ if (!$dara.isNull(request.cdsId)) {
14815
+ query["CdsId"] = request.cdsId;
14816
+ }
14817
+ if (!$dara.isNull(request.cdsName)) {
14818
+ query["CdsName"] = request.cdsName;
14819
+ }
14820
+ if (!$dara.isNull(request.maxSize)) {
14821
+ query["MaxSize"] = request.maxSize;
14822
+ }
14823
+ if (!$dara.isNull(request.regionId)) {
14824
+ query["RegionId"] = request.regionId;
14825
+ }
14826
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
14827
+ query: openapi_core_2.OpenApiUtil.query(query),
14828
+ });
14829
+ let params = new openapi_core_2.$OpenApiUtil.Params({
14830
+ action: "ModifyCloudDriveService",
14831
+ version: "2020-09-30",
14832
+ protocol: "HTTPS",
14833
+ pathname: "/",
14834
+ method: "POST",
14835
+ authType: "AK",
14836
+ style: "RPC",
14837
+ reqBodyType: "formData",
14838
+ bodyType: "json",
14839
+ });
14840
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.ModifyCloudDriveServiceResponse({}));
14841
+ }
14842
+ /**
14843
+ * Modifies the editable properties of a Wuying cloud disk.
14844
+ *
14845
+ * @param request - ModifyCloudDriveServiceRequest
14846
+ * @returns ModifyCloudDriveServiceResponse
14847
+ */
14848
+ async modifyCloudDriveService(request) {
14849
+ let runtime = new $dara.RuntimeOptions({});
14850
+ return await this.modifyCloudDriveServiceWithOptions(request, runtime);
14851
+ }
14746
14852
  /**
14747
14853
  * Modify basic properties of a user\\"s personal disk, such as the status and storage capacity limit.
14748
14854
  *
@@ -15853,6 +15959,51 @@ class Client extends openapi_core_1.default {
15853
15959
  let runtime = new $dara.RuntimeOptions({});
15854
15960
  return await this.modifyNASDefaultMountTargetWithOptions(request, runtime);
15855
15961
  }
15962
+ /**
15963
+ * Modifies the bandwidth of an Internet access package (to be deprecated).
15964
+ *
15965
+ * @param request - ModifyNetworkPackageRequest
15966
+ * @param runtime - runtime options for this request RuntimeOptions
15967
+ * @returns ModifyNetworkPackageResponse
15968
+ */
15969
+ async modifyNetworkPackageWithOptions(request, runtime) {
15970
+ request.validate();
15971
+ let query = {};
15972
+ if (!$dara.isNull(request.bandwidth)) {
15973
+ query["Bandwidth"] = request.bandwidth;
15974
+ }
15975
+ if (!$dara.isNull(request.networkPackageId)) {
15976
+ query["NetworkPackageId"] = request.networkPackageId;
15977
+ }
15978
+ if (!$dara.isNull(request.regionId)) {
15979
+ query["RegionId"] = request.regionId;
15980
+ }
15981
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
15982
+ query: openapi_core_2.OpenApiUtil.query(query),
15983
+ });
15984
+ let params = new openapi_core_2.$OpenApiUtil.Params({
15985
+ action: "ModifyNetworkPackage",
15986
+ version: "2020-09-30",
15987
+ protocol: "HTTPS",
15988
+ pathname: "/",
15989
+ method: "POST",
15990
+ authType: "AK",
15991
+ style: "RPC",
15992
+ reqBodyType: "formData",
15993
+ bodyType: "json",
15994
+ });
15995
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.ModifyNetworkPackageResponse({}));
15996
+ }
15997
+ /**
15998
+ * Modifies the bandwidth of an Internet access package (to be deprecated).
15999
+ *
16000
+ * @param request - ModifyNetworkPackageRequest
16001
+ * @returns ModifyNetworkPackageResponse
16002
+ */
16003
+ async modifyNetworkPackage(request) {
16004
+ let runtime = new $dara.RuntimeOptions({});
16005
+ return await this.modifyNetworkPackageWithOptions(request, runtime);
16006
+ }
15856
16007
  /**
15857
16008
  * Modifies the bandwidth of a premium Internet bandwidth plan.
15858
16009
  *
@@ -16279,6 +16430,48 @@ class Client extends openapi_core_1.default {
16279
16430
  let runtime = new $dara.RuntimeOptions({});
16280
16431
  return await this.modifyOfficeSiteMfaEnabledWithOptions(request, runtime);
16281
16432
  }
16433
+ /**
16434
+ * Modifies the Network Security Protection Settings for an office network.
16435
+ *
16436
+ * @param request - ModifyOfficeSiteSecurityProtectionRequest
16437
+ * @param runtime - runtime options for this request RuntimeOptions
16438
+ * @returns ModifyOfficeSiteSecurityProtectionResponse
16439
+ */
16440
+ async modifyOfficeSiteSecurityProtectionWithOptions(request, runtime) {
16441
+ request.validate();
16442
+ let query = {};
16443
+ if (!$dara.isNull(request.officeSiteIds)) {
16444
+ query["OfficeSiteIds"] = request.officeSiteIds;
16445
+ }
16446
+ if (!$dara.isNull(request.securityProtection)) {
16447
+ query["SecurityProtection"] = request.securityProtection;
16448
+ }
16449
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
16450
+ query: openapi_core_2.OpenApiUtil.query(query),
16451
+ });
16452
+ let params = new openapi_core_2.$OpenApiUtil.Params({
16453
+ action: "ModifyOfficeSiteSecurityProtection",
16454
+ version: "2020-09-30",
16455
+ protocol: "HTTPS",
16456
+ pathname: "/",
16457
+ method: "POST",
16458
+ authType: "AK",
16459
+ style: "RPC",
16460
+ reqBodyType: "formData",
16461
+ bodyType: "json",
16462
+ });
16463
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.ModifyOfficeSiteSecurityProtectionResponse({}));
16464
+ }
16465
+ /**
16466
+ * Modifies the Network Security Protection Settings for an office network.
16467
+ *
16468
+ * @param request - ModifyOfficeSiteSecurityProtectionRequest
16469
+ * @returns ModifyOfficeSiteSecurityProtectionResponse
16470
+ */
16471
+ async modifyOfficeSiteSecurityProtection(request) {
16472
+ let runtime = new $dara.RuntimeOptions({});
16473
+ return await this.modifyOfficeSiteSecurityProtectionWithOptions(request, runtime);
16474
+ }
16282
16475
  /**
16283
16476
  * Modifies a cloud computer policy.
16284
16477
  *
@@ -19054,7 +19247,7 @@ class Client extends openapi_core_1.default {
19054
19247
  return await this.setOfficeSiteSsoStatusWithOptions(request, runtime);
19055
19248
  }
19056
19249
  /**
19057
- * 设置UPM用户目录黑白名单规则
19250
+ * Configures the directory blacklists and whitelists for the UPM feature.
19058
19251
  *
19059
19252
  * @param tmpReq - SetUserProfilePathRulesRequest
19060
19253
  * @param runtime - runtime options for this request RuntimeOptions
@@ -19097,7 +19290,7 @@ class Client extends openapi_core_1.default {
19097
19290
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.SetUserProfilePathRulesResponse({}));
19098
19291
  }
19099
19292
  /**
19100
- * 设置UPM用户目录黑白名单规则
19293
+ * Configures the directory blacklists and whitelists for the UPM feature.
19101
19294
  *
19102
19295
  * @param request - SetUserProfilePathRulesRequest
19103
19296
  * @returns SetUserProfilePathRulesResponse
@@ -19509,7 +19702,7 @@ class Client extends openapi_core_1.default {
19509
19702
  return await this.unlockVirtualMFADeviceWithOptions(request, runtime);
19510
19703
  }
19511
19704
  /**
19512
- * Removes tags from cloud computers. If a removed tag is not added to any cloud computer, the tag is automatically deleted.
19705
+ * Removes tags from cloud computers. If a removed tag is not attached to any cloud computer, the tag is automatically deleted.
19513
19706
  *
19514
19707
  * @param request - UntagResourcesRequest
19515
19708
  * @param runtime - runtime options for this request RuntimeOptions
@@ -19550,7 +19743,7 @@ class Client extends openapi_core_1.default {
19550
19743
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.UntagResourcesResponse({}));
19551
19744
  }
19552
19745
  /**
19553
- * Removes tags from cloud computers. If a removed tag is not added to any cloud computer, the tag is automatically deleted.
19746
+ * Removes tags from cloud computers. If a removed tag is not attached to any cloud computer, the tag is automatically deleted.
19554
19747
  *
19555
19748
  * @param request - UntagResourcesRequest
19556
19749
  * @returns UntagResourcesResponse