Create a PDS (formerly Wuying Cloud Disk)
Operation description
Before using this interface, make sure you understand the billing methods and pricing of Drive and Photo Service. For more information, see Overview of Drive and Photo Service.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ecd:CreateCloudDriveService |
create |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
The region ID. You can call the DescribeRegions operation to query the regions supported by Elastic Desktop Service. |
cn-hangzhou |
| Name |
string |
No |
The name of the cloud drive. |
wuying-cds |
| OfficeSiteType |
string |
No |
The type of the office site. Valid values:
|
SIMPLE |
| OfficeSiteId |
string |
No |
The ID of the office site. This parameter applies only when |
cn-hangzhou+dir-400695**** |
| CenId |
string |
No |
The ID of the Cloud Enterprise Network (CEN) instance. This parameter is required when |
cen-g4ba1mkji8nj6**** |
| DomainName |
string |
No |
The name of the domain controller. This parameter is required when |
test.local |
| UserMaxSize |
integer |
No |
The maximum size of the personal disk for each user, in bytes. |
104857600 |
| MaxSize |
integer |
Yes |
The total capacity of the cloud drive.
|
536870912000 |
| EndUserId |
array |
No |
A list of user IDs. |
|
|
string |
No |
The user ID. |
alice |
|
| BizType |
integer |
No |
Note
This parameter is not publicly available. |
null |
| SolutionId |
string |
No |
Note
This parameter is not publicly available. |
null |
| CdsChargeType |
string |
No |
The billing method of the cloud drive. Valid values:
|
PostPaid |
| AutoPay |
boolean |
No |
Specifies whether to enable automatic payment. Valid values:
|
false |
| AutoRenew |
boolean |
No |
Specifies whether to enable auto-renewal. This parameter applies only when Valid values:
|
false |
| Period |
integer |
No |
The subscription duration. The unit is specified by Valid values:
|
1 |
| PeriodUnit |
string |
No |
The unit of the subscription duration. This parameter is required only when Valid values:
|
Year |
| UserCount |
integer |
No |
The maximum number of users for a subscription cloud drive. This parameter is required only when Valid values:
|
5 |
| ResellerOwnerUid |
integer |
No |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
062B1439-709A-580E-85DF-CE97A156**** |
| CdsId |
string |
The ID of the enterprise network disk. |
cn-hangzhou+cds-778205**** |
| CdsName |
string |
The name of the cloud storage service. |
CDS_Windows_1126 |
| MaxSize |
string |
The maximum storage usage of the enterprise network disk. Unit: bytes. |
5368709120 |
| OfficeSiteType |
string |
The office network type. Valid values:
|
AD_CONNECTOR |
| CenId |
string |
The ID of the Cloud Enterprise Network (CEN) instance. Note
If you want to connect to a cloud desktop through a VPC, you can add the office network to a CEN instance. This CEN instance connects to your on-premises network through a VPN or a dedicated line. |
cen-638u3wxds9snyc**** |
| DomainName |
string |
The name of the Active Directory (AD) domain corresponding to the AD office network. |
test1.local |
| OrderId |
string |
The order ID. You can obtain the order ID on the Order Management page in the Alibaba Cloud User Center. |
214552063030752 |
| ErrorCode |
string |
The error code. |
ExistConflictCds |
| ConflictCdsAndOrder |
object |
The existing enterprise network disks or orders for enterprise network disks that conflict with the enterprise network disk that you want to create. |
|
| ConflictCds |
array<object> |
The information of conflicting enterprise network disks. |
|
|
object |
|||
| CdsId |
string |
The ID of the enterprise network disk. |
cn-hangzhou+cds-778205**** |
| RegionId |
string |
The region ID. You can call the DescribeRegions operation to query the regions that are supported by Elastic Desktop Service. |
cn-hangzhou |
| ConflictOrder |
array<object> |
The information of conflicting unpaid orders for enterprise network disks (orders for subscription enterprise network disks). |
|
|
object |
|||
| CdsId |
string |
The ID of the enterprise network disk (The order is not paid, and the enterprise network disk cannot be used). |
cn-hangzhou+cds-778205**** |
| OrderId |
string |
The order ID. You can obtain the order ID on the Order Management page in the Alibaba Cloud User Center. |
22442411898**** |
| RegionId |
string |
The region ID. |
cn-hangzhou |
Examples
Success response
JSON format
{
"RequestId": "062B1439-709A-580E-85DF-CE97A156****",
"CdsId": "cn-hangzhou+cds-778205****",
"CdsName": "CDS_Windows_1126",
"MaxSize": "5368709120",
"OfficeSiteType": "AD_CONNECTOR",
"CenId": "cen-638u3wxds9snyc****",
"DomainName": "test1.local",
"OrderId": "214552063030752",
"ErrorCode": "ExistConflictCds",
"ConflictCdsAndOrder": {
"ConflictCds": [
{
"CdsId": "cn-hangzhou+cds-778205****",
"RegionId": "cn-hangzhou"
}
],
"ConflictOrder": [
{
"CdsId": "cn-hangzhou+cds-778205****",
"OrderId": "22442411898****",
"RegionId": "cn-hangzhou"
}
]
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.