- HOME
- 提供API一覧
- listPremiumHosts
listPremiumHosts
処理概要
Premiumホスト情報を取得
注意事項
・なし
リクエスト
・リクエストパラメータ
| Parameter Name | Description | Required |
| zoneid | the Zone ID for the host | false |
・リクエストサンプル
$ ./kick_api.sh command=listPremiumHosts
レスポンス
・レスポンスボディ
| Response Name | Description |
| cpuallocated | the amount of the host’s CPU currently allocated |
| cpunumber | the CPU number of the host |
| cpuspeed | the CPU speed of the host |
| cpuused | the amount of the host’s CPU currently used |
| hypervisor | the host hypervisor |
| memoryallocated | the amount of the host’s memory currently allocated |
| memorytotal | the memory total of the host |
| memoryused | the amount of the host’s memory currently used |
| name | the name of the host |
| resourcestate | the resource state of the host |
| state | the state of the host |
| zoneid | the Zone ID of the host |
| zonename | the Zone name of the host |
| distributiongroupname | the distribution group name of the host |
・レスポンスサンプル
【API実行結果】
<?xml version=”1.0″ encoding=”UTF-8″ standalone=”yes”?>
<listpremiumhostsresponse cloud-stack-version=”4.3.0.2″>
<count>1</count>
<host>
<cpuallocated>0%</cpuallocated>
<cpunumber>16</cpunumber>
<cpuspeed>2593</cpuspeed>
<cpuused>0.38%</cpuused>
<distributionGroupName>GROUP2</distributionGroupName>
<hypervisor>VMware</hypervisor>
<name>jp2-east01-Losv-003261</name>
<memoryallocated>0</memoryallocated>
<memorytotal>68675801088</memorytotal>
<memoryused>2503012</memoryused>
<resourcestate>Enabled</resourcestate>
<state>Up</state>
<zoneid>f4c460fd-06d9-44db-a54d-7a23b54d9133</zoneid>
<zonename>jp2-east01</zonename>
</host>
</listpremiumhostsresponse>
