2.44. Hammer 位置


操作位置

Usage:
    hammer location [OPTIONS] SUBCOMMAND [ARG] ...

Parameters:
 SUBCOMMAND                    Subcommand
 [ARG] ...                     Subcommand arguments

Subcommands:
 add-compute-resource          Associate a compute resource
 add-domain                    Associate a domain
 add-hostgroup                 Associate a hostgroup
 add-medium                    Associate a medium
 add-organization              Associate an organization
 add-provisioning-template     Associate provisioning templates
 add-smart-proxy               Associate a smart proxy
 add-subnet                    Associate a subnet
 add-user                      Associate an user
 create                        Create a location
 delete, destroy               Delete a location
 delete-parameter              Delete parameter for a location
 info, show                    Show a location
 list, index                   List all locations
 remove-compute-resource       Disassociate a compute resource
 remove-domain                 Disassociate a domain
 remove-hostgroup              Disassociate a hostgroup
 remove-medium                 Disassociate a medium
 remove-organization           Disassociate an organization
 remove-provisioning-template  Disassociate provisioning templates
 remove-smart-proxy            Disassociate a smart proxy
 remove-subnet                 Disassociate a subnet
 remove-user                   Disassociate an user
 set-parameter                 Create or update parameter for a location
 update                        Update a location

Options:
 -h, --help                    Print help

2.44.1. Hammer 位置添加-compute-resource

关联计算资源

Usage:
    hammer location add-compute-resource [OPTIONS]

Options:
 --compute-resource VALUE      Compute resource name
 --compute-resource-id NUMBER
 --id VALUE
 --name VALUE                  Set the current location context for the request
 --title VALUE                 Set the current location context for the request
 -h, --help                    Print help

Option details:
  Here you can find option types and the value an option can accept:

  BOOLEAN             One of true/false, yes/no, 1/0
  DATETIME            Date and time in YYYY-MM-DD HH:MM:SS or ISO 8601 format
  ENUM                Possible values are described in the option's description
  FILE                Path to a file
  KEY_VALUE_LIST      Comma-separated list of key=value.
                      JSON is acceptable and preferred way for such parameters
  LIST                Comma separated list of values. Values containing comma should be quoted or escaped with backslash.
                      JSON is acceptable and preferred way for such parameters
  MULTIENUM           Any combination of possible values described in the option's description
  NUMBER              Numeric value. Integer
  SCHEMA              Comma separated list of values defined by a schema.
                      JSON is acceptable and preferred way for such parameters
  VALUE               Value described in the option's description. Mostly simple string

2.44.2. Hammer 位置添加域

关联域

Usage:
    hammer location add-domain [OPTIONS]

Options:
 --domain VALUE                Domain name
 --domain-id NUMBER            Numerical ID or domain name
 --id VALUE
 --name VALUE                  Set the current location context for the request
 --title VALUE                 Set the current location context for the request
 -h, --help                    Print help

Option details:
  Here you can find option types and the value an option can accept:

  BOOLEAN             One of true/false, yes/no, 1/0
  DATETIME            Date and time in YYYY-MM-DD HH:MM:SS or ISO 8601 format
  ENUM                Possible values are described in the option's description
  FILE                Path to a file
  KEY_VALUE_LIST      Comma-separated list of key=value.
                      JSON is acceptable and preferred way for such parameters
  LIST                Comma separated list of values. Values containing comma should be quoted or escaped with backslash.
                      JSON is acceptable and preferred way for such parameters
  MULTIENUM           Any combination of possible values described in the option's description
  NUMBER              Numeric value. Integer
  SCHEMA              Comma separated list of values defined by a schema.
                      JSON is acceptable and preferred way for such parameters
  VALUE               Value described in the option's description. Mostly simple string

2.44.3. Hammer 位置 add-hostgroup

关联主机组

Usage:
    hammer location add-hostgroup [OPTIONS]

Options:
 --hostgroup VALUE             Hostgroup name
 --hostgroup-id NUMBER
 --hostgroup-title VALUE       Hostgroup title
 --id VALUE
 --name VALUE                  Set the current location context for the request
 --title VALUE                 Set the current location context for the request
 -h, --help                    Print help

Option details:
  Here you can find option types and the value an option can accept:

  BOOLEAN             One of true/false, yes/no, 1/0
  DATETIME            Date and time in YYYY-MM-DD HH:MM:SS or ISO 8601 format
  ENUM                Possible values are described in the option's description
  FILE                Path to a file
  KEY_VALUE_LIST      Comma-separated list of key=value.
                      JSON is acceptable and preferred way for such parameters
  LIST                Comma separated list of values. Values containing comma should be quoted or escaped with backslash.
                      JSON is acceptable and preferred way for such parameters
  MULTIENUM           Any combination of possible values described in the option's description
  NUMBER              Numeric value. Integer
  SCHEMA              Comma separated list of values defined by a schema.
                      JSON is acceptable and preferred way for such parameters
  VALUE               Value described in the option's description. Mostly simple string

