Stops 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 StopVisualService

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

CidrIp String Yes 100.168.**. **

A public IP address of login 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 Service stopped

The status of the VNC Remote 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=StopVisualService
&CidrIp=100.168. **. **
&ClusterId=ehpc-hz-jeJki6****
&Port=12016
&<Common request parameters>

Sample success responses

XML format

<StopVisualServiceResponse>
      <Message>
            <Msg>Service stopped</Msg>
      </Message>
      <RequestId>896D338C-E4F4-41EC-A154-D605E5DE6880</RequestId>
</StopVisualServiceResponse>

JSON format

{
        "Message": {
            "Msg": "Service stopped"
        },
        "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.