Get VNC console for an instance
| Method | URI | Description | 
|---|---|---|
| POST | /v2/{tenant_id}/servers/{server_id}/action | 仮想サーバのVNCコンソールのURLを取得します。 | 
Normal response codes: 200
Request
下表は、仮想サーバのVNCコンソールのURL取得リクエストのURIパラメーターの一覧です。
| Name | Type | Description | 
|---|---|---|
| {tenant_id} | String | プロジェクトID | 
| {server_id} | UUID | 対象とする仮想サーバの仮想サーバID | 
下表は、仮想サーバのVNCコンソールのURL取得リクエストのボディ部のパラメーターの一覧です。
| Name | Type | Description | 
|---|---|---|
| type | String | VNCコンソールの種別 「novnc」が正しい値となります。  | 
            
Example. Get vnc console: JSON request
{
         "os-getVNCConsole": {
                "type": "novnc"
         }
} 
      
      
    Response
Example. Get vnc console: JSON response
{
         "console": {
               "type": "novnc",
               "url": "http://127.0.0.1:6080/vnc_auto.html?token=191996c3-7b0f-42f3-95a7-f1839f2da6ed"
         }
}