Queries the status of the VNC service in a 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 GetVisualServiceStatus

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

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

The ID of the cluster.

You can call the ListClusters operation to query the cluster ID.

Response parameters

Parameter Type Example Description
Message String inactive (dead) , ws service is not running.

The response message.

RequestId String 896D338C-E4F4-41EC-A154-D605E5DE****

The ID of the request.

Examples

Sample requests

https://ehpc.cn-hangzhou.aliyuncs.com/?Action=GetVisualServiceStatus
&ClusterId=ehpc-hz-jeJki6****
&<Common request parameters>

Sample success responses

XML format

<GetVisualServiceStatusResponse>
      <Message>
            <Msg>inactive (dead) , ws service is not running.</Msg>
      </Message>
      <RequestId>896D338C-E4F4-41EC-A154-D605E5DE****</RequestId>
</GetVisualServiceStatusResponse>

JSON format

{
        "Message": {
            "Msg": "inactive (dead) , ws service is not running."
        },
        "RequestId": "896D338C-E4F4-41EC-A154-D605E5DE****"
}

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 service is temporarily unavailable.

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