検索

2.85. hammer template-input

download PDF

テンプレート入力を管理します。

Usage:
    hammer template-input [OPTIONS] SUBCOMMAND [ARG] ...

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

Subcommands:
 create                        Create a template input
 delete, destroy               Delete a template input
 info, show                    Show template input details
 list, index                   List template inputs
 update                        Update a template input

Options:
 -h, --help                    Print help

2.85.1. hammer template-input create

テンプレート入力を作成します。

Usage:
    hammer template-input create [OPTIONS]

Options:
 --advanced ADVANCED                           Input is advanced
                                               One of true/false, yes/no, 1/0.
 --default DEFAULT                             Default value for user input
 --description DESCRIPTION                     Input description
 --fact-name FACT_NAME                         Fact name, used when input type is Fact value
 --hidden-value HIDDEN_VALUE                   The value contains sensitive information and shouldn not be normally visible, useful e.g. for passwords
                                               One of true/false, yes/no, 1/0.
 --input-type INPUT_TYPE                       Input type
                                               Possible value(s): 'user', 'fact', 'variable', 'puppet_parameter'
 --location LOCATION_NAME                      Set the current location context for the request
 --location-id LOCATION_ID                     Set the current location context for the request
 --location-title LOCATION_TITLE               Set the current location context for the request
 --name NAME                                   Input name
 --options OPTIONS                             Selectable values for user inputs
                                               Comma separated list of values. Values containing comma should be quoted or escaped with backslash.
                                               JSON is acceptable and preferred way for complex parameters
 --organization ORGANIZATION_NAME              Set the current organization context for the request
 --organization-id ORGANIZATION_ID             Set the current organization context for the request
 --organization-title ORGANIZATION_TITLE       Set the current organization context for the request
 --puppet-class-name PUPPET_CLASS_NAME         Puppet class name, used when input type is Puppet parameter
 --puppet-parameter-name PUPPET_PARAMETER_NAME Puppet parameter name, used when input type is Puppet parameter
 --required REQUIRED                           Input is required
                                               One of true/false, yes/no, 1/0.
 --resource-type RESOURCE_TYPE                 For values of type search, this is the resource the value searches in
                                               Possible value(s): 'AnsibleRole', 'AnsibleVariable', 'Architecture', 'Audit', 'AuthSource', 'Bookmark', 'ComputeProfile', 'ComputeResource', 'ConfigGroup', 'ConfigReport', 'DiscoveryRule', 'Domain', 'Environment', 'ExternalUsergroup', 'FactValue', 'Filter', 'ForemanOpenscap::ArfReport', 'ForemanOpenscap::OvalContent', 'ForemanOpenscap::OvalPolicy', 'ForemanOpenscap::Policy', 'ForemanOpenscap::ScapContent', 'ForemanOpenscap::TailoringFile', 'ForemanTasks::RecurringLogic', 'ForemanTasks::Task', 'ForemanVirtWhoConfigure::Config', 'Host', 'HostClass', 'Hostgroup', 'HttpProxy', 'Image', 'InsightsHit', 'JobInvocation', 'JobTemplate', 'Katello::ActivationKey', 'Katello::ContentView', 'Katello::GpgKey', 'Katello::HostCollection', 'Katello::KTEnvironment', 'Katello::Product', 'Katello::Subscription', 'Katello::SyncPlan', 'KeyPair', 'Location', 'MailNotification', 'Medium', 'Model', 'Operatingsystem', 'Organization', 'Parameter', 'PersonalAccessToken', 'ProvisioningTemplate', 'Ptable', 'Puppetclass', 'PuppetclassLookupKey', 'Realm', 'RemoteExecutionFeature', 'Report', 'ReportTemplate', 'Role', 'Setting', 'SmartProxy', 'SshKey', 'Subnet', 'Template', 'TemplateInvocation', 'User', 'Usergroup', 'Webhook', 'WebhookTemplate'
 --template-id TEMPLATE_ID
 --value-type VALUE_TYPE                       Value type, defaults to plain
                                               Possible value(s): 'plain', 'search', 'date'
 --variable-name VARIABLE_NAME                 Variable name, used when input type is Variable
 -h, --help                                    Print help

