所有ホストサーバー詳細一覧取得
Description
お客様専用でご契約いただいたホストサーバーの詳細一覧を取得します。
Request URL
Compute API v2.0 GET /v2/{tenant_id}/os-hypervisors/detail
Request Json
This operation does not accept a request body.
Request Parameters
Parameter | Value | Style | Description |
---|---|---|---|
X-Auth-Token | Userトークン | header | トークン発行 にて払い出されたID |
tenant_id | テナントID | URI | API情報を確認する にてご確認ください。 |
Response
-
Normal response codes
200
Example
-
Request
curl -i -X GET \ -H "Accept: application/json" \ -H "Content-Type: application/json" \ -H "X-Auth-Token: トークンID" \ https://compute.jpt1.cloud.z.com/v2/テナントID/os-hypervisors/detail
-
Response
HTTP/1.1 200 OK Date: Fri, 19 May 2017 01:28:16 GMT Server: Apache X-Powered-By: PHP/5.6.30 Content-Length: 491 Content-Type: application/json { "hypervisors": [{ "status": "enabled", "service": { "host": "ホスト名", "disabled_reason": null, "id": ホストID }, "vcpus_used": **, "hypervisor_type": "**", "id": 28, "local_gb_used": *, "state": "up", "hypervisor_hostname": "ホスト名", "host_ip": null, "memory_mb": ******, "current_workload": 0, "vcpus": **, "free_ram_mb": *****, "running_vms": **, "free_disk_gb": **, "hypervisor_version": *******, "disk_available_least": **, "os_type": "linux", "local_gb": **, "cpu_info": null, "memory_mb_used": ***** }] }