| 參數名字 | 描述 |
|---|---|
|
thin 選填 |
Only list ID and name of hosts Validations:
|
|
hostgroup_id 選填 |
主機群組的 ID Validations:
|
|
location_id 選填 |
位置 ID Validations:
|
|
organization_id 選填 |
組織 ID Validations:
|
|
environment_id 選填 |
環境的 ID Validations:
|
|
include 選填 |
Array of extra information types to include Validations:
|
|
search 選填 |
篩選結果 Validations:
|
|
order 選填 |
Sort field and order, eg. ‘id DESC’ Validations:
|
|
page 選填 |
頁數,從 1 開始 Validations:
|
|
per_page 選填 |
每頁要傳回的結果數量 Validations:
|
| Field name | 類型 | Possible values |
|---|---|---|
| architecture | ||
| boot_time | ||
| build | true, false | |
| class | string | |
| comment | ||
| compute_resource | ||
| compute_resource_id | ||
| config_group | string | |
| created_at | ||
| domain | ||
| domain_id | ||
| environment | ||
| expires | ||
| facts | string | |
| global_status | ok, warning, error | |
| has_ip | ||
| has_mac | ||
| hostgroup | ||
| hostgroup_fullname | ||
| hostgroup_id | ||
| hostgroup_name | ||
| hostgroup_title | ||
| image | ||
| installed_at | ||
| ip | ||
| last_report | ||
| location | ||
| location_id | ||
| mac | ||
| managed | true, false | |
| model | ||
| name | ||
| organization | ||
| organization_id | ||
| origin | ||
| os | ||
| os_description | ||
| os_id | ||
| os_major | string | |
| os_minor | string | |
| os_title | ||
| owner | string | |
| owner_id | ||
| owner_type | ||
| params | string | |
| params_name | ||
| parent_hostgroup | string | |
| puppet_ca | ||
| puppet_proxy_id | ||
| puppetmaster | ||
| realm | ||
| realm_id | ||
| smart_proxy | string | |
| status.applied | ||
| status.enabled | true, false | |
| status.failed | ||
| status.failed_restarts | ||
| status.interesting | true, false | |
| status.pending | ||
| status.restarted | ||
| status.skipped | ||
| subnet | ||
| subnet.name | ||
| subnet6 | ||
| subnet6.name | ||
| user.firstname | string | |
| user.lastname | string | |
| user.login | string | |
| user.mail | string | |
| usergroup | ||
| usergroup.name | ||
| uuid |