2.37.6. hammer hostgroup list
すべてのホストグループを一覧表示します。
Usage: hammer hostgroup <list|index> [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 --location LOCATION_NAME Set the current location context for the request --location-id LOCATION_ID Scope by locations --location-title LOCATION_TITLE Set the current location context for the request --order ORDER Sort field and order, eg. ‘id DESC’ --organization ORGANIZATION_NAME Set the current organization context for the request --organization-id ORGANIZATION_ID Scope by organizations --organization-title ORGANIZATION_TITLE Set the current organization context for the request --page PAGE Page number, starting at 1 --per-page PER_PAGE Number of results per page to return, 'all' to return all results --puppet-class PUPPET_CLASS_NAME Puppet class name --puppet-class-id PUPPET_CLASS_ID --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 string template string title string