Create one or more workstations.
Operation description
-
Project is equivalent to the Resource Configuration module of the Cloud Flow console
-
If there are multiple versions behind the input parameter ContentId:
**
Note The default version is used.
Bind simultaneously
-
You can call the current interface only if the default version of Content is available.
Debugging
Authorization information
The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:
- Operation: the value that you can use in the Action element to specify the operation on a resource.
- Access level: the access level of each operation. The levels are read, write, and list.
- Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
- For mandatory resource types, indicate with a prefix of * .
- If the permissions cannot be granted at the resource level,
All Resourcesis used in the Resource type column of the operation.
- Condition Key: the condition key that is defined by the cloud service.
- Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
| Operation | Access level | Resource type | Condition key | Associated operation |
|---|---|---|---|---|
| appstreaming:CreateWuyingServer | create | *All Resources * |
| none |
Request parameters
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
| WuyingServerName | string | No | The name of the workstation. The numeric suffix is automatically added when multiple workstations are created. | exampleServerName |
| Amount | integer | No | Quantity. | 1 |
| ServerInstanceType | string | No | Workstation specifications. | eds.proworkstation_flagship_elite_ne.96c384g.192g4x |
| SystemDiskSize | integer | No | The size of the system disk. Unit: GB. | 100 |
| SystemDiskCategory | string | No | The system disk category. Valid values:
| cloud_auto |
| SystemDiskPerformanceLevel | string | No | The performance level (PL) of the system disk. | PL0 |
| DataDisk | array<object> | No | The list of data disks. | |
| object | No | The information about the data disk. | ||
| DataDiskSize | integer | No | The data disk size. | 100 |
| DataDiskCategory | string | No | The data disk category. Valid values:
| cloud_auto |
| DataDiskPerformanceLevel | string | No | The PL of the data disk. | PL0 |
| ImageId | string | No | The ID of the image. | img-bp13mu**** |
| BizRegionId | string | No | Region. | cn-hangzhou |
| OfficeSiteId | string | No | The office network IDs. | cn-hangzhou+dir-643067**** |
| Password | string | No | Workstation login password. | YourPassword123 |
| ChargeType | string | No | The billing method. Valid values:
| PrePaid |
| Period | integer | No | The subscription period. | 1 |
| PeriodUnit | string | No | The time unit. Valid values:
| Month |
| AutoPay | boolean | No | Auto payment. | false |
| AutoRenew | boolean | No | Auto-renewal. | false |
| PromotionId | string | No | The ID of the discount. Note
If PromotionId is set, it will try to apply the corresponding discount.
| 17440009**** |
| VSwitchIds | array | No | The list of office network vSwitches. | |
| string | No | The vSwitch IDs. | vsw-55vk6****5vatze7jg | |
| NetworkStrategyType | string | No | The type of the network policy (in invitational preview). | DirectIp |
| Bandwidth | integer | No | bandwidth value, the NetworkStrategyType is valid for DirectIp. Unit: Mbps, range 2~100 | 10 |
| IdempotenceToken | string | No | Idempotence token to ensure operation uniqueness | 6a1b8c3d |
Response parameters
Examples
Sample success responses
JSONformat
{
"RequestId": "1CBAFFAB-B697-4049-A9B1-67E1FC5F****",
"Data": {
"OrderId": "23429322113****",
"WuyingServerIdList": [
"ws-0byd****2lwi"
]
}
}Error codes
For a list of error codes, visit the Service error codes.
Change history
| Change time | Summary of changes | Operation |
|---|---|---|
| 2025-12-15 | The request parameters of the API has changed | View Change Details |
| 2025-10-27 | The request parameters of the API has changed | View Change Details |
| 2025-10-20 | The request parameters of the API has changed | View Change Details |