2.44.4. Hammer 位置添加型

关联中型

Usage:
    hammer location add-medium [OPTIONS]

Options:
 --id VALUE
 --medium VALUE                Medium name
 --medium-id NUMBER
 --name VALUE                  Set the current location context for the request
 --title VALUE                 Set the current location context for the request
 -h, --help                    Print help

Option details:
  Here you can find option types and the value an option can accept:

  BOOLEAN             One of true/false, yes/no, 1/0
  DATETIME            Date and time in YYYY-MM-DD HH:MM:SS or ISO 8601 format
  ENUM                Possible values are described in the option's description
  FILE                Path to a file
  KEY_VALUE_LIST      Comma-separated list of key=value.
                      JSON is acceptable and preferred way for such parameters
  LIST                Comma separated list of values. Values containing comma should be quoted or escaped with backslash.
                      JSON is acceptable and preferred way for such parameters
  MULTIENUM           Any combination of possible values described in the option's description
  NUMBER              Numeric value. Integer
  SCHEMA              Comma separated list of values defined by a schema.
                      JSON is acceptable and preferred way for such parameters
  VALUE               Value described in the option's description. Mostly simple string

2.44.5. Hammer 位置添加机构

关联机构

Usage:
    hammer location add-organization [OPTIONS]

Options:
 --id VALUE
 --name VALUE                  Set the current location context for the request
 --organization VALUE          Set the current organization context for the request
 --organization-id NUMBER      Organization ID
 --organization-title VALUE    Set the current organization context for the request
 --title VALUE                 Set the current location context for the request
 -h, --help                    Print help

Option details:
  Here you can find option types and the value an option can accept:

  BOOLEAN             One of true/false, yes/no, 1/0
  DATETIME            Date and time in YYYY-MM-DD HH:MM:SS or ISO 8601 format
  ENUM                Possible values are described in the option's description
  FILE                Path to a file
  KEY_VALUE_LIST      Comma-separated list of key=value.
                      JSON is acceptable and preferred way for such parameters
  LIST                Comma separated list of values. Values containing comma should be quoted or escaped with backslash.
                      JSON is acceptable and preferred way for such parameters
  MULTIENUM           Any combination of possible values described in the option's description
  NUMBER              Numeric value. Integer
  SCHEMA              Comma separated list of values defined by a schema.
                      JSON is acceptable and preferred way for such parameters
  VALUE               Value described in the option's description. Mostly simple string

2.44.6. Hammer 位置添加-provisioning-template

关联自定义模板

Usage:
    hammer location add-provisioning-template [OPTIONS]

Options:
 --id VALUE
 --name VALUE                         Set the current location context for the request
 --provisioning-template VALUE        Name to search by
 --provisioning-template-id NUMBER
 --provisioning-template-ids LIST     List of provisioning template ids
 --provisioning-template-search VALUE Provisioning template name regex to search, all matching templates will be
                                      associated
 --provisioning-templates LIST        List of provisioning template names
 --title VALUE                        Set the current location context for the request
 -h, --help                           Print help

Option details:
  Here you can find option types and the value an option can accept:

  BOOLEAN             One of true/false, yes/no, 1/0
  DATETIME            Date and time in YYYY-MM-DD HH:MM:SS or ISO 8601 format
  ENUM                Possible values are described in the option's description
  FILE                Path to a file
  KEY_VALUE_LIST      Comma-separated list of key=value.
                      JSON is acceptable and preferred way for such parameters
  LIST                Comma separated list of values. Values containing comma should be quoted or escaped with backslash.
                      JSON is acceptable and preferred way for such parameters
  MULTIENUM           Any combination of possible values described in the option's description
  NUMBER              Numeric value. Integer
  SCHEMA              Comma separated list of values defined by a schema.
                      JSON is acceptable and preferred way for such parameters
  VALUE               Value described in the option's description. Mostly simple string

2.44.7. Hammer 位置添加-smart-proxy

关联智能代理

Usage:
    hammer location add-smart-proxy [OPTIONS]

Options:
 --id VALUE
 --name VALUE                  Set the current location context for the request
 --smart-proxy VALUE           Name to search by
 --smart-proxy-id NUMBER
 --title VALUE                 Set the current location context for the request
 -h, --help                    Print help

