@alicloud/ecd20200930 5.8.0 → 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.
- package/dist/client.d.ts +102 -44
- package/dist/client.js +240 -44
- package/dist/client.js.map +1 -1
- package/dist/models/CdsFileShareLinkModel.d.ts +1 -1
- package/dist/models/CreateAdconnectorDirectoryRequest.d.ts +2 -2
- package/dist/models/CreateCenterPolicyRequest.d.ts +1 -1
- package/dist/models/CreateCloudDriveUsersRequest.d.ts +1 -1
- package/dist/models/CreateDesktopsRequest.d.ts +67 -72
- package/dist/models/CreateDesktopsRequest.js.map +1 -1
- package/dist/models/CreateDesktopsResponseBody.d.ts +3 -3
- package/dist/models/CreateDesktopsShrinkRequest.d.ts +51 -56
- package/dist/models/CreateDesktopsShrinkRequest.js.map +1 -1
- package/dist/models/CreateDriveRequest.d.ts +3 -3
- package/dist/models/CreateEcdReportTaskRequest.d.ts +1 -1
- package/dist/models/CreateImageRequest.d.ts +1 -1
- package/dist/models/DeleteDevicesRequest.d.ts +6 -16
- package/dist/models/DeleteDevicesRequest.js.map +1 -1
- package/dist/models/DeleteDevicesResponseBody.d.ts +1 -1
- package/dist/models/DescribeCenterPolicyListResponseBody.d.ts +1 -1
- package/dist/models/DescribeCloudDriveGroupsRequest.d.ts +10 -8
- package/dist/models/DescribeCloudDriveGroupsRequest.js.map +1 -1
- package/dist/models/DescribeCloudDriveGroupsResponseBody.d.ts +7 -7
- package/dist/models/DescribeDesktopIdsByVulNamesRequest.d.ts +1 -1
- package/dist/models/DescribeDesktopIdsByVulNamesResponseBody.d.ts +2 -2
- package/dist/models/DescribeDesktopMetadataRequest.d.ts +2 -2
- package/dist/models/DescribeDesktopSessionsResponseBody.d.ts +1 -1
- package/dist/models/DescribeDesktopsRequest.d.ts +32 -42
- package/dist/models/DescribeDesktopsRequest.js.map +1 -1
- package/dist/models/DescribeDesktopsResponseBody.d.ts +37 -37
- package/dist/models/DescribeFlowMetricResponseBody.d.ts +1 -1
- package/dist/models/DescribeGuestApplicationsResponseBody.d.ts +2 -2
- package/dist/models/DescribePolicyGroupsResponseBody.d.ts +2 -2
- package/dist/models/DescribeRecordFileResponseBody.d.ts +1 -1
- package/dist/models/DescribeResourceStatisticByRegionRequest.d.ts +9 -0
- package/dist/models/DescribeResourceStatisticByRegionRequest.js.map +1 -1
- package/dist/models/DescribeResourceStatisticByRegionResponseBody.d.ts +32 -0
- package/dist/models/DescribeResourceStatisticByRegionResponseBody.js.map +1 -1
- package/dist/models/DescribeUserProfilePathRulesRequest.d.ts +19 -0
- package/dist/models/DescribeUserProfilePathRulesRequest.js.map +1 -1
- package/dist/models/DescribeUserProfilePathRulesResponseBody.d.ts +65 -0
- package/dist/models/DescribeUserProfilePathRulesResponseBody.js.map +1 -1
- package/dist/models/DescribeVulDesktopsRequest.d.ts +21 -22
- package/dist/models/DescribeVulDesktopsRequest.js +2 -0
- package/dist/models/DescribeVulDesktopsRequest.js.map +1 -1
- package/dist/models/DescribeVulDesktopsResponseBody.d.ts +21 -25
- package/dist/models/DescribeVulDesktopsResponseBody.js.map +1 -1
- package/dist/models/DescribeVulDetailsRequest.d.ts +65 -0
- package/dist/models/DescribeVulDetailsRequest.js +66 -0
- package/dist/models/DescribeVulDetailsRequest.js.map +1 -0
- package/dist/models/DescribeVulDetailsResponse.d.ts +19 -0
- package/dist/models/DescribeVulDetailsResponse.js +69 -0
- package/dist/models/DescribeVulDetailsResponse.js.map +1 -0
- package/dist/models/DescribeVulDetailsResponseBody.d.ts +70 -0
- package/dist/models/DescribeVulDetailsResponseBody.js +88 -0
- package/dist/models/DescribeVulDetailsResponseBody.js.map +1 -0
- package/dist/models/DescribeVulnerabilityRequest.d.ts +5 -5
- package/dist/models/DescribeVulnerabilityResponseBody.d.ts +21 -13
- package/dist/models/DescribeVulnerabilityResponseBody.js +2 -0
- package/dist/models/DescribeVulnerabilityResponseBody.js.map +1 -1
- package/dist/models/GetConnectionTicketRequest.d.ts +2 -2
- package/dist/models/GetConnectionTicketResponseBody.d.ts +2 -2
- package/dist/models/ImportDriveRequest.d.ts +4 -4
- package/dist/models/ImportDriveResponseBody.d.ts +4 -4
- package/dist/models/ListInstalledAppsRequest.d.ts +2 -2
- package/dist/models/ModifyAdconnectorDirectoryRequest.d.ts +3 -3
- package/dist/models/ModifyCenterPolicyRequest.d.ts +1 -1
- package/dist/models/ModifyCloudDriveServiceRequest.d.ts +73 -0
- package/dist/models/ModifyCloudDriveServiceRequest.js +70 -0
- package/dist/models/ModifyCloudDriveServiceRequest.js.map +1 -0
- package/dist/models/ModifyCloudDriveServiceResponse.d.ts +19 -0
- package/dist/models/ModifyCloudDriveServiceResponse.js +69 -0
- package/dist/models/ModifyCloudDriveServiceResponse.js.map +1 -0
- package/dist/models/ModifyCloudDriveServiceResponseBody.d.ts +21 -0
- package/dist/models/ModifyCloudDriveServiceResponseBody.js +58 -0
- package/dist/models/ModifyCloudDriveServiceResponseBody.js.map +1 -0
- package/dist/models/ModifyDesktopTimerRequest.d.ts +2 -2
- package/dist/models/ModifyNetworkPackageRequest.d.ts +41 -0
- package/dist/models/ModifyNetworkPackageRequest.js +62 -0
- package/dist/models/ModifyNetworkPackageRequest.js.map +1 -0
- package/dist/models/ModifyNetworkPackageResponse.d.ts +19 -0
- package/dist/models/ModifyNetworkPackageResponse.js +69 -0
- package/dist/models/ModifyNetworkPackageResponse.js.map +1 -0
- package/dist/models/ModifyNetworkPackageResponseBody.d.ts +21 -0
- package/dist/models/ModifyNetworkPackageResponseBody.js +58 -0
- package/dist/models/ModifyNetworkPackageResponseBody.js.map +1 -0
- package/dist/models/ModifyOfficeSiteSecurityProtectionRequest.d.ts +30 -0
- package/dist/models/ModifyOfficeSiteSecurityProtectionRequest.js +63 -0
- package/dist/models/ModifyOfficeSiteSecurityProtectionRequest.js.map +1 -0
- package/dist/models/ModifyOfficeSiteSecurityProtectionResponse.d.ts +19 -0
- package/dist/models/ModifyOfficeSiteSecurityProtectionResponse.js +69 -0
- package/dist/models/ModifyOfficeSiteSecurityProtectionResponse.js.map +1 -0
- package/dist/models/ModifyOfficeSiteSecurityProtectionResponseBody.d.ts +29 -0
- package/dist/models/ModifyOfficeSiteSecurityProtectionResponseBody.js +60 -0
- package/dist/models/ModifyOfficeSiteSecurityProtectionResponseBody.js.map +1 -0
- package/dist/models/QueryHistoryAvgMetricListRequest.d.ts +1 -1
- package/dist/models/QueryHistoryMetricDistributionRequest.d.ts +1 -1
- package/dist/models/SetUserProfilePathRulesRequest.d.ts +59 -0
- package/dist/models/SetUserProfilePathRulesRequest.js.map +1 -1
- package/dist/models/SetUserProfilePathRulesResponseBody.d.ts +7 -0
- package/dist/models/SetUserProfilePathRulesResponseBody.js.map +1 -1
- package/dist/models/SetUserProfilePathRulesShrinkRequest.d.ts +23 -0
- package/dist/models/SetUserProfilePathRulesShrinkRequest.js.map +1 -1
- package/dist/models/UntagResourcesRequest.d.ts +3 -3
- package/dist/models/model.d.ts +13 -0
- package/dist/models/model.js +48 -22
- package/dist/models/model.js.map +1 -1
- package/package.json +2 -2
- package/src/client.ts +266 -44
- package/src/models/CdsFileShareLinkModel.ts +1 -1
- package/src/models/CreateAdconnectorDirectoryRequest.ts +2 -2
- package/src/models/CreateCenterPolicyRequest.ts +1 -1
- package/src/models/CreateCloudDriveUsersRequest.ts +1 -1
- package/src/models/CreateDesktopsRequest.ts +67 -72
- package/src/models/CreateDesktopsResponseBody.ts +3 -3
- package/src/models/CreateDesktopsShrinkRequest.ts +51 -56
- package/src/models/CreateDriveRequest.ts +3 -3
- package/src/models/CreateEcdReportTaskRequest.ts +1 -1
- package/src/models/CreateImageRequest.ts +1 -1
- package/src/models/DeleteDevicesRequest.ts +6 -16
- package/src/models/DeleteDevicesResponseBody.ts +1 -1
- package/src/models/DescribeCenterPolicyListResponseBody.ts +1 -1
- package/src/models/DescribeCloudDriveGroupsRequest.ts +10 -8
- package/src/models/DescribeCloudDriveGroupsResponseBody.ts +7 -7
- package/src/models/DescribeDesktopIdsByVulNamesRequest.ts +1 -1
- package/src/models/DescribeDesktopIdsByVulNamesResponseBody.ts +2 -2
- package/src/models/DescribeDesktopMetadataRequest.ts +2 -2
- package/src/models/DescribeDesktopSessionsResponseBody.ts +1 -1
- package/src/models/DescribeDesktopsRequest.ts +32 -42
- package/src/models/DescribeDesktopsResponseBody.ts +37 -37
- package/src/models/DescribeFlowMetricResponseBody.ts +1 -1
- package/src/models/DescribeGuestApplicationsResponseBody.ts +2 -2
- package/src/models/DescribePolicyGroupsResponseBody.ts +2 -2
- package/src/models/DescribeRecordFileResponseBody.ts +1 -1
- package/src/models/DescribeResourceStatisticByRegionRequest.ts +9 -0
- package/src/models/DescribeResourceStatisticByRegionResponseBody.ts +32 -0
- package/src/models/DescribeUserProfilePathRulesRequest.ts +19 -0
- package/src/models/DescribeUserProfilePathRulesResponseBody.ts +65 -0
- package/src/models/DescribeVulDesktopsRequest.ts +23 -22
- package/src/models/DescribeVulDesktopsResponseBody.ts +21 -25
- package/src/models/DescribeVulDetailsRequest.ts +86 -0
- package/src/models/DescribeVulDetailsResponse.ts +40 -0
- package/src/models/DescribeVulDetailsResponseBody.ts +104 -0
- package/src/models/DescribeVulnerabilityRequest.ts +5 -5
- package/src/models/DescribeVulnerabilityResponseBody.ts +23 -13
- package/src/models/GetConnectionTicketRequest.ts +2 -2
- package/src/models/GetConnectionTicketResponseBody.ts +2 -2
- package/src/models/ImportDriveRequest.ts +4 -4
- package/src/models/ImportDriveResponseBody.ts +4 -4
- package/src/models/ListInstalledAppsRequest.ts +2 -2
- package/src/models/ModifyAdconnectorDirectoryRequest.ts +3 -3
- package/src/models/ModifyCenterPolicyRequest.ts +1 -1
- package/src/models/ModifyCloudDriveServiceRequest.ts +98 -0
- package/src/models/ModifyCloudDriveServiceResponse.ts +40 -0
- package/src/models/ModifyCloudDriveServiceResponseBody.ts +34 -0
- package/src/models/ModifyDesktopTimerRequest.ts +2 -2
- package/src/models/ModifyNetworkPackageRequest.ts +58 -0
- package/src/models/ModifyNetworkPackageResponse.ts +40 -0
- package/src/models/ModifyNetworkPackageResponseBody.ts +34 -0
- package/src/models/ModifyOfficeSiteSecurityProtectionRequest.ts +48 -0
- package/src/models/ModifyOfficeSiteSecurityProtectionResponse.ts +40 -0
- package/src/models/ModifyOfficeSiteSecurityProtectionResponseBody.ts +44 -0
- package/src/models/QueryHistoryAvgMetricListRequest.ts +1 -1
- package/src/models/QueryHistoryMetricDistributionRequest.ts +1 -1
- package/src/models/SetUserProfilePathRulesRequest.ts +59 -0
- package/src/models/SetUserProfilePathRulesResponseBody.ts +7 -0
- package/src/models/SetUserProfilePathRulesShrinkRequest.ts +23 -0
- package/src/models/UntagResourcesRequest.ts +3 -3
- package/src/models/model.ts +13 -0
package/src/client.ts
CHANGED
|
@@ -3743,14 +3743,14 @@ export default class Client extends OpenApi {
|
|
|
3743
3743
|
* Creates one or more cloud desktops. If user information is provided during creation, the cloud desktops are directly assigned.
|
|
3744
3744
|
*
|
|
3745
3745
|
* @remarks
|
|
3746
|
-
* Before
|
|
3747
|
-
* - An office network (formerly workspace) and users are created. For related API operations or documentation,
|
|
3748
|
-
* -
|
|
3749
|
-
* - AD office network: [CreateADConnectorOfficeSite](https://help.aliyun.com/document_detail/215417.html) and [Create
|
|
3750
|
-
* -
|
|
3746
|
+
* Before creating a cloud desktop, complete the following preparations:
|
|
3747
|
+
* - An office network (formerly workspace) and users are created. For related API operations or documentation, refer to:
|
|
3748
|
+
* - Simple office network: [CreateSimpleOfficeSite](https://help.aliyun.com/document_detail/215416.html) and [CreateUsers](https://help.aliyun.com/document_detail/437832.html).
|
|
3749
|
+
* - AD office network: [CreateADConnectorOfficeSite](https://help.aliyun.com/document_detail/215417.html) and [Create AD users](https://help.aliyun.com/document_detail/188619.html).
|
|
3750
|
+
* - [CreatePolicyGroup](https://help.aliyun.com/document_detail/188889.html) is called to create a policy, or an existing policy is used.
|
|
3751
3751
|
* **Call examples:**
|
|
3752
3752
|
* <details>
|
|
3753
|
-
* <summary>
|
|
3753
|
+
* <summary>Sample request parameters for creating a cloud desktop by using a template</summary>
|
|
3754
3754
|
* ```
|
|
3755
3755
|
* {
|
|
3756
3756
|
* "RegionId": "cn-hangzhou",
|
|
@@ -3764,7 +3764,7 @@ export default class Client extends OpenApi {
|
|
|
3764
3764
|
* ```
|
|
3765
3765
|
* </details>
|
|
3766
3766
|
* <details>
|
|
3767
|
-
* <summary>
|
|
3767
|
+
* <summary>Sample request parameters for creating a cloud desktop without a template</summary>
|
|
3768
3768
|
* ```
|
|
3769
3769
|
* {
|
|
3770
3770
|
* "RegionId": "cn-hangzhou",
|
|
@@ -3784,7 +3784,7 @@ export default class Client extends OpenApi {
|
|
|
3784
3784
|
* ```
|
|
3785
3785
|
* </details>
|
|
3786
3786
|
* <details>
|
|
3787
|
-
* <summary>
|
|
3787
|
+
* <summary>Sample request parameters for creating a cloud desktop with a monthly hourly plan</summary>
|
|
3788
3788
|
* ```
|
|
3789
3789
|
* {
|
|
3790
3790
|
* "RegionId": "cn-hangzhou",
|
|
@@ -3809,7 +3809,7 @@ export default class Client extends OpenApi {
|
|
|
3809
3809
|
* ```
|
|
3810
3810
|
* </details>
|
|
3811
3811
|
* <details>
|
|
3812
|
-
* <summary>
|
|
3812
|
+
* <summary>Sample request parameters for creating agent resources</summary>
|
|
3813
3813
|
* ```
|
|
3814
3814
|
* {
|
|
3815
3815
|
* "RegionId": "cn-hangzhou",
|
|
@@ -3829,7 +3829,7 @@ export default class Client extends OpenApi {
|
|
|
3829
3829
|
* }
|
|
3830
3830
|
* ```
|
|
3831
3831
|
* </details>
|
|
3832
|
-
* To allow
|
|
3832
|
+
* To allow cloud desktops to automatically execute custom command scripts, use the `UserCommands` field to configure custom commands.
|
|
3833
3833
|
*
|
|
3834
3834
|
* @param tmpReq - CreateDesktopsRequest
|
|
3835
3835
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4053,14 +4053,14 @@ export default class Client extends OpenApi {
|
|
|
4053
4053
|
* Creates one or more cloud desktops. If user information is provided during creation, the cloud desktops are directly assigned.
|
|
4054
4054
|
*
|
|
4055
4055
|
* @remarks
|
|
4056
|
-
* Before
|
|
4057
|
-
* - An office network (formerly workspace) and users are created. For related API operations or documentation,
|
|
4058
|
-
* -
|
|
4059
|
-
* - AD office network: [CreateADConnectorOfficeSite](https://help.aliyun.com/document_detail/215417.html) and [Create
|
|
4060
|
-
* -
|
|
4056
|
+
* Before creating a cloud desktop, complete the following preparations:
|
|
4057
|
+
* - An office network (formerly workspace) and users are created. For related API operations or documentation, refer to:
|
|
4058
|
+
* - Simple office network: [CreateSimpleOfficeSite](https://help.aliyun.com/document_detail/215416.html) and [CreateUsers](https://help.aliyun.com/document_detail/437832.html).
|
|
4059
|
+
* - AD office network: [CreateADConnectorOfficeSite](https://help.aliyun.com/document_detail/215417.html) and [Create AD users](https://help.aliyun.com/document_detail/188619.html).
|
|
4060
|
+
* - [CreatePolicyGroup](https://help.aliyun.com/document_detail/188889.html) is called to create a policy, or an existing policy is used.
|
|
4061
4061
|
* **Call examples:**
|
|
4062
4062
|
* <details>
|
|
4063
|
-
* <summary>
|
|
4063
|
+
* <summary>Sample request parameters for creating a cloud desktop by using a template</summary>
|
|
4064
4064
|
* ```
|
|
4065
4065
|
* {
|
|
4066
4066
|
* "RegionId": "cn-hangzhou",
|
|
@@ -4074,7 +4074,7 @@ export default class Client extends OpenApi {
|
|
|
4074
4074
|
* ```
|
|
4075
4075
|
* </details>
|
|
4076
4076
|
* <details>
|
|
4077
|
-
* <summary>
|
|
4077
|
+
* <summary>Sample request parameters for creating a cloud desktop without a template</summary>
|
|
4078
4078
|
* ```
|
|
4079
4079
|
* {
|
|
4080
4080
|
* "RegionId": "cn-hangzhou",
|
|
@@ -4094,7 +4094,7 @@ export default class Client extends OpenApi {
|
|
|
4094
4094
|
* ```
|
|
4095
4095
|
* </details>
|
|
4096
4096
|
* <details>
|
|
4097
|
-
* <summary>
|
|
4097
|
+
* <summary>Sample request parameters for creating a cloud desktop with a monthly hourly plan</summary>
|
|
4098
4098
|
* ```
|
|
4099
4099
|
* {
|
|
4100
4100
|
* "RegionId": "cn-hangzhou",
|
|
@@ -4119,7 +4119,7 @@ export default class Client extends OpenApi {
|
|
|
4119
4119
|
* ```
|
|
4120
4120
|
* </details>
|
|
4121
4121
|
* <details>
|
|
4122
|
-
* <summary>
|
|
4122
|
+
* <summary>Sample request parameters for creating agent resources</summary>
|
|
4123
4123
|
* ```
|
|
4124
4124
|
* {
|
|
4125
4125
|
* "RegionId": "cn-hangzhou",
|
|
@@ -4139,7 +4139,7 @@ export default class Client extends OpenApi {
|
|
|
4139
4139
|
* }
|
|
4140
4140
|
* ```
|
|
4141
4141
|
* </details>
|
|
4142
|
-
* To allow
|
|
4142
|
+
* To allow cloud desktops to automatically execute custom command scripts, use the `UserCommands` field to configure custom commands.
|
|
4143
4143
|
*
|
|
4144
4144
|
* @param request - CreateDesktopsRequest
|
|
4145
4145
|
* @returns CreateDesktopsResponse
|
|
@@ -6355,10 +6355,7 @@ export default class Client extends OpenApi {
|
|
|
6355
6355
|
}
|
|
6356
6356
|
|
|
6357
6357
|
/**
|
|
6358
|
-
* Deletes trusted
|
|
6359
|
-
*
|
|
6360
|
-
* @remarks
|
|
6361
|
-
* You can call the operation to manage client devices.
|
|
6358
|
+
* Deletes a trusted device.
|
|
6362
6359
|
*
|
|
6363
6360
|
* @param request - DeleteDevicesRequest
|
|
6364
6361
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6401,10 +6398,7 @@ export default class Client extends OpenApi {
|
|
|
6401
6398
|
}
|
|
6402
6399
|
|
|
6403
6400
|
/**
|
|
6404
|
-
* Deletes trusted
|
|
6405
|
-
*
|
|
6406
|
-
* @remarks
|
|
6407
|
-
* You can call the operation to manage client devices.
|
|
6401
|
+
* Deletes a trusted device.
|
|
6408
6402
|
*
|
|
6409
6403
|
* @param request - DeleteDevicesRequest
|
|
6410
6404
|
* @returns DeleteDevicesResponse
|
|
@@ -12463,10 +12457,10 @@ export default class Client extends OpenApi {
|
|
|
12463
12457
|
}
|
|
12464
12458
|
|
|
12465
12459
|
/**
|
|
12466
|
-
*
|
|
12460
|
+
* Queries the statistics on the number of different resources by region.
|
|
12467
12461
|
*
|
|
12468
12462
|
* @remarks
|
|
12469
|
-
* -
|
|
12463
|
+
* - This API operation is centralized and can only be called from the Shanghai or Singapore region.
|
|
12470
12464
|
*
|
|
12471
12465
|
* @param request - DescribeResourceStatisticByRegionRequest
|
|
12472
12466
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -12505,10 +12499,10 @@ export default class Client extends OpenApi {
|
|
|
12505
12499
|
}
|
|
12506
12500
|
|
|
12507
12501
|
/**
|
|
12508
|
-
*
|
|
12502
|
+
* Queries the statistics on the number of different resources by region.
|
|
12509
12503
|
*
|
|
12510
12504
|
* @remarks
|
|
12511
|
-
* -
|
|
12505
|
+
* - This API operation is centralized and can only be called from the Shanghai or Singapore region.
|
|
12512
12506
|
*
|
|
12513
12507
|
* @param request - DescribeResourceStatisticByRegionRequest
|
|
12514
12508
|
* @returns DescribeResourceStatisticByRegionResponse
|
|
@@ -13257,6 +13251,8 @@ export default class Client extends OpenApi {
|
|
|
13257
13251
|
}
|
|
13258
13252
|
|
|
13259
13253
|
/**
|
|
13254
|
+
* Queries the blacklists and whitelists settings for UPM folders.
|
|
13255
|
+
*
|
|
13260
13256
|
* @param request - DescribeUserProfilePathRulesRequest
|
|
13261
13257
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
13262
13258
|
* @returns DescribeUserProfilePathRulesResponse
|
|
@@ -13294,6 +13290,8 @@ export default class Client extends OpenApi {
|
|
|
13294
13290
|
}
|
|
13295
13291
|
|
|
13296
13292
|
/**
|
|
13293
|
+
* Queries the blacklists and whitelists settings for UPM folders.
|
|
13294
|
+
*
|
|
13297
13295
|
* @param request - DescribeUserProfilePathRulesRequest
|
|
13298
13296
|
* @returns DescribeUserProfilePathRulesResponse
|
|
13299
13297
|
*/
|
|
@@ -13489,11 +13487,11 @@ export default class Client extends OpenApi {
|
|
|
13489
13487
|
}
|
|
13490
13488
|
|
|
13491
13489
|
/**
|
|
13492
|
-
* Retrieves cloud desktop information for
|
|
13490
|
+
* Retrieves the cloud desktop information for vulnerabilities.
|
|
13493
13491
|
*
|
|
13494
13492
|
* @remarks
|
|
13495
|
-
* - This operation uses a centralized endpoint in the Shanghai region. Calls from other regions are not supported.
|
|
13496
|
-
* - The cloud desktop status information returned by this operation has a 1 to 3
|
|
13493
|
+
* - This API operation uses a centralized domain name. The endpoint is in the China (Shanghai) region. Calls from other regions are not supported.
|
|
13494
|
+
* - The cloud desktop status information returned by this API operation has a delay of 1 to 3 seconds compared to the actual values.
|
|
13497
13495
|
*
|
|
13498
13496
|
* @param request - DescribeVulDesktopsRequest
|
|
13499
13497
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -13522,6 +13520,10 @@ export default class Client extends OpenApi {
|
|
|
13522
13520
|
query["IncludeFixResult"] = request.includeFixResult;
|
|
13523
13521
|
}
|
|
13524
13522
|
|
|
13523
|
+
if (!$dara.isNull(request.includePatchTask)) {
|
|
13524
|
+
query["IncludePatchTask"] = request.includePatchTask;
|
|
13525
|
+
}
|
|
13526
|
+
|
|
13525
13527
|
if (!$dara.isNull(request.language)) {
|
|
13526
13528
|
query["Language"] = request.language;
|
|
13527
13529
|
}
|
|
@@ -13588,11 +13590,11 @@ export default class Client extends OpenApi {
|
|
|
13588
13590
|
}
|
|
13589
13591
|
|
|
13590
13592
|
/**
|
|
13591
|
-
* Retrieves cloud desktop information for
|
|
13593
|
+
* Retrieves the cloud desktop information for vulnerabilities.
|
|
13592
13594
|
*
|
|
13593
13595
|
* @remarks
|
|
13594
|
-
* - This operation uses a centralized endpoint in the Shanghai region. Calls from other regions are not supported.
|
|
13595
|
-
* - The cloud desktop status information returned by this operation has a 1 to 3
|
|
13596
|
+
* - This API operation uses a centralized domain name. The endpoint is in the China (Shanghai) region. Calls from other regions are not supported.
|
|
13597
|
+
* - The cloud desktop status information returned by this API operation has a delay of 1 to 3 seconds compared to the actual values.
|
|
13596
13598
|
*
|
|
13597
13599
|
* @param request - DescribeVulDesktopsRequest
|
|
13598
13600
|
* @returns DescribeVulDesktopsResponse
|
|
@@ -13602,11 +13604,69 @@ export default class Client extends OpenApi {
|
|
|
13602
13604
|
return await this.describeVulDesktopsWithOptions(request, runtime);
|
|
13603
13605
|
}
|
|
13604
13606
|
|
|
13607
|
+
/**
|
|
13608
|
+
* Queries the details of a vulnerability.
|
|
13609
|
+
*
|
|
13610
|
+
* @param request - DescribeVulDetailsRequest
|
|
13611
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
13612
|
+
* @returns DescribeVulDetailsResponse
|
|
13613
|
+
*/
|
|
13614
|
+
async describeVulDetailsWithOptions(request: $_model.DescribeVulDetailsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeVulDetailsResponse> {
|
|
13615
|
+
request.validate();
|
|
13616
|
+
let query = { };
|
|
13617
|
+
if (!$dara.isNull(request.aliasName)) {
|
|
13618
|
+
query["AliasName"] = request.aliasName;
|
|
13619
|
+
}
|
|
13620
|
+
|
|
13621
|
+
if (!$dara.isNull(request.lang)) {
|
|
13622
|
+
query["Lang"] = request.lang;
|
|
13623
|
+
}
|
|
13624
|
+
|
|
13625
|
+
if (!$dara.isNull(request.name)) {
|
|
13626
|
+
query["Name"] = request.name;
|
|
13627
|
+
}
|
|
13628
|
+
|
|
13629
|
+
if (!$dara.isNull(request.regionId)) {
|
|
13630
|
+
query["RegionId"] = request.regionId;
|
|
13631
|
+
}
|
|
13632
|
+
|
|
13633
|
+
if (!$dara.isNull(request.type)) {
|
|
13634
|
+
query["Type"] = request.type;
|
|
13635
|
+
}
|
|
13636
|
+
|
|
13637
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
13638
|
+
query: OpenApiUtil.query(query),
|
|
13639
|
+
});
|
|
13640
|
+
let params = new $OpenApiUtil.Params({
|
|
13641
|
+
action: "DescribeVulDetails",
|
|
13642
|
+
version: "2020-09-30",
|
|
13643
|
+
protocol: "HTTPS",
|
|
13644
|
+
pathname: "/",
|
|
13645
|
+
method: "POST",
|
|
13646
|
+
authType: "AK",
|
|
13647
|
+
style: "RPC",
|
|
13648
|
+
reqBodyType: "formData",
|
|
13649
|
+
bodyType: "json",
|
|
13650
|
+
});
|
|
13651
|
+
return $dara.cast<$_model.DescribeVulDetailsResponse>(await this.callApi(params, req, runtime), new $_model.DescribeVulDetailsResponse({}));
|
|
13652
|
+
}
|
|
13653
|
+
|
|
13654
|
+
/**
|
|
13655
|
+
* Queries the details of a vulnerability.
|
|
13656
|
+
*
|
|
13657
|
+
* @param request - DescribeVulDetailsRequest
|
|
13658
|
+
* @returns DescribeVulDetailsResponse
|
|
13659
|
+
*/
|
|
13660
|
+
async describeVulDetails(request: $_model.DescribeVulDetailsRequest): Promise<$_model.DescribeVulDetailsResponse> {
|
|
13661
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
13662
|
+
return await this.describeVulDetailsWithOptions(request, runtime);
|
|
13663
|
+
}
|
|
13664
|
+
|
|
13605
13665
|
/**
|
|
13606
13666
|
* Retrieves vulnerability information.
|
|
13607
13667
|
*
|
|
13608
13668
|
* @remarks
|
|
13609
|
-
* After security protection is enabled, the system automatically scans cloud desktops for system
|
|
13669
|
+
* After security protection is enabled, the system automatically scans cloud desktops for system vulnerability at each epoch (once a day).
|
|
13610
13670
|
*
|
|
13611
13671
|
* @param request - DescribeVulnerabilityRequest
|
|
13612
13672
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -13668,7 +13728,7 @@ export default class Client extends OpenApi {
|
|
|
13668
13728
|
* Retrieves vulnerability information.
|
|
13669
13729
|
*
|
|
13670
13730
|
* @remarks
|
|
13671
|
-
* After security protection is enabled, the system automatically scans cloud desktops for system
|
|
13731
|
+
* After security protection is enabled, the system automatically scans cloud desktops for system vulnerability at each epoch (once a day).
|
|
13672
13732
|
*
|
|
13673
13733
|
* @param request - DescribeVulnerabilityRequest
|
|
13674
13734
|
* @returns DescribeVulnerabilityResponse
|
|
@@ -17094,6 +17154,72 @@ export default class Client extends OpenApi {
|
|
|
17094
17154
|
return await this.modifyCloudDrivePermissionWithOptions(request, runtime);
|
|
17095
17155
|
}
|
|
17096
17156
|
|
|
17157
|
+
/**
|
|
17158
|
+
* Modifies the editable properties of a Wuying cloud disk.
|
|
17159
|
+
*
|
|
17160
|
+
* @param request - ModifyCloudDriveServiceRequest
|
|
17161
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
17162
|
+
* @returns ModifyCloudDriveServiceResponse
|
|
17163
|
+
*/
|
|
17164
|
+
async modifyCloudDriveServiceWithOptions(request: $_model.ModifyCloudDriveServiceRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ModifyCloudDriveServiceResponse> {
|
|
17165
|
+
request.validate();
|
|
17166
|
+
let query = { };
|
|
17167
|
+
if (!$dara.isNull(request.allowClientDisplay)) {
|
|
17168
|
+
query["AllowClientDisplay"] = request.allowClientDisplay;
|
|
17169
|
+
}
|
|
17170
|
+
|
|
17171
|
+
if (!$dara.isNull(request.autoCreateUserEnable)) {
|
|
17172
|
+
query["AutoCreateUserEnable"] = request.autoCreateUserEnable;
|
|
17173
|
+
}
|
|
17174
|
+
|
|
17175
|
+
if (!$dara.isNull(request.autoCreateUserMaxSize)) {
|
|
17176
|
+
query["AutoCreateUserMaxSize"] = request.autoCreateUserMaxSize;
|
|
17177
|
+
}
|
|
17178
|
+
|
|
17179
|
+
if (!$dara.isNull(request.cdsId)) {
|
|
17180
|
+
query["CdsId"] = request.cdsId;
|
|
17181
|
+
}
|
|
17182
|
+
|
|
17183
|
+
if (!$dara.isNull(request.cdsName)) {
|
|
17184
|
+
query["CdsName"] = request.cdsName;
|
|
17185
|
+
}
|
|
17186
|
+
|
|
17187
|
+
if (!$dara.isNull(request.maxSize)) {
|
|
17188
|
+
query["MaxSize"] = request.maxSize;
|
|
17189
|
+
}
|
|
17190
|
+
|
|
17191
|
+
if (!$dara.isNull(request.regionId)) {
|
|
17192
|
+
query["RegionId"] = request.regionId;
|
|
17193
|
+
}
|
|
17194
|
+
|
|
17195
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
17196
|
+
query: OpenApiUtil.query(query),
|
|
17197
|
+
});
|
|
17198
|
+
let params = new $OpenApiUtil.Params({
|
|
17199
|
+
action: "ModifyCloudDriveService",
|
|
17200
|
+
version: "2020-09-30",
|
|
17201
|
+
protocol: "HTTPS",
|
|
17202
|
+
pathname: "/",
|
|
17203
|
+
method: "POST",
|
|
17204
|
+
authType: "AK",
|
|
17205
|
+
style: "RPC",
|
|
17206
|
+
reqBodyType: "formData",
|
|
17207
|
+
bodyType: "json",
|
|
17208
|
+
});
|
|
17209
|
+
return $dara.cast<$_model.ModifyCloudDriveServiceResponse>(await this.callApi(params, req, runtime), new $_model.ModifyCloudDriveServiceResponse({}));
|
|
17210
|
+
}
|
|
17211
|
+
|
|
17212
|
+
/**
|
|
17213
|
+
* Modifies the editable properties of a Wuying cloud disk.
|
|
17214
|
+
*
|
|
17215
|
+
* @param request - ModifyCloudDriveServiceRequest
|
|
17216
|
+
* @returns ModifyCloudDriveServiceResponse
|
|
17217
|
+
*/
|
|
17218
|
+
async modifyCloudDriveService(request: $_model.ModifyCloudDriveServiceRequest): Promise<$_model.ModifyCloudDriveServiceResponse> {
|
|
17219
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
17220
|
+
return await this.modifyCloudDriveServiceWithOptions(request, runtime);
|
|
17221
|
+
}
|
|
17222
|
+
|
|
17097
17223
|
/**
|
|
17098
17224
|
* Modify basic properties of a user\\"s personal disk, such as the status and storage capacity limit.
|
|
17099
17225
|
*
|
|
@@ -18356,6 +18482,56 @@ export default class Client extends OpenApi {
|
|
|
18356
18482
|
return await this.modifyNASDefaultMountTargetWithOptions(request, runtime);
|
|
18357
18483
|
}
|
|
18358
18484
|
|
|
18485
|
+
/**
|
|
18486
|
+
* Modifies the bandwidth of an Internet access package (to be deprecated).
|
|
18487
|
+
*
|
|
18488
|
+
* @param request - ModifyNetworkPackageRequest
|
|
18489
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
18490
|
+
* @returns ModifyNetworkPackageResponse
|
|
18491
|
+
*/
|
|
18492
|
+
async modifyNetworkPackageWithOptions(request: $_model.ModifyNetworkPackageRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ModifyNetworkPackageResponse> {
|
|
18493
|
+
request.validate();
|
|
18494
|
+
let query = { };
|
|
18495
|
+
if (!$dara.isNull(request.bandwidth)) {
|
|
18496
|
+
query["Bandwidth"] = request.bandwidth;
|
|
18497
|
+
}
|
|
18498
|
+
|
|
18499
|
+
if (!$dara.isNull(request.networkPackageId)) {
|
|
18500
|
+
query["NetworkPackageId"] = request.networkPackageId;
|
|
18501
|
+
}
|
|
18502
|
+
|
|
18503
|
+
if (!$dara.isNull(request.regionId)) {
|
|
18504
|
+
query["RegionId"] = request.regionId;
|
|
18505
|
+
}
|
|
18506
|
+
|
|
18507
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
18508
|
+
query: OpenApiUtil.query(query),
|
|
18509
|
+
});
|
|
18510
|
+
let params = new $OpenApiUtil.Params({
|
|
18511
|
+
action: "ModifyNetworkPackage",
|
|
18512
|
+
version: "2020-09-30",
|
|
18513
|
+
protocol: "HTTPS",
|
|
18514
|
+
pathname: "/",
|
|
18515
|
+
method: "POST",
|
|
18516
|
+
authType: "AK",
|
|
18517
|
+
style: "RPC",
|
|
18518
|
+
reqBodyType: "formData",
|
|
18519
|
+
bodyType: "json",
|
|
18520
|
+
});
|
|
18521
|
+
return $dara.cast<$_model.ModifyNetworkPackageResponse>(await this.callApi(params, req, runtime), new $_model.ModifyNetworkPackageResponse({}));
|
|
18522
|
+
}
|
|
18523
|
+
|
|
18524
|
+
/**
|
|
18525
|
+
* Modifies the bandwidth of an Internet access package (to be deprecated).
|
|
18526
|
+
*
|
|
18527
|
+
* @param request - ModifyNetworkPackageRequest
|
|
18528
|
+
* @returns ModifyNetworkPackageResponse
|
|
18529
|
+
*/
|
|
18530
|
+
async modifyNetworkPackage(request: $_model.ModifyNetworkPackageRequest): Promise<$_model.ModifyNetworkPackageResponse> {
|
|
18531
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
18532
|
+
return await this.modifyNetworkPackageWithOptions(request, runtime);
|
|
18533
|
+
}
|
|
18534
|
+
|
|
18359
18535
|
/**
|
|
18360
18536
|
* Modifies the bandwidth of a premium Internet bandwidth plan.
|
|
18361
18537
|
*
|
|
@@ -18840,6 +19016,52 @@ export default class Client extends OpenApi {
|
|
|
18840
19016
|
return await this.modifyOfficeSiteMfaEnabledWithOptions(request, runtime);
|
|
18841
19017
|
}
|
|
18842
19018
|
|
|
19019
|
+
/**
|
|
19020
|
+
* Modifies the Network Security Protection Settings for an office network.
|
|
19021
|
+
*
|
|
19022
|
+
* @param request - ModifyOfficeSiteSecurityProtectionRequest
|
|
19023
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
19024
|
+
* @returns ModifyOfficeSiteSecurityProtectionResponse
|
|
19025
|
+
*/
|
|
19026
|
+
async modifyOfficeSiteSecurityProtectionWithOptions(request: $_model.ModifyOfficeSiteSecurityProtectionRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ModifyOfficeSiteSecurityProtectionResponse> {
|
|
19027
|
+
request.validate();
|
|
19028
|
+
let query = { };
|
|
19029
|
+
if (!$dara.isNull(request.officeSiteIds)) {
|
|
19030
|
+
query["OfficeSiteIds"] = request.officeSiteIds;
|
|
19031
|
+
}
|
|
19032
|
+
|
|
19033
|
+
if (!$dara.isNull(request.securityProtection)) {
|
|
19034
|
+
query["SecurityProtection"] = request.securityProtection;
|
|
19035
|
+
}
|
|
19036
|
+
|
|
19037
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
19038
|
+
query: OpenApiUtil.query(query),
|
|
19039
|
+
});
|
|
19040
|
+
let params = new $OpenApiUtil.Params({
|
|
19041
|
+
action: "ModifyOfficeSiteSecurityProtection",
|
|
19042
|
+
version: "2020-09-30",
|
|
19043
|
+
protocol: "HTTPS",
|
|
19044
|
+
pathname: "/",
|
|
19045
|
+
method: "POST",
|
|
19046
|
+
authType: "AK",
|
|
19047
|
+
style: "RPC",
|
|
19048
|
+
reqBodyType: "formData",
|
|
19049
|
+
bodyType: "json",
|
|
19050
|
+
});
|
|
19051
|
+
return $dara.cast<$_model.ModifyOfficeSiteSecurityProtectionResponse>(await this.callApi(params, req, runtime), new $_model.ModifyOfficeSiteSecurityProtectionResponse({}));
|
|
19052
|
+
}
|
|
19053
|
+
|
|
19054
|
+
/**
|
|
19055
|
+
* Modifies the Network Security Protection Settings for an office network.
|
|
19056
|
+
*
|
|
19057
|
+
* @param request - ModifyOfficeSiteSecurityProtectionRequest
|
|
19058
|
+
* @returns ModifyOfficeSiteSecurityProtectionResponse
|
|
19059
|
+
*/
|
|
19060
|
+
async modifyOfficeSiteSecurityProtection(request: $_model.ModifyOfficeSiteSecurityProtectionRequest): Promise<$_model.ModifyOfficeSiteSecurityProtectionResponse> {
|
|
19061
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
19062
|
+
return await this.modifyOfficeSiteSecurityProtectionWithOptions(request, runtime);
|
|
19063
|
+
}
|
|
19064
|
+
|
|
18843
19065
|
/**
|
|
18844
19066
|
* Modifies a cloud computer policy.
|
|
18845
19067
|
*
|
|
@@ -22020,7 +22242,7 @@ export default class Client extends OpenApi {
|
|
|
22020
22242
|
}
|
|
22021
22243
|
|
|
22022
22244
|
/**
|
|
22023
|
-
*
|
|
22245
|
+
* Configures the directory blacklists and whitelists for the UPM feature.
|
|
22024
22246
|
*
|
|
22025
22247
|
* @param tmpReq - SetUserProfilePathRulesRequest
|
|
22026
22248
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -22069,7 +22291,7 @@ export default class Client extends OpenApi {
|
|
|
22069
22291
|
}
|
|
22070
22292
|
|
|
22071
22293
|
/**
|
|
22072
|
-
*
|
|
22294
|
+
* Configures the directory blacklists and whitelists for the UPM feature.
|
|
22073
22295
|
*
|
|
22074
22296
|
* @param request - SetUserProfilePathRulesRequest
|
|
22075
22297
|
* @returns SetUserProfilePathRulesResponse
|
|
@@ -22528,7 +22750,7 @@ export default class Client extends OpenApi {
|
|
|
22528
22750
|
}
|
|
22529
22751
|
|
|
22530
22752
|
/**
|
|
22531
|
-
* Removes tags from cloud computers. If a removed tag is not
|
|
22753
|
+
* Removes tags from cloud computers. If a removed tag is not attached to any cloud computer, the tag is automatically deleted.
|
|
22532
22754
|
*
|
|
22533
22755
|
* @param request - UntagResourcesRequest
|
|
22534
22756
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -22575,7 +22797,7 @@ export default class Client extends OpenApi {
|
|
|
22575
22797
|
}
|
|
22576
22798
|
|
|
22577
22799
|
/**
|
|
22578
|
-
* Removes tags from cloud computers. If a removed tag is not
|
|
22800
|
+
* Removes tags from cloud computers. If a removed tag is not attached to any cloud computer, the tag is automatically deleted.
|
|
22579
22801
|
*
|
|
22580
22802
|
* @param request - UntagResourcesRequest
|
|
22581
22803
|
* @returns UntagResourcesResponse
|
|
@@ -106,7 +106,7 @@ export class CdsFileShareLinkModel extends $dara.Model {
|
|
|
106
106
|
* The file sharing task IDs.
|
|
107
107
|
*
|
|
108
108
|
* @example
|
|
109
|
-
* [
|
|
109
|
+
* [\"63886f1fe2014d9a5a3348768dcc27dfc57ee103\"]
|
|
110
110
|
*/
|
|
111
111
|
fileIds?: string;
|
|
112
112
|
/**
|
|
@@ -28,7 +28,7 @@ export class CreateADConnectorDirectoryRequest extends $dara.Model {
|
|
|
28
28
|
* This parameter is required.
|
|
29
29
|
*
|
|
30
30
|
* @example
|
|
31
|
-
*
|
|
31
|
+
* `127.0.**.**`
|
|
32
32
|
*/
|
|
33
33
|
dnsAddress?: string[];
|
|
34
34
|
/**
|
|
@@ -102,7 +102,7 @@ export class CreateADConnectorDirectoryRequest extends $dara.Model {
|
|
|
102
102
|
* The DNS address of the existing enterprise AD subdomain. If `SubDomainName` is specified but this parameter is not, the subdomain DNS is considered the same as the parent domain DNS.
|
|
103
103
|
*
|
|
104
104
|
* @example
|
|
105
|
-
*
|
|
105
|
+
* `127.0.**.**`
|
|
106
106
|
*/
|
|
107
107
|
subDomainDnsAddress?: string[];
|
|
108
108
|
/**
|
|
@@ -13,7 +13,7 @@ export class CreateCenterPolicyRequestAppScreenshotBuckets extends $dara.Model {
|
|
|
13
13
|
bucketName?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The region where the user
|
|
16
|
+
* The region where the user\"s OSS bucket is located. It must be the same as the actual region of the bucket.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* cn-beijing
|
|
@@ -32,7 +32,7 @@ export class CreateCloudDriveUsersRequest extends $dara.Model {
|
|
|
32
32
|
regionId?: string;
|
|
33
33
|
/**
|
|
34
34
|
* @remarks
|
|
35
|
-
* The maximum storage capacity of the user
|
|
35
|
+
* The maximum storage capacity of the user\"s personal drive. This value cannot exceed the remaining allocatable capacity of the enterprise network drive. Unit: bytes.
|
|
36
36
|
*
|
|
37
37
|
* This parameter is required.
|
|
38
38
|
*
|