Aliyun How to use a query instance to manage a terminal address interface

Source: Internet
Author: User
Tags error code aliyun

  Query instance management Terminal address

Describe

Querying ECS WEB Management terminal addresses

The management terminal address is valid for 15 seconds. If the address is not connected within 15 seconds of the query, the URL address is invalidated and needs to be queried again

The keepalive time for a single management terminal connection is 60 seconds and the user has no interaction in the Admin Terminal window for 60 seconds, and the connection is automatically disconnected

No more than 30 reconnection times per minute if the connection is interrupted

Request parameters

name type whether you must Description
Action String Is System specified parameters, values: Describeinstancevncurl
RegionID String Is Region where the ECS instance of the query resides
Instanceid String Is ECS instance of query

return parameters

name type Description
Vncurl String Managing Terminal URLs

Error code

TD style= "BORDER:0;PADDING:0;" >the request processing has failed due to some error.
error code Description Http status code
invalidregionid.notfound the RegionID provided does not exist in our records.< /td> 404
missingparamete R the input parameter "Instanceid" that is mandatory for processing of this reques T is not supplied. 400
incorrectinstancestatus< /td> the current status of the resource does not support this operation. 403
internalerror 500

Example

Request sample

Https://ecs.aliyuncs.com/?Action=DescribeInstanceVncUrl

&describeinstancevncurl

&instanceid=ay121018033933eae8689

&< Public Request Parameters >

Return sample

XML format

  

1450f2d7-5435-4420-bbc9-49c514b0157e

ws%3a%2f%2fhz01-vncproxy.aliyun.com%2fwebsockify%2f%3fs%3ddvh%252fia% 252byc73gwo48cbx2gbxudvzaanskr74pq30mzquygeumcb%252fbknixdxdea996

  

JSON format

{

"RequestID": "1450f2d7-5435-4420-bbc9-49c514b0157e",

"Vncurl": "ws%3a%2f%2fhz01-vncproxy.aliyun.com%2fwebsockify%2f%3fs%3ddvh%252fia% 252byc73gwo48cbx2gbxudvzaanskr74pq30mzquygeumcb%252fbknixdxdea996 "

}

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.