Option details:
  Here you can find option types and the value an option can accept:

  BOOLEAN             One of true/false, yes/no, 1/0
  DATETIME            Date and time in YYYY-MM-DD HH:MM:SS or ISO 8601 format
  ENUM                Possible values are described in the option's description
  FILE                Path to a file
  KEY_VALUE_LIST      Comma-separated list of key=value.
                      JSON is acceptable and preferred way for such parameters
  LIST                Comma separated list of values. Values containing comma should be quoted or escaped with backslash.
                      JSON is acceptable and preferred way for such parameters
  MULTIENUM           Any combination of possible values described in the option's description
  NUMBER              Numeric value. Integer
  SCHEMA              Comma separated list of values defined by a schema.
                      JSON is acceptable and preferred way for such parameters
  VALUE               Value described in the option's description. Mostly simple string

2.44.8. Hammer 位置添加子网

关联子网

Usage:
    hammer location add-subnet [OPTIONS]

Options:
 --id VALUE
 --name VALUE                  Set the current location context for the request
 --subnet VALUE                Subnet name
 --subnet-id NUMBER
 --title VALUE                 Set the current location context for the request
 -h, --help                    Print help

Option details:
  Here you can find option types and the value an option can accept:

  BOOLEAN             One of true/false, yes/no, 1/0
  DATETIME            Date and time in YYYY-MM-DD HH:MM:SS or ISO 8601 format
  ENUM                Possible values are described in the option's description
  FILE                Path to a file
  KEY_VALUE_LIST      Comma-separated list of key=value.
                      JSON is acceptable and preferred way for such parameters
  LIST                Comma separated list of values. Values containing comma should be quoted or escaped with backslash.
                      JSON is acceptable and preferred way for such parameters
  MULTIENUM           Any combination of possible values described in the option's description
  NUMBER              Numeric value. Integer
  SCHEMA              Comma separated list of values defined by a schema.
                      JSON is acceptable and preferred way for such parameters
  VALUE               Value described in the option's description. Mostly simple string

2.44.9. Hammer 位置添加用户

关联用户

Usage:
    hammer location add-user [OPTIONS]

Options:
 --id VALUE
 --name VALUE                  Set the current location context for the request
 --title VALUE                 Set the current location context for the request
 --user VALUE                  User's login to search by
 --user-id NUMBER
 -h, --help                    Print help

Option details:
  Here you can find option types and the value an option can accept:

  BOOLEAN             One of true/false, yes/no, 1/0
  DATETIME            Date and time in YYYY-MM-DD HH:MM:SS or ISO 8601 format
  ENUM                Possible values are described in the option's description
  FILE                Path to a file
  KEY_VALUE_LIST      Comma-separated list of key=value.
                      JSON is acceptable and preferred way for such parameters
  LIST                Comma separated list of values. Values containing comma should be quoted or escaped with backslash.
                      JSON is acceptable and preferred way for such parameters
  MULTIENUM           Any combination of possible values described in the option's description
  NUMBER              Numeric value. Integer
  SCHEMA              Comma separated list of values defined by a schema.
                      JSON is acceptable and preferred way for such parameters
  VALUE               Value described in the option's description. Mostly simple string

2.44.10. Hammer 位置创建

创建位置

Usage:
    hammer location create [OPTIONS]

Options:
 --compute-resource-ids LIST      Compute resource IDs
 --compute-resources LIST
 --description VALUE
 --domain-ids LIST                Domain IDs
 --domains LIST
 --environment-ids LIST           Environment IDs
 --hostgroup-ids LIST             Host group IDs
 --hostgroup-titles LIST
 --hostgroups LIST
 --ignore-types LIST              List of resources types that will be automatically associated
 --location VALUE                 Set the current location context for the request
 --location-id NUMBER             Set the current location context for the request
 --location-title VALUE           Set the current location context for the request
 --media LIST
 --medium-ids LIST                Medium IDs
 --name VALUE
 --organization VALUE             Set the current organization context for the request
 --organization-id NUMBER         Set the current organization context for the request
 --organization-ids LIST          Associated organization IDs
 --organization-title VALUE       Set the current organization context for the request
 --organization-titles LIST
 --organizations LIST
 --parent-id NUMBER               Parent ID
 --partition-table-ids LIST       Partition template IDs
 --partition-tables LIST
 --provisioning-template-ids LIST Provisioning template IDs
 --provisioning-templates LIST
 --realm-ids LIST                 Realm IDs
 --realms LIST
 --smart-proxies LIST
 --smart-proxy-ids LIST           Capsule IDs
 --subnet-ids LIST                Subnet IDs
 --subnets LIST
 --user-ids LIST                  User IDs
 --users LIST
 -h, --help                       Print help

