| 参数名字 | 描述 |
|---|---|
|
thin 选填 |
只列出主机的 ID 和名称 Validations:
|
|
hostgroup_id 选填 |
主机组 ID Validations:
|
|
location_id 选填 |
位置 ID Validations:
|
|
organization_id 选填 |
机构 ID Validations:
|
|
environment_id 选填 |
环境 ID Validations:
|
|
include 选填 |
要包含的额外信息类型阵列 Validations:
|
|
search 选填 |
过滤结果 Validations:
|
|
order 选填 |
排序项和顺序,例如 ‘id DESC’ Validations:
|
|
page 选填 |
页号,从 1 开始 Validations:
|
|
per_page 选填 |
每页中显示的返回结果数 Validations:
|
| 字段名 | 类型 | 可能的值 |
|---|---|---|
| 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 |