通过请求ID查询云服务器行为NovaShowServerAction
功能介绍
查询弹性 云服务器 的某个请求行为。
调试
您可以在API Explorer中调试该接口。
URI
GET /v2.1/{project_id}/servers/{server_id}/os-instance-actions/{request_id}
请求消息
无
响应消息
请求示例
查询指定云服务器的某个请求行为。
GET https://{endpoint}/v2.1/89655fe61c4c4a08b9f3e7f9095441b8/servers/e723eb40-f56e-40f9-8c8c-caa517fe06ba/
os-instance-actions/req-5a429946-c9cc-45cc-b5bd-68864209e5c
响应示例
{ "instanceAction": { "instance_uuid": "e723eb40-f56e-40f9-8c8c-caa517fe06ba", "user_id": "752be40780484291a9cc7ae50fff3e6d", "start_time": "2014-12-11T02:17:49.000000", "request_id": "req-5a429946-c9cc-45cc-b5bd-68864209e5cc", "action": "create", "message": null, "project_id": "89655fe61c4c4a08b9f3e7f9095441b8", "events": [ { "finish_time": "2014-12-11T02:17:58.000000", "start_time": "2014-12-11T02:17:50.000000", "traceback": null, "event": "compute_build_and_run_instance", "result": "Success" } ] } }
返回值
请参考通用请求返回值。