2.85.2. hammer template-input delete

テンプレート入力を削除します。

Usage:
    hammer template-input <delete|destroy> [OPTIONS]

Options:
 --id ID
 --location LOCATION_NAME                Set the current location context for the request
 --location-id LOCATION_ID               Set the current location context for the request
 --location-title LOCATION_TITLE         Set the current location context for the request
 --name NAME                             Name to search by
 --organization ORGANIZATION_NAME        Set the current organization context for the request
 --organization-id ORGANIZATION_ID       Set the current organization context for the request
 --organization-title ORGANIZATION_TITLE Set the current organization context for the request
 --template-id TEMPLATE_ID
 -h, --help                              Print help

2.85.3. hammer template-input info

テンプレート入力詳細を表示します。

Usage:
    hammer template-input <info|show> [OPTIONS]

Options:
 --fields FIELDS                         Show specified fields or predefined field sets only. (See below)
                                         Comma separated list of values. Values containing comma should be quoted or escaped with backslash.
                                         JSON is acceptable and preferred way for complex parameters
 --id ID
 --location LOCATION_NAME                Set the current location context for the request
 --location-id LOCATION_ID               Set the current location context for the request
 --location-title LOCATION_TITLE         Set the current location context for the request
 --name NAME                             Name to search by
 --organization ORGANIZATION_NAME        Set the current organization context for the request
 --organization-id ORGANIZATION_ID       Set the current organization context for the request
 --organization-title ORGANIZATION_TITLE Set the current organization context for the request
 --template-id TEMPLATE_ID
 -h, --help                              Print help

Predefined field sets:
  ----------------------|-----|---------|-----
  FIELDS                | ALL | DEFAULT | THIN
  ----------------------|-----|---------|-----
  Id                    | x   | x       | x
  Name                  | x   | x       | x
  Input type            | x   | x       |
  Fact name             | x   | x       |
  Variable name         | x   | x       |
  Puppet parameter name | x   | x       |
  Options               | x   | x       |
  Default value         | x   | x       |
  ----------------------|-----|---------|-----

2.85.4. hammer template-input list

テンプレート入力の一覧を表示します。

Usage:
    hammer template-input <list|index> [OPTIONS]

Options:
 --fields FIELDS                         Show specified fields or predefined field sets only. (See below)
                                         Comma separated list of values. Values containing comma should be quoted or escaped with backslash.
                                         JSON is acceptable and preferred way for complex parameters
 --location LOCATION_NAME                Set the current location context for the request
 --location-id LOCATION_ID               Set the current location context for the request
 --location-title LOCATION_TITLE         Set the current location context for the request
 --order ORDER                           Sort field and order, eg. ‘id DESC’
 --organization ORGANIZATION_NAME        Set the current organization context for the request
 --organization-id ORGANIZATION_ID       Set the current organization context for the request
 --organization-title ORGANIZATION_TITLE Set the current organization context for the request
 --page PAGE                             Page number, starting at 1
 --per-page PER_PAGE                     Number of results per page to return, 'all' to return all results
 --search SEARCH                         Filter results
 --template-id TEMPLATE_ID
 -h, --help                              Print help

Predefined field sets:
  -----------|-----|---------|-----
  FIELDS     | ALL | DEFAULT | THIN
  -----------|-----|---------|-----
  Id         | x   | x       | x
  Name       | x   | x       | x
  Input type | x   | x       |
  -----------|-----|---------|-----

Search / Order fields:
  input_type          string
  name                string

2.85.5. hammer template-input update

テンプレート入力を更新します。

Usage:
    hammer template-input update [OPTIONS]

