获取VNC登录信息-GetUHostInstanceVncInfo

获取指定UHost实例的管理VNC配置详细信息。

Request Parameters

Parameter nameTypeDescriptionRequired
Regionstring地域,参见 地域和可用区列表Yes
Zonestring可用区,参见 可用区列表No
UHostIdstringUHost实例ID 参见 DescribeUHostInstanceYes
ProjectIdstring项目编号(子帐号用) 请参考GetProjectList接口No

Response Elements

Parameter nameTypeDescriptionRequired
RetCodeint操作返回码Yes
Actionstring操作名称Yes
UhostIdstringUHost实例IDNo
VncIPstringVnc登录IPNo
VncPortintVnc登录端口No
VncPasswordstringVnc 登录密码No

Request Example

http(s)://api.ucloud.cn/?Action=GetUHostInstanceVncInfo
&Region=cn-bj2
&Zone=cn-bj2-04
&UHostId=uhost-qs20fr

Response Example

{
    "VncIP": "118.192.93.9",
    "VncPassword": "Y33WrImq",
    "RetCode": 0,
    "UHostId": "uhost-qs20fr",
    "Action": "GetUHostInstanceVncInfoResponse",
    "VncPort": "1234"
}