Option details:
  Here you can find option types and the value an option can accept:

  BOOLEAN             One of true/false, yes/no, 1/0
  DATETIME            Date and time in YYYY-MM-DD HH:MM:SS or ISO 8601 format
  ENUM                Possible values are described in the option's description
  FILE                Path to a file
  KEY_VALUE_LIST      Comma-separated list of key=value.
                      JSON is acceptable and preferred way for such parameters
  LIST                Comma separated list of values. Values containing comma should be quoted or escaped with backslash.
                      JSON is acceptable and preferred way for such parameters
  MULTIENUM           Any combination of possible values described in the option's description
  NUMBER              Numeric value. Integer
  SCHEMA              Comma separated list of values defined by a schema.
                      JSON is acceptable and preferred way for such parameters
  VALUE               Value described in the option's description. Mostly simple string

2.44.11. Hammer 位置删除

删除位置

Usage:
    hammer location <delete|destroy> [OPTIONS]

Options:
 --id VALUE                    Location numeric id to search by
 --location VALUE              Set the current location context for the request
 --location-id NUMBER          Set the current location context for the request
 --location-title VALUE        Set the current location context for the request
 --name VALUE                  Set the current organization context for the request
 --organization VALUE          Set the current organization context for the request
 --organization-id NUMBER      Set the current organization context for the request
 --organization-title VALUE    Set the current organization context for the request
 --title VALUE                 Set the current organization context for the request
 -h, --help                    Print help

Option details:
  Here you can find option types and the value an option can accept:

  BOOLEAN             One of true/false, yes/no, 1/0
  DATETIME            Date and time in YYYY-MM-DD HH:MM:SS or ISO 8601 format
  ENUM                Possible values are described in the option's description
  FILE                Path to a file
  KEY_VALUE_LIST      Comma-separated list of key=value.
                      JSON is acceptable and preferred way for such parameters
  LIST                Comma separated list of values. Values containing comma should be quoted or escaped with backslash.
                      JSON is acceptable and preferred way for such parameters
  MULTIENUM           Any combination of possible values described in the option's description
  NUMBER              Numeric value. Integer
  SCHEMA              Comma separated list of values defined by a schema.
                      JSON is acceptable and preferred way for such parameters
  VALUE               Value described in the option's description. Mostly simple string

2.44.12. Hammer 位置删除参数

删除位置的参数

Usage:
    hammer location delete-parameter [OPTIONS]

Options:
 --location VALUE              Set the current location context for the request
 --location-id NUMBER
 --location-title VALUE        Set the current location context for the request
 --name VALUE                  Parameter name
 -h, --help                    Print help

Option details:
  Here you can find option types and the value an option can accept:

  BOOLEAN             One of true/false, yes/no, 1/0
  DATETIME            Date and time in YYYY-MM-DD HH:MM:SS or ISO 8601 format
  ENUM                Possible values are described in the option's description
  FILE                Path to a file
  KEY_VALUE_LIST      Comma-separated list of key=value.
                      JSON is acceptable and preferred way for such parameters
  LIST                Comma separated list of values. Values containing comma should be quoted or escaped with backslash.
                      JSON is acceptable and preferred way for such parameters
  MULTIENUM           Any combination of possible values described in the option's description
  NUMBER              Numeric value. Integer
  SCHEMA              Comma separated list of values defined by a schema.
                      JSON is acceptable and preferred way for such parameters
  VALUE               Value described in the option's description. Mostly simple string

2.44.13. Hammer 位置信息

显示位置

Usage:
    hammer location <info|show> [OPTIONS]

Options:
 --fields LIST                    Show specified fields or predefined field sets only. (See below)
 --id VALUE                       Location numeric id to search by
 --location VALUE                 Set the current location context for the request
 --location-id NUMBER             Set the current location context for the request
 --location-title VALUE           Set the current location context for the request
 --name VALUE                     Set the current organization context for the request
 --organization VALUE             Set the current organization context for the request
 --organization-id NUMBER         Set the current organization context for the request
 --organization-title VALUE       Set the current organization context for the request
 --show-hidden-parameters BOOLEAN Display hidden parameter values
 --title VALUE                    Set the current organization context for the request
 -h, --help                       Print help

Predefined field sets:
  --------------------|-----|---------|-----
  FIELDS              | ALL | DEFAULT | THIN
  --------------------|-----|---------|-----
  Id                  | x   | x       | x
  Title               | x   | x       | x
  Name                | x   | x       | x
  Description         | x   | x       |
  Parent              | x   | x       |
  Users/              | x   | x       |
  Smart proxies/      | x   | x       |
  Subnets/            | x   | x       |
  Compute resources/  | x   | x       |
  Installation media/ | x   | x       |
  Templates/          | x   | x       |
  Partition tables/   | x   | x       |
  Domains/            | x   | x       |
  Realms/             | x   | x       |
  Hostgroups/         | x   | x       |
  Parameters/         | x   | x       |
  Organizations/      | x   | x       |
  Created at          | x   | x       |
  Updated at          | x   | x       |
  --------------------|-----|---------|-----

