huawei-cloud-api-definitions-ECS 0.1.20250919

Huawei Cloud API definitions, generated from OpenAPI spec
Documentation
1
{"base_path":"/","components":null,"consumes":"[\"application/json;charset=UTF-8\"]","definitions":{"GetServerRemoteConsoleOption":{"properties":{"protocol":{"description":"远程登录协议,请将protocol配置为“vnc”。","enum":["vnc"],"example":"vnc","type":"string"},"type":{"description":"远程登录的类型,请将type配置为“novnc”。","enum":["novnc"],"example":"novnc","type":"string"}},"required":["protocol","type"]},"ServerRemoteConsole":{"description":"","properties":{"protocol":{"description":"远程登录的协议。","type":"string"},"type":{"description":"远程登录的类型。","type":"string"},"url":{"description":"远程登录的url。","type":"string"}},"required":["protocol","type","url"]},"ShowServerRemoteConsoleRequestBody":{"description":"This is a auto create Body Object","properties":{"remote_console":{"$ref":"#/definitions/GetServerRemoteConsoleOption","description":"弹性云服务器获取远程登录地址。","example":"{\"protocol\":\"vnc\",\"type\":\"novnc\"}"}},"required":["remote_console"]},"ShowServerRemoteConsoleResponseBody":{"description":"This is a auto create Response Object","properties":{"remote_console":{"$ref":"#/definitions/ServerRemoteConsole","description":"弹性云服务器获取远程登录地址。","example":"{\"type\":\"novnc\",\"protocol\":\"vnc\",\"url\":\"https://nova-novncproxy.az1.dc1.domainname.com:8002/vnc_auto.html?token=0fda3eca-8232-4249-a69f-44ce8ab31be6&lang=EN&tLength=70\"}"}},"required":["remote_console"]}},"description":null,"group_id":"395cf9dd07ff44ddb50f92797b2a85de","host":"ecs.cn-north-4.myhuaweicloud.com","id":"f4162d4424144e88853ab7eb8aa203cf","info_version":"v2","method":"post","name":"ShowServerRemoteConsole","parameters":{"X-Auth-Token":{"description":"用户Token。\n\n通过调用IAM服务获取用户Token接口获取(响应消息头中X-Subject-Token的值)。","in":"header","name":"X-Auth-Token","required":true,"type":"string","x-example":"MIIDkgYJKoZIhvcNAQcCoIIDgzCCXXXXXX..."},"project_id":{"description":"项目ID。","in":"path","name":"project_id","required":true,"type":"string","x-example":"2b31ed520xxxxxxebedb6e57xxxxxxxx"},"server_id":{"description":"云服务器ID。","in":"path","name":"server_id","required":true,"type":"string","x-example":"e6b99563-xxxx-xxxx-xxxx-1820d4fd2a67"}},"paths":{"/v1/{project_id}/cloudservers/{server_id}/remote_console":{"post":{"consumes":[],"deprecated":false,"description":"获取弹性云服务器VNC远程登录地址。","operationId":"ShowServerRemoteConsole","parameters":[{"$ref":"#/parameters/project_id"},{"$ref":"#/parameters/server_id"},{"$ref":"#/parameters/X-Auth-Token"},{"description":"This is a auto create Body Object","in":"body","name":"ShowServerRemoteConsoleRequestBody","required":true,"schema":{"$ref":"#/definitions/ShowServerRemoteConsoleRequestBody"}}],"produces":[],"responses":{"200":{"description":"OK","examples":{"application/json":{"remote_console":{"protocol":"vnc","type":"novnc","url":"https://nova-novncproxy.az1.dc1.domainname.com:8002/vnc_auto.html?token=0fda3eca-8232-4249-a69f-44ce8ab31be6&lang=EN&tLength=70"}}},"schema":{"$ref":"#/definitions/ShowServerRemoteConsoleResponseBody"}}},"summary":"获取VNC远程登录地址","tags":["状态管理"],"x-apiexplorer-hide":"false","x-constraint":"无","x-first-open-time":"2018-6-30","x-hybridcloud":"true","x-is-registered":"Y","x-name":"获取VNC远程登录地址","x-open-region-cloud":"hc,hk,ctc","x-order":14,"x-publishpath":"","x-registered_to":"apicom","x-request-examples-1":{"remote_console":{"protocol":"vnc","type":"novnc"}},"x-request-examples-description-1":"","x-request-examples-text-1":"{\n\t\"remote_console\": {\n\t\t\"protocol\": \"vnc\",\n\t\t\"type\": \"novnc\"\n\t}\n}","x-request-examples-url-1":"POST https://{endpoint}/v1/{project_id}/cloudservers/{server_id}/remote_console","x-scope":"Commercial","x-source":"SelfDeveloped","x-support-sdk":"Y","x-version":"v1"}}},"product_short":"ECS","region_id":"cn-north-4","schemes":["HTTPS"],"security_definitions":null,"summary":"获取VNC远程登录地址","tags":"状态管理","uri":null,"version":"2.0"}