功能介紹
查詢彈性 云服務(wù)器 的某個請求行為。
調(diào)試
您可以在API Explorer中調(diào)試該接口。
URI
GET /v2.1/{project_id}/servers/{server_id}/os-instance-actions/{request_id}
|
參數(shù) |
是否必選 |
描述 |
|---|---|---|
|
project_id |
是 |
項目ID。 獲取方法請參見獲取項目ID。 |
|
server_id |
是 |
彈性云服務(wù)器ID。 |
|
request_id |
是 |
請求ID |
請求消息
無
響應(yīng)消息
請求示例
查詢指定云服務(wù)器的某個請求行為。
GET https://{endpoint}/v2.1/89655fe61c4c4a08b9f3e7f9095441b8/servers/e723eb40-f56e-40f9-8c8c-caa517fe06ba/
os-instance-actions/req-5a429946-c9cc-45cc-b5bd-68864209e5c
響應(yīng)示例
{
"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"
}
]
}
}
返回值
請參考通用請求返回值。