Option details:
  Here you can find option types and the value an option can accept:

  BOOLEAN             One of true/false, yes/no, 1/0
  DATETIME            Date and time in YYYY-MM-DD HH:MM:SS or ISO 8601 format
  ENUM                Possible values are described in the option's description
  FILE                Path to a file
  KEY_VALUE_LIST      Comma-separated list of key=value.
                      JSON is acceptable and preferred way for such parameters
  LIST                Comma separated list of values. Values containing comma should be quoted or escaped with backslash.
                      JSON is acceptable and preferred way for such parameters
  MULTIENUM           Any combination of possible values described in the option's description
  NUMBER              Numeric value. Integer
  SCHEMA              Comma separated list of values defined by a schema.
                      JSON is acceptable and preferred way for such parameters
  VALUE               Value described in the option's description. Mostly simple string

2.44.14. Hammer 位置列表

列出所有位置

Usage:
    hammer location <list|index> [OPTIONS]

Options:
 --fields LIST                 Show specified fields or predefined field sets only. (See below)
 --location VALUE              Set the current location context for the request
 --location-id NUMBER          Set the current location context for the request
 --location-title VALUE        Set the current location context for the request
 --order VALUE                 Sort and order by a searchable field, e.g. '<field> DESC'
 --organization VALUE          Set the current organization context for the request
 --organization-id NUMBER      Set the current organization context for the request
 --organization-title VALUE    Set the current organization context for the request
 --page NUMBER                 Page number, starting at 1
 --per-page VALUE              Number of results per page to return, 'all' to return all results
 --search VALUE                Filter results
 -h, --help                    Print help

Predefined field sets:
  ------------|-----|---------|-----
  FIELDS      | ALL | DEFAULT | THIN
  ------------|-----|---------|-----
  Id          | x   | x       | x
  Title       | x   | x       | x
  Name        | x   | x       | x
  Description | x   | x       |
  ------------|-----|---------|-----

Option details:
  Here you can find option types and the value an option can accept:

  BOOLEAN             One of true/false, yes/no, 1/0
  DATETIME            Date and time in YYYY-MM-DD HH:MM:SS or ISO 8601 format
  ENUM                Possible values are described in the option's description
  FILE                Path to a file
  KEY_VALUE_LIST      Comma-separated list of key=value.
                      JSON is acceptable and preferred way for such parameters
  LIST                Comma separated list of values. Values containing comma should be quoted or escaped with backslash.
                      JSON is acceptable and preferred way for such parameters
  MULTIENUM           Any combination of possible values described in the option's description
  NUMBER              Numeric value. Integer
  SCHEMA              Comma separated list of values defined by a schema.
                      JSON is acceptable and preferred way for such parameters
  VALUE               Value described in the option's description. Mostly simple string

Search / Order fields:
  description         text
  id                  integer
  location_id         integer
  name                string
  title               string

2.44.15. Hammer 位置 remove-compute-resource

解除计算资源的关联

Usage:
    hammer location remove-compute-resource [OPTIONS]

Options:
 --compute-resource VALUE      Compute resource name
 --compute-resource-id NUMBER
 --id VALUE
 --name VALUE                  Set the current location context for the request
 --title VALUE                 Set the current location context for the request
 -h, --help                    Print help

Option details:
  Here you can find option types and the value an option can accept:

  BOOLEAN             One of true/false, yes/no, 1/0
  DATETIME            Date and time in YYYY-MM-DD HH:MM:SS or ISO 8601 format
  ENUM                Possible values are described in the option's description
  FILE                Path to a file
  KEY_VALUE_LIST      Comma-separated list of key=value.
                      JSON is acceptable and preferred way for such parameters
  LIST                Comma separated list of values. Values containing comma should be quoted or escaped with backslash.
                      JSON is acceptable and preferred way for such parameters
  MULTIENUM           Any combination of possible values described in the option's description
  NUMBER              Numeric value. Integer
  SCHEMA              Comma separated list of values defined by a schema.
                      JSON is acceptable and preferred way for such parameters
  VALUE               Value described in the option's description. Mostly simple string

2.44.16. Hammer 位置 remove-domain

解除域关联

Usage:
    hammer location remove-domain [OPTIONS]

