2.36.6. hammer host-collection hosts

ホストを一覧表示します。

Usage:
    hammer host-collection hosts [OPTIONS]

Options:
 --fields FIELDS                                     Show specified fields or predefined field sets only. (See below)
                                                     Comma separated list of values. Values containing comma should be quoted or escaped with backslash.
                                                     JSON is acceptable and preferred way for complex parameters
 --hostgroup HOSTGROUP_NAME                          Hostgroup name
 --hostgroup-id HOSTGROUP_ID                         ID of host group
 --hostgroup-title HOSTGROUP_TITLE                   Hostgroup title
 --id HOST_COLLECTION_ID                             Host Collection ID
 --include INCLUDE                                   Array of extra information types to include
                                                     Possible value(s): 'parameters', 'all_parameters'
 --lifecycle-environment LIFECYCLE_ENVIRONMENT_NAME  Lifecycle environment name to search by
 --lifecycle-environment-id LIFECYCLE_ENVIRONMENT_ID
 --location LOCATION_NAME                            Set the current location context for the request
 --location-id LOCATION_ID                           ID of location
 --location-title LOCATION_TITLE                     Set the current location context for the request
 --name HOST_COLLECTION_NAME                         Host Collection Name
 --order ORDER                                       Sort field and order, eg. ‘id DESC’
 --organization ORGANIZATION_NAME                    Organization name to search by
 --organization-id ORGANIZATION_ID                   ID of organization
 --organization-label ORGANIZATION_LABEL             Organization label to search by
 --organization-title ORGANIZATION_TITLE             Organization title
 --page PAGE                                         Page number, starting at 1
 --per-page PER_PAGE                                 Number of results per page to return, 'all' to return all results
 --search SEARCH                                     Filter results
 --thin THIN                                         Only list ID and name of hosts
                                                     One of true/false, yes/no, 1/0.
 -h, --help                                          Print help

Predefined field sets:
  ------------|-----|---------|-----
  FIELDS      | ALL | DEFAULT | THIN
  ------------|-----|---------|-----
  ID          | x   | x       | x
  Name        | x   | x       | x
  Security    | x   |         |
  Bugfix      | x   |         |
  Enhancement | x   |         |
  ------------|-----|---------|-----

Search / Order fields:
  activation_key                  string
  activation_key_id               string
  addon                           string
  addons_status                   Values: mismatched, matched, not_specified
  ansible_role                    string
  applicable_errata               string
  applicable_errata_issued        date
  applicable_rpms                 string
  architecture                    string
  autoheal                        boolean
  boot_time
  build                           Values: true, false
  class                           string
  comment                         text
  compute_resource                string
  compute_resource_id             integer
  config_group                    string
  content_source                  string
  content_view                    string
  content_view_id                 integer
  created_at                      datetime
  domain                          string
  domain_id                       integer
  environment                     string
  errata_status                   Values: security_needed, errata_needed, updated, unknown
  execution_status                Values: ok, error
  facts                           string
  global_status                   Values: ok, warning, error
  has_ip                          string
  has_mac                         string
  hostgroup                       string
  hostgroup_fullname              string
  hostgroup_id                    integer
  hostgroup_name                  string
  hostgroup_title                 string
  hypervisor                      boolean
  hypervisor_host                 string
  id                              integer
  image                           string
  insights_recommendations_count  integer
  installable_errata              string
  installed_at                    datetime
  ip                              string
  job_invocation.id               string
  job_invocation.result           Values: cancelled, failed, pending, success
  last_checkin                    datetime
  last_report                     datetime
  lifecycle_environment           string
  lifecycle_environment_id        integer
  location                        string
  location_id                     integer
  mac                             string
  managed                         Values: true, false
  model                           string
  name                            string
  organization                    string
  organization_id                 integer
  origin                          string
  os                              string
  os_description                  string
  os_id                           integer
  os_major                        string
  os_minor                        string
  os_title                        string
  owner                           string
  owner_id                        integer
  owner_type                      string
  params                          string
  params_name                     string
  parent_hostgroup                string
  puppet_ca                       string
  puppet_proxy_id                 integer
  puppetmaster                    string
  purpose_status                  Values: mismatched, matched, not_specified
  realm                           string
  realm_id                        integer
  registered_at                   datetime
  registered_through              string
  release_version                 string
  role                            text
  role_status                     Values: mismatched, matched, not_specified
  service_level                   string
  sla_status                      Values: mismatched, matched, not_specified
  smart_proxy                     string
  status.applied                  integer
  status.enabled                  Values: true, false
  status.failed                   integer
  status.failed_restarts          integer
  status.interesting              Values: true, false
  status.pending                  integer
  status.restarted                integer
  status.skipped                  integer
  subnet                          string
  subnet.name                     text
  subnet6                         string
  subnet6.name                    text
  subscription_id                 string
  subscription_name               string
  subscription_status             Values: valid, partial, invalid, unknown, disabled, unsubscribed_hypervisor
  subscription_uuid               string
  trace_status                    Values: reboot_needed, process_restart_needed, updated
  upgradable_rpms                 string
  usage                           text
  usage_status                    Values: mismatched, matched, not_specified
  user.firstname                  string
  user.lastname                   string
  user.login                      string
  user.mail                       string
  usergroup                       string
  usergroup.name                  string
  uuid                            string