@alicloud/ecd20200930 5.6.1 → 5.7.1
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 +104 -72
- package/dist/client.js +188 -72
- package/dist/client.js.map +1 -1
- package/dist/models/BindConfigGroupRequest.d.ts +1 -1
- package/dist/models/CloneCenterPolicyRequest.d.ts +1 -1
- package/dist/models/CloneCenterPolicyResponseBody.d.ts +1 -1
- package/dist/models/CreateAndBindNasFileSystemRequest.d.ts +13 -7
- package/dist/models/CreateAndBindNasFileSystemRequest.js +2 -0
- package/dist/models/CreateAndBindNasFileSystemRequest.js.map +1 -1
- package/dist/models/CreateCenterPolicyRequest.d.ts +71 -69
- package/dist/models/CreateCenterPolicyRequest.js.map +1 -1
- package/dist/models/CreateCenterPolicyResponseBody.d.ts +1 -1
- package/dist/models/CreateConfigGroupRequest.d.ts +15 -16
- package/dist/models/CreateConfigGroupRequest.js.map +1 -1
- package/dist/models/CreateConfigGroupResponseBody.d.ts +1 -1
- package/dist/models/CreateDesktopGroupRequest.d.ts +126 -57
- package/dist/models/CreateDesktopGroupRequest.js.map +1 -1
- package/dist/models/CreateDesktopGroupResponseBody.d.ts +2 -2
- package/dist/models/CreateDriveRequest.d.ts +11 -3
- package/dist/models/CreateDriveRequest.js +5 -0
- package/dist/models/CreateDriveRequest.js.map +1 -1
- package/dist/models/CreateDriveResponseBody.d.ts +8 -8
- package/dist/models/CreateOfficeSiteAcceleratorRequest.d.ts +7 -7
- package/dist/models/CreateOfficeSiteAcceleratorResponseBody.d.ts +1 -1
- package/dist/models/CreatePolicyGroupRequest.d.ts +80 -70
- package/dist/models/CreatePolicyGroupRequest.js.map +1 -1
- package/dist/models/CreatePolicyGroupResponseBody.d.ts +1 -1
- package/dist/models/CreateQosRuleRequest.d.ts +6 -6
- package/dist/models/CreateQosRuleResponseBody.d.ts +1 -1
- package/dist/models/CreateTemplateRequest.d.ts +41 -41
- package/dist/models/CreateTemplateResponseBody.d.ts +2 -2
- package/dist/models/CreateVirtualBridgeRequest.d.ts +11 -11
- package/dist/models/DeleteCenterPolicyRequest.d.ts +1 -1
- package/dist/models/DeleteCloudDriveServicesRequest.d.ts +30 -0
- package/dist/models/DeleteCloudDriveServicesRequest.js +63 -0
- package/dist/models/DeleteCloudDriveServicesRequest.js.map +1 -0
- package/dist/models/DeleteCloudDriveServicesResponse.d.ts +19 -0
- package/dist/models/DeleteCloudDriveServicesResponse.js +69 -0
- package/dist/models/DeleteCloudDriveServicesResponse.js.map +1 -0
- package/dist/models/DeleteCloudDriveServicesResponseBody.d.ts +21 -0
- package/dist/models/DeleteCloudDriveServicesResponseBody.js +58 -0
- package/dist/models/DeleteCloudDriveServicesResponseBody.js.map +1 -0
- package/dist/models/DeleteConfigGroupRequest.d.ts +2 -2
- package/dist/models/DeleteDriveRequest.d.ts +24 -0
- package/dist/models/DeleteDriveRequest.js +6 -0
- package/dist/models/DeleteDriveRequest.js.map +1 -1
- package/dist/models/DeleteDriveResponseBody.d.ts +2 -2
- package/dist/models/DeleteOfficeSiteAcceleratorResponseBody.d.ts +1 -1
- package/dist/models/DeleteTemplatesRequest.d.ts +1 -1
- package/dist/models/DeleteTemplatesResponseBody.d.ts +3 -3
- package/dist/models/DeleteVirtualBridgeResponseBody.d.ts +1 -1
- package/dist/models/DescribeBundlesRequest.d.ts +17 -14
- package/dist/models/DescribeBundlesRequest.js.map +1 -1
- package/dist/models/DescribeBundlesResponseBody.d.ts +20 -20
- package/dist/models/DescribeCenterPolicyListRequest.d.ts +16 -16
- package/dist/models/DescribeCenterPolicyListResponseBody.d.ts +275 -275
- package/dist/models/DescribeDesktopMetadataRequest.d.ts +8 -8
- package/dist/models/DescribeDesktopMetadataResponseBody.d.ts +23 -23
- package/dist/models/DescribeDesktopsInGroupRequest.d.ts +7 -5
- package/dist/models/DescribeDesktopsInGroupRequest.js.map +1 -1
- package/dist/models/DescribeDesktopsInGroupResponseBody.d.ts +29 -32
- package/dist/models/DescribeDesktopsInGroupResponseBody.js.map +1 -1
- package/dist/models/DescribeGlobalTimerRecordsRequest.d.ts +13 -9
- package/dist/models/DescribeGlobalTimerRecordsRequest.js.map +1 -1
- package/dist/models/DescribeGlobalTimerRecordsResponseBody.d.ts +10 -10
- package/dist/models/DescribeNasfileSystemsRequest.d.ts +5 -9
- package/dist/models/DescribeNasfileSystemsRequest.js.map +1 -1
- package/dist/models/DescribeNasfileSystemsResponseBody.d.ts +21 -23
- package/dist/models/DescribeNasfileSystemsResponseBody.js.map +1 -1
- package/dist/models/DescribeOfficeSitesRequest.d.ts +8 -11
- package/dist/models/DescribeOfficeSitesRequest.js.map +1 -1
- package/dist/models/DescribeOfficeSitesResponseBody.d.ts +69 -54
- package/dist/models/DescribeOfficeSitesResponseBody.js +4 -0
- package/dist/models/DescribeOfficeSitesResponseBody.js.map +1 -1
- package/dist/models/DescribeSnapshotsRequest.d.ts +11 -8
- package/dist/models/DescribeSnapshotsRequest.js.map +1 -1
- package/dist/models/DescribeSnapshotsResponseBody.d.ts +11 -11
- package/dist/models/DescribeVirtualMfadevicesRequest.d.ts +5 -5
- package/dist/models/DescribeVirtualMfadevicesResponseBody.d.ts +7 -7
- package/dist/models/GenerateSceneKeyRequest.d.ts +2 -2
- package/dist/models/ImportDriveRequest.d.ts +69 -0
- package/dist/models/ImportDriveRequest.js +68 -0
- package/dist/models/ImportDriveRequest.js.map +1 -0
- package/dist/models/ImportDriveResponse.d.ts +19 -0
- package/dist/models/ImportDriveResponse.js +69 -0
- package/dist/models/ImportDriveResponse.js.map +1 -0
- package/dist/models/ImportDriveResponseBody.d.ts +55 -0
- package/dist/models/ImportDriveResponseBody.js +66 -0
- package/dist/models/ImportDriveResponseBody.js.map +1 -0
- package/dist/models/ListOfficeSiteUsersRequest.d.ts +6 -6
- package/dist/models/ListOfficeSiteUsersResponseBody.d.ts +5 -4
- package/dist/models/ListOfficeSiteUsersResponseBody.js.map +1 -1
- package/dist/models/ModifyCenterPolicyRequest.d.ts +110 -111
- package/dist/models/ModifyCenterPolicyRequest.js.map +1 -1
- package/dist/models/ModifyDesktopChargeTypeRequest.d.ts +12 -12
- package/dist/models/ModifyDesktopChargeTypeResponseBody.d.ts +4 -4
- package/dist/models/ModifyOfficeSiteAttributeRequest.d.ts +20 -12
- package/dist/models/ModifyOfficeSiteAttributeRequest.js +2 -0
- package/dist/models/ModifyOfficeSiteAttributeRequest.js.map +1 -1
- package/dist/models/ModifyPolicyGroupRequest.d.ts +93 -79
- package/dist/models/ModifyPolicyGroupRequest.js.map +1 -1
- package/dist/models/Permission.d.ts +9 -0
- package/dist/models/Permission.js.map +1 -1
- package/dist/models/UntagResourcesRequest.d.ts +3 -9
- package/dist/models/UntagResourcesRequest.js.map +1 -1
- package/dist/models/model.d.ts +6 -0
- package/dist/models/model.js +28 -15
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +206 -72
- package/src/models/BindConfigGroupRequest.ts +1 -1
- package/src/models/CloneCenterPolicyRequest.ts +1 -1
- package/src/models/CloneCenterPolicyResponseBody.ts +1 -1
- package/src/models/CreateAndBindNasFileSystemRequest.ts +15 -7
- package/src/models/CreateCenterPolicyRequest.ts +71 -69
- package/src/models/CreateCenterPolicyResponseBody.ts +1 -1
- package/src/models/CreateConfigGroupRequest.ts +15 -16
- package/src/models/CreateConfigGroupResponseBody.ts +1 -1
- package/src/models/CreateDesktopGroupRequest.ts +126 -57
- package/src/models/CreateDesktopGroupResponseBody.ts +2 -2
- package/src/models/CreateDriveRequest.ts +16 -3
- package/src/models/CreateDriveResponseBody.ts +8 -8
- package/src/models/CreateOfficeSiteAcceleratorRequest.ts +7 -7
- package/src/models/CreateOfficeSiteAcceleratorResponseBody.ts +1 -1
- package/src/models/CreatePolicyGroupRequest.ts +81 -71
- package/src/models/CreatePolicyGroupResponseBody.ts +1 -1
- package/src/models/CreateQosRuleRequest.ts +6 -6
- package/src/models/CreateQosRuleResponseBody.ts +1 -1
- package/src/models/CreateTemplateRequest.ts +41 -41
- package/src/models/CreateTemplateResponseBody.ts +2 -2
- package/src/models/CreateVirtualBridgeRequest.ts +11 -11
- package/src/models/DeleteCenterPolicyRequest.ts +1 -1
- package/src/models/DeleteCloudDriveServicesRequest.ts +48 -0
- package/src/models/DeleteCloudDriveServicesResponse.ts +40 -0
- package/src/models/DeleteCloudDriveServicesResponseBody.ts +34 -0
- package/src/models/DeleteConfigGroupRequest.ts +2 -2
- package/src/models/DeleteDriveRequest.ts +30 -0
- package/src/models/DeleteDriveResponseBody.ts +2 -2
- package/src/models/DeleteOfficeSiteAcceleratorResponseBody.ts +1 -1
- package/src/models/DeleteTemplatesRequest.ts +1 -1
- package/src/models/DeleteTemplatesResponseBody.ts +3 -3
- package/src/models/DeleteVirtualBridgeResponseBody.ts +1 -1
- package/src/models/DescribeBundlesRequest.ts +17 -14
- package/src/models/DescribeBundlesResponseBody.ts +20 -20
- package/src/models/DescribeCenterPolicyListRequest.ts +16 -16
- package/src/models/DescribeCenterPolicyListResponseBody.ts +275 -275
- package/src/models/DescribeDesktopMetadataRequest.ts +8 -8
- package/src/models/DescribeDesktopMetadataResponseBody.ts +23 -23
- package/src/models/DescribeDesktopsInGroupRequest.ts +7 -5
- package/src/models/DescribeDesktopsInGroupResponseBody.ts +29 -32
- package/src/models/DescribeGlobalTimerRecordsRequest.ts +13 -9
- package/src/models/DescribeGlobalTimerRecordsResponseBody.ts +10 -10
- package/src/models/DescribeNasfileSystemsRequest.ts +6 -10
- package/src/models/DescribeNasfileSystemsResponseBody.ts +21 -23
- package/src/models/DescribeOfficeSitesRequest.ts +8 -11
- package/src/models/DescribeOfficeSitesResponseBody.ts +73 -54
- package/src/models/DescribeSnapshotsRequest.ts +11 -8
- package/src/models/DescribeSnapshotsResponseBody.ts +11 -11
- package/src/models/DescribeVirtualMfadevicesRequest.ts +5 -5
- package/src/models/DescribeVirtualMfadevicesResponseBody.ts +7 -7
- package/src/models/GenerateSceneKeyRequest.ts +2 -2
- package/src/models/ImportDriveRequest.ts +92 -0
- package/src/models/ImportDriveResponse.ts +40 -0
- package/src/models/ImportDriveResponseBody.ts +76 -0
- package/src/models/ListOfficeSiteUsersRequest.ts +6 -6
- package/src/models/ListOfficeSiteUsersResponseBody.ts +5 -4
- package/src/models/ModifyCenterPolicyRequest.ts +110 -111
- package/src/models/ModifyDesktopChargeTypeRequest.ts +12 -12
- package/src/models/ModifyDesktopChargeTypeResponseBody.ts +4 -4
- package/src/models/ModifyOfficeSiteAttributeRequest.ts +22 -12
- package/src/models/ModifyPolicyGroupRequest.ts +93 -79
- package/src/models/Permission.ts +9 -0
- package/src/models/UntagResourcesRequest.ts +3 -9
- package/src/models/model.ts +6 -0
package/dist/client.js
CHANGED
|
@@ -975,7 +975,7 @@ class Client extends openapi_core_1.default {
|
|
|
975
975
|
return await this.batchModifyEntitlementWithOptions(request, runtime);
|
|
976
976
|
}
|
|
977
977
|
/**
|
|
978
|
-
* Associates a configuration group with a cloud
|
|
978
|
+
* Associates a configuration group with a cloud desktop or a resource group.
|
|
979
979
|
*
|
|
980
980
|
* @param request - BindConfigGroupRequest
|
|
981
981
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1010,7 +1010,7 @@ class Client extends openapi_core_1.default {
|
|
|
1010
1010
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.BindConfigGroupResponse({}));
|
|
1011
1011
|
}
|
|
1012
1012
|
/**
|
|
1013
|
-
* Associates a configuration group with a cloud
|
|
1013
|
+
* Associates a configuration group with a cloud desktop or a resource group.
|
|
1014
1014
|
*
|
|
1015
1015
|
* @param request - BindConfigGroupRequest
|
|
1016
1016
|
* @returns BindConfigGroupResponse
|
|
@@ -1769,7 +1769,7 @@ class Client extends openapi_core_1.default {
|
|
|
1769
1769
|
return await this.createADConnectorOfficeSiteWithOptions(request, runtime);
|
|
1770
1770
|
}
|
|
1771
1771
|
/**
|
|
1772
|
-
* Creates a NAS file system and
|
|
1772
|
+
* Creates a NAS file system and associates it with the office network of a shared cloud desktop.
|
|
1773
1773
|
*
|
|
1774
1774
|
* @param request - CreateAndBindNasFileSystemRequest
|
|
1775
1775
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1799,6 +1799,9 @@ class Client extends openapi_core_1.default {
|
|
|
1799
1799
|
if (!$dara.isNull(request.regionId)) {
|
|
1800
1800
|
query["RegionId"] = request.regionId;
|
|
1801
1801
|
}
|
|
1802
|
+
if (!$dara.isNull(request.sizeQuota)) {
|
|
1803
|
+
query["SizeQuota"] = request.sizeQuota;
|
|
1804
|
+
}
|
|
1802
1805
|
if (!$dara.isNull(request.storageType)) {
|
|
1803
1806
|
query["StorageType"] = request.storageType;
|
|
1804
1807
|
}
|
|
@@ -1819,7 +1822,7 @@ class Client extends openapi_core_1.default {
|
|
|
1819
1822
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateAndBindNasFileSystemResponse({}));
|
|
1820
1823
|
}
|
|
1821
1824
|
/**
|
|
1822
|
-
* Creates a NAS file system and
|
|
1825
|
+
* Creates a NAS file system and associates it with the office network of a shared cloud desktop.
|
|
1823
1826
|
*
|
|
1824
1827
|
* @param request - CreateAndBindNasFileSystemRequest
|
|
1825
1828
|
* @returns CreateAndBindNasFileSystemResponse
|
|
@@ -2888,10 +2891,11 @@ class Client extends openapi_core_1.default {
|
|
|
2888
2891
|
return await this.createConfigGroupWithOptions(request, runtime);
|
|
2889
2892
|
}
|
|
2890
2893
|
/**
|
|
2891
|
-
* Creates a shared cloud
|
|
2894
|
+
* Creates a shared cloud desktop.
|
|
2892
2895
|
*
|
|
2893
2896
|
* @remarks
|
|
2894
|
-
* - For information about the features, common scenarios, limits, and scaling
|
|
2897
|
+
* - For information about the features, common scenarios, limits, and scaling policy of shared cloud desktops, see [Overview of shared cloud desktops (formerly cloud desktop pools)](https://help.aliyun.com/document_detail/290959.html).
|
|
2898
|
+
* - Before you invoke this operation, make sure that required prerequisite resources such as office networks, cloud desktop templates, and policies are created.
|
|
2895
2899
|
*
|
|
2896
2900
|
* @param request - CreateDesktopGroupRequest
|
|
2897
2901
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3100,10 +3104,11 @@ class Client extends openapi_core_1.default {
|
|
|
3100
3104
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateDesktopGroupResponse({}));
|
|
3101
3105
|
}
|
|
3102
3106
|
/**
|
|
3103
|
-
* Creates a shared cloud
|
|
3107
|
+
* Creates a shared cloud desktop.
|
|
3104
3108
|
*
|
|
3105
3109
|
* @remarks
|
|
3106
|
-
* - For information about the features, common scenarios, limits, and scaling
|
|
3110
|
+
* - For information about the features, common scenarios, limits, and scaling policy of shared cloud desktops, see [Overview of shared cloud desktops (formerly cloud desktop pools)](https://help.aliyun.com/document_detail/290959.html).
|
|
3111
|
+
* - Before you invoke this operation, make sure that required prerequisite resources such as office networks, cloud desktop templates, and policies are created.
|
|
3107
3112
|
*
|
|
3108
3113
|
* @param request - CreateDesktopGroupRequest
|
|
3109
3114
|
* @returns CreateDesktopGroupResponse
|
|
@@ -3620,6 +3625,9 @@ class Client extends openapi_core_1.default {
|
|
|
3620
3625
|
if (!$dara.isNull(request.externalDomainId)) {
|
|
3621
3626
|
query["ExternalDomainId"] = request.externalDomainId;
|
|
3622
3627
|
}
|
|
3628
|
+
if (!$dara.isNull(request.platforms)) {
|
|
3629
|
+
query["Platforms"] = request.platforms;
|
|
3630
|
+
}
|
|
3623
3631
|
if (!$dara.isNull(request.profileRoaming)) {
|
|
3624
3632
|
query["ProfileRoaming"] = request.profileRoaming;
|
|
3625
3633
|
}
|
|
@@ -4040,7 +4048,7 @@ class Client extends openapi_core_1.default {
|
|
|
4040
4048
|
* Enables Global Accelerator (GA) for an office network.
|
|
4041
4049
|
*
|
|
4042
4050
|
* @remarks
|
|
4043
|
-
* Before
|
|
4051
|
+
* Before you call this operation, make sure that you fully understand the billing methods and [pricing](https://help.aliyun.com/document_detail/425831.html) of Global Accelerator (GA).
|
|
4044
4052
|
*
|
|
4045
4053
|
* @param request - CreateOfficeSiteAcceleratorRequest
|
|
4046
4054
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4084,7 +4092,7 @@ class Client extends openapi_core_1.default {
|
|
|
4084
4092
|
* Enables Global Accelerator (GA) for an office network.
|
|
4085
4093
|
*
|
|
4086
4094
|
* @remarks
|
|
4087
|
-
* Before
|
|
4095
|
+
* Before you call this operation, make sure that you fully understand the billing methods and [pricing](https://help.aliyun.com/document_detail/425831.html) of Global Accelerator (GA).
|
|
4088
4096
|
*
|
|
4089
4097
|
* @param request - CreateOfficeSiteAcceleratorRequest
|
|
4090
4098
|
* @returns CreateOfficeSiteAcceleratorResponse
|
|
@@ -4094,10 +4102,10 @@ class Client extends openapi_core_1.default {
|
|
|
4094
4102
|
return await this.createOfficeSiteAcceleratorWithOptions(request, runtime);
|
|
4095
4103
|
}
|
|
4096
4104
|
/**
|
|
4097
|
-
* Creates a cloud
|
|
4105
|
+
* Creates a cloud desktop policy.
|
|
4098
4106
|
*
|
|
4099
4107
|
* @remarks
|
|
4100
|
-
* A cloud
|
|
4108
|
+
* A cloud desktop policy is a collection of rules that mainly includes performance and security configurations for cloud desktops, such as basic policies for disk mapping, USB redirection, and watermarks, as well as rules for DNS control. For more information, see [Policy overview](https://help.aliyun.com/document_detail/189345.html).
|
|
4101
4109
|
*
|
|
4102
4110
|
* @param request - CreatePolicyGroupRequest
|
|
4103
4111
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4294,10 +4302,10 @@ class Client extends openapi_core_1.default {
|
|
|
4294
4302
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreatePolicyGroupResponse({}));
|
|
4295
4303
|
}
|
|
4296
4304
|
/**
|
|
4297
|
-
* Creates a cloud
|
|
4305
|
+
* Creates a cloud desktop policy.
|
|
4298
4306
|
*
|
|
4299
4307
|
* @remarks
|
|
4300
|
-
* A cloud
|
|
4308
|
+
* A cloud desktop policy is a collection of rules that mainly includes performance and security configurations for cloud desktops, such as basic policies for disk mapping, USB redirection, and watermarks, as well as rules for DNS control. For more information, see [Policy overview](https://help.aliyun.com/document_detail/189345.html).
|
|
4301
4309
|
*
|
|
4302
4310
|
* @param request - CreatePolicyGroupRequest
|
|
4303
4311
|
* @returns CreatePolicyGroupResponse
|
|
@@ -4307,10 +4315,10 @@ class Client extends openapi_core_1.default {
|
|
|
4307
4315
|
return await this.createPolicyGroupWithOptions(request, runtime);
|
|
4308
4316
|
}
|
|
4309
4317
|
/**
|
|
4310
|
-
* Creates a
|
|
4318
|
+
* Creates a bandwidth throttling rule.
|
|
4311
4319
|
*
|
|
4312
4320
|
* @remarks
|
|
4313
|
-
* Cloud computer templates
|
|
4321
|
+
* Cloud computer templates are divided into system templates and custom templates. System templates are default templates provided by Alibaba Cloud. You can call this operation to create a custom template.
|
|
4314
4322
|
*
|
|
4315
4323
|
* @param request - CreateQosRuleRequest
|
|
4316
4324
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4357,10 +4365,10 @@ class Client extends openapi_core_1.default {
|
|
|
4357
4365
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateQosRuleResponse({}));
|
|
4358
4366
|
}
|
|
4359
4367
|
/**
|
|
4360
|
-
* Creates a
|
|
4368
|
+
* Creates a bandwidth throttling rule.
|
|
4361
4369
|
*
|
|
4362
4370
|
* @remarks
|
|
4363
|
-
* Cloud computer templates
|
|
4371
|
+
* Cloud computer templates are divided into system templates and custom templates. System templates are default templates provided by Alibaba Cloud. You can call this operation to create a custom template.
|
|
4364
4372
|
*
|
|
4365
4373
|
* @param request - CreateQosRuleRequest
|
|
4366
4374
|
* @returns CreateQosRuleResponse
|
|
@@ -4806,12 +4814,12 @@ class Client extends openapi_core_1.default {
|
|
|
4806
4814
|
return await this.createSubnetWithOptions(request, runtime);
|
|
4807
4815
|
}
|
|
4808
4816
|
/**
|
|
4809
|
-
* Creates a custom cloud
|
|
4817
|
+
* Creates a custom cloud desktop template. A cloud desktop template (template for short) is a collection of cloud desktop configurations used to reduce configuration steps and accelerate the creation of cloud desktops.
|
|
4810
4818
|
*
|
|
4811
4819
|
* @remarks
|
|
4812
4820
|
* When you call this operation, take note of the following items:
|
|
4813
|
-
* - Most parameters in
|
|
4814
|
-
* - For region
|
|
4821
|
+
* - Most parameters in an instance launch template are optional. When you create a template, Alibaba Cloud does not strictly verify the existence and validity of the parameter values in the template. The validity of the parameter values is verified only when an instance is actually created.
|
|
4822
|
+
* - For parameters with region attributes in the template, if the region does not match when you use the template to create a cloud desktop, these parameters do not take effect.
|
|
4815
4823
|
*
|
|
4816
4824
|
* @param request - CreateTemplateRequest
|
|
4817
4825
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4908,12 +4916,12 @@ class Client extends openapi_core_1.default {
|
|
|
4908
4916
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateTemplateResponse({}));
|
|
4909
4917
|
}
|
|
4910
4918
|
/**
|
|
4911
|
-
* Creates a custom cloud
|
|
4919
|
+
* Creates a custom cloud desktop template. A cloud desktop template (template for short) is a collection of cloud desktop configurations used to reduce configuration steps and accelerate the creation of cloud desktops.
|
|
4912
4920
|
*
|
|
4913
4921
|
* @remarks
|
|
4914
4922
|
* When you call this operation, take note of the following items:
|
|
4915
|
-
* - Most parameters in
|
|
4916
|
-
* - For region
|
|
4923
|
+
* - Most parameters in an instance launch template are optional. When you create a template, Alibaba Cloud does not strictly verify the existence and validity of the parameter values in the template. The validity of the parameter values is verified only when an instance is actually created.
|
|
4924
|
+
* - For parameters with region attributes in the template, if the region does not match when you use the template to create a cloud desktop, these parameters do not take effect.
|
|
4917
4925
|
*
|
|
4918
4926
|
* @param request - CreateTemplateRequest
|
|
4919
4927
|
* @returns CreateTemplateResponse
|
|
@@ -4926,7 +4934,7 @@ class Client extends openapi_core_1.default {
|
|
|
4926
4934
|
* Creates a virtual bridge.
|
|
4927
4935
|
*
|
|
4928
4936
|
* @remarks
|
|
4929
|
-
* Deleting an MFA device
|
|
4937
|
+
* Deleting an MFA device dissociates the MFA device, which is equivalent to resetting or disabling the MFA device. The corresponding AD user must bind a new MFA device when logging on to a Cloud Desktop.
|
|
4930
4938
|
*
|
|
4931
4939
|
* @param request - CreateVirtualBridgeRequest
|
|
4932
4940
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4982,7 +4990,7 @@ class Client extends openapi_core_1.default {
|
|
|
4982
4990
|
* Creates a virtual bridge.
|
|
4983
4991
|
*
|
|
4984
4992
|
* @remarks
|
|
4985
|
-
* Deleting an MFA device
|
|
4993
|
+
* Deleting an MFA device dissociates the MFA device, which is equivalent to resetting or disabling the MFA device. The corresponding AD user must bind a new MFA device when logging on to a Cloud Desktop.
|
|
4986
4994
|
*
|
|
4987
4995
|
* @param request - CreateVirtualBridgeRequest
|
|
4988
4996
|
* @returns CreateVirtualBridgeResponse
|
|
@@ -5127,7 +5135,7 @@ class Client extends openapi_core_1.default {
|
|
|
5127
5135
|
return await this.deleteCdsFileWithOptions(request, runtime);
|
|
5128
5136
|
}
|
|
5129
5137
|
/**
|
|
5130
|
-
* Deletes a
|
|
5138
|
+
* Deletes a regionless policy.
|
|
5131
5139
|
*
|
|
5132
5140
|
* @param request - DeleteCenterPolicyRequest
|
|
5133
5141
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5165,7 +5173,7 @@ class Client extends openapi_core_1.default {
|
|
|
5165
5173
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteCenterPolicyResponse({}));
|
|
5166
5174
|
}
|
|
5167
5175
|
/**
|
|
5168
|
-
* Deletes a
|
|
5176
|
+
* Deletes a regionless policy.
|
|
5169
5177
|
*
|
|
5170
5178
|
* @param request - DeleteCenterPolicyRequest
|
|
5171
5179
|
* @returns DeleteCenterPolicyResponse
|
|
@@ -5219,6 +5227,48 @@ class Client extends openapi_core_1.default {
|
|
|
5219
5227
|
let runtime = new $dara.RuntimeOptions({});
|
|
5220
5228
|
return await this.deleteCloudDriveGroupsWithOptions(request, runtime);
|
|
5221
5229
|
}
|
|
5230
|
+
/**
|
|
5231
|
+
* Deletes one or more Wuying cloud disks.
|
|
5232
|
+
*
|
|
5233
|
+
* @param request - DeleteCloudDriveServicesRequest
|
|
5234
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
5235
|
+
* @returns DeleteCloudDriveServicesResponse
|
|
5236
|
+
*/
|
|
5237
|
+
async deleteCloudDriveServicesWithOptions(request, runtime) {
|
|
5238
|
+
request.validate();
|
|
5239
|
+
let query = {};
|
|
5240
|
+
if (!$dara.isNull(request.cdsId)) {
|
|
5241
|
+
query["CdsId"] = request.cdsId;
|
|
5242
|
+
}
|
|
5243
|
+
if (!$dara.isNull(request.regionId)) {
|
|
5244
|
+
query["RegionId"] = request.regionId;
|
|
5245
|
+
}
|
|
5246
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
5247
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
5248
|
+
});
|
|
5249
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
5250
|
+
action: "DeleteCloudDriveServices",
|
|
5251
|
+
version: "2020-09-30",
|
|
5252
|
+
protocol: "HTTPS",
|
|
5253
|
+
pathname: "/",
|
|
5254
|
+
method: "POST",
|
|
5255
|
+
authType: "AK",
|
|
5256
|
+
style: "RPC",
|
|
5257
|
+
reqBodyType: "formData",
|
|
5258
|
+
bodyType: "json",
|
|
5259
|
+
});
|
|
5260
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteCloudDriveServicesResponse({}));
|
|
5261
|
+
}
|
|
5262
|
+
/**
|
|
5263
|
+
* Deletes one or more Wuying cloud disks.
|
|
5264
|
+
*
|
|
5265
|
+
* @param request - DeleteCloudDriveServicesRequest
|
|
5266
|
+
* @returns DeleteCloudDriveServicesResponse
|
|
5267
|
+
*/
|
|
5268
|
+
async deleteCloudDriveServices(request) {
|
|
5269
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
5270
|
+
return await this.deleteCloudDriveServicesWithOptions(request, runtime);
|
|
5271
|
+
}
|
|
5222
5272
|
/**
|
|
5223
5273
|
* Delete the personal drive of a user in WUYING Workspace.
|
|
5224
5274
|
*
|
|
@@ -5265,7 +5315,7 @@ class Client extends openapi_core_1.default {
|
|
|
5265
5315
|
return await this.deleteCloudDriveUsersWithOptions(request, runtime);
|
|
5266
5316
|
}
|
|
5267
5317
|
/**
|
|
5268
|
-
* Deletes
|
|
5318
|
+
* Deletes configuration groups.
|
|
5269
5319
|
*
|
|
5270
5320
|
* @param request - DeleteConfigGroupRequest
|
|
5271
5321
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5297,7 +5347,7 @@ class Client extends openapi_core_1.default {
|
|
|
5297
5347
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteConfigGroupResponse({}));
|
|
5298
5348
|
}
|
|
5299
5349
|
/**
|
|
5300
|
-
* Deletes
|
|
5350
|
+
* Deletes configuration groups.
|
|
5301
5351
|
*
|
|
5302
5352
|
* @param request - DeleteConfigGroupRequest
|
|
5303
5353
|
* @returns DeleteConfigGroupResponse
|
|
@@ -5518,9 +5568,18 @@ class Client extends openapi_core_1.default {
|
|
|
5518
5568
|
async deleteDriveWithOptions(request, runtime) {
|
|
5519
5569
|
request.validate();
|
|
5520
5570
|
let query = {};
|
|
5571
|
+
if (!$dara.isNull(request.domainId)) {
|
|
5572
|
+
query["DomainId"] = request.domainId;
|
|
5573
|
+
}
|
|
5521
5574
|
if (!$dara.isNull(request.driveId)) {
|
|
5522
5575
|
query["DriveId"] = request.driveId;
|
|
5523
5576
|
}
|
|
5577
|
+
if (!$dara.isNull(request.endUserId)) {
|
|
5578
|
+
query["EndUserId"] = request.endUserId;
|
|
5579
|
+
}
|
|
5580
|
+
if (!$dara.isNull(request.officeSiteId)) {
|
|
5581
|
+
query["OfficeSiteId"] = request.officeSiteId;
|
|
5582
|
+
}
|
|
5524
5583
|
if (!$dara.isNull(request.regionId)) {
|
|
5525
5584
|
query["RegionId"] = request.regionId;
|
|
5526
5585
|
}
|
|
@@ -5826,7 +5885,7 @@ class Client extends openapi_core_1.default {
|
|
|
5826
5885
|
return await this.deleteNetworkPackagesWithOptions(request, runtime);
|
|
5827
5886
|
}
|
|
5828
5887
|
/**
|
|
5829
|
-
* Deletes
|
|
5888
|
+
* Deletes the Global Accelerator configuration.
|
|
5830
5889
|
*
|
|
5831
5890
|
* @param request - DeleteOfficeSiteAcceleratorRequest
|
|
5832
5891
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5858,7 +5917,7 @@ class Client extends openapi_core_1.default {
|
|
|
5858
5917
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteOfficeSiteAcceleratorResponse({}));
|
|
5859
5918
|
}
|
|
5860
5919
|
/**
|
|
5861
|
-
* Deletes
|
|
5920
|
+
* Deletes the Global Accelerator configuration.
|
|
5862
5921
|
*
|
|
5863
5922
|
* @param request - DeleteOfficeSiteAcceleratorRequest
|
|
5864
5923
|
* @returns DeleteOfficeSiteAcceleratorResponse
|
|
@@ -5972,7 +6031,7 @@ class Client extends openapi_core_1.default {
|
|
|
5972
6031
|
return await this.deletePolicyGroupsWithOptions(request, runtime);
|
|
5973
6032
|
}
|
|
5974
6033
|
/**
|
|
5975
|
-
* Deletes QoS
|
|
6034
|
+
* Deletes a QoS rule.
|
|
5976
6035
|
*
|
|
5977
6036
|
* @param request - DeleteQosRulesRequest
|
|
5978
6037
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6001,7 +6060,7 @@ class Client extends openapi_core_1.default {
|
|
|
6001
6060
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteQosRulesResponse({}));
|
|
6002
6061
|
}
|
|
6003
6062
|
/**
|
|
6004
|
-
* Deletes QoS
|
|
6063
|
+
* Deletes a QoS rule.
|
|
6005
6064
|
*
|
|
6006
6065
|
* @param request - DeleteQosRulesRequest
|
|
6007
6066
|
* @returns DeleteQosRulesResponse
|
|
@@ -6239,10 +6298,10 @@ class Client extends openapi_core_1.default {
|
|
|
6239
6298
|
return await this.deleteSubnetWithOptions(request, runtime);
|
|
6240
6299
|
}
|
|
6241
6300
|
/**
|
|
6242
|
-
* Deletes a custom cloud
|
|
6301
|
+
* Deletes a custom cloud desktop template.
|
|
6243
6302
|
*
|
|
6244
6303
|
* @remarks
|
|
6245
|
-
* After a template is deleted, cloud
|
|
6304
|
+
* After a template is deleted, cloud desktops created based on the template and resources associated with the template are not affected.
|
|
6246
6305
|
*
|
|
6247
6306
|
* @param request - DeleteTemplatesRequest
|
|
6248
6307
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6274,10 +6333,10 @@ class Client extends openapi_core_1.default {
|
|
|
6274
6333
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteTemplatesResponse({}));
|
|
6275
6334
|
}
|
|
6276
6335
|
/**
|
|
6277
|
-
* Deletes a custom cloud
|
|
6336
|
+
* Deletes a custom cloud desktop template.
|
|
6278
6337
|
*
|
|
6279
6338
|
* @remarks
|
|
6280
|
-
* After a template is deleted, cloud
|
|
6339
|
+
* After a template is deleted, cloud desktops created based on the template and resources associated with the template are not affected.
|
|
6281
6340
|
*
|
|
6282
6341
|
* @param request - DeleteTemplatesRequest
|
|
6283
6342
|
* @returns DeleteTemplatesResponse
|
|
@@ -6290,7 +6349,7 @@ class Client extends openapi_core_1.default {
|
|
|
6290
6349
|
* Modifies the status of a virtual bridge.
|
|
6291
6350
|
*
|
|
6292
6351
|
* @remarks
|
|
6293
|
-
* Deleting an MFA device unbinds the
|
|
6352
|
+
* Deleting an MFA device unbinds the device, which is equivalent to resetting and disabling it. The corresponding Active Directory (AD) user must bind a new MFA device when logging on to a Cloud Desktop.
|
|
6294
6353
|
*
|
|
6295
6354
|
* @param request - DeleteVirtualBridgeRequest
|
|
6296
6355
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6325,7 +6384,7 @@ class Client extends openapi_core_1.default {
|
|
|
6325
6384
|
* Modifies the status of a virtual bridge.
|
|
6326
6385
|
*
|
|
6327
6386
|
* @remarks
|
|
6328
|
-
* Deleting an MFA device unbinds the
|
|
6387
|
+
* Deleting an MFA device unbinds the device, which is equivalent to resetting and disabling it. The corresponding Active Directory (AD) user must bind a new MFA device when logging on to a Cloud Desktop.
|
|
6329
6388
|
*
|
|
6330
6389
|
* @param request - DeleteVirtualBridgeRequest
|
|
6331
6390
|
* @returns DeleteVirtualBridgeResponse
|
|
@@ -6488,7 +6547,7 @@ class Client extends openapi_core_1.default {
|
|
|
6488
6547
|
return await this.describeAutoSnapshotPolicyWithOptions(request, runtime);
|
|
6489
6548
|
}
|
|
6490
6549
|
/**
|
|
6491
|
-
* Queries the details of cloud
|
|
6550
|
+
* Queries the details of cloud desktop templates.
|
|
6492
6551
|
*
|
|
6493
6552
|
* @param request - DescribeBundlesRequest
|
|
6494
6553
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6577,7 +6636,7 @@ class Client extends openapi_core_1.default {
|
|
|
6577
6636
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeBundlesResponse({}));
|
|
6578
6637
|
}
|
|
6579
6638
|
/**
|
|
6580
|
-
* Queries the details of cloud
|
|
6639
|
+
* Queries the details of cloud desktop templates.
|
|
6581
6640
|
*
|
|
6582
6641
|
* @param request - DescribeBundlesRequest
|
|
6583
6642
|
* @returns DescribeBundlesResponse
|
|
@@ -6689,7 +6748,7 @@ class Client extends openapi_core_1.default {
|
|
|
6689
6748
|
return await this.describeCensWithOptions(request, runtime);
|
|
6690
6749
|
}
|
|
6691
6750
|
/**
|
|
6692
|
-
*
|
|
6751
|
+
* Queries the details of regionless policies.
|
|
6693
6752
|
*
|
|
6694
6753
|
* @param request - DescribeCenterPolicyListRequest
|
|
6695
6754
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6742,7 +6801,7 @@ class Client extends openapi_core_1.default {
|
|
|
6742
6801
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeCenterPolicyListResponse({}));
|
|
6743
6802
|
}
|
|
6744
6803
|
/**
|
|
6745
|
-
*
|
|
6804
|
+
* Queries the details of regionless policies.
|
|
6746
6805
|
*
|
|
6747
6806
|
* @param request - DescribeCenterPolicyListRequest
|
|
6748
6807
|
* @returns DescribeCenterPolicyListResponse
|
|
@@ -7527,10 +7586,10 @@ class Client extends openapi_core_1.default {
|
|
|
7527
7586
|
return await this.describeDesktopInfoWithOptions(request, runtime);
|
|
7528
7587
|
}
|
|
7529
7588
|
/**
|
|
7530
|
-
* Queries
|
|
7589
|
+
* Queries a list of cloud desktops and their metadata across all regions.
|
|
7531
7590
|
*
|
|
7532
7591
|
* @remarks
|
|
7533
|
-
* This is
|
|
7592
|
+
* This operation is centralized and supports queries only in the Shanghai and Singapore sites.
|
|
7534
7593
|
*
|
|
7535
7594
|
* @param request - DescribeDesktopMetadataRequest
|
|
7536
7595
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7601,10 +7660,10 @@ class Client extends openapi_core_1.default {
|
|
|
7601
7660
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeDesktopMetadataResponse({}));
|
|
7602
7661
|
}
|
|
7603
7662
|
/**
|
|
7604
|
-
* Queries
|
|
7663
|
+
* Queries a list of cloud desktops and their metadata across all regions.
|
|
7605
7664
|
*
|
|
7606
7665
|
* @remarks
|
|
7607
|
-
* This is
|
|
7666
|
+
* This operation is centralized and supports queries only in the Shanghai and Singapore sites.
|
|
7608
7667
|
*
|
|
7609
7668
|
* @param request - DescribeDesktopMetadataRequest
|
|
7610
7669
|
* @returns DescribeDesktopMetadataResponse
|
|
@@ -8118,7 +8177,7 @@ class Client extends openapi_core_1.default {
|
|
|
8118
8177
|
return await this.describeDesktopsWithOptions(request, runtime);
|
|
8119
8178
|
}
|
|
8120
8179
|
/**
|
|
8121
|
-
* Queries the
|
|
8180
|
+
* Queries the cloud desktops in a shared cloud desktop by billing method.
|
|
8122
8181
|
*
|
|
8123
8182
|
* @param request - DescribeDesktopsInGroupRequest
|
|
8124
8183
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8168,7 +8227,7 @@ class Client extends openapi_core_1.default {
|
|
|
8168
8227
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeDesktopsInGroupResponse({}));
|
|
8169
8228
|
}
|
|
8170
8229
|
/**
|
|
8171
|
-
* Queries the
|
|
8230
|
+
* Queries the cloud desktops in a shared cloud desktop by billing method.
|
|
8172
8231
|
*
|
|
8173
8232
|
* @param request - DescribeDesktopsInGroupRequest
|
|
8174
8233
|
* @returns DescribeDesktopsInGroupResponse
|
|
@@ -8805,7 +8864,7 @@ class Client extends openapi_core_1.default {
|
|
|
8805
8864
|
return await this.describeGlobalTimerBatchesWithOptions(request, runtime);
|
|
8806
8865
|
}
|
|
8807
8866
|
/**
|
|
8808
|
-
* Queries the execution records of scheduled tasks for cloud
|
|
8867
|
+
* Queries the execution records of scheduled tasks for cloud desktops across regions.
|
|
8809
8868
|
*
|
|
8810
8869
|
* @param request - DescribeGlobalTimerRecordsRequest
|
|
8811
8870
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8873,7 +8932,7 @@ class Client extends openapi_core_1.default {
|
|
|
8873
8932
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeGlobalTimerRecordsResponse({}));
|
|
8874
8933
|
}
|
|
8875
8934
|
/**
|
|
8876
|
-
* Queries the execution records of scheduled tasks for cloud
|
|
8935
|
+
* Queries the execution records of scheduled tasks for cloud desktops across regions.
|
|
8877
8936
|
*
|
|
8878
8937
|
* @param request - DescribeGlobalTimerRecordsRequest
|
|
8879
8938
|
* @returns DescribeGlobalTimerRecordsResponse
|
|
@@ -9566,7 +9625,7 @@ class Client extends openapi_core_1.default {
|
|
|
9566
9625
|
return await this.describeOfficeSiteBridgeInfoWithOptions(request, runtime);
|
|
9567
9626
|
}
|
|
9568
9627
|
/**
|
|
9569
|
-
* Queries all
|
|
9628
|
+
* Queries all properties of an office network, including the ID, name, status, and creation time.
|
|
9570
9629
|
*
|
|
9571
9630
|
* @param request - DescribeOfficeSitesRequest
|
|
9572
9631
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -9619,7 +9678,7 @@ class Client extends openapi_core_1.default {
|
|
|
9619
9678
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeOfficeSitesResponse({}));
|
|
9620
9679
|
}
|
|
9621
9680
|
/**
|
|
9622
|
-
* Queries all
|
|
9681
|
+
* Queries all properties of an office network, including the ID, name, status, and creation time.
|
|
9623
9682
|
*
|
|
9624
9683
|
* @param request - DescribeOfficeSitesRequest
|
|
9625
9684
|
* @returns DescribeOfficeSitesResponse
|
|
@@ -10862,7 +10921,7 @@ class Client extends openapi_core_1.default {
|
|
|
10862
10921
|
return await this.describeSessionStatisticWithOptions(request, runtime);
|
|
10863
10922
|
}
|
|
10864
10923
|
/**
|
|
10865
|
-
* Queries the
|
|
10924
|
+
* Queries the snapshots and their details for a cloud desktop.
|
|
10866
10925
|
*
|
|
10867
10926
|
* @param request - DescribeSnapshotsRequest
|
|
10868
10927
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -10930,7 +10989,7 @@ class Client extends openapi_core_1.default {
|
|
|
10930
10989
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeSnapshotsResponse({}));
|
|
10931
10990
|
}
|
|
10932
10991
|
/**
|
|
10933
|
-
* Queries the
|
|
10992
|
+
* Queries the snapshots and their details for a cloud desktop.
|
|
10934
10993
|
*
|
|
10935
10994
|
* @param request - DescribeSnapshotsRequest
|
|
10936
10995
|
* @returns DescribeSnapshotsResponse
|
|
@@ -12285,7 +12344,7 @@ class Client extends openapi_core_1.default {
|
|
|
12285
12344
|
return await this.exportDesktopListInfoWithOptions(request, runtime);
|
|
12286
12345
|
}
|
|
12287
12346
|
/**
|
|
12288
|
-
* Generates
|
|
12347
|
+
* Generates a scenario access key.
|
|
12289
12348
|
*
|
|
12290
12349
|
* @param request - GenerateSceneKeyRequest
|
|
12291
12350
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -12323,7 +12382,7 @@ class Client extends openapi_core_1.default {
|
|
|
12323
12382
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GenerateSceneKeyResponse({}));
|
|
12324
12383
|
}
|
|
12325
12384
|
/**
|
|
12326
|
-
* Generates
|
|
12385
|
+
* Generates a scenario access key.
|
|
12327
12386
|
*
|
|
12328
12387
|
* @param request - GenerateSceneKeyRequest
|
|
12329
12388
|
* @returns GenerateSceneKeyResponse
|
|
@@ -12716,6 +12775,60 @@ class Client extends openapi_core_1.default {
|
|
|
12716
12775
|
let runtime = new $dara.RuntimeOptions({});
|
|
12717
12776
|
return await this.hibernateDesktopsWithOptions(request, runtime);
|
|
12718
12777
|
}
|
|
12778
|
+
/**
|
|
12779
|
+
* Imports a UPM user VHD.
|
|
12780
|
+
*
|
|
12781
|
+
* @param request - ImportDriveRequest
|
|
12782
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
12783
|
+
* @returns ImportDriveResponse
|
|
12784
|
+
*/
|
|
12785
|
+
async importDriveWithOptions(request, runtime) {
|
|
12786
|
+
request.validate();
|
|
12787
|
+
let query = {};
|
|
12788
|
+
if (!$dara.isNull(request.domainId)) {
|
|
12789
|
+
query["DomainId"] = request.domainId;
|
|
12790
|
+
}
|
|
12791
|
+
if (!$dara.isNull(request.endUserId)) {
|
|
12792
|
+
query["EndUserId"] = request.endUserId;
|
|
12793
|
+
}
|
|
12794
|
+
if (!$dara.isNull(request.forceUpdate)) {
|
|
12795
|
+
query["ForceUpdate"] = request.forceUpdate;
|
|
12796
|
+
}
|
|
12797
|
+
if (!$dara.isNull(request.mountUrl)) {
|
|
12798
|
+
query["MountUrl"] = request.mountUrl;
|
|
12799
|
+
}
|
|
12800
|
+
if (!$dara.isNull(request.platform)) {
|
|
12801
|
+
query["Platform"] = request.platform;
|
|
12802
|
+
}
|
|
12803
|
+
if (!$dara.isNull(request.regionId)) {
|
|
12804
|
+
query["RegionId"] = request.regionId;
|
|
12805
|
+
}
|
|
12806
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
12807
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
12808
|
+
});
|
|
12809
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
12810
|
+
action: "ImportDrive",
|
|
12811
|
+
version: "2020-09-30",
|
|
12812
|
+
protocol: "HTTPS",
|
|
12813
|
+
pathname: "/",
|
|
12814
|
+
method: "POST",
|
|
12815
|
+
authType: "AK",
|
|
12816
|
+
style: "RPC",
|
|
12817
|
+
reqBodyType: "formData",
|
|
12818
|
+
bodyType: "json",
|
|
12819
|
+
});
|
|
12820
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ImportDriveResponse({}));
|
|
12821
|
+
}
|
|
12822
|
+
/**
|
|
12823
|
+
* Imports a UPM user VHD.
|
|
12824
|
+
*
|
|
12825
|
+
* @param request - ImportDriveRequest
|
|
12826
|
+
* @returns ImportDriveResponse
|
|
12827
|
+
*/
|
|
12828
|
+
async importDrive(request) {
|
|
12829
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
12830
|
+
return await this.importDriveWithOptions(request, runtime);
|
|
12831
|
+
}
|
|
12719
12832
|
/**
|
|
12720
12833
|
* Queries the file list in a cloud drive and retrieves download URLs for files.
|
|
12721
12834
|
*
|
|
@@ -14670,13 +14783,13 @@ class Client extends openapi_core_1.default {
|
|
|
14670
14783
|
return await this.modifyCustomizedListHeadersWithOptions(request, runtime);
|
|
14671
14784
|
}
|
|
14672
14785
|
/**
|
|
14673
|
-
*
|
|
14786
|
+
* Changes the billing method of a cloud desktop to subscription or pay-as-you-go.
|
|
14674
14787
|
*
|
|
14675
14788
|
* @remarks
|
|
14676
|
-
* - Before you
|
|
14677
|
-
* - When you
|
|
14678
|
-
* - After the order is paid, the system starts to
|
|
14679
|
-
* <props="china">When you
|
|
14789
|
+
* - Before you call this operation, make sure that you fully understand the billing methods of cloud desktops. For more information, see [Billing overview](https://help.aliyun.com/document_detail/188395.html).
|
|
14790
|
+
* - When you call this operation, make sure that the target cloud desktop is in the Running or Stopped state and has no overdue payments.
|
|
14791
|
+
* - After the order is paid, the system starts to change the billing method of the cloud desktop. During the change, the cloud desktop is in the Upgrade/Downgrade state and does not support other operations, such as starting, stopping, or changing configurations.
|
|
14792
|
+
* <props="china">When you change the billing method from subscription to pay-as-you-go, a refund quota limit applies. For more information, see [Change the billing method from subscription to pay-as-you-go](https://help.aliyun.com/document_detail/439964.html).
|
|
14680
14793
|
*
|
|
14681
14794
|
* @param request - ModifyDesktopChargeTypeRequest
|
|
14682
14795
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -14729,13 +14842,13 @@ class Client extends openapi_core_1.default {
|
|
|
14729
14842
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ModifyDesktopChargeTypeResponse({}));
|
|
14730
14843
|
}
|
|
14731
14844
|
/**
|
|
14732
|
-
*
|
|
14845
|
+
* Changes the billing method of a cloud desktop to subscription or pay-as-you-go.
|
|
14733
14846
|
*
|
|
14734
14847
|
* @remarks
|
|
14735
|
-
* - Before you
|
|
14736
|
-
* - When you
|
|
14737
|
-
* - After the order is paid, the system starts to
|
|
14738
|
-
* <props="china">When you
|
|
14848
|
+
* - Before you call this operation, make sure that you fully understand the billing methods of cloud desktops. For more information, see [Billing overview](https://help.aliyun.com/document_detail/188395.html).
|
|
14849
|
+
* - When you call this operation, make sure that the target cloud desktop is in the Running or Stopped state and has no overdue payments.
|
|
14850
|
+
* - After the order is paid, the system starts to change the billing method of the cloud desktop. During the change, the cloud desktop is in the Upgrade/Downgrade state and does not support other operations, such as starting, stopping, or changing configurations.
|
|
14851
|
+
* <props="china">When you change the billing method from subscription to pay-as-you-go, a refund quota limit applies. For more information, see [Change the billing method from subscription to pay-as-you-go](https://help.aliyun.com/document_detail/439964.html).
|
|
14739
14852
|
*
|
|
14740
14853
|
* @param request - ModifyDesktopChargeTypeRequest
|
|
14741
14854
|
* @returns ModifyDesktopChargeTypeResponse
|
|
@@ -15786,7 +15899,7 @@ class Client extends openapi_core_1.default {
|
|
|
15786
15899
|
return await this.modifyOfficeSiteAcceleratorWithOptions(request, runtime);
|
|
15787
15900
|
}
|
|
15788
15901
|
/**
|
|
15789
|
-
* Modifies the basic
|
|
15902
|
+
* Modifies the basic properties of an office network (formerly workspace), such as the office network name and whether to grant local administrator permissions to users of cloud desktops.
|
|
15790
15903
|
*
|
|
15791
15904
|
* @param request - ModifyOfficeSiteAttributeRequest
|
|
15792
15905
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -15813,6 +15926,9 @@ class Client extends openapi_core_1.default {
|
|
|
15813
15926
|
if (!$dara.isNull(request.enableAdminAccess)) {
|
|
15814
15927
|
query["EnableAdminAccess"] = request.enableAdminAccess;
|
|
15815
15928
|
}
|
|
15929
|
+
if (!$dara.isNull(request.enableUpm)) {
|
|
15930
|
+
query["EnableUpm"] = request.enableUpm;
|
|
15931
|
+
}
|
|
15816
15932
|
if (!$dara.isNull(request.needVerifyLoginRisk)) {
|
|
15817
15933
|
query["NeedVerifyLoginRisk"] = request.needVerifyLoginRisk;
|
|
15818
15934
|
}
|
|
@@ -15851,7 +15967,7 @@ class Client extends openapi_core_1.default {
|
|
|
15851
15967
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ModifyOfficeSiteAttributeResponse({}));
|
|
15852
15968
|
}
|
|
15853
15969
|
/**
|
|
15854
|
-
* Modifies the basic
|
|
15970
|
+
* Modifies the basic properties of an office network (formerly workspace), such as the office network name and whether to grant local administrator permissions to users of cloud desktops.
|
|
15855
15971
|
*
|
|
15856
15972
|
* @param request - ModifyOfficeSiteAttributeRequest
|
|
15857
15973
|
* @returns ModifyOfficeSiteAttributeResponse
|
|
@@ -19288,7 +19404,7 @@ class Client extends openapi_core_1.default {
|
|
|
19288
19404
|
return await this.unlockVirtualMFADeviceWithOptions(request, runtime);
|
|
19289
19405
|
}
|
|
19290
19406
|
/**
|
|
19291
|
-
* Removes tags from cloud
|
|
19407
|
+
* Removes tags from cloud computers. If a removed tag is not added to any cloud computer, the tag is automatically deleted.
|
|
19292
19408
|
*
|
|
19293
19409
|
* @param request - UntagResourcesRequest
|
|
19294
19410
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -19329,7 +19445,7 @@ class Client extends openapi_core_1.default {
|
|
|
19329
19445
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UntagResourcesResponse({}));
|
|
19330
19446
|
}
|
|
19331
19447
|
/**
|
|
19332
|
-
* Removes tags from cloud
|
|
19448
|
+
* Removes tags from cloud computers. If a removed tag is not added to any cloud computer, the tag is automatically deleted.
|
|
19333
19449
|
*
|
|
19334
19450
|
* @param request - UntagResourcesRequest
|
|
19335
19451
|
* @returns UntagResourcesResponse
|