Options:
 --domain VALUE                Domain name
 --domain-id NUMBER            Numerical ID or domain name
 --id VALUE
 --name VALUE                  Set the current location context for the request
 --title VALUE                 Set the current location context for the request
 -h, --help                    Print help

Option details:
  Here you can find option types and the value an option can accept:

  BOOLEAN             One of true/false, yes/no, 1/0
  DATETIME            Date and time in YYYY-MM-DD HH:MM:SS or ISO 8601 format
  ENUM                Possible values are described in the option's description
  FILE                Path to a file
  KEY_VALUE_LIST      Comma-separated list of key=value.
                      JSON is acceptable and preferred way for such parameters
  LIST                Comma separated list of values. Values containing comma should be quoted or escaped with backslash.
                      JSON is acceptable and preferred way for such parameters
  MULTIENUM           Any combination of possible values described in the option's description
  NUMBER              Numeric value. Integer
  SCHEMA              Comma separated list of values defined by a schema.
                      JSON is acceptable and preferred way for such parameters
  VALUE               Value described in the option's description. Mostly simple string

2.44.17. Hammer 位置 remove-hostgroup

解除主机组关联

Usage:
    hammer location remove-hostgroup [OPTIONS]

Options:
 --hostgroup VALUE             Hostgroup name
 --hostgroup-id NUMBER
 --hostgroup-title VALUE       Hostgroup title
 --id VALUE
 --name VALUE                  Set the current location context for the request
 --title VALUE                 Set the current location context for the request
 -h, --help                    Print help

Option details:
  Here you can find option types and the value an option can accept:

  BOOLEAN             One of true/false, yes/no, 1/0
  DATETIME            Date and time in YYYY-MM-DD HH:MM:SS or ISO 8601 format
  ENUM                Possible values are described in the option's description
  FILE                Path to a file
  KEY_VALUE_LIST      Comma-separated list of key=value.
                      JSON is acceptable and preferred way for such parameters
  LIST                Comma separated list of values. Values containing comma should be quoted or escaped with backslash.
                      JSON is acceptable and preferred way for such parameters
  MULTIENUM           Any combination of possible values described in the option's description
  NUMBER              Numeric value. Integer
  SCHEMA              Comma separated list of values defined by a schema.
                      JSON is acceptable and preferred way for such parameters
  VALUE               Value described in the option's description. Mostly simple string

2.44.18. Hammer 位置删除

解除中型

Usage:
    hammer location remove-medium [OPTIONS]

Options:
 --id VALUE
 --medium VALUE                Medium name
 --medium-id NUMBER
 --name VALUE                  Set the current location context for the request
 --title VALUE                 Set the current location context for the request
 -h, --help                    Print help

Option details:
  Here you can find option types and the value an option can accept:

  BOOLEAN             One of true/false, yes/no, 1/0
  DATETIME            Date and time in YYYY-MM-DD HH:MM:SS or ISO 8601 format
  ENUM                Possible values are described in the option's description
  FILE                Path to a file
  KEY_VALUE_LIST      Comma-separated list of key=value.
                      JSON is acceptable and preferred way for such parameters
  LIST                Comma separated list of values. Values containing comma should be quoted or escaped with backslash.
                      JSON is acceptable and preferred way for such parameters
  MULTIENUM           Any combination of possible values described in the option's description
  NUMBER              Numeric value. Integer
  SCHEMA              Comma separated list of values defined by a schema.
                      JSON is acceptable and preferred way for such parameters
  VALUE               Value described in the option's description. Mostly simple string

2.44.19. Hammer 位置删除-organization

解除机构关联

Usage:
    hammer location remove-organization [OPTIONS]

Options:
 --id VALUE
 --name VALUE                  Set the current location context for the request
 --organization VALUE          Set the current organization context for the request
 --organization-id NUMBER      Organization ID
 --organization-title VALUE    Set the current organization context for the request
 --title VALUE                 Set the current location context for the request
 -h, --help                    Print help

Option details:
  Here you can find option types and the value an option can accept:

  BOOLEAN             One of true/false, yes/no, 1/0
  DATETIME            Date and time in YYYY-MM-DD HH:MM:SS or ISO 8601 format
  ENUM                Possible values are described in the option's description
  FILE                Path to a file
  KEY_VALUE_LIST      Comma-separated list of key=value.
                      JSON is acceptable and preferred way for such parameters
  LIST                Comma separated list of values. Values containing comma should be quoted or escaped with backslash.
                      JSON is acceptable and preferred way for such parameters
  MULTIENUM           Any combination of possible values described in the option's description
  NUMBER              Numeric value. Integer
  SCHEMA              Comma separated list of values defined by a schema.
                      JSON is acceptable and preferred way for such parameters
  VALUE               Value described in the option's description. Mostly simple string

