调用GetVisualServiceStatus查询指定集群中VNC远程可视化服务的使用状态。

调试

您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

请求参数

名称 类型 是否必选 示例值 描述
Action String GetVisualServiceStatus

系统规定参数。取值:GetVisualServiceStatus

ClusterId String ehpc-hz-jeJki6****

集群ID。

返回数据

名称 类型 示例值 描述
Message String inactive (dead) , ws service is not running.

可视化服务的状态信息。

RequestId String 896D338C-E4F4-41EC-A154-D605E5DE6880

请求ID。

示例

请求示例

https://ehpc.cn-hangzhou.aliyuncs.com/?Action=GetVisualServiceStatus
&ClusterId=ehpc-hz-jeJki6****
&<公共请求参数>

正常返回示例

XML格式

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

JSON格式

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

错误码

HttpCode 错误码 错误信息 描述
503 ServiceUnavailable The request has failed due to a temporary failure of the server 请求失败,服务暂时不可用

访问错误中心查看更多错误码。