Options:
 --advanced ADVANCED                           Input is advanced
                                               One of true/false, yes/no, 1/0.
 --default DEFAULT                             Default value for user input
 --description DESCRIPTION                     Input description
 --fact-name FACT_NAME                         Fact name, used when input type is Fact value
 --hidden-value HIDDEN_VALUE                   The value contains sensitive information and shouldn not be normally visible, useful e.g. for passwords
                                               One of true/false, yes/no, 1/0.
 --id ID
 --input-type INPUT_TYPE                       Input type
                                               Possible value(s): 'user', 'fact', 'variable', 'puppet_parameter'
 --location LOCATION_NAME                      Set the current location context for the request
 --location-id LOCATION_ID                     Set the current location context for the request
 --location-title LOCATION_TITLE               Set the current location context for the request
 --name NAME                                   Name to search by
 --new-name NEW_NAME                           Input name
 --options OPTIONS                             Selectable values for user inputs
                                               Comma separated list of values. Values containing comma should be quoted or escaped with backslash.
                                               JSON is acceptable and preferred way for complex parameters
 --organization ORGANIZATION_NAME              Set the current organization context for the request
 --organization-id ORGANIZATION_ID             Set the current organization context for the request
 --organization-title ORGANIZATION_TITLE       Set the current organization context for the request
 --puppet-class-name PUPPET_CLASS_NAME         Puppet class name, used when input type is Puppet parameter
 --puppet-parameter-name PUPPET_PARAMETER_NAME Puppet parameter name, used when input type is Puppet parameter
 --required REQUIRED                           Input is required
                                               One of true/false, yes/no, 1/0.
 --resource-type RESOURCE_TYPE                 For values of type search, this is the resource the value searches in
                                               Possible value(s): 'AnsibleRole', 'AnsibleVariable', 'Architecture', 'Audit', 'AuthSource', 'Bookmark', 'ComputeProfile', 'ComputeResource', 'ConfigGroup', 'ConfigReport', 'DiscoveryRule', 'Domain', 'Environment', 'ExternalUsergroup', 'FactValue', 'Filter', 'ForemanOpenscap::ArfReport', 'ForemanOpenscap::OvalContent', 'ForemanOpenscap::OvalPolicy', 'ForemanOpenscap::Policy', 'ForemanOpenscap::ScapContent', 'ForemanOpenscap::TailoringFile', 'ForemanTasks::RecurringLogic', 'ForemanTasks::Task', 'ForemanVirtWhoConfigure::Config', 'Host', 'HostClass', 'Hostgroup', 'HttpProxy', 'Image', 'InsightsHit', 'JobInvocation', 'JobTemplate', 'Katello::ActivationKey', 'Katello::ContentView', 'Katello::GpgKey', 'Katello::HostCollection', 'Katello::KTEnvironment', 'Katello::Product', 'Katello::Subscription', 'Katello::SyncPlan', 'KeyPair', 'Location', 'MailNotification', 'Medium', 'Model', 'Operatingsystem', 'Organization', 'Parameter', 'PersonalAccessToken', 'ProvisioningTemplate', 'Ptable', 'Puppetclass', 'PuppetclassLookupKey', 'Realm', 'RemoteExecutionFeature', 'Report', 'ReportTemplate', 'Role', 'Setting', 'SmartProxy', 'SshKey', 'Subnet', 'Template', 'TemplateInvocation', 'User', 'Usergroup', 'Webhook', 'WebhookTemplate'
 --template-id TEMPLATE_ID
 --value-type VALUE_TYPE                       Value type, defaults to plain
                                               Possible value(s): 'plain', 'search', 'date'
 --variable-name VARIABLE_NAME                 Variable name, used when input type is Variable
 -h, --help                                    Print help
Red Hat logoGithubRedditYoutubeTwitter

詳細情報

試用、購入および販売

コミュニティー

Red Hat ドキュメントについて

Red Hat をお使いのお客様が、信頼できるコンテンツが含まれている製品やサービスを活用することで、イノベーションを行い、目標を達成できるようにします。

多様性を受け入れるオープンソースの強化

Red Hat では、コード、ドキュメント、Web プロパティーにおける配慮に欠ける用語の置き換えに取り組んでいます。このような変更は、段階的に実施される予定です。詳細情報: Red Hat ブログ.

会社概要

Red Hat は、企業がコアとなるデータセンターからネットワークエッジに至るまで、各種プラットフォームや環境全体で作業を簡素化できるように、強化されたソリューションを提供しています。

© 2024 Red Hat, Inc.