Starts the Virtual Network Console (VNC) Remote visualization service in a specified cluster.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes StartVisualService

The operation that you want to perform. Set the value to StartVisualService

CidrIp String Yes 190.100.**. **

A public IP address of logon nodes in the cluster.

ClusterId String Yes ehpc-hz-jeJki6****

The ID of the cluster.

Port Integer Yes 12016

The fixed port. Set the value to 12016

Response parameters

Parameter Type Example Description
Message String StartVisualService

The status of the VNC Remote visualization service. Valid values:

  • Service started
  • Service stopped
RequestId String 896D338C-E4F4-41EC-A154-D605E5DE6880

The ID of the request.

Examples

Sample requests

https://ehpc.cn-hangzhou.aliyuncs.com/?Action=StartVisualService
&CidrIp=190.100. **. **
&ClusterId=ehpc-hz-jeJki6****
&Port=12016
&<Common request parameters>

Sample success responses

XML format

<StartVisualServiceResponse>
      <Message>
            <Msg>Service started. </Msg>
      </Message>
      <RequestId>896D338C-E4F4-41EC-A154-D605E5DE6880</RequestId>
</StartVisualServiceResponse>

JSON format

{
        "Message": {
            "Msg": "Service started."
        },
        "RequestId": "896D338C-E4F4-41EC-A154-D605E5DE6880"
}

Error codes

HttpCode Error code Error message Description
503 ServiceUnavailable The request has failed due to a temporary failure of the server The error message returned because the request has failed. The server is temporarily unavailable.

For a list of error codes, visit the API Error Center.