2.34.6. hammer hostgroup list
すべてのホストグループを一覧表示します。
Usage: hammer hostgroup list [OPTIONS] Options: --fields FIELDS Show specified fileds or predefined filed 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 --location LOCATION_NAME Location name --location-id LOCATION_ID --location-title LOCATION_TITLE Location title --order ORDER Sort field and order, eg. ‘id DESC’ --organization ORGANIZATION_NAME Organization name --organization-id ORGANIZATION_ID Organization ID --organization-title ORGANIZATION_TITLE Organization title --page PAGE Page number, starting at 1 --per-page PER_PAGE Number of results per page to return --puppet-class PUPPET_CLASS_NAME Puppet class name --puppet-class-id PUPPET_CLASS_ID ID of Puppet class --search SEARCH Filter results -h, --help Print help Predefined field sets: -------------------|-----|---------|----- FIELDS | ALL | DEFAULT | THIN -------------------|-----|---------|----- Id | x | x | x Name | x | x | x Title | x | x | x Operating System | x | x | Puppet Environment | x | x | Model | x | x | -------------------|-----|---------|----- Search / Order fields: architecture string class string config_group string environment string host string id integer label string location string location_id integer medium string name string organization string organization_id integer os string os_description string os_id integer os_major string os_minor string os_title string params text template string title string