2.44.20. Hammer 位置 remove-provisioning-template

解除关联自定义模板

Usage:
    hammer location remove-provisioning-template [OPTIONS]

Options:
 --id VALUE
 --name VALUE                         Set the current location context for the request
 --provisioning-template VALUE        Name to search by
 --provisioning-template-id NUMBER
 --provisioning-template-ids LIST     List of provisioning template ids
 --provisioning-template-search VALUE Provisioning template name regex to search, all matching templates will be
                                      disassociated
 --provisioning-templates LIST        List of provisioning template names
 --title VALUE                        Set the current location context for the request
 -h, --help                           Print help

Option details:
  Here you can find option types and the value an option can accept:

  BOOLEAN             One of true/false, yes/no, 1/0
  DATETIME            Date and time in YYYY-MM-DD HH:MM:SS or ISO 8601 format
  ENUM                Possible values are described in the option's description
  FILE                Path to a file
  KEY_VALUE_LIST      Comma-separated list of key=value.
                      JSON is acceptable and preferred way for such parameters
  LIST                Comma separated list of values. Values containing comma should be quoted or escaped with backslash.
                      JSON is acceptable and preferred way for such parameters
  MULTIENUM           Any combination of possible values described in the option's description
  NUMBER              Numeric value. Integer
  SCHEMA              Comma separated list of values defined by a schema.
                      JSON is acceptable and preferred way for such parameters
  VALUE               Value described in the option's description. Mostly simple string

2.44.21. Hammer 位置 remove-smart-proxy

解除智能代理关联

Usage:
    hammer location remove-smart-proxy [OPTIONS]

Options:
 --id VALUE
 --name VALUE                  Set the current location context for the request
 --smart-proxy VALUE           Name to search by
 --smart-proxy-id NUMBER
 --title VALUE                 Set the current location context for the request
 -h, --help                    Print help

Option details:
  Here you can find option types and the value an option can accept:

  BOOLEAN             One of true/false, yes/no, 1/0
  DATETIME            Date and time in YYYY-MM-DD HH:MM:SS or ISO 8601 format
  ENUM                Possible values are described in the option's description
  FILE                Path to a file
  KEY_VALUE_LIST      Comma-separated list of key=value.
                      JSON is acceptable and preferred way for such parameters
  LIST                Comma separated list of values. Values containing comma should be quoted or escaped with backslash.
                      JSON is acceptable and preferred way for such parameters
  MULTIENUM           Any combination of possible values described in the option's description
  NUMBER              Numeric value. Integer
  SCHEMA              Comma separated list of values defined by a schema.
                      JSON is acceptable and preferred way for such parameters
  VALUE               Value described in the option's description. Mostly simple string

2.44.22. Hammer 位置删除子网

解除子网关联

Usage:
    hammer location remove-subnet [OPTIONS]

Options:
 --id VALUE
 --name VALUE                  Set the current location context for the request
 --subnet VALUE                Subnet name
 --subnet-id NUMBER
 --title VALUE                 Set the current location context for the request
 -h, --help                    Print help

Option details:
  Here you can find option types and the value an option can accept:

  BOOLEAN             One of true/false, yes/no, 1/0
  DATETIME            Date and time in YYYY-MM-DD HH:MM:SS or ISO 8601 format
  ENUM                Possible values are described in the option's description
  FILE                Path to a file
  KEY_VALUE_LIST      Comma-separated list of key=value.
                      JSON is acceptable and preferred way for such parameters
  LIST                Comma separated list of values. Values containing comma should be quoted or escaped with backslash.
                      JSON is acceptable and preferred way for such parameters
  MULTIENUM           Any combination of possible values described in the option's description
  NUMBER              Numeric value. Integer
  SCHEMA              Comma separated list of values defined by a schema.
                      JSON is acceptable and preferred way for such parameters
  VALUE               Value described in the option's description. Mostly simple string

2.44.23. Hammer 位置 remove-user

解除用户关联

Usage:
    hammer location remove-user [OPTIONS]

Options:
 --id VALUE
 --name VALUE                  Set the current location context for the request
 --title VALUE                 Set the current location context for the request
 --user VALUE                  User's login to search by
 --user-id NUMBER
 -h, --help                    Print help

