@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/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
|
|
3209
|
-
* - An office network (formerly workspace) and users are created. For related API operations or documentation,
|
|
3210
|
-
* -
|
|
3211
|
-
* - AD office network: [CreateADConnectorOfficeSite](https://help.aliyun.com/document_detail/215417.html) and [Create
|
|
3212
|
-
* -
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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
|
|
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
|
|
3470
|
-
* - An office network (formerly workspace) and users are created. For related API operations or documentation,
|
|
3471
|
-
* -
|
|
3472
|
-
* - AD office network: [CreateADConnectorOfficeSite](https://help.aliyun.com/document_detail/215417.html) and [Create
|
|
3473
|
-
* -
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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
|
|
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
|
|
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
|
|
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
|
-
*
|
|
10763
|
+
* Queries the statistics on the number of different resources by region.
|
|
10770
10764
|
*
|
|
10771
10765
|
* @remarks
|
|
10772
|
-
* -
|
|
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
|
-
*
|
|
10801
|
+
* Queries the statistics on the number of different resources by region.
|
|
10808
10802
|
*
|
|
10809
10803
|
* @remarks
|
|
10810
|
-
* -
|
|
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
|
*/
|
|
@@ -11658,11 +11656,11 @@ class Client extends openapi_core_1.default {
|
|
|
11658
11656
|
return await this.describeVirtualMFADevicesWithOptions(request, runtime);
|
|
11659
11657
|
}
|
|
11660
11658
|
/**
|
|
11661
|
-
* Retrieves cloud desktop information for
|
|
11659
|
+
* Retrieves the cloud desktop information for vulnerabilities.
|
|
11662
11660
|
*
|
|
11663
11661
|
* @remarks
|
|
11664
|
-
* - This operation uses a centralized endpoint in the Shanghai region. Calls from other regions are not supported.
|
|
11665
|
-
* - The cloud desktop status information returned by this operation has a 1 to 3
|
|
11662
|
+
* - This API operation uses a centralized domain name. The endpoint is in the China (Shanghai) region. Calls from other regions are not supported.
|
|
11663
|
+
* - The cloud desktop status information returned by this API operation has a delay of 1 to 3 seconds compared to the actual values.
|
|
11666
11664
|
*
|
|
11667
11665
|
* @param request - DescribeVulDesktopsRequest
|
|
11668
11666
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -11686,6 +11684,9 @@ class Client extends openapi_core_1.default {
|
|
|
11686
11684
|
if (!$dara.isNull(request.includeFixResult)) {
|
|
11687
11685
|
query["IncludeFixResult"] = request.includeFixResult;
|
|
11688
11686
|
}
|
|
11687
|
+
if (!$dara.isNull(request.includePatchTask)) {
|
|
11688
|
+
query["IncludePatchTask"] = request.includePatchTask;
|
|
11689
|
+
}
|
|
11689
11690
|
if (!$dara.isNull(request.language)) {
|
|
11690
11691
|
query["Language"] = request.language;
|
|
11691
11692
|
}
|
|
@@ -11739,11 +11740,11 @@ class Client extends openapi_core_1.default {
|
|
|
11739
11740
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeVulDesktopsResponse({}));
|
|
11740
11741
|
}
|
|
11741
11742
|
/**
|
|
11742
|
-
* Retrieves cloud desktop information for
|
|
11743
|
+
* Retrieves the cloud desktop information for vulnerabilities.
|
|
11743
11744
|
*
|
|
11744
11745
|
* @remarks
|
|
11745
|
-
* - This operation uses a centralized endpoint in the Shanghai region. Calls from other regions are not supported.
|
|
11746
|
-
* - The cloud desktop status information returned by this operation has a 1 to 3
|
|
11746
|
+
* - This API operation uses a centralized domain name. The endpoint is in the China (Shanghai) region. Calls from other regions are not supported.
|
|
11747
|
+
* - The cloud desktop status information returned by this API operation has a delay of 1 to 3 seconds compared to the actual values.
|
|
11747
11748
|
*
|
|
11748
11749
|
* @param request - DescribeVulDesktopsRequest
|
|
11749
11750
|
* @returns DescribeVulDesktopsResponse
|
|
@@ -11752,11 +11753,62 @@ class Client extends openapi_core_1.default {
|
|
|
11752
11753
|
let runtime = new $dara.RuntimeOptions({});
|
|
11753
11754
|
return await this.describeVulDesktopsWithOptions(request, runtime);
|
|
11754
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
|
+
}
|
|
11755
11807
|
/**
|
|
11756
11808
|
* Retrieves vulnerability information.
|
|
11757
11809
|
*
|
|
11758
11810
|
* @remarks
|
|
11759
|
-
* After security protection is enabled, the system automatically scans cloud desktops for system
|
|
11811
|
+
* After security protection is enabled, the system automatically scans cloud desktops for system vulnerability at each epoch (once a day).
|
|
11760
11812
|
*
|
|
11761
11813
|
* @param request - DescribeVulnerabilityRequest
|
|
11762
11814
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -11809,7 +11861,7 @@ class Client extends openapi_core_1.default {
|
|
|
11809
11861
|
* Retrieves vulnerability information.
|
|
11810
11862
|
*
|
|
11811
11863
|
* @remarks
|
|
11812
|
-
* After security protection is enabled, the system automatically scans cloud desktops for system
|
|
11864
|
+
* After security protection is enabled, the system automatically scans cloud desktops for system vulnerability at each epoch (once a day).
|
|
11813
11865
|
*
|
|
11814
11866
|
* @param request - DescribeVulnerabilityRequest
|
|
11815
11867
|
* @returns DescribeVulnerabilityResponse
|
|
@@ -14740,6 +14792,63 @@ class Client extends openapi_core_1.default {
|
|
|
14740
14792
|
let runtime = new $dara.RuntimeOptions({});
|
|
14741
14793
|
return await this.modifyCloudDrivePermissionWithOptions(request, runtime);
|
|
14742
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
|
+
}
|
|
14743
14852
|
/**
|
|
14744
14853
|
* Modify basic properties of a user\\"s personal disk, such as the status and storage capacity limit.
|
|
14745
14854
|
*
|
|
@@ -15850,6 +15959,51 @@ class Client extends openapi_core_1.default {
|
|
|
15850
15959
|
let runtime = new $dara.RuntimeOptions({});
|
|
15851
15960
|
return await this.modifyNASDefaultMountTargetWithOptions(request, runtime);
|
|
15852
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
|
+
}
|
|
15853
16007
|
/**
|
|
15854
16008
|
* Modifies the bandwidth of a premium Internet bandwidth plan.
|
|
15855
16009
|
*
|
|
@@ -16276,6 +16430,48 @@ class Client extends openapi_core_1.default {
|
|
|
16276
16430
|
let runtime = new $dara.RuntimeOptions({});
|
|
16277
16431
|
return await this.modifyOfficeSiteMfaEnabledWithOptions(request, runtime);
|
|
16278
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
|
+
}
|
|
16279
16475
|
/**
|
|
16280
16476
|
* Modifies a cloud computer policy.
|
|
16281
16477
|
*
|
|
@@ -19051,7 +19247,7 @@ class Client extends openapi_core_1.default {
|
|
|
19051
19247
|
return await this.setOfficeSiteSsoStatusWithOptions(request, runtime);
|
|
19052
19248
|
}
|
|
19053
19249
|
/**
|
|
19054
|
-
*
|
|
19250
|
+
* Configures the directory blacklists and whitelists for the UPM feature.
|
|
19055
19251
|
*
|
|
19056
19252
|
* @param tmpReq - SetUserProfilePathRulesRequest
|
|
19057
19253
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -19094,7 +19290,7 @@ class Client extends openapi_core_1.default {
|
|
|
19094
19290
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.SetUserProfilePathRulesResponse({}));
|
|
19095
19291
|
}
|
|
19096
19292
|
/**
|
|
19097
|
-
*
|
|
19293
|
+
* Configures the directory blacklists and whitelists for the UPM feature.
|
|
19098
19294
|
*
|
|
19099
19295
|
* @param request - SetUserProfilePathRulesRequest
|
|
19100
19296
|
* @returns SetUserProfilePathRulesResponse
|
|
@@ -19506,7 +19702,7 @@ class Client extends openapi_core_1.default {
|
|
|
19506
19702
|
return await this.unlockVirtualMFADeviceWithOptions(request, runtime);
|
|
19507
19703
|
}
|
|
19508
19704
|
/**
|
|
19509
|
-
* Removes tags from cloud computers. If a removed tag is not
|
|
19705
|
+
* Removes tags from cloud computers. If a removed tag is not attached to any cloud computer, the tag is automatically deleted.
|
|
19510
19706
|
*
|
|
19511
19707
|
* @param request - UntagResourcesRequest
|
|
19512
19708
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -19547,7 +19743,7 @@ class Client extends openapi_core_1.default {
|
|
|
19547
19743
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UntagResourcesResponse({}));
|
|
19548
19744
|
}
|
|
19549
19745
|
/**
|
|
19550
|
-
* Removes tags from cloud computers. If a removed tag is not
|
|
19746
|
+
* Removes tags from cloud computers. If a removed tag is not attached to any cloud computer, the tag is automatically deleted.
|
|
19551
19747
|
*
|
|
19552
19748
|
* @param request - UntagResourcesRequest
|
|
19553
19749
|
* @returns UntagResourcesResponse
|