Creates one or more workstations.
Operation description
A project corresponds to the resource configuration module in the CloudFlow console.
- If the ContentId specified in the request parameters has multiple versions, this API operation for binding.Important uses the default version
This operation succeeds only when the default version of the content is in an available state.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
appstreaming:CreateWuyingServer |
create |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| WuyingServerName |
string |
No |
The workstation name. When you create multiple workstations, a numeric suffix is automatically appended. |
exampleServerName |
| Amount |
integer |
No |
The number of workstations to create. |
1 |
| ServerInstanceType |
string |
No |
The workstation instance type. |
eds.proworkstation_flagship_elite_ne.96c384g.192g4x |
| SystemDiskSize |
integer |
No |
The size of the system cloud disk. Unit: GB. |
100 |
| SystemDiskCategory |
string |
No |
The type of the system cloud disk. Valid values:
|
cloud_auto |
| SystemDiskPerformanceLevel |
string |
No |
The performance level of the system cloud disk. |
PL0 |
| DataDisk |
array<object> |
No |
The list of data cloud disks. |
|
|
object |
No |
The data cloud disk information. |
||
| DataDiskSize |
integer |
No |
The size of the data cloud disk. |
100 |
| DataDiskCategory |
string |
No |
The type of the data cloud disk. Valid values:
|
cloud_auto |
| DataDiskPerformanceLevel |
string |
No |
The performance level of the data cloud disk. |
PL0 |
| ImageId |
string |
No |
The image ID. |
img-bp13mu**** |
| BizRegionId |
string |
No |
The region ID. |
cn-hangzhou |
| OfficeSiteId |
string |
No |
The office network ID. |
cn-hangzhou+dir-643067**** |
| Password |
string |
No |
The logon password of the workstation. |
YourPassword123 |
| ChargeType |
string |
No |
The billing method. Valid values:
|
PrePaid |
| Period |
integer |
No |
The subscription duration. |
1 |
| PeriodUnit |
string |
No |
The unit of the subscription duration. Valid values:
|
Month |
| AutoPay |
boolean |
No |
Specifies whether to enable automatic payment. |
false |
| AutoRenew |
boolean |
No |
Specifies whether to enable auto-renewal. |
false |
| PromotionId |
string |
No |
The promotion ID. Note
If PromotionId is specified, the corresponding discount is applied. |
17440009**** |
| VSwitchIds |
array |
No |
The list of vSwitches in the office network. |
|
|
string |
No |
The vSwitch ID. |
vsw-55vk6****5vatze7jg |
|
| VirtualNodePoolId |
string |
No |
vnp-0b************gyw |
|
| NetworkStrategyType |
string |
No |
The network policy type (in invitational preview). |
DirectIp |
| Bandwidth |
integer |
No |
The bandwidth value. This parameter takes effect only when NetworkStrategyType is set to DirectIp. Unit: Mbit/s. Valid values: 2 to 100. |
10 |
| IdempotenceToken |
string |
No |
The idempotence token that ensures the uniqueness of the operation. |
6a1b8c3d |
| ServerPortRange |
string |
No |
||
| SavingPlanId |
string |
No |
||
| HostName |
string |
No |
The hostname. The following limits apply:
|
testhost |
| SubPayType |
string |
No |
||
| MaxPrice |
number |
No |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response. |
||
| RequestId |
string |
The request ID. |
1CBAFFAB-B697-4049-A9B1-67E1FC5F**** |
| Data |
object |
The response data. |
|
| OrderId |
string |
The order ID. |
23429322113**** |
| WuyingServerIdList |
array |
The list of workstation IDs. |
|
|
string |
The workstation ID. |
ws-0byd****2lwi |
Examples
Success response
JSON format
{
"RequestId": "1CBAFFAB-B697-4049-A9B1-67E1FC5F****",
"Data": {
"OrderId": "23429322113****",
"WuyingServerIdList": [
"ws-0byd****2lwi"
]
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.