Option details:
  Here you can find option types and the value an option can accept:

  BOOLEAN             One of true/false, yes/no, 1/0
  DATETIME            Date and time in YYYY-MM-DD HH:MM:SS or ISO 8601 format
  ENUM                Possible values are described in the option's description
  FILE                Path to a file
  KEY_VALUE_LIST      Comma-separated list of key=value.
                      JSON is acceptable and preferred way for such parameters
  LIST                Comma separated list of values. Values containing comma should be quoted or escaped with backslash.
                      JSON is acceptable and preferred way for such parameters
  MULTIENUM           Any combination of possible values described in the option's description
  NUMBER              Numeric value. Integer
  SCHEMA              Comma separated list of values defined by a schema.
                      JSON is acceptable and preferred way for such parameters
  VALUE               Value described in the option's description. Mostly simple string

2.44.24. Hammer 位置集合参数

为位置创建或更新参数

Usage:
    hammer location set-parameter [OPTIONS]

Options:
 --hidden-value BOOLEAN        Should the value be hidden
 --location VALUE              Set the current location context for the request
 --location-id NUMBER
 --location-title VALUE        Set the current location context for the request
 --name VALUE                  Parameter name
 --parameter-type ENUM         Type of the parameter
                               Possible value(s): 'string', 'boolean', 'integer', 'real', 'array', 'hash',
                               'yaml', 'json'
                               Default: "string"
 --value VALUE                 Parameter value
 -h, --help                    Print help

Option details:
  Here you can find option types and the value an option can accept:

  BOOLEAN             One of true/false, yes/no, 1/0
  DATETIME            Date and time in YYYY-MM-DD HH:MM:SS or ISO 8601 format
  ENUM                Possible values are described in the option's description
  FILE                Path to a file
  KEY_VALUE_LIST      Comma-separated list of key=value.
                      JSON is acceptable and preferred way for such parameters
  LIST                Comma separated list of values. Values containing comma should be quoted or escaped with backslash.
                      JSON is acceptable and preferred way for such parameters
  MULTIENUM           Any combination of possible values described in the option's description
  NUMBER              Numeric value. Integer
  SCHEMA              Comma separated list of values defined by a schema.
                      JSON is acceptable and preferred way for such parameters
  VALUE               Value described in the option's description. Mostly simple string

2.44.25. Hammer 位置更新

更新位置

Usage:
    hammer location update [OPTIONS]

Options:
 --compute-resource-ids LIST      Compute resource IDs
 --compute-resources LIST
 --description VALUE
 --domain-ids LIST                Domain IDs
 --domains LIST
 --environment-ids LIST           Environment IDs
 --hostgroup-ids LIST             Host group IDs
 --hostgroup-titles LIST
 --hostgroups LIST
 --id VALUE                       Location numeric id to search by
 --ignore-types LIST              List of resources types that will be automatically associated
 --location VALUE                 Set the current location context for the request
 --location-id NUMBER             Set the current location context for the request
 --location-title VALUE           Set the current location context for the request
 --media LIST
 --medium-ids LIST                Medium IDs
 --name VALUE
 --new-name VALUE
 --organization VALUE             Set the current organization context for the request
 --organization-id NUMBER         Set the current organization context for the request
 --organization-ids LIST          Associated organization IDs
 --organization-title VALUE       Set the current organization context for the request
 --organization-titles LIST
 --organizations LIST
 --parent-id NUMBER               Parent ID
 --partition-table-ids LIST       Partition template IDs
 --partition-tables LIST
 --provisioning-template-ids LIST Provisioning template IDs
 --provisioning-templates LIST
 --realm-ids LIST                 Realm IDs
 --realms LIST
 --smart-proxies LIST
 --smart-proxy-ids LIST           Capsule IDs
 --subnet-ids LIST                Subnet IDs
 --subnets LIST
 --title VALUE                    Set the current location context for the request
 --user-ids LIST                  User IDs
 --users LIST
 -h, --help                       Print help

Option details:
  Here you can find option types and the value an option can accept:

  BOOLEAN             One of true/false, yes/no, 1/0
  DATETIME            Date and time in YYYY-MM-DD HH:MM:SS or ISO 8601 format
  ENUM                Possible values are described in the option's description
  FILE                Path to a file
  KEY_VALUE_LIST      Comma-separated list of key=value.
                      JSON is acceptable and preferred way for such parameters
  LIST                Comma separated list of values. Values containing comma should be quoted or escaped with backslash.
                      JSON is acceptable and preferred way for such parameters
  MULTIENUM           Any combination of possible values described in the option's description
  NUMBER              Numeric value. Integer
  SCHEMA              Comma separated list of values defined by a schema.
                      JSON is acceptable and preferred way for such parameters
  VALUE               Value described in the option's description. Mostly simple string
Red Hat logoGithubRedditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

通过我们的产品和服务,以及可以信赖的内容,帮助红帽用户创新并实现他们的目标。

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

© 2024 Red Hat, Inc.