3.49. hammer 机构


操作机构

Usage:
    hammer organization [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-location                  Associate a location
 add-medium                    Associate a medium
 add-provisioning-template     Associate provisioning templates
 add-smart-proxy               Associate a smart proxy
 add-subnet                    Associate a subnet
 add-user                      Associate an user
 configure-cdn                 Update the CDN configuration
 create                        Create organization
 delete, destroy               Delete an organization
 delete-parameter              Delete parameter for an organization
 info, show                    Show organization
 list, index                   List all organizations
 remove-compute-resource       Disassociate a compute resource
 remove-domain                 Disassociate a domain
 remove-hostgroup              Disassociate a hostgroup
 remove-location               Disassociate a location
 remove-medium                 Disassociate a medium
 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 an organization
 update                        Update organization

Options:
 -h, --help                    Print help

3.49.1. hammer 机构 add-compute-resource

关联计算资源

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

Options:
 --compute-resource VALUE      Compute resource name
 --compute-resource-id NUMBER
 --id VALUE                    Organization ID
 --name 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

3.49.2. hammer organization add-domain

关联域

Usage:
    hammer organization add-domain [OPTIONS]

Options:
 --domain VALUE                Domain name
 --domain-id NUMBER            Numerical ID or domain name
 --id VALUE                    Organization ID
 --name 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

3.49.3. hammer organization add-hostgroup

关联一个 hostgroup

Usage:
    hammer organization add-hostgroup [OPTIONS]

Options:
 --hostgroup VALUE             Hostgroup name
 --hostgroup-id NUMBER
 --hostgroup-title VALUE       Hostgroup title
 --id VALUE                    Organization ID
 --name 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

3.49.4. hammer organization add-location

关联位置

Usage:
    hammer organization add-location [OPTIONS]

Options:
 --id VALUE                    Organization ID
 --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                  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

3.49.5. hammer organization add-medium

关联中型

Usage:
    hammer organization add-medium [OPTIONS]

Options:
 --id VALUE                    Organization ID
 --medium VALUE                Medium name
 --medium-id NUMBER
 --name 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

3.49.6. hammer organization add-provisioning-template

关联置备模板

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

Options:
 --id VALUE                           Organization ID
 --name VALUE                         Set the current organization 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 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

3.49.7. hammer organization add-smart-proxy

关联智能代理

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

Options:
 --id VALUE                    Organization ID
 --name VALUE                  Set the current organization context for the request
 --smart-proxy VALUE           Name to search by
 --smart-proxy-id NUMBER
 --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

3.49.8. hammer organization add-subnet

关联子网

Usage:
    hammer organization add-subnet [OPTIONS]

Options:
 --id VALUE                    Organization ID
 --name VALUE                  Set the current organization context for the request
 --subnet VALUE                Subnet name
 --subnet-id NUMBER
 --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

3.49.9. hammer organization add-user

关联用户

Usage:
    hammer organization add-user [OPTIONS]

Options:
 --id VALUE                    Organization ID
 --name VALUE                  Set the current organization context for the request
 --title VALUE                 Set the current organization 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

3.49.10. hammer 机构 configure-cdn

更新 CDN 配置

Usage:
    hammer organization configure-cdn [OPTIONS]

Options:
 --id VALUE                                   ID of the Organization
 --label VALUE                                Organization label to search by
 --name VALUE                                 Organization name to search by
 --password VALUE                             Password for authentication. Relevant only for 'upstream_server' type.
 --ssl-ca-credential-id NUMBER                Content Credential to use for SSL CA. Relevant only for 'upstream_server' type.
 --title VALUE                                Organization title
 --type VALUE                                 CDN configuration type. One of redhat_cdn, network_sync, export_sync.
 --upstream-content-view-label VALUE          Upstream Content View Label, default: Default_Organization_View. Relevant only
                                              for 'upstream_server' type.
 --upstream-lifecycle-environment-label VALUE Upstream Lifecycle Environment, default: Library. Relevant only for
                                              'upstream_server' type.
 --upstream-organization-label VALUE          Upstream organization to sync CDN content from. Relevant only for
                                              'upstream_server' type.
 --url VALUE                                  Upstream satellite server to sync CDN content from. Relevant only for
                                              'upstream_server' type.
 --username VALUE                             Username for authentication. Relevant only for 'upstream_server' type.
 -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

3.49.11. hammer 机构创建

创建机构

Usage:
    hammer organization 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
 --label VALUE
 --location VALUE                 Set the current location context for the request
 --location-id NUMBER             Set the current location context for the request
 --location-ids LIST              Associated location IDs
 --location-title VALUE           Set the current location context for the request
 --location-titles LIST
 --locations LIST
 --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-label VALUE       Organization label to search by
 --organization-title VALUE       Set the current organization context for the request
 --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

3.49.12. Hammer 机构删除

删除机构

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

Options:
 --async                       Do not wait for the task
 --id VALUE
 --label VALUE                 Organization label 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-label VALUE    Organization label to search by
 --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

3.49.13. hammer organization delete-parameter

机构的删除参数

Usage:
    hammer organization delete-parameter [OPTIONS]

Options:
 --name VALUE                  Parameter name
 --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
 -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

3.49.14. hammer 机构信息

显示机构

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

Options:
 --fields LIST                 Show specified fields or predefined field sets only. (See below)
 --id VALUE
 --label VALUE                 Organization label 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-label VALUE    Organization label to search by
 --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

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       |
  Locations/                              | x   | x       |
  Created at                              | x   | x       |
  Updated at                              | x   | x       |
  Label                                   | x   | x       | x
  Description                             | x   | x       |
  Simple content access                   | x   | x       |
  Service levels                          | x   | x       |
  Cdn configuration/url                   | x   | x       |
  Cdn configuration/upstream organization | x   | x       |
  Cdn configuration/username              | x   | x       |
  Cdn configuration/ssl ca credential id  | 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

3.49.15. Hammer 组织列表

列出所有机构

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

Options:
 --fields LIST                 Show specified fields or predefined field sets only. (See below)
 --full-result BOOLEAN         Whether or not to show all results
 --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 field and order, eg. 'id DESC'
 --organization VALUE          Set the current organization context for the request
 --organization-id NUMBER      Set the current organization context for the request
 --organization-label VALUE    Organization label to search by
 --organization-title VALUE    Set the current organization context for the request
 --page NUMBER                 Page number, starting at 1
 --per-page NUMBER             Number of results per page to return
 --search VALUE                Search string
 --sort-by VALUE               Field to sort the results on
 --sort-order VALUE            How to order the sorted results (e.g. ASC for ascending)
 -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       |
  Label       | x   | 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
  label               string
  name                string
  organization_id     integer
  title               string

3.49.16. hammer organization remove-compute-resource

解除计算资源关联

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

Options:
 --compute-resource VALUE      Compute resource name
 --compute-resource-id NUMBER
 --id VALUE                    Organization ID
 --name 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

3.49.17. hammer organization remove-domain

解除关联域

Usage:
    hammer organization remove-domain [OPTIONS]

Options:
 --domain VALUE                Domain name
 --domain-id NUMBER            Numerical ID or domain name
 --id VALUE                    Organization ID
 --name 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

3.49.18. hammer organization remove-hostgroup

解除关联一个主机组

Usage:
    hammer organization remove-hostgroup [OPTIONS]

Options:
 --hostgroup VALUE             Hostgroup name
 --hostgroup-id NUMBER
 --hostgroup-title VALUE       Hostgroup title
 --id VALUE                    Organization ID
 --name 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

3.49.19. hammer organization remove-location

解除关联位置

Usage:
    hammer organization remove-location [OPTIONS]

Options:
 --id VALUE                    Organization ID
 --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                  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

3.49.20. hammer organization remove-medium

解除关联介质

Usage:
    hammer organization remove-medium [OPTIONS]

Options:
 --id VALUE                    Organization ID
 --medium VALUE                Medium name
 --medium-id NUMBER
 --name 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

3.49.21. hammer organization remove-provisioning-template

解除关联置备模板

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

Options:
 --id VALUE                           Organization ID
 --name VALUE                         Set the current organization 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 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

3.49.22. hammer organization remove-smart-proxy

解除智能代理关联

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

Options:
 --id VALUE                    Organization ID
 --name VALUE                  Set the current organization context for the request
 --smart-proxy VALUE           Name to search by
 --smart-proxy-id NUMBER
 --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

3.49.23. hammer organization remove-subnet

解除关联子网

Usage:
    hammer organization remove-subnet [OPTIONS]

Options:
 --id VALUE                    Organization ID
 --name VALUE                  Set the current organization context for the request
 --subnet VALUE                Subnet name
 --subnet-id NUMBER
 --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

3.49.24. hammer organization remove-user

解除关联用户

Usage:
    hammer organization remove-user [OPTIONS]

Options:
 --id VALUE                    Organization ID
 --name VALUE                  Set the current organization context for the request
 --title VALUE                 Set the current organization 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

3.49.25. hammer organization set-parameter

为机构创建或更新参数

Usage:
    hammer organization set-parameter [OPTIONS]

Options:
 --hidden-value BOOLEAN        Should the value be hidden
 --name VALUE                  Parameter name
 --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
 --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

3.49.26. Hammer 组织更新

更新机构

Usage:
    hammer organization 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
 --label VALUE
 --location VALUE                 Set the current location context for the request
 --location-id NUMBER             Set the current location context for the request
 --location-ids LIST              Associated location IDs
 --location-title VALUE           Set the current location context for the request
 --location-titles LIST
 --locations LIST
 --media LIST
 --medium-ids LIST                Medium IDs
 --name VALUE
 --new-name VALUE
 --new-title VALUE
 --organization VALUE             Set the current organization context for the request
 --organization-id NUMBER         Set the current organization context for the request
 --organization-label VALUE       Organization label to search by
 --organization-title VALUE       Set the current organization context for the request
 --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
 --redhat-repository-url VALUE    Red Hat CDN URL
 --smart-proxies LIST
 --smart-proxy-ids LIST           Capsule IDs
 --subnet-ids LIST                Subnet IDs
 --subnets LIST
 --title VALUE                    Set the current organization 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.