Modifies the hostname of a Windows cloud desktop in an AD workspace.
Operation description
You can only modify the hostname of Windows cloud desktops in an AD workspace. Modifying the hostname rebuilds the cloud desktop.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ecd:ModifyDesktopHostName |
update |
*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 available regions for Elastic Desktop Service. |
cn-hangzhou |
| NewHostName |
string |
Yes |
The new hostname of the cloud desktop. The hostname must meet the following requirements:
|
NewName |
| DesktopId |
string |
Yes |
The ID of the cloud desktop. |
ecd-gx2x1dhsmucyy**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response object. |
||
| RequestId |
string |
The request ID. |
1CBAFFAB-B697-4049-A9B1-67E1FC5F**** |
Examples
Success response
JSON format
{
"RequestId": "1CBAFFAB-B697-4049-A9B1-67E1FC5F****"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.