Modifies the hostname of a Windows cloud computer in the Active Directory (AD) office network.
Operation description
The Windows cloud computer whose hostname you want to modify must be in an AD office network. After the hostname is modified, the cloud computer is re-created.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
RegionId | string | Yes | The region ID. You can call the DescribeRegions operation to query the most recent region list. | cn-hangzhou |
NewHostName | string | Yes | The new hostname of the cloud computer. The hostname must meet the following requirements:
| NewName |
DesktopId | string | Yes | The ID of the cloud computer. | ecd-gx2x1dhsmucyy**** |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "1CBAFFAB-B697-4049-A9B1-67E1FC5F****"
}
Error codes
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|
No change history