1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 | { "uri":"/ibm/director/rest/VMControl/virtualServers" "virtualServers":[ { "uri":"/ibm/director/rest/VMControl/hosts/6797/virtualServers/6798", "name":"myVirtualServer1", "oid":6798 "customization":{ "uri":"/ibm/director/rest/VMControl/hosts/6797/virtualServers/6798/ customization" }, "state":{ "label":"Started", "id":8 }, }, { "uri":"/ibm/director/rest/VMControl/hosts/6797/virtualServers/7648", "name":"myVirtualServer2", "oid":7468 "customization":{ "uri":"/ibm/director/rest/VMControl/hosts/6797/virtualServers/7648/ customization" }, "state":{ "label":"Started", "id":8 }, }, { "uri":"/ibm/director/rest/VMControl/hosts/6797/virtualServers/8200", "name":"myVirtualServer3", "oid":8200 "customization":{ "uri":"/ibm/director/rest/VMControl/hosts/6797/virtualServers/8200/ customization" }, "state":{ "label":"Started", "id":8 }, } } |
1 2 3 4 5 6 7 8 9 | { "virtualServer":{ "properties":[{ "name":"cpu", "value":2 } ] } } |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | HTTP/1.1 202 OK Cache-Control: no-store Set-Cookie: JSESSIONID_ibm_console_80=0000z7DH1a8JDMo-ymu3KP38hoMath=/; Secure; HTTPOnly Expires: Thu, 01 Dec 1994 16:00:00 GMT Content-Type: application/octet-stream; charset=UTF-8 Content-Length: 200 Date: Mon, 14 May 2012 03:00:27 GMT Location: https://9.9.9.9:8422/ibm/director/rest/jobs/154/activations/1 Accept-Ranges: bytes Server: Noelios-Restlet-Engine/1.1.4 Content-Language: en-US { "MessageText": "New job activation for updating the virtual server was started.\n Refer to the following URI for job activation status: /ibm/director/rest/jobs/154/activations/1", "MessageID": "" } |
欢迎光临 电子技术论坛_中国专业的电子工程师学习交流社区-中电网技术论坛 (http://bbs.eccn.com/) | Powered by Discuz! 7.0.0 |