Sets the password for remotely connecting to a visualization service in a cluster over Virtual Network Console (VNC).
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ehpc:ModifyVisualServicePasswd |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ClusterId |
string |
Yes |
The cluster ID. You can call the ListClusters operation to query the cluster ID. |
ehpc-hz-jeJki6**** |
| RunasUser |
string |
Yes |
The username of the cluster. Set this parameter to root. |
root |
| RunasUserPassword |
string |
Yes |
The password of the user specified by RunasUser. |
2145**** |
| Passwd |
string |
Yes |
The password for remotely connecting to the visualization service over VNC. The password must be 6 characters in length and must contain letters and digits. Note
You must call this operation over HTTPS to ensure that the password remains confidential. |
1254**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| Message |
string |
The response message. |
Service started. |
| RequestId |
string |
The request ID. |
896D338C-E4F4-41EC-A154-D605E5DE6880 |
Examples
Success response
JSON format
{
"Message": "Service started.",
"RequestId": "896D338C-E4F4-41EC-A154-D605E5DE6880"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidParams | The specified parameter %s is invalid. | The specified parameter %s is invalid. |
| 400 | NotEnabled | You have not enabled this service | You have not enabled this service |
| 400 | InDebt | Your account has overdue payments. | Your account has overdue payments. |
| 500 | UnknownError | An unknown error occurred. | An unknown error occurred. |
| 403 | InvalidClusterStatus | The operation failed due to invalid cluster status. | The cluster status does not support the operation. |
| 403 | ConflictOpt | A conflicting operation is running. | A conflicting operation is running. Please try again later. |
| 403 | AgentError | The agent service request failed. | |
| 403 | IncorrectCredential | The username or password is incorrect. | The username or password is incorrect. |
| 403 | ExecFail | Failed to execute the command: %s. | Failed to execute the command: %s. |
| 404 | ClusterNotFound | The specified cluster does not exist. | The specified instance does not exist. |
| 503 | ServiceUnavailable | The request has failed due to a temporary failure of the server | The request has failed due to a temporary failure of the server. |
| 406 | AliyunError | An Alibaba Cloud product error occurred. | Alibaba Cloud product error. %s |
| 407 | NotAuthorized | You are not authorized by RAM for this request. | The request is not authorized by RAM. |
| 409 | PartFailure | Part of the batch operation failed. | Part of the batch operation failed. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.