@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/src/client.ts
CHANGED
|
@@ -1060,7 +1060,7 @@ export default class Client extends OpenApi {
|
|
|
1060
1060
|
}
|
|
1061
1061
|
|
|
1062
1062
|
/**
|
|
1063
|
-
* Associates a configuration group with a cloud
|
|
1063
|
+
* Associates a configuration group with a cloud desktop or a resource group.
|
|
1064
1064
|
*
|
|
1065
1065
|
* @param request - BindConfigGroupRequest
|
|
1066
1066
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1099,7 +1099,7 @@ export default class Client extends OpenApi {
|
|
|
1099
1099
|
}
|
|
1100
1100
|
|
|
1101
1101
|
/**
|
|
1102
|
-
* Associates a configuration group with a cloud
|
|
1102
|
+
* Associates a configuration group with a cloud desktop or a resource group.
|
|
1103
1103
|
*
|
|
1104
1104
|
* @param request - BindConfigGroupRequest
|
|
1105
1105
|
* @returns BindConfigGroupResponse
|
|
@@ -1970,7 +1970,7 @@ export default class Client extends OpenApi {
|
|
|
1970
1970
|
}
|
|
1971
1971
|
|
|
1972
1972
|
/**
|
|
1973
|
-
* Creates a NAS file system and
|
|
1973
|
+
* Creates a NAS file system and associates it with the office network of a shared cloud desktop.
|
|
1974
1974
|
*
|
|
1975
1975
|
* @param request - CreateAndBindNasFileSystemRequest
|
|
1976
1976
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2007,6 +2007,10 @@ export default class Client extends OpenApi {
|
|
|
2007
2007
|
query["RegionId"] = request.regionId;
|
|
2008
2008
|
}
|
|
2009
2009
|
|
|
2010
|
+
if (!$dara.isNull(request.sizeQuota)) {
|
|
2011
|
+
query["SizeQuota"] = request.sizeQuota;
|
|
2012
|
+
}
|
|
2013
|
+
|
|
2010
2014
|
if (!$dara.isNull(request.storageType)) {
|
|
2011
2015
|
query["StorageType"] = request.storageType;
|
|
2012
2016
|
}
|
|
@@ -2029,7 +2033,7 @@ export default class Client extends OpenApi {
|
|
|
2029
2033
|
}
|
|
2030
2034
|
|
|
2031
2035
|
/**
|
|
2032
|
-
* Creates a NAS file system and
|
|
2036
|
+
* Creates a NAS file system and associates it with the office network of a shared cloud desktop.
|
|
2033
2037
|
*
|
|
2034
2038
|
* @param request - CreateAndBindNasFileSystemRequest
|
|
2035
2039
|
* @returns CreateAndBindNasFileSystemResponse
|
|
@@ -3344,10 +3348,11 @@ export default class Client extends OpenApi {
|
|
|
3344
3348
|
}
|
|
3345
3349
|
|
|
3346
3350
|
/**
|
|
3347
|
-
* Creates a shared cloud
|
|
3351
|
+
* Creates a shared cloud desktop.
|
|
3348
3352
|
*
|
|
3349
3353
|
* @remarks
|
|
3350
|
-
* - For information about the features, common scenarios, limits, and scaling
|
|
3354
|
+
* - 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).
|
|
3355
|
+
* - Before you invoke this operation, make sure that required prerequisite resources such as office networks, cloud desktop templates, and policies are created.
|
|
3351
3356
|
*
|
|
3352
3357
|
* @param request - CreateDesktopGroupRequest
|
|
3353
3358
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3618,10 +3623,11 @@ export default class Client extends OpenApi {
|
|
|
3618
3623
|
}
|
|
3619
3624
|
|
|
3620
3625
|
/**
|
|
3621
|
-
* Creates a shared cloud
|
|
3626
|
+
* Creates a shared cloud desktop.
|
|
3622
3627
|
*
|
|
3623
3628
|
* @remarks
|
|
3624
|
-
* - For information about the features, common scenarios, limits, and scaling
|
|
3629
|
+
* - 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).
|
|
3630
|
+
* - Before you invoke this operation, make sure that required prerequisite resources such as office networks, cloud desktop templates, and policies are created.
|
|
3625
3631
|
*
|
|
3626
3632
|
* @param request - CreateDesktopGroupRequest
|
|
3627
3633
|
* @returns CreateDesktopGroupResponse
|
|
@@ -4215,6 +4221,10 @@ export default class Client extends OpenApi {
|
|
|
4215
4221
|
query["ExternalDomainId"] = request.externalDomainId;
|
|
4216
4222
|
}
|
|
4217
4223
|
|
|
4224
|
+
if (!$dara.isNull(request.platforms)) {
|
|
4225
|
+
query["Platforms"] = request.platforms;
|
|
4226
|
+
}
|
|
4227
|
+
|
|
4218
4228
|
if (!$dara.isNull(request.profileRoaming)) {
|
|
4219
4229
|
query["ProfileRoaming"] = request.profileRoaming;
|
|
4220
4230
|
}
|
|
@@ -4703,7 +4713,7 @@ export default class Client extends OpenApi {
|
|
|
4703
4713
|
* Enables Global Accelerator (GA) for an office network.
|
|
4704
4714
|
*
|
|
4705
4715
|
* @remarks
|
|
4706
|
-
* Before
|
|
4716
|
+
* 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).
|
|
4707
4717
|
*
|
|
4708
4718
|
* @param request - CreateOfficeSiteAcceleratorRequest
|
|
4709
4719
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4753,7 +4763,7 @@ export default class Client extends OpenApi {
|
|
|
4753
4763
|
* Enables Global Accelerator (GA) for an office network.
|
|
4754
4764
|
*
|
|
4755
4765
|
* @remarks
|
|
4756
|
-
* Before
|
|
4766
|
+
* 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).
|
|
4757
4767
|
*
|
|
4758
4768
|
* @param request - CreateOfficeSiteAcceleratorRequest
|
|
4759
4769
|
* @returns CreateOfficeSiteAcceleratorResponse
|
|
@@ -4764,10 +4774,10 @@ export default class Client extends OpenApi {
|
|
|
4764
4774
|
}
|
|
4765
4775
|
|
|
4766
4776
|
/**
|
|
4767
|
-
* Creates a cloud
|
|
4777
|
+
* Creates a cloud desktop policy.
|
|
4768
4778
|
*
|
|
4769
4779
|
* @remarks
|
|
4770
|
-
* A cloud
|
|
4780
|
+
* 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).
|
|
4771
4781
|
*
|
|
4772
4782
|
* @param request - CreatePolicyGroupRequest
|
|
4773
4783
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5022,10 +5032,10 @@ export default class Client extends OpenApi {
|
|
|
5022
5032
|
}
|
|
5023
5033
|
|
|
5024
5034
|
/**
|
|
5025
|
-
* Creates a cloud
|
|
5035
|
+
* Creates a cloud desktop policy.
|
|
5026
5036
|
*
|
|
5027
5037
|
* @remarks
|
|
5028
|
-
* A cloud
|
|
5038
|
+
* 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).
|
|
5029
5039
|
*
|
|
5030
5040
|
* @param request - CreatePolicyGroupRequest
|
|
5031
5041
|
* @returns CreatePolicyGroupResponse
|
|
@@ -5036,10 +5046,10 @@ export default class Client extends OpenApi {
|
|
|
5036
5046
|
}
|
|
5037
5047
|
|
|
5038
5048
|
/**
|
|
5039
|
-
* Creates a
|
|
5049
|
+
* Creates a bandwidth throttling rule.
|
|
5040
5050
|
*
|
|
5041
5051
|
* @remarks
|
|
5042
|
-
* Cloud computer templates
|
|
5052
|
+
* 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.
|
|
5043
5053
|
*
|
|
5044
5054
|
* @param request - CreateQosRuleRequest
|
|
5045
5055
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5094,10 +5104,10 @@ export default class Client extends OpenApi {
|
|
|
5094
5104
|
}
|
|
5095
5105
|
|
|
5096
5106
|
/**
|
|
5097
|
-
* Creates a
|
|
5107
|
+
* Creates a bandwidth throttling rule.
|
|
5098
5108
|
*
|
|
5099
5109
|
* @remarks
|
|
5100
|
-
* Cloud computer templates
|
|
5110
|
+
* 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.
|
|
5101
5111
|
*
|
|
5102
5112
|
* @param request - CreateQosRuleRequest
|
|
5103
5113
|
* @returns CreateQosRuleResponse
|
|
@@ -5614,12 +5624,12 @@ export default class Client extends OpenApi {
|
|
|
5614
5624
|
}
|
|
5615
5625
|
|
|
5616
5626
|
/**
|
|
5617
|
-
* Creates a custom cloud
|
|
5627
|
+
* 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.
|
|
5618
5628
|
*
|
|
5619
5629
|
* @remarks
|
|
5620
5630
|
* When you call this operation, take note of the following items:
|
|
5621
|
-
* - Most parameters in
|
|
5622
|
-
* - For region
|
|
5631
|
+
* - 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.
|
|
5632
|
+
* - 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.
|
|
5623
5633
|
*
|
|
5624
5634
|
* @param request - CreateTemplateRequest
|
|
5625
5635
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5743,12 +5753,12 @@ export default class Client extends OpenApi {
|
|
|
5743
5753
|
}
|
|
5744
5754
|
|
|
5745
5755
|
/**
|
|
5746
|
-
* Creates a custom cloud
|
|
5756
|
+
* 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.
|
|
5747
5757
|
*
|
|
5748
5758
|
* @remarks
|
|
5749
5759
|
* When you call this operation, take note of the following items:
|
|
5750
|
-
* - Most parameters in
|
|
5751
|
-
* - For region
|
|
5760
|
+
* - 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.
|
|
5761
|
+
* - 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.
|
|
5752
5762
|
*
|
|
5753
5763
|
* @param request - CreateTemplateRequest
|
|
5754
5764
|
* @returns CreateTemplateResponse
|
|
@@ -5762,7 +5772,7 @@ export default class Client extends OpenApi {
|
|
|
5762
5772
|
* Creates a virtual bridge.
|
|
5763
5773
|
*
|
|
5764
5774
|
* @remarks
|
|
5765
|
-
* Deleting an MFA device
|
|
5775
|
+
* 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.
|
|
5766
5776
|
*
|
|
5767
5777
|
* @param request - CreateVirtualBridgeRequest
|
|
5768
5778
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5828,7 +5838,7 @@ export default class Client extends OpenApi {
|
|
|
5828
5838
|
* Creates a virtual bridge.
|
|
5829
5839
|
*
|
|
5830
5840
|
* @remarks
|
|
5831
|
-
* Deleting an MFA device
|
|
5841
|
+
* 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.
|
|
5832
5842
|
*
|
|
5833
5843
|
* @param request - CreateVirtualBridgeRequest
|
|
5834
5844
|
* @returns CreateVirtualBridgeResponse
|
|
@@ -5989,7 +5999,7 @@ export default class Client extends OpenApi {
|
|
|
5989
5999
|
}
|
|
5990
6000
|
|
|
5991
6001
|
/**
|
|
5992
|
-
* Deletes a
|
|
6002
|
+
* Deletes a regionless policy.
|
|
5993
6003
|
*
|
|
5994
6004
|
* @param request - DeleteCenterPolicyRequest
|
|
5995
6005
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6032,7 +6042,7 @@ export default class Client extends OpenApi {
|
|
|
6032
6042
|
}
|
|
6033
6043
|
|
|
6034
6044
|
/**
|
|
6035
|
-
* Deletes a
|
|
6045
|
+
* Deletes a regionless policy.
|
|
6036
6046
|
*
|
|
6037
6047
|
* @param request - DeleteCenterPolicyRequest
|
|
6038
6048
|
* @returns DeleteCenterPolicyResponse
|
|
@@ -6092,6 +6102,52 @@ export default class Client extends OpenApi {
|
|
|
6092
6102
|
return await this.deleteCloudDriveGroupsWithOptions(request, runtime);
|
|
6093
6103
|
}
|
|
6094
6104
|
|
|
6105
|
+
/**
|
|
6106
|
+
* Deletes one or more Wuying cloud disks.
|
|
6107
|
+
*
|
|
6108
|
+
* @param request - DeleteCloudDriveServicesRequest
|
|
6109
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
6110
|
+
* @returns DeleteCloudDriveServicesResponse
|
|
6111
|
+
*/
|
|
6112
|
+
async deleteCloudDriveServicesWithOptions(request: $_model.DeleteCloudDriveServicesRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteCloudDriveServicesResponse> {
|
|
6113
|
+
request.validate();
|
|
6114
|
+
let query = { };
|
|
6115
|
+
if (!$dara.isNull(request.cdsId)) {
|
|
6116
|
+
query["CdsId"] = request.cdsId;
|
|
6117
|
+
}
|
|
6118
|
+
|
|
6119
|
+
if (!$dara.isNull(request.regionId)) {
|
|
6120
|
+
query["RegionId"] = request.regionId;
|
|
6121
|
+
}
|
|
6122
|
+
|
|
6123
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
6124
|
+
query: OpenApiUtil.query(query),
|
|
6125
|
+
});
|
|
6126
|
+
let params = new $OpenApiUtil.Params({
|
|
6127
|
+
action: "DeleteCloudDriveServices",
|
|
6128
|
+
version: "2020-09-30",
|
|
6129
|
+
protocol: "HTTPS",
|
|
6130
|
+
pathname: "/",
|
|
6131
|
+
method: "POST",
|
|
6132
|
+
authType: "AK",
|
|
6133
|
+
style: "RPC",
|
|
6134
|
+
reqBodyType: "formData",
|
|
6135
|
+
bodyType: "json",
|
|
6136
|
+
});
|
|
6137
|
+
return $dara.cast<$_model.DeleteCloudDriveServicesResponse>(await this.callApi(params, req, runtime), new $_model.DeleteCloudDriveServicesResponse({}));
|
|
6138
|
+
}
|
|
6139
|
+
|
|
6140
|
+
/**
|
|
6141
|
+
* Deletes one or more Wuying cloud disks.
|
|
6142
|
+
*
|
|
6143
|
+
* @param request - DeleteCloudDriveServicesRequest
|
|
6144
|
+
* @returns DeleteCloudDriveServicesResponse
|
|
6145
|
+
*/
|
|
6146
|
+
async deleteCloudDriveServices(request: $_model.DeleteCloudDriveServicesRequest): Promise<$_model.DeleteCloudDriveServicesResponse> {
|
|
6147
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
6148
|
+
return await this.deleteCloudDriveServicesWithOptions(request, runtime);
|
|
6149
|
+
}
|
|
6150
|
+
|
|
6095
6151
|
/**
|
|
6096
6152
|
* Delete the personal drive of a user in WUYING Workspace.
|
|
6097
6153
|
*
|
|
@@ -6143,7 +6199,7 @@ export default class Client extends OpenApi {
|
|
|
6143
6199
|
}
|
|
6144
6200
|
|
|
6145
6201
|
/**
|
|
6146
|
-
* Deletes
|
|
6202
|
+
* Deletes configuration groups.
|
|
6147
6203
|
*
|
|
6148
6204
|
* @param request - DeleteConfigGroupRequest
|
|
6149
6205
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6178,7 +6234,7 @@ export default class Client extends OpenApi {
|
|
|
6178
6234
|
}
|
|
6179
6235
|
|
|
6180
6236
|
/**
|
|
6181
|
-
* Deletes
|
|
6237
|
+
* Deletes configuration groups.
|
|
6182
6238
|
*
|
|
6183
6239
|
* @param request - DeleteConfigGroupRequest
|
|
6184
6240
|
* @returns DeleteConfigGroupResponse
|
|
@@ -6420,10 +6476,22 @@ export default class Client extends OpenApi {
|
|
|
6420
6476
|
async deleteDriveWithOptions(request: $_model.DeleteDriveRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteDriveResponse> {
|
|
6421
6477
|
request.validate();
|
|
6422
6478
|
let query = { };
|
|
6479
|
+
if (!$dara.isNull(request.domainId)) {
|
|
6480
|
+
query["DomainId"] = request.domainId;
|
|
6481
|
+
}
|
|
6482
|
+
|
|
6423
6483
|
if (!$dara.isNull(request.driveId)) {
|
|
6424
6484
|
query["DriveId"] = request.driveId;
|
|
6425
6485
|
}
|
|
6426
6486
|
|
|
6487
|
+
if (!$dara.isNull(request.endUserId)) {
|
|
6488
|
+
query["EndUserId"] = request.endUserId;
|
|
6489
|
+
}
|
|
6490
|
+
|
|
6491
|
+
if (!$dara.isNull(request.officeSiteId)) {
|
|
6492
|
+
query["OfficeSiteId"] = request.officeSiteId;
|
|
6493
|
+
}
|
|
6494
|
+
|
|
6427
6495
|
if (!$dara.isNull(request.regionId)) {
|
|
6428
6496
|
query["RegionId"] = request.regionId;
|
|
6429
6497
|
}
|
|
@@ -6759,7 +6827,7 @@ export default class Client extends OpenApi {
|
|
|
6759
6827
|
}
|
|
6760
6828
|
|
|
6761
6829
|
/**
|
|
6762
|
-
* Deletes
|
|
6830
|
+
* Deletes the Global Accelerator configuration.
|
|
6763
6831
|
*
|
|
6764
6832
|
* @param request - DeleteOfficeSiteAcceleratorRequest
|
|
6765
6833
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6794,7 +6862,7 @@ export default class Client extends OpenApi {
|
|
|
6794
6862
|
}
|
|
6795
6863
|
|
|
6796
6864
|
/**
|
|
6797
|
-
* Deletes
|
|
6865
|
+
* Deletes the Global Accelerator configuration.
|
|
6798
6866
|
*
|
|
6799
6867
|
* @param request - DeleteOfficeSiteAcceleratorRequest
|
|
6800
6868
|
* @returns DeleteOfficeSiteAcceleratorResponse
|
|
@@ -6917,7 +6985,7 @@ export default class Client extends OpenApi {
|
|
|
6917
6985
|
}
|
|
6918
6986
|
|
|
6919
6987
|
/**
|
|
6920
|
-
* Deletes QoS
|
|
6988
|
+
* Deletes a QoS rule.
|
|
6921
6989
|
*
|
|
6922
6990
|
* @param request - DeleteQosRulesRequest
|
|
6923
6991
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6948,7 +7016,7 @@ export default class Client extends OpenApi {
|
|
|
6948
7016
|
}
|
|
6949
7017
|
|
|
6950
7018
|
/**
|
|
6951
|
-
* Deletes QoS
|
|
7019
|
+
* Deletes a QoS rule.
|
|
6952
7020
|
*
|
|
6953
7021
|
* @param request - DeleteQosRulesRequest
|
|
6954
7022
|
* @returns DeleteQosRulesResponse
|
|
@@ -7211,10 +7279,10 @@ export default class Client extends OpenApi {
|
|
|
7211
7279
|
}
|
|
7212
7280
|
|
|
7213
7281
|
/**
|
|
7214
|
-
* Deletes a custom cloud
|
|
7282
|
+
* Deletes a custom cloud desktop template.
|
|
7215
7283
|
*
|
|
7216
7284
|
* @remarks
|
|
7217
|
-
* After a template is deleted, cloud
|
|
7285
|
+
* After a template is deleted, cloud desktops created based on the template and resources associated with the template are not affected.
|
|
7218
7286
|
*
|
|
7219
7287
|
* @param request - DeleteTemplatesRequest
|
|
7220
7288
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7249,10 +7317,10 @@ export default class Client extends OpenApi {
|
|
|
7249
7317
|
}
|
|
7250
7318
|
|
|
7251
7319
|
/**
|
|
7252
|
-
* Deletes a custom cloud
|
|
7320
|
+
* Deletes a custom cloud desktop template.
|
|
7253
7321
|
*
|
|
7254
7322
|
* @remarks
|
|
7255
|
-
* After a template is deleted, cloud
|
|
7323
|
+
* After a template is deleted, cloud desktops created based on the template and resources associated with the template are not affected.
|
|
7256
7324
|
*
|
|
7257
7325
|
* @param request - DeleteTemplatesRequest
|
|
7258
7326
|
* @returns DeleteTemplatesResponse
|
|
@@ -7266,7 +7334,7 @@ export default class Client extends OpenApi {
|
|
|
7266
7334
|
* Modifies the status of a virtual bridge.
|
|
7267
7335
|
*
|
|
7268
7336
|
* @remarks
|
|
7269
|
-
* Deleting an MFA device unbinds the
|
|
7337
|
+
* 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.
|
|
7270
7338
|
*
|
|
7271
7339
|
* @param request - DeleteVirtualBridgeRequest
|
|
7272
7340
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7304,7 +7372,7 @@ export default class Client extends OpenApi {
|
|
|
7304
7372
|
* Modifies the status of a virtual bridge.
|
|
7305
7373
|
*
|
|
7306
7374
|
* @remarks
|
|
7307
|
-
* Deleting an MFA device unbinds the
|
|
7375
|
+
* 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.
|
|
7308
7376
|
*
|
|
7309
7377
|
* @param request - DeleteVirtualBridgeRequest
|
|
7310
7378
|
* @returns DeleteVirtualBridgeResponse
|
|
@@ -7487,7 +7555,7 @@ export default class Client extends OpenApi {
|
|
|
7487
7555
|
}
|
|
7488
7556
|
|
|
7489
7557
|
/**
|
|
7490
|
-
* Queries the details of cloud
|
|
7558
|
+
* Queries the details of cloud desktop templates.
|
|
7491
7559
|
*
|
|
7492
7560
|
* @param request - DescribeBundlesRequest
|
|
7493
7561
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7598,7 +7666,7 @@ export default class Client extends OpenApi {
|
|
|
7598
7666
|
}
|
|
7599
7667
|
|
|
7600
7668
|
/**
|
|
7601
|
-
* Queries the details of cloud
|
|
7669
|
+
* Queries the details of cloud desktop templates.
|
|
7602
7670
|
*
|
|
7603
7671
|
* @param request - DescribeBundlesRequest
|
|
7604
7672
|
* @returns DescribeBundlesResponse
|
|
@@ -7725,7 +7793,7 @@ export default class Client extends OpenApi {
|
|
|
7725
7793
|
}
|
|
7726
7794
|
|
|
7727
7795
|
/**
|
|
7728
|
-
*
|
|
7796
|
+
* Queries the details of regionless policies.
|
|
7729
7797
|
*
|
|
7730
7798
|
* @param request - DescribeCenterPolicyListRequest
|
|
7731
7799
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7788,7 +7856,7 @@ export default class Client extends OpenApi {
|
|
|
7788
7856
|
}
|
|
7789
7857
|
|
|
7790
7858
|
/**
|
|
7791
|
-
*
|
|
7859
|
+
* Queries the details of regionless policies.
|
|
7792
7860
|
*
|
|
7793
7861
|
* @param request - DescribeCenterPolicyListRequest
|
|
7794
7862
|
* @returns DescribeCenterPolicyListResponse
|
|
@@ -8703,10 +8771,10 @@ export default class Client extends OpenApi {
|
|
|
8703
8771
|
}
|
|
8704
8772
|
|
|
8705
8773
|
/**
|
|
8706
|
-
* Queries
|
|
8774
|
+
* Queries a list of cloud desktops and their metadata across all regions.
|
|
8707
8775
|
*
|
|
8708
8776
|
* @remarks
|
|
8709
|
-
* This is
|
|
8777
|
+
* This operation is centralized and supports queries only in the Shanghai and Singapore sites.
|
|
8710
8778
|
*
|
|
8711
8779
|
* @param request - DescribeDesktopMetadataRequest
|
|
8712
8780
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8793,10 +8861,10 @@ export default class Client extends OpenApi {
|
|
|
8793
8861
|
}
|
|
8794
8862
|
|
|
8795
8863
|
/**
|
|
8796
|
-
* Queries
|
|
8864
|
+
* Queries a list of cloud desktops and their metadata across all regions.
|
|
8797
8865
|
*
|
|
8798
8866
|
* @remarks
|
|
8799
|
-
* This is
|
|
8867
|
+
* This operation is centralized and supports queries only in the Shanghai and Singapore sites.
|
|
8800
8868
|
*
|
|
8801
8869
|
* @param request - DescribeDesktopMetadataRequest
|
|
8802
8870
|
* @returns DescribeDesktopMetadataResponse
|
|
@@ -9417,7 +9485,7 @@ export default class Client extends OpenApi {
|
|
|
9417
9485
|
}
|
|
9418
9486
|
|
|
9419
9487
|
/**
|
|
9420
|
-
* Queries the
|
|
9488
|
+
* Queries the cloud desktops in a shared cloud desktop by billing method.
|
|
9421
9489
|
*
|
|
9422
9490
|
* @param request - DescribeDesktopsInGroupRequest
|
|
9423
9491
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -9476,7 +9544,7 @@ export default class Client extends OpenApi {
|
|
|
9476
9544
|
}
|
|
9477
9545
|
|
|
9478
9546
|
/**
|
|
9479
|
-
* Queries the
|
|
9547
|
+
* Queries the cloud desktops in a shared cloud desktop by billing method.
|
|
9480
9548
|
*
|
|
9481
9549
|
* @param request - DescribeDesktopsInGroupRequest
|
|
9482
9550
|
* @returns DescribeDesktopsInGroupResponse
|
|
@@ -10217,7 +10285,7 @@ export default class Client extends OpenApi {
|
|
|
10217
10285
|
}
|
|
10218
10286
|
|
|
10219
10287
|
/**
|
|
10220
|
-
* Queries the execution records of scheduled tasks for cloud
|
|
10288
|
+
* Queries the execution records of scheduled tasks for cloud desktops across regions.
|
|
10221
10289
|
*
|
|
10222
10290
|
* @param request - DescribeGlobalTimerRecordsRequest
|
|
10223
10291
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -10300,7 +10368,7 @@ export default class Client extends OpenApi {
|
|
|
10300
10368
|
}
|
|
10301
10369
|
|
|
10302
10370
|
/**
|
|
10303
|
-
* Queries the execution records of scheduled tasks for cloud
|
|
10371
|
+
* Queries the execution records of scheduled tasks for cloud desktops across regions.
|
|
10304
10372
|
*
|
|
10305
10373
|
* @param request - DescribeGlobalTimerRecordsRequest
|
|
10306
10374
|
* @returns DescribeGlobalTimerRecordsResponse
|
|
@@ -11093,7 +11161,7 @@ export default class Client extends OpenApi {
|
|
|
11093
11161
|
}
|
|
11094
11162
|
|
|
11095
11163
|
/**
|
|
11096
|
-
* Queries all
|
|
11164
|
+
* Queries all properties of an office network, including the ID, name, status, and creation time.
|
|
11097
11165
|
*
|
|
11098
11166
|
* @param request - DescribeOfficeSitesRequest
|
|
11099
11167
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -11156,7 +11224,7 @@ export default class Client extends OpenApi {
|
|
|
11156
11224
|
}
|
|
11157
11225
|
|
|
11158
11226
|
/**
|
|
11159
|
-
* Queries all
|
|
11227
|
+
* Queries all properties of an office network, including the ID, name, status, and creation time.
|
|
11160
11228
|
*
|
|
11161
11229
|
* @param request - DescribeOfficeSitesRequest
|
|
11162
11230
|
* @returns DescribeOfficeSitesResponse
|
|
@@ -12569,7 +12637,7 @@ export default class Client extends OpenApi {
|
|
|
12569
12637
|
}
|
|
12570
12638
|
|
|
12571
12639
|
/**
|
|
12572
|
-
* Queries the
|
|
12640
|
+
* Queries the snapshots and their details for a cloud desktop.
|
|
12573
12641
|
*
|
|
12574
12642
|
* @param request - DescribeSnapshotsRequest
|
|
12575
12643
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -12652,7 +12720,7 @@ export default class Client extends OpenApi {
|
|
|
12652
12720
|
}
|
|
12653
12721
|
|
|
12654
12722
|
/**
|
|
12655
|
-
* Queries the
|
|
12723
|
+
* Queries the snapshots and their details for a cloud desktop.
|
|
12656
12724
|
*
|
|
12657
12725
|
* @param request - DescribeSnapshotsRequest
|
|
12658
12726
|
* @returns DescribeSnapshotsResponse
|
|
@@ -14211,7 +14279,7 @@ export default class Client extends OpenApi {
|
|
|
14211
14279
|
}
|
|
14212
14280
|
|
|
14213
14281
|
/**
|
|
14214
|
-
* Generates
|
|
14282
|
+
* Generates a scenario access key.
|
|
14215
14283
|
*
|
|
14216
14284
|
* @param request - GenerateSceneKeyRequest
|
|
14217
14285
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -14254,7 +14322,7 @@ export default class Client extends OpenApi {
|
|
|
14254
14322
|
}
|
|
14255
14323
|
|
|
14256
14324
|
/**
|
|
14257
|
-
* Generates
|
|
14325
|
+
* Generates a scenario access key.
|
|
14258
14326
|
*
|
|
14259
14327
|
* @param request - GenerateSceneKeyRequest
|
|
14260
14328
|
* @returns GenerateSceneKeyResponse
|
|
@@ -14694,6 +14762,68 @@ export default class Client extends OpenApi {
|
|
|
14694
14762
|
return await this.hibernateDesktopsWithOptions(request, runtime);
|
|
14695
14763
|
}
|
|
14696
14764
|
|
|
14765
|
+
/**
|
|
14766
|
+
* Imports a UPM user VHD.
|
|
14767
|
+
*
|
|
14768
|
+
* @param request - ImportDriveRequest
|
|
14769
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
14770
|
+
* @returns ImportDriveResponse
|
|
14771
|
+
*/
|
|
14772
|
+
async importDriveWithOptions(request: $_model.ImportDriveRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ImportDriveResponse> {
|
|
14773
|
+
request.validate();
|
|
14774
|
+
let query = { };
|
|
14775
|
+
if (!$dara.isNull(request.domainId)) {
|
|
14776
|
+
query["DomainId"] = request.domainId;
|
|
14777
|
+
}
|
|
14778
|
+
|
|
14779
|
+
if (!$dara.isNull(request.endUserId)) {
|
|
14780
|
+
query["EndUserId"] = request.endUserId;
|
|
14781
|
+
}
|
|
14782
|
+
|
|
14783
|
+
if (!$dara.isNull(request.forceUpdate)) {
|
|
14784
|
+
query["ForceUpdate"] = request.forceUpdate;
|
|
14785
|
+
}
|
|
14786
|
+
|
|
14787
|
+
if (!$dara.isNull(request.mountUrl)) {
|
|
14788
|
+
query["MountUrl"] = request.mountUrl;
|
|
14789
|
+
}
|
|
14790
|
+
|
|
14791
|
+
if (!$dara.isNull(request.platform)) {
|
|
14792
|
+
query["Platform"] = request.platform;
|
|
14793
|
+
}
|
|
14794
|
+
|
|
14795
|
+
if (!$dara.isNull(request.regionId)) {
|
|
14796
|
+
query["RegionId"] = request.regionId;
|
|
14797
|
+
}
|
|
14798
|
+
|
|
14799
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
14800
|
+
query: OpenApiUtil.query(query),
|
|
14801
|
+
});
|
|
14802
|
+
let params = new $OpenApiUtil.Params({
|
|
14803
|
+
action: "ImportDrive",
|
|
14804
|
+
version: "2020-09-30",
|
|
14805
|
+
protocol: "HTTPS",
|
|
14806
|
+
pathname: "/",
|
|
14807
|
+
method: "POST",
|
|
14808
|
+
authType: "AK",
|
|
14809
|
+
style: "RPC",
|
|
14810
|
+
reqBodyType: "formData",
|
|
14811
|
+
bodyType: "json",
|
|
14812
|
+
});
|
|
14813
|
+
return $dara.cast<$_model.ImportDriveResponse>(await this.callApi(params, req, runtime), new $_model.ImportDriveResponse({}));
|
|
14814
|
+
}
|
|
14815
|
+
|
|
14816
|
+
/**
|
|
14817
|
+
* Imports a UPM user VHD.
|
|
14818
|
+
*
|
|
14819
|
+
* @param request - ImportDriveRequest
|
|
14820
|
+
* @returns ImportDriveResponse
|
|
14821
|
+
*/
|
|
14822
|
+
async importDrive(request: $_model.ImportDriveRequest): Promise<$_model.ImportDriveResponse> {
|
|
14823
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
14824
|
+
return await this.importDriveWithOptions(request, runtime);
|
|
14825
|
+
}
|
|
14826
|
+
|
|
14697
14827
|
/**
|
|
14698
14828
|
* Queries the file list in a cloud drive and retrieves download URLs for files.
|
|
14699
14829
|
*
|
|
@@ -17013,13 +17143,13 @@ export default class Client extends OpenApi {
|
|
|
17013
17143
|
}
|
|
17014
17144
|
|
|
17015
17145
|
/**
|
|
17016
|
-
*
|
|
17146
|
+
* Changes the billing method of a cloud desktop to subscription or pay-as-you-go.
|
|
17017
17147
|
*
|
|
17018
17148
|
* @remarks
|
|
17019
|
-
* - Before you
|
|
17020
|
-
* - When you
|
|
17021
|
-
* - After the order is paid, the system starts to
|
|
17022
|
-
* <props="china">When you
|
|
17149
|
+
* - 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).
|
|
17150
|
+
* - When you call this operation, make sure that the target cloud desktop is in the Running or Stopped state and has no overdue payments.
|
|
17151
|
+
* - 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.
|
|
17152
|
+
* <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).
|
|
17023
17153
|
*
|
|
17024
17154
|
* @param request - ModifyDesktopChargeTypeRequest
|
|
17025
17155
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -17082,13 +17212,13 @@ export default class Client extends OpenApi {
|
|
|
17082
17212
|
}
|
|
17083
17213
|
|
|
17084
17214
|
/**
|
|
17085
|
-
*
|
|
17215
|
+
* Changes the billing method of a cloud desktop to subscription or pay-as-you-go.
|
|
17086
17216
|
*
|
|
17087
17217
|
* @remarks
|
|
17088
|
-
* - Before you
|
|
17089
|
-
* - When you
|
|
17090
|
-
* - After the order is paid, the system starts to
|
|
17091
|
-
* <props="china">When you
|
|
17218
|
+
* - 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).
|
|
17219
|
+
* - When you call this operation, make sure that the target cloud desktop is in the Running or Stopped state and has no overdue payments.
|
|
17220
|
+
* - 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.
|
|
17221
|
+
* <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).
|
|
17092
17222
|
*
|
|
17093
17223
|
* @param request - ModifyDesktopChargeTypeRequest
|
|
17094
17224
|
* @returns ModifyDesktopChargeTypeResponse
|
|
@@ -18281,7 +18411,7 @@ export default class Client extends OpenApi {
|
|
|
18281
18411
|
}
|
|
18282
18412
|
|
|
18283
18413
|
/**
|
|
18284
|
-
* Modifies the basic
|
|
18414
|
+
* 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.
|
|
18285
18415
|
*
|
|
18286
18416
|
* @param request - ModifyOfficeSiteAttributeRequest
|
|
18287
18417
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -18314,6 +18444,10 @@ export default class Client extends OpenApi {
|
|
|
18314
18444
|
query["EnableAdminAccess"] = request.enableAdminAccess;
|
|
18315
18445
|
}
|
|
18316
18446
|
|
|
18447
|
+
if (!$dara.isNull(request.enableUpm)) {
|
|
18448
|
+
query["EnableUpm"] = request.enableUpm;
|
|
18449
|
+
}
|
|
18450
|
+
|
|
18317
18451
|
if (!$dara.isNull(request.needVerifyLoginRisk)) {
|
|
18318
18452
|
query["NeedVerifyLoginRisk"] = request.needVerifyLoginRisk;
|
|
18319
18453
|
}
|
|
@@ -18360,7 +18494,7 @@ export default class Client extends OpenApi {
|
|
|
18360
18494
|
}
|
|
18361
18495
|
|
|
18362
18496
|
/**
|
|
18363
|
-
* Modifies the basic
|
|
18497
|
+
* 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.
|
|
18364
18498
|
*
|
|
18365
18499
|
* @param request - ModifyOfficeSiteAttributeRequest
|
|
18366
18500
|
* @returns ModifyOfficeSiteAttributeResponse
|
|
@@ -22280,7 +22414,7 @@ export default class Client extends OpenApi {
|
|
|
22280
22414
|
}
|
|
22281
22415
|
|
|
22282
22416
|
/**
|
|
22283
|
-
* Removes tags from cloud
|
|
22417
|
+
* Removes tags from cloud computers. If a removed tag is not added to any cloud computer, the tag is automatically deleted.
|
|
22284
22418
|
*
|
|
22285
22419
|
* @param request - UntagResourcesRequest
|
|
22286
22420
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -22327,7 +22461,7 @@ export default class Client extends OpenApi {
|
|
|
22327
22461
|
}
|
|
22328
22462
|
|
|
22329
22463
|
/**
|
|
22330
|
-
* Removes tags from cloud
|
|
22464
|
+
* Removes tags from cloud computers. If a removed tag is not added to any cloud computer, the tag is automatically deleted.
|
|
22331
22465
|
*
|
|
22332
22466
|
* @param request - UntagResourcesRequest
|
|
22333
22467
|
* @returns UntagResourcesResponse
|