2.83. hammer template-input

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

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.83.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
 --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::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'
 --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