Chapter 3. Reference
This chapter provides a list of Hammer usage statements. These usage statements are current to the versions of Hammer and its components released for Satellite 6.14.
3.1. hammer Copy linkLink copied to clipboard!
Usage: hammer [OPTIONS] SUBCOMMAND [ARG] ... Parameters: SUBCOMMAND Subcommand [ARG] ... Subcommand arguments Subcommands: activation-key Manipulate activation keys admin Administrative server-side tasks ansible Manage foreman ansible architecture Manipulate architectures arf-report Manipulate compliance reports audit Search audit trails. auth Foreman connection login/logout auth-source Manipulate auth sources bookmark Manage bookmarks bootdisk Download boot disks capsule Manipulate capsule compute-profile Manipulate compute profiles compute-resource Manipulate compute resources config-report Browse and read reports content-credentials Manipulate content credentials on the server content-export Prepare content for export to a disconnected Katello content-import Import content from an upstream archive. content-units Manipulate content units content-view Manipulate content views deb-package Manipulate deb packages defaults Defaults management discovery Manipulate discovered hosts. discovery-rule Manipulate discovered rules. docker Manipulate docker content domain Manipulate domains erratum Manipulate errata export-templates Export templates to a git repo or a directory on the server fact Search facts file Manipulate files filter Manage permission filters foreign-input-set Manage foreign input sets full-help Print help for all hammer commands global-parameter Manipulate global parameters host Manipulate hosts host-collection Manipulate host collections host-registration Host Registration hostgroup Manipulate hostgroups http-proxy Manipulate http proxies import-templates Import templates from a git repo or a directory on the server job-invocation Manage job invocations job-template Manage job templates lifecycle-environment Manipulate lifecycle_environments on the server location Manipulate locations mail-notification Manage mail notifications medium Manipulate installation media model Manipulate hardware models module-stream View Module Streams organization Manipulate organizations os Manipulate operating system package Manipulate packages package-group Manipulate package groups partition-table Manipulate partition tables ping Get the status of the server and/or it's subcomponents policy Manipulate policies prebuild-bash-completion Prepare map of options and subcommands for Bash completion product Manipulate products proxy Manipulate smart proxies realm Manipulate realms recurring-logic Recurring logic related actions remote-execution-feature Manage remote execution features report Browse and read reports report-template Manipulate report templates repository Manipulate repositories repository-set Manipulate repository sets on the server role Manage user roles scap-content Manipulate SCAP contents scap-content-profile Manipulate Scap Content Profiles settings Change server settings shell Interactive shell simple-content-access Simple content access commands srpm Manipulate source RPMs status Get the complete status of the server and/or it's subcomponents subnet Manipulate subnets subscription Manipulate subscriptions sync-plan Manipulate sync plans tailoring-file Manipulate Tailoring files task Tasks related actions. template Manipulate provisioning templates template-input Manage template inputs user Manipulate users user-group Manage user groups virt-who-config Manage Virt Who configurations webhook Manage webhooks webhook-template Manipulate webhook templates Options: --[no-]use-defaults Enable/disable stored defaults. Enabled by default --autocomplete VALUE Get list of possible endings --csv Output as CSV (same as --output=csv) --csv-separator VALUE Character to separate the values --fetch-ca-cert VALUE Fetch CA certificate from server and exit --interactive BOOLEAN Explicitly turn interactive mode on/off --no-headers Hide headers from output --output ENUM Set output format Possible value(s): 'base', 'table', 'silent', 'csv', 'yaml', 'json' --output-file VALUE Path to custom output file --show-ids Show ids of associated resources --ssl-ca-file VALUE Configure the file containing the CA certificates --ssl-ca-path VALUE Configure the directory containing the CA certificates --ssl-client-cert VALUE Configure the client's public certificate --ssl-client-key VALUE Configure the client's private key --ssl-with-basic-auth Use standard authentication in addition to client certificate authentication --verify-ssl BOOLEAN Configure SSL verification of remote system --version Show version -c, --config VALUE Path to custom config file -d, --debug Show debugging output -h, --help Print help -p, --password VALUE Password to access the remote system -q, --quiet Completely silent -r, --reload-cache Force reload of Apipie cache -s, --server VALUE Remote system address -u, --username VALUE Username to access the remote system -v, --[no-]verbose Be verbose (or not). True by default 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
Usage:
hammer [OPTIONS] SUBCOMMAND [ARG] ...
Parameters:
SUBCOMMAND Subcommand
[ARG] ... Subcommand arguments
Subcommands:
activation-key Manipulate activation keys
admin Administrative server-side tasks
ansible Manage foreman ansible
architecture Manipulate architectures
arf-report Manipulate compliance reports
audit Search audit trails.
auth Foreman connection login/logout
auth-source Manipulate auth sources
bookmark Manage bookmarks
bootdisk Download boot disks
capsule Manipulate capsule
compute-profile Manipulate compute profiles
compute-resource Manipulate compute resources
config-report Browse and read reports
content-credentials Manipulate content credentials on the server
content-export Prepare content for export to a disconnected Katello
content-import Import content from an upstream archive.
content-units Manipulate content units
content-view Manipulate content views
deb-package Manipulate deb packages
defaults Defaults management
discovery Manipulate discovered hosts.
discovery-rule Manipulate discovered rules.
docker Manipulate docker content
domain Manipulate domains
erratum Manipulate errata
export-templates Export templates to a git repo or a directory on the server
fact Search facts
file Manipulate files
filter Manage permission filters
foreign-input-set Manage foreign input sets
full-help Print help for all hammer commands
global-parameter Manipulate global parameters
host Manipulate hosts
host-collection Manipulate host collections
host-registration Host Registration
hostgroup Manipulate hostgroups
http-proxy Manipulate http proxies
import-templates Import templates from a git repo or a directory on the server
job-invocation Manage job invocations
job-template Manage job templates
lifecycle-environment Manipulate lifecycle_environments on the server
location Manipulate locations
mail-notification Manage mail notifications
medium Manipulate installation media
model Manipulate hardware models
module-stream View Module Streams
organization Manipulate organizations
os Manipulate operating system
package Manipulate packages
package-group Manipulate package groups
partition-table Manipulate partition tables
ping Get the status of the server and/or it's subcomponents
policy Manipulate policies
prebuild-bash-completion Prepare map of options and subcommands for Bash completion
product Manipulate products
proxy Manipulate smart proxies
realm Manipulate realms
recurring-logic Recurring logic related actions
remote-execution-feature Manage remote execution features
report Browse and read reports
report-template Manipulate report templates
repository Manipulate repositories
repository-set Manipulate repository sets on the server
role Manage user roles
scap-content Manipulate SCAP contents
scap-content-profile Manipulate Scap Content Profiles
settings Change server settings
shell Interactive shell
simple-content-access Simple content access commands
srpm Manipulate source RPMs
status Get the complete status of the server and/or it's subcomponents
subnet Manipulate subnets
subscription Manipulate subscriptions
sync-plan Manipulate sync plans
tailoring-file Manipulate Tailoring files
task Tasks related actions.
template Manipulate provisioning templates
template-input Manage template inputs
user Manipulate users
user-group Manage user groups
virt-who-config Manage Virt Who configurations
webhook Manage webhooks
webhook-template Manipulate webhook templates
Options:
--[no-]use-defaults Enable/disable stored defaults. Enabled by default
--autocomplete VALUE Get list of possible endings
--csv Output as CSV (same as --output=csv)
--csv-separator VALUE Character to separate the values
--fetch-ca-cert VALUE Fetch CA certificate from server and exit
--interactive BOOLEAN Explicitly turn interactive mode on/off
--no-headers Hide headers from output
--output ENUM Set output format
Possible value(s): 'base', 'table', 'silent', 'csv', 'yaml', 'json'
--output-file VALUE Path to custom output file
--show-ids Show ids of associated resources
--ssl-ca-file VALUE Configure the file containing the CA certificates
--ssl-ca-path VALUE Configure the directory containing the CA certificates
--ssl-client-cert VALUE Configure the client's public certificate
--ssl-client-key VALUE Configure the client's private key
--ssl-with-basic-auth Use standard authentication in addition to client certificate authentication
--verify-ssl BOOLEAN Configure SSL verification of remote system
--version Show version
-c, --config VALUE Path to custom config file
-d, --debug Show debugging output
-h, --help Print help
-p, --password VALUE Password to access the remote system
-q, --quiet Completely silent
-r, --reload-cache Force reload of Apipie cache
-s, --server VALUE Remote system address
-u, --username VALUE Username to access the remote system
-v, --[no-]verbose Be verbose (or not). True by default
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.2. hammer activation-key Copy linkLink copied to clipboard!
Manipulate activation keys
Usage: hammer activation-key [OPTIONS] SUBCOMMAND [ARG] ... Parameters: SUBCOMMAND Subcommand [ARG] ... Subcommand arguments Subcommands: add-host-collection Associate a resource add-subscription Add subscription content-override Override product content defaults copy Copy an activation key create Create an activation key delete, destroy Destroy an activation key host-collections List associated host collections info, show Show an activation key list, index List activation keys product-content List associated products remove-host-collection Disassociate a resource remove-subscription Remove subscription subscriptions List associated subscriptions update Update an activation key Options: -h, --help Print help
Usage:
hammer activation-key [OPTIONS] SUBCOMMAND [ARG] ...
Parameters:
SUBCOMMAND Subcommand
[ARG] ... Subcommand arguments
Subcommands:
add-host-collection Associate a resource
add-subscription Add subscription
content-override Override product content defaults
copy Copy an activation key
create Create an activation key
delete, destroy Destroy an activation key
host-collections List associated host collections
info, show Show an activation key
list, index List activation keys
product-content List associated products
remove-host-collection Disassociate a resource
remove-subscription Remove subscription
subscriptions List associated subscriptions
update Update an activation key
Options:
-h, --help Print help
3.2.1. hammer activation-key add-host-collection Copy linkLink copied to clipboard!
Associate a resource
Usage: hammer activation-key add-host-collection [OPTIONS] Options: --host-collection VALUE Host collection name to search by --host-collection-id NUMBER Id of the host collection --id VALUE ID of the activation key --name VALUE Activation key name to search by --organization VALUE Organization name to search by --organization-id NUMBER Organization ID --organization-label VALUE Organization label to search by --organization-title VALUE Organization title -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
Usage:
hammer activation-key add-host-collection [OPTIONS]
Options:
--host-collection VALUE Host collection name to search by
--host-collection-id NUMBER Id of the host collection
--id VALUE ID of the activation key
--name VALUE Activation key name to search by
--organization VALUE Organization name to search by
--organization-id NUMBER Organization ID
--organization-label VALUE Organization label to search by
--organization-title VALUE Organization title
-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.2.2. hammer activation-key add-subscription Copy linkLink copied to clipboard!
Add subscription
Usage: hammer activation-key add-subscription [OPTIONS] Options: --id NUMBER ID of the activation key --name VALUE Activation key name to search by --organization VALUE Organization name to search by --organization-id NUMBER --organization-label VALUE Organization label to search by --organization-title VALUE Organization title --quantity NUMBER Quantity of this subscription to add --subscription VALUE Subscription name to search by --subscription-id NUMBER Subscription identifier --subscriptions SCHEMA Array of subscriptions to add -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 Following parameters accept format defined by its schema (bold are required; <> contains acceptable type; [] contains acceptable value): --subscriptions "id=<string>\,quantity=<numeric>, ... "
Usage:
hammer activation-key add-subscription [OPTIONS]
Options:
--id NUMBER ID of the activation key
--name VALUE Activation key name to search by
--organization VALUE Organization name to search by
--organization-id NUMBER
--organization-label VALUE Organization label to search by
--organization-title VALUE Organization title
--quantity NUMBER Quantity of this subscription to add
--subscription VALUE Subscription name to search by
--subscription-id NUMBER Subscription identifier
--subscriptions SCHEMA Array of subscriptions to add
-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
Following parameters accept format defined by its schema (bold are required; <> contains acceptable type; [] contains acceptable value):
--subscriptions "id=<string>\,quantity=<numeric>, ... "
3.2.3. hammer activation-key content-override Copy linkLink copied to clipboard!
Override product content defaults
Usage: hammer activation-key content-override [OPTIONS] Options: --content-label VALUE Label of the content --id NUMBER ID of the activation key --name VALUE Activation key name to search by --organization VALUE Organization name to search by --organization-id NUMBER --organization-label VALUE Organization label to search by --organization-title VALUE Organization title --override-name VALUE Override parameter key or name. To enable or disable a repo select 'enabled'. Default value: enabled Default: "enabled" --remove Remove a content override --value VALUE Override value. Note for repo enablement you can use a boolean 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
Usage:
hammer activation-key content-override [OPTIONS]
Options:
--content-label VALUE Label of the content
--id NUMBER ID of the activation key
--name VALUE Activation key name to search by
--organization VALUE Organization name to search by
--organization-id NUMBER
--organization-label VALUE Organization label to search by
--organization-title VALUE Organization title
--override-name VALUE Override parameter key or name.
To enable or disable a repo select 'enabled'.
Default value: enabled
Default: "enabled"
--remove Remove a content override
--value VALUE Override value. Note for repo enablement you can use a boolean 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.2.4. hammer activation-key copy Copy linkLink copied to clipboard!
Copy an activation key
Usage: hammer activation-key copy [OPTIONS] Options: --id NUMBER ID of the activation key --name VALUE Activation key name to search by --new-name VALUE Name of new activation key --organization VALUE Organization name to search by --organization-id NUMBER Organization identifier --organization-label VALUE Organization label to search by --organization-title VALUE Organization title -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
Usage:
hammer activation-key copy [OPTIONS]
Options:
--id NUMBER ID of the activation key
--name VALUE Activation key name to search by
--new-name VALUE Name of new activation key
--organization VALUE Organization name to search by
--organization-id NUMBER Organization identifier
--organization-label VALUE Organization label to search by
--organization-title VALUE Organization title
-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.2.5. hammer activation-key create Copy linkLink copied to clipboard!
Create an activation key
Usage: hammer activation-key create [OPTIONS] Options: --auto-attach BOOLEAN Auto attach subscriptions upon registration --content-view VALUE Content view name to search by --content-view-id NUMBER Content view id --description VALUE Description --environment VALUE Lifecycle environment name to search by (--environment is deprecated: Use --lifecycle-environment instead) --environment-id NUMBER (--environment-id is deprecated: Use --lifecycle-environment-id instead) --lifecycle-environment VALUE Lifecycle environment name to search by --lifecycle-environment-id NUMBER Environment id --max-hosts NUMBER Maximum number of registered content hosts --name VALUE Name --organization VALUE Organization name to search by --organization-id NUMBER Organization identifier --organization-label VALUE Organization label to search by --organization-title VALUE Organization title --purpose-addons LIST Sets the system add-ons --purpose-role VALUE Sets the system purpose usage --purpose-usage VALUE Sets the system purpose usage --release-version VALUE Content release version --service-level VALUE Service level --unlimited-hosts Set hosts max to unlimited -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
Usage:
hammer activation-key create [OPTIONS]
Options:
--auto-attach BOOLEAN Auto attach subscriptions upon registration
--content-view VALUE Content view name to search by
--content-view-id NUMBER Content view id
--description VALUE Description
--environment VALUE Lifecycle environment name to search by (--environment is deprecated: Use
--lifecycle-environment instead)
--environment-id NUMBER (--environment-id is deprecated: Use --lifecycle-environment-id instead)
--lifecycle-environment VALUE Lifecycle environment name to search by
--lifecycle-environment-id NUMBER Environment id
--max-hosts NUMBER Maximum number of registered content hosts
--name VALUE Name
--organization VALUE Organization name to search by
--organization-id NUMBER Organization identifier
--organization-label VALUE Organization label to search by
--organization-title VALUE Organization title
--purpose-addons LIST Sets the system add-ons
--purpose-role VALUE Sets the system purpose usage
--purpose-usage VALUE Sets the system purpose usage
--release-version VALUE Content release version
--service-level VALUE Service level
--unlimited-hosts Set hosts max to unlimited
-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.2.6. hammer activation-key delete Copy linkLink copied to clipboard!
Destroy an activation key
Usage: hammer activation-key <delete|destroy> [OPTIONS] Options: --id NUMBER ID of the activation key --name VALUE Activation key name to search by --organization VALUE Organization name to search by --organization-id NUMBER --organization-label VALUE Organization label to search by --organization-title VALUE Organization title -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
Usage:
hammer activation-key <delete|destroy> [OPTIONS]
Options:
--id NUMBER ID of the activation key
--name VALUE Activation key name to search by
--organization VALUE Organization name to search by
--organization-id NUMBER
--organization-label VALUE Organization label to search by
--organization-title VALUE Organization title
-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.2.7. hammer activation-key host-collections Copy linkLink copied to clipboard!
List associated host collections
Usage: hammer activation-key host-collections [OPTIONS] Options: --available-for VALUE Interpret specified object to return only Host Collections that can be associated with specified object. The value 'host' is supported. --fields LIST Show specified fields or predefined field sets only. (See below) --full-result BOOLEAN Whether or not to show all results --host-id NUMBER Filter products by host id --id VALUE ID of activation key --name VALUE Name of activation key --organization VALUE Organization name to search by --organization-id NUMBER Organization identifier --organization-label VALUE Organization label to search by --organization-title VALUE Organization title --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 Name | 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
Usage:
hammer activation-key host-collections [OPTIONS]
Options:
--available-for VALUE Interpret specified object to return only Host Collections that can be
associated with specified object. The value 'host' is supported.
--fields LIST Show specified fields or predefined field sets only. (See below)
--full-result BOOLEAN Whether or not to show all results
--host-id NUMBER Filter products by host id
--id VALUE ID of activation key
--name VALUE Name of activation key
--organization VALUE Organization name to search by
--organization-id NUMBER Organization identifier
--organization-label VALUE Organization label to search by
--organization-title VALUE Organization title
--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
Name | 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
3.2.8. hammer activation-key info Copy linkLink copied to clipboard!
Show an activation key
Usage: hammer activation-key <info|show> [OPTIONS] Options: --fields LIST Show specified fields or predefined field sets only. (See below) --id NUMBER ID of the activation key --name VALUE Activation key name to search by --organization VALUE Organization name to search by --organization-id NUMBER Organization identifier --organization-label VALUE Organization label to search by --organization-title VALUE Organization title -h, --help Print help Predefined field sets: ------------------------------|-----|---------|----- FIELDS | ALL | DEFAULT | THIN ------------------------------|-----|---------|----- Name | x | x | x Id | x | x | x Description | x | x | Host limit | x | x | Auto attach | x | x | Release version | x | x | Lifecycle environment | x | x | Content view | x | x | Host collections/id | x | x | Host collections/name | x | x | System purpose/service level | x | x | System purpose/purpose usage | x | x | System purpose/purpose role | x | x | System purpose/purpose addons | 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
Usage:
hammer activation-key <info|show> [OPTIONS]
Options:
--fields LIST Show specified fields or predefined field sets only. (See below)
--id NUMBER ID of the activation key
--name VALUE Activation key name to search by
--organization VALUE Organization name to search by
--organization-id NUMBER Organization identifier
--organization-label VALUE Organization label to search by
--organization-title VALUE Organization title
-h, --help Print help
Predefined field sets:
------------------------------|-----|---------|-----
FIELDS | ALL | DEFAULT | THIN
------------------------------|-----|---------|-----
Name | x | x | x
Id | x | x | x
Description | x | x |
Host limit | x | x |
Auto attach | x | x |
Release version | x | x |
Lifecycle environment | x | x |
Content view | x | x |
Host collections/id | x | x |
Host collections/name | x | x |
System purpose/service level | x | x |
System purpose/purpose usage | x | x |
System purpose/purpose role | x | x |
System purpose/purpose addons | 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.2.9. hammer activation-key list Copy linkLink copied to clipboard!
List activation keys
Usage: hammer activation-key <list|index> [OPTIONS] Options: --content-view VALUE Content view name to search by --content-view-id NUMBER Content view identifier --environment VALUE Lifecycle environment name to search by (--environment is deprecated: Use --lifecycle-environment instead) --environment-id NUMBER (--environment-id is deprecated: Use --lifecycle-environment-id instead) --fields LIST Show specified fields or predefined field sets only. (See below) --full-result BOOLEAN Whether or not to show all results --lifecycle-environment VALUE Lifecycle environment name to search by --lifecycle-environment-id NUMBER Environment identifier --name VALUE Activation key name to filter by --order VALUE Sort field and order, eg. 'id DESC' --organization VALUE Organization name to search by --organization-id NUMBER Organization identifier --organization-label VALUE Organization label to search by --organization-title VALUE Organization title --page NUMBER Page number, starting at 1 --per-page NUMBER Number of results per page to return --search VALUE Search string -h, --help Print help Predefined field sets: ----------------------|-----|---------|----- FIELDS | ALL | DEFAULT | THIN ----------------------|-----|---------|----- Id | x | x | x Name | x | x | x Host limit | x | x | Lifecycle environment | x | x | Content view | 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: addon string content_view string content_view_id integer description text environment string name string organization_id integer role string subscription_id string subscription_name string usage string
Usage:
hammer activation-key <list|index> [OPTIONS]
Options:
--content-view VALUE Content view name to search by
--content-view-id NUMBER Content view identifier
--environment VALUE Lifecycle environment name to search by (--environment is deprecated: Use
--lifecycle-environment instead)
--environment-id NUMBER (--environment-id is deprecated: Use --lifecycle-environment-id instead)
--fields LIST Show specified fields or predefined field sets only. (See below)
--full-result BOOLEAN Whether or not to show all results
--lifecycle-environment VALUE Lifecycle environment name to search by
--lifecycle-environment-id NUMBER Environment identifier
--name VALUE Activation key name to filter by
--order VALUE Sort field and order, eg. 'id DESC'
--organization VALUE Organization name to search by
--organization-id NUMBER Organization identifier
--organization-label VALUE Organization label to search by
--organization-title VALUE Organization title
--page NUMBER Page number, starting at 1
--per-page NUMBER Number of results per page to return
--search VALUE Search string
-h, --help Print help
Predefined field sets:
----------------------|-----|---------|-----
FIELDS | ALL | DEFAULT | THIN
----------------------|-----|---------|-----
Id | x | x | x
Name | x | x | x
Host limit | x | x |
Lifecycle environment | x | x |
Content view | 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:
addon string
content_view string
content_view_id integer
description text
environment string
name string
organization_id integer
role string
subscription_id string
subscription_name string
usage string
3.2.10. hammer activation-key product-content Copy linkLink copied to clipboard!
List associated products
Usage: hammer activation-key product-content [OPTIONS] Options: --content-access-mode-all BOOLEAN Get all content available, not just that provided by subscriptions --content-access-mode-env BOOLEAN Limit content to just that available in the activation key's content view version --fields LIST Show specified fields or predefined field sets only. (See below) --id VALUE ID of the activation key --name VALUE Activation key name to search by --organization VALUE Organization name to search by --organization-id NUMBER --organization-label VALUE Organization label to search by --organization-title VALUE Organization title -h, --help Print help Predefined field sets: -----------------|-----|---------|----- FIELDS | ALL | DEFAULT | THIN -----------------|-----|---------|----- Id | x | x | x Name | x | x | x Type | x | x | Url | x | x | Gpg key | x | x | Label | x | x | Default enabled? | x | x | Override | 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
Usage:
hammer activation-key product-content [OPTIONS]
Options:
--content-access-mode-all BOOLEAN Get all content available, not just that provided by subscriptions
--content-access-mode-env BOOLEAN Limit content to just that available in the activation key's content view
version
--fields LIST Show specified fields or predefined field sets only. (See below)
--id VALUE ID of the activation key
--name VALUE Activation key name to search by
--organization VALUE Organization name to search by
--organization-id NUMBER
--organization-label VALUE Organization label to search by
--organization-title VALUE Organization title
-h, --help Print help
Predefined field sets:
-----------------|-----|---------|-----
FIELDS | ALL | DEFAULT | THIN
-----------------|-----|---------|-----
Id | x | x | x
Name | x | x | x
Type | x | x |
Url | x | x |
Gpg key | x | x |
Label | x | x |
Default enabled? | x | x |
Override | 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.2.11. hammer activation-key remove-host-collection Copy linkLink copied to clipboard!
Disassociate a resource
Usage: hammer activation-key remove-host-collection [OPTIONS] Options: --host-collection VALUE Host collection name to search by --host-collection-id NUMBER Id of the host collection --id VALUE ID of the activation key --name VALUE Activation key name to search by --organization VALUE Organization name to search by --organization-id NUMBER Organization ID --organization-label VALUE Organization label to search by --organization-title VALUE Organization title -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
Usage:
hammer activation-key remove-host-collection [OPTIONS]
Options:
--host-collection VALUE Host collection name to search by
--host-collection-id NUMBER Id of the host collection
--id VALUE ID of the activation key
--name VALUE Activation key name to search by
--organization VALUE Organization name to search by
--organization-id NUMBER Organization ID
--organization-label VALUE Organization label to search by
--organization-title VALUE Organization title
-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.2.12. hammer activation-key remove-subscription Copy linkLink copied to clipboard!
Remove subscription
Usage: hammer activation-key remove-subscription [OPTIONS] Options: --id NUMBER ID of the activation key --name VALUE Activation key name to search by --organization VALUE Organization name to search by --organization-id NUMBER --organization-label VALUE Organization label to search by --organization-title VALUE Organization title --subscription-id VALUE ID of subscription -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
Usage:
hammer activation-key remove-subscription [OPTIONS]
Options:
--id NUMBER ID of the activation key
--name VALUE Activation key name to search by
--organization VALUE Organization name to search by
--organization-id NUMBER
--organization-label VALUE Organization label to search by
--organization-title VALUE Organization title
--subscription-id VALUE ID of subscription
-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.2.13. hammer activation-key subscriptions Copy linkLink copied to clipboard!
List associated subscriptions
Usage: hammer activation-key subscriptions [OPTIONS] Options: --activation-key VALUE Activation key name to search by --activation-key-id VALUE Activation key ID --available-for VALUE Object to show subscriptions available for, either 'host' or 'activation_key' --fields LIST Show specified fields or predefined field sets only. (See below) --full-result BOOLEAN Whether or not to show all results --host VALUE Host name --host-id VALUE Id of a host --id VALUE ID of the activation key --match-host BOOLEAN Ignore subscriptions that are unavailable to the specified host --match-installed BOOLEAN Return subscriptions that match installed products of the specified host --name VALUE Activation key name to search by --no-overlap BOOLEAN Return subscriptions which do not overlap with a currently-attached subscription --order VALUE Sort field and order, eg. 'id DESC' --organization VALUE Organization name to search by --organization-id NUMBER Organization ID --organization-label VALUE Organization label to search by --organization-title VALUE Organization title --page NUMBER Page number, starting at 1 --per-page NUMBER Number of results per page to return --search VALUE Search string -h, --help Print help Predefined field sets: -----------|-----|-------- FIELDS | ALL | DEFAULT -----------|-----|-------- Id | x | x Name | x | x Attached | x | x Quantity | x | x Start date | x | x End date | x | x Support | x | x Contract | x | x Account | 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
Usage:
hammer activation-key subscriptions [OPTIONS]
Options:
--activation-key VALUE Activation key name to search by
--activation-key-id VALUE Activation key ID
--available-for VALUE Object to show subscriptions available for, either 'host' or 'activation_key'
--fields LIST Show specified fields or predefined field sets only. (See below)
--full-result BOOLEAN Whether or not to show all results
--host VALUE Host name
--host-id VALUE Id of a host
--id VALUE ID of the activation key
--match-host BOOLEAN Ignore subscriptions that are unavailable to the specified host
--match-installed BOOLEAN Return subscriptions that match installed products of the specified host
--name VALUE Activation key name to search by
--no-overlap BOOLEAN Return subscriptions which do not overlap with a currently-attached subscription
--order VALUE Sort field and order, eg. 'id DESC'
--organization VALUE Organization name to search by
--organization-id NUMBER Organization ID
--organization-label VALUE Organization label to search by
--organization-title VALUE Organization title
--page NUMBER Page number, starting at 1
--per-page NUMBER Number of results per page to return
--search VALUE Search string
-h, --help Print help
Predefined field sets:
-----------|-----|--------
FIELDS | ALL | DEFAULT
-----------|-----|--------
Id | x | x
Name | x | x
Attached | x | x
Quantity | x | x
Start date | x | x
End date | x | x
Support | x | x
Contract | x | x
Account | 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.2.14. hammer activation-key update Copy linkLink copied to clipboard!
Update an activation key
Usage: hammer activation-key update [OPTIONS] Options: --auto-attach BOOLEAN Auto attach subscriptions upon registration --content-view VALUE Content view name to search by --content-view-id NUMBER Content view id --description VALUE Description --environment VALUE Lifecycle environment name to search by (--environment is deprecated: Use --lifecycle-environment instead) --environment-id NUMBER (--environment-id is deprecated: Use --lifecycle-environment-id instead) --id NUMBER ID of the activation key --lifecycle-environment VALUE Lifecycle environment name to search by --lifecycle-environment-id NUMBER Environment id --max-hosts NUMBER Maximum number of registered content hosts --name VALUE Name --new-name VALUE Name --organization VALUE Organization name to search by --organization-id NUMBER Organization identifier --organization-label VALUE Organization label to search by --organization-title VALUE Organization title --purpose-addons LIST Sets the system add-ons --purpose-role VALUE Sets the system purpose usage --purpose-usage VALUE Sets the system purpose usage --release-version VALUE Content release version --service-level VALUE Service level --unlimited-hosts Set hosts max to unlimited -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
Usage:
hammer activation-key update [OPTIONS]
Options:
--auto-attach BOOLEAN Auto attach subscriptions upon registration
--content-view VALUE Content view name to search by
--content-view-id NUMBER Content view id
--description VALUE Description
--environment VALUE Lifecycle environment name to search by (--environment is deprecated: Use
--lifecycle-environment instead)
--environment-id NUMBER (--environment-id is deprecated: Use --lifecycle-environment-id instead)
--id NUMBER ID of the activation key
--lifecycle-environment VALUE Lifecycle environment name to search by
--lifecycle-environment-id NUMBER Environment id
--max-hosts NUMBER Maximum number of registered content hosts
--name VALUE Name
--new-name VALUE Name
--organization VALUE Organization name to search by
--organization-id NUMBER Organization identifier
--organization-label VALUE Organization label to search by
--organization-title VALUE Organization title
--purpose-addons LIST Sets the system add-ons
--purpose-role VALUE Sets the system purpose usage
--purpose-usage VALUE Sets the system purpose usage
--release-version VALUE Content release version
--service-level VALUE Service level
--unlimited-hosts Set hosts max to unlimited
-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.3. hammer admin Copy linkLink copied to clipboard!
Administrative server-side tasks
Usage: hammer admin [OPTIONS] SUBCOMMAND [ARG] ... Parameters: SUBCOMMAND Subcommand [ARG] ... Subcommand arguments Subcommands: logging Logging verbosity level setup Options: -h, --help Print help
Usage:
hammer admin [OPTIONS] SUBCOMMAND [ARG] ...
Parameters:
SUBCOMMAND Subcommand
[ARG] ... Subcommand arguments
Subcommands:
logging Logging verbosity level setup
Options:
-h, --help Print help
3.3.1. hammer admin logging Copy linkLink copied to clipboard!
Logging verbosity level setup
Usage: hammer admin logging [OPTIONS] Options: --no-backup Skip configuration backups creation. --prefix VALUE Operate on prefixed environment (e.g. chroot). -a, --all Apply to all components. -c, --components LIST Components to apply, use --list to get them. -d, --level-debug Increase verbosity level to debug. -h, --help Print help -l, --list List available components. -n, --dry-run Do not apply specified changes. -p, --level-production Decrease verbosity level to standard. 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
Usage:
hammer admin logging [OPTIONS]
Options:
--no-backup Skip configuration backups creation.
--prefix VALUE Operate on prefixed environment (e.g. chroot).
-a, --all Apply to all components.
-c, --components LIST Components to apply, use --list to get them.
-d, --level-debug Increase verbosity level to debug.
-h, --help Print help
-l, --list List available components.
-n, --dry-run Do not apply specified changes.
-p, --level-production Decrease verbosity level to standard.
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.4. hammer ansible Copy linkLink copied to clipboard!
Manage foreman ansible
Usage: hammer ansible [OPTIONS] SUBCOMMAND [ARG] ... Parameters: SUBCOMMAND Subcommand [ARG] ... Subcommand arguments Subcommands: roles Manage ansible roles variables Manage ansible variables Options: -h, --help Print help
Usage:
hammer ansible [OPTIONS] SUBCOMMAND [ARG] ...
Parameters:
SUBCOMMAND Subcommand
[ARG] ... Subcommand arguments
Subcommands:
roles Manage ansible roles
variables Manage ansible variables
Options:
-h, --help Print help
3.4.1. hammer ansible roles Copy linkLink copied to clipboard!
Manage ansible roles
Usage: hammer ansible roles [OPTIONS] SUBCOMMAND [ARG] ... Parameters: SUBCOMMAND Subcommand [ARG] ... Subcommand arguments Subcommands: delete, destroy Deletes Ansible role fetch Fetch Ansible roles available to be synced import DEPRECATED: Import Ansible roles info, show Show role list, index List Ansible roles obsolete DEPRECATED: Obsolete Ansible roles play-hostgroups Runs all Ansible roles on hostgroups play-hosts Runs all Ansible roles on hosts sync Sync Ansible roles Options: -h, --help Print help
Usage:
hammer ansible roles [OPTIONS] SUBCOMMAND [ARG] ...
Parameters:
SUBCOMMAND Subcommand
[ARG] ... Subcommand arguments
Subcommands:
delete, destroy Deletes Ansible role
fetch Fetch Ansible roles available to be synced
import DEPRECATED: Import Ansible roles
info, show Show role
list, index List Ansible roles
obsolete DEPRECATED: Obsolete Ansible roles
play-hostgroups Runs all Ansible roles on hostgroups
play-hosts Runs all Ansible roles on hosts
sync Sync Ansible roles
Options:
-h, --help Print help
3.4.1.1. hammer ansible roles delete Copy linkLink copied to clipboard!
Deletes Ansible role
Usage: hammer ansible roles <delete|destroy> [OPTIONS] Options: --id VALUE --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 Name to search by --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 -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
Usage:
hammer ansible roles <delete|destroy> [OPTIONS]
Options:
--id VALUE
--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 Name to search by
--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
-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.4.1.2. hammer ansible roles fetch Copy linkLink copied to clipboard!
Fetch Ansible roles available to be synced
Usage: hammer ansible roles fetch [OPTIONS] Options: --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 --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 --proxy-id VALUE Capsule to fetch from -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
Usage:
hammer ansible roles fetch [OPTIONS]
Options:
--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
--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
--proxy-id VALUE Capsule to fetch from
-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.4.1.3. hammer ansible roles import Copy linkLink copied to clipboard!
DEPRECATED: Import Ansible roles
Usage: hammer ansible roles import [OPTIONS] Options: --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 --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 --proxy-id VALUE Capsule to import from --role-names LIST Ansible role names to be imported -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
Usage:
hammer ansible roles import [OPTIONS]
Options:
--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
--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
--proxy-id VALUE Capsule to import from
--role-names LIST Ansible role names to be imported
-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.4.1.4. hammer ansible roles info Copy linkLink copied to clipboard!
Show role
Usage: hammer ansible roles <info|show> [OPTIONS] Options: --fields LIST Show specified fields or predefined field sets only. (See below) --id VALUE --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 Name to search by --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 -h, --help Print help Predefined field sets: ------------|-----|---------|----- FIELDS | ALL | DEFAULT | THIN ------------|-----|---------|----- Id | x | x | x Name | x | x | x Imported 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
Usage:
hammer ansible roles <info|show> [OPTIONS]
Options:
--fields LIST Show specified fields or predefined field sets only. (See below)
--id VALUE
--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 Name to search by
--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
-h, --help Print help
Predefined field sets:
------------|-----|---------|-----
FIELDS | ALL | DEFAULT | THIN
------------|-----|---------|-----
Id | x | x | x
Name | x | x | x
Imported 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
3.4.1.5. hammer ansible roles list Copy linkLink copied to clipboard!
List Ansible roles
Usage: hammer ansible roles <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 Name | x | x | x Imported 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 Search / Order fields: host string host_id integer hostgroup string hostgroup_id integer id integer name string updated_at datetime
Usage:
hammer ansible roles <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
Name | x | x | x
Imported 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
Search / Order fields:
host string
host_id integer
hostgroup string
hostgroup_id integer
id integer
name string
updated_at datetime
3.4.1.6. hammer ansible roles obsolete Copy linkLink copied to clipboard!
DEPRECATED: Obsolete Ansible roles
Usage: hammer ansible roles obsolete [OPTIONS] Options: --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 --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 --proxy-id VALUE Capsule to import from -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
Usage:
hammer ansible roles obsolete [OPTIONS]
Options:
--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
--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
--proxy-id VALUE Capsule to import from
-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.4.1.7. hammer ansible roles play-hostgroups Copy linkLink copied to clipboard!
Runs all Ansible roles on hostgroups
Usage: hammer ansible roles play-hostgroups [OPTIONS] Options: --hostgroup-ids LIST IDs of hostgroups to play roles on --hostgroup-titles LIST --hostgroups LIST --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 --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 -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
Usage:
hammer ansible roles play-hostgroups [OPTIONS]
Options:
--hostgroup-ids LIST IDs of hostgroups to play roles on
--hostgroup-titles LIST
--hostgroups LIST
--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
--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
-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.4.1.8. hammer ansible roles play-hosts Copy linkLink copied to clipboard!
Runs all Ansible roles on hosts
Usage: hammer ansible roles play-hosts [OPTIONS] Options: --host-ids LIST IDs of hosts to play roles on --hosts LIST --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 --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 -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
Usage:
hammer ansible roles play-hosts [OPTIONS]
Options:
--host-ids LIST IDs of hosts to play roles on
--hosts LIST
--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
--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
-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.4.1.9. hammer ansible roles sync Copy linkLink copied to clipboard!
Sync Ansible roles
Usage: hammer ansible roles sync [OPTIONS] Options: --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 --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 --proxy-id VALUE Capsule to sync from --role-names LIST Ansible role names to be synced -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
Usage:
hammer ansible roles sync [OPTIONS]
Options:
--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
--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
--proxy-id VALUE Capsule to sync from
--role-names LIST Ansible role names to be synced
-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.4.2. hammer ansible variables Copy linkLink copied to clipboard!
Manage ansible variables
Usage: hammer ansible variables [OPTIONS] SUBCOMMAND [ARG] ... Parameters: SUBCOMMAND Subcommand [ARG] ... Subcommand arguments Subcommands: add-matcher Create an override value for a specific ansible variable create Create Ansible variable delete, destroy Deletes Ansible variable import DEPRECATED: Import Ansible variables. This will only import variables for already existing roles, it will not import any new roles info, show Show variable list, index List Ansible variables obsolete DEPRECATED: Obsolete Ansible variables. This will only obsolete variables for already existing roles, it will not delete any old roles remove-matcher Destroy an override value update Updates Ansible variable Options: -h, --help Print help
Usage:
hammer ansible variables [OPTIONS] SUBCOMMAND [ARG] ...
Parameters:
SUBCOMMAND Subcommand
[ARG] ... Subcommand arguments
Subcommands:
add-matcher Create an override value for a specific ansible variable
create Create Ansible variable
delete, destroy Deletes Ansible variable
import DEPRECATED: Import Ansible variables. This will only import variables for
already existing roles, it will not import any new roles
info, show Show variable
list, index List Ansible variables
obsolete DEPRECATED: Obsolete Ansible variables. This will only obsolete variables for
already existing roles, it will not delete any old roles
remove-matcher Destroy an override value
update Updates Ansible variable
Options:
-h, --help Print help
3.4.2.1. hammer ansible variables add-matcher Copy linkLink copied to clipboard!
Create an override value for a specific ansible variable
Usage: hammer ansible variables add-matcher [OPTIONS] Options: --ansible-variable VALUE Name to search by --ansible-variable-id VALUE --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 --match VALUE Override match --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 --value VALUE Override value, required if omit is false -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
Usage:
hammer ansible variables add-matcher [OPTIONS]
Options:
--ansible-variable VALUE Name to search by
--ansible-variable-id VALUE
--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
--match VALUE Override match
--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
--value VALUE Override value, required if omit is false
-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.4.2.2. hammer ansible variables create Copy linkLink copied to clipboard!
Create Ansible variable
Usage: hammer ansible variables create [OPTIONS] Options: --ansible-role VALUE Name to search by --ansible-role-id NUMBER Role ID --avoid-duplicates BOOLEAN Remove duplicate values (only array type) --default-value VALUE Default value of variable --description VALUE Description of variable --hidden-value BOOLEAN When enabled the parameter is hidden in the UI --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 --merge-default BOOLEAN Include default value when merging all matching values --merge-overrides BOOLEAN Merge all matching values (only array/hash type) --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 --override BOOLEAN Whether to override variable or not --override-value-order VALUE The order in which values are resolved --validator-rule VALUE Used to enforce certain values for the parameter values --validator-type ENUM Types of validation values Possible value(s): 'regexp', 'list' --variable VALUE Name of variable --variable-type ENUM Types of variable values Possible value(s): 'string', 'boolean', 'integer', 'real', 'array', 'hash', 'yaml', 'json' -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
Usage:
hammer ansible variables create [OPTIONS]
Options:
--ansible-role VALUE Name to search by
--ansible-role-id NUMBER Role ID
--avoid-duplicates BOOLEAN Remove duplicate values (only array type)
--default-value VALUE Default value of variable
--description VALUE Description of variable
--hidden-value BOOLEAN When enabled the parameter is hidden in the UI
--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
--merge-default BOOLEAN Include default value when merging all matching values
--merge-overrides BOOLEAN Merge all matching values (only array/hash type)
--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
--override BOOLEAN Whether to override variable or not
--override-value-order VALUE The order in which values are resolved
--validator-rule VALUE Used to enforce certain values for the parameter values
--validator-type ENUM Types of validation values
Possible value(s): 'regexp', 'list'
--variable VALUE Name of variable
--variable-type ENUM Types of variable values
Possible value(s): 'string', 'boolean', 'integer', 'real', 'array', 'hash',
'yaml', 'json'
-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.4.2.3. hammer ansible variables delete Copy linkLink copied to clipboard!
Deletes Ansible variable
Usage: hammer ansible variables <delete|destroy> [OPTIONS] Options: --id VALUE --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 Name to search by --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 -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
Usage:
hammer ansible variables <delete|destroy> [OPTIONS]
Options:
--id VALUE
--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 Name to search by
--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
-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.4.2.4. hammer ansible variables import Copy linkLink copied to clipboard!
DEPRECATED: Import Ansible variables. This will only import variables for already existing roles, it will not import any new roles
Usage: hammer ansible variables import [OPTIONS] Options: --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 --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 --proxy-id VALUE Capsule to import from -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
Usage:
hammer ansible variables import [OPTIONS]
Options:
--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
--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
--proxy-id VALUE Capsule to import from
-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.4.2.5. hammer ansible variables info Copy linkLink copied to clipboard!
Show variable
Usage: hammer ansible variables <info|show> [OPTIONS] Options: --fields LIST Show specified fields or predefined field sets only. (See below) --id VALUE --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 Name to search by --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 -h, --help Print help Predefined field sets: ------------------------------------|-----|-------- FIELDS | ALL | DEFAULT ------------------------------------|-----|-------- Id | x | x Variable | x | x Default value | x | x Type | x | x Role | x | x Role id | x | x Description | x | x Hidden value? | x | x Validator/type | x | x Validator/rule | x | x Override values/override | x | x Override values/merge overrides | x | x Override values/merge default value | x | x Override values/avoid duplicates | x | x Override values/order | x | x Override values/values/id | x | x Override values/values/match | x | x Override values/values/value | 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
Usage:
hammer ansible variables <info|show> [OPTIONS]
Options:
--fields LIST Show specified fields or predefined field sets only. (See below)
--id VALUE
--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 Name to search by
--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
-h, --help Print help
Predefined field sets:
------------------------------------|-----|--------
FIELDS | ALL | DEFAULT
------------------------------------|-----|--------
Id | x | x
Variable | x | x
Default value | x | x
Type | x | x
Role | x | x
Role id | x | x
Description | x | x
Hidden value? | x | x
Validator/type | x | x
Validator/rule | x | x
Override values/override | x | x
Override values/merge overrides | x | x
Override values/merge default value | x | x
Override values/avoid duplicates | x | x
Override values/order | x | x
Override values/values/id | x | x
Override values/values/match | x | x
Override values/values/value | 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
3.4.2.6. hammer ansible variables list Copy linkLink copied to clipboard!
List Ansible variables
Usage: hammer ansible variables <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 --------------|-----|-------- Id | x | x Variable | x | x Default value | x | x Type | x | x Role | x | x Role 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 Search / Order fields: ansible_role string avoid_duplicates Values: true, false imported Values: true, false key string merge_default Values: true, false merge_overrides Values: true, false name string override Values: true, false parameter string
Usage:
hammer ansible variables <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
--------------|-----|--------
Id | x | x
Variable | x | x
Default value | x | x
Type | x | x
Role | x | x
Role 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
Search / Order fields:
ansible_role string
avoid_duplicates Values: true, false
imported Values: true, false
key string
merge_default Values: true, false
merge_overrides Values: true, false
name string
override Values: true, false
parameter string
3.4.2.7. hammer ansible variables obsolete Copy linkLink copied to clipboard!
DEPRECATED: Obsolete Ansible variables. This will only obsolete variables for already existing roles, it will not delete any old roles
Usage: hammer ansible variables obsolete [OPTIONS] Options: --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 --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 --proxy-id VALUE Capsule to import from -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
Usage:
hammer ansible variables obsolete [OPTIONS]
Options:
--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
--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
--proxy-id VALUE Capsule to import from
-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.4.2.8. hammer ansible variables remove-matcher Copy linkLink copied to clipboard!
Destroy an override value
Usage: hammer ansible variables remove-matcher [OPTIONS] Options: --id VALUE --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 Name to search by --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 -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
Usage:
hammer ansible variables remove-matcher [OPTIONS]
Options:
--id VALUE
--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 Name to search by
--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
-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.4.2.9. hammer ansible variables update Copy linkLink copied to clipboard!
Updates Ansible variable
Usage: hammer ansible variables update [OPTIONS] Options: --ansible-role VALUE Name to search by --ansible-role-id NUMBER Role ID --avoid-duplicates BOOLEAN Remove duplicate values (only array type) --default-value VALUE Default value of variable --description VALUE Description of variable --hidden-value BOOLEAN When enabled the parameter is hidden in the UI --id VALUE --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 --merge-default BOOLEAN Include default value when merging all matching values --merge-overrides BOOLEAN Merge all matching values (only array/hash type) --name VALUE Name to search by --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-title VALUE Set the current organization context for the request --override BOOLEAN Whether to override variable or not --override-value-order LIST The order in which values are resolved --validator-rule VALUE Used to enforce certain values for the parameter values --validator-type ENUM Types of validation values Possible value(s): 'regexp', 'list' --variable VALUE Name of variable --variable-type ENUM Types of variable values Possible value(s): 'string', 'boolean', 'integer', 'real', 'array', 'hash', 'yaml', 'json' -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
Usage:
hammer ansible variables update [OPTIONS]
Options:
--ansible-role VALUE Name to search by
--ansible-role-id NUMBER Role ID
--avoid-duplicates BOOLEAN Remove duplicate values (only array type)
--default-value VALUE Default value of variable
--description VALUE Description of variable
--hidden-value BOOLEAN When enabled the parameter is hidden in the UI
--id VALUE
--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
--merge-default BOOLEAN Include default value when merging all matching values
--merge-overrides BOOLEAN Merge all matching values (only array/hash type)
--name VALUE Name to search by
--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-title VALUE Set the current organization context for the request
--override BOOLEAN Whether to override variable or not
--override-value-order LIST The order in which values are resolved
--validator-rule VALUE Used to enforce certain values for the parameter values
--validator-type ENUM Types of validation values
Possible value(s): 'regexp', 'list'
--variable VALUE Name of variable
--variable-type ENUM Types of variable values
Possible value(s): 'string', 'boolean', 'integer', 'real', 'array', 'hash',
'yaml', 'json'
-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.5. hammer architecture Copy linkLink copied to clipboard!
Manipulate architectures
Usage: hammer architecture [OPTIONS] SUBCOMMAND [ARG] ... Parameters: SUBCOMMAND Subcommand [ARG] ... Subcommand arguments Subcommands: add-operatingsystem Associate an operating system create Create an architecture delete, destroy Delete an architecture info, show Show an architecture list, index List all architectures remove-operatingsystem Disassociate an operating system update Update an architecture Options: -h, --help Print help
Usage:
hammer architecture [OPTIONS] SUBCOMMAND [ARG] ...
Parameters:
SUBCOMMAND Subcommand
[ARG] ... Subcommand arguments
Subcommands:
add-operatingsystem Associate an operating system
create Create an architecture
delete, destroy Delete an architecture
info, show Show an architecture
list, index List all architectures
remove-operatingsystem Disassociate an operating system
update Update an architecture
Options:
-h, --help Print help
3.5.1. hammer architecture add-operatingsystem Copy linkLink copied to clipboard!
Associate an operating system
Usage: hammer architecture add-operatingsystem [OPTIONS] Options: --id VALUE --name VALUE Architecture name --operatingsystem VALUE Operating system title --operatingsystem-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
Usage:
hammer architecture add-operatingsystem [OPTIONS]
Options:
--id VALUE
--name VALUE Architecture name
--operatingsystem VALUE Operating system title
--operatingsystem-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.5.2. hammer architecture create Copy linkLink copied to clipboard!
Create an architecture
Usage: hammer architecture create [OPTIONS] Options: --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 --operatingsystem-ids LIST Operating system IDs --operatingsystems LIST --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 -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
Usage:
hammer architecture create [OPTIONS]
Options:
--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
--operatingsystem-ids LIST Operating system IDs
--operatingsystems LIST
--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
-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.5.3. hammer architecture delete Copy linkLink copied to clipboard!
Delete an architecture
Usage: hammer architecture <delete|destroy> [OPTIONS] Options: --id VALUE --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 Architecture name --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 -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
Usage:
hammer architecture <delete|destroy> [OPTIONS]
Options:
--id VALUE
--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 Architecture name
--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
-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.5.4. hammer architecture info Copy linkLink copied to clipboard!
Show an architecture
Usage: hammer architecture <info|show> [OPTIONS] Options: --fields LIST Show specified fields or predefined field sets only. (See below) --id VALUE --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 Architecture name --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 -h, --help Print help Predefined field sets: -------------------|-----|---------|----- FIELDS | ALL | DEFAULT | THIN -------------------|-----|---------|----- Id | x | x | x Name | x | x | x Operating systems/ | x | x | Locations/ | 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
Usage:
hammer architecture <info|show> [OPTIONS]
Options:
--fields LIST Show specified fields or predefined field sets only. (See below)
--id VALUE
--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 Architecture name
--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
-h, --help Print help
Predefined field sets:
-------------------|-----|---------|-----
FIELDS | ALL | DEFAULT | THIN
-------------------|-----|---------|-----
Id | x | x | x
Name | x | x | x
Operating systems/ | x | x |
Locations/ | 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
3.5.5. hammer architecture list Copy linkLink copied to clipboard!
List all architectures
Usage: hammer architecture <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 --operatingsystem VALUE Operating system title --operatingsystem-id NUMBER ID of operating system --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 Name | 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: name string
Usage:
hammer architecture <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
--operatingsystem VALUE Operating system title
--operatingsystem-id NUMBER ID of operating system
--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
Name | 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:
name string
3.5.6. hammer architecture remove-operatingsystem Copy linkLink copied to clipboard!
Disassociate an operating system
Usage: hammer architecture remove-operatingsystem [OPTIONS] Options: --id VALUE --name VALUE Architecture name --operatingsystem VALUE Operating system title --operatingsystem-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
Usage:
hammer architecture remove-operatingsystem [OPTIONS]
Options:
--id VALUE
--name VALUE Architecture name
--operatingsystem VALUE Operating system title
--operatingsystem-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.5.7. hammer architecture update Copy linkLink copied to clipboard!
Update an architecture
Usage: hammer architecture update [OPTIONS] Options: --id VALUE --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 --new-name VALUE --operatingsystem-ids LIST Operating system IDs --operatingsystems LIST --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 -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
Usage:
hammer architecture update [OPTIONS]
Options:
--id VALUE
--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
--new-name VALUE
--operatingsystem-ids LIST Operating system IDs
--operatingsystems LIST
--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
-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.6. hammer arf-report Copy linkLink copied to clipboard!
Manipulate compliance reports
Usage: hammer arf-report [OPTIONS] SUBCOMMAND [ARG] ... Parameters: SUBCOMMAND Subcommand [ARG] ... Subcommand arguments Subcommands: delete, destroy Delete an ARF Report download Download bzipped ARF report download-html Download ARF report in HTML info, show Show an ARF report list, index List ARF reports Options: -h, --help Print help
Usage:
hammer arf-report [OPTIONS] SUBCOMMAND [ARG] ...
Parameters:
SUBCOMMAND Subcommand
[ARG] ... Subcommand arguments
Subcommands:
delete, destroy Delete an ARF Report
download Download bzipped ARF report
download-html Download ARF report in HTML
info, show Show an ARF report
list, index List ARF reports
Options:
-h, --help Print help
3.6.1. hammer arf-report delete Copy linkLink copied to clipboard!
Delete an ARF Report
Usage: hammer arf-report <delete|destroy> [OPTIONS] Options: --id VALUE --location VALUE Name to search by --location-id NUMBER Set the current location context for the request --organization VALUE Name to search by --organization-id NUMBER 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
Usage:
hammer arf-report <delete|destroy> [OPTIONS]
Options:
--id VALUE
--location VALUE Name to search by
--location-id NUMBER Set the current location context for the request
--organization VALUE Name to search by
--organization-id NUMBER 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.6.2. hammer arf-report download Copy linkLink copied to clipboard!
Download bzipped ARF report
Usage: hammer arf-report download [OPTIONS] Options: --id VALUE --location VALUE Name to search by --location-id NUMBER Set the current location context for the request --organization VALUE Name to search by --organization-id NUMBER Set the current organization context for the request --path VALUE Path to directory where downloaded file will be saved -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
Usage:
hammer arf-report download [OPTIONS]
Options:
--id VALUE
--location VALUE Name to search by
--location-id NUMBER Set the current location context for the request
--organization VALUE Name to search by
--organization-id NUMBER Set the current organization context for the request
--path VALUE Path to directory where downloaded file will be saved
-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.6.3. hammer arf-report download-html Copy linkLink copied to clipboard!
Download ARF report in HTML
Usage: hammer arf-report download-html [OPTIONS] Options: --id VALUE --location VALUE Name to search by --location-id NUMBER Set the current location context for the request --organization VALUE Name to search by --organization-id NUMBER Set the current organization context for the request --path VALUE Path to directory where downloaded file will be saved -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
Usage:
hammer arf-report download-html [OPTIONS]
Options:
--id VALUE
--location VALUE Name to search by
--location-id NUMBER Set the current location context for the request
--organization VALUE Name to search by
--organization-id NUMBER Set the current organization context for the request
--path VALUE Path to directory where downloaded file will be saved
-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.6.4. hammer arf-report info Copy linkLink copied to clipboard!
Show an ARF report
Usage: hammer arf-report <info|show> [OPTIONS] Options: --fields LIST Show specified fields or predefined field sets only. (See below) --id VALUE --location VALUE Name to search by --location-id NUMBER Set the current location context for the request --organization VALUE Name to search by --organization-id NUMBER Set the current organization context for the request -h, --help Print help Predefined field sets: --------------------|-----|---------|----- FIELDS | ALL | DEFAULT | THIN --------------------|-----|---------|----- Id | x | x | x Reported at | x | x | Host name | x | x | x Openscap proxy name | x | x | Policy name | x | x | Passed | x | x | Failed | x | x | Othered | x | x | Host id | x | x | Openscap proxy id | x | x | Policy id | x | x | Locations/ | x | x | Organizations/ | 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
Usage:
hammer arf-report <info|show> [OPTIONS]
Options:
--fields LIST Show specified fields or predefined field sets only. (See below)
--id VALUE
--location VALUE Name to search by
--location-id NUMBER Set the current location context for the request
--organization VALUE Name to search by
--organization-id NUMBER Set the current organization context for the request
-h, --help Print help
Predefined field sets:
--------------------|-----|---------|-----
FIELDS | ALL | DEFAULT | THIN
--------------------|-----|---------|-----
Id | x | x | x
Reported at | x | x |
Host name | x | x | x
Openscap proxy name | x | x |
Policy name | x | x |
Passed | x | x |
Failed | x | x |
Othered | x | x |
Host id | x | x |
Openscap proxy id | x | x |
Policy id | x | x |
Locations/ | x | x |
Organizations/ | 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.6.5. hammer arf-report list Copy linkLink copied to clipboard!
List ARF reports
Usage: hammer arf-report <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 Reported at | x | x | Host name | x | x | x Openscap proxy name | x | x | Policy name | x | x | Passed | x | x | Failed | x | x | Othered | 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: compliance_policy string compliance_status Values: compliant, incompliant, inconclusive comply_with string eventful Values: true, false host string host_collection string host_id integer host_owner_id integer hostgroup string hostgroup_fullname string hostgroup_title string inconclusive_with string last_for Values: host, policy last_report datetime lifecycle_environment string location string location_id integer log text not_comply_with string openscap_proxy string organization string organization_id integer origin string policy string reported datetime resource text xccdf_rule_failed string xccdf_rule_name text xccdf_rule_othered string xccdf_rule_passed string
Usage:
hammer arf-report <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
Reported at | x | x |
Host name | x | x | x
Openscap proxy name | x | x |
Policy name | x | x |
Passed | x | x |
Failed | x | x |
Othered | 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:
compliance_policy string
compliance_status Values: compliant, incompliant, inconclusive
comply_with string
eventful Values: true, false
host string
host_collection string
host_id integer
host_owner_id integer
hostgroup string
hostgroup_fullname string
hostgroup_title string
inconclusive_with string
last_for Values: host, policy
last_report datetime
lifecycle_environment string
location string
location_id integer
log text
not_comply_with string
openscap_proxy string
organization string
organization_id integer
origin string
policy string
reported datetime
resource text
xccdf_rule_failed string
xccdf_rule_name text
xccdf_rule_othered string
xccdf_rule_passed string
3.7. hammer audit Copy linkLink copied to clipboard!
Search audit trails.
Usage: hammer audit [OPTIONS] SUBCOMMAND [ARG] ... Parameters: SUBCOMMAND Subcommand [ARG] ... Subcommand arguments Subcommands: info, show Show an audit list, index List all audits Options: -h, --help Print help
Usage:
hammer audit [OPTIONS] SUBCOMMAND [ARG] ...
Parameters:
SUBCOMMAND Subcommand
[ARG] ... Subcommand arguments
Subcommands:
info, show Show an audit
list, index List all audits
Options:
-h, --help Print help
3.7.1. hammer audit info Copy linkLink copied to clipboard!
Show an audit
Usage: hammer audit <info|show> [OPTIONS] Options: --fields LIST Show specified fields or predefined field sets only. (See below) --id VALUE --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 --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 -h, --help Print help Predefined field sets: --------------------------|-----|---------|----- FIELDS | ALL | DEFAULT | THIN --------------------------|-----|---------|----- Id | x | x | x At | x | x | Ip | x | x | User | x | x | Action | x | x | Audit type | x | x | Audit record | x | x | Request uuid | x | x | Audited changes/attribute | x | x | Audited changes/value | x | x | Audited changes/old | x | x | Audited changes/new | 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
Usage:
hammer audit <info|show> [OPTIONS]
Options:
--fields LIST Show specified fields or predefined field sets only. (See below)
--id VALUE
--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
--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
-h, --help Print help
Predefined field sets:
--------------------------|-----|---------|-----
FIELDS | ALL | DEFAULT | THIN
--------------------------|-----|---------|-----
Id | x | x | x
At | x | x |
Ip | x | x |
User | x | x |
Action | x | x |
Audit type | x | x |
Audit record | x | x |
Request uuid | x | x |
Audited changes/attribute | x | x |
Audited changes/value | x | x |
Audited changes/old | x | x |
Audited changes/new | 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.7.2. hammer audit list Copy linkLink copied to clipboard!
List all audits
Usage: hammer audit <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 At | x | x | Ip | x | x | User | x | x | Action | x | x | Audit type | x | x | Audit record | x | x | Request uuid | 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: action string auditable_id integer authored_by_user string authored_by_user.id integer changes text comment string host string hostgroup string hostgroup_title string id integer interface_fqdn string interface_ip string interface_mac string location string location_id integer organization string organization_id integer os string os_title string parameter string partition_table string provisioning_template string puppetclass remote_address string request_uuid string setting string time datetime type Values: role, ptable, provisioning_template, user, filter, architecture, bookmark, compute_profile, domain, hostgroup, http_proxy, image, key_pair, medium, model, personal_access_token, report_template, realm, smart_proxy, ssh_key, subnet, usergroup, job_template, remote_execution_feature, job_invocation, ansible_role, discovery_rule, katello/activation_key, katello/content_view, katello/content_credential, katello/host_collection, katello/kt_environment, katello/product, katello/sync_plan, foreman_virt_who_configure/config, foreman_openscap/policy, foreman_openscap/scap_content, foreman_openscap/tailoring_file, foreman_openscap/oval_content, foreman_openscap/oval_policy, compute_attribute, lookup_value, katello/repository, katello/host/content_facet, katello/hostgroup/content_facet, katello/host/subscription_facet, katello/root_repository, auth_source, compute_resource, host, interface, location, organization, os, override_value, parameter, partition_table, setting, smart_class_parameter user string username string
Usage:
hammer audit <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
At | x | x |
Ip | x | x |
User | x | x |
Action | x | x |
Audit type | x | x |
Audit record | x | x |
Request uuid | 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:
action string
auditable_id integer
authored_by_user string
authored_by_user.id integer
changes text
comment string
host string
hostgroup string
hostgroup_title string
id integer
interface_fqdn string
interface_ip string
interface_mac string
location string
location_id integer
organization string
organization_id integer
os string
os_title string
parameter string
partition_table string
provisioning_template string
puppetclass
remote_address string
request_uuid string
setting string
time datetime
type Values: role, ptable, provisioning_template, user, filter, architecture, bookmark, compute_profile, domain, hostgroup, http_proxy, image, key_pair, medium, model, personal_access_token, report_template, realm, smart_proxy, ssh_key, subnet, usergroup, job_template, remote_execution_feature, job_invocation, ansible_role, discovery_rule, katello/activation_key, katello/content_view, katello/content_credential, katello/host_collection, katello/kt_environment, katello/product, katello/sync_plan, foreman_virt_who_configure/config, foreman_openscap/policy, foreman_openscap/scap_content, foreman_openscap/tailoring_file, foreman_openscap/oval_content, foreman_openscap/oval_policy, compute_attribute, lookup_value, katello/repository, katello/host/content_facet, katello/hostgroup/content_facet, katello/host/subscription_facet, katello/root_repository, auth_source, compute_resource, host, interface, location, organization, os, override_value, parameter, partition_table, setting, smart_class_parameter
user string
username string
3.8. hammer auth Copy linkLink copied to clipboard!
Foreman connection login/logout
Usage: hammer auth [OPTIONS] SUBCOMMAND [ARG] ... Parameters: SUBCOMMAND Subcommand [ARG] ... Subcommand arguments Subcommands: login Set credentials logout Wipe your credentials status Information about current connections Options: -h, --help Print help
Usage:
hammer auth [OPTIONS] SUBCOMMAND [ARG] ...
Parameters:
SUBCOMMAND Subcommand
[ARG] ... Subcommand arguments
Subcommands:
login Set credentials
logout Wipe your credentials
status Information about current connections
Options:
-h, --help Print help
3.8.1. hammer auth login Copy linkLink copied to clipboard!
Set credentials
Usage: hammer auth login [OPTIONS] SUBCOMMAND [ARG] ... Parameters: SUBCOMMAND Subcommand [ARG] ... Subcommand arguments Subcommands: basic Provide username and password basic-external Authenticate against external source (IPA/PAM) with credentials negotiate Negotiate the login credentials from the auth ticket (Kerberos) oauth Supports for both with/without 2fa Options: -h, --help Print help
Usage:
hammer auth login [OPTIONS] SUBCOMMAND [ARG] ...
Parameters:
SUBCOMMAND Subcommand
[ARG] ... Subcommand arguments
Subcommands:
basic Provide username and password
basic-external Authenticate against external source (IPA/PAM) with credentials
negotiate Negotiate the login credentials from the auth ticket (Kerberos)
oauth Supports for both with/without 2fa
Options:
-h, --help Print help
3.8.1.1. hammer auth login basic Copy linkLink copied to clipboard!
Provide username and password
Usage: hammer auth login basic [OPTIONS] Options: -h, --help Print help -p, --password VALUE Password to access the remote system -u, --username VALUE Username to access the remote system 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
Usage:
hammer auth login basic [OPTIONS]
Options:
-h, --help Print help
-p, --password VALUE Password to access the remote system
-u, --username VALUE Username to access the remote system
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.8.1.2. hammer auth login basic-external Copy linkLink copied to clipboard!
Authenticate against external source (IPA/PAM) with credentials
Usage: hammer auth login basic-external [OPTIONS] Options: -h, --help Print help -p, --password VALUE Password to access the remote system -u, --username VALUE Username to access the remote system Option details: Here you can find option types and the value an option can accept: VALUE Value described in the option's description. Mostly simple string
Usage:
hammer auth login basic-external [OPTIONS]
Options:
-h, --help Print help
-p, --password VALUE Password to access the remote system
-u, --username VALUE Username to access the remote system
Option details:
Here you can find option types and the value an option can accept:
VALUE Value described in the option's description. Mostly simple string
3.8.1.3. hammer auth login negotiate Copy linkLink copied to clipboard!
Negotiate the login credentials from the auth ticket (Kerberos)
Usage: hammer auth login negotiate [OPTIONS] Options: -h, --help Print help
Usage:
hammer auth login negotiate [OPTIONS]
Options:
-h, --help Print help
3.8.1.4. hammer auth login oauth Copy linkLink copied to clipboard!
Supports for both with/without 2fa
Usage: hammer auth login oauth [OPTIONS] Options: -a, --oidc-authorization-endpoint VALUE Openidc provider URL which issues authentication code (two factor only) -c, --oidc-client-id VALUE Client id used in the Openidc provider -f, --two-factor Authenticate with two factor -h, --help Print help -p, --password VALUE Password to access the remote system -r, --oidc-redirect-uri VALUE Redirect URI for the authentication code grant flow -t, --oidc-token-endpoint VALUE Openidc provider URL which issues access token -u, --username VALUE Username to access the remote system 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
Usage:
hammer auth login oauth [OPTIONS]
Options:
-a, --oidc-authorization-endpoint VALUE Openidc provider URL which issues authentication code (two factor only)
-c, --oidc-client-id VALUE Client id used in the Openidc provider
-f, --two-factor Authenticate with two factor
-h, --help Print help
-p, --password VALUE Password to access the remote system
-r, --oidc-redirect-uri VALUE Redirect URI for the authentication code grant flow
-t, --oidc-token-endpoint VALUE Openidc provider URL which issues access token
-u, --username VALUE Username to access the remote system
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.8.2. hammer auth logout Copy linkLink copied to clipboard!
Wipe your credentials
Usage: hammer auth logout [OPTIONS] Options: -h, --help Print help
Usage:
hammer auth logout [OPTIONS]
Options:
-h, --help Print help
3.8.3. hammer auth status Copy linkLink copied to clipboard!
Information about current connections
Usage: hammer auth status [OPTIONS] Options: -h, --help Print help
Usage:
hammer auth status [OPTIONS]
Options:
-h, --help Print help
3.9. hammer auth-source Copy linkLink copied to clipboard!
Manipulate auth sources
Usage: hammer auth-source [OPTIONS] SUBCOMMAND [ARG] ... Parameters: SUBCOMMAND Subcommand [ARG] ... Subcommand arguments Subcommands: external Manage external auth sources ldap Manage LDAP auth sources list, index List all auth sources Options: -h, --help Print help
Usage:
hammer auth-source [OPTIONS] SUBCOMMAND [ARG] ...
Parameters:
SUBCOMMAND Subcommand
[ARG] ... Subcommand arguments
Subcommands:
external Manage external auth sources
ldap Manage LDAP auth sources
list, index List all auth sources
Options:
-h, --help Print help
3.9.1. hammer auth-source external Copy linkLink copied to clipboard!
Manage external auth sources
Usage: hammer auth-source external [OPTIONS] SUBCOMMAND [ARG] ... Parameters: SUBCOMMAND Subcommand [ARG] ... Subcommand arguments Subcommands: info, show Show an external authentication source list, index List external authentication sources update Update organization and location for Auth Source Options: -h, --help Print help
Usage:
hammer auth-source external [OPTIONS] SUBCOMMAND [ARG] ...
Parameters:
SUBCOMMAND Subcommand
[ARG] ... Subcommand arguments
Subcommands:
info, show Show an external authentication source
list, index List external authentication sources
update Update organization and location for Auth Source
Options:
-h, --help Print help
3.9.1.1. hammer auth-source external info Copy linkLink copied to clipboard!
Show an external authentication source
Usage: hammer auth-source external <info|show> [OPTIONS] Options: --fields LIST Show specified fields or predefined field sets only. (See below) --id VALUE --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 Name to search by --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 -h, --help Print help Predefined field sets: ---------------|-----|---------|----- FIELDS | ALL | DEFAULT | THIN ---------------|-----|---------|----- Id | x | x | x Name | x | x | x Locations/ | x | x | Organizations/ | 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
Usage:
hammer auth-source external <info|show> [OPTIONS]
Options:
--fields LIST Show specified fields or predefined field sets only. (See below)
--id VALUE
--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 Name to search by
--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
-h, --help Print help
Predefined field sets:
---------------|-----|---------|-----
FIELDS | ALL | DEFAULT | THIN
---------------|-----|---------|-----
Id | x | x | x
Name | x | x | x
Locations/ | x | x |
Organizations/ | 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.9.1.2. hammer auth-source external list Copy linkLink copied to clipboard!
List external authentication sources
Usage: hammer auth-source external <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 Scope by locations --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 Scope by organizations --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 Name | 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: location string location_id integer name string organization string organization_id integer
Usage:
hammer auth-source external <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 Scope by locations
--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 Scope by organizations
--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
Name | 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:
location string
location_id integer
name string
organization string
organization_id integer
3.9.1.3. hammer auth-source external update Copy linkLink copied to clipboard!
Update organization and location for Auth Source
Usage: hammer auth-source external update [OPTIONS] Options: --id 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 REPLACE locations with given ids --location-title VALUE Set the current location context for the request --location-titles LIST --locations LIST --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 REPLACE organizations with given ids. --organization-title VALUE Set the current organization context for the request --organization-titles LIST --organizations 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
Usage:
hammer auth-source external update [OPTIONS]
Options:
--id 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 REPLACE locations with given ids
--location-title VALUE Set the current location context for the request
--location-titles LIST
--locations LIST
--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 REPLACE organizations with given ids.
--organization-title VALUE Set the current organization context for the request
--organization-titles LIST
--organizations 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.9.2. hammer auth-source ldap Copy linkLink copied to clipboard!
Manage LDAP auth sources
Usage: hammer auth-source ldap [OPTIONS] SUBCOMMAND [ARG] ... Parameters: SUBCOMMAND Subcommand [ARG] ... Subcommand arguments Subcommands: create Create an LDAP authentication source delete, destroy Delete an LDAP authentication source info, show Show an LDAP authentication source list, index List all LDAP authentication sources update Update an LDAP authentication source Options: -h, --help Print help
Usage:
hammer auth-source ldap [OPTIONS] SUBCOMMAND [ARG] ...
Parameters:
SUBCOMMAND Subcommand
[ARG] ... Subcommand arguments
Subcommands:
create Create an LDAP authentication source
delete, destroy Delete an LDAP authentication source
info, show Show an LDAP authentication source
list, index List all LDAP authentication sources
update Update an LDAP authentication source
Options:
-h, --help Print help
3.9.2.1. hammer auth-source ldap create Copy linkLink copied to clipboard!
Create an LDAP authentication source
Usage: hammer auth-source ldap create [OPTIONS] Options: --account VALUE --account-password VALUE Required if onthefly_register is true --attr-firstname VALUE Required if onthefly_register is true --attr-lastname VALUE Required if onthefly_register is true --attr-login VALUE Required if onthefly_register is true --attr-mail VALUE Required if onthefly_register is true --attr-photo VALUE --base-dn VALUE --groups-base VALUE Groups base DN --host VALUE The hostname of the LDAP server --ldap-filter VALUE LDAP filter --location VALUE Set the current location context for the request --location-id NUMBER Set the current location context for the request --location-ids LIST REPLACE locations with given ids --location-title VALUE Set the current location context for the request --location-titles LIST --locations LIST --name VALUE --onthefly-register BOOLEAN --organization VALUE Set the current organization context for the request --organization-id NUMBER Set the current organization context for the request --organization-ids LIST REPLACE organizations with given ids. --organization-title VALUE Set the current organization context for the request --organization-titles LIST --organizations LIST --port NUMBER Defaults to 389 --server-type ENUM Type of the LDAP server Possible value(s): 'free_ipa', 'active_directory', 'posix' --tls BOOLEAN --use-netgroups BOOLEAN Use NIS netgroups instead of posix groups, applicable only when server_type is posix or free_ipa --usergroup-sync BOOLEAN Sync external user groups on login -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
Usage:
hammer auth-source ldap create [OPTIONS]
Options:
--account VALUE
--account-password VALUE Required if onthefly_register is true
--attr-firstname VALUE Required if onthefly_register is true
--attr-lastname VALUE Required if onthefly_register is true
--attr-login VALUE Required if onthefly_register is true
--attr-mail VALUE Required if onthefly_register is true
--attr-photo VALUE
--base-dn VALUE
--groups-base VALUE Groups base DN
--host VALUE The hostname of the LDAP server
--ldap-filter VALUE LDAP filter
--location VALUE Set the current location context for the request
--location-id NUMBER Set the current location context for the request
--location-ids LIST REPLACE locations with given ids
--location-title VALUE Set the current location context for the request
--location-titles LIST
--locations LIST
--name VALUE
--onthefly-register BOOLEAN
--organization VALUE Set the current organization context for the request
--organization-id NUMBER Set the current organization context for the request
--organization-ids LIST REPLACE organizations with given ids.
--organization-title VALUE Set the current organization context for the request
--organization-titles LIST
--organizations LIST
--port NUMBER Defaults to 389
--server-type ENUM Type of the LDAP server
Possible value(s): 'free_ipa', 'active_directory', 'posix'
--tls BOOLEAN
--use-netgroups BOOLEAN Use NIS netgroups instead of posix groups, applicable only when server_type is
posix or free_ipa
--usergroup-sync BOOLEAN Sync external user groups on login
-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.9.2.2. hammer auth-source ldap delete Copy linkLink copied to clipboard!
Delete an LDAP authentication source
Usage: hammer auth-source ldap <delete|destroy> [OPTIONS] Options: --id VALUE --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 Name to search by --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 -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
Usage:
hammer auth-source ldap <delete|destroy> [OPTIONS]
Options:
--id VALUE
--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 Name to search by
--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
-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.9.2.3. hammer auth-source ldap info Copy linkLink copied to clipboard!
Show an LDAP authentication source
Usage: hammer auth-source ldap <info|show> [OPTIONS] Options: --fields LIST Show specified fields or predefined field sets only. (See below) --id VALUE --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 Name to search by --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 -h, --help Print help Predefined field sets: -------------------------------------------|-----|-------- FIELDS | ALL | DEFAULT -------------------------------------------|-----|-------- Server/id | x | x Server/name | x | x Server/server | x | x Server/ldaps | x | x Server/port | x | x Server/server type | x | x Account/account username | x | x Account/base dn | x | x Account/groups base dn | x | x Account/use netgroups | x | x Account/ldap filter | x | x Account/automatically create accounts? | x | x Account/usergroup sync | x | x Attribute mappings/login name attribute | x | x Attribute mappings/first name attribute | x | x Attribute mappings/last name attribute | x | x Attribute mappings/email address attribute | x | x Attribute mappings/photo attribute | x | x Locations/ | x | x Organizations/ | 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
Usage:
hammer auth-source ldap <info|show> [OPTIONS]
Options:
--fields LIST Show specified fields or predefined field sets only. (See below)
--id VALUE
--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 Name to search by
--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
-h, --help Print help
Predefined field sets:
-------------------------------------------|-----|--------
FIELDS | ALL | DEFAULT
-------------------------------------------|-----|--------
Server/id | x | x
Server/name | x | x
Server/server | x | x
Server/ldaps | x | x
Server/port | x | x
Server/server type | x | x
Account/account username | x | x
Account/base dn | x | x
Account/groups base dn | x | x
Account/use netgroups | x | x
Account/ldap filter | x | x
Account/automatically create accounts? | x | x
Account/usergroup sync | x | x
Attribute mappings/login name attribute | x | x
Attribute mappings/first name attribute | x | x
Attribute mappings/last name attribute | x | x
Attribute mappings/email address attribute | x | x
Attribute mappings/photo attribute | x | x
Locations/ | x | x
Organizations/ | 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.9.2.4. hammer auth-source ldap list Copy linkLink copied to clipboard!
List all LDAP authentication sources
Usage: hammer auth-source ldap <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 Scope by locations --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 Scope by organizations --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 Name | x | x | x Server | x | x | Port | x | x | Ldaps? | 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: location string location_id integer name string organization string organization_id integer
Usage:
hammer auth-source ldap <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 Scope by locations
--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 Scope by organizations
--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
Name | x | x | x
Server | x | x |
Port | x | x |
Ldaps? | 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:
location string
location_id integer
name string
organization string
organization_id integer
3.9.2.5. hammer auth-source ldap update Copy linkLink copied to clipboard!
Update an LDAP authentication source
Usage: hammer auth-source ldap update [OPTIONS] Options: --account VALUE --account-password VALUE Required if onthefly_register is true --attr-firstname VALUE Required if onthefly_register is true --attr-lastname VALUE Required if onthefly_register is true --attr-login VALUE Required if onthefly_register is true --attr-mail VALUE Required if onthefly_register is true --attr-photo VALUE --base-dn VALUE --groups-base VALUE Groups base DN --host VALUE The hostname of the LDAP server --id VALUE --ldap-filter VALUE LDAP filter --location VALUE Set the current location context for the request --location-id NUMBER Set the current location context for the request --location-ids LIST REPLACE locations with given ids --location-title VALUE Set the current location context for the request --location-titles LIST --locations LIST --name VALUE --new-name VALUE --onthefly-register BOOLEAN --organization VALUE Set the current organization context for the request --organization-id NUMBER Set the current organization context for the request --organization-ids LIST REPLACE organizations with given ids. --organization-title VALUE Set the current organization context for the request --organization-titles LIST --organizations LIST --port NUMBER Defaults to 389 --server-type ENUM Type of the LDAP server Possible value(s): 'free_ipa', 'active_directory', 'posix' --tls BOOLEAN --use-netgroups BOOLEAN Use NIS netgroups instead of posix groups, applicable only when server_type is posix or free_ipa --usergroup-sync BOOLEAN Sync external user groups on login -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
Usage:
hammer auth-source ldap update [OPTIONS]
Options:
--account VALUE
--account-password VALUE Required if onthefly_register is true
--attr-firstname VALUE Required if onthefly_register is true
--attr-lastname VALUE Required if onthefly_register is true
--attr-login VALUE Required if onthefly_register is true
--attr-mail VALUE Required if onthefly_register is true
--attr-photo VALUE
--base-dn VALUE
--groups-base VALUE Groups base DN
--host VALUE The hostname of the LDAP server
--id VALUE
--ldap-filter VALUE LDAP filter
--location VALUE Set the current location context for the request
--location-id NUMBER Set the current location context for the request
--location-ids LIST REPLACE locations with given ids
--location-title VALUE Set the current location context for the request
--location-titles LIST
--locations LIST
--name VALUE
--new-name VALUE
--onthefly-register BOOLEAN
--organization VALUE Set the current organization context for the request
--organization-id NUMBER Set the current organization context for the request
--organization-ids LIST REPLACE organizations with given ids.
--organization-title VALUE Set the current organization context for the request
--organization-titles LIST
--organizations LIST
--port NUMBER Defaults to 389
--server-type ENUM Type of the LDAP server
Possible value(s): 'free_ipa', 'active_directory', 'posix'
--tls BOOLEAN
--use-netgroups BOOLEAN Use NIS netgroups instead of posix groups, applicable only when server_type is
posix or free_ipa
--usergroup-sync BOOLEAN Sync external user groups on login
-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.9.3. hammer auth-source list Copy linkLink copied to clipboard!
List all auth sources
Usage: hammer auth-source <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 Scope by locations --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 Scope by organizations --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 Name | x | x | x Type of auth source | 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: location string location_id integer name string organization string organization_id integer
Usage:
hammer auth-source <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 Scope by locations
--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 Scope by organizations
--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
Name | x | x | x
Type of auth source | 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:
location string
location_id integer
name string
organization string
organization_id integer
3.10. hammer bookmark Copy linkLink copied to clipboard!
Manage bookmarks
Usage: hammer bookmark [OPTIONS] SUBCOMMAND [ARG] ... Parameters: SUBCOMMAND Subcommand [ARG] ... Subcommand arguments Subcommands: create Create a bookmark delete, destroy Delete a bookmark info, show Show a bookmark list, index List all bookmarks update Update a bookmark Options: -h, --help Print help
Usage:
hammer bookmark [OPTIONS] SUBCOMMAND [ARG] ...
Parameters:
SUBCOMMAND Subcommand
[ARG] ... Subcommand arguments
Subcommands:
create Create a bookmark
delete, destroy Delete a bookmark
info, show Show a bookmark
list, index List all bookmarks
update Update a bookmark
Options:
-h, --help Print help
3.10.1. hammer bookmark create Copy linkLink copied to clipboard!
Create a bookmark
Usage: hammer bookmark create [OPTIONS] Options: --controller VALUE --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 --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 --public BOOLEAN --query 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
Usage:
hammer bookmark create [OPTIONS]
Options:
--controller VALUE
--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
--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
--public BOOLEAN
--query 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.10.2. hammer bookmark delete Copy linkLink copied to clipboard!
Delete a bookmark
Usage: hammer bookmark <delete|destroy> [OPTIONS] Options: --id VALUE --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 Name to search by --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 -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
Usage:
hammer bookmark <delete|destroy> [OPTIONS]
Options:
--id VALUE
--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 Name to search by
--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
-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.10.3. hammer bookmark info Copy linkLink copied to clipboard!
Show a bookmark
Usage: hammer bookmark <info|show> [OPTIONS] Options: --fields LIST Show specified fields or predefined field sets only. (See below) --id VALUE --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 Name to search by --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 -h, --help Print help Predefined field sets: -------------|-----|---------|----- FIELDS | ALL | DEFAULT | THIN -------------|-----|---------|----- Id | x | x | x Name | x | x | x Controller | x | x | Search query | x | x | Public | x | x | Owner id | x | x | Owner type | 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
Usage:
hammer bookmark <info|show> [OPTIONS]
Options:
--fields LIST Show specified fields or predefined field sets only. (See below)
--id VALUE
--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 Name to search by
--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
-h, --help Print help
Predefined field sets:
-------------|-----|---------|-----
FIELDS | ALL | DEFAULT | THIN
-------------|-----|---------|-----
Id | x | x | x
Name | x | x | x
Controller | x | x |
Search query | x | x |
Public | x | x |
Owner id | x | x |
Owner type | 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.10.4. hammer bookmark list Copy linkLink copied to clipboard!
List all bookmarks
Usage: hammer bookmark <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 Name | x | x | x Controller | x | x | Search query | x | x | Public | x | x | Owner id | x | x | Owner type | 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: controller string name string
Usage:
hammer bookmark <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
Name | x | x | x
Controller | x | x |
Search query | x | x |
Public | x | x |
Owner id | x | x |
Owner type | 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:
controller string
name string
3.10.5. hammer bookmark update Copy linkLink copied to clipboard!
Update a bookmark
Usage: hammer bookmark update [OPTIONS] Options: --controller VALUE --id VALUE --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 --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-title VALUE Set the current organization context for the request --public BOOLEAN --query 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
Usage:
hammer bookmark update [OPTIONS]
Options:
--controller VALUE
--id VALUE
--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
--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-title VALUE Set the current organization context for the request
--public BOOLEAN
--query 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.11. hammer bootdisk Copy linkLink copied to clipboard!
Download boot disks
Usage: hammer bootdisk [OPTIONS] SUBCOMMAND [ARG] ... Parameters: SUBCOMMAND Subcommand [ARG] ... Subcommand arguments Subcommands: generic Download generic image host Download host image subnet Download subnet generic image Options: -h, --help Print help
Usage:
hammer bootdisk [OPTIONS] SUBCOMMAND [ARG] ...
Parameters:
SUBCOMMAND Subcommand
[ARG] ... Subcommand arguments
Subcommands:
generic Download generic image
host Download host image
subnet Download subnet generic image
Options:
-h, --help Print help
3.11.1. hammer bootdisk generic Copy linkLink copied to clipboard!
Download generic image
Usage: hammer bootdisk generic [OPTIONS] Options: --file VALUE File or device to write image to --force Force writing to existing destination (device etc.) --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 --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 --sudo Use sudo to write to device -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
Usage:
hammer bootdisk generic [OPTIONS]
Options:
--file VALUE File or device to write image to
--force Force writing to existing destination (device etc.)
--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
--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
--sudo Use sudo to write to device
-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.11.2. hammer bootdisk host Copy linkLink copied to clipboard!
Download host image
Usage: hammer bootdisk host [OPTIONS] Options: --file VALUE File or device to write image to --force Force writing to existing destination (device etc.) --full BOOLEAN True for full, false for basic reusable image --host VALUE Host name --host-id VALUE --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 --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 --sudo Use sudo to write to device -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
Usage:
hammer bootdisk host [OPTIONS]
Options:
--file VALUE File or device to write image to
--force Force writing to existing destination (device etc.)
--full BOOLEAN True for full, false for basic reusable image
--host VALUE Host name
--host-id VALUE
--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
--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
--sudo Use sudo to write to device
-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.11.3. hammer bootdisk subnet Copy linkLink copied to clipboard!
Download subnet generic image
Usage: hammer bootdisk subnet [OPTIONS] Options: --file VALUE File or device to write image to --force Force writing to existing destination (device etc.) --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 --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 --subnet VALUE Subnet name --subnet-id VALUE --sudo Use sudo to write to device -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
Usage:
hammer bootdisk subnet [OPTIONS]
Options:
--file VALUE File or device to write image to
--force Force writing to existing destination (device etc.)
--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
--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
--subnet VALUE Subnet name
--subnet-id VALUE
--sudo Use sudo to write to device
-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.12. hammer capsule Copy linkLink copied to clipboard!
Manipulate capsule
Usage: hammer capsule [OPTIONS] SUBCOMMAND [ARG] ... Parameters: SUBCOMMAND Subcommand [ARG] ... Subcommand arguments Subcommands: content Manage the capsule content create Create a capsule delete, destroy Delete a capsule info, show Show a capsule list, index List all capsules refresh-features Refresh capsule features update Update a capsule Options: -h, --help Print help
Usage:
hammer capsule [OPTIONS] SUBCOMMAND [ARG] ...
Parameters:
SUBCOMMAND Subcommand
[ARG] ... Subcommand arguments
Subcommands:
content Manage the capsule content
create Create a capsule
delete, destroy Delete a capsule
info, show Show a capsule
list, index List all capsules
refresh-features Refresh capsule features
update Update a capsule
Options:
-h, --help Print help
3.12.1. hammer capsule content Copy linkLink copied to clipboard!
Manage the capsule content
Usage: hammer capsule content [OPTIONS] SUBCOMMAND [ARG] ... Parameters: SUBCOMMAND Subcommand [ARG] ... Subcommand arguments Subcommands: add-lifecycle-environment Add lifecycle environments to the capsule available-lifecycle-environments List the lifecycle environments not attached to the capsule cancel-synchronization Cancel running capsule synchronization info Get current capsule synchronization status lifecycle-environments List the lifecycle environments attached to the capsule remove-lifecycle-environment Remove lifecycle environments from the capsule synchronization-status Get current capsule synchronization status synchronize Synchronize the content to the capsule Options: -h, --help Print help
Usage:
hammer capsule content [OPTIONS] SUBCOMMAND [ARG] ...
Parameters:
SUBCOMMAND Subcommand
[ARG] ... Subcommand arguments
Subcommands:
add-lifecycle-environment Add lifecycle environments to the capsule
available-lifecycle-environments List the lifecycle environments not attached to the capsule
cancel-synchronization Cancel running capsule synchronization
info Get current capsule synchronization status
lifecycle-environments List the lifecycle environments attached to the capsule
remove-lifecycle-environment Remove lifecycle environments from the capsule
synchronization-status Get current capsule synchronization status
synchronize Synchronize the content to the capsule
Options:
-h, --help Print help
3.12.1.1. hammer capsule content add-lifecycle-environment Copy linkLink copied to clipboard!
Add lifecycle environments to the capsule
Usage: hammer capsule content add-lifecycle-environment [OPTIONS] Options: --environment VALUE Lifecycle environment name to search by (--environment is deprecated: Use --lifecycle-environment instead) --environment-id NUMBER (--environment-id is deprecated: Use --lifecycle-environment-id instead) --id NUMBER Id of the capsule --lifecycle-environment VALUE Lifecycle environment name to search by --lifecycle-environment-id NUMBER Id of the lifecycle environment --name VALUE Name to search by --organization VALUE Organization name --organization-id VALUE Organization ID -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
Usage:
hammer capsule content add-lifecycle-environment [OPTIONS]
Options:
--environment VALUE Lifecycle environment name to search by (--environment is deprecated: Use
--lifecycle-environment instead)
--environment-id NUMBER (--environment-id is deprecated: Use --lifecycle-environment-id instead)
--id NUMBER Id of the capsule
--lifecycle-environment VALUE Lifecycle environment name to search by
--lifecycle-environment-id NUMBER Id of the lifecycle environment
--name VALUE Name to search by
--organization VALUE Organization name
--organization-id VALUE Organization ID
-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.12.1.2. hammer capsule content available-lifecycle-environments Copy linkLink copied to clipboard!
List the lifecycle environments not attached to the capsule
Usage: hammer capsule content available-lifecycle-environments [OPTIONS] Options: --fields LIST Show specified fields or predefined field sets only. (See below) --id NUMBER Id of the capsule --name VALUE Name to search by --organization VALUE Organization name to search by --organization-id NUMBER Id of the organization to limit environments on --organization-label VALUE Organization label to search by --organization-title VALUE Organization title -h, --help Print help Predefined field sets: -------------|-----|---------|----- FIELDS | ALL | DEFAULT | THIN -------------|-----|---------|----- Id | x | x | x Name | x | x | x Organization | 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
Usage:
hammer capsule content available-lifecycle-environments [OPTIONS]
Options:
--fields LIST Show specified fields or predefined field sets only. (See below)
--id NUMBER Id of the capsule
--name VALUE Name to search by
--organization VALUE Organization name to search by
--organization-id NUMBER Id of the organization to limit environments on
--organization-label VALUE Organization label to search by
--organization-title VALUE Organization title
-h, --help Print help
Predefined field sets:
-------------|-----|---------|-----
FIELDS | ALL | DEFAULT | THIN
-------------|-----|---------|-----
Id | x | x | x
Name | x | x | x
Organization | 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.12.1.3. hammer capsule content cancel-synchronization Copy linkLink copied to clipboard!
Cancel running capsule synchronization
Usage: hammer capsule content cancel-synchronization [OPTIONS] Options: --id NUMBER Id of the capsule --name VALUE Name to search by -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
Usage:
hammer capsule content cancel-synchronization [OPTIONS]
Options:
--id NUMBER Id of the capsule
--name VALUE Name to search by
-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.12.1.4. hammer capsule content info Copy linkLink copied to clipboard!
Get current capsule synchronization status
Usage: hammer capsule content info [OPTIONS] Options: --fields LIST Show specified fields or predefined field sets only. (See below) --id NUMBER Id of the capsule --name VALUE Name to search by --organization VALUE Organization name to search by --organization-id NUMBER Id of the organization to get the status for --organization-label VALUE Organization label to search by --organization-title VALUE Organization title -h, --help Print help Predefined field sets: -------------------------------------------------------------------|-----|-------- FIELDS | ALL | DEFAULT -------------------------------------------------------------------|-----|-------- Lifecycle environments/name | x | x Lifecycle environments/organization | x | x Lifecycle environments/content views/name | x | x Lifecycle environments/content views/composite | x | x Lifecycle environments/content views/last published | x | x Lifecycle environments/content views/content/hosts | x | x Lifecycle environments/content views/content/products | x | x Lifecycle environments/content views/content/yum repos | x | x Lifecycle environments/content views/content/container image repos | x | x Lifecycle environments/content views/content/packages | x | x Lifecycle environments/content views/content/package groups | x | x Lifecycle environments/content views/content/errata | 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
Usage:
hammer capsule content info [OPTIONS]
Options:
--fields LIST Show specified fields or predefined field sets only. (See below)
--id NUMBER Id of the capsule
--name VALUE Name to search by
--organization VALUE Organization name to search by
--organization-id NUMBER Id of the organization to get the status for
--organization-label VALUE Organization label to search by
--organization-title VALUE Organization title
-h, --help Print help
Predefined field sets:
-------------------------------------------------------------------|-----|--------
FIELDS | ALL | DEFAULT
-------------------------------------------------------------------|-----|--------
Lifecycle environments/name | x | x
Lifecycle environments/organization | x | x
Lifecycle environments/content views/name | x | x
Lifecycle environments/content views/composite | x | x
Lifecycle environments/content views/last published | x | x
Lifecycle environments/content views/content/hosts | x | x
Lifecycle environments/content views/content/products | x | x
Lifecycle environments/content views/content/yum repos | x | x
Lifecycle environments/content views/content/container image repos | x | x
Lifecycle environments/content views/content/packages | x | x
Lifecycle environments/content views/content/package groups | x | x
Lifecycle environments/content views/content/errata | 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.12.1.5. hammer capsule content lifecycle-environments Copy linkLink copied to clipboard!
List the lifecycle environments attached to the capsule
Usage: hammer capsule content lifecycle-environments [OPTIONS] Options: --fields LIST Show specified fields or predefined field sets only. (See below) --id NUMBER Id of the capsule --name VALUE Name to search by --organization VALUE Organization name to search by --organization-id NUMBER Id of the organization to limit environments on --organization-label VALUE Organization label to search by --organization-title VALUE Organization title -h, --help Print help Predefined field sets: -------------|-----|---------|----- FIELDS | ALL | DEFAULT | THIN -------------|-----|---------|----- Id | x | x | x Name | x | x | x Organization | 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
Usage:
hammer capsule content lifecycle-environments [OPTIONS]
Options:
--fields LIST Show specified fields or predefined field sets only. (See below)
--id NUMBER Id of the capsule
--name VALUE Name to search by
--organization VALUE Organization name to search by
--organization-id NUMBER Id of the organization to limit environments on
--organization-label VALUE Organization label to search by
--organization-title VALUE Organization title
-h, --help Print help
Predefined field sets:
-------------|-----|---------|-----
FIELDS | ALL | DEFAULT | THIN
-------------|-----|---------|-----
Id | x | x | x
Name | x | x | x
Organization | 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.12.1.6. hammer capsule content remove-lifecycle-environment Copy linkLink copied to clipboard!
Remove lifecycle environments from the capsule
Usage: hammer capsule content remove-lifecycle-environment [OPTIONS] Options: --environment VALUE Lifecycle environment name to search by (--environment is deprecated: Use --lifecycle-environment instead) --environment-id NUMBER (--environment-id is deprecated: Use --lifecycle-environment-id instead) --id NUMBER Id of the capsule --lifecycle-environment VALUE Lifecycle environment name to search by --lifecycle-environment-id NUMBER Id of the lifecycle environment --name VALUE Name to search by --organization VALUE Organization name --organization-id VALUE Organization ID -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
Usage:
hammer capsule content remove-lifecycle-environment [OPTIONS]
Options:
--environment VALUE Lifecycle environment name to search by (--environment is deprecated: Use
--lifecycle-environment instead)
--environment-id NUMBER (--environment-id is deprecated: Use --lifecycle-environment-id instead)
--id NUMBER Id of the capsule
--lifecycle-environment VALUE Lifecycle environment name to search by
--lifecycle-environment-id NUMBER Id of the lifecycle environment
--name VALUE Name to search by
--organization VALUE Organization name
--organization-id VALUE Organization ID
-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.12.1.7. hammer capsule content synchronization-status Copy linkLink copied to clipboard!
Get current capsule synchronization status
Usage: hammer capsule content synchronization-status [OPTIONS] Options: --fields LIST Show specified fields or predefined field sets only. (See below) --id NUMBER Id of the capsule --name VALUE Name to search by --organization VALUE Organization name to search by --organization-id NUMBER Id of the organization to get the status for --organization-label VALUE Organization label to search by --organization-title VALUE Organization title -h, --help Print help Predefined field sets: --------------------------------------|-----|-------- FIELDS | ALL | DEFAULT --------------------------------------|-----|-------- Last sync | x | x Status | x | x Currently running sync tasks/task id | x | x Currently running sync tasks/progress | x | x Last failure/task id | x | x Last failure/messages | 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
Usage:
hammer capsule content synchronization-status [OPTIONS]
Options:
--fields LIST Show specified fields or predefined field sets only. (See below)
--id NUMBER Id of the capsule
--name VALUE Name to search by
--organization VALUE Organization name to search by
--organization-id NUMBER Id of the organization to get the status for
--organization-label VALUE Organization label to search by
--organization-title VALUE Organization title
-h, --help Print help
Predefined field sets:
--------------------------------------|-----|--------
FIELDS | ALL | DEFAULT
--------------------------------------|-----|--------
Last sync | x | x
Status | x | x
Currently running sync tasks/task id | x | x
Currently running sync tasks/progress | x | x
Last failure/task id | x | x
Last failure/messages | 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.12.1.8. hammer capsule content synchronize Copy linkLink copied to clipboard!
Synchronize the content to the capsule
Usage: hammer capsule content synchronize [OPTIONS] Options: --async Do not wait for the task --content-view VALUE Content view name to search by --content-view-id NUMBER Id of the content view to limit the synchronization on --environment VALUE Lifecycle environment name to search by (--environment is deprecated: Use --lifecycle-environment instead) --environment-id NUMBER (--environment-id is deprecated: Use --lifecycle-environment-id instead) --id NUMBER Id of the capsule --lifecycle-environment VALUE Lifecycle environment name to search by --lifecycle-environment-id NUMBER Id of the environment to limit the synchronization on --name VALUE Name to search by --organization VALUE Organization name --organization-id VALUE Organization ID --repository VALUE Repository name to search by --repository-id NUMBER Id of the repository to limit the synchronization on --skip-metadata-check BOOLEAN Skip metadata check on each repository on the capsule -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
Usage:
hammer capsule content synchronize [OPTIONS]
Options:
--async Do not wait for the task
--content-view VALUE Content view name to search by
--content-view-id NUMBER Id of the content view to limit the synchronization on
--environment VALUE Lifecycle environment name to search by (--environment is deprecated: Use
--lifecycle-environment instead)
--environment-id NUMBER (--environment-id is deprecated: Use --lifecycle-environment-id instead)
--id NUMBER Id of the capsule
--lifecycle-environment VALUE Lifecycle environment name to search by
--lifecycle-environment-id NUMBER Id of the environment to limit the synchronization on
--name VALUE Name to search by
--organization VALUE Organization name
--organization-id VALUE Organization ID
--repository VALUE Repository name to search by
--repository-id NUMBER Id of the repository to limit the synchronization on
--skip-metadata-check BOOLEAN Skip metadata check on each repository on the capsule
-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.12.2. hammer capsule create Copy linkLink copied to clipboard!
Create a capsule
Usage: hammer capsule create [OPTIONS] Options: --download-policy VALUE Download Policy of the capsule, must be one of on_demand, immediate, inherit --location VALUE Set the current location context for the request --location-id NUMBER Set the current location context for the request --location-ids LIST REPLACE locations with given ids --location-title VALUE Set the current location context for the request --location-titles LIST --locations LIST --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 REPLACE organizations with given ids. --organization-title VALUE Set the current organization context for the request --organization-titles LIST --organizations LIST --url 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
Usage:
hammer capsule create [OPTIONS]
Options:
--download-policy VALUE Download Policy of the capsule, must be one of on_demand, immediate, inherit
--location VALUE Set the current location context for the request
--location-id NUMBER Set the current location context for the request
--location-ids LIST REPLACE locations with given ids
--location-title VALUE Set the current location context for the request
--location-titles LIST
--locations LIST
--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 REPLACE organizations with given ids.
--organization-title VALUE Set the current organization context for the request
--organization-titles LIST
--organizations LIST
--url 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.12.3. hammer capsule delete Copy linkLink copied to clipboard!
Delete a capsule
Usage: hammer capsule <delete|destroy> [OPTIONS] Options: --id VALUE --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 Name to search by --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 -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
Usage:
hammer capsule <delete|destroy> [OPTIONS]
Options:
--id VALUE
--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 Name to search by
--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
-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.12.4. hammer capsule info Copy linkLink copied to clipboard!
Show a capsule
Usage: hammer capsule <info|show> [OPTIONS] Options: --fields LIST Show specified fields or predefined field sets only. (See below) --id VALUE --include-status BOOLEAN Flag to indicate whether to include status or not --include-version BOOLEAN Flag to indicate whether to include version or not --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 Name to search by --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 -h, --help Print help Predefined field sets: -----------------|-----|---------|----- FIELDS | ALL | DEFAULT | THIN -----------------|-----|---------|----- Id | x | x | x Name | x | x | x Status | x | x | Url | x | x | Features | x | x | Version | x | x | Host_count | x | x | Features/name | x | x | Features/version | x | x | Locations/ | 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
Usage:
hammer capsule <info|show> [OPTIONS]
Options:
--fields LIST Show specified fields or predefined field sets only. (See below)
--id VALUE
--include-status BOOLEAN Flag to indicate whether to include status or not
--include-version BOOLEAN Flag to indicate whether to include version or not
--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 Name to search by
--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
-h, --help Print help
Predefined field sets:
-----------------|-----|---------|-----
FIELDS | ALL | DEFAULT | THIN
-----------------|-----|---------|-----
Id | x | x | x
Name | x | x | x
Status | x | x |
Url | x | x |
Features | x | x |
Version | x | x |
Host_count | x | x |
Features/name | x | x |
Features/version | x | x |
Locations/ | 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
3.12.5. hammer capsule list Copy linkLink copied to clipboard!
List all capsules
Usage: hammer capsule <list|index> [OPTIONS] Options: --fields LIST Show specified fields or predefined field sets only. (See below) --include-status BOOLEAN Flag to indicate whether to include status or not --location VALUE Set the current location context for the request --location-id NUMBER Scope by locations --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 Scope by organizations --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 Name | x | x | x Status | x | x | Url | x | x | Features | 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: feature string location string location_id integer name string organization string organization_id integer url string
Usage:
hammer capsule <list|index> [OPTIONS]
Options:
--fields LIST Show specified fields or predefined field sets only. (See below)
--include-status BOOLEAN Flag to indicate whether to include status or not
--location VALUE Set the current location context for the request
--location-id NUMBER Scope by locations
--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 Scope by organizations
--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
Name | x | x | x
Status | x | x |
Url | x | x |
Features | 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:
feature string
location string
location_id integer
name string
organization string
organization_id integer
url string
3.12.6. hammer capsule refresh-features Copy linkLink copied to clipboard!
Refresh capsule features
Usage: hammer capsule refresh-features [OPTIONS] Options: --id VALUE --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 Name to search by --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 -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
Usage:
hammer capsule refresh-features [OPTIONS]
Options:
--id VALUE
--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 Name to search by
--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
-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.12.7. hammer capsule update Copy linkLink copied to clipboard!
Update a capsule
Usage: hammer capsule update [OPTIONS] Options: --download-policy VALUE Download Policy of the capsule, must be one of on_demand, immediate, inherit --id 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 REPLACE locations with given ids --location-title VALUE Set the current location context for the request --location-titles LIST --locations LIST --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 REPLACE organizations with given ids. --organization-title VALUE Set the current organization context for the request --organization-titles LIST --organizations LIST --url 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
Usage:
hammer capsule update [OPTIONS]
Options:
--download-policy VALUE Download Policy of the capsule, must be one of on_demand, immediate, inherit
--id 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 REPLACE locations with given ids
--location-title VALUE Set the current location context for the request
--location-titles LIST
--locations LIST
--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 REPLACE organizations with given ids.
--organization-title VALUE Set the current organization context for the request
--organization-titles LIST
--organizations LIST
--url 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.13. hammer compute-profile Copy linkLink copied to clipboard!
Manipulate compute profiles
Usage: hammer compute-profile [OPTIONS] SUBCOMMAND [ARG] ... Parameters: SUBCOMMAND Subcommand [ARG] ... Subcommand arguments Subcommands: create Create a compute profile delete, destroy Delete a compute profile info, show Show a compute profile list, index List of compute profiles update Update a compute profile values Create update and delete Compute profile values Options: -h, --help Print help
Usage:
hammer compute-profile [OPTIONS] SUBCOMMAND [ARG] ...
Parameters:
SUBCOMMAND Subcommand
[ARG] ... Subcommand arguments
Subcommands:
create Create a compute profile
delete, destroy Delete a compute profile
info, show Show a compute profile
list, index List of compute profiles
update Update a compute profile
values Create update and delete Compute profile values
Options:
-h, --help Print help
3.13.1. hammer compute-profile create Copy linkLink copied to clipboard!
Create a compute profile
Usage: hammer compute-profile create [OPTIONS] Options: --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 --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 -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
Usage:
hammer compute-profile create [OPTIONS]
Options:
--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
--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
-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.13.2. hammer compute-profile delete Copy linkLink copied to clipboard!
Delete a compute profile
Usage: hammer compute-profile <delete|destroy> [OPTIONS] Options: --id VALUE --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 Compute profile name --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 -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
Usage:
hammer compute-profile <delete|destroy> [OPTIONS]
Options:
--id VALUE
--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 Compute profile name
--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
-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.13.3. hammer compute-profile info Copy linkLink copied to clipboard!
Show a compute profile
Usage: hammer compute-profile <info|show> [OPTIONS] Options: --fields LIST Show specified fields or predefined field sets only. (See below) --id VALUE --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 Compute profile name --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 -h, --help Print help Predefined field sets: ------------------------------------|-----|---------|----- FIELDS | ALL | DEFAULT | THIN ------------------------------------|-----|---------|----- Id | x | x | x Name | x | x | x Locations/ | x | x | Organizations/ | x | x | Created at | x | x | Updated at | x | x | Compute attributes/id | x | x | Compute attributes/name | x | x | Compute attributes/compute resource | x | x | Compute attributes/vm attributes | 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
Usage:
hammer compute-profile <info|show> [OPTIONS]
Options:
--fields LIST Show specified fields or predefined field sets only. (See below)
--id VALUE
--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 Compute profile name
--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
-h, --help Print help
Predefined field sets:
------------------------------------|-----|---------|-----
FIELDS | ALL | DEFAULT | THIN
------------------------------------|-----|---------|-----
Id | x | x | x
Name | x | x | x
Locations/ | x | x |
Organizations/ | x | x |
Created at | x | x |
Updated at | x | x |
Compute attributes/id | x | x |
Compute attributes/name | x | x |
Compute attributes/compute resource | x | x |
Compute attributes/vm attributes | 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.13.4. hammer compute-profile list Copy linkLink copied to clipboard!
List of compute profiles
Usage: hammer compute-profile <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 Name | 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: name string
Usage:
hammer compute-profile <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
Name | 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:
name string
3.13.5. hammer compute-profile update Copy linkLink copied to clipboard!
Update a compute profile
Usage: hammer compute-profile update [OPTIONS] Options: --id VALUE --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 --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-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
Usage:
hammer compute-profile update [OPTIONS]
Options:
--id VALUE
--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
--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-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.13.6. hammer compute-profile values Copy linkLink copied to clipboard!
Create update and delete Compute profile values
Usage: hammer compute-profile values [OPTIONS] SUBCOMMAND [ARG] ... Parameters: SUBCOMMAND Subcommand [ARG] ... Subcommand arguments Subcommands: add-interface Add interface for Compute Profile add-volume Add volume for Compute Profile create Create compute profile set of values remove-interface Remove compute profile interface remove-volume Remove compute profile volume update Update compute profile values update-interface Update compute profile interface update-volume Update compute profile volume Options: -h, --help Print help
Usage:
hammer compute-profile values [OPTIONS] SUBCOMMAND [ARG] ...
Parameters:
SUBCOMMAND Subcommand
[ARG] ... Subcommand arguments
Subcommands:
add-interface Add interface for Compute Profile
add-volume Add volume for Compute Profile
create Create compute profile set of values
remove-interface Remove compute profile interface
remove-volume Remove compute profile volume
update Update compute profile values
update-interface Update compute profile interface
update-volume Update compute profile volume
Options:
-h, --help Print help
3.13.6.1. hammer compute-profile values add-interface Copy linkLink copied to clipboard!
Add interface for Compute Profile
Usage: hammer compute-profile values add-interface [OPTIONS] Options: --compute-profile VALUE Compute profile name --compute-profile-id VALUE --compute-resource VALUE Compute resource name --compute-resource-id VALUE --interface KEY_VALUE_LIST Interface parameters, should be comma separated list of values --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 --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 -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 Provider specific options: NOTE: Bold attributes are required. EC2: --interface: GCE: --interface: Libvirt: --interface: compute_type Possible values: bridge, network compute_bridge Name of interface according to type compute_model Possible values: virtio, rtl8139, ne2k_pci, pcnet, e1000 compute_network Libvirt instance network, e.g. default OpenStack: --interface: oVirt: --interface: compute_name Compute name, e.g. eth0 compute_network Select one of available networks for a cluster, must be an ID or a name compute_interface Interface type compute_vnic_profile Vnic Profile Rackspace: --interface: VMware: --interface: compute_type Type of the network adapter, for example one of: VirtualVmxnet3 VirtualE1000 See documentation center for your version of vSphere to find more details about available adapter types: https://www.vmware.com/support/pubs/ compute_network Network ID or Network Name from VMware AzureRM: --interface: compute_network Select one of available Azure Subnets, must be an ID compute_public_ip Public IP (None, Static, Dynamic) compute_private_ip Static Private IP (expressed as true or false)
Usage:
hammer compute-profile values add-interface [OPTIONS]
Options:
--compute-profile VALUE Compute profile name
--compute-profile-id VALUE
--compute-resource VALUE Compute resource name
--compute-resource-id VALUE
--interface KEY_VALUE_LIST Interface parameters, should be comma separated list of values
--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
--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
-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
Provider specific options:
NOTE: Bold attributes are required.
EC2:
--interface:
GCE:
--interface:
Libvirt:
--interface:
compute_type Possible values: bridge, network
compute_bridge Name of interface according to type
compute_model Possible values: virtio, rtl8139, ne2k_pci, pcnet, e1000
compute_network
Libvirt instance network, e.g. default
OpenStack:
--interface:
oVirt:
--interface:
compute_name Compute name, e.g. eth0
compute_network Select one of available networks for a cluster, must be an ID or a name
compute_interface Interface type
compute_vnic_profile Vnic Profile
Rackspace:
--interface:
VMware:
--interface:
compute_type Type of the network adapter, for example one of:
VirtualVmxnet3
VirtualE1000
See documentation center for your version of vSphere to find more details about available adapter types:
https://www.vmware.com/support/pubs/
compute_network Network ID or Network Name from VMware
AzureRM:
--interface:
compute_network Select one of available Azure Subnets, must be an ID
compute_public_ip Public IP (None, Static, Dynamic)
compute_private_ip Static Private IP (expressed as true or false)
3.13.6.2. hammer compute-profile values add-volume Copy linkLink copied to clipboard!
Add volume for Compute Profile
Usage: hammer compute-profile values add-volume [OPTIONS] Options: --compute-profile VALUE Compute profile name --compute-profile-id VALUE --compute-resource VALUE Compute resource name --compute-resource-id VALUE --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 --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 --volume KEY_VALUE_LIST Volume parameters, should be comma separated list of values -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 Provider specific options: NOTE: Bold attributes are required. EC2: --volume: GCE: --volume: size_gb Volume size in GB, integer value Libvirt: --volume: pool_name One of available storage pools capacity String value, e.g. 10G allocation Initial allocation, e.g. 0G format_type Possible values: raw, qcow2 OpenStack: --volume: oVirt: --volume: size_gb Volume size in GB, integer value storage_domain ID or name of storage domain bootable Boolean, set 1 for bootable, only one volume can be bootable preallocate Boolean, set 1 to preallocate wipe_after_delete Boolean, set 1 to wipe disk after delete interface Disk interface name, must be ide, virto or virto_scsi Rackspace: --volume: VMware: --volume: name storage_pod Storage Pod ID from VMware datastore Datastore ID from VMware mode persistent/independent_persistent/independent_nonpersistent size_gb Integer number, volume size in GB thin true/false eager_zero true/false controller_key Associated SCSI controller key AzureRM: --volume: disk_size_gb Volume Size in GB (integer value) data_disk_caching Data Disk Caching (None, ReadOnly, ReadWrite)
Usage:
hammer compute-profile values add-volume [OPTIONS]
Options:
--compute-profile VALUE Compute profile name
--compute-profile-id VALUE
--compute-resource VALUE Compute resource name
--compute-resource-id VALUE
--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
--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
--volume KEY_VALUE_LIST Volume parameters, should be comma separated list of values
-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
Provider specific options:
NOTE: Bold attributes are required.
EC2:
--volume:
GCE:
--volume:
size_gb Volume size in GB, integer value
Libvirt:
--volume:
pool_name One of available storage pools
capacity String value, e.g. 10G
allocation
Initial allocation, e.g. 0G
format_type Possible values: raw, qcow2
OpenStack:
--volume:
oVirt:
--volume:
size_gb Volume size in GB, integer value
storage_domain ID or name of storage domain
bootable Boolean, set 1 for bootable, only one volume can be bootable
preallocate Boolean, set 1 to preallocate
wipe_after_delete Boolean, set 1 to wipe disk after delete
interface Disk interface name, must be ide, virto or virto_scsi
Rackspace:
--volume:
VMware:
--volume:
name
storage_pod Storage Pod ID from VMware
datastore Datastore ID from VMware
mode persistent/independent_persistent/independent_nonpersistent
size_gb Integer number, volume size in GB
thin true/false
eager_zero true/false
controller_key Associated SCSI controller key
AzureRM:
--volume:
disk_size_gb Volume Size in GB (integer value)
data_disk_caching Data Disk Caching (None, ReadOnly, ReadWrite)
3.13.6.3. hammer compute-profile values create Copy linkLink copied to clipboard!
Create compute profile set of values
Usage: hammer compute-profile values create [OPTIONS] Options: --compute-attributes KEY_VALUE_LIST Compute resource attributes --compute-profile VALUE Compute profile name --compute-profile-id VALUE --compute-resource VALUE Compute resource name --compute-resource-id VALUE --interface KEY_VALUE_LIST Interface parameters, should be comma separated list of values Can be specified multiple times. --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 --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 --volume KEY_VALUE_LIST Volume parameters, should be comma separated list of values Can be specified multiple times. -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 Provider specific options: NOTE: Bold attributes are required. EC2: --volume: --interface: --compute-attributes: availability_zone flavor_id groups security_group_ids managed_ip GCE: --volume: size_gb Volume size in GB, integer value --interface: --compute-attributes: machine_type network associate_external_ip Libvirt: --volume: pool_name One of available storage pools capacity String value, e.g. 10G allocation Initial allocation, e.g. 0G format_type Possible values: raw, qcow2 --interface: compute_type Possible values: bridge, network compute_bridge Name of interface according to type compute_model Possible values: virtio, rtl8139, ne2k_pci, pcnet, e1000 compute_network Libvirt instance network, e.g. default --compute-attributes: cpus Number of CPUs memory String, amount of memory, value in bytes cpu_mode Possible values: default, host-model, host-passthrough OpenStack: --volume: --interface: --compute-attributes: availability_zone boot_from_volume flavor_ref image_ref tenant_id security_groups network oVirt: --volume: size_gb Volume size in GB, integer value storage_domain ID or name of storage domain bootable Boolean, set 1 for bootable, only one volume can be bootable preallocate Boolean, set 1 to preallocate wipe_after_delete Boolean, set 1 to wipe disk after delete interface Disk interface name, must be ide, virto or virto_scsi --interface: compute_name Compute name, e.g. eth0 compute_network Select one of available networks for a cluster, must be an ID or a name compute_interface Interface type compute_vnic_profile Vnic Profile --compute-attributes: cluster ID or name of cluster to use template Hardware profile to use cores Integer value, number of cores sockets Integer value, number of sockets memory Amount of memory, integer value in bytes ha Boolean, set 1 to high availability display_type Possible values: VNC, SPICE keyboard_layout Possible values: ar, de-ch, es, fo, fr-ca, hu, ja, mk, no, pt-br, sv, da, en-gb, et, fr, fr-ch, is, lt, nl, pl, ru, th, de, en-us, fi, fr-be, hr, it, lv, nl-be, pt, sl, tr. Not usable if display type is SPICE. Rackspace: --volume: --interface: --compute-attributes: flavor_id VMware: --volume: name storage_pod Storage Pod ID from VMware datastore Datastore ID from VMware mode persistent/independent_persistent/independent_nonpersistent size_gb Integer number, volume size in GB thin true/false eager_zero true/false controller_key Associated SCSI controller key --interface: compute_type Type of the network adapter, for example one of: VirtualVmxnet3 VirtualE1000 See documentation center for your version of vSphere to find more details about available adapter types: https://www.vmware.com/support/pubs/ compute_network Network ID or Network Name from VMware --compute-attributes: cluster Cluster ID from VMware corespersocket Number of cores per socket (applicable to hardware versions < 10 only) cpus CPU count memory_mb Integer number, amount of memory in MB path Path to folder resource_pool Resource Pool ID from VMware firmware automatic/bios/efi guest_id Guest OS ID form VMware hardware_version Hardware version ID from VMware memoryHotAddEnabled Must be a 1 or 0, lets you add memory resources while the machine is on cpuHotAddEnabled Must be a 1 or 0, lets you add CPU resources while the machine is on add_cdrom Must be a 1 or 0, Add a CD-ROM drive to the virtual machine annotation Annotation Notes scsi_controllers List with SCSI controllers definitions type - ID of the controller from VMware key - Key of the controller (e.g. 1000) AzureRM: --volume: disk_size_gb Volume Size in GB (integer value) data_disk_caching Data Disk Caching (None, ReadOnly, ReadWrite) --interface: compute_network Select one of available Azure Subnets, must be an ID compute_public_ip Public IP (None, Static, Dynamic) compute_private_ip Static Private IP (expressed as true or false) --compute-attributes: resource_group Existing Azure Resource Group of user vm_size VM Size, eg. Standard_A0 etc. username The Admin username password The Admin password platform OS type eg. Linux ssh_key_data SSH key for passwordless authentication os_disk_caching OS disk caching premium_os_disk Premium OS Disk, Boolean as 0 or 1 script_command Custom Script Command script_uris Comma seperated file URIs
Usage:
hammer compute-profile values create [OPTIONS]
Options:
--compute-attributes KEY_VALUE_LIST Compute resource attributes
--compute-profile VALUE Compute profile name
--compute-profile-id VALUE
--compute-resource VALUE Compute resource name
--compute-resource-id VALUE
--interface KEY_VALUE_LIST Interface parameters, should be comma separated list of values
Can be specified multiple times.
--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
--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
--volume KEY_VALUE_LIST Volume parameters, should be comma separated list of values
Can be specified multiple times.
-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
Provider specific options:
NOTE: Bold attributes are required.
EC2:
--volume:
--interface:
--compute-attributes:
availability_zone
flavor_id
groups
security_group_ids
managed_ip
GCE:
--volume:
size_gb Volume size in GB, integer value
--interface:
--compute-attributes:
machine_type
network
associate_external_ip
Libvirt:
--volume:
pool_name One of available storage pools
capacity String value, e.g. 10G
allocation
Initial allocation, e.g. 0G
format_type Possible values: raw, qcow2
--interface:
compute_type Possible values: bridge, network
compute_bridge Name of interface according to type
compute_model Possible values: virtio, rtl8139, ne2k_pci, pcnet, e1000
compute_network
Libvirt instance network, e.g. default
--compute-attributes:
cpus Number of CPUs
memory String, amount of memory, value in bytes
cpu_mode Possible values: default, host-model, host-passthrough
OpenStack:
--volume:
--interface:
--compute-attributes:
availability_zone
boot_from_volume
flavor_ref
image_ref
tenant_id
security_groups
network
oVirt:
--volume:
size_gb Volume size in GB, integer value
storage_domain ID or name of storage domain
bootable Boolean, set 1 for bootable, only one volume can be bootable
preallocate Boolean, set 1 to preallocate
wipe_after_delete Boolean, set 1 to wipe disk after delete
interface Disk interface name, must be ide, virto or virto_scsi
--interface:
compute_name Compute name, e.g. eth0
compute_network Select one of available networks for a cluster, must be an ID or a name
compute_interface Interface type
compute_vnic_profile Vnic Profile
--compute-attributes:
cluster ID or name of cluster to use
template Hardware profile to use
cores Integer value, number of cores
sockets Integer value, number of sockets
memory Amount of memory, integer value in bytes
ha Boolean, set 1 to high availability
display_type Possible values: VNC, SPICE
keyboard_layout Possible values: ar, de-ch, es, fo, fr-ca, hu, ja, mk, no, pt-br, sv, da, en-gb, et, fr, fr-ch, is, lt, nl, pl, ru, th, de, en-us, fi, fr-be, hr, it, lv, nl-be, pt, sl, tr. Not usable if display type is SPICE.
Rackspace:
--volume:
--interface:
--compute-attributes:
flavor_id
VMware:
--volume:
name
storage_pod Storage Pod ID from VMware
datastore Datastore ID from VMware
mode persistent/independent_persistent/independent_nonpersistent
size_gb Integer number, volume size in GB
thin true/false
eager_zero true/false
controller_key Associated SCSI controller key
--interface:
compute_type Type of the network adapter, for example one of:
VirtualVmxnet3
VirtualE1000
See documentation center for your version of vSphere to find more details about available adapter types:
https://www.vmware.com/support/pubs/
compute_network Network ID or Network Name from VMware
--compute-attributes:
cluster Cluster ID from VMware
corespersocket Number of cores per socket (applicable to hardware versions < 10 only)
cpus CPU count
memory_mb Integer number, amount of memory in MB
path Path to folder
resource_pool Resource Pool ID from VMware
firmware automatic/bios/efi
guest_id Guest OS ID form VMware
hardware_version Hardware version ID from VMware
memoryHotAddEnabled Must be a 1 or 0, lets you add memory resources while the machine is on
cpuHotAddEnabled Must be a 1 or 0, lets you add CPU resources while the machine is on
add_cdrom Must be a 1 or 0, Add a CD-ROM drive to the virtual machine
annotation Annotation Notes
scsi_controllers List with SCSI controllers definitions
type - ID of the controller from VMware
key - Key of the controller (e.g. 1000)
AzureRM:
--volume:
disk_size_gb Volume Size in GB (integer value)
data_disk_caching Data Disk Caching (None, ReadOnly, ReadWrite)
--interface:
compute_network Select one of available Azure Subnets, must be an ID
compute_public_ip Public IP (None, Static, Dynamic)
compute_private_ip Static Private IP (expressed as true or false)
--compute-attributes:
resource_group Existing Azure Resource Group of user
vm_size VM Size, eg. Standard_A0 etc.
username The Admin username
password The Admin password
platform OS type eg. Linux
ssh_key_data SSH key for passwordless authentication
os_disk_caching OS disk caching
premium_os_disk Premium OS Disk, Boolean as 0 or 1
script_command Custom Script Command
script_uris Comma seperated file URIs
3.13.6.4. hammer compute-profile values remove-interface Copy linkLink copied to clipboard!
Remove compute profile interface
Usage: hammer compute-profile values remove-interface [OPTIONS] Options: --compute-profile VALUE Compute profile name --compute-profile-id VALUE --compute-resource VALUE Compute resource name --compute-resource-id VALUE --interface-id NUMBER Interface id --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 --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 -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
Usage:
hammer compute-profile values remove-interface [OPTIONS]
Options:
--compute-profile VALUE Compute profile name
--compute-profile-id VALUE
--compute-resource VALUE Compute resource name
--compute-resource-id VALUE
--interface-id NUMBER Interface id
--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
--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
-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.13.6.5. hammer compute-profile values remove-volume Copy linkLink copied to clipboard!
Remove compute profile volume
Usage: hammer compute-profile values remove-volume [OPTIONS] Options: --compute-profile VALUE Compute profile name --compute-profile-id VALUE --compute-resource VALUE Compute resource name --compute-resource-id VALUE --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 --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 --volume-id NUMBER Volume id -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
Usage:
hammer compute-profile values remove-volume [OPTIONS]
Options:
--compute-profile VALUE Compute profile name
--compute-profile-id VALUE
--compute-resource VALUE Compute resource name
--compute-resource-id VALUE
--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
--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
--volume-id NUMBER Volume id
-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.13.6.6. hammer compute-profile values update Copy linkLink copied to clipboard!
Update compute profile values
Usage: hammer compute-profile values update [OPTIONS] Options: --compute-attributes KEY_VALUE_LIST Compute resource attributes, should be comma separated list of values --compute-profile VALUE Compute profile name --compute-profile-id VALUE --compute-resource VALUE Compute resource name --compute-resource-id VALUE --interface KEY_VALUE_LIST Interface parameters, should be comma separated list of values Can be specified multiple times. --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 --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 --volume KEY_VALUE_LIST Volume parameters, should be comma separated list of values Can be specified multiple times. -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 Provider specific options: NOTE: Bold attributes are required. EC2: --volume: --interface: --compute-attributes: availability_zone flavor_id groups security_group_ids managed_ip GCE: --volume: size_gb Volume size in GB, integer value --interface: --compute-attributes: machine_type network associate_external_ip Libvirt: --volume: pool_name One of available storage pools capacity String value, e.g. 10G allocation Initial allocation, e.g. 0G format_type Possible values: raw, qcow2 --interface: compute_type Possible values: bridge, network compute_bridge Name of interface according to type compute_model Possible values: virtio, rtl8139, ne2k_pci, pcnet, e1000 compute_network Libvirt instance network, e.g. default --compute-attributes: cpus Number of CPUs memory String, amount of memory, value in bytes cpu_mode Possible values: default, host-model, host-passthrough OpenStack: --volume: --interface: --compute-attributes: availability_zone boot_from_volume flavor_ref image_ref tenant_id security_groups network oVirt: --volume: size_gb Volume size in GB, integer value storage_domain ID or name of storage domain bootable Boolean, set 1 for bootable, only one volume can be bootable preallocate Boolean, set 1 to preallocate wipe_after_delete Boolean, set 1 to wipe disk after delete interface Disk interface name, must be ide, virto or virto_scsi --interface: compute_name Compute name, e.g. eth0 compute_network Select one of available networks for a cluster, must be an ID or a name compute_interface Interface type compute_vnic_profile Vnic Profile --compute-attributes: cluster ID or name of cluster to use template Hardware profile to use cores Integer value, number of cores sockets Integer value, number of sockets memory Amount of memory, integer value in bytes ha Boolean, set 1 to high availability display_type Possible values: VNC, SPICE keyboard_layout Possible values: ar, de-ch, es, fo, fr-ca, hu, ja, mk, no, pt-br, sv, da, en-gb, et, fr, fr-ch, is, lt, nl, pl, ru, th, de, en-us, fi, fr-be, hr, it, lv, nl-be, pt, sl, tr. Not usable if display type is SPICE. Rackspace: --volume: --interface: --compute-attributes: flavor_id VMware: --volume: name storage_pod Storage Pod ID from VMware datastore Datastore ID from VMware mode persistent/independent_persistent/independent_nonpersistent size_gb Integer number, volume size in GB thin true/false eager_zero true/false controller_key Associated SCSI controller key --interface: compute_type Type of the network adapter, for example one of: VirtualVmxnet3 VirtualE1000 See documentation center for your version of vSphere to find more details about available adapter types: https://www.vmware.com/support/pubs/ compute_network Network ID or Network Name from VMware --compute-attributes: cluster Cluster ID from VMware corespersocket Number of cores per socket (applicable to hardware versions < 10 only) cpus CPU count memory_mb Integer number, amount of memory in MB path Path to folder resource_pool Resource Pool ID from VMware firmware automatic/bios/efi guest_id Guest OS ID form VMware hardware_version Hardware version ID from VMware memoryHotAddEnabled Must be a 1 or 0, lets you add memory resources while the machine is on cpuHotAddEnabled Must be a 1 or 0, lets you add CPU resources while the machine is on add_cdrom Must be a 1 or 0, Add a CD-ROM drive to the virtual machine annotation Annotation Notes scsi_controllers List with SCSI controllers definitions type - ID of the controller from VMware key - Key of the controller (e.g. 1000) AzureRM: --volume: disk_size_gb Volume Size in GB (integer value) data_disk_caching Data Disk Caching (None, ReadOnly, ReadWrite) --interface: compute_network Select one of available Azure Subnets, must be an ID compute_public_ip Public IP (None, Static, Dynamic) compute_private_ip Static Private IP (expressed as true or false) --compute-attributes: resource_group Existing Azure Resource Group of user vm_size VM Size, eg. Standard_A0 etc. username The Admin username password The Admin password platform OS type eg. Linux ssh_key_data SSH key for passwordless authentication os_disk_caching OS disk caching premium_os_disk Premium OS Disk, Boolean as 0 or 1 script_command Custom Script Command script_uris Comma seperated file URIs
Usage:
hammer compute-profile values update [OPTIONS]
Options:
--compute-attributes KEY_VALUE_LIST Compute resource attributes, should be comma separated list of values
--compute-profile VALUE Compute profile name
--compute-profile-id VALUE
--compute-resource VALUE Compute resource name
--compute-resource-id VALUE
--interface KEY_VALUE_LIST Interface parameters, should be comma separated list of values
Can be specified multiple times.
--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
--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
--volume KEY_VALUE_LIST Volume parameters, should be comma separated list of values
Can be specified multiple times.
-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
Provider specific options:
NOTE: Bold attributes are required.
EC2:
--volume:
--interface:
--compute-attributes:
availability_zone
flavor_id
groups
security_group_ids
managed_ip
GCE:
--volume:
size_gb Volume size in GB, integer value
--interface:
--compute-attributes:
machine_type
network
associate_external_ip
Libvirt:
--volume:
pool_name One of available storage pools
capacity String value, e.g. 10G
allocation
Initial allocation, e.g. 0G
format_type Possible values: raw, qcow2
--interface:
compute_type Possible values: bridge, network
compute_bridge Name of interface according to type
compute_model Possible values: virtio, rtl8139, ne2k_pci, pcnet, e1000
compute_network
Libvirt instance network, e.g. default
--compute-attributes:
cpus Number of CPUs
memory String, amount of memory, value in bytes
cpu_mode Possible values: default, host-model, host-passthrough
OpenStack:
--volume:
--interface:
--compute-attributes:
availability_zone
boot_from_volume
flavor_ref
image_ref
tenant_id
security_groups
network
oVirt:
--volume:
size_gb Volume size in GB, integer value
storage_domain ID or name of storage domain
bootable Boolean, set 1 for bootable, only one volume can be bootable
preallocate Boolean, set 1 to preallocate
wipe_after_delete Boolean, set 1 to wipe disk after delete
interface Disk interface name, must be ide, virto or virto_scsi
--interface:
compute_name Compute name, e.g. eth0
compute_network Select one of available networks for a cluster, must be an ID or a name
compute_interface Interface type
compute_vnic_profile Vnic Profile
--compute-attributes:
cluster ID or name of cluster to use
template Hardware profile to use
cores Integer value, number of cores
sockets Integer value, number of sockets
memory Amount of memory, integer value in bytes
ha Boolean, set 1 to high availability
display_type Possible values: VNC, SPICE
keyboard_layout Possible values: ar, de-ch, es, fo, fr-ca, hu, ja, mk, no, pt-br, sv, da, en-gb, et, fr, fr-ch, is, lt, nl, pl, ru, th, de, en-us, fi, fr-be, hr, it, lv, nl-be, pt, sl, tr. Not usable if display type is SPICE.
Rackspace:
--volume:
--interface:
--compute-attributes:
flavor_id
VMware:
--volume:
name
storage_pod Storage Pod ID from VMware
datastore Datastore ID from VMware
mode persistent/independent_persistent/independent_nonpersistent
size_gb Integer number, volume size in GB
thin true/false
eager_zero true/false
controller_key Associated SCSI controller key
--interface:
compute_type Type of the network adapter, for example one of:
VirtualVmxnet3
VirtualE1000
See documentation center for your version of vSphere to find more details about available adapter types:
https://www.vmware.com/support/pubs/
compute_network Network ID or Network Name from VMware
--compute-attributes:
cluster Cluster ID from VMware
corespersocket Number of cores per socket (applicable to hardware versions < 10 only)
cpus CPU count
memory_mb Integer number, amount of memory in MB
path Path to folder
resource_pool Resource Pool ID from VMware
firmware automatic/bios/efi
guest_id Guest OS ID form VMware
hardware_version Hardware version ID from VMware
memoryHotAddEnabled Must be a 1 or 0, lets you add memory resources while the machine is on
cpuHotAddEnabled Must be a 1 or 0, lets you add CPU resources while the machine is on
add_cdrom Must be a 1 or 0, Add a CD-ROM drive to the virtual machine
annotation Annotation Notes
scsi_controllers List with SCSI controllers definitions
type - ID of the controller from VMware
key - Key of the controller (e.g. 1000)
AzureRM:
--volume:
disk_size_gb Volume Size in GB (integer value)
data_disk_caching Data Disk Caching (None, ReadOnly, ReadWrite)
--interface:
compute_network Select one of available Azure Subnets, must be an ID
compute_public_ip Public IP (None, Static, Dynamic)
compute_private_ip Static Private IP (expressed as true or false)
--compute-attributes:
resource_group Existing Azure Resource Group of user
vm_size VM Size, eg. Standard_A0 etc.
username The Admin username
password The Admin password
platform OS type eg. Linux
ssh_key_data SSH key for passwordless authentication
os_disk_caching OS disk caching
premium_os_disk Premium OS Disk, Boolean as 0 or 1
script_command Custom Script Command
script_uris Comma seperated file URIs
3.13.6.7. hammer compute-profile values update-interface Copy linkLink copied to clipboard!
Update compute profile interface
Usage: hammer compute-profile values update-interface [OPTIONS] Options: --compute-profile VALUE Compute profile name --compute-profile-id VALUE --compute-resource VALUE Compute resource name --compute-resource-id VALUE --interface KEY_VALUE_LIST Interface parameters, should be comma separated list of values --interface-id NUMBER Interface id --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 --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 -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 Provider specific options: NOTE: Bold attributes are required. EC2: --interface: GCE: --interface: Libvirt: --interface: compute_type Possible values: bridge, network compute_bridge Name of interface according to type compute_model Possible values: virtio, rtl8139, ne2k_pci, pcnet, e1000 compute_network Libvirt instance network, e.g. default OpenStack: --interface: oVirt: --interface: compute_name Compute name, e.g. eth0 compute_network Select one of available networks for a cluster, must be an ID or a name compute_interface Interface type compute_vnic_profile Vnic Profile Rackspace: --interface: VMware: --interface: compute_type Type of the network adapter, for example one of: VirtualVmxnet3 VirtualE1000 See documentation center for your version of vSphere to find more details about available adapter types: https://www.vmware.com/support/pubs/ compute_network Network ID or Network Name from VMware AzureRM: --interface: compute_network Select one of available Azure Subnets, must be an ID compute_public_ip Public IP (None, Static, Dynamic) compute_private_ip Static Private IP (expressed as true or false)
Usage:
hammer compute-profile values update-interface [OPTIONS]
Options:
--compute-profile VALUE Compute profile name
--compute-profile-id VALUE
--compute-resource VALUE Compute resource name
--compute-resource-id VALUE
--interface KEY_VALUE_LIST Interface parameters, should be comma separated list of values
--interface-id NUMBER Interface id
--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
--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
-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
Provider specific options:
NOTE: Bold attributes are required.
EC2:
--interface:
GCE:
--interface:
Libvirt:
--interface:
compute_type Possible values: bridge, network
compute_bridge Name of interface according to type
compute_model Possible values: virtio, rtl8139, ne2k_pci, pcnet, e1000
compute_network
Libvirt instance network, e.g. default
OpenStack:
--interface:
oVirt:
--interface:
compute_name Compute name, e.g. eth0
compute_network Select one of available networks for a cluster, must be an ID or a name
compute_interface Interface type
compute_vnic_profile Vnic Profile
Rackspace:
--interface:
VMware:
--interface:
compute_type Type of the network adapter, for example one of:
VirtualVmxnet3
VirtualE1000
See documentation center for your version of vSphere to find more details about available adapter types:
https://www.vmware.com/support/pubs/
compute_network Network ID or Network Name from VMware
AzureRM:
--interface:
compute_network Select one of available Azure Subnets, must be an ID
compute_public_ip Public IP (None, Static, Dynamic)
compute_private_ip Static Private IP (expressed as true or false)
3.13.6.8. hammer compute-profile values update-volume Copy linkLink copied to clipboard!
Update compute profile volume
Usage: hammer compute-profile values update-volume [OPTIONS] Options: --compute-profile VALUE Compute profile name --compute-profile-id VALUE --compute-resource VALUE Compute resource name --compute-resource-id VALUE --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 --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 --volume KEY_VALUE_LIST Volume parameters, should be comma separated list of values --volume-id NUMBER Volume id -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 Provider specific options: NOTE: Bold attributes are required. EC2: --volume: GCE: --volume: size_gb Volume size in GB, integer value Libvirt: --volume: pool_name One of available storage pools capacity String value, e.g. 10G allocation Initial allocation, e.g. 0G format_type Possible values: raw, qcow2 OpenStack: --volume: oVirt: --volume: size_gb Volume size in GB, integer value storage_domain ID or name of storage domain bootable Boolean, set 1 for bootable, only one volume can be bootable preallocate Boolean, set 1 to preallocate wipe_after_delete Boolean, set 1 to wipe disk after delete interface Disk interface name, must be ide, virto or virto_scsi Rackspace: --volume: VMware: --volume: name storage_pod Storage Pod ID from VMware datastore Datastore ID from VMware mode persistent/independent_persistent/independent_nonpersistent size_gb Integer number, volume size in GB thin true/false eager_zero true/false controller_key Associated SCSI controller key AzureRM: --volume: disk_size_gb Volume Size in GB (integer value) data_disk_caching Data Disk Caching (None, ReadOnly, ReadWrite)
Usage:
hammer compute-profile values update-volume [OPTIONS]
Options:
--compute-profile VALUE Compute profile name
--compute-profile-id VALUE
--compute-resource VALUE Compute resource name
--compute-resource-id VALUE
--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
--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
--volume KEY_VALUE_LIST Volume parameters, should be comma separated list of values
--volume-id NUMBER Volume id
-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
Provider specific options:
NOTE: Bold attributes are required.
EC2:
--volume:
GCE:
--volume:
size_gb Volume size in GB, integer value
Libvirt:
--volume:
pool_name One of available storage pools
capacity String value, e.g. 10G
allocation
Initial allocation, e.g. 0G
format_type Possible values: raw, qcow2
OpenStack:
--volume:
oVirt:
--volume:
size_gb Volume size in GB, integer value
storage_domain ID or name of storage domain
bootable Boolean, set 1 for bootable, only one volume can be bootable
preallocate Boolean, set 1 to preallocate
wipe_after_delete Boolean, set 1 to wipe disk after delete
interface Disk interface name, must be ide, virto or virto_scsi
Rackspace:
--volume:
VMware:
--volume:
name
storage_pod Storage Pod ID from VMware
datastore Datastore ID from VMware
mode persistent/independent_persistent/independent_nonpersistent
size_gb Integer number, volume size in GB
thin true/false
eager_zero true/false
controller_key Associated SCSI controller key
AzureRM:
--volume:
disk_size_gb Volume Size in GB (integer value)
data_disk_caching Data Disk Caching (None, ReadOnly, ReadWrite)
3.14. hammer compute-resource Copy linkLink copied to clipboard!
Manipulate compute resources
Usage: hammer compute-resource [OPTIONS] SUBCOMMAND [ARG] ... Parameters: SUBCOMMAND Subcommand [ARG] ... Subcommand arguments Subcommands: associate-vms Associate VMs to Hosts clusters List available clusters for a compute resource create Create a compute resource delete, destroy Delete a compute resource flavors List available flavors for a compute resource folders List available folders for a compute resource image View and manage compute resource's images images List available images for a compute resource info, show Show a compute resource list, index List all compute resources networks List available networks for a compute resource resource-pools List resource pools for a compute resource cluster security-groups List available security groups for a compute resource storage-domains List storage domains for a compute resource storage-pods List storage pods for a compute resource update Update a compute resource virtual-machine View and manage compute resource's virtual machines virtual-machines List available virtual machines for a compute resource vnic-profiles List available vnic profiles for a compute resource, for RHEV only zones List available zone for a compute resource Options: -h, --help Print help
Usage:
hammer compute-resource [OPTIONS] SUBCOMMAND [ARG] ...
Parameters:
SUBCOMMAND Subcommand
[ARG] ... Subcommand arguments
Subcommands:
associate-vms Associate VMs to Hosts
clusters List available clusters for a compute resource
create Create a compute resource
delete, destroy Delete a compute resource
flavors List available flavors for a compute resource
folders List available folders for a compute resource
image View and manage compute resource's images
images List available images for a compute resource
info, show Show a compute resource
list, index List all compute resources
networks List available networks for a compute resource
resource-pools List resource pools for a compute resource cluster
security-groups List available security groups for a compute resource
storage-domains List storage domains for a compute resource
storage-pods List storage pods for a compute resource
update Update a compute resource
virtual-machine View and manage compute resource's virtual machines
virtual-machines List available virtual machines for a compute resource
vnic-profiles List available vnic profiles for a compute resource, for RHEV only
zones List available zone for a compute resource
Options:
-h, --help Print help
3.14.1. hammer compute-resource associate-vms Copy linkLink copied to clipboard!
Associate VMs to Hosts
Usage: hammer compute-resource associate-vms [OPTIONS] Options: --id VALUE --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 Compute resource name --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 --vm-id VALUE Associate a specific VM -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
Usage:
hammer compute-resource associate-vms [OPTIONS]
Options:
--id VALUE
--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 Compute resource name
--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
--vm-id VALUE Associate a specific VM
-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.14.2. hammer compute-resource clusters Copy linkLink copied to clipboard!
List available clusters for a compute resource
Usage: hammer compute-resource clusters [OPTIONS] Options: --fields LIST Show specified fields or predefined field sets only. (See below) --id VALUE --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 Compute resource name --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 -h, --help Print help Predefined field sets: -------|-----|---------|----- FIELDS | ALL | DEFAULT | THIN -------|-----|---------|----- Id | x | x | x Name | 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
Usage:
hammer compute-resource clusters [OPTIONS]
Options:
--fields LIST Show specified fields or predefined field sets only. (See below)
--id VALUE
--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 Compute resource name
--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
-h, --help Print help
Predefined field sets:
-------|-----|---------|-----
FIELDS | ALL | DEFAULT | THIN
-------|-----|---------|-----
Id | x | x | x
Name | 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
3.14.3. hammer compute-resource create Copy linkLink copied to clipboard!
Create a compute resource
Usage: hammer compute-resource create [OPTIONS] Options: --app-ident VALUE Client ID for AzureRm --caching-enabled BOOLEAN Enable caching, for VMware only --cloud VALUE Cloud --datacenter VALUE For RHEV, VMware Datacenter --description VALUE --display-type ENUM For Libvirt and RHEV only Possible value(s): 'VNC', 'SPICE' --domain VALUE For RHEL OpenStack Platform (v3) only --email VALUE Email for GCE only --key-path VALUE Certificate path for GCE only --keyboard-layout ENUM For RHEV only Possible value(s): 'ar', 'de-ch', 'es', 'fo', 'fr-ca', 'hu', 'ja', 'mk', 'no', 'pt-br', 'sv', 'da', 'en-gb', 'et', 'fr', 'fr-ch', 'is', 'lt', 'nl', 'pl', 'ru', 'th', 'de', 'en-us', 'fi', 'fr-be', 'hr', 'it', 'lv', 'nl-be', 'pt', 'sl', 'tr' --location VALUE Set the current location context for the request --location-id NUMBER Set the current location context for the request --location-ids LIST REPLACE locations with given ids --location-title VALUE Set the current location context for the request --location-titles LIST --locations LIST --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 REPLACE organizations with given ids. --organization-title VALUE Set the current organization context for the request --organization-titles LIST --organizations LIST --ovirt-quota VALUE For RHEV only, ID or Name of quota to use --password VALUE Password for RHEV, EC2, VMware, RHEL OpenStack Platform. Secret key for EC2 --project VALUE Project id for GCE only --project-domain-id VALUE For RHEL OpenStack Platform (v3) only --project-domain-name VALUE For RHEL OpenStack Platform (v3) only --provider VALUE Providers include Libvirt, Ovirt, EC2, Vmware, Openstack, GCE, AzureRm --public-key VALUE For RHEV only --public-key-path FILE Path to a file that contains oVirt public key (For oVirt only) --region VALUE For AzureRm eg. 'eastus' and for EC2 only. Use 'us-gov-west-1' for EC2 GovCloud region --secret-key VALUE Client Secret for AzureRm --server VALUE For VMware --set-console-password BOOLEAN For Libvirt and VMware only --sub-id VALUE Subscription ID for AzureRm --tenant VALUE For RHEL OpenStack Platform and AzureRm only --url VALUE URL for Libvirt, RHEV and RHEL OpenStack Platform --user VALUE Username for RHEV, EC2, VMware, RHEL OpenStack Platform. Access Key for EC2. --zone VALUE For GCE only -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
Usage:
hammer compute-resource create [OPTIONS]
Options:
--app-ident VALUE Client ID for AzureRm
--caching-enabled BOOLEAN Enable caching, for VMware only
--cloud VALUE Cloud
--datacenter VALUE For RHEV, VMware Datacenter
--description VALUE
--display-type ENUM For Libvirt and RHEV only
Possible value(s): 'VNC', 'SPICE'
--domain VALUE For RHEL OpenStack Platform (v3) only
--email VALUE Email for GCE only
--key-path VALUE Certificate path for GCE only
--keyboard-layout ENUM For RHEV only
Possible value(s): 'ar', 'de-ch', 'es', 'fo', 'fr-ca', 'hu', 'ja', 'mk', 'no',
'pt-br', 'sv', 'da', 'en-gb', 'et', 'fr', 'fr-ch', 'is', 'lt', 'nl', 'pl', 'ru',
'th', 'de', 'en-us', 'fi', 'fr-be', 'hr', 'it', 'lv', 'nl-be', 'pt', 'sl', 'tr'
--location VALUE Set the current location context for the request
--location-id NUMBER Set the current location context for the request
--location-ids LIST REPLACE locations with given ids
--location-title VALUE Set the current location context for the request
--location-titles LIST
--locations LIST
--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 REPLACE organizations with given ids.
--organization-title VALUE Set the current organization context for the request
--organization-titles LIST
--organizations LIST
--ovirt-quota VALUE For RHEV only, ID or Name of quota to use
--password VALUE Password for RHEV, EC2, VMware, RHEL OpenStack Platform. Secret key for EC2
--project VALUE Project id for GCE only
--project-domain-id VALUE For RHEL OpenStack Platform (v3) only
--project-domain-name VALUE For RHEL OpenStack Platform (v3) only
--provider VALUE Providers include Libvirt, Ovirt, EC2, Vmware, Openstack, GCE, AzureRm
--public-key VALUE For RHEV only
--public-key-path FILE Path to a file that contains oVirt public key (For oVirt only)
--region VALUE For AzureRm eg. 'eastus' and for EC2 only. Use 'us-gov-west-1' for EC2 GovCloud
region
--secret-key VALUE Client Secret for AzureRm
--server VALUE For VMware
--set-console-password BOOLEAN For Libvirt and VMware only
--sub-id VALUE Subscription ID for AzureRm
--tenant VALUE For RHEL OpenStack Platform and AzureRm only
--url VALUE URL for Libvirt, RHEV and RHEL OpenStack Platform
--user VALUE Username for RHEV, EC2, VMware, RHEL OpenStack Platform. Access Key for EC2.
--zone VALUE For GCE only
-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.14.4. hammer compute-resource delete Copy linkLink copied to clipboard!
Delete a compute resource
Usage: hammer compute-resource <delete|destroy> [OPTIONS] Options: --id VALUE --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 Compute resource name --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 -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
Usage:
hammer compute-resource <delete|destroy> [OPTIONS]
Options:
--id VALUE
--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 Compute resource name
--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
-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.14.5. hammer compute-resource flavors Copy linkLink copied to clipboard!
List available flavors for a compute resource
Usage: hammer compute-resource flavors [OPTIONS] Options: --fields LIST Show specified fields or predefined field sets only. (See below) --id VALUE --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 Compute resource name --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 -h, --help Print help Predefined field sets: -------|-----|---------|----- FIELDS | ALL | DEFAULT | THIN -------|-----|---------|----- Id | x | x | x Name | 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
Usage:
hammer compute-resource flavors [OPTIONS]
Options:
--fields LIST Show specified fields or predefined field sets only. (See below)
--id VALUE
--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 Compute resource name
--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
-h, --help Print help
Predefined field sets:
-------|-----|---------|-----
FIELDS | ALL | DEFAULT | THIN
-------|-----|---------|-----
Id | x | x | x
Name | 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
3.14.6. hammer compute-resource folders Copy linkLink copied to clipboard!
List available folders for a compute resource
Usage: hammer compute-resource folders [OPTIONS] Options: --fields LIST Show specified fields or predefined field sets only. (See below) --id VALUE --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 Compute resource name --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 -h, --help Print help Predefined field sets: -------|-----|---------|----- FIELDS | ALL | DEFAULT | THIN -------|-----|---------|----- Id | x | x | x Name | 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
Usage:
hammer compute-resource folders [OPTIONS]
Options:
--fields LIST Show specified fields or predefined field sets only. (See below)
--id VALUE
--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 Compute resource name
--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
-h, --help Print help
Predefined field sets:
-------|-----|---------|-----
FIELDS | ALL | DEFAULT | THIN
-------|-----|---------|-----
Id | x | x | x
Name | 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
3.14.7. hammer compute-resource image Copy linkLink copied to clipboard!
View and manage compute resource’s images
Usage: hammer compute-resource image [OPTIONS] SUBCOMMAND [ARG] ... Parameters: SUBCOMMAND Subcommand [ARG] ... Subcommand arguments Subcommands: available Show images available for addition create Create an image delete, destroy Delete an image info, show Show an image list, index List all images for a compute resource update Update an image Options: -h, --help Print help
Usage:
hammer compute-resource image [OPTIONS] SUBCOMMAND [ARG] ...
Parameters:
SUBCOMMAND Subcommand
[ARG] ... Subcommand arguments
Subcommands:
available Show images available for addition
create Create an image
delete, destroy Delete an image
info, show Show an image
list, index List all images for a compute resource
update Update an image
Options:
-h, --help Print help
3.14.7.1. hammer compute-resource image available Copy linkLink copied to clipboard!
Show images available for addition
Usage: hammer compute-resource image available [OPTIONS] Options: --compute-resource VALUE Compute resource name --compute-resource-id VALUE --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 --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 -h, --help Print help Predefined field sets: -------|-----|---------|----- FIELDS | ALL | DEFAULT | THIN -------|-----|---------|----- Name | x | x | x Uuid | 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
Usage:
hammer compute-resource image available [OPTIONS]
Options:
--compute-resource VALUE Compute resource name
--compute-resource-id VALUE
--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
--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
-h, --help Print help
Predefined field sets:
-------|-----|---------|-----
FIELDS | ALL | DEFAULT | THIN
-------|-----|---------|-----
Name | x | x | x
Uuid | 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.14.7.2. hammer compute-resource image create Copy linkLink copied to clipboard!
Create an image
Usage: hammer compute-resource image create [OPTIONS] Options: --architecture VALUE Architecture name --architecture-id VALUE ID of architecture --compute-resource VALUE Compute resource name --compute-resource-id VALUE --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 --operatingsystem VALUE Operating system title --operatingsystem-id NUMBER ID of operating system --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 --password VALUE --user-data BOOLEAN Whether or not the image supports user data --username VALUE --uuid VALUE Template ID in the compute resource -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
Usage:
hammer compute-resource image create [OPTIONS]
Options:
--architecture VALUE Architecture name
--architecture-id VALUE ID of architecture
--compute-resource VALUE Compute resource name
--compute-resource-id VALUE
--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
--operatingsystem VALUE Operating system title
--operatingsystem-id NUMBER ID of operating system
--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
--password VALUE
--user-data BOOLEAN Whether or not the image supports user data
--username VALUE
--uuid VALUE Template ID in the compute resource
-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.14.7.3. hammer compute-resource image delete Copy linkLink copied to clipboard!
Delete an image
Usage: hammer compute-resource image <delete|destroy> [OPTIONS] Options: --compute-resource VALUE Compute resource name --compute-resource-id VALUE --id VALUE --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 Name to search by --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 -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
Usage:
hammer compute-resource image <delete|destroy> [OPTIONS]
Options:
--compute-resource VALUE Compute resource name
--compute-resource-id VALUE
--id VALUE
--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 Name to search by
--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
-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.14.7.4. hammer compute-resource image info Copy linkLink copied to clipboard!
Show an image
Usage: hammer compute-resource image <info|show> [OPTIONS] Options: --architecture VALUE Architecture name --architecture-id VALUE ID of architecture --compute-resource VALUE Compute resource name --compute-resource-id VALUE ID of compute resource --fields LIST Show specified fields or predefined field sets only. (See below) --id VALUE --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 Name to search by --operatingsystem VALUE Operating system title --operatingsystem-id NUMBER ID of operating system --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 -h, --help Print help Predefined field sets: -----------------|-----|---------|----- FIELDS | ALL | DEFAULT | THIN -----------------|-----|---------|----- Id | x | x | x Name | x | x | x Operating system | x | x | Username | x | x | Uuid | x | x | User data | x | x | Architecture | x | x | Iam role | 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
Usage:
hammer compute-resource image <info|show> [OPTIONS]
Options:
--architecture VALUE Architecture name
--architecture-id VALUE ID of architecture
--compute-resource VALUE Compute resource name
--compute-resource-id VALUE ID of compute resource
--fields LIST Show specified fields or predefined field sets only. (See below)
--id VALUE
--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 Name to search by
--operatingsystem VALUE Operating system title
--operatingsystem-id NUMBER ID of operating system
--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
-h, --help Print help
Predefined field sets:
-----------------|-----|---------|-----
FIELDS | ALL | DEFAULT | THIN
-----------------|-----|---------|-----
Id | x | x | x
Name | x | x | x
Operating system | x | x |
Username | x | x |
Uuid | x | x |
User data | x | x |
Architecture | x | x |
Iam role | 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
3.14.7.5. hammer compute-resource image list Copy linkLink copied to clipboard!
List all images for a compute resource
Usage: hammer compute-resource image <list|index> [OPTIONS] Options: --architecture VALUE Architecture name --architecture-id VALUE ID of architecture --compute-resource VALUE Compute resource name --compute-resource-id VALUE ID of compute resource --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 --operatingsystem VALUE Operating system title --operatingsystem-id NUMBER ID of operating system --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 Name | x | x | x Operating system | x | x | Username | x | x | Uuid | x | x | User data | 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: architecture integer compute_resource string name string operatingsystem integer user_data Values: true, false username string
Usage:
hammer compute-resource image <list|index> [OPTIONS]
Options:
--architecture VALUE Architecture name
--architecture-id VALUE ID of architecture
--compute-resource VALUE Compute resource name
--compute-resource-id VALUE ID of compute resource
--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
--operatingsystem VALUE Operating system title
--operatingsystem-id NUMBER ID of operating system
--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
Name | x | x | x
Operating system | x | x |
Username | x | x |
Uuid | x | x |
User data | 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:
architecture integer
compute_resource string
name string
operatingsystem integer
user_data Values: true, false
username string
3.14.7.6. hammer compute-resource image update Copy linkLink copied to clipboard!
Update an image
Usage: hammer compute-resource image update [OPTIONS] Options: --architecture VALUE Architecture name --architecture-id VALUE ID of architecture --compute-resource VALUE Compute resource name --compute-resource-id VALUE --id VALUE --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 --new-name VALUE --operatingsystem VALUE Operating system title --operatingsystem-id NUMBER ID of operating system --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 --password VALUE --user-data BOOLEAN Whether or not the image supports user data --username VALUE --uuid VALUE Template ID in the compute resource -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
Usage:
hammer compute-resource image update [OPTIONS]
Options:
--architecture VALUE Architecture name
--architecture-id VALUE ID of architecture
--compute-resource VALUE Compute resource name
--compute-resource-id VALUE
--id VALUE
--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
--new-name VALUE
--operatingsystem VALUE Operating system title
--operatingsystem-id NUMBER ID of operating system
--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
--password VALUE
--user-data BOOLEAN Whether or not the image supports user data
--username VALUE
--uuid VALUE Template ID in the compute resource
-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.14.8. hammer compute-resource images Copy linkLink copied to clipboard!
List available images for a compute resource
Usage: hammer compute-resource images [OPTIONS] Options: --fields LIST Show specified fields or predefined field sets only. (See below) --id VALUE --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 Compute resource name --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 -h, --help Print help Predefined field sets: -------|-----|---------|----- FIELDS | ALL | DEFAULT | THIN -------|-----|---------|----- Uuid | x | x | Name | 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
Usage:
hammer compute-resource images [OPTIONS]
Options:
--fields LIST Show specified fields or predefined field sets only. (See below)
--id VALUE
--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 Compute resource name
--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
-h, --help Print help
Predefined field sets:
-------|-----|---------|-----
FIELDS | ALL | DEFAULT | THIN
-------|-----|---------|-----
Uuid | x | x |
Name | 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
3.14.9. hammer compute-resource info Copy linkLink copied to clipboard!
Show a compute resource
Usage: hammer compute-resource <info|show> [OPTIONS] Options: --fields LIST Show specified fields or predefined field sets only. (See below) --id VALUE --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 Compute resource name --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 -h, --help Print help Predefined field sets: ---------------|-----|---------|----- FIELDS | ALL | DEFAULT | THIN ---------------|-----|---------|----- Id | x | x | x Name | x | x | x Provider | x | x | Description | x | x | User | x | x | Locations/ | 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
Usage:
hammer compute-resource <info|show> [OPTIONS]
Options:
--fields LIST Show specified fields or predefined field sets only. (See below)
--id VALUE
--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 Compute resource name
--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
-h, --help Print help
Predefined field sets:
---------------|-----|---------|-----
FIELDS | ALL | DEFAULT | THIN
---------------|-----|---------|-----
Id | x | x | x
Name | x | x | x
Provider | x | x |
Description | x | x |
User | x | x |
Locations/ | 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
3.14.10. hammer compute-resource list Copy linkLink copied to clipboard!
List all compute resources
Usage: hammer compute-resource <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 Scope by locations --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 Scope by organizations --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 Name | x | x | x Provider | 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: id integer location string location_id integer name string organization string organization_id integer type string
Usage:
hammer compute-resource <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 Scope by locations
--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 Scope by organizations
--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
Name | x | x | x
Provider | 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:
id integer
location string
location_id integer
name string
organization string
organization_id integer
type string
3.14.11. hammer compute-resource networks Copy linkLink copied to clipboard!
List available networks for a compute resource
Usage: hammer compute-resource networks [OPTIONS] Options: --cluster-id VALUE --fields LIST Show specified fields or predefined field sets only. (See below) --id VALUE --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 Compute resource name --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 -h, --help Print help Predefined field sets: -------|-----|---------|----- FIELDS | ALL | DEFAULT | THIN -------|-----|---------|----- Id | x | x | x Name | 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
Usage:
hammer compute-resource networks [OPTIONS]
Options:
--cluster-id VALUE
--fields LIST Show specified fields or predefined field sets only. (See below)
--id VALUE
--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 Compute resource name
--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
-h, --help Print help
Predefined field sets:
-------|-----|---------|-----
FIELDS | ALL | DEFAULT | THIN
-------|-----|---------|-----
Id | x | x | x
Name | 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
3.14.12. hammer compute-resource resource-pools Copy linkLink copied to clipboard!
List resource pools for a compute resource cluster
Usage: hammer compute-resource resource-pools [OPTIONS] Options: --cluster-id VALUE --fields LIST Show specified fields or predefined field sets only. (See below) --id VALUE --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 Compute resource name --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 -h, --help Print help Predefined field sets: -------|-----|---------|----- FIELDS | ALL | DEFAULT | THIN -------|-----|---------|----- Id | x | x | x Name | 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
Usage:
hammer compute-resource resource-pools [OPTIONS]
Options:
--cluster-id VALUE
--fields LIST Show specified fields or predefined field sets only. (See below)
--id VALUE
--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 Compute resource name
--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
-h, --help Print help
Predefined field sets:
-------|-----|---------|-----
FIELDS | ALL | DEFAULT | THIN
-------|-----|---------|-----
Id | x | x | x
Name | 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
3.14.13. hammer compute-resource security-groups Copy linkLink copied to clipboard!
List available security groups for a compute resource
Usage: hammer compute-resource security-groups [OPTIONS] Options: --fields LIST Show specified fields or predefined field sets only. (See below) --id VALUE --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 Compute resource name --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 -h, --help Print help Predefined field sets: -------|-----|---------|----- FIELDS | ALL | DEFAULT | THIN -------|-----|---------|----- Id | x | x | x Name | 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
Usage:
hammer compute-resource security-groups [OPTIONS]
Options:
--fields LIST Show specified fields or predefined field sets only. (See below)
--id VALUE
--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 Compute resource name
--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
-h, --help Print help
Predefined field sets:
-------|-----|---------|-----
FIELDS | ALL | DEFAULT | THIN
-------|-----|---------|-----
Id | x | x | x
Name | 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
3.14.14. hammer compute-resource storage-domains Copy linkLink copied to clipboard!
List storage domains for a compute resource
Usage: hammer compute-resource storage-domains [OPTIONS] Options: --cluster-id VALUE --fields LIST Show specified fields or predefined field sets only. (See below) --id VALUE --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 Compute resource name --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 --storage-domain VALUE -h, --help Print help Predefined field sets: -------|-----|---------|----- FIELDS | ALL | DEFAULT | THIN -------|-----|---------|----- Id | x | x | x Name | 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
Usage:
hammer compute-resource storage-domains [OPTIONS]
Options:
--cluster-id VALUE
--fields LIST Show specified fields or predefined field sets only. (See below)
--id VALUE
--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 Compute resource name
--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
--storage-domain VALUE
-h, --help Print help
Predefined field sets:
-------|-----|---------|-----
FIELDS | ALL | DEFAULT | THIN
-------|-----|---------|-----
Id | x | x | x
Name | 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
3.14.15. hammer compute-resource storage-pods Copy linkLink copied to clipboard!
List storage pods for a compute resource
Usage: hammer compute-resource storage-pods [OPTIONS] Options: --cluster-id VALUE --fields LIST Show specified fields or predefined field sets only. (See below) --id VALUE --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 Compute resource name --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 --storage-pod VALUE -h, --help Print help Predefined field sets: -------|-----|---------|----- FIELDS | ALL | DEFAULT | THIN -------|-----|---------|----- Id | x | x | x Name | 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
Usage:
hammer compute-resource storage-pods [OPTIONS]
Options:
--cluster-id VALUE
--fields LIST Show specified fields or predefined field sets only. (See below)
--id VALUE
--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 Compute resource name
--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
--storage-pod VALUE
-h, --help Print help
Predefined field sets:
-------|-----|---------|-----
FIELDS | ALL | DEFAULT | THIN
-------|-----|---------|-----
Id | x | x | x
Name | 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
3.14.16. hammer compute-resource update Copy linkLink copied to clipboard!
Update a compute resource
Usage: hammer compute-resource update [OPTIONS] Options: --app-ident VALUE Client ID for AzureRm --caching-enabled BOOLEAN Enable caching, for VMware only --cloud VALUE Cloud --datacenter VALUE For RHEV, VMware Datacenter --description VALUE --display-type ENUM For Libvirt and RHEV only Possible value(s): 'VNC', 'SPICE' --domain VALUE For RHEL OpenStack Platform (v3) only --email VALUE Email for GCE only --id VALUE --key-path VALUE Certificate path for GCE only --keyboard-layout ENUM For RHEV only Possible value(s): 'ar', 'de-ch', 'es', 'fo', 'fr-ca', 'hu', 'ja', 'mk', 'no', 'pt-br', 'sv', 'da', 'en-gb', 'et', 'fr', 'fr-ch', 'is', 'lt', 'nl', 'pl', 'ru', 'th', 'de', 'en-us', 'fi', 'fr-be', 'hr', 'it', 'lv', 'nl-be', 'pt', 'sl', 'tr' --location VALUE Set the current location context for the request --location-id NUMBER Set the current location context for the request --location-ids LIST REPLACE locations with given ids --location-title VALUE Set the current location context for the request --location-titles LIST --locations LIST --name VALUE Compute resource name --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 REPLACE organizations with given ids. --organization-title VALUE Set the current organization context for the request --organization-titles LIST --organizations LIST --ovirt-quota VALUE For RHEV only, ID or Name of quota to use --password VALUE Password for RHEV, EC2, VMware, RHEL OpenStack Platform. Secret key for EC2 --project VALUE Project id for GCE only --project-domain-id VALUE For RHEL OpenStack Platform (v3) only --project-domain-name VALUE For RHEL OpenStack Platform (v3) only --provider VALUE Providers include Libvirt, Ovirt, EC2, Vmware, Openstack, GCE, AzureRm --public-key VALUE For RHEV only --public-key-path FILE Path to a file that contains oVirt public key (For oVirt only) --region VALUE For AzureRm eg. 'eastus' and for EC2 only. Use 'us-gov-west-1' for EC2 GovCloud region --secret-key VALUE Client Secret for AzureRm --server VALUE For VMware --set-console-password BOOLEAN For Libvirt and VMware only --sub-id VALUE Subscription ID for AzureRm --tenant VALUE For RHEL OpenStack Platform and AzureRm only --url VALUE URL for Libvirt, RHEV and RHEL OpenStack Platform --user VALUE Username for RHEV, EC2, VMware, RHEL OpenStack Platform. Access Key for EC2. --zone VALUE For GCE only -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
Usage:
hammer compute-resource update [OPTIONS]
Options:
--app-ident VALUE Client ID for AzureRm
--caching-enabled BOOLEAN Enable caching, for VMware only
--cloud VALUE Cloud
--datacenter VALUE For RHEV, VMware Datacenter
--description VALUE
--display-type ENUM For Libvirt and RHEV only
Possible value(s): 'VNC', 'SPICE'
--domain VALUE For RHEL OpenStack Platform (v3) only
--email VALUE Email for GCE only
--id VALUE
--key-path VALUE Certificate path for GCE only
--keyboard-layout ENUM For RHEV only
Possible value(s): 'ar', 'de-ch', 'es', 'fo', 'fr-ca', 'hu', 'ja', 'mk', 'no',
'pt-br', 'sv', 'da', 'en-gb', 'et', 'fr', 'fr-ch', 'is', 'lt', 'nl', 'pl', 'ru',
'th', 'de', 'en-us', 'fi', 'fr-be', 'hr', 'it', 'lv', 'nl-be', 'pt', 'sl', 'tr'
--location VALUE Set the current location context for the request
--location-id NUMBER Set the current location context for the request
--location-ids LIST REPLACE locations with given ids
--location-title VALUE Set the current location context for the request
--location-titles LIST
--locations LIST
--name VALUE Compute resource name
--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 REPLACE organizations with given ids.
--organization-title VALUE Set the current organization context for the request
--organization-titles LIST
--organizations LIST
--ovirt-quota VALUE For RHEV only, ID or Name of quota to use
--password VALUE Password for RHEV, EC2, VMware, RHEL OpenStack Platform. Secret key for EC2
--project VALUE Project id for GCE only
--project-domain-id VALUE For RHEL OpenStack Platform (v3) only
--project-domain-name VALUE For RHEL OpenStack Platform (v3) only
--provider VALUE Providers include Libvirt, Ovirt, EC2, Vmware, Openstack, GCE, AzureRm
--public-key VALUE For RHEV only
--public-key-path FILE Path to a file that contains oVirt public key (For oVirt only)
--region VALUE For AzureRm eg. 'eastus' and for EC2 only. Use 'us-gov-west-1' for EC2 GovCloud
region
--secret-key VALUE Client Secret for AzureRm
--server VALUE For VMware
--set-console-password BOOLEAN For Libvirt and VMware only
--sub-id VALUE Subscription ID for AzureRm
--tenant VALUE For RHEL OpenStack Platform and AzureRm only
--url VALUE URL for Libvirt, RHEV and RHEL OpenStack Platform
--user VALUE Username for RHEV, EC2, VMware, RHEL OpenStack Platform. Access Key for EC2.
--zone VALUE For GCE only
-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.14.17. hammer compute-resource virtual-machine Copy linkLink copied to clipboard!
View and manage compute resource’s virtual machines
Usage: hammer compute-resource virtual-machine [OPTIONS] SUBCOMMAND [ARG] ... Parameters: SUBCOMMAND Subcommand [ARG] ... Subcommand arguments Subcommands: delete, destroy Delete a Virtual Machine info, show Show a virtual machine power Power a Virtual Machine Options: -h, --help Print help
Usage:
hammer compute-resource virtual-machine [OPTIONS] SUBCOMMAND [ARG] ...
Parameters:
SUBCOMMAND Subcommand
[ARG] ... Subcommand arguments
Subcommands:
delete, destroy Delete a Virtual Machine
info, show Show a virtual machine
power Power a Virtual Machine
Options:
-h, --help Print help
3.14.17.1. hammer compute-resource virtual-machine delete Copy linkLink copied to clipboard!
Delete a Virtual Machine
Usage: hammer compute-resource virtual-machine <delete|destroy> [OPTIONS] Options: --id VALUE --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 Compute resource name --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 --vm-id VALUE Virtual machine id, for gce use virtual machine 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
Usage:
hammer compute-resource virtual-machine <delete|destroy> [OPTIONS]
Options:
--id VALUE
--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 Compute resource name
--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
--vm-id VALUE Virtual machine id, for gce use virtual machine 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
3.14.17.2. hammer compute-resource virtual-machine info Copy linkLink copied to clipboard!
Show a virtual machine
Usage: hammer compute-resource virtual-machine <info|show> [OPTIONS] Options: --fields LIST Show specified fields or predefined field sets only. (See below) --id VALUE --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 Compute resource name --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 --vm-id VALUE Virtual machine id, for gce use virtual machine name -h, --help Print help Predefined field sets: -------|-----|---------|----- FIELDS | ALL | DEFAULT | THIN -------|-----|---------|----- Id | x | x | x Name | 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
Usage:
hammer compute-resource virtual-machine <info|show> [OPTIONS]
Options:
--fields LIST Show specified fields or predefined field sets only. (See below)
--id VALUE
--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 Compute resource name
--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
--vm-id VALUE Virtual machine id, for gce use virtual machine name
-h, --help Print help
Predefined field sets:
-------|-----|---------|-----
FIELDS | ALL | DEFAULT | THIN
-------|-----|---------|-----
Id | x | x | x
Name | 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
3.14.17.3. hammer compute-resource virtual-machine power Copy linkLink copied to clipboard!
Power a Virtual Machine
Usage: hammer compute-resource virtual-machine power [OPTIONS] Options: --id VALUE --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 Compute resource name --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 --vm-id VALUE Virtual machine id, for gce use virtual machine 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
Usage:
hammer compute-resource virtual-machine power [OPTIONS]
Options:
--id VALUE
--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 Compute resource name
--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
--vm-id VALUE Virtual machine id, for gce use virtual machine 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
3.14.18. hammer compute-resource virtual-machines Copy linkLink copied to clipboard!
List available virtual machines for a compute resource
Usage: hammer compute-resource virtual-machines [OPTIONS] Options: --fields LIST Show specified fields or predefined field sets only. (See below) --id VALUE --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 Compute resource name --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 -h, --help Print help Predefined field sets: -------|-----|---------|----- FIELDS | ALL | DEFAULT | THIN -------|-----|---------|----- Id | x | x | x Name | 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
Usage:
hammer compute-resource virtual-machines [OPTIONS]
Options:
--fields LIST Show specified fields or predefined field sets only. (See below)
--id VALUE
--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 Compute resource name
--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
-h, --help Print help
Predefined field sets:
-------|-----|---------|-----
FIELDS | ALL | DEFAULT | THIN
-------|-----|---------|-----
Id | x | x | x
Name | 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
3.14.19. hammer compute-resource vnic-profiles Copy linkLink copied to clipboard!
List available vnic profiles for a compute resource, for RHEV only
Usage: hammer compute-resource vnic-profiles [OPTIONS] Options: --fields LIST Show specified fields or predefined field sets only. (See below) --id VALUE --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 Compute resource name --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 -h, --help Print help Predefined field sets: ----------------|-----|---------|----- FIELDS | ALL | DEFAULT | THIN ----------------|-----|---------|----- Vnic profile id | x | x | x Name | x | x | x Network 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
Usage:
hammer compute-resource vnic-profiles [OPTIONS]
Options:
--fields LIST Show specified fields or predefined field sets only. (See below)
--id VALUE
--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 Compute resource name
--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
-h, --help Print help
Predefined field sets:
----------------|-----|---------|-----
FIELDS | ALL | DEFAULT | THIN
----------------|-----|---------|-----
Vnic profile id | x | x | x
Name | x | x | x
Network 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.14.20. hammer compute-resource zones Copy linkLink copied to clipboard!
List available zone for a compute resource
Usage: hammer compute-resource zones [OPTIONS] Options: --fields LIST Show specified fields or predefined field sets only. (See below) --id VALUE --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 Compute resource name --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 -h, --help Print help Predefined field sets: -------|-----|---------|----- FIELDS | ALL | DEFAULT | THIN -------|-----|---------|----- Id | x | x | x Name | 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
Usage:
hammer compute-resource zones [OPTIONS]
Options:
--fields LIST Show specified fields or predefined field sets only. (See below)
--id VALUE
--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 Compute resource name
--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
-h, --help Print help
Predefined field sets:
-------|-----|---------|-----
FIELDS | ALL | DEFAULT | THIN
-------|-----|---------|-----
Id | x | x | x
Name | 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
3.15. hammer config-report Copy linkLink copied to clipboard!
Browse and read reports
Usage: hammer config-report [OPTIONS] SUBCOMMAND [ARG] ... Parameters: SUBCOMMAND Subcommand [ARG] ... Subcommand arguments Subcommands: delete, destroy Delete a report info, show Show a report list, index List all reports Options: -h, --help Print help
Usage:
hammer config-report [OPTIONS] SUBCOMMAND [ARG] ...
Parameters:
SUBCOMMAND Subcommand
[ARG] ... Subcommand arguments
Subcommands:
delete, destroy Delete a report
info, show Show a report
list, index List all reports
Options:
-h, --help Print help
3.15.1. hammer config-report delete Copy linkLink copied to clipboard!
Delete a report
Usage: hammer config-report <delete|destroy> [OPTIONS] Options: --id VALUE --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 --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 -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
Usage:
hammer config-report <delete|destroy> [OPTIONS]
Options:
--id VALUE
--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
--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
-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.15.2. hammer config-report info Copy linkLink copied to clipboard!
Show a report
Usage: hammer config-report <info|show> [OPTIONS] Options: --fields LIST Show specified fields or predefined field sets only. (See below) --id VALUE --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 --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 -h, --help Print help Predefined field sets: --------------------------------|-----|---------|----- FIELDS | ALL | DEFAULT | THIN --------------------------------|-----|---------|----- Id | x | x | x Host | x | x | Reported at | x | x | Origin | x | x | Report status/applied | x | x | Report status/restarted | x | x | Report status/failed | x | x | Report status/restart failures | x | x | Report status/skipped | x | x | Report status/pending | x | x | Report metrics/config_retrieval | x | x | Report metrics/exec | x | x | Report metrics/file | x | x | Report metrics/package | x | x | Report metrics/service | x | x | Report metrics/user | x | x | Report metrics/yumrepo | x | x | Report metrics/filebucket | x | x | Report metrics/cron | x | x | Report metrics/total | x | x | Logs/resource | x | x | Logs/message | 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
Usage:
hammer config-report <info|show> [OPTIONS]
Options:
--fields LIST Show specified fields or predefined field sets only. (See below)
--id VALUE
--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
--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
-h, --help Print help
Predefined field sets:
--------------------------------|-----|---------|-----
FIELDS | ALL | DEFAULT | THIN
--------------------------------|-----|---------|-----
Id | x | x | x
Host | x | x |
Reported at | x | x |
Origin | x | x |
Report status/applied | x | x |
Report status/restarted | x | x |
Report status/failed | x | x |
Report status/restart failures | x | x |
Report status/skipped | x | x |
Report status/pending | x | x |
Report metrics/config_retrieval | x | x |
Report metrics/exec | x | x |
Report metrics/file | x | x |
Report metrics/package | x | x |
Report metrics/service | x | x |
Report metrics/user | x | x |
Report metrics/yumrepo | x | x |
Report metrics/filebucket | x | x |
Report metrics/cron | x | x |
Report metrics/total | x | x |
Logs/resource | x | x |
Logs/message | 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.15.3. hammer config-report list Copy linkLink copied to clipboard!
List all reports
Usage: hammer config-report <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 Host | x | x | Last report | x | x | Origin | x | x | Applied | x | x | Restarted | x | x | Failed | x | x | Restart failures | x | x | Skipped | x | x | Pending | 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: applied integer eventful Values: true, false failed integer failed_restarts integer host string host_id integer host_owner_id integer hostgroup string hostgroup_fullname string hostgroup_title string last_report datetime location string log text organization string origin string pending integer reported datetime resource text restarted integer skipped integer
Usage:
hammer config-report <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
Host | x | x |
Last report | x | x |
Origin | x | x |
Applied | x | x |
Restarted | x | x |
Failed | x | x |
Restart failures | x | x |
Skipped | x | x |
Pending | 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:
applied integer
eventful Values: true, false
failed integer
failed_restarts integer
host string
host_id integer
host_owner_id integer
hostgroup string
hostgroup_fullname string
hostgroup_title string
last_report datetime
location string
log text
organization string
origin string
pending integer
reported datetime
resource text
restarted integer
skipped integer
3.16. hammer content-credentials Copy linkLink copied to clipboard!
Manipulate content credentials on the server
Usage: hammer content-credentials [OPTIONS] SUBCOMMAND [ARG] ... Parameters: SUBCOMMAND Subcommand [ARG] ... Subcommand arguments Subcommands: create Create a Content Credential delete, destroy Destroy a Content Credential info, show Show a Content Credential list, index List Content Credentials update Update a Content Credential Options: -h, --help Print help
Usage:
hammer content-credentials [OPTIONS] SUBCOMMAND [ARG] ...
Parameters:
SUBCOMMAND Subcommand
[ARG] ... Subcommand arguments
Subcommands:
create Create a Content Credential
delete, destroy Destroy a Content Credential
info, show Show a Content Credential
list, index List Content Credentials
update Update a Content Credential
Options:
-h, --help Print help
3.16.1. hammer content-credentials create Copy linkLink copied to clipboard!
Create a Content Credential
Usage: hammer content-credentials create [OPTIONS] Options: --content-type VALUE Type of content: “cert”, “gpg_key” --name VALUE Name of the Content Credential --organization VALUE Organization name to search by --organization-id NUMBER Organization identifier --organization-label VALUE Organization label to search by --organization-title VALUE Organization title --path FILE Key file -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
Usage:
hammer content-credentials create [OPTIONS]
Options:
--content-type VALUE Type of content: “cert”, “gpg_key”
--name VALUE Name of the Content Credential
--organization VALUE Organization name to search by
--organization-id NUMBER Organization identifier
--organization-label VALUE Organization label to search by
--organization-title VALUE Organization title
--path FILE Key file
-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.16.2. hammer content-credentials delete Copy linkLink copied to clipboard!
Destroy a Content Credential
Usage: hammer content-credentials <delete|destroy> [OPTIONS] Options: --id NUMBER Content Credential ID --name VALUE Name to search by --organization VALUE Organization name to search by --organization-id NUMBER --organization-label VALUE Organization label to search by --organization-title VALUE Organization title -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
Usage:
hammer content-credentials <delete|destroy> [OPTIONS]
Options:
--id NUMBER Content Credential ID
--name VALUE Name to search by
--organization VALUE Organization name to search by
--organization-id NUMBER
--organization-label VALUE Organization label to search by
--organization-title VALUE Organization title
-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.16.3. hammer content-credentials info Copy linkLink copied to clipboard!
Show a Content Credential
Usage: hammer content-credentials <info|show> [OPTIONS] Options: --fields LIST Show specified fields or predefined field sets only. (See below) --id NUMBER Content Credential numeric identifier --name VALUE Name to search by --organization VALUE Organization name to search by --organization-id NUMBER --organization-label VALUE Organization label to search by --organization-title VALUE Organization title -h, --help Print help Predefined field sets: --------------------------|-----|---------|----- FIELDS | ALL | DEFAULT | THIN --------------------------|-----|---------|----- Id | x | x | x Name | x | x | x Organization | x | x | Repositories/id | x | x | Repositories/name | x | x | Repositories/content type | x | x | Repositories/product | x | x | Content | 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
Usage:
hammer content-credentials <info|show> [OPTIONS]
Options:
--fields LIST Show specified fields or predefined field sets only. (See below)
--id NUMBER Content Credential numeric identifier
--name VALUE Name to search by
--organization VALUE Organization name to search by
--organization-id NUMBER
--organization-label VALUE Organization label to search by
--organization-title VALUE Organization title
-h, --help Print help
Predefined field sets:
--------------------------|-----|---------|-----
FIELDS | ALL | DEFAULT | THIN
--------------------------|-----|---------|-----
Id | x | x | x
Name | x | x | x
Organization | x | x |
Repositories/id | x | x |
Repositories/name | x | x |
Repositories/content type | x | x |
Repositories/product | x | x |
Content | 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.16.4. hammer content-credentials list Copy linkLink copied to clipboard!
List Content Credentials
Usage: hammer content-credentials <list|index> [OPTIONS] Options: --content-type VALUE Type of content --fields LIST Show specified fields or predefined field sets only. (See below) --full-result BOOLEAN Whether or not to show all results --name VALUE Name of the Content Credential --order VALUE Sort field and order, eg. 'id DESC' --organization VALUE Organization name to search by --organization-id NUMBER Organization identifier --organization-label VALUE Organization label to search by --organization-title VALUE Organization title --page NUMBER Page number, starting at 1 --per-page NUMBER Number of results per page to return --search VALUE Search string -h, --help Print help Predefined field sets: -------------|-----|---------|----- FIELDS | ALL | DEFAULT | THIN -------------|-----|---------|----- Id | x | x | x Name | x | x | x Content type | 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
Usage:
hammer content-credentials <list|index> [OPTIONS]
Options:
--content-type VALUE Type of content
--fields LIST Show specified fields or predefined field sets only. (See below)
--full-result BOOLEAN Whether or not to show all results
--name VALUE Name of the Content Credential
--order VALUE Sort field and order, eg. 'id DESC'
--organization VALUE Organization name to search by
--organization-id NUMBER Organization identifier
--organization-label VALUE Organization label to search by
--organization-title VALUE Organization title
--page NUMBER Page number, starting at 1
--per-page NUMBER Number of results per page to return
--search VALUE Search string
-h, --help Print help
Predefined field sets:
-------------|-----|---------|-----
FIELDS | ALL | DEFAULT | THIN
-------------|-----|---------|-----
Id | x | x | x
Name | x | x | x
Content type | 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.16.5. hammer content-credentials update Copy linkLink copied to clipboard!
Update a Content Credential
Usage: hammer content-credentials update [OPTIONS] Options: --content-type VALUE Type of content: “cert”, “gpg_key” --id NUMBER Content Credential ID --name VALUE Name of the Content Credential --new-name VALUE Name of the Content Credential --organization VALUE Organization name to search by --organization-id NUMBER --organization-label VALUE Organization label to search by --organization-title VALUE Organization title --path FILE Key file -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
Usage:
hammer content-credentials update [OPTIONS]
Options:
--content-type VALUE Type of content: “cert”, “gpg_key”
--id NUMBER Content Credential ID
--name VALUE Name of the Content Credential
--new-name VALUE Name of the Content Credential
--organization VALUE Organization name to search by
--organization-id NUMBER
--organization-label VALUE Organization label to search by
--organization-title VALUE Organization title
--path FILE Key file
-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.17. hammer content-export Copy linkLink copied to clipboard!
Prepare content for export to a disconnected Katello
Usage: hammer content-export [OPTIONS] SUBCOMMAND [ARG] ... Parameters: SUBCOMMAND Subcommand [ARG] ... Subcommand arguments Subcommands: complete Prepare content for a full export to a disconnected Katello generate-metadata Writes export metadata to disk for use by the importing Katello. This command only needs to be used if the export was performed asynchronously or if the metadata was lost incremental Prepare content for an incremental export to a disconnected Katello list, index View content view export histories Options: -h, --help Print help
Usage:
hammer content-export [OPTIONS] SUBCOMMAND [ARG] ...
Parameters:
SUBCOMMAND Subcommand
[ARG] ... Subcommand arguments
Subcommands:
complete Prepare content for a full export to a disconnected Katello
generate-metadata Writes export metadata to disk for use by the importing Katello. This command
only needs to be used if the export was performed asynchronously or if the
metadata was lost
incremental Prepare content for an incremental export to a disconnected Katello
list, index View content view export histories
Options:
-h, --help Print help
3.17.1. hammer content-export complete Copy linkLink copied to clipboard!
Prepare content for a full export to a disconnected Katello
Usage: hammer content-export complete [OPTIONS] SUBCOMMAND [ARG] ... Parameters: SUBCOMMAND Subcommand [ARG] ... Subcommand arguments Subcommands: library Performs a full export of the organization's library environment repository Performs a full export of a repository version Performs a full export a content view version Options: -h, --help Print help
Usage:
hammer content-export complete [OPTIONS] SUBCOMMAND [ARG] ...
Parameters:
SUBCOMMAND Subcommand
[ARG] ... Subcommand arguments
Subcommands:
library Performs a full export of the organization's library environment
repository Performs a full export of a repository
version Performs a full export a content view version
Options:
-h, --help Print help
3.17.1.1. hammer content-export complete library Copy linkLink copied to clipboard!
Performs a full export of the organization’s library environment
Usage: hammer content-export complete library [OPTIONS] Options: --async Do not wait for the task --chunk-size-gb NUMBER Split the exported content into archives no greater than the specified size in gigabytes. --destination-server VALUE Destination Server name --fail-on-missing-content Fails if any of the repositories belonging to this organization are unexportable. --organization VALUE Organization name to search by --organization-id NUMBER Organization identifier --organization-label VALUE Organization label to search by --organization-title VALUE Organization title -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
Usage:
hammer content-export complete library [OPTIONS]
Options:
--async Do not wait for the task
--chunk-size-gb NUMBER Split the exported content into archives no greater than the specified size in
gigabytes.
--destination-server VALUE Destination Server name
--fail-on-missing-content Fails if any of the repositories belonging to this organization are
unexportable.
--organization VALUE Organization name to search by
--organization-id NUMBER Organization identifier
--organization-label VALUE Organization label to search by
--organization-title VALUE Organization title
-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.17.1.2. hammer content-export complete repository Copy linkLink copied to clipboard!
Performs a full export of a repository
Usage: hammer content-export complete repository [OPTIONS] Options: --async Do not wait for the task --chunk-size-gb NUMBER Split the exported content into archives no greater than the specified size in gigabytes. --id NUMBER Repository identifier --name VALUE Filter repositories by name. --organization VALUE Organization name to search by --organization-id NUMBER Organization ID --organization-label VALUE Organization label to search by --organization-title VALUE Organization title --product VALUE Product name to search by --product-id NUMBER Product numeric identifier -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
Usage:
hammer content-export complete repository [OPTIONS]
Options:
--async Do not wait for the task
--chunk-size-gb NUMBER Split the exported content into archives no greater than the specified size in
gigabytes.
--id NUMBER Repository identifier
--name VALUE Filter repositories by name.
--organization VALUE Organization name to search by
--organization-id NUMBER Organization ID
--organization-label VALUE Organization label to search by
--organization-title VALUE Organization title
--product VALUE Product name to search by
--product-id NUMBER Product numeric identifier
-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.17.1.3. hammer content-export complete version Copy linkLink copied to clipboard!
Performs a full export a content view version
Usage: hammer content-export complete version [OPTIONS] Options: --async Do not wait for the task --chunk-size-gb NUMBER Split the exported content into archives no greater than the specified size in gigabytes. --content-view VALUE Content view name to search by --content-view-id NUMBER Content view numeric identifier --destination-server VALUE Destination Server name --fail-on-missing-content Fails if any of the repositories belonging to this version are unexportable. --id NUMBER Content view version identifier --lifecycle-environment VALUE Lifecycle environment name to search by --lifecycle-environment-id NUMBER ID of the environment --organization VALUE Organization name to search by --organization-id NUMBER Organization ID --organization-label VALUE Organization label to search by --organization-title VALUE Organization title --version VALUE Filter versions by version 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
Usage:
hammer content-export complete version [OPTIONS]
Options:
--async Do not wait for the task
--chunk-size-gb NUMBER Split the exported content into archives no greater than the specified size in
gigabytes.
--content-view VALUE Content view name to search by
--content-view-id NUMBER Content view numeric identifier
--destination-server VALUE Destination Server name
--fail-on-missing-content Fails if any of the repositories belonging to this version are unexportable.
--id NUMBER Content view version identifier
--lifecycle-environment VALUE Lifecycle environment name to search by
--lifecycle-environment-id NUMBER ID of the environment
--organization VALUE Organization name to search by
--organization-id NUMBER Organization ID
--organization-label VALUE Organization label to search by
--organization-title VALUE Organization title
--version VALUE Filter versions by version 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.17.2. hammer content-export generate-metadata Copy linkLink copied to clipboard!
Writes export metadata to disk for use by the importing Katello. This command only needs to be used if the export was performed asynchronously or if the metadata was lost
Usage: hammer content-export generate-metadata [OPTIONS] Options: --id VALUE Generate metadata based on specified export history --task-id VALUE Generate metadata based on output of the specified export task -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
Usage:
hammer content-export generate-metadata [OPTIONS]
Options:
--id VALUE Generate metadata based on specified export history
--task-id VALUE Generate metadata based on output of the specified export task
-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.17.3. hammer content-export incremental Copy linkLink copied to clipboard!
Prepare content for an incremental export to a disconnected Katello
Usage: hammer content-export incremental [OPTIONS] SUBCOMMAND [ARG] ... Parameters: SUBCOMMAND Subcommand [ARG] ... Subcommand arguments Subcommands: library Performs an incremental export of the organization's library environment repository Performs an incremental export of a repository version Performs an incremental export of a content view version Options: -h, --help Print help
Usage:
hammer content-export incremental [OPTIONS] SUBCOMMAND [ARG] ...
Parameters:
SUBCOMMAND Subcommand
[ARG] ... Subcommand arguments
Subcommands:
library Performs an incremental export of the organization's library environment
repository Performs an incremental export of a repository
version Performs an incremental export of a content view version
Options:
-h, --help Print help
3.17.3.1. hammer content-export incremental library Copy linkLink copied to clipboard!
Performs an incremental export of the organization’s library environment
Usage: hammer content-export incremental library [OPTIONS] Options: --async Do not wait for the task --chunk-size-gb NUMBER Split the exported content into archives no greater than the specified size in gigabytes. --destination-server VALUE Destination Server name --fail-on-missing-content Fails if any of the repositories belonging to this organization are unexportable. --from-history-id NUMBER Export history identifier used for incremental export. If not provided the most recent export history will be used. --organization VALUE Organization name to search by --organization-id NUMBER Organization identifier --organization-label VALUE Organization label to search by --organization-title VALUE Organization title -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
Usage:
hammer content-export incremental library [OPTIONS]
Options:
--async Do not wait for the task
--chunk-size-gb NUMBER Split the exported content into archives no greater than the specified size in
gigabytes.
--destination-server VALUE Destination Server name
--fail-on-missing-content Fails if any of the repositories belonging to this organization are
unexportable.
--from-history-id NUMBER Export history identifier used for incremental export. If not provided the most
recent export history will be used.
--organization VALUE Organization name to search by
--organization-id NUMBER Organization identifier
--organization-label VALUE Organization label to search by
--organization-title VALUE Organization title
-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.17.3.2. hammer content-export incremental repository Copy linkLink copied to clipboard!
Performs an incremental export of a repository
Usage: hammer content-export incremental repository [OPTIONS] Options: --async Do not wait for the task --chunk-size-gb NUMBER Split the exported content into archives no greater than the specified size in gigabytes. --from-history-id NUMBER Export history identifier used for incremental export. If not provided the most recent export history will be used. --id NUMBER Repository identifier --name VALUE Filter repositories by name. --organization VALUE Organization name to search by --organization-id NUMBER Organization ID --organization-label VALUE Organization label to search by --organization-title VALUE Organization title --product VALUE Product name to search by --product-id NUMBER Product numeric identifier -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
Usage:
hammer content-export incremental repository [OPTIONS]
Options:
--async Do not wait for the task
--chunk-size-gb NUMBER Split the exported content into archives no greater than the specified size in
gigabytes.
--from-history-id NUMBER Export history identifier used for incremental export. If not provided the most
recent export history will be used.
--id NUMBER Repository identifier
--name VALUE Filter repositories by name.
--organization VALUE Organization name to search by
--organization-id NUMBER Organization ID
--organization-label VALUE Organization label to search by
--organization-title VALUE Organization title
--product VALUE Product name to search by
--product-id NUMBER Product numeric identifier
-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.17.3.3. hammer content-export incremental version Copy linkLink copied to clipboard!
Performs an incremental export of a content view version
Usage: hammer content-export incremental version [OPTIONS] Options: --async Do not wait for the task --chunk-size-gb NUMBER Split the exported content into archives no greater than the specified size in gigabytes. --content-view VALUE Content view name to search by --content-view-id NUMBER Content view numeric identifier --destination-server VALUE Destination Server name --fail-on-missing-content Fails if any of the repositories belonging to this version are unexportable. --from-history-id NUMBER Export history identifier used for incremental export. If not provided the most recent export history will be used. --id NUMBER Content view version identifier --lifecycle-environment VALUE Lifecycle environment name to search by --lifecycle-environment-id NUMBER ID of the environment --organization VALUE Organization name to search by --organization-id NUMBER Organization ID --organization-label VALUE Organization label to search by --organization-title VALUE Organization title --version VALUE Filter versions by version 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
Usage:
hammer content-export incremental version [OPTIONS]
Options:
--async Do not wait for the task
--chunk-size-gb NUMBER Split the exported content into archives no greater than the specified size in
gigabytes.
--content-view VALUE Content view name to search by
--content-view-id NUMBER Content view numeric identifier
--destination-server VALUE Destination Server name
--fail-on-missing-content Fails if any of the repositories belonging to this version are unexportable.
--from-history-id NUMBER Export history identifier used for incremental export. If not provided the most
recent export history will be used.
--id NUMBER Content view version identifier
--lifecycle-environment VALUE Lifecycle environment name to search by
--lifecycle-environment-id NUMBER ID of the environment
--organization VALUE Organization name to search by
--organization-id NUMBER Organization ID
--organization-label VALUE Organization label to search by
--organization-title VALUE Organization title
--version VALUE Filter versions by version 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.17.4. hammer content-export list Copy linkLink copied to clipboard!
View content view export histories
Usage: hammer content-export <list|index> [OPTIONS] Options: --content-view VALUE Content view name to search by --content-view-id NUMBER Content view identifier --content-view-version VALUE Content view version number --content-view-version-id NUMBER Content view version identifier --destination-server VALUE Destination Server name --fields LIST Show specified fields or predefined field sets only. (See below) --full-result BOOLEAN Whether or not to show all results --id NUMBER Content view version export history identifier --order VALUE Sort field and order, eg. 'id DESC' --organization VALUE Organization name to search by --organization-id NUMBER Organization identifier --organization-label VALUE Organization label to search by --organization-title VALUE Organization title --page NUMBER Page number, starting at 1 --per-page NUMBER Number of results per page to return --search VALUE Search string --type ENUM Export Types Possible value(s): 'complete', 'incremental' -h, --help Print help Predefined field sets: ------------------------|-----|---------|----- FIELDS | ALL | DEFAULT | THIN ------------------------|-----|---------|----- Id | x | x | x Destination server | x | x | Path | x | x | Type | x | x | Content view version | x | x | Content view version id | 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 Search / Order fields: content_view_id integer content_view_version_id integer id integer type string
Usage:
hammer content-export <list|index> [OPTIONS]
Options:
--content-view VALUE Content view name to search by
--content-view-id NUMBER Content view identifier
--content-view-version VALUE Content view version number
--content-view-version-id NUMBER Content view version identifier
--destination-server VALUE Destination Server name
--fields LIST Show specified fields or predefined field sets only. (See below)
--full-result BOOLEAN Whether or not to show all results
--id NUMBER Content view version export history identifier
--order VALUE Sort field and order, eg. 'id DESC'
--organization VALUE Organization name to search by
--organization-id NUMBER Organization identifier
--organization-label VALUE Organization label to search by
--organization-title VALUE Organization title
--page NUMBER Page number, starting at 1
--per-page NUMBER Number of results per page to return
--search VALUE Search string
--type ENUM Export Types
Possible value(s): 'complete', 'incremental'
-h, --help Print help
Predefined field sets:
------------------------|-----|---------|-----
FIELDS | ALL | DEFAULT | THIN
------------------------|-----|---------|-----
Id | x | x | x
Destination server | x | x |
Path | x | x |
Type | x | x |
Content view version | x | x |
Content view version id | 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
Search / Order fields:
content_view_id integer
content_view_version_id integer
id integer
type string
3.18. hammer content-import Copy linkLink copied to clipboard!
Import content from an upstream archive.
Usage: hammer content-import [OPTIONS] SUBCOMMAND [ARG] ... Parameters: SUBCOMMAND Subcommand [ARG] ... Subcommand arguments Subcommands: library Imports a content archive to an organization's library lifecycle environment list, index View content view import histories repository Imports a repository version Imports a content archive to a content view version Options: -h, --help Print help
Usage:
hammer content-import [OPTIONS] SUBCOMMAND [ARG] ...
Parameters:
SUBCOMMAND Subcommand
[ARG] ... Subcommand arguments
Subcommands:
library Imports a content archive to an organization's library lifecycle environment
list, index View content view import histories
repository Imports a repository
version Imports a content archive to a content view version
Options:
-h, --help Print help
3.18.1. hammer content-import library Copy linkLink copied to clipboard!
Imports a content archive to an organization’s library lifecycle environment
Usage: hammer content-import library [OPTIONS] Options: --async Do not wait for the task --metadata-file VALUE Location of the metadata.json file. This is not required if the metadata.json file is already in the archive directory. --organization VALUE Organization name to search by --organization-id NUMBER Organization identifier --organization-label VALUE Organization label to search by --organization-title VALUE Organization title --path VALUE Directory containing the exported Content View Version -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
Usage:
hammer content-import library [OPTIONS]
Options:
--async Do not wait for the task
--metadata-file VALUE Location of the metadata.json file. This is not required if the metadata.json
file is already in the archive directory.
--organization VALUE Organization name to search by
--organization-id NUMBER Organization identifier
--organization-label VALUE Organization label to search by
--organization-title VALUE Organization title
--path VALUE Directory containing the exported Content View Version
-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.18.2. hammer content-import list Copy linkLink copied to clipboard!
View content view import histories
Usage: hammer content-import <list|index> [OPTIONS] Options: --content-view VALUE Content view name to search by --content-view-id NUMBER Content view identifier --content-view-version VALUE Content view version number --content-view-version-id NUMBER Content view version identifier --fields LIST Show specified fields or predefined field sets only. (See below) --full-result BOOLEAN Whether or not to show all results --id NUMBER Content view version import history identifier --order VALUE Sort field and order, eg. 'id DESC' --organization VALUE Organization name to search by --organization-id NUMBER Organization identifier --organization-label VALUE Organization label to search by --organization-title VALUE Organization title --page NUMBER Page number, starting at 1 --per-page NUMBER Number of results per page to return --search VALUE Search string --type ENUM Import Types Possible value(s): 'complete', 'incremental' -h, --help Print help Predefined field sets: ------------------------|-----|---------|----- FIELDS | ALL | DEFAULT | THIN ------------------------|-----|---------|----- Id | x | x | x Path | x | x | Type | x | x | Content view version | x | x | Content view version id | 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 Search / Order fields: content_view_id integer content_view_version_id integer id integer type string
Usage:
hammer content-import <list|index> [OPTIONS]
Options:
--content-view VALUE Content view name to search by
--content-view-id NUMBER Content view identifier
--content-view-version VALUE Content view version number
--content-view-version-id NUMBER Content view version identifier
--fields LIST Show specified fields or predefined field sets only. (See below)
--full-result BOOLEAN Whether or not to show all results
--id NUMBER Content view version import history identifier
--order VALUE Sort field and order, eg. 'id DESC'
--organization VALUE Organization name to search by
--organization-id NUMBER Organization identifier
--organization-label VALUE Organization label to search by
--organization-title VALUE Organization title
--page NUMBER Page number, starting at 1
--per-page NUMBER Number of results per page to return
--search VALUE Search string
--type ENUM Import Types
Possible value(s): 'complete', 'incremental'
-h, --help Print help
Predefined field sets:
------------------------|-----|---------|-----
FIELDS | ALL | DEFAULT | THIN
------------------------|-----|---------|-----
Id | x | x | x
Path | x | x |
Type | x | x |
Content view version | x | x |
Content view version id | 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
Search / Order fields:
content_view_id integer
content_view_version_id integer
id integer
type string
3.18.3. hammer content-import repository Copy linkLink copied to clipboard!
Imports a repository
Usage: hammer content-import repository [OPTIONS] Options: --async Do not wait for the task --metadata-file VALUE Location of the metadata.json file. This is not required if the metadata.json file is already in the archive directory. --organization VALUE Organization name to search by --organization-id NUMBER Organization identifier --organization-label VALUE Organization label to search by --organization-title VALUE Organization title --path VALUE Directory containing the exported Content View Version -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
Usage:
hammer content-import repository [OPTIONS]
Options:
--async Do not wait for the task
--metadata-file VALUE Location of the metadata.json file. This is not required if the metadata.json
file is already in the archive directory.
--organization VALUE Organization name to search by
--organization-id NUMBER Organization identifier
--organization-label VALUE Organization label to search by
--organization-title VALUE Organization title
--path VALUE Directory containing the exported Content View Version
-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.18.4. hammer content-import version Copy linkLink copied to clipboard!
Imports a content archive to a content view version
Usage: hammer content-import version [OPTIONS] Options: --async Do not wait for the task --metadata-file VALUE Location of the metadata.json file. This is not required if the metadata.json file is already in the archive directory. --organization VALUE Organization name to search by --organization-id NUMBER Organization identifier --organization-label VALUE Organization label to search by --organization-title VALUE Organization title --path VALUE Directory containing the exported Content View Version -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
Usage:
hammer content-import version [OPTIONS]
Options:
--async Do not wait for the task
--metadata-file VALUE Location of the metadata.json file. This is not required if the metadata.json
file is already in the archive directory.
--organization VALUE Organization name to search by
--organization-id NUMBER Organization identifier
--organization-label VALUE Organization label to search by
--organization-title VALUE Organization title
--path VALUE Directory containing the exported Content View Version
-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.19. hammer content-units Copy linkLink copied to clipboard!
Manipulate content units
Usage: hammer content-units [OPTIONS] SUBCOMMAND [ARG] ... Parameters: SUBCOMMAND Subcommand [ARG] ... Subcommand arguments Subcommands: info, show Show a content unit list, index List content_units Options: -h, --help Print help
Usage:
hammer content-units [OPTIONS] SUBCOMMAND [ARG] ...
Parameters:
SUBCOMMAND Subcommand
[ARG] ... Subcommand arguments
Subcommands:
info, show Show a content unit
list, index List content_units
Options:
-h, --help Print help
3.19.1. hammer content-units info Copy linkLink copied to clipboard!
Show a content unit
Usage: hammer content-units <info|show> [OPTIONS] Options: --content-type VALUE Possible values: --content-view VALUE Content view name to search by --content-view-id NUMBER Content view numeric identifier --content-view-version VALUE Content view version number --content-view-version-id NUMBER Content view version identifier --fields LIST Show specified fields or predefined field sets only. (See below) --id VALUE A content unit identifier --name VALUE Name to search by --organization VALUE Organization name to search by --organization-id NUMBER Organization identifier --organization-label VALUE Organization label to search by --organization-title VALUE Organization title --product VALUE Product name to search by --product-id NUMBER Product numeric identifier --repository VALUE Repository name to search by --repository-id NUMBER Repository identifier -h, --help Print help Predefined field sets: ---------|-----|---------|----- FIELDS | ALL | DEFAULT | THIN ---------|-----|---------|----- Id | x | x | x Name | x | x | x Version | x | x | Filename | 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
Usage:
hammer content-units <info|show> [OPTIONS]
Options:
--content-type VALUE Possible values:
--content-view VALUE Content view name to search by
--content-view-id NUMBER Content view numeric identifier
--content-view-version VALUE Content view version number
--content-view-version-id NUMBER Content view version identifier
--fields LIST Show specified fields or predefined field sets only. (See below)
--id VALUE A content unit identifier
--name VALUE Name to search by
--organization VALUE Organization name to search by
--organization-id NUMBER Organization identifier
--organization-label VALUE Organization label to search by
--organization-title VALUE Organization title
--product VALUE Product name to search by
--product-id NUMBER Product numeric identifier
--repository VALUE Repository name to search by
--repository-id NUMBER Repository identifier
-h, --help Print help
Predefined field sets:
---------|-----|---------|-----
FIELDS | ALL | DEFAULT | THIN
---------|-----|---------|-----
Id | x | x | x
Name | x | x | x
Version | x | x |
Filename | 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.19.2. hammer content-units list Copy linkLink copied to clipboard!
List content_units
Usage: hammer content-units <list|index> [OPTIONS] Options: --content-type VALUE Possible values: --content-view VALUE Content view name to search by --content-view-filter VALUE Name to search by --content-view-filter-id NUMBER Content view filter identifier --content-view-filter-rule VALUE Name to search by --content-view-filter-rule-id NUMBER Content view filter rule identifier --content-view-id NUMBER Content view numeric identifier --content-view-version VALUE Content view version number --content-view-version-id NUMBER Content view version identifier --fields LIST Show specified fields or predefined field sets only. (See below) --full-result BOOLEAN Whether or not to show all results --ids LIST Ids to filter content by --include-filter-ids BOOLEAN Includes associated content view filter ids in response --lifecycle-environment-id NUMBER Environment identifier --order VALUE Sort field and order, eg. 'id DESC' --organization VALUE Organization name to search by --organization-id NUMBER Organization identifier --organization-label VALUE Organization label to search by --organization-title VALUE Organization title --page NUMBER Page number, starting at 1 --per-page NUMBER Number of results per page to return --product VALUE Product name to search by --product-id NUMBER Product numeric identifier --repository VALUE Repository name to search by --repository-id NUMBER Repository identifier --search VALUE Search string -h, --help Print help Predefined field sets: ---------|-----|---------|----- FIELDS | ALL | DEFAULT | THIN ---------|-----|---------|----- Id | x | x | x Name | x | x | x Version | x | x | Filename | 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
Usage:
hammer content-units <list|index> [OPTIONS]
Options:
--content-type VALUE Possible values:
--content-view VALUE Content view name to search by
--content-view-filter VALUE Name to search by
--content-view-filter-id NUMBER Content view filter identifier
--content-view-filter-rule VALUE Name to search by
--content-view-filter-rule-id NUMBER Content view filter rule identifier
--content-view-id NUMBER Content view numeric identifier
--content-view-version VALUE Content view version number
--content-view-version-id NUMBER Content view version identifier
--fields LIST Show specified fields or predefined field sets only. (See below)
--full-result BOOLEAN Whether or not to show all results
--ids LIST Ids to filter content by
--include-filter-ids BOOLEAN Includes associated content view filter ids in response
--lifecycle-environment-id NUMBER Environment identifier
--order VALUE Sort field and order, eg. 'id DESC'
--organization VALUE Organization name to search by
--organization-id NUMBER Organization identifier
--organization-label VALUE Organization label to search by
--organization-title VALUE Organization title
--page NUMBER Page number, starting at 1
--per-page NUMBER Number of results per page to return
--product VALUE Product name to search by
--product-id NUMBER Product numeric identifier
--repository VALUE Repository name to search by
--repository-id NUMBER Repository identifier
--search VALUE Search string
-h, --help Print help
Predefined field sets:
---------|-----|---------|-----
FIELDS | ALL | DEFAULT | THIN
---------|-----|---------|-----
Id | x | x | x
Name | x | x | x
Version | x | x |
Filename | 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.20. hammer content-view Copy linkLink copied to clipboard!
Manipulate content views
Usage: hammer content-view [OPTIONS] SUBCOMMAND [ARG] ... Parameters: SUBCOMMAND Subcommand [ARG] ... Subcommand arguments Subcommands: add-repository Associate a resource add-version Add a content view version to a composite view component View and manage components copy Copy a content view create Create a content view delete Delete a content view filter View and manage filters info, show Show a content view list, index List content views publish Publish a content view purge Delete old versions of a content view remove Remove versions and/or environments from a content view and reassign systems and keys remove-from-environment Remove a content view from an environment remove-repository Disassociate a resource remove-version Remove a content view version from a composite view update Update a content view version View and manage content view versions Options: -h, --help Print help
Usage:
hammer content-view [OPTIONS] SUBCOMMAND [ARG] ...
Parameters:
SUBCOMMAND Subcommand
[ARG] ... Subcommand arguments
Subcommands:
add-repository Associate a resource
add-version Add a content view version to a composite view
component View and manage components
copy Copy a content view
create Create a content view
delete Delete a content view
filter View and manage filters
info, show Show a content view
list, index List content views
publish Publish a content view
purge Delete old versions of a content view
remove Remove versions and/or environments from a content view and reassign systems and
keys
remove-from-environment Remove a content view from an environment
remove-repository Disassociate a resource
remove-version Remove a content view version from a composite view
update Update a content view
version View and manage content view versions
Options:
-h, --help Print help
3.20.1. hammer content-view add-repository Copy linkLink copied to clipboard!
Associate a resource
Usage: hammer content-view add-repository [OPTIONS] Options: --id VALUE Content view numeric identifier --name VALUE Content view name to search by --organization VALUE Organization name to search by --organization-id VALUE Organization ID to search by --organization-label VALUE Organization label to search by --product VALUE Product name to search by --product-id NUMBER Product numeric identifier --repository VALUE Repository name to search by --repository-id NUMBER Repository ID -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
Usage:
hammer content-view add-repository [OPTIONS]
Options:
--id VALUE Content view numeric identifier
--name VALUE Content view name to search by
--organization VALUE Organization name to search by
--organization-id VALUE Organization ID to search by
--organization-label VALUE Organization label to search by
--product VALUE Product name to search by
--product-id NUMBER Product numeric identifier
--repository VALUE Repository name to search by
--repository-id NUMBER Repository ID
-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.20.2. hammer content-view add-version Copy linkLink copied to clipboard!
Add a content view version to a composite view
Usage: hammer content-view add-version [OPTIONS] Options: --content-view VALUE Content view name to search by --content-view-id NUMBER Content view id to search by --content-view-version VALUE Content view version number --content-view-version-id NUMBER Content view version identifier --id VALUE Content view numeric identifier --name VALUE Content view name to search by --organization VALUE Organization name to search by --organization-id VALUE Organization ID to search by --organization-label VALUE Organization label to search by -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
Usage:
hammer content-view add-version [OPTIONS]
Options:
--content-view VALUE Content view name to search by
--content-view-id NUMBER Content view id to search by
--content-view-version VALUE Content view version number
--content-view-version-id NUMBER Content view version identifier
--id VALUE Content view numeric identifier
--name VALUE Content view name to search by
--organization VALUE Organization name to search by
--organization-id VALUE Organization ID to search by
--organization-label VALUE Organization label to search by
-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.20.3. hammer content-view component Copy linkLink copied to clipboard!
View and manage components
Usage: hammer content-view component [OPTIONS] SUBCOMMAND [ARG] ... Parameters: SUBCOMMAND Subcommand [ARG] ... Subcommand arguments Subcommands: add Add components to the content view list, index List components attached to this content view remove Remove components from the content view update Update a component associated with the content view Options: -h, --help Print help
Usage:
hammer content-view component [OPTIONS] SUBCOMMAND [ARG] ...
Parameters:
SUBCOMMAND Subcommand
[ARG] ... Subcommand arguments
Subcommands:
add Add components to the content view
list, index List components attached to this content view
remove Remove components from the content view
update Update a component associated with the content view
Options:
-h, --help Print help
3.20.3.1. hammer content-view component add Copy linkLink copied to clipboard!
Add components to the content view
Usage: hammer content-view component add [OPTIONS] Options: --component-content-view VALUE Content View name of the component who's latest version is desired --component-content-view-id VALUE Content View identifier of the component who's latest version is desired --component-content-view-version VALUE Content View Version number of the component. Either use this or --component-content-view-version-id option --component-content-view-version-id VALUE Content View Version identifier of the component --composite-content-view VALUE Name of the composite content view --composite-content-view-id NUMBER Composite content view identifier --latest Select the latest version of the components content view is desired --organization VALUE Organization name to search by --organization-id VALUE Organization ID to search by --organization-label VALUE Organization label to search by -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
Usage:
hammer content-view component add [OPTIONS]
Options:
--component-content-view VALUE Content View name of the component who's latest version is desired
--component-content-view-id VALUE Content View identifier of the component who's latest version is desired
--component-content-view-version VALUE Content View Version number of the component. Either use this or
--component-content-view-version-id option
--component-content-view-version-id VALUE Content View Version identifier of the component
--composite-content-view VALUE Name of the composite content view
--composite-content-view-id NUMBER Composite content view identifier
--latest Select the latest version of the components content view is desired
--organization VALUE Organization name to search by
--organization-id VALUE Organization ID to search by
--organization-label VALUE Organization label to search by
-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.20.3.2. hammer content-view component list Copy linkLink copied to clipboard!
List components attached to this content view
Usage: hammer content-view component <list|index> [OPTIONS] Options: --composite-content-view VALUE Name of the composite content view --composite-content-view-id NUMBER Composite content view id --fields LIST Show specified fields or predefined field sets only. (See below) --organization[-id|-label] VALUE Organization name/label/id to search by -h, --help Print help Predefined field sets: ----------------|-----|---------|----- FIELDS | ALL | DEFAULT | THIN ----------------|-----|---------|----- Content view id | x | x | Name | x | x | Version | x | x | Component id | x | x | x Current version | x | x | Version 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
Usage:
hammer content-view component <list|index> [OPTIONS]
Options:
--composite-content-view VALUE Name of the composite content view
--composite-content-view-id NUMBER Composite content view id
--fields LIST Show specified fields or predefined field sets only. (See below)
--organization[-id|-label] VALUE Organization name/label/id to search by
-h, --help Print help
Predefined field sets:
----------------|-----|---------|-----
FIELDS | ALL | DEFAULT | THIN
----------------|-----|---------|-----
Content view id | x | x |
Name | x | x |
Version | x | x |
Component id | x | x | x
Current version | x | x |
Version 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.20.3.3. hammer content-view component remove Copy linkLink copied to clipboard!
Remove components from the content view
Usage: hammer content-view component remove [OPTIONS] Options: --component-content-view-ids VALUE Array of component content view identfiers to remove. Comma separated list of values --component-content-views VALUE Array of component content view names to remove. Comma separated list of values --component-ids LIST Array of content view component IDs to remove. Identifier of the component association --composite-content-view VALUE Name of the composite content view --composite-content-view-id NUMBER Composite content view identifier --organization VALUE Organization name to search by --organization-id VALUE Organization ID to search by --organization-label VALUE Organization label to search by -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
Usage:
hammer content-view component remove [OPTIONS]
Options:
--component-content-view-ids VALUE Array of component content view identfiers to remove. Comma separated list of
values
--component-content-views VALUE Array of component content view names to remove. Comma separated list of values
--component-ids LIST Array of content view component IDs to remove. Identifier of the component
association
--composite-content-view VALUE Name of the composite content view
--composite-content-view-id NUMBER Composite content view identifier
--organization VALUE Organization name to search by
--organization-id VALUE Organization ID to search by
--organization-label VALUE Organization label to search by
-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.20.3.4. hammer content-view component update Copy linkLink copied to clipboard!
Update a component associated with the content view
Usage: hammer content-view component update [OPTIONS] Options: --component-content-view VALUE Content View name of the component who's latest version is desired --component-content-view-id VALUE Content View identifier of the component who's latest version is desired --component-content-view-version VALUE Content View Version number of the component. Either use this or --component-content-view-version-id option --component-content-view-version-id VALUE Content View Version identifier of the component --composite-content-view VALUE Name of the composite content view --composite-content-view-id NUMBER Composite content view identifier --id NUMBER Content view component ID. Identifier of the component association --latest Select the latest version of the components content view is desired --organization VALUE Organization name to search by --organization-id VALUE Organization ID to search by --organization-label VALUE Organization label to search by -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
Usage:
hammer content-view component update [OPTIONS]
Options:
--component-content-view VALUE Content View name of the component who's latest version is desired
--component-content-view-id VALUE Content View identifier of the component who's latest version is desired
--component-content-view-version VALUE Content View Version number of the component. Either use this or
--component-content-view-version-id option
--component-content-view-version-id VALUE Content View Version identifier of the component
--composite-content-view VALUE Name of the composite content view
--composite-content-view-id NUMBER Composite content view identifier
--id NUMBER Content view component ID. Identifier of the component association
--latest Select the latest version of the components content view is desired
--organization VALUE Organization name to search by
--organization-id VALUE Organization ID to search by
--organization-label VALUE Organization label to search by
-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.20.4. hammer content-view copy Copy linkLink copied to clipboard!
Copy a content view
Usage: hammer content-view copy [OPTIONS] Options: --id NUMBER Content view numeric identifier --name VALUE Content view name to search by --new-name VALUE New content view name --organization VALUE Organization name to search by --organization-id VALUE Organization ID to search by --organization-label VALUE Organization label to search by -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
Usage:
hammer content-view copy [OPTIONS]
Options:
--id NUMBER Content view numeric identifier
--name VALUE Content view name to search by
--new-name VALUE New content view name
--organization VALUE Organization name to search by
--organization-id VALUE Organization ID to search by
--organization-label VALUE Organization label to search by
-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.20.5. hammer content-view create Copy linkLink copied to clipboard!
Create a content view
Usage: hammer content-view create [OPTIONS] Options: --auto-publish BOOLEAN Enable/Disable auto publish of composite view --component-ids LIST List of component content view version ids for composite views --composite Create a composite content view --description VALUE Description for the content view --import-only Designate this Content View for importing from upstream servers only. --label VALUE Content view label --name VALUE Name of the content view --organization VALUE Organization name to search by --organization-id NUMBER Organization identifier --organization-label VALUE Organization label to search by --organization-title VALUE Organization title --repository-ids LIST List of repository ids --solve-dependencies BOOLEAN Solve RPM dependencies by default on Content View publish, defaults to false -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
Usage:
hammer content-view create [OPTIONS]
Options:
--auto-publish BOOLEAN Enable/Disable auto publish of composite view
--component-ids LIST List of component content view version ids for composite views
--composite Create a composite content view
--description VALUE Description for the content view
--import-only Designate this Content View for importing from upstream servers only.
--label VALUE Content view label
--name VALUE Name of the content view
--organization VALUE Organization name to search by
--organization-id NUMBER Organization identifier
--organization-label VALUE Organization label to search by
--organization-title VALUE Organization title
--repository-ids LIST List of repository ids
--solve-dependencies BOOLEAN Solve RPM dependencies by default on Content View publish, defaults to false
-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.20.6. hammer content-view delete Copy linkLink copied to clipboard!
Delete a content view
Usage: hammer content-view delete [OPTIONS] Options: --async Do not wait for the task --id NUMBER Content view numeric identifier --name VALUE Content view name to search by --organization VALUE Organization name to search by --organization-id VALUE Organization ID to search by --organization-label VALUE Organization label to search by -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
Usage:
hammer content-view delete [OPTIONS]
Options:
--async Do not wait for the task
--id NUMBER Content view numeric identifier
--name VALUE Content view name to search by
--organization VALUE Organization name to search by
--organization-id VALUE Organization ID to search by
--organization-label VALUE Organization label to search by
-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.20.7. hammer content-view filter Copy linkLink copied to clipboard!
View and manage filters
Usage: hammer content-view filter [OPTIONS] SUBCOMMAND [ARG] ... Parameters: SUBCOMMAND Subcommand [ARG] ... Subcommand arguments Subcommands: add-repository Associate a resource create Create a filter for a content view delete, destroy Delete a filter info, show Show filter info list, index List filters remove-repository Disassociate a resource rule View and manage filter rules update Update a filter Options: -h, --help Print help
Usage:
hammer content-view filter [OPTIONS] SUBCOMMAND [ARG] ...
Parameters:
SUBCOMMAND Subcommand
[ARG] ... Subcommand arguments
Subcommands:
add-repository Associate a resource
create Create a filter for a content view
delete, destroy Delete a filter
info, show Show filter info
list, index List filters
remove-repository Disassociate a resource
rule View and manage filter rules
update Update a filter
Options:
-h, --help Print help
3.20.7.1. hammer content-view filter add-repository Copy linkLink copied to clipboard!
Associate a resource
Usage: hammer content-view filter add-repository [OPTIONS] Options: --content-view VALUE Content view name to search by --content-view-id NUMBER Content view numeric identifier --id VALUE Filter identifier --name VALUE Name to search by --organization VALUE Organization name to search by --organization-id VALUE Organization ID to search by --organization-label VALUE Organization label to search by --product VALUE Product name to search by --product-id NUMBER Product numeric identifier --repository VALUE Repository name to search by --repository-id NUMBER Repository ID -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
Usage:
hammer content-view filter add-repository [OPTIONS]
Options:
--content-view VALUE Content view name to search by
--content-view-id NUMBER Content view numeric identifier
--id VALUE Filter identifier
--name VALUE Name to search by
--organization VALUE Organization name to search by
--organization-id VALUE Organization ID to search by
--organization-label VALUE Organization label to search by
--product VALUE Product name to search by
--product-id NUMBER Product numeric identifier
--repository VALUE Repository name to search by
--repository-id NUMBER Repository ID
-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.20.7.2. hammer content-view filter create Copy linkLink copied to clipboard!
create a filter for a content view
Usage: hammer content-view filter create [OPTIONS] Options: --content-view VALUE Content view name to search by --content-view-id NUMBER Content view identifier --description VALUE Description of the filter --inclusion BOOLEAN Specifies if content should be included or excluded, default: inclusion=false --name VALUE Name of the filter --organization VALUE Organization name to search by --organization-id VALUE Organization ID to search by --organization-label VALUE Organization label to search by --original-module-streams BOOLEAN Add all module streams without errata to the included/excluded list. (module stream filter only) --original-packages BOOLEAN Add all packages without errata to the included/excluded list. (package filter only) --product VALUE Product name to search by --product-id NUMBER Product numeric identifier --repositories LIST --repository-ids LIST List of repository ids --type VALUE Type of filter (e.g. rpm, package_group, erratum, erratum_id, erratum_date, docker, modulemd) -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
Usage:
hammer content-view filter create [OPTIONS]
Options:
--content-view VALUE Content view name to search by
--content-view-id NUMBER Content view identifier
--description VALUE Description of the filter
--inclusion BOOLEAN Specifies if content should be included or excluded, default: inclusion=false
--name VALUE Name of the filter
--organization VALUE Organization name to search by
--organization-id VALUE Organization ID to search by
--organization-label VALUE Organization label to search by
--original-module-streams BOOLEAN Add all module streams without errata to the included/excluded list. (module
stream filter only)
--original-packages BOOLEAN Add all packages without errata to the included/excluded list. (package filter
only)
--product VALUE Product name to search by
--product-id NUMBER Product numeric identifier
--repositories LIST
--repository-ids LIST List of repository ids
--type VALUE Type of filter (e.g. rpm, package_group, erratum, erratum_id, erratum_date,
docker, modulemd)
-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.20.7.3. hammer content-view filter delete Copy linkLink copied to clipboard!
delete a filter
Usage: hammer content-view filter <delete|destroy> [OPTIONS] Options: --content-view VALUE Content view name to search by --content-view-id NUMBER Content view identifier --id NUMBER Filter identifier --name VALUE Name to search by --organization VALUE Organization name to search by --organization-id VALUE Organization ID to search by --organization-label VALUE Organization label to search by -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
Usage:
hammer content-view filter <delete|destroy> [OPTIONS]
Options:
--content-view VALUE Content view name to search by
--content-view-id NUMBER Content view identifier
--id NUMBER Filter identifier
--name VALUE Name to search by
--organization VALUE Organization name to search by
--organization-id VALUE Organization ID to search by
--organization-label VALUE Organization label to search by
-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.20.7.4. hammer content-view filter info Copy linkLink copied to clipboard!
show filter info
Usage: hammer content-view filter <info|show> [OPTIONS] Options: --content-view VALUE Content view name to search by --content-view-id NUMBER Content view identifier --fields LIST Show specified fields or predefined field sets only. (See below) --id NUMBER Filter identifier --name VALUE Name to search by --organization VALUE Organization name to search by --organization-id VALUE Organization ID to search by --organization-label VALUE Organization label to search by -h, --help Print help Predefined field sets: ----------------------|-----|---------|----- FIELDS | ALL | DEFAULT | THIN ----------------------|-----|---------|----- Filter id | x | x | x Name | x | x | x Type | x | x | Inclusion | x | x | Description | x | x | Repositories/id | x | x | Repositories/name | x | x | Repositories/label | x | x | Rules/id | x | x | Rules/name | x | x | Rules/version | x | x | Rules/minimum version | x | x | Rules/maximum version | x | x | Rules/errata id | x | x | Rules/start date | x | x | Rules/end date | x | x | Rules/types | x | x | Rules/created | x | x | Rules/updated | 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
Usage:
hammer content-view filter <info|show> [OPTIONS]
Options:
--content-view VALUE Content view name to search by
--content-view-id NUMBER Content view identifier
--fields LIST Show specified fields or predefined field sets only. (See below)
--id NUMBER Filter identifier
--name VALUE Name to search by
--organization VALUE Organization name to search by
--organization-id VALUE Organization ID to search by
--organization-label VALUE Organization label to search by
-h, --help Print help
Predefined field sets:
----------------------|-----|---------|-----
FIELDS | ALL | DEFAULT | THIN
----------------------|-----|---------|-----
Filter id | x | x | x
Name | x | x | x
Type | x | x |
Inclusion | x | x |
Description | x | x |
Repositories/id | x | x |
Repositories/name | x | x |
Repositories/label | x | x |
Rules/id | x | x |
Rules/name | x | x |
Rules/version | x | x |
Rules/minimum version | x | x |
Rules/maximum version | x | x |
Rules/errata id | x | x |
Rules/start date | x | x |
Rules/end date | x | x |
Rules/types | x | x |
Rules/created | x | x |
Rules/updated | 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.20.7.5. hammer content-view filter list Copy linkLink copied to clipboard!
list filters
Usage: hammer content-view filter <list|index> [OPTIONS] Options: --content-view VALUE Content view name to search by --content-view-id NUMBER Content view identifier --fields LIST Show specified fields or predefined field sets only. (See below) --full-result BOOLEAN Whether or not to show all results --name VALUE Filter content view filters by name --order VALUE Sort field and order, eg. 'id DESC' --organization VALUE Organization name to search by --organization-id VALUE Organization ID to search by --organization-label VALUE Organization label to search by --page NUMBER Page number, starting at 1 --per-page NUMBER Number of results per page to return --search VALUE Search string --types LIST Types of filters -h, --help Print help Predefined field sets: ------------|-----|---------|----- FIELDS | ALL | DEFAULT | THIN ------------|-----|---------|----- Filter id | x | x | x Name | x | x | x Description | x | x | Type | x | x | Inclusion | 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: content_type Values: rpm, package_group, erratum, docker, modulemd inclusion_type Values: include, exclude name string
Usage:
hammer content-view filter <list|index> [OPTIONS]
Options:
--content-view VALUE Content view name to search by
--content-view-id NUMBER Content view identifier
--fields LIST Show specified fields or predefined field sets only. (See below)
--full-result BOOLEAN Whether or not to show all results
--name VALUE Filter content view filters by name
--order VALUE Sort field and order, eg. 'id DESC'
--organization VALUE Organization name to search by
--organization-id VALUE Organization ID to search by
--organization-label VALUE Organization label to search by
--page NUMBER Page number, starting at 1
--per-page NUMBER Number of results per page to return
--search VALUE Search string
--types LIST Types of filters
-h, --help Print help
Predefined field sets:
------------|-----|---------|-----
FIELDS | ALL | DEFAULT | THIN
------------|-----|---------|-----
Filter id | x | x | x
Name | x | x | x
Description | x | x |
Type | x | x |
Inclusion | 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:
content_type Values: rpm, package_group, erratum, docker, modulemd
inclusion_type Values: include, exclude
name string
3.20.7.6. hammer content-view filter remove-repository Copy linkLink copied to clipboard!
Disassociate a resource
Usage: hammer content-view filter remove-repository [OPTIONS] Options: --content-view VALUE Content view name to search by --content-view-id NUMBER Content view numeric identifier --id VALUE Filter identifier --name VALUE Name to search by --organization VALUE Organization name to search by --organization-id VALUE Organization ID to search by --organization-label VALUE Organization label to search by --product VALUE Product name to search by --product-id NUMBER Product numeric identifier --repository VALUE Repository name to search by --repository-id NUMBER Repository ID -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
Usage:
hammer content-view filter remove-repository [OPTIONS]
Options:
--content-view VALUE Content view name to search by
--content-view-id NUMBER Content view numeric identifier
--id VALUE Filter identifier
--name VALUE Name to search by
--organization VALUE Organization name to search by
--organization-id VALUE Organization ID to search by
--organization-label VALUE Organization label to search by
--product VALUE Product name to search by
--product-id NUMBER Product numeric identifier
--repository VALUE Repository name to search by
--repository-id NUMBER Repository ID
-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.20.7.7. hammer content-view filter rule Copy linkLink copied to clipboard!
View and manage filter rules
Usage: hammer content-view filter rule [OPTIONS] SUBCOMMAND [ARG] ... Parameters: SUBCOMMAND Subcommand [ARG] ... Subcommand arguments Subcommands: create Create a filter rule. The parameters included should be based upon the filter type. delete, destroy Delete a filter rule info, show Show filter rule info list, index List filter rules update Update a filter rule. The parameters included should be based upon the filter type. Options: -h, --help Print help
Usage:
hammer content-view filter rule [OPTIONS] SUBCOMMAND [ARG] ...
Parameters:
SUBCOMMAND Subcommand
[ARG] ... Subcommand arguments
Subcommands:
create Create a filter rule. The parameters included should be based upon the filter
type.
delete, destroy Delete a filter rule
info, show Show filter rule info
list, index List filter rules
update Update a filter rule. The parameters included should be based upon the filter
type.
Options:
-h, --help Print help
3.20.7.7.1. hammer content-view filter rule create Copy linkLink copied to clipboard!
Create a filter rule. The parameters included should be based upon the filter type.
Usage: hammer content-view filter rule create [OPTIONS] Options: --architecture VALUE Package: architecture --content-view VALUE Content view name to search by --content-view-filter VALUE Name to search by --content-view-filter-id NUMBER Filter identifier --content-view-id NUMBER --date-type VALUE Erratum: search using the 'Issued On' or 'Updated On' column of the errata. Values are 'issued'/'updated' --end-date VALUE Erratum: end date (YYYY-MM-DD) --errata-id VALUE Erratum: id --errata-ids LIST Erratum: IDs or a select all object --max-version VALUE Package: maximum version --min-version VALUE Package: minimum version --module-stream-ids LIST Module stream ids --name LIST Package, package group, or docker tag names --names VALUE Package and package group names --organization VALUE Organization name to search by --organization-id VALUE Organization ID to search by --organization-label VALUE Organization label to search by --start-date VALUE Erratum: start date (YYYY-MM-DD) --types LIST Erratum: types (enhancement, bugfix, security) --uuid VALUE Package group: uuid --version VALUE Package: version -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
Usage:
hammer content-view filter rule create [OPTIONS]
Options:
--architecture VALUE Package: architecture
--content-view VALUE Content view name to search by
--content-view-filter VALUE Name to search by
--content-view-filter-id NUMBER Filter identifier
--content-view-id NUMBER
--date-type VALUE Erratum: search using the 'Issued On' or 'Updated On' column of the errata.
Values are 'issued'/'updated'
--end-date VALUE Erratum: end date (YYYY-MM-DD)
--errata-id VALUE Erratum: id
--errata-ids LIST Erratum: IDs or a select all object
--max-version VALUE Package: maximum version
--min-version VALUE Package: minimum version
--module-stream-ids LIST Module stream ids
--name LIST Package, package group, or docker tag names
--names VALUE Package and package group names
--organization VALUE Organization name to search by
--organization-id VALUE Organization ID to search by
--organization-label VALUE Organization label to search by
--start-date VALUE Erratum: start date (YYYY-MM-DD)
--types LIST Erratum: types (enhancement, bugfix, security)
--uuid VALUE Package group: uuid
--version VALUE Package: version
-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.20.7.7.2. hammer content-view filter rule delete Copy linkLink copied to clipboard!
Delete a filter rule
Usage: hammer content-view filter rule <delete|destroy> [OPTIONS] Options: --content-view VALUE Content view name to search by --content-view-filter VALUE Name to search by --content-view-filter-id NUMBER Filter identifier --content-view-id NUMBER --id NUMBER Rule identifier --name VALUE Name to search by --organization VALUE Organization name to search by --organization-id VALUE Organization ID to search by --organization-label VALUE Organization label to search by -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
Usage:
hammer content-view filter rule <delete|destroy> [OPTIONS]
Options:
--content-view VALUE Content view name to search by
--content-view-filter VALUE Name to search by
--content-view-filter-id NUMBER Filter identifier
--content-view-id NUMBER
--id NUMBER Rule identifier
--name VALUE Name to search by
--organization VALUE Organization name to search by
--organization-id VALUE Organization ID to search by
--organization-label VALUE Organization label to search by
-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.20.7.7.3. hammer content-view filter rule info Copy linkLink copied to clipboard!
Show filter rule info
Usage: hammer content-view filter rule <info|show> [OPTIONS] Options: --content-view VALUE Content view name to search by --content-view-filter VALUE Name to search by --content-view-filter-id NUMBER Filter identifier --content-view-id NUMBER --fields LIST Show specified fields or predefined field sets only. (See below) --id NUMBER Rule identifier --name VALUE Name to search by --organization VALUE Organization name to search by --organization-id VALUE Organization ID to search by --organization-label VALUE Organization label to search by -h, --help Print help Predefined field sets: ----------------|-----|---------|----- FIELDS | ALL | DEFAULT | THIN ----------------|-----|---------|----- Rule id | x | x | x Filter id | x | x | Name | x | x | x Version | x | x | Minimum version | x | x | Maximum version | x | x | Architecture | x | x | Errata id | x | x | Start date | x | x | End date | x | x | Date type | x | x | Types | x | x | Created | x | x | Updated | 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
Usage:
hammer content-view filter rule <info|show> [OPTIONS]
Options:
--content-view VALUE Content view name to search by
--content-view-filter VALUE Name to search by
--content-view-filter-id NUMBER Filter identifier
--content-view-id NUMBER
--fields LIST Show specified fields or predefined field sets only. (See below)
--id NUMBER Rule identifier
--name VALUE Name to search by
--organization VALUE Organization name to search by
--organization-id VALUE Organization ID to search by
--organization-label VALUE Organization label to search by
-h, --help Print help
Predefined field sets:
----------------|-----|---------|-----
FIELDS | ALL | DEFAULT | THIN
----------------|-----|---------|-----
Rule id | x | x | x
Filter id | x | x |
Name | x | x | x
Version | x | x |
Minimum version | x | x |
Maximum version | x | x |
Architecture | x | x |
Errata id | x | x |
Start date | x | x |
End date | x | x |
Date type | x | x |
Types | x | x |
Created | x | x |
Updated | 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.20.7.7.4. hammer content-view filter rule list Copy linkLink copied to clipboard!
List filter rules
Usage: hammer content-view filter rule <list|index> [OPTIONS] Options: --content-view VALUE Content view name to search by --content-view-filter VALUE Name to search by --content-view-filter-id NUMBER Filter identifier --content-view-id NUMBER --errata-id VALUE Errata_id of the content view filter rule --fields LIST Show specified fields or predefined field sets only. (See below) --full-result BOOLEAN Whether or not to show all results --name VALUE Name of the content view filter rule --order VALUE Sort field and order, eg. 'id DESC' --organization VALUE Organization name to search by --organization-id VALUE Organization ID to search by --organization-label VALUE Organization label to search by --page NUMBER Page number, starting at 1 --per-page NUMBER Number of results per page to return --search VALUE Search string -h, --help Print help Predefined field sets: ----------------|-----|---------|----- FIELDS | ALL | DEFAULT | THIN ----------------|-----|---------|----- Rule id | x | x | x Filter id | x | x | Name | x | x | x Version | x | x | Minimum version | x | x | Maximum version | x | x | Architecture | x | x | Errata id | x | x | Start date | x | x | End date | 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
Usage:
hammer content-view filter rule <list|index> [OPTIONS]
Options:
--content-view VALUE Content view name to search by
--content-view-filter VALUE Name to search by
--content-view-filter-id NUMBER Filter identifier
--content-view-id NUMBER
--errata-id VALUE Errata_id of the content view filter rule
--fields LIST Show specified fields or predefined field sets only. (See below)
--full-result BOOLEAN Whether or not to show all results
--name VALUE Name of the content view filter rule
--order VALUE Sort field and order, eg. 'id DESC'
--organization VALUE Organization name to search by
--organization-id VALUE Organization ID to search by
--organization-label VALUE Organization label to search by
--page NUMBER Page number, starting at 1
--per-page NUMBER Number of results per page to return
--search VALUE Search string
-h, --help Print help
Predefined field sets:
----------------|-----|---------|-----
FIELDS | ALL | DEFAULT | THIN
----------------|-----|---------|-----
Rule id | x | x | x
Filter id | x | x |
Name | x | x | x
Version | x | x |
Minimum version | x | x |
Maximum version | x | x |
Architecture | x | x |
Errata id | x | x |
Start date | x | x |
End date | 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.20.7.7.5. hammer content-view filter rule update Copy linkLink copied to clipboard!
Update a filter rule. The parameters included should be based upon the filter type.
Usage: hammer content-view filter rule update [OPTIONS] Options: --architecture VALUE Package: architecture --content-view VALUE Content view name to search by --content-view-filter VALUE Name to search by --content-view-filter-id NUMBER Filter identifier --content-view-id NUMBER --end-date VALUE Erratum: end date (YYYY-MM-DD) --errata-id VALUE Erratum: id --id NUMBER Rule identifier --max-version VALUE Package: maximum version --min-version VALUE Package: minimum version --name VALUE Package, package group, or docker tag: name --new-name VALUE Package, package group, or docker tag: name --organization VALUE Organization name to search by --organization-id VALUE Organization ID to search by --organization-label VALUE Organization label to search by --start-date VALUE Erratum: start date (YYYY-MM-DD) --types LIST Erratum: types (enhancement, bugfix, security) --version VALUE Package: version -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
Usage:
hammer content-view filter rule update [OPTIONS]
Options:
--architecture VALUE Package: architecture
--content-view VALUE Content view name to search by
--content-view-filter VALUE Name to search by
--content-view-filter-id NUMBER Filter identifier
--content-view-id NUMBER
--end-date VALUE Erratum: end date (YYYY-MM-DD)
--errata-id VALUE Erratum: id
--id NUMBER Rule identifier
--max-version VALUE Package: maximum version
--min-version VALUE Package: minimum version
--name VALUE Package, package group, or docker tag: name
--new-name VALUE Package, package group, or docker tag: name
--organization VALUE Organization name to search by
--organization-id VALUE Organization ID to search by
--organization-label VALUE Organization label to search by
--start-date VALUE Erratum: start date (YYYY-MM-DD)
--types LIST Erratum: types (enhancement, bugfix, security)
--version VALUE Package: version
-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.20.7.8. hammer content-view filter update Copy linkLink copied to clipboard!
update a filter
Usage: hammer content-view filter update [OPTIONS] Options: --content-view VALUE Content view name to search by --content-view-id NUMBER Content view identifier --description VALUE Description of the filter --id NUMBER Filter identifier --inclusion BOOLEAN Specifies if content should be included or excluded, default: inclusion=false --name VALUE New name for the filter --new-name VALUE New name for the filter --organization VALUE Organization name to search by --organization-id VALUE Organization ID to search by --organization-label VALUE Organization label to search by --original-module-streams BOOLEAN Add all module streams without errata to the included/excluded list. (module stream filter only) --original-packages BOOLEAN Add all packages without errata to the included/excluded list. (package filter only) --repositories LIST --repository-ids LIST List of repository ids -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
Usage:
hammer content-view filter update [OPTIONS]
Options:
--content-view VALUE Content view name to search by
--content-view-id NUMBER Content view identifier
--description VALUE Description of the filter
--id NUMBER Filter identifier
--inclusion BOOLEAN Specifies if content should be included or excluded, default: inclusion=false
--name VALUE New name for the filter
--new-name VALUE New name for the filter
--organization VALUE Organization name to search by
--organization-id VALUE Organization ID to search by
--organization-label VALUE Organization label to search by
--original-module-streams BOOLEAN Add all module streams without errata to the included/excluded list. (module
stream filter only)
--original-packages BOOLEAN Add all packages without errata to the included/excluded list. (package filter
only)
--repositories LIST
--repository-ids LIST List of repository ids
-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.20.8. hammer content-view info Copy linkLink copied to clipboard!
Show a content view
Usage: hammer content-view <info|show> [OPTIONS] Options: --fields LIST Show specified fields or predefined field sets only. (See below) --id NUMBER Content view numeric identifier --name VALUE Content view name to search by --organization VALUE Organization name to search by --organization-id VALUE Organization ID to search by --organization-label VALUE Organization label to search by -h, --help Print help Predefined field sets: -----------------------------------|-----|---------|----- FIELDS | ALL | DEFAULT | THIN -----------------------------------|-----|---------|----- Id | x | x | x Name | x | x | x Label | x | x | Composite | x | x | Description | x | x | Content host count | x | x | Solve dependencies | x | x | Organization | x | x | Yum repositories/id | x | x | Yum repositories/name | x | x | Yum repositories/label | x | x | Container image repositories/id | x | x | Container image repositories/name | x | x | Container image repositories/label | x | x | Ostree repositories/id | x | x | Ostree repositories/name | x | x | Ostree repositories/label | x | x | Lifecycle environments/id | x | x | Lifecycle environments/name | x | x | Versions/id | x | x | Versions/version | x | x | Versions/published | x | x | Components/id | x | x | Components/name | x | x | Activation keys/ | 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
Usage:
hammer content-view <info|show> [OPTIONS]
Options:
--fields LIST Show specified fields or predefined field sets only. (See below)
--id NUMBER Content view numeric identifier
--name VALUE Content view name to search by
--organization VALUE Organization name to search by
--organization-id VALUE Organization ID to search by
--organization-label VALUE Organization label to search by
-h, --help Print help
Predefined field sets:
-----------------------------------|-----|---------|-----
FIELDS | ALL | DEFAULT | THIN
-----------------------------------|-----|---------|-----
Id | x | x | x
Name | x | x | x
Label | x | x |
Composite | x | x |
Description | x | x |
Content host count | x | x |
Solve dependencies | x | x |
Organization | x | x |
Yum repositories/id | x | x |
Yum repositories/name | x | x |
Yum repositories/label | x | x |
Container image repositories/id | x | x |
Container image repositories/name | x | x |
Container image repositories/label | x | x |
Ostree repositories/id | x | x |
Ostree repositories/name | x | x |
Ostree repositories/label | x | x |
Lifecycle environments/id | x | x |
Lifecycle environments/name | x | x |
Versions/id | x | x |
Versions/version | x | x |
Versions/published | x | x |
Components/id | x | x |
Components/name | x | x |
Activation keys/ | 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.20.9. hammer content-view list Copy linkLink copied to clipboard!
List content views
Usage: hammer content-view <list|index> [OPTIONS] Options: --composite BOOLEAN Filter only composite content views --environment VALUE Lifecycle environment name to search by (--environment is deprecated: Use --lifecycle-environment instead) --environment-id NUMBER (--environment-id is deprecated: Use --lifecycle-environment-id instead) --fields LIST Show specified fields or predefined field sets only. (See below) --full-result BOOLEAN Whether or not to show all results --include-generated BOOLEAN Include content views generated by imports/exports. Defaults to false --label VALUE Label of the content view --lifecycle-environment VALUE Lifecycle environment name to search by --lifecycle-environment-id NUMBER Environment identifier --name VALUE Name of the content view --noncomposite BOOLEAN Filter out composite content views --nondefault BOOLEAN Filter out default content views --order VALUE Sort field and order, eg. 'id DESC' --organization VALUE Organization name to search by --organization-id NUMBER Organization identifier --organization-label VALUE Organization label to search by --organization-title VALUE Organization title --page NUMBER Page number, starting at 1 --per-page NUMBER Number of results per page to return --search VALUE Search string --without LIST Do not include this array of content views -h, --help Print help Predefined field sets: ----------------|-----|---------|----- FIELDS | ALL | DEFAULT | THIN ----------------|-----|---------|----- Content view id | x | x | x Name | x | x | x Label | x | x | Composite | x | x | Last published | x | x | Repository ids | 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: composite boolean generated_for integer label string name string organization_id integer
Usage:
hammer content-view <list|index> [OPTIONS]
Options:
--composite BOOLEAN Filter only composite content views
--environment VALUE Lifecycle environment name to search by (--environment is deprecated: Use
--lifecycle-environment instead)
--environment-id NUMBER (--environment-id is deprecated: Use --lifecycle-environment-id instead)
--fields LIST Show specified fields or predefined field sets only. (See below)
--full-result BOOLEAN Whether or not to show all results
--include-generated BOOLEAN Include content views generated by imports/exports. Defaults to false
--label VALUE Label of the content view
--lifecycle-environment VALUE Lifecycle environment name to search by
--lifecycle-environment-id NUMBER Environment identifier
--name VALUE Name of the content view
--noncomposite BOOLEAN Filter out composite content views
--nondefault BOOLEAN Filter out default content views
--order VALUE Sort field and order, eg. 'id DESC'
--organization VALUE Organization name to search by
--organization-id NUMBER Organization identifier
--organization-label VALUE Organization label to search by
--organization-title VALUE Organization title
--page NUMBER Page number, starting at 1
--per-page NUMBER Number of results per page to return
--search VALUE Search string
--without LIST Do not include this array of content views
-h, --help Print help
Predefined field sets:
----------------|-----|---------|-----
FIELDS | ALL | DEFAULT | THIN
----------------|-----|---------|-----
Content view id | x | x | x
Name | x | x | x
Label | x | x |
Composite | x | x |
Last published | x | x |
Repository ids | 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:
composite boolean
generated_for integer
label string
name string
organization_id integer
3.20.10. hammer content-view publish Copy linkLink copied to clipboard!
Publish a content view
Usage: hammer content-view publish [OPTIONS] Options: --async Do not wait for the task --description VALUE Description for the new published content view version --id NUMBER Content view identifier --is-force-promote BOOLEAN Force content view promotion and bypass lifecycle environment restriction --lifecycle-environment-ids LIST Identifiers for Lifecycle Environment --lifecycle-environments LIST Names for Lifecycle Environment --major NUMBER Override the major version number --minor NUMBER Override the minor version number --name VALUE Content view name to search by --organization VALUE Organization name to search by --organization-id VALUE Organization ID to search by --organization-label VALUE Organization label to search by --repos-units SCHEMA Specify the list of units in each repo -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 Following parameters accept format defined by its schema (bold are required; <> contains acceptable type; [] contains acceptable value): --repos-units "label=<string>\,rpm_filenames=<array>, ... "
Usage:
hammer content-view publish [OPTIONS]
Options:
--async Do not wait for the task
--description VALUE Description for the new published content view version
--id NUMBER Content view identifier
--is-force-promote BOOLEAN Force content view promotion and bypass lifecycle environment restriction
--lifecycle-environment-ids LIST Identifiers for Lifecycle Environment
--lifecycle-environments LIST Names for Lifecycle Environment
--major NUMBER Override the major version number
--minor NUMBER Override the minor version number
--name VALUE Content view name to search by
--organization VALUE Organization name to search by
--organization-id VALUE Organization ID to search by
--organization-label VALUE Organization label to search by
--repos-units SCHEMA Specify the list of units in each repo
-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
Following parameters accept format defined by its schema (bold are required; <> contains acceptable type; [] contains acceptable value):
--repos-units "label=<string>\,rpm_filenames=<array>, ... "
3.20.11. hammer content-view purge Copy linkLink copied to clipboard!
Delete old versions of a content view
Usage: hammer content-view purge [OPTIONS] Options: --async Do not wait for the task --count NUMBER Count of unused versions to keep Default: 3 --id VALUE Content View numeric identifier --name VALUE Content View name --organization VALUE Organization name to search by --organization-id VALUE Organization ID to search by --organization-label VALUE Organization label to search by -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
Usage:
hammer content-view purge [OPTIONS]
Options:
--async Do not wait for the task
--count NUMBER Count of unused versions to keep
Default: 3
--id VALUE Content View numeric identifier
--name VALUE Content View name
--organization VALUE Organization name to search by
--organization-id VALUE Organization ID to search by
--organization-label VALUE Organization label to search by
-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.20.12. hammer content-view remove Copy linkLink copied to clipboard!
Remove versions and/or environments from a content view and reassign systems and keys
Usage: hammer content-view remove [OPTIONS] Options: --async Do not wait for the task --content-view-version-ids LIST Content view version identifiers to be deleted --content-view-versions LIST --destroy-content-view BOOLEAN Delete the content view with all the versions and environments --environment-ids LIST (--environment-ids is deprecated: Use --lifecycle-environment-ids instead) --environments LIST (--environments is deprecated: Use --lifecycle-environments instead) --id NUMBER Content view numeric identifier --key-content-view-id NUMBER Content view to reassign orphaned activation keys to --key-environment-id NUMBER Environment to reassign orphaned activation keys to --lifecycle-environment-ids LIST Environment numeric identifiers to be removed --name VALUE Content view name to search by --organization VALUE Organization name to search by --organization-id VALUE Organization ID to search by --organization-label VALUE Organization label to search by --system-content-view-id NUMBER Content view to reassign orphaned systems to --system-environment-id NUMBER Environment to reassign orphaned systems to -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
Usage:
hammer content-view remove [OPTIONS]
Options:
--async Do not wait for the task
--content-view-version-ids LIST Content view version identifiers to be deleted
--content-view-versions LIST
--destroy-content-view BOOLEAN Delete the content view with all the versions and environments
--environment-ids LIST (--environment-ids is deprecated: Use --lifecycle-environment-ids instead)
--environments LIST (--environments is deprecated: Use --lifecycle-environments instead)
--id NUMBER Content view numeric identifier
--key-content-view-id NUMBER Content view to reassign orphaned activation keys to
--key-environment-id NUMBER Environment to reassign orphaned activation keys to
--lifecycle-environment-ids LIST Environment numeric identifiers to be removed
--name VALUE Content view name to search by
--organization VALUE Organization name to search by
--organization-id VALUE Organization ID to search by
--organization-label VALUE Organization label to search by
--system-content-view-id NUMBER Content view to reassign orphaned systems to
--system-environment-id NUMBER Environment to reassign orphaned systems to
-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.20.13. hammer content-view remove-from-environment Copy linkLink copied to clipboard!
Remove a content view from an environment
Usage: hammer content-view remove-from-environment [OPTIONS] Options: --async Do not wait for the task --environment VALUE Lifecycle environment name to search by (--environment is deprecated: Use --lifecycle-environment instead) --environment-id NUMBER (--environment-id is deprecated: Use --lifecycle-environment-id instead) --id NUMBER Content view numeric identifier --lifecycle-environment VALUE Lifecycle environment name to search by --lifecycle-environment-id NUMBER Environment numeric identifier --name VALUE Content view name to search by --organization VALUE Organization name to search by --organization-id VALUE Organization ID to search by --organization-label VALUE Organization label to search by -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
Usage:
hammer content-view remove-from-environment [OPTIONS]
Options:
--async Do not wait for the task
--environment VALUE Lifecycle environment name to search by (--environment is deprecated: Use
--lifecycle-environment instead)
--environment-id NUMBER (--environment-id is deprecated: Use --lifecycle-environment-id instead)
--id NUMBER Content view numeric identifier
--lifecycle-environment VALUE Lifecycle environment name to search by
--lifecycle-environment-id NUMBER Environment numeric identifier
--name VALUE Content view name to search by
--organization VALUE Organization name to search by
--organization-id VALUE Organization ID to search by
--organization-label VALUE Organization label to search by
-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.20.14. hammer content-view remove-repository Copy linkLink copied to clipboard!
Disassociate a resource
Usage: hammer content-view remove-repository [OPTIONS] Options: --id VALUE Content view numeric identifier --name VALUE Content view name to search by --organization VALUE Organization name to search by --organization-id VALUE Organization ID to search by --organization-label VALUE Organization label to search by --product VALUE Product name to search by --product-id NUMBER Product numeric identifier --repository VALUE Repository name to search by --repository-id NUMBER Repository ID -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
Usage:
hammer content-view remove-repository [OPTIONS]
Options:
--id VALUE Content view numeric identifier
--name VALUE Content view name to search by
--organization VALUE Organization name to search by
--organization-id VALUE Organization ID to search by
--organization-label VALUE Organization label to search by
--product VALUE Product name to search by
--product-id NUMBER Product numeric identifier
--repository VALUE Repository name to search by
--repository-id NUMBER Repository ID
-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.20.15. hammer content-view remove-version Copy linkLink copied to clipboard!
Remove a content view version from a composite view
Usage: hammer content-view remove-version [OPTIONS] Options: --content-view VALUE Content view name to search by --content-view-id NUMBER Content view numeric identifier --content-view-version VALUE Content view version number --content-view-version-id NUMBER Content view version identifier --id VALUE Content view numeric identifier --name VALUE Content view name to search by --organization VALUE Organization name to search by --organization-id VALUE Organization ID to search by --organization-label VALUE Organization label to search by -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
Usage:
hammer content-view remove-version [OPTIONS]
Options:
--content-view VALUE Content view name to search by
--content-view-id NUMBER Content view numeric identifier
--content-view-version VALUE Content view version number
--content-view-version-id NUMBER Content view version identifier
--id VALUE Content view numeric identifier
--name VALUE Content view name to search by
--organization VALUE Organization name to search by
--organization-id VALUE Organization ID to search by
--organization-label VALUE Organization label to search by
-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.20.16. hammer content-view update Copy linkLink copied to clipboard!
Update a content view
Usage: hammer content-view update [OPTIONS] Options: --auto-publish BOOLEAN Enable/Disable auto publish of composite view --component-ids LIST List of component content view version ids for composite views --description VALUE Description for the content view --id NUMBER Content view identifier --import-only BOOLEAN Designate this Content View for importing from upstream servers only. Defaults to false --name VALUE New name for the content view --new-name VALUE New name for the content view --organization VALUE Organization name to search by --organization-id VALUE Organization ID to search by --organization-label VALUE Organization label to search by --repository-ids LIST List of repository ids --solve-dependencies BOOLEAN Solve RPM dependencies by default on Content View publish, defaults to false -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
Usage:
hammer content-view update [OPTIONS]
Options:
--auto-publish BOOLEAN Enable/Disable auto publish of composite view
--component-ids LIST List of component content view version ids for composite views
--description VALUE Description for the content view
--id NUMBER Content view identifier
--import-only BOOLEAN Designate this Content View for importing from upstream servers only. Defaults
to false
--name VALUE New name for the content view
--new-name VALUE New name for the content view
--organization VALUE Organization name to search by
--organization-id VALUE Organization ID to search by
--organization-label VALUE Organization label to search by
--repository-ids LIST List of repository ids
--solve-dependencies BOOLEAN Solve RPM dependencies by default on Content View publish, defaults to false
-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.20.17. hammer content-view version Copy linkLink copied to clipboard!
View and manage content view versions
Usage: hammer content-view version [OPTIONS] SUBCOMMAND [ARG] ... Parameters: SUBCOMMAND Subcommand [ARG] ... Subcommand arguments Subcommands: delete Remove content view version incremental-update Perform an Incremental Update on one or more Content View Versions info, show Show content view version list, index List content view versions promote Promote a content view version republish-repositories Forces a republish of the version's repositories' metadata update Update a content view version Options: -h, --help Print help
Usage:
hammer content-view version [OPTIONS] SUBCOMMAND [ARG] ...
Parameters:
SUBCOMMAND Subcommand
[ARG] ... Subcommand arguments
Subcommands:
delete Remove content view version
incremental-update Perform an Incremental Update on one or more Content View Versions
info, show Show content view version
list, index List content view versions
promote Promote a content view version
republish-repositories Forces a republish of the version's repositories' metadata
update Update a content view version
Options:
-h, --help Print help
3.20.17.1. hammer content-view version delete Copy linkLink copied to clipboard!
Remove content view version
Usage: hammer content-view version delete [OPTIONS] Options: --async Do not wait for the task --content-view VALUE Content view name to search by --content-view-id NUMBER Content view numeric identifier --environment VALUE Lifecycle environment name to search by (--environment is deprecated: Use --lifecycle-environment instead) --environment-id NUMBER (--environment-id is deprecated: Use --lifecycle-environment-id instead) --id NUMBER Content view version identifier --lifecycle-environment VALUE Lifecycle environment name to search by --lifecycle-environment-id NUMBER ID of the environment --organization VALUE Organization name to search by --organization-id NUMBER Organization ID --organization-label VALUE Organization label to search by --organization-title VALUE Organization title --version VALUE Content view version 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
Usage:
hammer content-view version delete [OPTIONS]
Options:
--async Do not wait for the task
--content-view VALUE Content view name to search by
--content-view-id NUMBER Content view numeric identifier
--environment VALUE Lifecycle environment name to search by (--environment is deprecated: Use
--lifecycle-environment instead)
--environment-id NUMBER (--environment-id is deprecated: Use --lifecycle-environment-id instead)
--id NUMBER Content view version identifier
--lifecycle-environment VALUE Lifecycle environment name to search by
--lifecycle-environment-id NUMBER ID of the environment
--organization VALUE Organization name to search by
--organization-id NUMBER Organization ID
--organization-label VALUE Organization label to search by
--organization-title VALUE Organization title
--version VALUE Content view version 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.20.17.2. hammer content-view version incremental-update Copy linkLink copied to clipboard!
Perform an Incremental Update on one or more Content View Versions
Usage: hammer content-view version incremental-update [OPTIONS] Options: --async Do not wait for the task --content-view-version VALUE Content view version number --content-view-version-id NUMBER Content View Version Ids to perform an incremental update on. May contain composites as well as one or more components to update. --deb-ids LIST Deb Package ids to copy into the new versions --debs LIST --description VALUE The description for the new generated Content View Versions --errata-ids LIST Errata ids to copy into the new versions --host-ids LIST IDs of hosts to update --lifecycle-environment-ids LIST List of lifecycle environment IDs to update the content view version in --lifecycle-environments LIST List of lifecycle environment names to update the content view version in --organization VALUE Organization name for resolving lifecycle environment names --organization-id VALUE Organization id for resolving lifecycle environment names --package-ids LIST Package ids to copy into the new versions --packages LIST --propagate-all-composites BOOLEAN If true, will publish a new composite version using any specified content_view_version_id that has been promoted to a lifecycle environment --resolve-dependencies BOOLEAN If true, when adding the specified errata or packages, any needed dependencies will be copied as well. Defaults to true --update-all-hosts BOOLEAN Update all editable and applicable hosts within the specified Content View and \ Lifecycle Environments -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
Usage:
hammer content-view version incremental-update [OPTIONS]
Options:
--async Do not wait for the task
--content-view-version VALUE Content view version number
--content-view-version-id NUMBER Content View Version Ids to perform an incremental update on. May contain
composites as well as one or more components to update.
--deb-ids LIST Deb Package ids to copy into the new versions
--debs LIST
--description VALUE The description for the new generated Content View Versions
--errata-ids LIST Errata ids to copy into the new versions
--host-ids LIST IDs of hosts to update
--lifecycle-environment-ids LIST List of lifecycle environment IDs to update the content view version in
--lifecycle-environments LIST List of lifecycle environment names to update the content view version in
--organization VALUE Organization name for resolving lifecycle environment names
--organization-id VALUE Organization id for resolving lifecycle environment names
--package-ids LIST Package ids to copy into the new versions
--packages LIST
--propagate-all-composites BOOLEAN If true, will publish a new composite version using any specified
content_view_version_id that has been promoted to a lifecycle environment
--resolve-dependencies BOOLEAN If true, when adding the specified errata or packages, any needed dependencies
will be copied as well. Defaults to true
--update-all-hosts BOOLEAN Update all editable and applicable hosts within the specified Content View and \
Lifecycle Environments
-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.20.17.3. hammer content-view version info Copy linkLink copied to clipboard!
Show content view version
Usage: hammer content-view version <info|show> [OPTIONS] Options: --content-view VALUE Content view name to search by --content-view-id NUMBER Content view numeric identifier --environment VALUE Lifecycle environment name to search by (--environment is deprecated: Use --lifecycle-environment instead) --environment-id NUMBER (--environment-id is deprecated: Use --lifecycle-environment-id instead) --fields LIST Show specified fields or predefined field sets only. (See below) --id NUMBER Content view version identifier --lifecycle-environment VALUE Lifecycle environment name to search by --lifecycle-environment-id NUMBER ID of the environment --organization VALUE Organization name to search by --organization-id NUMBER Organization ID --organization-label VALUE Organization label to search by --organization-title VALUE Organization title --version VALUE Content view version number -h, --help Print help Predefined field sets: -----------------------------|-----|---------|----- FIELDS | ALL | DEFAULT | THIN -----------------------------|-----|---------|----- Id | x | x | x Name | x | x | Version | x | x | x Description | x | x | Content view id | x | x | Content view name | x | x | Content view label | x | x | Lifecycle environments/id | x | x | Lifecycle environments/name | x | x | Lifecycle environments/label | x | x | Repositories/id | x | x | Repositories/name | x | x | Repositories/label | 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
Usage:
hammer content-view version <info|show> [OPTIONS]
Options:
--content-view VALUE Content view name to search by
--content-view-id NUMBER Content view numeric identifier
--environment VALUE Lifecycle environment name to search by (--environment is deprecated: Use
--lifecycle-environment instead)
--environment-id NUMBER (--environment-id is deprecated: Use --lifecycle-environment-id instead)
--fields LIST Show specified fields or predefined field sets only. (See below)
--id NUMBER Content view version identifier
--lifecycle-environment VALUE Lifecycle environment name to search by
--lifecycle-environment-id NUMBER ID of the environment
--organization VALUE Organization name to search by
--organization-id NUMBER Organization ID
--organization-label VALUE Organization label to search by
--organization-title VALUE Organization title
--version VALUE Content view version number
-h, --help Print help
Predefined field sets:
-----------------------------|-----|---------|-----
FIELDS | ALL | DEFAULT | THIN
-----------------------------|-----|---------|-----
Id | x | x | x
Name | x | x |
Version | x | x | x
Description | x | x |
Content view id | x | x |
Content view name | x | x |
Content view label | x | x |
Lifecycle environments/id | x | x |
Lifecycle environments/name | x | x |
Lifecycle environments/label | x | x |
Repositories/id | x | x |
Repositories/name | x | x |
Repositories/label | 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.20.17.4. hammer content-view version list Copy linkLink copied to clipboard!
List content view versions
Usage: hammer content-view version <list|index> [OPTIONS] Options: --composite-version-id NUMBER Filter versions that are components in the specified composite version --content-view VALUE Content view name to search by --content-view-id NUMBER Content view identifier --environment VALUE Lifecycle environment name to search by (--environment is deprecated: Use --lifecycle-environment instead) --environment-id NUMBER (--environment-id is deprecated: Use --lifecycle-environment-id instead) --fields LIST Show specified fields or predefined field sets only. (See below) --full-result BOOLEAN Whether or not to show all results --lifecycle-environment VALUE Lifecycle environment name to search by --lifecycle-environment-id NUMBER Filter versions by environment --order VALUE Sort field and order, eg. 'id DESC' --organization VALUE Organization name to search by --organization-id NUMBER Organization identifier --organization-label VALUE Organization label to search by --organization-title VALUE Organization title --page NUMBER Page number, starting at 1 --per-page NUMBER Number of results per page to return --search VALUE Search string --triggered-by-id NUMBER Filter composite versions whose publish was triggered by the specified component version --version VALUE Filter versions by version number -h, --help Print help Predefined field sets: -----------------------|-----|---------|----- FIELDS | ALL | DEFAULT | THIN -----------------------|-----|---------|----- Id | x | x | x Name | x | x | Version | x | x | x Description | x | x | Lifecycle environments | 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: content_view_id integer repository string version string
Usage:
hammer content-view version <list|index> [OPTIONS]
Options:
--composite-version-id NUMBER Filter versions that are components in the specified composite version
--content-view VALUE Content view name to search by
--content-view-id NUMBER Content view identifier
--environment VALUE Lifecycle environment name to search by (--environment is deprecated: Use
--lifecycle-environment instead)
--environment-id NUMBER (--environment-id is deprecated: Use --lifecycle-environment-id instead)
--fields LIST Show specified fields or predefined field sets only. (See below)
--full-result BOOLEAN Whether or not to show all results
--lifecycle-environment VALUE Lifecycle environment name to search by
--lifecycle-environment-id NUMBER Filter versions by environment
--order VALUE Sort field and order, eg. 'id DESC'
--organization VALUE Organization name to search by
--organization-id NUMBER Organization identifier
--organization-label VALUE Organization label to search by
--organization-title VALUE Organization title
--page NUMBER Page number, starting at 1
--per-page NUMBER Number of results per page to return
--search VALUE Search string
--triggered-by-id NUMBER Filter composite versions whose publish was triggered by the specified component
version
--version VALUE Filter versions by version number
-h, --help Print help
Predefined field sets:
-----------------------|-----|---------|-----
FIELDS | ALL | DEFAULT | THIN
-----------------------|-----|---------|-----
Id | x | x | x
Name | x | x |
Version | x | x | x
Description | x | x |
Lifecycle environments | 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:
content_view_id integer
repository string
version string
3.20.17.5. hammer content-view version promote Copy linkLink copied to clipboard!
Promote a content view version
Usage: hammer content-view version promote [OPTIONS] Options: --async Do not wait for the task --content-view VALUE Content view name to search by --content-view-id NUMBER Content view numeric identifier --description VALUE The description for the content view version promotion --force Force content view promotion and bypass lifecycle environment restriction --from-lifecycle-environment VALUE Environment name from where to promote its version from (if version is unknown) --from-lifecycle-environment-id VALUE Id of the environment from where to promote its version from (if version is unknown) --id NUMBER Content view version identifier --organization VALUE Organization name to search by --organization-id NUMBER Organization ID --organization-label VALUE Organization label to search by --organization-title VALUE Organization title --to-lifecycle-environment VALUE Name of the target environment --to-lifecycle-environment-id VALUE Id of the target environment --version VALUE Content view version 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
Usage:
hammer content-view version promote [OPTIONS]
Options:
--async Do not wait for the task
--content-view VALUE Content view name to search by
--content-view-id NUMBER Content view numeric identifier
--description VALUE The description for the content view version promotion
--force Force content view promotion and bypass lifecycle environment restriction
--from-lifecycle-environment VALUE Environment name from where to promote its version from (if version is unknown)
--from-lifecycle-environment-id VALUE Id of the environment from where to promote its version from (if version is
unknown)
--id NUMBER Content view version identifier
--organization VALUE Organization name to search by
--organization-id NUMBER Organization ID
--organization-label VALUE Organization label to search by
--organization-title VALUE Organization title
--to-lifecycle-environment VALUE Name of the target environment
--to-lifecycle-environment-id VALUE Id of the target environment
--version VALUE Content view version 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.20.17.6. hammer content-view version republish-repositories Copy linkLink copied to clipboard!
Forces a republish of the version’s repositories' metadata
Usage: hammer content-view version republish-repositories [OPTIONS] Options: --async Do not wait for the task --content-view VALUE Content view name to search by --content-view-id NUMBER Content view numeric identifier --force BOOLEAN Force metadata regeneration to proceed. Dangerous when repositories use the 'Complete Mirroring' mirroring policy --id NUMBER Content view version identifier --organization VALUE Organization name to search by --organization-id NUMBER Organization ID --organization-label VALUE Organization label to search by --organization-title VALUE Organization title --version VALUE Content view version 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
Usage:
hammer content-view version republish-repositories [OPTIONS]
Options:
--async Do not wait for the task
--content-view VALUE Content view name to search by
--content-view-id NUMBER Content view numeric identifier
--force BOOLEAN Force metadata regeneration to proceed. Dangerous when repositories use the
'Complete Mirroring' mirroring policy
--id NUMBER Content view version identifier
--organization VALUE Organization name to search by
--organization-id NUMBER Organization ID
--organization-label VALUE Organization label to search by
--organization-title VALUE Organization title
--version VALUE Content view version 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.20.17.7. hammer content-view version update Copy linkLink copied to clipboard!
Update a content view version
Usage: hammer content-view version update [OPTIONS] Options: --content-view VALUE Content view name to search by --content-view-id NUMBER Content view numeric identifier --description VALUE The description for the content view version --environment VALUE Lifecycle environment name to search by (--environment is deprecated: Use --lifecycle-environment instead) --environment-id NUMBER (--environment-id is deprecated: Use --lifecycle-environment-id instead) --id NUMBER Content view version identifier --lifecycle-environment VALUE Lifecycle environment name to search by --lifecycle-environment-id NUMBER ID of the environment --new-version VALUE --organization VALUE Organization name to search by --organization-id NUMBER Organization ID --organization-label VALUE Organization label to search by --organization-title VALUE Organization title --version VALUE Content view version 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
Usage:
hammer content-view version update [OPTIONS]
Options:
--content-view VALUE Content view name to search by
--content-view-id NUMBER Content view numeric identifier
--description VALUE The description for the content view version
--environment VALUE Lifecycle environment name to search by (--environment is deprecated: Use
--lifecycle-environment instead)
--environment-id NUMBER (--environment-id is deprecated: Use --lifecycle-environment-id instead)
--id NUMBER Content view version identifier
--lifecycle-environment VALUE Lifecycle environment name to search by
--lifecycle-environment-id NUMBER ID of the environment
--new-version VALUE
--organization VALUE Organization name to search by
--organization-id NUMBER Organization ID
--organization-label VALUE Organization label to search by
--organization-title VALUE Organization title
--version VALUE Content view version 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.21. hammer deb-package Copy linkLink copied to clipboard!
Manipulate deb packages
Usage: hammer deb-package [OPTIONS] SUBCOMMAND [ARG] ... Parameters: SUBCOMMAND Subcommand [ARG] ... Subcommand arguments Subcommands: info, show Show a deb package list, index List deb packages Options: -h, --help Print help
Usage:
hammer deb-package [OPTIONS] SUBCOMMAND [ARG] ...
Parameters:
SUBCOMMAND Subcommand
[ARG] ... Subcommand arguments
Subcommands:
info, show Show a deb package
list, index List deb packages
Options:
-h, --help Print help
3.21.1. hammer deb-package info Copy linkLink copied to clipboard!
Show a deb package
Usage: hammer deb-package <info|show> [OPTIONS] Options: --fields LIST Show specified fields or predefined field sets only. (See below) --id VALUE A deb package identifier --name VALUE Name to search by --organization VALUE Organization name to search by --organization-id NUMBER Organization identifier --organization-label VALUE Organization label to search by --organization-title VALUE Organization title --repository VALUE Repository name to search by --repository-id NUMBER Repository identifier -h, --help Print help Predefined field sets: ----------------------|-----|---------|----- FIELDS | ALL | DEFAULT | THIN ----------------------|-----|---------|----- Id | x | x | x Pulp id | x | x | Uuid | x | x | Name | x | x | x Version | x | x | Checksum | x | x | Architecture | x | x | Nav | x | x | Nva | x | x | Filename | x | x | Available host count | x | x | Applicable host count | 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
Usage:
hammer deb-package <info|show> [OPTIONS]
Options:
--fields LIST Show specified fields or predefined field sets only. (See below)
--id VALUE A deb package identifier
--name VALUE Name to search by
--organization VALUE Organization name to search by
--organization-id NUMBER Organization identifier
--organization-label VALUE Organization label to search by
--organization-title VALUE Organization title
--repository VALUE Repository name to search by
--repository-id NUMBER Repository identifier
-h, --help Print help
Predefined field sets:
----------------------|-----|---------|-----
FIELDS | ALL | DEFAULT | THIN
----------------------|-----|---------|-----
Id | x | x | x
Pulp id | x | x |
Uuid | x | x |
Name | x | x | x
Version | x | x |
Checksum | x | x |
Architecture | x | x |
Nav | x | x |
Nva | x | x |
Filename | x | x |
Available host count | x | x |
Applicable host count | 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
3.21.2. hammer deb-package list Copy linkLink copied to clipboard!
List deb packages
Usage: hammer deb-package <list|index> [OPTIONS] Options: --available-for VALUE Return deb packages that can be added to the specified object. Only the value 'content_view_version' is supported. --content-view VALUE Content view name to search by --content-view-filter VALUE Name to search by --content-view-filter-id NUMBER Content View Filter identifier --content-view-id NUMBER Content view numeric identifier --content-view-version VALUE Content view version number --content-view-version-id NUMBER Content View Version identifier --environment VALUE Lifecycle environment name to search by (--environment is deprecated: Use --lifecycle-environment instead) --environment-id NUMBER (--environment-id is deprecated: Use --lifecycle-environment-id instead) --fields LIST Show specified fields or predefined field sets only. (See below) --full-result BOOLEAN Whether or not to show all results --host VALUE Host name --host-id NUMBER Host id to list applicable deb packages for --ids LIST Deb package identifiers to filter content by --lifecycle-environment-id NUMBER Environment identifier --order VALUE Sort field and order, eg. 'id DESC' --organization VALUE Organization name to search by --organization-id NUMBER Organization identifier --organization-label VALUE Organization label to search by --organization-title VALUE Organization title --packages-restrict-applicable BOOLEAN Return deb packages that are applicable to one or more hosts (defaults to true if host_id is specified) --packages-restrict-upgradable BOOLEAN Return deb packages that are upgradable on one or more hosts --page NUMBER Page number, starting at 1 --per-page NUMBER Number of results per page to return --product VALUE Product name to search by --product-id NUMBER Product numeric identifier --repository VALUE Repository name to search by --repository-id NUMBER Repository identifier --search VALUE Search string -h, --help Print help Predefined field sets: ---------|-----|-------- FIELDS | ALL | DEFAULT ---------|-----|-------- Id | x | x Filename | 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
Usage:
hammer deb-package <list|index> [OPTIONS]
Options:
--available-for VALUE Return deb packages that can be added to the specified object. Only the value
'content_view_version' is supported.
--content-view VALUE Content view name to search by
--content-view-filter VALUE Name to search by
--content-view-filter-id NUMBER Content View Filter identifier
--content-view-id NUMBER Content view numeric identifier
--content-view-version VALUE Content view version number
--content-view-version-id NUMBER Content View Version identifier
--environment VALUE Lifecycle environment name to search by (--environment is deprecated: Use
--lifecycle-environment instead)
--environment-id NUMBER (--environment-id is deprecated: Use --lifecycle-environment-id instead)
--fields LIST Show specified fields or predefined field sets only. (See below)
--full-result BOOLEAN Whether or not to show all results
--host VALUE Host name
--host-id NUMBER Host id to list applicable deb packages for
--ids LIST Deb package identifiers to filter content by
--lifecycle-environment-id NUMBER Environment identifier
--order VALUE Sort field and order, eg. 'id DESC'
--organization VALUE Organization name to search by
--organization-id NUMBER Organization identifier
--organization-label VALUE Organization label to search by
--organization-title VALUE Organization title
--packages-restrict-applicable BOOLEAN Return deb packages that are applicable to one or more hosts (defaults to true
if host_id is specified)
--packages-restrict-upgradable BOOLEAN Return deb packages that are upgradable on one or more hosts
--page NUMBER Page number, starting at 1
--per-page NUMBER Number of results per page to return
--product VALUE Product name to search by
--product-id NUMBER Product numeric identifier
--repository VALUE Repository name to search by
--repository-id NUMBER Repository identifier
--search VALUE Search string
-h, --help Print help
Predefined field sets:
---------|-----|--------
FIELDS | ALL | DEFAULT
---------|-----|--------
Id | x | x
Filename | 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.22. hammer defaults Copy linkLink copied to clipboard!
Defaults management
Usage: hammer defaults [OPTIONS] SUBCOMMAND [ARG] ... Parameters: SUBCOMMAND Subcommand [ARG] ... Subcommand arguments Subcommands: add Add a default parameter to config delete Delete a default param list List all the default parameters providers List all the providers Options: -h, --help Print help
Usage:
hammer defaults [OPTIONS] SUBCOMMAND [ARG] ...
Parameters:
SUBCOMMAND Subcommand
[ARG] ... Subcommand arguments
Subcommands:
add Add a default parameter to config
delete Delete a default param
list List all the default parameters
providers List all the providers
Options:
-h, --help Print help
3.22.1. hammer defaults add Copy linkLink copied to clipboard!
Add a default parameter to config
Usage: hammer defaults add [OPTIONS] Options: --param-name VALUE The name of the default option (e.g. organization_id) --param-value VALUE The value for the default option --provider VALUE The name of the provider providing the value. For list available providers see `hammer defaults providers` -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
Usage:
hammer defaults add [OPTIONS]
Options:
--param-name VALUE The name of the default option (e.g. organization_id)
--param-value VALUE The value for the default option
--provider VALUE The name of the provider providing the value. For list available providers see
`hammer defaults providers`
-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.22.2. hammer defaults delete Copy linkLink copied to clipboard!
Delete a default param
Usage: hammer defaults delete [OPTIONS] Options: --param-name VALUE The name of the default option -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
Usage:
hammer defaults delete [OPTIONS]
Options:
--param-name VALUE The name of the default option
-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.22.3. hammer defaults list Copy linkLink copied to clipboard!
List all the default parameters
Usage: hammer defaults list [OPTIONS] Options: -h, --help Print help
Usage:
hammer defaults list [OPTIONS]
Options:
-h, --help Print help
3.22.4. hammer defaults providers Copy linkLink copied to clipboard!
List all the providers
Usage: hammer defaults providers [OPTIONS] Options: -h, --help Print help
Usage:
hammer defaults providers [OPTIONS]
Options:
-h, --help Print help
3.23. hammer discovery Copy linkLink copied to clipboard!
Manipulate discovered hosts.
Usage: hammer discovery [OPTIONS] SUBCOMMAND [ARG] ... Parameters: SUBCOMMAND Subcommand [ARG] ... Subcommand arguments Subcommands: auto-provision Auto provision a host delete, destroy Delete a discovered host facts List all fact values info, show Show a discovered host list, index List all discovered hosts provision Provision a discovered host reboot Reboot a host refresh-facts Refresh the facts of a host Options: -h, --help Print help
Usage:
hammer discovery [OPTIONS] SUBCOMMAND [ARG] ...
Parameters:
SUBCOMMAND Subcommand
[ARG] ... Subcommand arguments
Subcommands:
auto-provision Auto provision a host
delete, destroy Delete a discovered host
facts List all fact values
info, show Show a discovered host
list, index List all discovered hosts
provision Provision a discovered host
reboot Reboot a host
refresh-facts Refresh the facts of a host
Options:
-h, --help Print help
3.23.1. hammer discovery auto-provision Copy linkLink copied to clipboard!
Auto provision a host
Usage: hammer discovery auto-provision [OPTIONS] Options: --all Auto provision all discovered hosts --id VALUE --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 Name to search by --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 -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
Usage:
hammer discovery auto-provision [OPTIONS]
Options:
--all Auto provision all discovered hosts
--id VALUE
--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 Name to search by
--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
-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.23.2. hammer discovery delete Copy linkLink copied to clipboard!
Delete a discovered host
Usage: hammer discovery <delete|destroy> [OPTIONS] Options: --id VALUE --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 Name to search by --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 -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
Usage:
hammer discovery <delete|destroy> [OPTIONS]
Options:
--id VALUE
--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 Name to search by
--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
-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.23.3. hammer discovery facts Copy linkLink copied to clipboard!
List all fact values
Usage: hammer discovery facts [OPTIONS] Options: --fields LIST Show specified fields or predefined field sets only. (See below) --id VALUE --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 Name to search by --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 -------|-----|-------- Fact | x | x Value | 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: fact string fact_short_name string facts string host string host.hostgroup string host_id integer location string location_id integer name string organization string organization_id integer origin string reported_at datetime short_name string type string value string
Usage:
hammer discovery facts [OPTIONS]
Options:
--fields LIST Show specified fields or predefined field sets only. (See below)
--id VALUE
--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 Name to search by
--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
-------|-----|--------
Fact | x | x
Value | 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:
fact string
fact_short_name string
facts string
host string
host.hostgroup string
host_id integer
location string
location_id integer
name string
organization string
organization_id integer
origin string
reported_at datetime
short_name string
type string
value string
3.23.4. hammer discovery info Copy linkLink copied to clipboard!
Show a discovered host
Usage: hammer discovery <info|show> [OPTIONS] Options: --fields LIST Show specified fields or predefined field sets only. (See below) --id VALUE --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 Name to search by --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 -h, --help Print help Predefined field sets: -------------|-----|---------|----- FIELDS | ALL | DEFAULT | THIN -------------|-----|---------|----- Id | x | x | x Name | x | x | x Mac | x | x | Cpus | x | x | Memory | x | x | Disk count | x | x | Disks size | x | x | Subnet | x | x | Last report | x | x | Ip | x | x | Model | x | x | Organization | x | x | Location | 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
Usage:
hammer discovery <info|show> [OPTIONS]
Options:
--fields LIST Show specified fields or predefined field sets only. (See below)
--id VALUE
--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 Name to search by
--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
-h, --help Print help
Predefined field sets:
-------------|-----|---------|-----
FIELDS | ALL | DEFAULT | THIN
-------------|-----|---------|-----
Id | x | x | x
Name | x | x | x
Mac | x | x |
Cpus | x | x |
Memory | x | x |
Disk count | x | x |
Disks size | x | x |
Subnet | x | x |
Last report | x | x |
Ip | x | x |
Model | x | x |
Organization | x | x |
Location | 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.23.5. hammer discovery list Copy linkLink copied to clipboard!
List all discovered hosts
Usage: hammer discovery <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 results --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 VALUE Paginate results --per-page VALUE Number of entries per request --search VALUE Filter results -h, --help Print help Predefined field sets: ------------|-----|---------|----- FIELDS | ALL | DEFAULT | THIN ------------|-----|---------|----- Id | x | x | x Name | x | x | x Mac | x | x | Cpus | x | x | Memory | x | x | Disk count | x | x | Disks size | x | x | Subnet | x | x | Last report | 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
Usage:
hammer discovery <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 results
--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 VALUE Paginate results
--per-page VALUE Number of entries per request
--search VALUE Filter results
-h, --help Print help
Predefined field sets:
------------|-----|---------|-----
FIELDS | ALL | DEFAULT | THIN
------------|-----|---------|-----
Id | x | x | x
Name | x | x | x
Mac | x | x |
Cpus | x | x |
Memory | x | x |
Disk count | x | x |
Disks size | x | x |
Subnet | x | x |
Last report | 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.23.6. hammer discovery provision Copy linkLink copied to clipboard!
Provision a discovered host
Usage: hammer discovery provision [OPTIONS] Options: --architecture VALUE Architecture name --architecture-id NUMBER Required if host is managed and value is not inherited from host group --ask-root-password BOOLEAN --build BOOLEAN --capabilities VALUE --domain VALUE Domain name --domain-id NUMBER Required if host is managed and value is not inherited from host group --enabled BOOLEAN --hostgroup VALUE Hostgroup name --hostgroup-id NUMBER --hostgroup-title VALUE Hostgroup title --id VALUE --image VALUE Name to search by --image-id NUMBER --interface KEY_VALUE_LIST Interface parameters Can be specified multiple times. --ip VALUE Not required if using a subnet with DHCP Capsule --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 --mac VALUE Not required if it's a virtual machine --managed BOOLEAN --medium VALUE Medium name --medium-id VALUE Required if not imaged based provisioning and host is managed and value is not inherited from host group --model VALUE Model name --model-id NUMBER --name VALUE --new-name VALUE --operatingsystem VALUE Operating system title --operatingsystem-id NUMBER Required if host is managed and value is not inherited from host group --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 --overwrite BOOLEAN --owner-id NUMBER --owner-type ENUM Host's owner type Possible value(s): 'User', 'Usergroup' --parameters KEY_VALUE_LIST Host parameters --partition-table VALUE Partition table name --partition-table-id NUMBER --progress-report-id VALUE UUID to track orchestration tasks status, GET /api/orchestration/:UUID/tasks --provision-method ENUM Possible value(s): 'build', 'image' --pxe-loader ENUM DHCP filename option (Grub2 or PXELinux by default) Possible value(s): 'None', 'PXELinux BIOS', 'PXELinux UEFI', 'Grub UEFI', 'Grub2 BIOS', 'Grub2 ELF', 'Grub2 UEFI', 'Grub2 UEFI SecureBoot', 'Grub2 UEFI HTTP', 'Grub2 UEFI HTTPS', 'Grub2 UEFI HTTPS SecureBoot', 'iPXE Embedded', 'iPXE UEFI HTTP', 'iPXE Chain BIOS', 'iPXE Chain UEFI' --root-password VALUE --sp-subnet-id NUMBER --subnet VALUE Subnet name --subnet-id NUMBER Required if host is managed and value is not inherited from host group -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
Usage:
hammer discovery provision [OPTIONS]
Options:
--architecture VALUE Architecture name
--architecture-id NUMBER Required if host is managed and value is not inherited from host group
--ask-root-password BOOLEAN
--build BOOLEAN
--capabilities VALUE
--domain VALUE Domain name
--domain-id NUMBER Required if host is managed and value is not inherited from host group
--enabled BOOLEAN
--hostgroup VALUE Hostgroup name
--hostgroup-id NUMBER
--hostgroup-title VALUE Hostgroup title
--id VALUE
--image VALUE Name to search by
--image-id NUMBER
--interface KEY_VALUE_LIST Interface parameters
Can be specified multiple times.
--ip VALUE Not required if using a subnet with DHCP Capsule
--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
--mac VALUE Not required if it's a virtual machine
--managed BOOLEAN
--medium VALUE Medium name
--medium-id VALUE Required if not imaged based provisioning and host is managed and value is not
inherited from host group
--model VALUE Model name
--model-id NUMBER
--name VALUE
--new-name VALUE
--operatingsystem VALUE Operating system title
--operatingsystem-id NUMBER Required if host is managed and value is not inherited from host group
--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
--overwrite BOOLEAN
--owner-id NUMBER
--owner-type ENUM Host's owner type
Possible value(s): 'User', 'Usergroup'
--parameters KEY_VALUE_LIST Host parameters
--partition-table VALUE Partition table name
--partition-table-id NUMBER
--progress-report-id VALUE UUID to track orchestration tasks status, GET /api/orchestration/:UUID/tasks
--provision-method ENUM Possible value(s): 'build', 'image'
--pxe-loader ENUM DHCP filename option (Grub2 or PXELinux by default)
Possible value(s): 'None', 'PXELinux BIOS', 'PXELinux UEFI', 'Grub UEFI', 'Grub2
BIOS', 'Grub2 ELF', 'Grub2 UEFI', 'Grub2 UEFI SecureBoot', 'Grub2 UEFI HTTP',
'Grub2 UEFI HTTPS', 'Grub2 UEFI HTTPS SecureBoot', 'iPXE Embedded', 'iPXE UEFI
HTTP', 'iPXE Chain BIOS', 'iPXE Chain UEFI'
--root-password VALUE
--sp-subnet-id NUMBER
--subnet VALUE Subnet name
--subnet-id NUMBER Required if host is managed and value is not inherited from host group
-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.23.7. hammer discovery reboot Copy linkLink copied to clipboard!
Reboot a host
Usage: hammer discovery reboot [OPTIONS] Options: --all Reboot all discovered hosts --id VALUE --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 Name to search by --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 -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
Usage:
hammer discovery reboot [OPTIONS]
Options:
--all Reboot all discovered hosts
--id VALUE
--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 Name to search by
--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
-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.23.8. hammer discovery refresh-facts Copy linkLink copied to clipboard!
Refresh the facts of a host
Usage: hammer discovery refresh-facts [OPTIONS] Options: --id VALUE --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 Name to search by --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 -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
Usage:
hammer discovery refresh-facts [OPTIONS]
Options:
--id VALUE
--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 Name to search by
--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
-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.24. hammer discovery-rule Copy linkLink copied to clipboard!
Manipulate discovered rules.
Usage: hammer discovery-rule [OPTIONS] SUBCOMMAND [ARG] ... Parameters: SUBCOMMAND Subcommand [ARG] ... Subcommand arguments Subcommands: create Create a discovery rule delete, destroy Delete a rule info, show Show a discovery rule list, index List all discovery rules update Update a rule Options: -h, --help Print help
Usage:
hammer discovery-rule [OPTIONS] SUBCOMMAND [ARG] ...
Parameters:
SUBCOMMAND Subcommand
[ARG] ... Subcommand arguments
Subcommands:
create Create a discovery rule
delete, destroy Delete a rule
info, show Show a discovery rule
list, index List all discovery rules
update Update a rule
Options:
-h, --help Print help
3.24.1. hammer discovery-rule create Copy linkLink copied to clipboard!
Create a discovery rule
Usage: hammer discovery-rule create [OPTIONS] Options: --enabled BOOLEAN Flag is used for temporary shutdown of rules --hostgroup VALUE Hostgroup name --hostgroup-id NUMBER The hostgroup that is used to auto provision a host --hostgroup-title VALUE Hostgroup title --hostname VALUE Defines a pattern to assign human-readable hostnames to the matching hosts --hosts-limit VALUE Enables to limit maximum amount of provisioned hosts per rule --location VALUE Set the current location context for the request --location-id NUMBER Set the current location context for the request --location-ids LIST Location ID for provisioned hosts --location-title VALUE Set the current location context for the request --location-titles LIST --locations LIST --name VALUE Represents rule name shown to the users --organization VALUE Set the current organization context for the request --organization-id NUMBER Set the current organization context for the request --organization-ids LIST Organization ID for provisioned hosts --organization-title VALUE Set the current organization context for the request --organization-titles LIST --organizations LIST --priority NUMBER Puts the rules in order, low numbers go first. Must be greater then zero --search VALUE Query to match discovered hosts for the particular rule -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
Usage:
hammer discovery-rule create [OPTIONS]
Options:
--enabled BOOLEAN Flag is used for temporary shutdown of rules
--hostgroup VALUE Hostgroup name
--hostgroup-id NUMBER The hostgroup that is used to auto provision a host
--hostgroup-title VALUE Hostgroup title
--hostname VALUE Defines a pattern to assign human-readable hostnames to the matching hosts
--hosts-limit VALUE Enables to limit maximum amount of provisioned hosts per rule
--location VALUE Set the current location context for the request
--location-id NUMBER Set the current location context for the request
--location-ids LIST Location ID for provisioned hosts
--location-title VALUE Set the current location context for the request
--location-titles LIST
--locations LIST
--name VALUE Represents rule name shown to the users
--organization VALUE Set the current organization context for the request
--organization-id NUMBER Set the current organization context for the request
--organization-ids LIST Organization ID for provisioned hosts
--organization-title VALUE Set the current organization context for the request
--organization-titles LIST
--organizations LIST
--priority NUMBER Puts the rules in order, low numbers go first. Must be greater then zero
--search VALUE Query to match discovered hosts for the particular rule
-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.24.2. hammer discovery-rule delete Copy linkLink copied to clipboard!
Delete a rule
Usage: hammer discovery-rule <delete|destroy> [OPTIONS] Options: --id VALUE --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 Name to search by --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 -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
Usage:
hammer discovery-rule <delete|destroy> [OPTIONS]
Options:
--id VALUE
--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 Name to search by
--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
-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.24.3. hammer discovery-rule info Copy linkLink copied to clipboard!
Show a discovery rule
Usage: hammer discovery-rule <info|show> [OPTIONS] Options: --fields LIST Show specified fields or predefined field sets only. (See below) --id VALUE --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 Name to search by --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 -h, --help Print help Predefined field sets: ------------------|-----|---------|----- FIELDS | ALL | DEFAULT | THIN ------------------|-----|---------|----- Id | x | x | x Name | x | x | x Priority | x | x | Search | x | x | Host group | x | x | Hosts limit | x | x | Enabled | x | x | Hostname template | x | x | Hosts/ | x | x | Locations/ | x | x | Organizations/ | 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
Usage:
hammer discovery-rule <info|show> [OPTIONS]
Options:
--fields LIST Show specified fields or predefined field sets only. (See below)
--id VALUE
--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 Name to search by
--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
-h, --help Print help
Predefined field sets:
------------------|-----|---------|-----
FIELDS | ALL | DEFAULT | THIN
------------------|-----|---------|-----
Id | x | x | x
Name | x | x | x
Priority | x | x |
Search | x | x |
Host group | x | x |
Hosts limit | x | x |
Enabled | x | x |
Hostname template | x | x |
Hosts/ | x | x |
Locations/ | x | x |
Organizations/ | 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.24.4. hammer discovery-rule list Copy linkLink copied to clipboard!
List all discovery rules
Usage: hammer discovery-rule <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 results --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 VALUE Paginate results --per-page VALUE Number of entries per request --search VALUE Filter results -h, --help Print help Predefined field sets: ------------|-----|---------|----- FIELDS | ALL | DEFAULT | THIN ------------|-----|---------|----- Id | x | x | x Name | x | x | x Priority | x | x | Search | x | x | Host group | x | x | Hosts limit | x | x | Enabled | 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
Usage:
hammer discovery-rule <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 results
--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 VALUE Paginate results
--per-page VALUE Number of entries per request
--search VALUE Filter results
-h, --help Print help
Predefined field sets:
------------|-----|---------|-----
FIELDS | ALL | DEFAULT | THIN
------------|-----|---------|-----
Id | x | x | x
Name | x | x | x
Priority | x | x |
Search | x | x |
Host group | x | x |
Hosts limit | x | x |
Enabled | 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.24.5. hammer discovery-rule update Copy linkLink copied to clipboard!
Update a rule
Usage: hammer discovery-rule update [OPTIONS] Options: --enabled BOOLEAN Flag is used for temporary shutdown of rules --hostgroup VALUE Hostgroup name --hostgroup-id NUMBER The hostgroup that is used to auto provision a host --hostgroup-title VALUE Hostgroup title --hostname VALUE Defines a pattern to assign human-readable hostnames to the matching hosts --hosts-limit VALUE Enables to limit maximum amount of provisioned hosts per rule --id 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 Location ID for provisioned hosts --location-title VALUE Set the current location context for the request --location-titles LIST --locations LIST --name VALUE Represents rule name shown to the users --new-name VALUE Represents rule name shown to the users --organization VALUE Set the current organization context for the request --organization-id NUMBER Set the current organization context for the request --organization-ids LIST Organization ID for provisioned hosts --organization-title VALUE Set the current organization context for the request --organization-titles LIST --organizations LIST --priority NUMBER Puts the rules in order, low numbers go first. Must be greater then zero --search VALUE Query to match discovered hosts for the particular rule -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
Usage:
hammer discovery-rule update [OPTIONS]
Options:
--enabled BOOLEAN Flag is used for temporary shutdown of rules
--hostgroup VALUE Hostgroup name
--hostgroup-id NUMBER The hostgroup that is used to auto provision a host
--hostgroup-title VALUE Hostgroup title
--hostname VALUE Defines a pattern to assign human-readable hostnames to the matching hosts
--hosts-limit VALUE Enables to limit maximum amount of provisioned hosts per rule
--id 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 Location ID for provisioned hosts
--location-title VALUE Set the current location context for the request
--location-titles LIST
--locations LIST
--name VALUE Represents rule name shown to the users
--new-name VALUE Represents rule name shown to the users
--organization VALUE Set the current organization context for the request
--organization-id NUMBER Set the current organization context for the request
--organization-ids LIST Organization ID for provisioned hosts
--organization-title VALUE Set the current organization context for the request
--organization-titles LIST
--organizations LIST
--priority NUMBER Puts the rules in order, low numbers go first. Must be greater then zero
--search VALUE Query to match discovered hosts for the particular rule
-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.25. hammer docker Copy linkLink copied to clipboard!
Manipulate docker content
Usage: hammer docker [OPTIONS] SUBCOMMAND [ARG] ... Parameters: SUBCOMMAND Subcommand [ARG] ... Subcommand arguments Subcommands: manifest Manage docker manifests tag Manage docker tags Options: -h, --help Print help
Usage:
hammer docker [OPTIONS] SUBCOMMAND [ARG] ...
Parameters:
SUBCOMMAND Subcommand
[ARG] ... Subcommand arguments
Subcommands:
manifest Manage docker manifests
tag Manage docker tags
Options:
-h, --help Print help
3.25.1. hammer docker manifest Copy linkLink copied to clipboard!
Manage docker manifests
Usage: hammer docker manifest [OPTIONS] SUBCOMMAND [ARG] ... Parameters: SUBCOMMAND Subcommand [ARG] ... Subcommand arguments Subcommands: info, show Show a docker manifest list, index List docker_manifests Options: -h, --help Print help
Usage:
hammer docker manifest [OPTIONS] SUBCOMMAND [ARG] ...
Parameters:
SUBCOMMAND Subcommand
[ARG] ... Subcommand arguments
Subcommands:
info, show Show a docker manifest
list, index List docker_manifests
Options:
-h, --help Print help
3.25.1.1. hammer docker manifest info Copy linkLink copied to clipboard!
Show a docker manifest
Usage: hammer docker manifest <info|show> [OPTIONS] Options: --fields LIST Show specified fields or predefined field sets only. (See below) --id VALUE A docker manifest identifier --name VALUE Name to search by --organization VALUE Organization name to search by --organization-id NUMBER Organization identifier --organization-label VALUE Organization label to search by --organization-title VALUE Organization title --repository VALUE Repository name to search by --repository-id NUMBER Repository identifier -h, --help Print help Predefined field sets: ---------------|-----|---------|----- FIELDS | ALL | DEFAULT | THIN ---------------|-----|---------|----- Id | x | x | x Name | x | x | x Schema version | x | x | Digest | x | x | Downloaded | x | x | Tags/name | 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
Usage:
hammer docker manifest <info|show> [OPTIONS]
Options:
--fields LIST Show specified fields or predefined field sets only. (See below)
--id VALUE A docker manifest identifier
--name VALUE Name to search by
--organization VALUE Organization name to search by
--organization-id NUMBER Organization identifier
--organization-label VALUE Organization label to search by
--organization-title VALUE Organization title
--repository VALUE Repository name to search by
--repository-id NUMBER Repository identifier
-h, --help Print help
Predefined field sets:
---------------|-----|---------|-----
FIELDS | ALL | DEFAULT | THIN
---------------|-----|---------|-----
Id | x | x | x
Name | x | x | x
Schema version | x | x |
Digest | x | x |
Downloaded | x | x |
Tags/name | 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.25.1.2. hammer docker manifest list Copy linkLink copied to clipboard!
List docker_manifests
Usage: hammer docker manifest <list|index> [OPTIONS] Options: --content-view VALUE Content view name to search by --content-view-filter VALUE Name to search by --content-view-filter-id NUMBER Content view filter identifier --content-view-filter-rule VALUE Name to search by --content-view-filter-rule-id NUMBER Content view filter rule identifier --content-view-id NUMBER Content view numeric identifier --content-view-version VALUE Content view version number --content-view-version-id NUMBER Content view version identifier --environment VALUE Lifecycle environment name to search by (--environment is deprecated: Use --lifecycle-environment instead) --environment-id NUMBER (--environment-id is deprecated: Use --lifecycle-environment-id instead) --fields LIST Show specified fields or predefined field sets only. (See below) --full-result BOOLEAN Whether or not to show all results --ids LIST Ids to filter content by --include-filter-ids BOOLEAN Includes associated content view filter ids in response --lifecycle-environment VALUE Lifecycle environment name to search by --lifecycle-environment-id NUMBER Environment identifier --order VALUE Sort field and order, eg. 'id DESC' --organization VALUE Organization name to search by --organization-id NUMBER Organization identifier --organization-label VALUE Organization label to search by --organization-title VALUE Organization title --page NUMBER Page number, starting at 1 --per-page NUMBER Number of results per page to return --product VALUE Product name to search by --product-id NUMBER Product numeric identifier --repository VALUE Repository name to search by --repository-id NUMBER Repository identifier --search VALUE Search string -h, --help Print help Predefined field sets: ---------------|-----|---------|----- FIELDS | ALL | DEFAULT | THIN ---------------|-----|---------|----- Id | x | x | x Name | x | x | x Schema version | x | x | Digest | x | x | Downloaded | x | x | Tags | 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
Usage:
hammer docker manifest <list|index> [OPTIONS]
Options:
--content-view VALUE Content view name to search by
--content-view-filter VALUE Name to search by
--content-view-filter-id NUMBER Content view filter identifier
--content-view-filter-rule VALUE Name to search by
--content-view-filter-rule-id NUMBER Content view filter rule identifier
--content-view-id NUMBER Content view numeric identifier
--content-view-version VALUE Content view version number
--content-view-version-id NUMBER Content view version identifier
--environment VALUE Lifecycle environment name to search by (--environment is deprecated: Use
--lifecycle-environment instead)
--environment-id NUMBER (--environment-id is deprecated: Use --lifecycle-environment-id instead)
--fields LIST Show specified fields or predefined field sets only. (See below)
--full-result BOOLEAN Whether or not to show all results
--ids LIST Ids to filter content by
--include-filter-ids BOOLEAN Includes associated content view filter ids in response
--lifecycle-environment VALUE Lifecycle environment name to search by
--lifecycle-environment-id NUMBER Environment identifier
--order VALUE Sort field and order, eg. 'id DESC'
--organization VALUE Organization name to search by
--organization-id NUMBER Organization identifier
--organization-label VALUE Organization label to search by
--organization-title VALUE Organization title
--page NUMBER Page number, starting at 1
--per-page NUMBER Number of results per page to return
--product VALUE Product name to search by
--product-id NUMBER Product numeric identifier
--repository VALUE Repository name to search by
--repository-id NUMBER Repository identifier
--search VALUE Search string
-h, --help Print help
Predefined field sets:
---------------|-----|---------|-----
FIELDS | ALL | DEFAULT | THIN
---------------|-----|---------|-----
Id | x | x | x
Name | x | x | x
Schema version | x | x |
Digest | x | x |
Downloaded | x | x |
Tags | 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.25.2. hammer docker tag Copy linkLink copied to clipboard!
Manage docker tags
Usage: hammer docker tag [OPTIONS] SUBCOMMAND [ARG] ... Parameters: SUBCOMMAND Subcommand [ARG] ... Subcommand arguments Subcommands: info, show Show a docker tag list, index List docker_tags Options: -h, --help Print help
Usage:
hammer docker tag [OPTIONS] SUBCOMMAND [ARG] ...
Parameters:
SUBCOMMAND Subcommand
[ARG] ... Subcommand arguments
Subcommands:
info, show Show a docker tag
list, index List docker_tags
Options:
-h, --help Print help
3.25.2.1. hammer docker tag info Copy linkLink copied to clipboard!
Show a docker tag
Usage: hammer docker tag <info|show> [OPTIONS] Options: --fields LIST Show specified fields or predefined field sets only. (See below) --id VALUE A docker tag identifier --name VALUE Name to search by --organization VALUE Organization name to search by --organization-id NUMBER Organization identifier --organization-label VALUE Organization label to search by --organization-title VALUE Organization title --repository VALUE Repository name to search by --repository-id NUMBER Repository identifier -h, --help Print help Predefined field sets: ---------------------|-----|---------|----- FIELDS | ALL | DEFAULT | THIN ---------------------|-----|---------|----- Id | x | x | x Tag | x | x | x Repository id | x | x | Docker manifest id | x | x | Docker manifest name | 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
Usage:
hammer docker tag <info|show> [OPTIONS]
Options:
--fields LIST Show specified fields or predefined field sets only. (See below)
--id VALUE A docker tag identifier
--name VALUE Name to search by
--organization VALUE Organization name to search by
--organization-id NUMBER Organization identifier
--organization-label VALUE Organization label to search by
--organization-title VALUE Organization title
--repository VALUE Repository name to search by
--repository-id NUMBER Repository identifier
-h, --help Print help
Predefined field sets:
---------------------|-----|---------|-----
FIELDS | ALL | DEFAULT | THIN
---------------------|-----|---------|-----
Id | x | x | x
Tag | x | x | x
Repository id | x | x |
Docker manifest id | x | x |
Docker manifest name | 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.25.2.2. hammer docker tag list Copy linkLink copied to clipboard!
List docker_tags
Usage: hammer docker tag <list|index> [OPTIONS] Options: --content-view VALUE Content view name to search by --content-view-filter VALUE Name to search by --content-view-filter-id NUMBER Content view filter identifier --content-view-filter-rule VALUE Name to search by --content-view-filter-rule-id NUMBER Content view filter rule identifier --content-view-id NUMBER Content view numeric identifier --content-view-version VALUE Content view version number --content-view-version-id NUMBER Content view version identifier --environment VALUE Lifecycle environment name to search by (--environment is deprecated: Use --lifecycle-environment instead) --environment-id NUMBER (--environment-id is deprecated: Use --lifecycle-environment-id instead) --fields LIST Show specified fields or predefined field sets only. (See below) --full-result BOOLEAN Whether or not to show all results --ids LIST Ids to filter content by --include-filter-ids BOOLEAN Includes associated content view filter ids in response --lifecycle-environment VALUE Lifecycle environment name to search by --lifecycle-environment-id NUMBER Environment identifier --order VALUE Sort field and order, eg. 'id DESC' --organization VALUE Organization name to search by --organization-id NUMBER Organization identifier --organization-label VALUE Organization label to search by --organization-title VALUE Organization title --page NUMBER Page number, starting at 1 --per-page NUMBER Number of results per page to return --product VALUE Product name to search by --product-id NUMBER Product numeric identifier --repository VALUE Repository name to search by --repository-id NUMBER Repository identifier --search VALUE Search string -h, --help Print help Predefined field sets: --------------|-----|---------|----- FIELDS | ALL | DEFAULT | THIN --------------|-----|---------|----- Id | x | x | x Tag | x | x | x Repository 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
Usage:
hammer docker tag <list|index> [OPTIONS]
Options:
--content-view VALUE Content view name to search by
--content-view-filter VALUE Name to search by
--content-view-filter-id NUMBER Content view filter identifier
--content-view-filter-rule VALUE Name to search by
--content-view-filter-rule-id NUMBER Content view filter rule identifier
--content-view-id NUMBER Content view numeric identifier
--content-view-version VALUE Content view version number
--content-view-version-id NUMBER Content view version identifier
--environment VALUE Lifecycle environment name to search by (--environment is deprecated: Use
--lifecycle-environment instead)
--environment-id NUMBER (--environment-id is deprecated: Use --lifecycle-environment-id instead)
--fields LIST Show specified fields or predefined field sets only. (See below)
--full-result BOOLEAN Whether or not to show all results
--ids LIST Ids to filter content by
--include-filter-ids BOOLEAN Includes associated content view filter ids in response
--lifecycle-environment VALUE Lifecycle environment name to search by
--lifecycle-environment-id NUMBER Environment identifier
--order VALUE Sort field and order, eg. 'id DESC'
--organization VALUE Organization name to search by
--organization-id NUMBER Organization identifier
--organization-label VALUE Organization label to search by
--organization-title VALUE Organization title
--page NUMBER Page number, starting at 1
--per-page NUMBER Number of results per page to return
--product VALUE Product name to search by
--product-id NUMBER Product numeric identifier
--repository VALUE Repository name to search by
--repository-id NUMBER Repository identifier
--search VALUE Search string
-h, --help Print help
Predefined field sets:
--------------|-----|---------|-----
FIELDS | ALL | DEFAULT | THIN
--------------|-----|---------|-----
Id | x | x | x
Tag | x | x | x
Repository 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.26. hammer domain Copy linkLink copied to clipboard!
Manipulate domains
Usage: hammer domain [OPTIONS] SUBCOMMAND [ARG] ... Parameters: SUBCOMMAND Subcommand [ARG] ... Subcommand arguments Subcommands: create Create a domain delete, destroy Delete a domain delete-parameter Delete parameter for a domain info, show Show a domain list, index List of domains set-parameter Create or update parameter for a domain update Update a domain Options: -h, --help Print help
Usage:
hammer domain [OPTIONS] SUBCOMMAND [ARG] ...
Parameters:
SUBCOMMAND Subcommand
[ARG] ... Subcommand arguments
Subcommands:
create Create a domain
delete, destroy Delete a domain
delete-parameter Delete parameter for a domain
info, show Show a domain
list, index List of domains
set-parameter Create or update parameter for a domain
update Update a domain
Options:
-h, --help Print help
3.26.1. hammer domain create Copy linkLink copied to clipboard!
Create a domain
Usage: hammer domain create [OPTIONS] Options: --description VALUE Full name describing the domain --dns VALUE Name of DNS proxy to use within this domain --dns-id VALUE ID of DNS proxy to use within this domain --location VALUE Set the current location context for the request --location-id NUMBER Set the current location context for the request --location-ids LIST REPLACE locations with given ids --location-title VALUE Set the current location context for the request --location-titles LIST --locations LIST --name VALUE The full DNS domain name --organization VALUE Set the current organization context for the request --organization-id NUMBER Set the current organization context for the request --organization-ids LIST REPLACE organizations with given ids. --organization-title VALUE Set the current organization context for the request --organization-titles LIST --organizations 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
Usage:
hammer domain create [OPTIONS]
Options:
--description VALUE Full name describing the domain
--dns VALUE Name of DNS proxy to use within this domain
--dns-id VALUE ID of DNS proxy to use within this domain
--location VALUE Set the current location context for the request
--location-id NUMBER Set the current location context for the request
--location-ids LIST REPLACE locations with given ids
--location-title VALUE Set the current location context for the request
--location-titles LIST
--locations LIST
--name VALUE The full DNS domain name
--organization VALUE Set the current organization context for the request
--organization-id NUMBER Set the current organization context for the request
--organization-ids LIST REPLACE organizations with given ids.
--organization-title VALUE Set the current organization context for the request
--organization-titles LIST
--organizations 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.26.2. hammer domain delete Copy linkLink copied to clipboard!
Delete a domain
Usage: hammer domain <delete|destroy> [OPTIONS] Options: --id VALUE --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 Domain name --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 -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
Usage:
hammer domain <delete|destroy> [OPTIONS]
Options:
--id VALUE
--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 Domain name
--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
-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.26.3. hammer domain delete-parameter Copy linkLink copied to clipboard!
Delete parameter for a domain
Usage: hammer domain delete-parameter [OPTIONS] Options: --domain VALUE Domain name --domain-id NUMBER Numerical ID or domain name --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
Usage:
hammer domain delete-parameter [OPTIONS]
Options:
--domain VALUE Domain name
--domain-id NUMBER Numerical ID or domain name
--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
3.26.4. hammer domain info Copy linkLink copied to clipboard!
Show a domain
Usage: hammer domain <info|show> [OPTIONS] Options: --fields LIST Show specified fields or predefined field sets only. (See below) --id VALUE Numerical ID or domain name --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 Domain name --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 -h, --help Print help Predefined field sets: ---------------|-----|---------|----- FIELDS | ALL | DEFAULT | THIN ---------------|-----|---------|----- Id | x | x | x Name | x | x | x Description | x | x | Dns id | x | x | Subnets/ | x | x | Locations/ | x | x | Organizations/ | x | x | Parameters/ | 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
Usage:
hammer domain <info|show> [OPTIONS]
Options:
--fields LIST Show specified fields or predefined field sets only. (See below)
--id VALUE Numerical ID or domain name
--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 Domain name
--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
-h, --help Print help
Predefined field sets:
---------------|-----|---------|-----
FIELDS | ALL | DEFAULT | THIN
---------------|-----|---------|-----
Id | x | x | x
Name | x | x | x
Description | x | x |
Dns id | x | x |
Subnets/ | x | x |
Locations/ | x | x |
Organizations/ | x | x |
Parameters/ | 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
3.26.5. hammer domain list Copy linkLink copied to clipboard!
List of domains
Usage: hammer domain <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 Scope by locations --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 Scope by organizations --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 --subnet VALUE Subnet name --subnet-id VALUE ID of subnet -h, --help Print help Predefined field sets: -------|-----|---------|----- FIELDS | ALL | DEFAULT | THIN -------|-----|---------|----- Id | x | x | x Name | 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: fullname string location string location_id integer name string organization string organization_id integer params string
Usage:
hammer domain <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 Scope by locations
--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 Scope by organizations
--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
--subnet VALUE Subnet name
--subnet-id VALUE ID of subnet
-h, --help Print help
Predefined field sets:
-------|-----|---------|-----
FIELDS | ALL | DEFAULT | THIN
-------|-----|---------|-----
Id | x | x | x
Name | 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:
fullname string
location string
location_id integer
name string
organization string
organization_id integer
params string
3.26.6. hammer domain set-parameter Copy linkLink copied to clipboard!
Create or update parameter for a domain
Usage: hammer domain set-parameter [OPTIONS] Options: --domain VALUE Domain name --domain-id NUMBER Numerical ID or domain name --hidden-value BOOLEAN Should the value be hidden --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
Usage:
hammer domain set-parameter [OPTIONS]
Options:
--domain VALUE Domain name
--domain-id NUMBER Numerical ID or domain name
--hidden-value BOOLEAN Should the value be hidden
--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
3.26.7. hammer domain update Copy linkLink copied to clipboard!
Update a domain
Usage: hammer domain update [OPTIONS] Options: --description VALUE Full name describing the domain --dns VALUE Name of DNS proxy to use within this domain --dns-id VALUE ID of DNS proxy to use within this domain --id 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 REPLACE locations with given ids --location-title VALUE Set the current location context for the request --location-titles LIST --locations LIST --name VALUE The full DNS domain name --new-name VALUE The full DNS domain name --organization VALUE Set the current organization context for the request --organization-id NUMBER Set the current organization context for the request --organization-ids LIST REPLACE organizations with given ids. --organization-title VALUE Set the current organization context for the request --organization-titles LIST --organizations 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
Usage:
hammer domain update [OPTIONS]
Options:
--description VALUE Full name describing the domain
--dns VALUE Name of DNS proxy to use within this domain
--dns-id VALUE ID of DNS proxy to use within this domain
--id 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 REPLACE locations with given ids
--location-title VALUE Set the current location context for the request
--location-titles LIST
--locations LIST
--name VALUE The full DNS domain name
--new-name VALUE The full DNS domain name
--organization VALUE Set the current organization context for the request
--organization-id NUMBER Set the current organization context for the request
--organization-ids LIST REPLACE organizations with given ids.
--organization-title VALUE Set the current organization context for the request
--organization-titles LIST
--organizations 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.27. hammer erratum Copy linkLink copied to clipboard!
Manipulate errata
Usage: hammer erratum [OPTIONS] SUBCOMMAND [ARG] ... Parameters: SUBCOMMAND Subcommand [ARG] ... Subcommand arguments Subcommands: info Show an erratum list, index List errata Options: -h, --help Print help
Usage:
hammer erratum [OPTIONS] SUBCOMMAND [ARG] ...
Parameters:
SUBCOMMAND Subcommand
[ARG] ... Subcommand arguments
Subcommands:
info Show an erratum
list, index List errata
Options:
-h, --help Print help
3.27.1. hammer erratum info Copy linkLink copied to clipboard!
Show an erratum
Usage: hammer erratum info [OPTIONS] Options: --fields LIST Show specified fields or predefined field sets only. (See below) --id VALUE An erratum identifier --name VALUE Name to search by --organization VALUE Organization name to search by --organization-id NUMBER Organization identifier --organization-label VALUE Organization label to search by --organization-title VALUE Organization title --repository VALUE Repository name to search by --repository-id NUMBER Repository identifier -h, --help Print help Predefined field sets: ------------------------|-----|-------- FIELDS | ALL | DEFAULT ------------------------|-----|-------- Title | x | x Version | x | x Description | x | x Status | x | x Id | x | x Errata id | x | x Reboot suggested | x | x Updated | x | x Issued | x | x Release | x | x Solution | x | x Packages | x | x Module streams/name | x | x Module streams/stream | x | x Module streams/packages | 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
Usage:
hammer erratum info [OPTIONS]
Options:
--fields LIST Show specified fields or predefined field sets only. (See below)
--id VALUE An erratum identifier
--name VALUE Name to search by
--organization VALUE Organization name to search by
--organization-id NUMBER Organization identifier
--organization-label VALUE Organization label to search by
--organization-title VALUE Organization title
--repository VALUE Repository name to search by
--repository-id NUMBER Repository identifier
-h, --help Print help
Predefined field sets:
------------------------|-----|--------
FIELDS | ALL | DEFAULT
------------------------|-----|--------
Title | x | x
Version | x | x
Description | x | x
Status | x | x
Id | x | x
Errata id | x | x
Reboot suggested | x | x
Updated | x | x
Issued | x | x
Release | x | x
Solution | x | x
Packages | x | x
Module streams/name | x | x
Module streams/stream | x | x
Module streams/packages | 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.27.2. hammer erratum list Copy linkLink copied to clipboard!
List errata
Usage: hammer erratum <list|index> [OPTIONS] Options: --available-for VALUE Return errata that can be added to the specified object. The values 'content_view_version' and 'content_view_filter are supported. --content-view VALUE Content view name to search by --content-view-filter VALUE Name to search by --content-view-filter-id NUMBER Content View Filter identifier --content-view-id NUMBER Content view numeric identifier --content-view-version VALUE Content view version number --content-view-version-id NUMBER Content View Version identifier --cve VALUE CVE identifier --errata-restrict-applicable BOOLEAN Return errata that are applicable to one or more hosts (defaults to true if host_id is specified) --errata-restrict-installable BOOLEAN Return errata that are upgradable on one or more hosts --fields LIST Show specified fields or predefined field sets only. (See below) --full-result BOOLEAN Whether or not to show all results --host VALUE Host name --host-id NUMBER Host id to list applicable errata for --lifecycle-environment-id NUMBER Environment identifier --order VALUE Sort field and order, eg. 'id DESC' --organization VALUE Organization name to search by --organization-id NUMBER Organization identifier --organization-label VALUE Organization label to search by --organization-title VALUE Organization title --page NUMBER Page number, starting at 1 --per-page NUMBER Number of results per page to return --product VALUE Product name to search by --product-id NUMBER Product numeric identifier --repository VALUE Repository name to search by --repository-id NUMBER Repository identifier --search VALUE Search string -h, --help Print help Predefined field sets: ----------|-----|-------- FIELDS | ALL | DEFAULT ----------|-----|-------- Id | x | x Errata id | x | x Type | x | x Title | x | x Issued | x | x Updated | 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: bug string cve string errata_id string errata_type string id string issued date modular Values: true, false package string package_name string reboot_suggested boolean repository string severity string synopsis string title string type string updated date
Usage:
hammer erratum <list|index> [OPTIONS]
Options:
--available-for VALUE Return errata that can be added to the specified object. The values
'content_view_version' and 'content_view_filter are supported.
--content-view VALUE Content view name to search by
--content-view-filter VALUE Name to search by
--content-view-filter-id NUMBER Content View Filter identifier
--content-view-id NUMBER Content view numeric identifier
--content-view-version VALUE Content view version number
--content-view-version-id NUMBER Content View Version identifier
--cve VALUE CVE identifier
--errata-restrict-applicable BOOLEAN Return errata that are applicable to one or more hosts (defaults to true if
host_id is specified)
--errata-restrict-installable BOOLEAN Return errata that are upgradable on one or more hosts
--fields LIST Show specified fields or predefined field sets only. (See below)
--full-result BOOLEAN Whether or not to show all results
--host VALUE Host name
--host-id NUMBER Host id to list applicable errata for
--lifecycle-environment-id NUMBER Environment identifier
--order VALUE Sort field and order, eg. 'id DESC'
--organization VALUE Organization name to search by
--organization-id NUMBER Organization identifier
--organization-label VALUE Organization label to search by
--organization-title VALUE Organization title
--page NUMBER Page number, starting at 1
--per-page NUMBER Number of results per page to return
--product VALUE Product name to search by
--product-id NUMBER Product numeric identifier
--repository VALUE Repository name to search by
--repository-id NUMBER Repository identifier
--search VALUE Search string
-h, --help Print help
Predefined field sets:
----------|-----|--------
FIELDS | ALL | DEFAULT
----------|-----|--------
Id | x | x
Errata id | x | x
Type | x | x
Title | x | x
Issued | x | x
Updated | 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:
bug string
cve string
errata_id string
errata_type string
id string
issued date
modular Values: true, false
package string
package_name string
reboot_suggested boolean
repository string
severity string
synopsis string
title string
type string
updated date
3.28. hammer export-templates Copy linkLink copied to clipboard!
Export templates to a git repo or a directory on the server
Usage: hammer export-templates [OPTIONS] Options: --branch VALUE Branch in Git repo. --commit-msg VALUE Custom commit message for templates export --dirname VALUE The directory within Git repo containing the templates --filter VALUE Export templates with names matching this regex (case-insensitive; snippets are not filtered). --location VALUE Set the current location context for the request --location-id NUMBER Set the current location context for the request --location-ids LIST REPLACE locations with given ids --location-title VALUE Set the current location context for the request --location-titles LIST --locations LIST --metadata-export-mode ENUM Specify how to handle metadata Possible value(s): 'refresh', 'keep', 'remove' --negate BOOLEAN Negate the prefix (for purging). --organization VALUE Set the current organization context for the request --organization-id NUMBER Set the current organization context for the request --organization-ids LIST REPLACE organizations with given ids. --organization-title VALUE Set the current organization context for the request --organization-titles LIST --organizations LIST --repo VALUE Override the default repo from settings. --verbose BOOLEAN Be verbose -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
Usage:
hammer export-templates [OPTIONS]
Options:
--branch VALUE Branch in Git repo.
--commit-msg VALUE Custom commit message for templates export
--dirname VALUE The directory within Git repo containing the templates
--filter VALUE Export templates with names matching this regex (case-insensitive; snippets are
not filtered).
--location VALUE Set the current location context for the request
--location-id NUMBER Set the current location context for the request
--location-ids LIST REPLACE locations with given ids
--location-title VALUE Set the current location context for the request
--location-titles LIST
--locations LIST
--metadata-export-mode ENUM Specify how to handle metadata
Possible value(s): 'refresh', 'keep', 'remove'
--negate BOOLEAN Negate the prefix (for purging).
--organization VALUE Set the current organization context for the request
--organization-id NUMBER Set the current organization context for the request
--organization-ids LIST REPLACE organizations with given ids.
--organization-title VALUE Set the current organization context for the request
--organization-titles LIST
--organizations LIST
--repo VALUE Override the default repo from settings.
--verbose BOOLEAN Be verbose
-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.29. hammer fact Copy linkLink copied to clipboard!
Search facts
Usage: hammer fact [OPTIONS] SUBCOMMAND [ARG] ... Parameters: SUBCOMMAND Subcommand [ARG] ... Subcommand arguments Subcommands: list, index List all fact values Options: -h, --help Print help
Usage:
hammer fact [OPTIONS] SUBCOMMAND [ARG] ...
Parameters:
SUBCOMMAND Subcommand
[ARG] ... Subcommand arguments
Subcommands:
list, index List all fact values
Options:
-h, --help Print help
3.29.1. hammer fact list Copy linkLink copied to clipboard!
List all fact values
Usage: hammer fact <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 -------|-----|-------- Host | x | x Fact | x | x Value | 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: fact string fact_short_name string facts string host string host.hostgroup string host_id integer location string location_id integer name string organization string organization_id integer origin string reported_at datetime short_name string type string value string
Usage:
hammer fact <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
-------|-----|--------
Host | x | x
Fact | x | x
Value | 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:
fact string
fact_short_name string
facts string
host string
host.hostgroup string
host_id integer
location string
location_id integer
name string
organization string
organization_id integer
origin string
reported_at datetime
short_name string
type string
value string
3.30. hammer file Copy linkLink copied to clipboard!
Manipulate files
Usage: hammer file [OPTIONS] SUBCOMMAND [ARG] ... Parameters: SUBCOMMAND Subcommand [ARG] ... Subcommand arguments Subcommands: info, show Show a file list, index List files Options: -h, --help Print help
Usage:
hammer file [OPTIONS] SUBCOMMAND [ARG] ...
Parameters:
SUBCOMMAND Subcommand
[ARG] ... Subcommand arguments
Subcommands:
info, show Show a file
list, index List files
Options:
-h, --help Print help
3.30.1. hammer file info Copy linkLink copied to clipboard!
Show a file
Usage: hammer file <info|show> [OPTIONS] Options: --content-view VALUE Content view name to search by --content-view-id NUMBER Content view numeric identifier --content-view-version VALUE Content view version number --content-view-version-id NUMBER Content view version identifier --fields LIST Show specified fields or predefined field sets only. (See below) --id VALUE A file identifier --name VALUE File name to search by --organization VALUE Organization name to search by --organization-id NUMBER Organization identifier --organization-label VALUE Organization label to search by --organization-title VALUE Organization title --product VALUE Product name to search by --product-id NUMBER Product numeric identifier --repository VALUE Repository name to search by --repository-id NUMBER Repository identifier -h, --help Print help Predefined field sets: ---------|-----|---------|----- FIELDS | ALL | DEFAULT | THIN ---------|-----|---------|----- Id | x | x | Name | x | x | x Path | x | x | Uuid | x | x | Checksum | 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
Usage:
hammer file <info|show> [OPTIONS]
Options:
--content-view VALUE Content view name to search by
--content-view-id NUMBER Content view numeric identifier
--content-view-version VALUE Content view version number
--content-view-version-id NUMBER Content view version identifier
--fields LIST Show specified fields or predefined field sets only. (See below)
--id VALUE A file identifier
--name VALUE File name to search by
--organization VALUE Organization name to search by
--organization-id NUMBER Organization identifier
--organization-label VALUE Organization label to search by
--organization-title VALUE Organization title
--product VALUE Product name to search by
--product-id NUMBER Product numeric identifier
--repository VALUE Repository name to search by
--repository-id NUMBER Repository identifier
-h, --help Print help
Predefined field sets:
---------|-----|---------|-----
FIELDS | ALL | DEFAULT | THIN
---------|-----|---------|-----
Id | x | x |
Name | x | x | x
Path | x | x |
Uuid | x | x |
Checksum | 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.30.2. hammer file list Copy linkLink copied to clipboard!
List files
Usage: hammer file <list|index> [OPTIONS] Options: --content-view VALUE Content view name to search by --content-view-filter VALUE Name to search by --content-view-filter-id NUMBER Content view filter identifier --content-view-filter-rule VALUE Name to search by --content-view-filter-rule-id NUMBER Content view filter rule identifier --content-view-id NUMBER Content view numeric identifier --content-view-version VALUE Content view version number --content-view-version-id NUMBER Content view version identifier --fields LIST Show specified fields or predefined field sets only. (See below) --full-result BOOLEAN Whether or not to show all results --ids LIST Ids to filter content by --include-filter-ids BOOLEAN Includes associated content view filter ids in response --lifecycle-environment-id NUMBER Environment identifier --order VALUE Sort field and order, eg. 'id DESC' --organization VALUE Organization name to search by --organization-id NUMBER Organization identifier --organization-label VALUE Organization label to search by --organization-title VALUE Organization title --page NUMBER Page number, starting at 1 --per-page NUMBER Number of results per page to return --product VALUE Product name to search by --product-id NUMBER Product numeric identifier --repository VALUE Repository name to search by --repository-id NUMBER Repository identifier --search VALUE Search string -h, --help Print help Predefined field sets: -------|-----|---------|----- FIELDS | ALL | DEFAULT | THIN -------|-----|---------|----- Id | x | x | Name | x | x | x Path | 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
Usage:
hammer file <list|index> [OPTIONS]
Options:
--content-view VALUE Content view name to search by
--content-view-filter VALUE Name to search by
--content-view-filter-id NUMBER Content view filter identifier
--content-view-filter-rule VALUE Name to search by
--content-view-filter-rule-id NUMBER Content view filter rule identifier
--content-view-id NUMBER Content view numeric identifier
--content-view-version VALUE Content view version number
--content-view-version-id NUMBER Content view version identifier
--fields LIST Show specified fields or predefined field sets only. (See below)
--full-result BOOLEAN Whether or not to show all results
--ids LIST Ids to filter content by
--include-filter-ids BOOLEAN Includes associated content view filter ids in response
--lifecycle-environment-id NUMBER Environment identifier
--order VALUE Sort field and order, eg. 'id DESC'
--organization VALUE Organization name to search by
--organization-id NUMBER Organization identifier
--organization-label VALUE Organization label to search by
--organization-title VALUE Organization title
--page NUMBER Page number, starting at 1
--per-page NUMBER Number of results per page to return
--product VALUE Product name to search by
--product-id NUMBER Product numeric identifier
--repository VALUE Repository name to search by
--repository-id NUMBER Repository identifier
--search VALUE Search string
-h, --help Print help
Predefined field sets:
-------|-----|---------|-----
FIELDS | ALL | DEFAULT | THIN
-------|-----|---------|-----
Id | x | x |
Name | x | x | x
Path | 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.31. hammer filter Copy linkLink copied to clipboard!
Manage permission filters
Usage: hammer filter [OPTIONS] SUBCOMMAND [ARG] ... Parameters: SUBCOMMAND Subcommand [ARG] ... Subcommand arguments Subcommands: available-permissions List all permissions available-resources List available resource types create Create a filter delete, destroy Delete a filter info, show Show a filter list, index List all filters update Update a filter Options: -h, --help Print help
Usage:
hammer filter [OPTIONS] SUBCOMMAND [ARG] ...
Parameters:
SUBCOMMAND Subcommand
[ARG] ... Subcommand arguments
Subcommands:
available-permissions List all permissions
available-resources List available resource types
create Create a filter
delete, destroy Delete a filter
info, show Show a filter
list, index List all filters
update Update a filter
Options:
-h, --help Print help
3.31.1. hammer filter available-permissions Copy linkLink copied to clipboard!
List all permissions
Usage: hammer filter available-permissions [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 Name | x | x | x Resource | 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: name string resource_type string
Usage:
hammer filter available-permissions [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
Name | x | x | x
Resource | 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:
name string
resource_type string
3.31.2. hammer filter available-resources Copy linkLink copied to clipboard!
List available resource types
Usage: hammer filter available-resources [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 --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 -h, --help Print help Predefined field sets: -------|-----|---------|----- FIELDS | ALL | DEFAULT | THIN -------|-----|---------|----- Name | 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
Usage:
hammer filter available-resources [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
--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
-h, --help Print help
Predefined field sets:
-------|-----|---------|-----
FIELDS | ALL | DEFAULT | THIN
-------|-----|---------|-----
Name | 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
3.31.3. hammer filter create Copy linkLink copied to clipboard!
Create a filter
Usage: hammer filter create [OPTIONS] Options: --location VALUE Set the current location context for the request --location-id NUMBER Set the current location context for the request --location-ids LIST --location-title VALUE Set the current location context for the request --location-titles LIST --locations LIST --organization VALUE Set the current organization context for the request --organization-id NUMBER Set the current organization context for the request --organization-ids LIST --organization-title VALUE Set the current organization context for the request --organization-titles LIST --organizations LIST --override BOOLEAN --permission-ids LIST --permissions LIST --role VALUE User role name --role-id VALUE --search 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 Overriding organizations and locations: Filters inherit organizations and locations from its role by default. This behavior can be changed by setting --override=true. Therefore options --organization[s|-ids] and --location[s|-ids] are applicable only when the override flag is set.
Usage:
hammer filter create [OPTIONS]
Options:
--location VALUE Set the current location context for the request
--location-id NUMBER Set the current location context for the request
--location-ids LIST
--location-title VALUE Set the current location context for the request
--location-titles LIST
--locations LIST
--organization VALUE Set the current organization context for the request
--organization-id NUMBER Set the current organization context for the request
--organization-ids LIST
--organization-title VALUE Set the current organization context for the request
--organization-titles LIST
--organizations LIST
--override BOOLEAN
--permission-ids LIST
--permissions LIST
--role VALUE User role name
--role-id VALUE
--search 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
Overriding organizations and locations:
Filters inherit organizations and locations from its role by default. This behavior can be changed by setting --override=true.
Therefore options --organization[s|-ids] and --location[s|-ids] are applicable only when the override flag is set.
3.31.4. hammer filter delete Copy linkLink copied to clipboard!
Delete a filter
Usage: hammer filter <delete|destroy> [OPTIONS] Options: --id VALUE --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 --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 -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
Usage:
hammer filter <delete|destroy> [OPTIONS]
Options:
--id VALUE
--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
--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
-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.31.5. hammer filter info Copy linkLink copied to clipboard!
Show a filter
Usage: hammer filter <info|show> [OPTIONS] Options: --fields LIST Show specified fields or predefined field sets only. (See below) --id VALUE --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 --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 -h, --help Print help Predefined field sets: ---------------|-----|---------|----- FIELDS | ALL | DEFAULT | THIN ---------------|-----|---------|----- Id | x | x | x Resource type | x | x | Search | x | x | Unlimited? | x | x | Override? | x | x | Role | x | x | Permissions | x | x | Locations/ | 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
Usage:
hammer filter <info|show> [OPTIONS]
Options:
--fields LIST Show specified fields or predefined field sets only. (See below)
--id VALUE
--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
--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
-h, --help Print help
Predefined field sets:
---------------|-----|---------|-----
FIELDS | ALL | DEFAULT | THIN
---------------|-----|---------|-----
Id | x | x | x
Resource type | x | x |
Search | x | x |
Unlimited? | x | x |
Override? | x | x |
Role | x | x |
Permissions | x | x |
Locations/ | 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
3.31.6. hammer filter list Copy linkLink copied to clipboard!
List all filters
Usage: hammer filter <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 Resource type | x | x | Search | x | x | Unlimited? | x | x | Override? | x | x | Role | x | x | Permissions | 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: limited Values: true, false location string location_id integer organization string organization_id integer override Values: true, false permission string resource string role string role_id integer search text unlimited Values: true, false
Usage:
hammer filter <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
Resource type | x | x |
Search | x | x |
Unlimited? | x | x |
Override? | x | x |
Role | x | x |
Permissions | 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:
limited Values: true, false
location string
location_id integer
organization string
organization_id integer
override Values: true, false
permission string
resource string
role string
role_id integer
search text
unlimited Values: true, false
3.31.7. hammer filter update Copy linkLink copied to clipboard!
Update a filter
Usage: hammer filter update [OPTIONS] Options: --id 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 --location-title VALUE Set the current location context for the request --location-titles LIST --locations LIST --organization VALUE Set the current organization context for the request --organization-id NUMBER Set the current organization context for the request --organization-ids LIST --organization-title VALUE Set the current organization context for the request --organization-titles LIST --organizations LIST --override BOOLEAN --permission-ids LIST --permissions LIST --role VALUE User role name --role-id VALUE --search 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 Overriding organizations and locations: Filters inherit organizations and locations from its role by default. This behavior can be changed by setting --override=true. Therefore options --organization[s|-ids] and --location[s|-ids] are applicable only when the override flag is set.
Usage:
hammer filter update [OPTIONS]
Options:
--id 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
--location-title VALUE Set the current location context for the request
--location-titles LIST
--locations LIST
--organization VALUE Set the current organization context for the request
--organization-id NUMBER Set the current organization context for the request
--organization-ids LIST
--organization-title VALUE Set the current organization context for the request
--organization-titles LIST
--organizations LIST
--override BOOLEAN
--permission-ids LIST
--permissions LIST
--role VALUE User role name
--role-id VALUE
--search 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
Overriding organizations and locations:
Filters inherit organizations and locations from its role by default. This behavior can be changed by setting --override=true.
Therefore options --organization[s|-ids] and --location[s|-ids] are applicable only when the override flag is set.
3.32. hammer foreign-input-set Copy linkLink copied to clipboard!
Manage foreign input sets
Usage: hammer foreign-input-set [OPTIONS] SUBCOMMAND [ARG] ... Parameters: SUBCOMMAND Subcommand [ARG] ... Subcommand arguments Subcommands: create Create a foreign input set delete, destroy Delete a foreign input set info, show Show foreign input set details list, index List foreign input sets update Update a foreign input set Options: -h, --help Print help
Usage:
hammer foreign-input-set [OPTIONS] SUBCOMMAND [ARG] ...
Parameters:
SUBCOMMAND Subcommand
[ARG] ... Subcommand arguments
Subcommands:
create Create a foreign input set
delete, destroy Delete a foreign input set
info, show Show foreign input set details
list, index List foreign input sets
update Update a foreign input set
Options:
-h, --help Print help
3.32.1. hammer foreign-input-set create Copy linkLink copied to clipboard!
Create a foreign input set
Usage: hammer foreign-input-set create [OPTIONS] Options: --description VALUE Input set description --exclude VALUE A comma separated list of input names to be included from the foreign template. --include VALUE A comma separated list of input names to be included from the foreign template. --include-all BOOLEAN Include all inputs from the foreign template --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 --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 --target-template-id VALUE Target template ID --template-id 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
Usage:
hammer foreign-input-set create [OPTIONS]
Options:
--description VALUE Input set description
--exclude VALUE A comma separated list of input names to be included from the foreign template.
--include VALUE A comma separated list of input names to be included from the foreign template.
--include-all BOOLEAN Include all inputs from the foreign template
--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
--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
--target-template-id VALUE Target template ID
--template-id 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.32.2. hammer foreign-input-set delete Copy linkLink copied to clipboard!
Delete a foreign input set
Usage: hammer foreign-input-set <delete|destroy> [OPTIONS] Options: --id VALUE --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 Name to search by --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 --template-id 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
Usage:
hammer foreign-input-set <delete|destroy> [OPTIONS]
Options:
--id VALUE
--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 Name to search by
--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
--template-id 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.32.3. hammer foreign-input-set info Copy linkLink copied to clipboard!
Show foreign input set details
Usage: hammer foreign-input-set <info|show> [OPTIONS] Options: --fields LIST Show specified fields or predefined field sets only. (See below) --id VALUE --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 Name to search by --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 --template-id VALUE -h, --help Print help Predefined field sets: ---------------------|-----|---------|----- FIELDS | ALL | DEFAULT | THIN ---------------------|-----|---------|----- Id | x | x | x Name | x | x | x Target template id | x | x | Target template name | x | x | Include all | x | x | Include | x | x | Exclude | 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
Usage:
hammer foreign-input-set <info|show> [OPTIONS]
Options:
--fields LIST Show specified fields or predefined field sets only. (See below)
--id VALUE
--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 Name to search by
--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
--template-id VALUE
-h, --help Print help
Predefined field sets:
---------------------|-----|---------|-----
FIELDS | ALL | DEFAULT | THIN
---------------------|-----|---------|-----
Id | x | x | x
Name | x | x | x
Target template id | x | x |
Target template name | x | x |
Include all | x | x |
Include | x | x |
Exclude | 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.32.4. hammer foreign-input-set list Copy linkLink copied to clipboard!
List foreign input sets
Usage: hammer foreign-input-set <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 --template-id VALUE -h, --help Print help Predefined field sets: ---------------------|-----|-------- FIELDS | ALL | DEFAULT ---------------------|-----|-------- Id | x | x Target template id | x | x Target template name | 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
Usage:
hammer foreign-input-set <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
--template-id VALUE
-h, --help Print help
Predefined field sets:
---------------------|-----|--------
FIELDS | ALL | DEFAULT
---------------------|-----|--------
Id | x | x
Target template id | x | x
Target template name | 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.32.5. hammer foreign-input-set update Copy linkLink copied to clipboard!
Update a foreign input set
Usage: hammer foreign-input-set update [OPTIONS] Options: --description VALUE Input set description --exclude VALUE A comma separated list of input names to be included from the foreign template. --id VALUE --include VALUE A comma separated list of input names to be included from the foreign template. --include-all BOOLEAN Include all inputs from the foreign template --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 Name to search by --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-title VALUE Set the current organization context for the request --target-template-id VALUE Target template ID --template-id 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
Usage:
hammer foreign-input-set update [OPTIONS]
Options:
--description VALUE Input set description
--exclude VALUE A comma separated list of input names to be included from the foreign template.
--id VALUE
--include VALUE A comma separated list of input names to be included from the foreign template.
--include-all BOOLEAN Include all inputs from the foreign template
--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 Name to search by
--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-title VALUE Set the current organization context for the request
--target-template-id VALUE Target template ID
--template-id 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.33. hammer full-help Copy linkLink copied to clipboard!
Print help for all hammer commands
Usage: hammer full-help [OPTIONS] Options: --md Format output in markdown -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
Usage:
hammer full-help [OPTIONS]
Options:
--md Format output in markdown
-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.34. hammer global-parameter Copy linkLink copied to clipboard!
Manipulate global parameters
Usage: hammer global-parameter [OPTIONS] SUBCOMMAND [ARG] ... Parameters: SUBCOMMAND Subcommand [ARG] ... Subcommand arguments Subcommands: delete, destroy Delete a global parameter list, index List all global parameters set Set a global parameter Options: -h, --help Print help
Usage:
hammer global-parameter [OPTIONS] SUBCOMMAND [ARG] ...
Parameters:
SUBCOMMAND Subcommand
[ARG] ... Subcommand arguments
Subcommands:
delete, destroy Delete a global parameter
list, index List all global parameters
set Set a global parameter
Options:
-h, --help Print help
3.34.1. hammer global-parameter delete Copy linkLink copied to clipboard!
Delete a global parameter
Usage: hammer global-parameter <delete|destroy> [OPTIONS] Options: --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 Common parameter name --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 -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
Usage:
hammer global-parameter <delete|destroy> [OPTIONS]
Options:
--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 Common parameter name
--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
-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.34.2. hammer global-parameter list Copy linkLink copied to clipboard!
List all global parameters
Usage: hammer global-parameter <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 --show-hidden BOOLEAN Display hidden values -h, --help Print help Predefined field sets: -------|-----|---------|----- FIELDS | ALL | DEFAULT | THIN -------|-----|---------|----- Name | x | x | x Value | x | x | Type | 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: domain_name string host_group_name string host_name string key_type string location_name string name string organization_name string os_name string parameter_type string subnet_name text type string value text
Usage:
hammer global-parameter <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
--show-hidden BOOLEAN Display hidden values
-h, --help Print help
Predefined field sets:
-------|-----|---------|-----
FIELDS | ALL | DEFAULT | THIN
-------|-----|---------|-----
Name | x | x | x
Value | x | x |
Type | 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:
domain_name string
host_group_name string
host_name string
key_type string
location_name string
name string
organization_name string
os_name string
parameter_type string
subnet_name text
type string
value text
3.34.3. hammer global-parameter set Copy linkLink copied to clipboard!
Set a global parameter
Usage: hammer global-parameter set [OPTIONS] Options: --hidden-value BOOLEAN Should the value be hidden --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
Usage:
hammer global-parameter set [OPTIONS]
Options:
--hidden-value BOOLEAN Should the value be hidden
--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
3.35. hammer host Copy linkLink copied to clipboard!
Manipulate hosts
Usage: hammer host [OPTIONS] SUBCOMMAND [ARG] ... Parameters: SUBCOMMAND Subcommand [ARG] ... Subcommand arguments Subcommands: ansible-roles Manage Ansible roles on a host boot Boot host from specified device config-reports List all reports create Create a host deb-package Manage deb packages on your hosts delete, destroy Delete a host delete-parameter Delete parameter for a host disassociate Disassociate a host enc-dump Dump host's ENC YAML errata Manage errata on your hosts facts List all fact values info, show Show a host interface View and manage host's network interfaces list, index List all hosts package Manage packages on your hosts package-group Manage package-groups on your hosts policies-enc View policies ENC for host reboot Reboot a host rebuild-config Rebuild orchestration related configurations for host reports List all reports reset Reset a host set-parameter Create or append a parameter for a host start Power a host on status Get status of host stop Power a host off subscription Manage subscription information on your hosts traces List traces on your hosts update Update a host Options: -h, --help Print help
Usage:
hammer host [OPTIONS] SUBCOMMAND [ARG] ...
Parameters:
SUBCOMMAND Subcommand
[ARG] ... Subcommand arguments
Subcommands:
ansible-roles Manage Ansible roles on a host
boot Boot host from specified device
config-reports List all reports
create Create a host
deb-package Manage deb packages on your hosts
delete, destroy Delete a host
delete-parameter Delete parameter for a host
disassociate Disassociate a host
enc-dump Dump host's ENC YAML
errata Manage errata on your hosts
facts List all fact values
info, show Show a host
interface View and manage host's network interfaces
list, index List all hosts
package Manage packages on your hosts
package-group Manage package-groups on your hosts
policies-enc View policies ENC for host
reboot Reboot a host
rebuild-config Rebuild orchestration related configurations for host
reports List all reports
reset Reset a host
set-parameter Create or append a parameter for a host
start Power a host on
status Get status of host
stop Power a host off
subscription Manage subscription information on your hosts
traces List traces on your hosts
update Update a host
Options:
-h, --help Print help
3.35.1. hammer host ansible-roles Copy linkLink copied to clipboard!
Manage Ansible roles on a host
Usage: hammer host ansible-roles [OPTIONS] SUBCOMMAND [ARG] ... Parameters: SUBCOMMAND Subcommand [ARG] ... Subcommand arguments Subcommands: assign Assigns Ansible roles to a host list, index List all Ansible roles for a host play Runs all Ansible roles on a host Options: -h, --help Print help
Usage:
hammer host ansible-roles [OPTIONS] SUBCOMMAND [ARG] ...
Parameters:
SUBCOMMAND Subcommand
[ARG] ... Subcommand arguments
Subcommands:
assign Assigns Ansible roles to a host
list, index List all Ansible roles for a host
play Runs all Ansible roles on a host
Options:
-h, --help Print help
3.35.1.1. hammer host ansible-roles assign Copy linkLink copied to clipboard!
Assigns Ansible roles to a host
Usage: hammer host ansible-roles assign [OPTIONS] Options: --ansible-role-ids LIST Ansible roles to assign to a host --ansible-roles LIST --id VALUE --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 Host name --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 -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
Usage:
hammer host ansible-roles assign [OPTIONS]
Options:
--ansible-role-ids LIST Ansible roles to assign to a host
--ansible-roles LIST
--id VALUE
--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 Host name
--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
-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.35.1.2. hammer host ansible-roles list Copy linkLink copied to clipboard!
List all Ansible roles for a host
Usage: hammer host ansible-roles <list|index> [OPTIONS] Options: --fields LIST Show specified fields or predefined field sets only. (See below) --id VALUE --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 Host name --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 -h, --help Print help Predefined field sets: ------------|-----|---------|----- FIELDS | ALL | DEFAULT | THIN ------------|-----|---------|----- Id | x | x | x Name | x | x | x Imported 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
Usage:
hammer host ansible-roles <list|index> [OPTIONS]
Options:
--fields LIST Show specified fields or predefined field sets only. (See below)
--id VALUE
--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 Host name
--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
-h, --help Print help
Predefined field sets:
------------|-----|---------|-----
FIELDS | ALL | DEFAULT | THIN
------------|-----|---------|-----
Id | x | x | x
Name | x | x | x
Imported 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
3.35.1.3. hammer host ansible-roles play Copy linkLink copied to clipboard!
Runs all Ansible roles on a host
Usage: hammer host ansible-roles play [OPTIONS] Options: --id VALUE --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 Host name --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 -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
Usage:
hammer host ansible-roles play [OPTIONS]
Options:
--id VALUE
--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 Host name
--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
-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.35.2. hammer host boot Copy linkLink copied to clipboard!
Boot host from specified device
Usage: hammer host boot [OPTIONS] Options: --device VALUE Boot device, valid devices are disk, cdrom, pxe, bios --id VALUE --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 Host name --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 -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
Usage:
hammer host boot [OPTIONS]
Options:
--device VALUE Boot device, valid devices are disk, cdrom, pxe, bios
--id VALUE
--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 Host name
--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
-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.35.3. hammer host config-reports Copy linkLink copied to clipboard!
List all reports
Usage: hammer host config-reports [OPTIONS] Options: --fields LIST Show specified fields or predefined field sets only. (See below) --id VALUE Host id --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 Host name --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 Host | x | x | Last report | x | x | Origin | x | x | Applied | x | x | Restarted | x | x | Failed | x | x | Restart failures | x | x | Skipped | x | x | Pending | 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: applied integer eventful Values: true, false failed integer failed_restarts integer host string host_id integer host_owner_id integer hostgroup string hostgroup_fullname string hostgroup_title string last_report datetime location string log text organization string origin string pending integer reported datetime resource text restarted integer skipped integer
Usage:
hammer host config-reports [OPTIONS]
Options:
--fields LIST Show specified fields or predefined field sets only. (See below)
--id VALUE Host id
--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 Host name
--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
Host | x | x |
Last report | x | x |
Origin | x | x |
Applied | x | x |
Restarted | x | x |
Failed | x | x |
Restart failures | x | x |
Skipped | x | x |
Pending | 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:
applied integer
eventful Values: true, false
failed integer
failed_restarts integer
host string
host_id integer
host_owner_id integer
hostgroup string
hostgroup_fullname string
hostgroup_title string
last_report datetime
location string
log text
organization string
origin string
pending integer
reported datetime
resource text
restarted integer
skipped integer
3.35.4. hammer host create Copy linkLink copied to clipboard!
Create a host
Usage: hammer host create [OPTIONS] Options: --ansible-role-ids LIST IDs of associated ansible roles --ansible-roles LIST --architecture VALUE Architecture name --architecture-id NUMBER Required if host is managed and value is not inherited from host group --ask-root-password BOOLEAN --autoheal BOOLEAN Sets whether the Host will autoheal subscriptions upon checkin --build BOOLEAN --comment VALUE Additional information about this host --compute-attributes KEY_VALUE_LIST Compute resource attributes --compute-profile VALUE Compute profile name --compute-profile-id NUMBER --compute-resource VALUE Compute resource name --compute-resource-id NUMBER Nil means host is bare metal --content-source VALUE Content Source name --content-source-id NUMBER --content-view VALUE Name to search by --content-view-id NUMBER --domain VALUE Domain name --domain-id NUMBER Required if host is managed and value is not inherited from host group --enabled BOOLEAN Include this host within Satellite reporting --hostgroup VALUE Hostgroup name --hostgroup-id NUMBER --hostgroup-title VALUE Hostgroup title --hypervisor-guest-uuids LIST List of hypervisor guest uuids --image VALUE Name to search by --image-id NUMBER --installed-products-attributes SCHEMA List of products installed on the host --interface KEY_VALUE_LIST Interface parameters Can be specified multiple times. --ip VALUE Not required if using a subnet with DHCP Capsule --kickstart-repository VALUE Kickstart repository name --kickstart-repository-id NUMBER Repository Id associated with the kickstart repo used for provisioning --lifecycle-environment VALUE Name to search by --lifecycle-environment-id NUMBER --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 --mac VALUE Required for managed host that is bare metal, not required if it's a virtual machine --managed BOOLEAN True/False flag whether a host is managed or unmanaged. Note: this value also determines whether several parameters are required or not --medium VALUE Medium name --medium-id VALUE Required if not imaged based provisioning and host is managed and value is not inherited from host group --model VALUE Model name --model-id NUMBER --name VALUE --openscap-proxy-id NUMBER ID of OpenSCAP Capsule --operatingsystem VALUE Operating system title --operatingsystem-id NUMBER Required if host is managed and value is not inherited from host group --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 --overwrite BOOLEAN Default: "true" --owner VALUE Login of the owner --owner-id VALUE ID of the owner --owner-type ENUM Host's owner type Possible value(s): 'User', 'Usergroup' --parameters KEY_VALUE_LIST Replaces with new host parameters --partition-table VALUE Partition table name --partition-table-id NUMBER Required if host is managed and custom partition has not been defined --product VALUE Name to search by --product-id NUMBER Product id as listed from a host's installed products, this is not the same product id as the products api returns --progress-report-id VALUE UUID to track orchestration tasks status, GET /api/orchestration/:UUID/tasks --provision-method ENUM The method used to provision the host. Possible value(s): 'build', 'image', 'bootdisk' --puppet-ca-proxy-id NUMBER Puppet CA Capsule ID --puppet-proxy-id NUMBER Puppet Capsule ID --purpose-addons LIST Sets the system add-ons --purpose-role VALUE Sets the system purpose usage --purpose-usage VALUE Sets the system purpose usage --pxe-loader ENUM DHCP filename option (Grub2/PXELinux by default) Possible value(s): 'None', 'PXELinux BIOS', 'PXELinux UEFI', 'Grub UEFI', 'Grub2 BIOS', 'Grub2 ELF', 'Grub2 UEFI', 'Grub2 UEFI SecureBoot', 'Grub2 UEFI HTTP', 'Grub2 UEFI HTTPS', 'Grub2 UEFI HTTPS SecureBoot', 'iPXE Embedded', 'iPXE UEFI HTTP', 'iPXE Chain BIOS', 'iPXE Chain UEFI' --realm VALUE Name to search by --realm-id NUMBER --release-version VALUE Release version for this Host to use (7Server, 7.1, etc) --root-password VALUE Required if host is managed and value is not inherited from host group or default password in settings --service-level VALUE Service level to be used for autoheal --subnet VALUE Subnet name --subnet-id NUMBER Required if host is managed and value is not inherited from host group --typed-parameters SCHEMA Replaces with new host parameters (with type support) --volume KEY_VALUE_LIST Volume parameters Can be specified multiple times. -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 Following parameters accept format defined by its schema (bold are required; <> contains acceptable type; [] contains acceptable value): --typed-parameters "name=<string>\,value=<string>\,parameter_type=[string|boolean|integer|real|array|hash|yaml|json]\,hidden_value=[true|false|1|0], ... " --installed-products-attributes "product_id=<string>\,product_name=<string>\,arch=<string>\,version=<string>, ... " Available keys for --interface: mac ip type Possible values: interface, bmc, bond, bridge name subnet_id domain_id identifier managed true/false primary true/false, each managed hosts needs to have one primary interface. provision true/false virtual true/false For virtual=true: tag VLAN tag, this attribute has precedence over the subnet VLAN ID. Only for virtual interfaces. attached_to Identifier of the interface to which this interface belongs, e.g. eth1. For type=bond: mode Possible values: balance-rr, active-backup, balance-xor, broadcast, 802.3ad, balance-tlb, balance-alb attached_devices Identifiers of slave interfaces, e.g. [eth1,eth2] bond_options For type=bmc: provider always IPMI username password Provider specific options: NOTE: Bold attributes are required. EC2: --volume: --interface: --compute-attributes: availability_zone flavor_id groups security_group_ids managed_ip GCE: --volume: size_gb Volume size in GB, integer value --interface: --compute-attributes: machine_type network associate_external_ip Libvirt: --volume: pool_name One of available storage pools capacity String value, e.g. 10G allocation Initial allocation, e.g. 0G format_type Possible values: raw, qcow2 --interface: compute_type Possible values: bridge, network compute_bridge Name of interface according to type compute_model Possible values: virtio, rtl8139, ne2k_pci, pcnet, e1000 compute_network Libvirt instance network, e.g. default --compute-attributes: cpus Number of CPUs memory String, amount of memory, value in bytes cpu_mode Possible values: default, host-model, host-passthrough start Boolean (expressed as 0 or 1), whether to start the machine or not OpenStack: --volume: --interface: --compute-attributes: availability_zone boot_from_volume flavor_ref image_ref tenant_id security_groups network oVirt: --volume: size_gb Volume size in GB, integer value storage_domain ID or name of storage domain bootable Boolean, set 1 for bootable, only one volume can be bootable preallocate Boolean, set 1 to preallocate wipe_after_delete Boolean, set 1 to wipe disk after delete interface Disk interface name, must be ide, virto or virto_scsi --interface: compute_name Compute name, e.g. eth0 compute_network Select one of available networks for a cluster, must be an ID or a name compute_interface Interface type compute_vnic_profile Vnic Profile --compute-attributes: cluster ID or name of cluster to use template Hardware profile to use cores Integer value, number of cores sockets Integer value, number of sockets memory Amount of memory, integer value in bytes ha Boolean, set 1 to high availability display_type Possible values: VNC, SPICE keyboard_layout Possible values: ar, de-ch, es, fo, fr-ca, hu, ja, mk, no, pt-br, sv, da, en-gb, et, fr, fr-ch, is, lt, nl, pl, ru, th, de, en-us, fi, fr-be, hr, it, lv, nl-be, pt, sl, tr. Not usable if display type is SPICE. start Boolean, set 1 to start the vm Rackspace: --volume: --interface: --compute-attributes: flavor_id VMware: --volume: name storage_pod Storage Pod ID from VMware datastore Datastore ID from VMware mode persistent/independent_persistent/independent_nonpersistent size_gb Integer number, volume size in GB thin true/false eager_zero true/false controller_key Associated SCSI controller key --interface: compute_type Type of the network adapter, for example one of: VirtualVmxnet3 VirtualE1000 See documentation center for your version of vSphere to find more details about available adapter types: https://www.vmware.com/support/pubs/ compute_network Network ID or Network Name from VMware --compute-attributes: cluster Cluster ID from VMware corespersocket Number of cores per socket (applicable to hardware versions < 10 only) cpus CPU count memory_mb Integer number, amount of memory in MB path Path to folder resource_pool Resource Pool ID from VMware firmware automatic/bios/efi guest_id Guest OS ID form VMware hardware_version Hardware version ID from VMware memoryHotAddEnabled Must be a 1 or 0, lets you add memory resources while the machine is on cpuHotAddEnabled Must be a 1 or 0, lets you add CPU resources while the machine is on add_cdrom Must be a 1 or 0, Add a CD-ROM drive to the virtual machine annotation Annotation Notes scsi_controllers List with SCSI controllers definitions type - ID of the controller from VMware key - Key of the controller (e.g. 1000) start Must be a 1 or 0, whether to start the machine or not AzureRM: --volume: disk_size_gb Volume Size in GB (integer value) data_disk_caching Data Disk Caching (None, ReadOnly, ReadWrite) --interface: compute_network Select one of available Azure Subnets, must be an ID compute_public_ip Public IP (None, Static, Dynamic) compute_private_ip Static Private IP (expressed as true or false) --compute-attributes: resource_group Existing Azure Resource Group of user vm_size VM Size, eg. Standard_A0 etc. username The Admin username password The Admin password platform OS type eg. Linux ssh_key_data SSH key for passwordless authentication os_disk_caching OS disk caching premium_os_disk Premium OS Disk, Boolean as 0 or 1 script_command Custom Script Command script_uris Comma seperated file URIs
Usage:
hammer host create [OPTIONS]
Options:
--ansible-role-ids LIST IDs of associated ansible roles
--ansible-roles LIST
--architecture VALUE Architecture name
--architecture-id NUMBER Required if host is managed and value is not inherited from host group
--ask-root-password BOOLEAN
--autoheal BOOLEAN Sets whether the Host will autoheal subscriptions upon checkin
--build BOOLEAN
--comment VALUE Additional information about this host
--compute-attributes KEY_VALUE_LIST Compute resource attributes
--compute-profile VALUE Compute profile name
--compute-profile-id NUMBER
--compute-resource VALUE Compute resource name
--compute-resource-id NUMBER Nil means host is bare metal
--content-source VALUE Content Source name
--content-source-id NUMBER
--content-view VALUE Name to search by
--content-view-id NUMBER
--domain VALUE Domain name
--domain-id NUMBER Required if host is managed and value is not inherited from host group
--enabled BOOLEAN Include this host within Satellite reporting
--hostgroup VALUE Hostgroup name
--hostgroup-id NUMBER
--hostgroup-title VALUE Hostgroup title
--hypervisor-guest-uuids LIST List of hypervisor guest uuids
--image VALUE Name to search by
--image-id NUMBER
--installed-products-attributes SCHEMA List of products installed on the host
--interface KEY_VALUE_LIST Interface parameters
Can be specified multiple times.
--ip VALUE Not required if using a subnet with DHCP Capsule
--kickstart-repository VALUE Kickstart repository name
--kickstart-repository-id NUMBER Repository Id associated with the kickstart repo used for provisioning
--lifecycle-environment VALUE Name to search by
--lifecycle-environment-id NUMBER
--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
--mac VALUE Required for managed host that is bare metal, not required if it's a virtual
machine
--managed BOOLEAN True/False flag whether a host is managed or unmanaged. Note: this value also
determines whether several parameters are required or not
--medium VALUE Medium name
--medium-id VALUE Required if not imaged based provisioning and host is managed and value is not
inherited from host group
--model VALUE Model name
--model-id NUMBER
--name VALUE
--openscap-proxy-id NUMBER ID of OpenSCAP Capsule
--operatingsystem VALUE Operating system title
--operatingsystem-id NUMBER Required if host is managed and value is not inherited from host group
--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
--overwrite BOOLEAN Default: "true"
--owner VALUE Login of the owner
--owner-id VALUE ID of the owner
--owner-type ENUM Host's owner type
Possible value(s): 'User', 'Usergroup'
--parameters KEY_VALUE_LIST Replaces with new host parameters
--partition-table VALUE Partition table name
--partition-table-id NUMBER Required if host is managed and custom partition has not been defined
--product VALUE Name to search by
--product-id NUMBER Product id as listed from a host's installed products, this is not the
same product id as the products api returns
--progress-report-id VALUE UUID to track orchestration tasks status, GET /api/orchestration/:UUID/tasks
--provision-method ENUM The method used to provision the host.
Possible value(s): 'build', 'image', 'bootdisk'
--puppet-ca-proxy-id NUMBER Puppet CA Capsule ID
--puppet-proxy-id NUMBER Puppet Capsule ID
--purpose-addons LIST Sets the system add-ons
--purpose-role VALUE Sets the system purpose usage
--purpose-usage VALUE Sets the system purpose usage
--pxe-loader ENUM DHCP filename option (Grub2/PXELinux by default)
Possible value(s): 'None', 'PXELinux BIOS', 'PXELinux UEFI', 'Grub UEFI', 'Grub2
BIOS', 'Grub2 ELF', 'Grub2 UEFI', 'Grub2 UEFI SecureBoot', 'Grub2 UEFI HTTP',
'Grub2 UEFI HTTPS', 'Grub2 UEFI HTTPS SecureBoot', 'iPXE Embedded', 'iPXE UEFI
HTTP', 'iPXE Chain BIOS', 'iPXE Chain UEFI'
--realm VALUE Name to search by
--realm-id NUMBER
--release-version VALUE Release version for this Host to use (7Server, 7.1, etc)
--root-password VALUE Required if host is managed and value is not inherited from host group or
default password in settings
--service-level VALUE Service level to be used for autoheal
--subnet VALUE Subnet name
--subnet-id NUMBER Required if host is managed and value is not inherited from host group
--typed-parameters SCHEMA Replaces with new host parameters (with type support)
--volume KEY_VALUE_LIST Volume parameters
Can be specified multiple times.
-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
Following parameters accept format defined by its schema (bold are required; <> contains acceptable type; [] contains acceptable value):
--typed-parameters "name=<string>\,value=<string>\,parameter_type=[string|boolean|integer|real|array|hash|yaml|json]\,hidden_value=[true|false|1|0], ... "
--installed-products-attributes "product_id=<string>\,product_name=<string>\,arch=<string>\,version=<string>, ... "
Available keys for --interface:
mac
ip
type Possible values: interface, bmc, bond, bridge
name
subnet_id
domain_id
identifier
managed true/false
primary true/false, each managed hosts needs to have one primary interface.
provision true/false
virtual true/false
For virtual=true:
tag VLAN tag, this attribute has precedence over the subnet VLAN ID. Only for virtual interfaces.
attached_to Identifier of the interface to which this interface belongs, e.g. eth1.
For type=bond:
mode Possible values: balance-rr, active-backup, balance-xor, broadcast, 802.3ad, balance-tlb, balance-alb
attached_devices Identifiers of slave interfaces, e.g. [eth1,eth2]
bond_options
For type=bmc:
provider always IPMI
username
password
Provider specific options:
NOTE: Bold attributes are required.
EC2:
--volume:
--interface:
--compute-attributes:
availability_zone
flavor_id
groups
security_group_ids
managed_ip
GCE:
--volume:
size_gb Volume size in GB, integer value
--interface:
--compute-attributes:
machine_type
network
associate_external_ip
Libvirt:
--volume:
pool_name One of available storage pools
capacity String value, e.g. 10G
allocation
Initial allocation, e.g. 0G
format_type Possible values: raw, qcow2
--interface:
compute_type Possible values: bridge, network
compute_bridge Name of interface according to type
compute_model Possible values: virtio, rtl8139, ne2k_pci, pcnet, e1000
compute_network
Libvirt instance network, e.g. default
--compute-attributes:
cpus Number of CPUs
memory String, amount of memory, value in bytes
cpu_mode Possible values: default, host-model, host-passthrough
start Boolean (expressed as 0 or 1), whether to start the machine or not
OpenStack:
--volume:
--interface:
--compute-attributes:
availability_zone
boot_from_volume
flavor_ref
image_ref
tenant_id
security_groups
network
oVirt:
--volume:
size_gb Volume size in GB, integer value
storage_domain ID or name of storage domain
bootable Boolean, set 1 for bootable, only one volume can be bootable
preallocate Boolean, set 1 to preallocate
wipe_after_delete Boolean, set 1 to wipe disk after delete
interface Disk interface name, must be ide, virto or virto_scsi
--interface:
compute_name Compute name, e.g. eth0
compute_network Select one of available networks for a cluster, must be an ID or a name
compute_interface Interface type
compute_vnic_profile Vnic Profile
--compute-attributes:
cluster ID or name of cluster to use
template Hardware profile to use
cores Integer value, number of cores
sockets Integer value, number of sockets
memory Amount of memory, integer value in bytes
ha Boolean, set 1 to high availability
display_type Possible values: VNC, SPICE
keyboard_layout Possible values: ar, de-ch, es, fo, fr-ca, hu, ja, mk, no, pt-br, sv, da, en-gb, et, fr, fr-ch, is, lt, nl, pl, ru, th, de, en-us, fi, fr-be, hr, it, lv, nl-be, pt, sl, tr. Not usable if display type is SPICE.
start Boolean, set 1 to start the vm
Rackspace:
--volume:
--interface:
--compute-attributes:
flavor_id
VMware:
--volume:
name
storage_pod Storage Pod ID from VMware
datastore Datastore ID from VMware
mode persistent/independent_persistent/independent_nonpersistent
size_gb Integer number, volume size in GB
thin true/false
eager_zero true/false
controller_key Associated SCSI controller key
--interface:
compute_type Type of the network adapter, for example one of:
VirtualVmxnet3
VirtualE1000
See documentation center for your version of vSphere to find more details about available adapter types:
https://www.vmware.com/support/pubs/
compute_network Network ID or Network Name from VMware
--compute-attributes:
cluster Cluster ID from VMware
corespersocket Number of cores per socket (applicable to hardware versions < 10 only)
cpus CPU count
memory_mb Integer number, amount of memory in MB
path Path to folder
resource_pool Resource Pool ID from VMware
firmware automatic/bios/efi
guest_id Guest OS ID form VMware
hardware_version Hardware version ID from VMware
memoryHotAddEnabled Must be a 1 or 0, lets you add memory resources while the machine is on
cpuHotAddEnabled Must be a 1 or 0, lets you add CPU resources while the machine is on
add_cdrom Must be a 1 or 0, Add a CD-ROM drive to the virtual machine
annotation Annotation Notes
scsi_controllers List with SCSI controllers definitions
type - ID of the controller from VMware
key - Key of the controller (e.g. 1000)
start Must be a 1 or 0, whether to start the machine or not
AzureRM:
--volume:
disk_size_gb Volume Size in GB (integer value)
data_disk_caching Data Disk Caching (None, ReadOnly, ReadWrite)
--interface:
compute_network Select one of available Azure Subnets, must be an ID
compute_public_ip Public IP (None, Static, Dynamic)
compute_private_ip Static Private IP (expressed as true or false)
--compute-attributes:
resource_group Existing Azure Resource Group of user
vm_size VM Size, eg. Standard_A0 etc.
username The Admin username
password The Admin password
platform OS type eg. Linux
ssh_key_data SSH key for passwordless authentication
os_disk_caching OS disk caching
premium_os_disk Premium OS Disk, Boolean as 0 or 1
script_command Custom Script Command
script_uris Comma seperated file URIs
3.35.5. hammer host deb-package Copy linkLink copied to clipboard!
Manage deb packages on your hosts
Usage: hammer host deb-package [OPTIONS] SUBCOMMAND [ARG] ... Parameters: SUBCOMMAND Subcommand [ARG] ... Subcommand arguments Subcommands: list, index List deb packages installed on the host Options: -h, --help Print help
Usage:
hammer host deb-package [OPTIONS] SUBCOMMAND [ARG] ...
Parameters:
SUBCOMMAND Subcommand
[ARG] ... Subcommand arguments
Subcommands:
list, index List deb packages installed on the host
Options:
-h, --help Print help
3.35.5.1. hammer host deb-package list Copy linkLink copied to clipboard!
List deb packages installed on the host
Usage: hammer host deb-package <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 --host VALUE Host name --host-id NUMBER ID of the host --order VALUE Sort field and order, eg. 'id DESC' --page NUMBER Page number, starting at 1 --per-page NUMBER Number of results per page to return --search VALUE Search string -h, --help Print help Predefined field sets: --------|-----|---------|----- FIELDS | ALL | DEFAULT | THIN --------|-----|---------|----- Id | x | x | x Name | x | x | x Version | x | x | Arch | 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
Usage:
hammer host deb-package <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
--host VALUE Host name
--host-id NUMBER ID of the host
--order VALUE Sort field and order, eg. 'id DESC'
--page NUMBER Page number, starting at 1
--per-page NUMBER Number of results per page to return
--search VALUE Search string
-h, --help Print help
Predefined field sets:
--------|-----|---------|-----
FIELDS | ALL | DEFAULT | THIN
--------|-----|---------|-----
Id | x | x | x
Name | x | x | x
Version | x | x |
Arch | 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.35.6. hammer host delete Copy linkLink copied to clipboard!
Delete a host
Usage: hammer host <delete|destroy> [OPTIONS] Options: --id VALUE --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 Host name --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 -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
Usage:
hammer host <delete|destroy> [OPTIONS]
Options:
--id VALUE
--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 Host name
--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
-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.35.7. hammer host delete-parameter Copy linkLink copied to clipboard!
Delete parameter for a host
Usage: hammer host delete-parameter [OPTIONS] Options: --host VALUE Host name --host-id NUMBER --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
Usage:
hammer host delete-parameter [OPTIONS]
Options:
--host VALUE Host name
--host-id NUMBER
--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
3.35.8. hammer host disassociate Copy linkLink copied to clipboard!
Disassociate a host
Usage: hammer host disassociate [OPTIONS] Options: --id VALUE --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 Host name --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 -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
Usage:
hammer host disassociate [OPTIONS]
Options:
--id VALUE
--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 Host name
--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
-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.35.9. hammer host enc-dump Copy linkLink copied to clipboard!
Dump host’s ENC YAML
Usage: hammer host enc-dump [OPTIONS] Options: --id VALUE --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 Host name --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 -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
Usage:
hammer host enc-dump [OPTIONS]
Options:
--id VALUE
--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 Host name
--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
-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.35.10. hammer host errata Copy linkLink copied to clipboard!
Manage errata on your hosts
Usage: hammer host errata [OPTIONS] SUBCOMMAND [ARG] ... Parameters: SUBCOMMAND Subcommand [ARG] ... Subcommand arguments Subcommands: apply Schedule errata for installation using katello-agent. NOTE: Katello-agent is deprecated and will be removed in a future release. Consider using remote execution instead. info Retrieve a single errata for a host list List errata available for the content host recalculate Force regenerate applicability. Options: -h, --help Print help
Usage:
hammer host errata [OPTIONS] SUBCOMMAND [ARG] ...
Parameters:
SUBCOMMAND Subcommand
[ARG] ... Subcommand arguments
Subcommands:
apply Schedule errata for installation using katello-agent. NOTE: Katello-agent is
deprecated and will be removed in a future release. Consider using remote
execution instead.
info Retrieve a single errata for a host
list List errata available for the content host
recalculate Force regenerate applicability.
Options:
-h, --help Print help
3.35.10.1. hammer host errata apply Copy linkLink copied to clipboard!
Schedule errata for installation using katello-agent. NOTE: Katello-agent is deprecated and will be removed in a future release. Consider using remote execution instead.
Usage: hammer host errata apply [OPTIONS] Options: --async Do not wait for the task --errata-ids LIST List of Errata ids to install. Will be removed in a future release --full-result BOOLEAN Whether or not to show all results --host VALUE Host name --host-id NUMBER Host ID --order VALUE Sort field and order, eg. 'id DESC' --page NUMBER Page number, starting at 1 --per-page NUMBER Number of results per page to return --search VALUE Search string for erratum to perform an action on --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 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
Usage:
hammer host errata apply [OPTIONS]
Options:
--async Do not wait for the task
--errata-ids LIST List of Errata ids to install. Will be removed in a future release
--full-result BOOLEAN Whether or not to show all results
--host VALUE Host name
--host-id NUMBER Host ID
--order VALUE Sort field and order, eg. 'id DESC'
--page NUMBER Page number, starting at 1
--per-page NUMBER Number of results per page to return
--search VALUE Search string for erratum to perform an action on
--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
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.35.10.2. hammer host errata info Copy linkLink copied to clipboard!
Retrieve a single errata for a host
Usage: hammer host errata info [OPTIONS] Options: --fields LIST Show specified fields or predefined field sets only. (See below) --host VALUE Host name --host-id NUMBER Host ID --id VALUE Errata id of the erratum (RHSA-2012:108) --name VALUE Name to search by -h, --help Print help Predefined field sets: ------------------------|-----|-------- FIELDS | ALL | DEFAULT ------------------------|-----|-------- Title | x | x Version | x | x Description | x | x Status | x | x Id | x | x Errata id | x | x Reboot suggested | x | x Updated | x | x Issued | x | x Release | x | x Solution | x | x Packages | x | x Module streams/name | x | x Module streams/stream | x | x Module streams/packages | 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
Usage:
hammer host errata info [OPTIONS]
Options:
--fields LIST Show specified fields or predefined field sets only. (See below)
--host VALUE Host name
--host-id NUMBER Host ID
--id VALUE Errata id of the erratum (RHSA-2012:108)
--name VALUE Name to search by
-h, --help Print help
Predefined field sets:
------------------------|-----|--------
FIELDS | ALL | DEFAULT
------------------------|-----|--------
Title | x | x
Version | x | x
Description | x | x
Status | x | x
Id | x | x
Errata id | x | x
Reboot suggested | x | x
Updated | x | x
Issued | x | x
Release | x | x
Solution | x | x
Packages | x | x
Module streams/name | x | x
Module streams/stream | x | x
Module streams/packages | 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.35.10.3. hammer host errata list Copy linkLink copied to clipboard!
List errata available for the content host
Usage: hammer host errata list [OPTIONS] Options: --content-view VALUE Content view name to search by --content-view-id NUMBER Calculate Applicable Errata based on a particular Content View --environment VALUE Lifecycle environment name to search by (--environment is deprecated: Use --lifecycle-environment instead) --environment-id NUMBER (--environment-id is deprecated: Use --lifecycle-environment-id instead) --fields LIST Show specified fields or predefined field sets only. (See below) --full-result BOOLEAN Whether or not to show all results --host VALUE Host name --host-id NUMBER UUID of the content host --include-applicable BOOLEAN Return errata that are applicable to this host. Defaults to false) --lifecycle-environment VALUE Lifecycle environment name to search by --lifecycle-environment-id NUMBER Calculate Applicable Errata based on a particular Environment --order VALUE Sort field and order, eg. 'id DESC' --organization VALUE Organization name to search by --organization-id VALUE Organization ID to search by --organization-label VALUE Organization label to search by --page NUMBER Page number, starting at 1 --per-page NUMBER Number of results per page to return --search VALUE Search string --severity VALUE Return only errata of a particular severity (None, Low, Moderate, Important, Critical) --type VALUE Return only errata of a particular type (security, bugfix, enhancement) -h, --help Print help Predefined field sets: ------------|-----|-------- FIELDS | ALL | DEFAULT ------------|-----|-------- Id | x | x Erratum id | x | x Type | x | x Title | x | x Installable | 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
Usage:
hammer host errata list [OPTIONS]
Options:
--content-view VALUE Content view name to search by
--content-view-id NUMBER Calculate Applicable Errata based on a particular Content View
--environment VALUE Lifecycle environment name to search by (--environment is deprecated: Use
--lifecycle-environment instead)
--environment-id NUMBER (--environment-id is deprecated: Use --lifecycle-environment-id instead)
--fields LIST Show specified fields or predefined field sets only. (See below)
--full-result BOOLEAN Whether or not to show all results
--host VALUE Host name
--host-id NUMBER UUID of the content host
--include-applicable BOOLEAN Return errata that are applicable to this host. Defaults to false)
--lifecycle-environment VALUE Lifecycle environment name to search by
--lifecycle-environment-id NUMBER Calculate Applicable Errata based on a particular Environment
--order VALUE Sort field and order, eg. 'id DESC'
--organization VALUE Organization name to search by
--organization-id VALUE Organization ID to search by
--organization-label VALUE Organization label to search by
--page NUMBER Page number, starting at 1
--per-page NUMBER Number of results per page to return
--search VALUE Search string
--severity VALUE Return only errata of a particular severity (None, Low, Moderate, Important,
Critical)
--type VALUE Return only errata of a particular type (security, bugfix, enhancement)
-h, --help Print help
Predefined field sets:
------------|-----|--------
FIELDS | ALL | DEFAULT
------------|-----|--------
Id | x | x
Erratum id | x | x
Type | x | x
Title | x | x
Installable | 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.35.10.4. hammer host errata recalculate Copy linkLink copied to clipboard!
Force regenerate applicability.
Usage: hammer host errata recalculate [OPTIONS] Options: --host VALUE Host name --host-id NUMBER Host ID -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
Usage:
hammer host errata recalculate [OPTIONS]
Options:
--host VALUE Host name
--host-id NUMBER Host ID
-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.35.11. hammer host facts Copy linkLink copied to clipboard!
List all fact values
Usage: hammer host facts [OPTIONS] Options: --fields LIST Show specified fields or predefined field sets only. (See below) --id VALUE --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 Host name --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 -------|-----|-------- Fact | x | x Value | 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: fact string fact_short_name string facts string host string host.hostgroup string host_id integer location string location_id integer name string organization string organization_id integer origin string reported_at datetime short_name string type string value string
Usage:
hammer host facts [OPTIONS]
Options:
--fields LIST Show specified fields or predefined field sets only. (See below)
--id VALUE
--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 Host name
--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
-------|-----|--------
Fact | x | x
Value | 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:
fact string
fact_short_name string
facts string
host string
host.hostgroup string
host_id integer
location string
location_id integer
name string
organization string
organization_id integer
origin string
reported_at datetime
short_name string
type string
value string
3.35.12. hammer host info Copy linkLink copied to clipboard!
Show a host
Usage: hammer host <info|show> [OPTIONS] Options: --fields LIST Show specified fields or predefined field sets only. (See below) --id VALUE --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 Host name --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 -h, --help Print help Predefined field sets: --------------------------------------------------------|-----|---------|----- FIELDS | ALL | DEFAULT | THIN --------------------------------------------------------|-----|---------|----- Id | x | x | x Uuid | x | x | Name | x | x | x Organization | x | x | Location | x | x | Host group | x | x | Compute resource | x | x | Compute profile | x | x | Cert name | x | x | Managed | x | x | Installed at | x | x | Last report | x | x | Uptime (seconds) | x | x | Status/global status | x | x | Status/build status | x | x | Network/ipv4 address | x | x | Network/ipv6 address | x | x | Network/mac | x | x | Network/subnet ipv4 | x | x | Network/subnet ipv6 | x | x | Network/domain | x | x | Network/service provider/sp name | x | x | Network/service provider/sp ip | x | x | Network/service provider/sp mac | x | x | Network/service provider/sp subnet | x | x | Network interfaces/id | x | x | Network interfaces/identifier | x | x | Network interfaces/type | x | x | Network interfaces/mac address | x | x | Network interfaces/ipv4 address | x | x | Network interfaces/ipv6 address | x | x | Network interfaces/fqdn | x | x | Operating system/architecture | x | x | Operating system/operating system | x | x | Operating system/build | x | x | Operating system/medium | x | x | Operating system/partition table | x | x | Operating system/pxe loader | x | x | Operating system/custom partition table | x | x | Operating system/image | x | x | Operating system/image file | x | x | Operating system/use image | x | x | Parameters/ | x | x | All parameters/ | x | x | Additional info/owner | x | x | Additional info/owner id | x | x | Additional info/owner type | x | x | Additional info/enabled | x | x | Additional info/model | x | x | Additional info/comment | x | x | Openscap proxy | x | x | Content information/content view/id | x | x | Content information/content view/name | x | x | Content information/lifecycle environment/id | x | x | Content information/lifecycle environment/name | x | x | Content information/content source/id | x | x | Content information/content source/name | x | x | Content information/kickstart repository/id | x | x | Content information/kickstart repository/name | x | x | Content information/applicable packages | x | x | Content information/upgradable packages | x | x | Content information/applicable errata/enhancement | x | x | Content information/applicable errata/bug fix | x | x | Content information/applicable errata/security | x | x | Subscription information/uuid | x | x | Subscription information/last checkin | x | x | Subscription information/release version | x | x | Subscription information/autoheal | x | x | Subscription information/registered to | x | x | Subscription information/registered at | x | x | Subscription information/registered by activation keys/ | x | x | Subscription information/system purpose/service level | x | x | Subscription information/system purpose/purpose usage | x | x | Subscription information/system purpose/purpose role | x | x | Subscription information/system purpose/purpose addons | x | x | Trace status | x | x | Host collections/id | x | x | Host collections/name | 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
Usage:
hammer host <info|show> [OPTIONS]
Options:
--fields LIST Show specified fields or predefined field sets only. (See below)
--id VALUE
--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 Host name
--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
-h, --help Print help
Predefined field sets:
--------------------------------------------------------|-----|---------|-----
FIELDS | ALL | DEFAULT | THIN
--------------------------------------------------------|-----|---------|-----
Id | x | x | x
Uuid | x | x |
Name | x | x | x
Organization | x | x |
Location | x | x |
Host group | x | x |
Compute resource | x | x |
Compute profile | x | x |
Cert name | x | x |
Managed | x | x |
Installed at | x | x |
Last report | x | x |
Uptime (seconds) | x | x |
Status/global status | x | x |
Status/build status | x | x |
Network/ipv4 address | x | x |
Network/ipv6 address | x | x |
Network/mac | x | x |
Network/subnet ipv4 | x | x |
Network/subnet ipv6 | x | x |
Network/domain | x | x |
Network/service provider/sp name | x | x |
Network/service provider/sp ip | x | x |
Network/service provider/sp mac | x | x |
Network/service provider/sp subnet | x | x |
Network interfaces/id | x | x |
Network interfaces/identifier | x | x |
Network interfaces/type | x | x |
Network interfaces/mac address | x | x |
Network interfaces/ipv4 address | x | x |
Network interfaces/ipv6 address | x | x |
Network interfaces/fqdn | x | x |
Operating system/architecture | x | x |
Operating system/operating system | x | x |
Operating system/build | x | x |
Operating system/medium | x | x |
Operating system/partition table | x | x |
Operating system/pxe loader | x | x |
Operating system/custom partition table | x | x |
Operating system/image | x | x |
Operating system/image file | x | x |
Operating system/use image | x | x |
Parameters/ | x | x |
All parameters/ | x | x |
Additional info/owner | x | x |
Additional info/owner id | x | x |
Additional info/owner type | x | x |
Additional info/enabled | x | x |
Additional info/model | x | x |
Additional info/comment | x | x |
Openscap proxy | x | x |
Content information/content view/id | x | x |
Content information/content view/name | x | x |
Content information/lifecycle environment/id | x | x |
Content information/lifecycle environment/name | x | x |
Content information/content source/id | x | x |
Content information/content source/name | x | x |
Content information/kickstart repository/id | x | x |
Content information/kickstart repository/name | x | x |
Content information/applicable packages | x | x |
Content information/upgradable packages | x | x |
Content information/applicable errata/enhancement | x | x |
Content information/applicable errata/bug fix | x | x |
Content information/applicable errata/security | x | x |
Subscription information/uuid | x | x |
Subscription information/last checkin | x | x |
Subscription information/release version | x | x |
Subscription information/autoheal | x | x |
Subscription information/registered to | x | x |
Subscription information/registered at | x | x |
Subscription information/registered by activation keys/ | x | x |
Subscription information/system purpose/service level | x | x |
Subscription information/system purpose/purpose usage | x | x |
Subscription information/system purpose/purpose role | x | x |
Subscription information/system purpose/purpose addons | x | x |
Trace status | x | x |
Host collections/id | x | x |
Host collections/name | 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.35.13. hammer host interface Copy linkLink copied to clipboard!
View and manage host’s network interfaces
Usage: hammer host interface [OPTIONS] SUBCOMMAND [ARG] ... Parameters: SUBCOMMAND Subcommand [ARG] ... Subcommand arguments Subcommands: create Create an interface on a host delete, destroy Delete a host's interface info, show Show an interface for host list, index List all interfaces for host update Update a host's interface Options: -h, --help Print help
Usage:
hammer host interface [OPTIONS] SUBCOMMAND [ARG] ...
Parameters:
SUBCOMMAND Subcommand
[ARG] ... Subcommand arguments
Subcommands:
create Create an interface on a host
delete, destroy Delete a host's interface
info, show Show an interface for host
list, index List all interfaces for host
update Update a host's interface
Options:
-h, --help Print help
3.35.13.1. hammer host interface create Copy linkLink copied to clipboard!
Create an interface on a host
Usage: hammer host interface create [OPTIONS] Options: --attached-devices LIST Identifiers of attached interfaces, e.g. `['eth1', 'eth2']`. For bond interfaces those are the slaves. Only for bond and bridges interfaces. --attached-to VALUE Identifier of the interface to which this interface belongs, e.g. eth1. Only for virtual interfaces. --bond-options VALUE Space separated options, e.g. miimon=100. Only for bond interfaces. --compute-attributes KEY_VALUE_LIST Compute resource specific attributes --domain VALUE Domain name --domain-id NUMBER Satellite domain ID of interface. Required for primary interfaces on managed hosts. --execution BOOLEAN Should this interface be used for remote execution? --host VALUE Host name --host-id VALUE ID or name of host --identifier VALUE Device identifier, e.g. eth0 or eth1.1 --ip VALUE IPv4 address of interface --ip6 VALUE IPv6 address of interface --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 --mac VALUE MAC address of interface. Required for managed interfaces on bare metal. --managed BOOLEAN Should this interface be managed via DHCP and DNS capsule and should it be configured during provisioning? --mode ENUM Bond mode of the interface, e.g. balance-rr. Only for bond interfaces. Possible value(s): 'balance-rr', 'active-backup', 'balance-xor', 'broadcast', '802.3ad', 'balance-tlb', 'balance-alb' --mtu NUMBER MTU, this attribute has precedence over the subnet MTU. --name VALUE Interface's DNS name --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 --password VALUE Only for BMC interfaces. --primary Should this interface be used for constructing the FQDN of the host? Each managed hosts needs to have one primary interface --provider ENUM Interface provider, e.g. IPMI. Only for BMC interfaces. Possible value(s): 'IPMI', 'Redfish', 'SSH' --provision Should this interface be used for TFTP of PXELinux (or SSH for image-based hosts)? Each managed hosts needs to have one provision interface --subnet VALUE Subnet name --subnet-id NUMBER Satellite subnet ID of IPv4 interface --subnet6-id NUMBER Satellite subnet ID of IPv6 interface --tag VALUE VLAN tag, this attribute has precedence over the subnet VLAN ID. Only for virtual interfaces. --type ENUM Interface type, e.g. bmc. Default is interface Possible value(s): 'interface', 'bmc', 'bond', 'bridge' --username VALUE Only for BMC interfaces. --virtual BOOLEAN Alias or VLAN device -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
Usage:
hammer host interface create [OPTIONS]
Options:
--attached-devices LIST Identifiers of attached interfaces, e.g. `['eth1', 'eth2']`. For bond interfaces
those are the slaves. Only for bond and bridges interfaces.
--attached-to VALUE Identifier of the interface to which this interface belongs, e.g. eth1. Only for
virtual interfaces.
--bond-options VALUE Space separated options, e.g. miimon=100. Only for bond interfaces.
--compute-attributes KEY_VALUE_LIST Compute resource specific attributes
--domain VALUE Domain name
--domain-id NUMBER Satellite domain ID of interface. Required for primary interfaces on managed
hosts.
--execution BOOLEAN Should this interface be used for remote execution?
--host VALUE Host name
--host-id VALUE ID or name of host
--identifier VALUE Device identifier, e.g. eth0 or eth1.1
--ip VALUE IPv4 address of interface
--ip6 VALUE IPv6 address of interface
--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
--mac VALUE MAC address of interface. Required for managed interfaces on bare metal.
--managed BOOLEAN Should this interface be managed via DHCP and DNS capsule and should it be
configured during provisioning?
--mode ENUM Bond mode of the interface, e.g. balance-rr. Only for bond interfaces.
Possible value(s): 'balance-rr', 'active-backup', 'balance-xor', 'broadcast',
'802.3ad', 'balance-tlb', 'balance-alb'
--mtu NUMBER MTU, this attribute has precedence over the subnet MTU.
--name VALUE Interface's DNS name
--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
--password VALUE Only for BMC interfaces.
--primary Should this interface be used for constructing the FQDN of the host? Each
managed hosts needs to have one primary interface
--provider ENUM Interface provider, e.g. IPMI. Only for BMC interfaces.
Possible value(s): 'IPMI', 'Redfish', 'SSH'
--provision Should this interface be used for TFTP of PXELinux (or SSH for image-based
hosts)? Each managed hosts needs to have one provision interface
--subnet VALUE Subnet name
--subnet-id NUMBER Satellite subnet ID of IPv4 interface
--subnet6-id NUMBER Satellite subnet ID of IPv6 interface
--tag VALUE VLAN tag, this attribute has precedence over the subnet VLAN ID. Only for
virtual interfaces.
--type ENUM Interface type, e.g. bmc. Default is interface
Possible value(s): 'interface', 'bmc', 'bond', 'bridge'
--username VALUE Only for BMC interfaces.
--virtual BOOLEAN Alias or VLAN device
-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.35.13.2. hammer host interface delete Copy linkLink copied to clipboard!
Delete a host’s interface
Usage: hammer host interface <delete|destroy> [OPTIONS] Options: --host VALUE Host name --host-id VALUE ID or name of host --id VALUE ID of interface --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 --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 -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
Usage:
hammer host interface <delete|destroy> [OPTIONS]
Options:
--host VALUE Host name
--host-id VALUE ID or name of host
--id VALUE ID of interface
--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
--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
-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.35.13.3. hammer host interface info Copy linkLink copied to clipboard!
Show an interface for host
Usage: hammer host interface <info|show> [OPTIONS] Options: --fields LIST Show specified fields or predefined field sets only. (See below) --host VALUE Host name --host-id VALUE ID or name of host --id VALUE ID or name of interface --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 --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 -h, --help Print help Predefined field sets: ----------------------|-----|---------|----- FIELDS | ALL | DEFAULT | THIN ----------------------|-----|---------|----- Id | x | x | x Identifier | x | x | Type | x | x | Mac address | x | x | Ip address | x | x | Dns name | x | x | Subnet | x | x | Domain | x | x | Managed | x | x | Primary | x | x | Provision | x | x | Virtual | x | x | Tag | x | x | Attached to | x | x | Bmc/username | x | x | Bmc/provider | x | x | Bond/mode | x | x | Bond/attached devices | x | x | Bond/bond options | x | x | Execution | 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
Usage:
hammer host interface <info|show> [OPTIONS]
Options:
--fields LIST Show specified fields or predefined field sets only. (See below)
--host VALUE Host name
--host-id VALUE ID or name of host
--id VALUE ID or name of interface
--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
--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
-h, --help Print help
Predefined field sets:
----------------------|-----|---------|-----
FIELDS | ALL | DEFAULT | THIN
----------------------|-----|---------|-----
Id | x | x | x
Identifier | x | x |
Type | x | x |
Mac address | x | x |
Ip address | x | x |
Dns name | x | x |
Subnet | x | x |
Domain | x | x |
Managed | x | x |
Primary | x | x |
Provision | x | x |
Virtual | x | x |
Tag | x | x |
Attached to | x | x |
Bmc/username | x | x |
Bmc/provider | x | x |
Bond/mode | x | x |
Bond/attached devices | x | x |
Bond/bond options | x | x |
Execution | 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.35.13.4. hammer host interface list Copy linkLink copied to clipboard!
List all interfaces for host
Usage: hammer host interface <list|index> [OPTIONS] Options: --domain VALUE Domain name --domain-id VALUE ID or name of domain --fields LIST Show specified fields or predefined field sets only. (See below) --host VALUE Host name --host-id VALUE ID or name of host --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 --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 --subnet VALUE Subnet name --subnet-id VALUE ID or name of subnet -h, --help Print help Predefined field sets: ------------|-----|---------|----- FIELDS | ALL | DEFAULT | THIN ------------|-----|---------|----- Id | x | x | x Identifier | x | x | Type | x | x | Mac address | x | x | Ip address | x | x | Dns name | 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
Usage:
hammer host interface <list|index> [OPTIONS]
Options:
--domain VALUE Domain name
--domain-id VALUE ID or name of domain
--fields LIST Show specified fields or predefined field sets only. (See below)
--host VALUE Host name
--host-id VALUE ID or name of host
--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
--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
--subnet VALUE Subnet name
--subnet-id VALUE ID or name of subnet
-h, --help Print help
Predefined field sets:
------------|-----|---------|-----
FIELDS | ALL | DEFAULT | THIN
------------|-----|---------|-----
Id | x | x | x
Identifier | x | x |
Type | x | x |
Mac address | x | x |
Ip address | x | x |
Dns name | 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.35.13.5. hammer host interface update Copy linkLink copied to clipboard!
Update a host’s interface
Usage: hammer host interface update [OPTIONS] Options: --attached-devices LIST Identifiers of attached interfaces, e.g. `['eth1', 'eth2']`. For bond interfaces those are the slaves. Only for bond and bridges interfaces. --attached-to VALUE Identifier of the interface to which this interface belongs, e.g. eth1. Only for virtual interfaces. --bond-options VALUE Space separated options, e.g. miimon=100. Only for bond interfaces. --compute-attributes KEY_VALUE_LIST Compute resource specific attributes --domain VALUE Domain name --domain-id NUMBER Satellite domain ID of interface. Required for primary interfaces on managed hosts. --execution BOOLEAN Should this interface be used for remote execution? --host VALUE Host name --host-id VALUE ID or name of host --id VALUE ID of interface --identifier VALUE Device identifier, e.g. eth0 or eth1.1 --ip VALUE IPv4 address of interface --ip6 VALUE IPv6 address of interface --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 --mac VALUE MAC address of interface. Required for managed interfaces on bare metal. --managed BOOLEAN Should this interface be managed via DHCP and DNS capsule and should it be configured during provisioning? --mode ENUM Bond mode of the interface, e.g. balance-rr. Only for bond interfaces. Possible value(s): 'balance-rr', 'active-backup', 'balance-xor', 'broadcast', '802.3ad', 'balance-tlb', 'balance-alb' --mtu NUMBER MTU, this attribute has precedence over the subnet MTU. --name VALUE Interface's DNS name --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 --password VALUE Only for BMC interfaces. --primary Should this interface be used for constructing the FQDN of the host? Each managed hosts needs to have one primary interface --provider ENUM Interface provider, e.g. IPMI. Only for BMC interfaces. Possible value(s): 'IPMI', 'Redfish', 'SSH' --provision Should this interface be used for TFTP of PXELinux (or SSH for image-based hosts)? Each managed hosts needs to have one provision interface --subnet VALUE Subnet name --subnet-id NUMBER Satellite subnet ID of IPv4 interface --subnet6-id NUMBER Satellite subnet ID of IPv6 interface --tag VALUE VLAN tag, this attribute has precedence over the subnet VLAN ID. Only for virtual interfaces. --type ENUM Interface type, e.g. bmc. Default is interface Possible value(s): 'interface', 'bmc', 'bond', 'bridge' --username VALUE Only for BMC interfaces. --virtual BOOLEAN Alias or VLAN device -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
Usage:
hammer host interface update [OPTIONS]
Options:
--attached-devices LIST Identifiers of attached interfaces, e.g. `['eth1', 'eth2']`. For bond interfaces
those are the slaves. Only for bond and bridges interfaces.
--attached-to VALUE Identifier of the interface to which this interface belongs, e.g. eth1. Only for
virtual interfaces.
--bond-options VALUE Space separated options, e.g. miimon=100. Only for bond interfaces.
--compute-attributes KEY_VALUE_LIST Compute resource specific attributes
--domain VALUE Domain name
--domain-id NUMBER Satellite domain ID of interface. Required for primary interfaces on managed
hosts.
--execution BOOLEAN Should this interface be used for remote execution?
--host VALUE Host name
--host-id VALUE ID or name of host
--id VALUE ID of interface
--identifier VALUE Device identifier, e.g. eth0 or eth1.1
--ip VALUE IPv4 address of interface
--ip6 VALUE IPv6 address of interface
--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
--mac VALUE MAC address of interface. Required for managed interfaces on bare metal.
--managed BOOLEAN Should this interface be managed via DHCP and DNS capsule and should it be
configured during provisioning?
--mode ENUM Bond mode of the interface, e.g. balance-rr. Only for bond interfaces.
Possible value(s): 'balance-rr', 'active-backup', 'balance-xor', 'broadcast',
'802.3ad', 'balance-tlb', 'balance-alb'
--mtu NUMBER MTU, this attribute has precedence over the subnet MTU.
--name VALUE Interface's DNS name
--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
--password VALUE Only for BMC interfaces.
--primary Should this interface be used for constructing the FQDN of the host? Each
managed hosts needs to have one primary interface
--provider ENUM Interface provider, e.g. IPMI. Only for BMC interfaces.
Possible value(s): 'IPMI', 'Redfish', 'SSH'
--provision Should this interface be used for TFTP of PXELinux (or SSH for image-based
hosts)? Each managed hosts needs to have one provision interface
--subnet VALUE Subnet name
--subnet-id NUMBER Satellite subnet ID of IPv4 interface
--subnet6-id NUMBER Satellite subnet ID of IPv6 interface
--tag VALUE VLAN tag, this attribute has precedence over the subnet VLAN ID. Only for
virtual interfaces.
--type ENUM Interface type, e.g. bmc. Default is interface
Possible value(s): 'interface', 'bmc', 'bond', 'bridge'
--username VALUE Only for BMC interfaces.
--virtual BOOLEAN Alias or VLAN device
-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.35.14. hammer host list Copy linkLink copied to clipboard!
List all hosts
Usage: hammer host <list|index> [OPTIONS] Options: --fields LIST Show specified fields or predefined field sets only. (See below) --hostgroup VALUE Hostgroup name --hostgroup-id VALUE ID of host group --hostgroup-title VALUE Hostgroup title --location VALUE Set the current location context for the request --location-id VALUE ID of location --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 VALUE ID of organization --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 --thin BOOLEAN Only list ID and name of hosts -h, --help Print help Predefined field sets: -----------------------|-----|---------|----- FIELDS | ALL | DEFAULT | THIN -----------------------|-----|---------|----- Id | x | x | x Name | x | x | x Operating system | x | x | Host group | x | x | Ip | x | x | Mac | x | x | Global status | x | x | Organization | x | | Location | x | | Additional information | x | | Content view | x | x | Lifecycle environment | x | x | Security | x | | Bugfix | x | | Enhancement | x | | Trace status | 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: activation_key string activation_key_id string addon string addons_status Values: mismatched, matched, not_specified ansible_role string applicable_debs string applicable_errata string applicable_errata_issued date applicable_rpms string architecture string autoheal boolean boot_time build Values: true, false build_status Values: built, pending, token_expired, build_failed comment text compute_resource string compute_resource_id integer content_source string content_view string content_view_id integer created_at datetime cve_id integer domain string domain_id integer errata_status Values: security_needed, errata_needed, updated, unknown execution_status Values: ok, error facts string global_status Values: ok, warning, error has_ip string has_mac string hostgroup string hostgroup_fullname string hostgroup_id integer hostgroup_name string hostgroup_title string hypervisor boolean hypervisor_host string id integer image string infrastructure_facet.foreman infrastructure_facet.smart_proxy_id insights_recommendations_count integer installable_errata string installed_at datetime ip string job_invocation.id string job_invocation.result Values: cancelled, failed, pending, success last_checkin datetime last_report datetime lifecycle_environment string lifecycle_environment_id integer location string location_id integer mac string managed Values: true, false model string name string organization string organization_id integer origin string os string os_description string os_id integer os_major string os_minor string os_title string owner string owner_id integer owner_type string params string params_name string parent_hostgroup string puppet_ca string puppet_proxy_id integer puppetmaster string purpose_status Values: mismatched, matched, not_specified realm string realm_id integer registered_at datetime registered_through string release_version string reported.boot_time reported.cores reported.disks_total reported.ram reported.sockets reported.virtual Values: true, false repository string repository_content_label string role text role_status Values: mismatched, matched, not_specified service_level string sla_status Values: mismatched, matched, not_specified smart_proxy string status.applied integer status.enabled Values: true, false status.failed integer status.failed_restarts integer status.interesting Values: true, false status.pending integer status.restarted integer status.skipped integer subnet string subnet.name text subnet6 string subnet6.name text subscription_id string subscription_name string subscription_status Values: valid, partial, invalid, unknown, disabled, unsubscribed_hypervisor subscription_uuid string trace_status Values: reboot_needed, process_restart_needed, updated upgradable_debs string upgradable_rpms string usage text usage_status Values: mismatched, matched, not_specified user.firstname string user.lastname string user.login string user.mail string usergroup string usergroup.name string uuid string
Usage:
hammer host <list|index> [OPTIONS]
Options:
--fields LIST Show specified fields or predefined field sets only. (See below)
--hostgroup VALUE Hostgroup name
--hostgroup-id VALUE ID of host group
--hostgroup-title VALUE Hostgroup title
--location VALUE Set the current location context for the request
--location-id VALUE ID of location
--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 VALUE ID of organization
--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
--thin BOOLEAN Only list ID and name of hosts
-h, --help Print help
Predefined field sets:
-----------------------|-----|---------|-----
FIELDS | ALL | DEFAULT | THIN
-----------------------|-----|---------|-----
Id | x | x | x
Name | x | x | x
Operating system | x | x |
Host group | x | x |
Ip | x | x |
Mac | x | x |
Global status | x | x |
Organization | x | |
Location | x | |
Additional information | x | |
Content view | x | x |
Lifecycle environment | x | x |
Security | x | |
Bugfix | x | |
Enhancement | x | |
Trace status | 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:
activation_key string
activation_key_id string
addon string
addons_status Values: mismatched, matched, not_specified
ansible_role string
applicable_debs string
applicable_errata string
applicable_errata_issued date
applicable_rpms string
architecture string
autoheal boolean
boot_time
build Values: true, false
build_status Values: built, pending, token_expired, build_failed
comment text
compute_resource string
compute_resource_id integer
content_source string
content_view string
content_view_id integer
created_at datetime
cve_id integer
domain string
domain_id integer
errata_status Values: security_needed, errata_needed, updated, unknown
execution_status Values: ok, error
facts string
global_status Values: ok, warning, error
has_ip string
has_mac string
hostgroup string
hostgroup_fullname string
hostgroup_id integer
hostgroup_name string
hostgroup_title string
hypervisor boolean
hypervisor_host string
id integer
image string
infrastructure_facet.foreman
infrastructure_facet.smart_proxy_id
insights_recommendations_count integer
installable_errata string
installed_at datetime
ip string
job_invocation.id string
job_invocation.result Values: cancelled, failed, pending, success
last_checkin datetime
last_report datetime
lifecycle_environment string
lifecycle_environment_id integer
location string
location_id integer
mac string
managed Values: true, false
model string
name string
organization string
organization_id integer
origin string
os string
os_description string
os_id integer
os_major string
os_minor string
os_title string
owner string
owner_id integer
owner_type string
params string
params_name string
parent_hostgroup string
puppet_ca string
puppet_proxy_id integer
puppetmaster string
purpose_status Values: mismatched, matched, not_specified
realm string
realm_id integer
registered_at datetime
registered_through string
release_version string
reported.boot_time
reported.cores
reported.disks_total
reported.ram
reported.sockets
reported.virtual Values: true, false
repository string
repository_content_label string
role text
role_status Values: mismatched, matched, not_specified
service_level string
sla_status Values: mismatched, matched, not_specified
smart_proxy string
status.applied integer
status.enabled Values: true, false
status.failed integer
status.failed_restarts integer
status.interesting Values: true, false
status.pending integer
status.restarted integer
status.skipped integer
subnet string
subnet.name text
subnet6 string
subnet6.name text
subscription_id string
subscription_name string
subscription_status Values: valid, partial, invalid, unknown, disabled, unsubscribed_hypervisor
subscription_uuid string
trace_status Values: reboot_needed, process_restart_needed, updated
upgradable_debs string
upgradable_rpms string
usage text
usage_status Values: mismatched, matched, not_specified
user.firstname string
user.lastname string
user.login string
user.mail string
usergroup string
usergroup.name string
uuid string
3.35.15. hammer host package Copy linkLink copied to clipboard!
Manage packages on your hosts
Usage: hammer host package [OPTIONS] SUBCOMMAND [ARG] ... Parameters: SUBCOMMAND Subcommand [ARG] ... Subcommand arguments Subcommands: install Install packages remotely using katello-agent. NOTE: Katello-agent is deprecated and will be removed in a future release. Consider using remote execution instead. list, index List packages installed on the host remove Uninstall packages remotely using katello-agent. NOTE: Katello-agent is deprecated and will be removed in a future release. Consider using remote execution instead. upgrade Update packages remotely using katello-agent. NOTE: Katello-agent is deprecated and will be removed in a future release. Consider using remote execution instead. upgrade-all Update packages remotely using katello-agent. NOTE: Katello-agent is deprecated and will be removed in a future release. Consider using remote execution instead. Options: -h, --help Print help
Usage:
hammer host package [OPTIONS] SUBCOMMAND [ARG] ...
Parameters:
SUBCOMMAND Subcommand
[ARG] ... Subcommand arguments
Subcommands:
install Install packages remotely using katello-agent. NOTE: Katello-agent is deprecated
and will be removed in a future release. Consider using remote execution
instead.
list, index List packages installed on the host
remove Uninstall packages remotely using katello-agent. NOTE: Katello-agent is
deprecated and will be removed in a future release. Consider using remote
execution instead.
upgrade Update packages remotely using katello-agent. NOTE: Katello-agent is deprecated
and will be removed in a future release. Consider using remote execution
instead.
upgrade-all Update packages remotely using katello-agent. NOTE: Katello-agent is deprecated
and will be removed in a future release. Consider using remote execution
instead.
Options:
-h, --help Print help
3.35.15.1. hammer host package install Copy linkLink copied to clipboard!
Install packages remotely using katello-agent. NOTE: Katello-agent is deprecated and will be removed in a future release. Consider using remote execution instead.
Usage: hammer host package install [OPTIONS] Options: --async Do not wait for the task --host VALUE Host name --host-id NUMBER ID of the host --packages LIST List of package names -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
Usage:
hammer host package install [OPTIONS]
Options:
--async Do not wait for the task
--host VALUE Host name
--host-id NUMBER ID of the host
--packages LIST List of package names
-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.35.15.2. hammer host package list Copy linkLink copied to clipboard!
List packages installed on the host
Usage: hammer host package <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 --host VALUE Host name --host-id NUMBER ID of the host --include-latest-upgradable BOOLEAN Also include the latest upgradable package version for each host package --order VALUE Sort field and order, eg. 'id DESC' --page NUMBER Page number, starting at 1 --per-page NUMBER Number of results per page to return --search VALUE Search string --status VALUE Return only packages of a particular status (upgradable or up-to-date) -h, --help Print help Predefined field sets: -------|-----|-------- FIELDS | ALL | DEFAULT -------|-----|-------- Nvra | 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: arch string epoch string name string nvra string nvrea string release string version string
Usage:
hammer host package <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
--host VALUE Host name
--host-id NUMBER ID of the host
--include-latest-upgradable BOOLEAN Also include the latest upgradable package version for each host package
--order VALUE Sort field and order, eg. 'id DESC'
--page NUMBER Page number, starting at 1
--per-page NUMBER Number of results per page to return
--search VALUE Search string
--status VALUE Return only packages of a particular status (upgradable or up-to-date)
-h, --help Print help
Predefined field sets:
-------|-----|--------
FIELDS | ALL | DEFAULT
-------|-----|--------
Nvra | 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:
arch string
epoch string
name string
nvra string
nvrea string
release string
version string
3.35.15.3. hammer host package remove Copy linkLink copied to clipboard!
Uninstall packages remotely using katello-agent. NOTE: Katello-agent is deprecated and will be removed in a future release. Consider using remote execution instead.
Usage: hammer host package remove [OPTIONS] Options: --async Do not wait for the task --host VALUE Host name --host-id NUMBER ID of the host --packages LIST List of package names -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
Usage:
hammer host package remove [OPTIONS]
Options:
--async Do not wait for the task
--host VALUE Host name
--host-id NUMBER ID of the host
--packages LIST List of package names
-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.35.15.4. hammer host package upgrade Copy linkLink copied to clipboard!
Update packages remotely using katello-agent. NOTE: Katello-agent is deprecated and will be removed in a future release. Consider using remote execution instead.
Usage: hammer host package upgrade [OPTIONS] Options: --async Do not wait for the task --host VALUE Host name --host-id NUMBER ID of the host --packages LIST List of packages names -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
Usage:
hammer host package upgrade [OPTIONS]
Options:
--async Do not wait for the task
--host VALUE Host name
--host-id NUMBER ID of the host
--packages LIST List of packages names
-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.35.15.5. hammer host package upgrade-all Copy linkLink copied to clipboard!
Update packages remotely using katello-agent. NOTE: Katello-agent is deprecated and will be removed in a future release. Consider using remote execution instead.
Usage: hammer host package upgrade-all [OPTIONS] Options: --async Do not wait for the task --host VALUE Host name --host-id NUMBER ID of the host -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
Usage:
hammer host package upgrade-all [OPTIONS]
Options:
--async Do not wait for the task
--host VALUE Host name
--host-id NUMBER ID of the host
-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.35.16. hammer host package-group Copy linkLink copied to clipboard!
Manage package-groups on your hosts
Usage: hammer host package-group [OPTIONS] SUBCOMMAND [ARG] ... Parameters: SUBCOMMAND Subcommand [ARG] ... Subcommand arguments Subcommands: install Install packages remotely using katello-agent. NOTE: Katello-agent is deprecated and will be removed in a future release. Consider using remote execution instead. remove Uninstall packages remotely using katello-agent. NOTE: Katello-agent is deprecated and will be removed in a future release. Consider using remote execution instead. Options: -h, --help Print help
Usage:
hammer host package-group [OPTIONS] SUBCOMMAND [ARG] ...
Parameters:
SUBCOMMAND Subcommand
[ARG] ... Subcommand arguments
Subcommands:
install Install packages remotely using katello-agent. NOTE: Katello-agent is deprecated
and will be removed in a future release. Consider using remote execution
instead.
remove Uninstall packages remotely using katello-agent. NOTE: Katello-agent is
deprecated and will be removed in a future release. Consider using remote
execution instead.
Options:
-h, --help Print help
3.35.16.1. hammer host package-group install Copy linkLink copied to clipboard!
Install packages remotely using katello-agent. NOTE: Katello-agent is deprecated and will be removed in a future release. Consider using remote execution instead.
Usage: hammer host package-group install [OPTIONS] Options: --async Do not wait for the task --groups LIST List of package group names (Deprecated) --host VALUE Host name --host-id NUMBER ID of the host -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
Usage:
hammer host package-group install [OPTIONS]
Options:
--async Do not wait for the task
--groups LIST List of package group names (Deprecated)
--host VALUE Host name
--host-id NUMBER ID of the host
-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.35.16.2. hammer host package-group remove Copy linkLink copied to clipboard!
Uninstall packages remotely using katello-agent. NOTE: Katello-agent is deprecated and will be removed in a future release. Consider using remote execution instead.
Usage: hammer host package-group remove [OPTIONS] Options: --async Do not wait for the task --groups LIST List of package group names (Deprecated) --host VALUE Host name --host-id NUMBER ID of the host -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
Usage:
hammer host package-group remove [OPTIONS]
Options:
--async Do not wait for the task
--groups LIST List of package group names (Deprecated)
--host VALUE Host name
--host-id NUMBER ID of the host
-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.35.17. hammer host policies-enc Copy linkLink copied to clipboard!
View policies ENC for host
Usage: hammer host policies-enc [OPTIONS] Options: --fields LIST Show specified fields or predefined field sets only. (See below) --id VALUE The identifier of the host --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 Host name --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 -h, --help Print help Predefined field sets: ------------------------|-----|-------- FIELDS | ALL | DEFAULT ------------------------|-----|-------- Id | x | x Profile id | x | x Content path | x | x Content download path | x | x Tailoring path | x | x Tailoring download path | x | x Day of month | x | x Hour | x | x Minute | x | x Month | x | x Week | 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
Usage:
hammer host policies-enc [OPTIONS]
Options:
--fields LIST Show specified fields or predefined field sets only. (See below)
--id VALUE The identifier of the host
--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 Host name
--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
-h, --help Print help
Predefined field sets:
------------------------|-----|--------
FIELDS | ALL | DEFAULT
------------------------|-----|--------
Id | x | x
Profile id | x | x
Content path | x | x
Content download path | x | x
Tailoring path | x | x
Tailoring download path | x | x
Day of month | x | x
Hour | x | x
Minute | x | x
Month | x | x
Week | 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.35.18. hammer host reboot Copy linkLink copied to clipboard!
Reboot a host
Usage: hammer host reboot [OPTIONS] Options: --id VALUE --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 Host name --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 -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
Usage:
hammer host reboot [OPTIONS]
Options:
--id VALUE
--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 Host name
--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
-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.35.19. hammer host rebuild-config Copy linkLink copied to clipboard!
Rebuild orchestration related configurations for host
Usage: hammer host rebuild-config [OPTIONS] Options: --id VALUE --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 Host name --only LIST Limit rebuild steps, valid steps are DHCP, DNS, TFTP, Content_Host_Status, Refresh_Content_Host_Status --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 -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
Usage:
hammer host rebuild-config [OPTIONS]
Options:
--id VALUE
--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 Host name
--only LIST Limit rebuild steps, valid steps are DHCP, DNS, TFTP, Content_Host_Status,
Refresh_Content_Host_Status
--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
-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.35.20. hammer host reports Copy linkLink copied to clipboard!
List all reports
Usage: hammer host reports [OPTIONS] Options: --fields LIST Show specified fields or predefined field sets only. (See below) --id VALUE Host id --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 Host name --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 Host | x | x | Last report | x | x | Origin | x | x | Applied | x | x | Restarted | x | x | Failed | x | x | Restart failures | x | x | Skipped | x | x | Pending | 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: applied integer eventful Values: true, false failed integer failed_restarts integer host string host_id integer host_owner_id integer hostgroup string hostgroup_fullname string hostgroup_title string last_report datetime location string log text organization string origin string pending integer reported datetime resource text restarted integer skipped integer
Usage:
hammer host reports [OPTIONS]
Options:
--fields LIST Show specified fields or predefined field sets only. (See below)
--id VALUE Host id
--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 Host name
--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
Host | x | x |
Last report | x | x |
Origin | x | x |
Applied | x | x |
Restarted | x | x |
Failed | x | x |
Restart failures | x | x |
Skipped | x | x |
Pending | 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:
applied integer
eventful Values: true, false
failed integer
failed_restarts integer
host string
host_id integer
host_owner_id integer
hostgroup string
hostgroup_fullname string
hostgroup_title string
last_report datetime
location string
log text
organization string
origin string
pending integer
reported datetime
resource text
restarted integer
skipped integer
3.35.21. hammer host reset Copy linkLink copied to clipboard!
Reset a host
Usage: hammer host reset [OPTIONS] Options: --id VALUE --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 Host name --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 -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
Usage:
hammer host reset [OPTIONS]
Options:
--id VALUE
--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 Host name
--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
-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.35.22. hammer host set-parameter Copy linkLink copied to clipboard!
Create or append a parameter for a host
Usage: hammer host set-parameter [OPTIONS] Options: --hidden-value BOOLEAN Should the value be hidden --host VALUE Host name --host-id NUMBER --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
Usage:
hammer host set-parameter [OPTIONS]
Options:
--hidden-value BOOLEAN Should the value be hidden
--host VALUE Host name
--host-id NUMBER
--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
3.35.23. hammer host start Copy linkLink copied to clipboard!
Power a host on
Usage: hammer host start [OPTIONS] Options: --id VALUE --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 Host name --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 -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
Usage:
hammer host start [OPTIONS]
Options:
--id VALUE
--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 Host name
--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
-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.35.24. hammer host status Copy linkLink copied to clipboard!
Get status of host
Usage: hammer host status [OPTIONS] Options: --id VALUE --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 Host name --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 --type ENUM Status type, can be one of Global Configuration Build Possible value(s): 'HostStatus::Global', 'configuration', 'build' -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
Usage:
hammer host status [OPTIONS]
Options:
--id VALUE
--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 Host name
--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
--type ENUM Status type, can be one of
Global
Configuration
Build
Possible value(s): 'HostStatus::Global', 'configuration', 'build'
-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.35.25. hammer host stop Copy linkLink copied to clipboard!
Power a host off
Usage: hammer host stop [OPTIONS] Options: --force Force turning off a host --id VALUE --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 Host name --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 -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
Usage:
hammer host stop [OPTIONS]
Options:
--force Force turning off a host
--id VALUE
--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 Host name
--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
-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.35.26. hammer host subscription Copy linkLink copied to clipboard!
Manage subscription information on your hosts
Usage: hammer host subscription [OPTIONS] SUBCOMMAND [ARG] ... Parameters: SUBCOMMAND Subcommand [ARG] ... Subcommand arguments Subcommands: attach Add a subscription to a host auto-attach Trigger an auto-attach of subscriptions content-override Override product content defaults enabled-repositories List enabled repositories on a host product-content List associated products register Register a host with subscription and information remove Remove a subscription from a host unregister Unregister the host as a subscription consumer Options: -h, --help Print help
Usage:
hammer host subscription [OPTIONS] SUBCOMMAND [ARG] ...
Parameters:
SUBCOMMAND Subcommand
[ARG] ... Subcommand arguments
Subcommands:
attach Add a subscription to a host
auto-attach Trigger an auto-attach of subscriptions
content-override Override product content defaults
enabled-repositories List enabled repositories on a host
product-content List associated products
register Register a host with subscription and information
remove Remove a subscription from a host
unregister Unregister the host as a subscription consumer
Options:
-h, --help Print help
3.35.26.1. hammer host subscription attach Copy linkLink copied to clipboard!
Add a subscription to a host
Usage: hammer host subscription attach [OPTIONS] Options: --host VALUE Host name --host-id NUMBER Id of the host --quantity VALUE Quantity of this subscriptions to add. Defaults to 1 --subscription-id VALUE ID of subscription -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
Usage:
hammer host subscription attach [OPTIONS]
Options:
--host VALUE Host name
--host-id NUMBER Id of the host
--quantity VALUE Quantity of this subscriptions to add. Defaults to 1
--subscription-id VALUE ID of subscription
-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.35.26.2. hammer host subscription auto-attach Copy linkLink copied to clipboard!
Trigger an auto-attach of subscriptions
Usage: hammer host subscription auto-attach [OPTIONS] Options: --host VALUE Host name --host-id NUMBER Id of the host -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
Usage:
hammer host subscription auto-attach [OPTIONS]
Options:
--host VALUE Host name
--host-id NUMBER Id of the host
-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.35.26.3. hammer host subscription content-override Copy linkLink copied to clipboard!
Override product content defaults
Usage: hammer host subscription content-override [OPTIONS] Options: --content-label VALUE Label of the content --host VALUE Host name --host-id VALUE Id of the content host --override-name VALUE Override parameter key or name. To enable or disable a repo select 'enabled'. Default value: enabled Default: "enabled" --remove Remove a content override --value VALUE Override value. Note for repo enablement you can use a boolean 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
Usage:
hammer host subscription content-override [OPTIONS]
Options:
--content-label VALUE Label of the content
--host VALUE Host name
--host-id VALUE Id of the content host
--override-name VALUE Override parameter key or name.
To enable or disable a repo select 'enabled'.
Default value: enabled
Default: "enabled"
--remove Remove a content override
--value VALUE Override value. Note for repo enablement you can use a boolean 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.35.26.4. hammer host subscription enabled-repositories Copy linkLink copied to clipboard!
List enabled repositories on a host
Usage: hammer host subscription enabled-repositories [OPTIONS] Options: --host HOST_NAME Host name --host-id HOST_ID Id of the host -h, --help Print help
Usage:
hammer host subscription enabled-repositories [OPTIONS]
Options:
--host HOST_NAME Host name
--host-id HOST_ID Id of the host
-h, --help Print help
Note that you must use this command with an option to identify the host.
3.35.26.5. hammer host subscription product-content Copy linkLink copied to clipboard!
List associated products
Usage: hammer host subscription product-content [OPTIONS] Options: --content-access-mode-all BOOLEAN Get all content available, not just that provided by subscriptions --content-access-mode-env BOOLEAN Limit content to just that available in the host's content view version --fields LIST Show specified fields or predefined field sets only. (See below) --host VALUE Host name --host-id VALUE Id of the host -h, --help Print help Predefined field sets: -----------------|-----|---------|----- FIELDS | ALL | DEFAULT | THIN -----------------|-----|---------|----- Id | x | x | x Name | x | x | x Type | x | x | Url | x | x | Gpg key | x | x | Label | x | x | Default enabled? | x | x | Override | 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
Usage:
hammer host subscription product-content [OPTIONS]
Options:
--content-access-mode-all BOOLEAN Get all content available, not just that provided by subscriptions
--content-access-mode-env BOOLEAN Limit content to just that available in the host's content view version
--fields LIST Show specified fields or predefined field sets only. (See below)
--host VALUE Host name
--host-id VALUE Id of the host
-h, --help Print help
Predefined field sets:
-----------------|-----|---------|-----
FIELDS | ALL | DEFAULT | THIN
-----------------|-----|---------|-----
Id | x | x | x
Name | x | x | x
Type | x | x |
Url | x | x |
Gpg key | x | x |
Label | x | x |
Default enabled? | x | x |
Override | 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.35.26.6. hammer host subscription register Copy linkLink copied to clipboard!
Register a host with subscription and information
Usage: hammer host subscription register [OPTIONS] Options: --content-view VALUE Content view name to search by --content-view-id NUMBER Content View ID --environment VALUE Lifecycle environment name to search by (--environment is deprecated: Use --lifecycle-environment instead) --environment-id NUMBER (--environment-id is deprecated: Use --lifecycle-environment-id instead) --hypervisor-guest-uuids LIST UUIDs of the virtual guests from the host's hypervisor --lifecycle-environment VALUE Lifecycle environment name to search by --lifecycle-environment-id NUMBER Lifecycle Environment ID --name VALUE Name of the host --organization VALUE Organization name to search by --organization-id VALUE Organization ID to search by --organization-label VALUE Organization label to search by --release-version VALUE Release version of the content host --service-level VALUE A service level for auto-healing process, e.g. SELF-SUPPORT --uuid VALUE UUID to use for registered host, random uuid is generated if not provided -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
Usage:
hammer host subscription register [OPTIONS]
Options:
--content-view VALUE Content view name to search by
--content-view-id NUMBER Content View ID
--environment VALUE Lifecycle environment name to search by (--environment is deprecated: Use
--lifecycle-environment instead)
--environment-id NUMBER (--environment-id is deprecated: Use --lifecycle-environment-id instead)
--hypervisor-guest-uuids LIST UUIDs of the virtual guests from the host's hypervisor
--lifecycle-environment VALUE Lifecycle environment name to search by
--lifecycle-environment-id NUMBER Lifecycle Environment ID
--name VALUE Name of the host
--organization VALUE Organization name to search by
--organization-id VALUE Organization ID to search by
--organization-label VALUE Organization label to search by
--release-version VALUE Release version of the content host
--service-level VALUE A service level for auto-healing process, e.g. SELF-SUPPORT
--uuid VALUE UUID to use for registered host, random uuid is generated if not provided
-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.35.26.7. hammer host subscription remove Copy linkLink copied to clipboard!
Remove a subscription from a host
Usage: hammer host subscription remove [OPTIONS] Options: --host VALUE Host name --host-id NUMBER Id of the host --quantity VALUE Remove the first instance of a subscription with matching id and quantity --subscription-id VALUE ID of subscription -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
Usage:
hammer host subscription remove [OPTIONS]
Options:
--host VALUE Host name
--host-id NUMBER Id of the host
--quantity VALUE Remove the first instance of a subscription with matching id and quantity
--subscription-id VALUE ID of subscription
-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.35.26.8. hammer host subscription unregister Copy linkLink copied to clipboard!
Unregister the host as a subscription consumer
Usage: hammer host subscription unregister [OPTIONS] Options: --host VALUE Host name --host-id NUMBER Id of the host -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
Usage:
hammer host subscription unregister [OPTIONS]
Options:
--host VALUE Host name
--host-id NUMBER Id of the host
-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.35.27. hammer host traces Copy linkLink copied to clipboard!
List traces on your hosts
Usage: hammer host traces [OPTIONS] SUBCOMMAND [ARG] ... Parameters: SUBCOMMAND Subcommand [ARG] ... Subcommand arguments Subcommands: list List services that need restarting on the host resolve Resolve traces Options: -h, --help Print help
Usage:
hammer host traces [OPTIONS] SUBCOMMAND [ARG] ...
Parameters:
SUBCOMMAND Subcommand
[ARG] ... Subcommand arguments
Subcommands:
list List services that need restarting on the host
resolve Resolve traces
Options:
-h, --help Print help
3.35.27.1. hammer host traces list Copy linkLink copied to clipboard!
List services that need restarting on the host
Usage: hammer host traces list [OPTIONS] Options: --fields LIST Show specified fields or predefined field sets only. (See below) --host VALUE Host name --host-id NUMBER ID of the host -h, --help Print help Predefined field sets: ------------|-----|-------- FIELDS | ALL | DEFAULT ------------|-----|-------- Trace id | x | x Application | x | x Helper | x | x Type | 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
Usage:
hammer host traces list [OPTIONS]
Options:
--fields LIST Show specified fields or predefined field sets only. (See below)
--host VALUE Host name
--host-id NUMBER ID of the host
-h, --help Print help
Predefined field sets:
------------|-----|--------
FIELDS | ALL | DEFAULT
------------|-----|--------
Trace id | x | x
Application | x | x
Helper | x | x
Type | 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.35.27.2. hammer host traces resolve Copy linkLink copied to clipboard!
Resolve traces
Usage: hammer host traces resolve [OPTIONS] Options: --async Do not wait for the task --host VALUE Host name --host-id NUMBER ID of the host --trace-ids LIST Array of Trace IDs -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
Usage:
hammer host traces resolve [OPTIONS]
Options:
--async Do not wait for the task
--host VALUE Host name
--host-id NUMBER ID of the host
--trace-ids LIST Array of Trace IDs
-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.35.28. hammer host update Copy linkLink copied to clipboard!
Update a host
Usage: hammer host update [OPTIONS] Options: --ansible-role-ids LIST IDs of associated ansible roles --ansible-roles LIST --architecture VALUE Architecture name --architecture-id NUMBER Required if host is managed and value is not inherited from host group --ask-root-password BOOLEAN --autoheal BOOLEAN Sets whether the Host will autoheal subscriptions upon checkin --build BOOLEAN --comment VALUE Additional information about this host --compute-attributes KEY_VALUE_LIST Compute resource attributes --compute-profile VALUE Compute profile name --compute-profile-id NUMBER --compute-resource VALUE Compute resource name --compute-resource-id NUMBER Nil means host is bare metal --content-source VALUE Content Source name --content-source-id NUMBER --content-view VALUE Name to search by --content-view-id NUMBER --domain VALUE Domain name --domain-id NUMBER Required if host is managed and value is not inherited from host group --enabled BOOLEAN Include this host within Satellite reporting --hostgroup VALUE Hostgroup name --hostgroup-id NUMBER --hostgroup-title VALUE Hostgroup title --hypervisor-guest-uuids LIST List of hypervisor guest uuids --id VALUE --image VALUE Name to search by --image-id NUMBER --installed-products-attributes SCHEMA List of products installed on the host --interface KEY_VALUE_LIST Interface parameters Can be specified multiple times. --ip VALUE Not required if using a subnet with DHCP Capsule --kickstart-repository VALUE Kickstart repository name --kickstart-repository-id NUMBER Repository Id associated with the kickstart repo used for provisioning --lifecycle-environment VALUE Name to search by --lifecycle-environment-id NUMBER --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 --mac VALUE Required for managed host that is bare metal, not required if it's a virtual machine --managed BOOLEAN True/False flag whether a host is managed or unmanaged. Note: this value also determines whether several parameters are required or not --medium VALUE Medium name --medium-id VALUE Required if not imaged based provisioning and host is managed and value is not inherited from host group --model VALUE Model name --model-id NUMBER --name VALUE --new-location VALUE Use to update associated location --new-location-id NUMBER Use to update associated location --new-location-title VALUE Use to update associated location --new-name VALUE --new-organization VALUE Use to update associated organization --new-organization-id NUMBER Use to update associated organization --new-organization-title VALUE Use to update associated organization --openscap-proxy-id NUMBER ID of OpenSCAP Capsule --operatingsystem VALUE Operating system title --operatingsystem-id NUMBER Required if host is managed and value is not inherited from host group --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 --overwrite BOOLEAN --owner VALUE Login of the owner --owner-id VALUE ID of the owner --owner-type ENUM Host's owner type Possible value(s): 'User', 'Usergroup' --parameters KEY_VALUE_LIST Replaces with new host parameters --partition-table VALUE Partition table name --partition-table-id NUMBER Required if host is managed and custom partition has not been defined --product VALUE Name to search by --product-id NUMBER Product id as listed from a host's installed products, this is not the same product id as the products api returns --progress-report-id VALUE UUID to track orchestration tasks status, GET /api/orchestration/:UUID/tasks --provision-method ENUM The method used to provision the host. Possible value(s): 'build', 'image', 'bootdisk' --puppet-ca-proxy-id NUMBER Puppet CA Capsule ID --puppet-proxy-id NUMBER Puppet Capsule ID --purpose-addons LIST Sets the system add-ons --purpose-role VALUE Sets the system purpose usage --purpose-usage VALUE Sets the system purpose usage --pxe-loader ENUM DHCP filename option (Grub2/PXELinux by default) Possible value(s): 'None', 'PXELinux BIOS', 'PXELinux UEFI', 'Grub UEFI', 'Grub2 BIOS', 'Grub2 ELF', 'Grub2 UEFI', 'Grub2 UEFI SecureBoot', 'Grub2 UEFI HTTP', 'Grub2 UEFI HTTPS', 'Grub2 UEFI HTTPS SecureBoot', 'iPXE Embedded', 'iPXE UEFI HTTP', 'iPXE Chain BIOS', 'iPXE Chain UEFI' --realm VALUE Name to search by --realm-id NUMBER --release-version VALUE Release version for this Host to use (7Server, 7.1, etc) --root-password VALUE Required if host is managed and value is not inherited from host group or default password in settings --service-level VALUE Service level to be used for autoheal --subnet VALUE Subnet name --subnet-id NUMBER Required if host is managed and value is not inherited from host group --typed-parameters SCHEMA Replaces with new host parameters (with type support) --volume KEY_VALUE_LIST Volume parameters Can be specified multiple times. -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 Following parameters accept format defined by its schema (bold are required; <> contains acceptable type; [] contains acceptable value): --typed-parameters "name=<string>\,value=<string>\,parameter_type=[string|boolean|integer|real|array|hash|yaml|json]\,hidden_value=[true|false|1|0], ... " --installed-products-attributes "product_id=<string>\,product_name=<string>\,arch=<string>\,version=<string>, ... " Available keys for --interface: mac ip type Possible values: interface, bmc, bond, bridge name subnet_id domain_id identifier managed true/false primary true/false, each managed hosts needs to have one primary interface. provision true/false virtual true/false For virtual=true: tag VLAN tag, this attribute has precedence over the subnet VLAN ID. Only for virtual interfaces. attached_to Identifier of the interface to which this interface belongs, e.g. eth1. For type=bond: mode Possible values: balance-rr, active-backup, balance-xor, broadcast, 802.3ad, balance-tlb, balance-alb attached_devices Identifiers of slave interfaces, e.g. [eth1,eth2] bond_options For type=bmc: provider always IPMI username password Provider specific options: NOTE: Bold attributes are required. EC2: --volume: --interface: --compute-attributes: availability_zone flavor_id groups security_group_ids managed_ip GCE: --volume: size_gb Volume size in GB, integer value --interface: --compute-attributes: machine_type network associate_external_ip Libvirt: --volume: pool_name One of available storage pools capacity String value, e.g. 10G allocation Initial allocation, e.g. 0G format_type Possible values: raw, qcow2 --interface: compute_type Possible values: bridge, network compute_bridge Name of interface according to type compute_model Possible values: virtio, rtl8139, ne2k_pci, pcnet, e1000 compute_network Libvirt instance network, e.g. default --compute-attributes: cpus Number of CPUs memory String, amount of memory, value in bytes cpu_mode Possible values: default, host-model, host-passthrough start Boolean (expressed as 0 or 1), whether to start the machine or not OpenStack: --volume: --interface: --compute-attributes: availability_zone boot_from_volume flavor_ref image_ref tenant_id security_groups network oVirt: --volume: size_gb Volume size in GB, integer value storage_domain ID or name of storage domain bootable Boolean, set 1 for bootable, only one volume can be bootable preallocate Boolean, set 1 to preallocate wipe_after_delete Boolean, set 1 to wipe disk after delete interface Disk interface name, must be ide, virto or virto_scsi --interface: compute_name Compute name, e.g. eth0 compute_network Select one of available networks for a cluster, must be an ID or a name compute_interface Interface type compute_vnic_profile Vnic Profile --compute-attributes: cluster ID or name of cluster to use template Hardware profile to use cores Integer value, number of cores sockets Integer value, number of sockets memory Amount of memory, integer value in bytes ha Boolean, set 1 to high availability display_type Possible values: VNC, SPICE keyboard_layout Possible values: ar, de-ch, es, fo, fr-ca, hu, ja, mk, no, pt-br, sv, da, en-gb, et, fr, fr-ch, is, lt, nl, pl, ru, th, de, en-us, fi, fr-be, hr, it, lv, nl-be, pt, sl, tr. Not usable if display type is SPICE. start Boolean, set 1 to start the vm Rackspace: --volume: --interface: --compute-attributes: flavor_id VMware: --volume: name storage_pod Storage Pod ID from VMware datastore Datastore ID from VMware mode persistent/independent_persistent/independent_nonpersistent size_gb Integer number, volume size in GB thin true/false eager_zero true/false controller_key Associated SCSI controller key --interface: compute_type Type of the network adapter, for example one of: VirtualVmxnet3 VirtualE1000 See documentation center for your version of vSphere to find more details about available adapter types: https://www.vmware.com/support/pubs/ compute_network Network ID or Network Name from VMware --compute-attributes: cluster Cluster ID from VMware corespersocket Number of cores per socket (applicable to hardware versions < 10 only) cpus CPU count memory_mb Integer number, amount of memory in MB path Path to folder resource_pool Resource Pool ID from VMware firmware automatic/bios/efi guest_id Guest OS ID form VMware hardware_version Hardware version ID from VMware memoryHotAddEnabled Must be a 1 or 0, lets you add memory resources while the machine is on cpuHotAddEnabled Must be a 1 or 0, lets you add CPU resources while the machine is on add_cdrom Must be a 1 or 0, Add a CD-ROM drive to the virtual machine annotation Annotation Notes scsi_controllers List with SCSI controllers definitions type - ID of the controller from VMware key - Key of the controller (e.g. 1000) start Must be a 1 or 0, whether to start the machine or not AzureRM: --volume: disk_size_gb Volume Size in GB (integer value) data_disk_caching Data Disk Caching (None, ReadOnly, ReadWrite) --interface: compute_network Select one of available Azure Subnets, must be an ID compute_public_ip Public IP (None, Static, Dynamic) compute_private_ip Static Private IP (expressed as true or false) --compute-attributes: resource_group Existing Azure Resource Group of user vm_size VM Size, eg. Standard_A0 etc. username The Admin username password The Admin password platform OS type eg. Linux ssh_key_data SSH key for passwordless authentication os_disk_caching OS disk caching premium_os_disk Premium OS Disk, Boolean as 0 or 1 script_command Custom Script Command script_uris Comma seperated file URIs
Usage:
hammer host update [OPTIONS]
Options:
--ansible-role-ids LIST IDs of associated ansible roles
--ansible-roles LIST
--architecture VALUE Architecture name
--architecture-id NUMBER Required if host is managed and value is not inherited from host group
--ask-root-password BOOLEAN
--autoheal BOOLEAN Sets whether the Host will autoheal subscriptions upon checkin
--build BOOLEAN
--comment VALUE Additional information about this host
--compute-attributes KEY_VALUE_LIST Compute resource attributes
--compute-profile VALUE Compute profile name
--compute-profile-id NUMBER
--compute-resource VALUE Compute resource name
--compute-resource-id NUMBER Nil means host is bare metal
--content-source VALUE Content Source name
--content-source-id NUMBER
--content-view VALUE Name to search by
--content-view-id NUMBER
--domain VALUE Domain name
--domain-id NUMBER Required if host is managed and value is not inherited from host group
--enabled BOOLEAN Include this host within Satellite reporting
--hostgroup VALUE Hostgroup name
--hostgroup-id NUMBER
--hostgroup-title VALUE Hostgroup title
--hypervisor-guest-uuids LIST List of hypervisor guest uuids
--id VALUE
--image VALUE Name to search by
--image-id NUMBER
--installed-products-attributes SCHEMA List of products installed on the host
--interface KEY_VALUE_LIST Interface parameters
Can be specified multiple times.
--ip VALUE Not required if using a subnet with DHCP Capsule
--kickstart-repository VALUE Kickstart repository name
--kickstart-repository-id NUMBER Repository Id associated with the kickstart repo used for provisioning
--lifecycle-environment VALUE Name to search by
--lifecycle-environment-id NUMBER
--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
--mac VALUE Required for managed host that is bare metal, not required if it's a virtual
machine
--managed BOOLEAN True/False flag whether a host is managed or unmanaged. Note: this value also
determines whether several parameters are required or not
--medium VALUE Medium name
--medium-id VALUE Required if not imaged based provisioning and host is managed and value is not
inherited from host group
--model VALUE Model name
--model-id NUMBER
--name VALUE
--new-location VALUE Use to update associated location
--new-location-id NUMBER Use to update associated location
--new-location-title VALUE Use to update associated location
--new-name VALUE
--new-organization VALUE Use to update associated organization
--new-organization-id NUMBER Use to update associated organization
--new-organization-title VALUE Use to update associated organization
--openscap-proxy-id NUMBER ID of OpenSCAP Capsule
--operatingsystem VALUE Operating system title
--operatingsystem-id NUMBER Required if host is managed and value is not inherited from host group
--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
--overwrite BOOLEAN
--owner VALUE Login of the owner
--owner-id VALUE ID of the owner
--owner-type ENUM Host's owner type
Possible value(s): 'User', 'Usergroup'
--parameters KEY_VALUE_LIST Replaces with new host parameters
--partition-table VALUE Partition table name
--partition-table-id NUMBER Required if host is managed and custom partition has not been defined
--product VALUE Name to search by
--product-id NUMBER Product id as listed from a host's installed products, this is not the
same product id as the products api returns
--progress-report-id VALUE UUID to track orchestration tasks status, GET /api/orchestration/:UUID/tasks
--provision-method ENUM The method used to provision the host.
Possible value(s): 'build', 'image', 'bootdisk'
--puppet-ca-proxy-id NUMBER Puppet CA Capsule ID
--puppet-proxy-id NUMBER Puppet Capsule ID
--purpose-addons LIST Sets the system add-ons
--purpose-role VALUE Sets the system purpose usage
--purpose-usage VALUE Sets the system purpose usage
--pxe-loader ENUM DHCP filename option (Grub2/PXELinux by default)
Possible value(s): 'None', 'PXELinux BIOS', 'PXELinux UEFI', 'Grub UEFI', 'Grub2
BIOS', 'Grub2 ELF', 'Grub2 UEFI', 'Grub2 UEFI SecureBoot', 'Grub2 UEFI HTTP',
'Grub2 UEFI HTTPS', 'Grub2 UEFI HTTPS SecureBoot', 'iPXE Embedded', 'iPXE UEFI
HTTP', 'iPXE Chain BIOS', 'iPXE Chain UEFI'
--realm VALUE Name to search by
--realm-id NUMBER
--release-version VALUE Release version for this Host to use (7Server, 7.1, etc)
--root-password VALUE Required if host is managed and value is not inherited from host group or
default password in settings
--service-level VALUE Service level to be used for autoheal
--subnet VALUE Subnet name
--subnet-id NUMBER Required if host is managed and value is not inherited from host group
--typed-parameters SCHEMA Replaces with new host parameters (with type support)
--volume KEY_VALUE_LIST Volume parameters
Can be specified multiple times.
-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
Following parameters accept format defined by its schema (bold are required; <> contains acceptable type; [] contains acceptable value):
--typed-parameters "name=<string>\,value=<string>\,parameter_type=[string|boolean|integer|real|array|hash|yaml|json]\,hidden_value=[true|false|1|0], ... "
--installed-products-attributes "product_id=<string>\,product_name=<string>\,arch=<string>\,version=<string>, ... "
Available keys for --interface:
mac
ip
type Possible values: interface, bmc, bond, bridge
name
subnet_id
domain_id
identifier
managed true/false
primary true/false, each managed hosts needs to have one primary interface.
provision true/false
virtual true/false
For virtual=true:
tag VLAN tag, this attribute has precedence over the subnet VLAN ID. Only for virtual interfaces.
attached_to Identifier of the interface to which this interface belongs, e.g. eth1.
For type=bond:
mode Possible values: balance-rr, active-backup, balance-xor, broadcast, 802.3ad, balance-tlb, balance-alb
attached_devices Identifiers of slave interfaces, e.g. [eth1,eth2]
bond_options
For type=bmc:
provider always IPMI
username
password
Provider specific options:
NOTE: Bold attributes are required.
EC2:
--volume:
--interface:
--compute-attributes:
availability_zone
flavor_id
groups
security_group_ids
managed_ip
GCE:
--volume:
size_gb Volume size in GB, integer value
--interface:
--compute-attributes:
machine_type
network
associate_external_ip
Libvirt:
--volume:
pool_name One of available storage pools
capacity String value, e.g. 10G
allocation
Initial allocation, e.g. 0G
format_type Possible values: raw, qcow2
--interface:
compute_type Possible values: bridge, network
compute_bridge Name of interface according to type
compute_model Possible values: virtio, rtl8139, ne2k_pci, pcnet, e1000
compute_network
Libvirt instance network, e.g. default
--compute-attributes:
cpus Number of CPUs
memory String, amount of memory, value in bytes
cpu_mode Possible values: default, host-model, host-passthrough
start Boolean (expressed as 0 or 1), whether to start the machine or not
OpenStack:
--volume:
--interface:
--compute-attributes:
availability_zone
boot_from_volume
flavor_ref
image_ref
tenant_id
security_groups
network
oVirt:
--volume:
size_gb Volume size in GB, integer value
storage_domain ID or name of storage domain
bootable Boolean, set 1 for bootable, only one volume can be bootable
preallocate Boolean, set 1 to preallocate
wipe_after_delete Boolean, set 1 to wipe disk after delete
interface Disk interface name, must be ide, virto or virto_scsi
--interface:
compute_name Compute name, e.g. eth0
compute_network Select one of available networks for a cluster, must be an ID or a name
compute_interface Interface type
compute_vnic_profile Vnic Profile
--compute-attributes:
cluster ID or name of cluster to use
template Hardware profile to use
cores Integer value, number of cores
sockets Integer value, number of sockets
memory Amount of memory, integer value in bytes
ha Boolean, set 1 to high availability
display_type Possible values: VNC, SPICE
keyboard_layout Possible values: ar, de-ch, es, fo, fr-ca, hu, ja, mk, no, pt-br, sv, da, en-gb, et, fr, fr-ch, is, lt, nl, pl, ru, th, de, en-us, fi, fr-be, hr, it, lv, nl-be, pt, sl, tr. Not usable if display type is SPICE.
start Boolean, set 1 to start the vm
Rackspace:
--volume:
--interface:
--compute-attributes:
flavor_id
VMware:
--volume:
name
storage_pod Storage Pod ID from VMware
datastore Datastore ID from VMware
mode persistent/independent_persistent/independent_nonpersistent
size_gb Integer number, volume size in GB
thin true/false
eager_zero true/false
controller_key Associated SCSI controller key
--interface:
compute_type Type of the network adapter, for example one of:
VirtualVmxnet3
VirtualE1000
See documentation center for your version of vSphere to find more details about available adapter types:
https://www.vmware.com/support/pubs/
compute_network Network ID or Network Name from VMware
--compute-attributes:
cluster Cluster ID from VMware
corespersocket Number of cores per socket (applicable to hardware versions < 10 only)
cpus CPU count
memory_mb Integer number, amount of memory in MB
path Path to folder
resource_pool Resource Pool ID from VMware
firmware automatic/bios/efi
guest_id Guest OS ID form VMware
hardware_version Hardware version ID from VMware
memoryHotAddEnabled Must be a 1 or 0, lets you add memory resources while the machine is on
cpuHotAddEnabled Must be a 1 or 0, lets you add CPU resources while the machine is on
add_cdrom Must be a 1 or 0, Add a CD-ROM drive to the virtual machine
annotation Annotation Notes
scsi_controllers List with SCSI controllers definitions
type - ID of the controller from VMware
key - Key of the controller (e.g. 1000)
start Must be a 1 or 0, whether to start the machine or not
AzureRM:
--volume:
disk_size_gb Volume Size in GB (integer value)
data_disk_caching Data Disk Caching (None, ReadOnly, ReadWrite)
--interface:
compute_network Select one of available Azure Subnets, must be an ID
compute_public_ip Public IP (None, Static, Dynamic)
compute_private_ip Static Private IP (expressed as true or false)
--compute-attributes:
resource_group Existing Azure Resource Group of user
vm_size VM Size, eg. Standard_A0 etc.
username The Admin username
password The Admin password
platform OS type eg. Linux
ssh_key_data SSH key for passwordless authentication
os_disk_caching OS disk caching
premium_os_disk Premium OS Disk, Boolean as 0 or 1
script_command Custom Script Command
script_uris Comma seperated file URIs
3.36. hammer host-collection Copy linkLink copied to clipboard!
Manipulate host collections
Usage: hammer host-collection [OPTIONS] SUBCOMMAND [ARG] ... Parameters: SUBCOMMAND Subcommand [ARG] ... Subcommand arguments Subcommands: add-host Add host to the host collection copy Copy a host collection create Create a host collection delete, destroy Destroy a host collection erratum Manipulate errata for a host collection hosts List all hosts info, show Show a host collection list, index List host collections package Manipulate packages for a host collection package-group Manipulate package-groups for a host collection remove-host Remove hosts from the host collection update Update a host collection Options: -h, --help Print help
Usage:
hammer host-collection [OPTIONS] SUBCOMMAND [ARG] ...
Parameters:
SUBCOMMAND Subcommand
[ARG] ... Subcommand arguments
Subcommands:
add-host Add host to the host collection
copy Copy a host collection
create Create a host collection
delete, destroy Destroy a host collection
erratum Manipulate errata for a host collection
hosts List all hosts
info, show Show a host collection
list, index List host collections
package Manipulate packages for a host collection
package-group Manipulate package-groups for a host collection
remove-host Remove hosts from the host collection
update Update a host collection
Options:
-h, --help Print help
3.36.1. hammer host-collection add-host Copy linkLink copied to clipboard!
Add host to the host collection
Usage: hammer host-collection add-host [OPTIONS] Options: --host-ids LIST Array of host ids --hosts LIST --id NUMBER Id of the host collection --name VALUE Host collection name to search by --organization VALUE Organization name to search by --organization-id NUMBER Organization ID --organization-label VALUE Organization label to search by --organization-title VALUE Organization title -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
Usage:
hammer host-collection add-host [OPTIONS]
Options:
--host-ids LIST Array of host ids
--hosts LIST
--id NUMBER Id of the host collection
--name VALUE Host collection name to search by
--organization VALUE Organization name to search by
--organization-id NUMBER Organization ID
--organization-label VALUE Organization label to search by
--organization-title VALUE Organization title
-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.36.2. hammer host-collection copy Copy linkLink copied to clipboard!
Copy a host collection
Usage: hammer host-collection copy [OPTIONS] Options: --id NUMBER ID of the host collection --name VALUE New host collection name --new-name VALUE New host collection name --organization VALUE Organization name to search by --organization-id NUMBER Organization ID --organization-label VALUE Organization label to search by --organization-title VALUE Organization title -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
Usage:
hammer host-collection copy [OPTIONS]
Options:
--id NUMBER ID of the host collection
--name VALUE New host collection name
--new-name VALUE New host collection name
--organization VALUE Organization name to search by
--organization-id NUMBER Organization ID
--organization-label VALUE Organization label to search by
--organization-title VALUE Organization title
-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.36.3. hammer host-collection create Copy linkLink copied to clipboard!
Create a host collection
Usage: hammer host-collection create [OPTIONS] Options: --description VALUE --host-ids LIST List of host ids to replace the hosts in host collection --hosts LIST --max-hosts NUMBER Maximum number of hosts in the host collection --name VALUE Host Collection name --organization VALUE Organization name to search by --organization-id NUMBER Organization identifier --organization-label VALUE Organization label to search by --organization-title VALUE Organization title --unlimited-hosts Set hosts max to unlimited -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
Usage:
hammer host-collection create [OPTIONS]
Options:
--description VALUE
--host-ids LIST List of host ids to replace the hosts in host collection
--hosts LIST
--max-hosts NUMBER Maximum number of hosts in the host collection
--name VALUE Host Collection name
--organization VALUE Organization name to search by
--organization-id NUMBER Organization identifier
--organization-label VALUE Organization label to search by
--organization-title VALUE Organization title
--unlimited-hosts Set hosts max to unlimited
-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.36.4. hammer host-collection delete Copy linkLink copied to clipboard!
Destroy a host collection
Usage: hammer host-collection <delete|destroy> [OPTIONS] Options: --id NUMBER Id of the host collection --name VALUE Host collection name to search by --organization VALUE Organization name to search by --organization-id NUMBER Organization ID --organization-label VALUE Organization label to search by --organization-title VALUE Organization title -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
Usage:
hammer host-collection <delete|destroy> [OPTIONS]
Options:
--id NUMBER Id of the host collection
--name VALUE Host collection name to search by
--organization VALUE Organization name to search by
--organization-id NUMBER Organization ID
--organization-label VALUE Organization label to search by
--organization-title VALUE Organization title
-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.36.5. hammer host-collection erratum Copy linkLink copied to clipboard!
Manipulate errata for a host collection
Usage: hammer host-collection erratum [OPTIONS] SUBCOMMAND [ARG] ... Parameters: SUBCOMMAND Subcommand [ARG] ... Subcommand arguments Subcommands: install Install errata on content hosts contained within a host collection Options: -h, --help Print help
Usage:
hammer host-collection erratum [OPTIONS] SUBCOMMAND [ARG] ...
Parameters:
SUBCOMMAND Subcommand
[ARG] ... Subcommand arguments
Subcommands:
install Install errata on content hosts contained within a host collection
Options:
-h, --help Print help
3.36.5.1. hammer host-collection erratum install Copy linkLink copied to clipboard!
Install errata on content hosts contained within a host collection
Usage: hammer host-collection erratum install [OPTIONS] Options: --errata LIST List of Errata to install --id VALUE Host Collection ID --name VALUE Host Collection Name --organization VALUE Organization name to search by --organization-id NUMBER Organization ID --organization-label VALUE Organization label to search by --organization-title VALUE Organization title -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
Usage:
hammer host-collection erratum install [OPTIONS]
Options:
--errata LIST List of Errata to install
--id VALUE Host Collection ID
--name VALUE Host Collection Name
--organization VALUE Organization name to search by
--organization-id NUMBER Organization ID
--organization-label VALUE Organization label to search by
--organization-title VALUE Organization title
-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.36.6. hammer host-collection hosts Copy linkLink copied to clipboard!
List all hosts
Usage: hammer host-collection hosts [OPTIONS] Options: --fields LIST Show specified fields or predefined field sets only. (See below) --hostgroup VALUE Hostgroup name --hostgroup-id VALUE ID of host group --hostgroup-title VALUE Hostgroup title --id VALUE Host Collection ID --include ENUM Array of extra information types to include Possible value(s): 'parameters', 'all_parameters' --location VALUE Set the current location context for the request --location-id VALUE ID of location --location-title VALUE Set the current location context for the request --name VALUE Host Collection Name --order VALUE Sort and order by a searchable field, e.g. '<field> DESC' --organization VALUE Organization name to search by --organization-id VALUE ID of organization --organization-label VALUE Organization label to search by --organization-title VALUE Organization title --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 --thin BOOLEAN Only list ID and name of hosts -h, --help Print help Predefined field sets: ------------|-----|---------|----- FIELDS | ALL | DEFAULT | THIN ------------|-----|---------|----- Id | x | x | x Name | x | x | x Security | x | | Bugfix | x | | Enhancement | 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: activation_key string activation_key_id string addon string addons_status Values: mismatched, matched, not_specified ansible_role string applicable_debs string applicable_errata string applicable_errata_issued date applicable_rpms string architecture string autoheal boolean boot_time build Values: true, false build_status Values: built, pending, token_expired, build_failed comment text compute_resource string compute_resource_id integer content_source string content_view string content_view_id integer created_at datetime cve_id integer domain string domain_id integer errata_status Values: security_needed, errata_needed, updated, unknown execution_status Values: ok, error facts string global_status Values: ok, warning, error has_ip string has_mac string hostgroup string hostgroup_fullname string hostgroup_id integer hostgroup_name string hostgroup_title string hypervisor boolean hypervisor_host string id integer image string infrastructure_facet.foreman infrastructure_facet.smart_proxy_id insights_recommendations_count integer installable_errata string installed_at datetime ip string job_invocation.id string job_invocation.result Values: cancelled, failed, pending, success last_checkin datetime last_report datetime lifecycle_environment string lifecycle_environment_id integer location string location_id integer mac string managed Values: true, false model string name string organization string organization_id integer origin string os string os_description string os_id integer os_major string os_minor string os_title string owner string owner_id integer owner_type string params string params_name string parent_hostgroup string puppet_ca string puppet_proxy_id integer puppetmaster string purpose_status Values: mismatched, matched, not_specified realm string realm_id integer registered_at datetime registered_through string release_version string reported.boot_time reported.cores reported.disks_total reported.ram reported.sockets reported.virtual Values: true, false repository string repository_content_label string role text role_status Values: mismatched, matched, not_specified service_level string sla_status Values: mismatched, matched, not_specified smart_proxy string status.applied integer status.enabled Values: true, false status.failed integer status.failed_restarts integer status.interesting Values: true, false status.pending integer status.restarted integer status.skipped integer subnet string subnet.name text subnet6 string subnet6.name text subscription_id string subscription_name string subscription_status Values: valid, partial, invalid, unknown, disabled, unsubscribed_hypervisor subscription_uuid string trace_status Values: reboot_needed, process_restart_needed, updated upgradable_debs string upgradable_rpms string usage text usage_status Values: mismatched, matched, not_specified user.firstname string user.lastname string user.login string user.mail string usergroup string usergroup.name string uuid string
Usage:
hammer host-collection hosts [OPTIONS]
Options:
--fields LIST Show specified fields or predefined field sets only. (See below)
--hostgroup VALUE Hostgroup name
--hostgroup-id VALUE ID of host group
--hostgroup-title VALUE Hostgroup title
--id VALUE Host Collection ID
--include ENUM Array of extra information types to include
Possible value(s): 'parameters', 'all_parameters'
--location VALUE Set the current location context for the request
--location-id VALUE ID of location
--location-title VALUE Set the current location context for the request
--name VALUE Host Collection Name
--order VALUE Sort and order by a searchable field, e.g. '<field> DESC'
--organization VALUE Organization name to search by
--organization-id VALUE ID of organization
--organization-label VALUE Organization label to search by
--organization-title VALUE Organization title
--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
--thin BOOLEAN Only list ID and name of hosts
-h, --help Print help
Predefined field sets:
------------|-----|---------|-----
FIELDS | ALL | DEFAULT | THIN
------------|-----|---------|-----
Id | x | x | x
Name | x | x | x
Security | x | |
Bugfix | x | |
Enhancement | 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:
activation_key string
activation_key_id string
addon string
addons_status Values: mismatched, matched, not_specified
ansible_role string
applicable_debs string
applicable_errata string
applicable_errata_issued date
applicable_rpms string
architecture string
autoheal boolean
boot_time
build Values: true, false
build_status Values: built, pending, token_expired, build_failed
comment text
compute_resource string
compute_resource_id integer
content_source string
content_view string
content_view_id integer
created_at datetime
cve_id integer
domain string
domain_id integer
errata_status Values: security_needed, errata_needed, updated, unknown
execution_status Values: ok, error
facts string
global_status Values: ok, warning, error
has_ip string
has_mac string
hostgroup string
hostgroup_fullname string
hostgroup_id integer
hostgroup_name string
hostgroup_title string
hypervisor boolean
hypervisor_host string
id integer
image string
infrastructure_facet.foreman
infrastructure_facet.smart_proxy_id
insights_recommendations_count integer
installable_errata string
installed_at datetime
ip string
job_invocation.id string
job_invocation.result Values: cancelled, failed, pending, success
last_checkin datetime
last_report datetime
lifecycle_environment string
lifecycle_environment_id integer
location string
location_id integer
mac string
managed Values: true, false
model string
name string
organization string
organization_id integer
origin string
os string
os_description string
os_id integer
os_major string
os_minor string
os_title string
owner string
owner_id integer
owner_type string
params string
params_name string
parent_hostgroup string
puppet_ca string
puppet_proxy_id integer
puppetmaster string
purpose_status Values: mismatched, matched, not_specified
realm string
realm_id integer
registered_at datetime
registered_through string
release_version string
reported.boot_time
reported.cores
reported.disks_total
reported.ram
reported.sockets
reported.virtual Values: true, false
repository string
repository_content_label string
role text
role_status Values: mismatched, matched, not_specified
service_level string
sla_status Values: mismatched, matched, not_specified
smart_proxy string
status.applied integer
status.enabled Values: true, false
status.failed integer
status.failed_restarts integer
status.interesting Values: true, false
status.pending integer
status.restarted integer
status.skipped integer
subnet string
subnet.name text
subnet6 string
subnet6.name text
subscription_id string
subscription_name string
subscription_status Values: valid, partial, invalid, unknown, disabled, unsubscribed_hypervisor
subscription_uuid string
trace_status Values: reboot_needed, process_restart_needed, updated
upgradable_debs string
upgradable_rpms string
usage text
usage_status Values: mismatched, matched, not_specified
user.firstname string
user.lastname string
user.login string
user.mail string
usergroup string
usergroup.name string
uuid string
3.36.7. hammer host-collection info Copy linkLink copied to clipboard!
Show a host collection
Usage: hammer host-collection <info|show> [OPTIONS] Options: --fields LIST Show specified fields or predefined field sets only. (See below) --id NUMBER Id of the host collection --name VALUE Host collection name to search by --organization VALUE Organization name to search by --organization-id NUMBER Organization identifier --organization-label VALUE Organization label to search by --organization-title VALUE Organization title -h, --help Print help Predefined field sets: ------------|-----|---------|----- FIELDS | ALL | DEFAULT | THIN ------------|-----|---------|----- Id | x | x | x Name | x | x | x Limit | x | x | Description | x | x | Total hosts | 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
Usage:
hammer host-collection <info|show> [OPTIONS]
Options:
--fields LIST Show specified fields or predefined field sets only. (See below)
--id NUMBER Id of the host collection
--name VALUE Host collection name to search by
--organization VALUE Organization name to search by
--organization-id NUMBER Organization identifier
--organization-label VALUE Organization label to search by
--organization-title VALUE Organization title
-h, --help Print help
Predefined field sets:
------------|-----|---------|-----
FIELDS | ALL | DEFAULT | THIN
------------|-----|---------|-----
Id | x | x | x
Name | x | x | x
Limit | x | x |
Description | x | x |
Total hosts | 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.36.8. hammer host-collection list Copy linkLink copied to clipboard!
List host collections
Usage: hammer host-collection <list|index> [OPTIONS] Options: --activation-key VALUE Activation key name to search by --activation-key-id VALUE Activation key identifier --available-for VALUE Interpret specified object to return only Host Collections that can be associated with specified object. The value 'host' is supported. --fields LIST Show specified fields or predefined field sets only. (See below) --full-result BOOLEAN Whether or not to show all results --host VALUE Host name --host-id NUMBER Filter products by host id --name VALUE Host collection name to filter by --order VALUE Sort field and order, eg. 'id DESC' --organization VALUE Organization name to search by --organization-id NUMBER Organization identifier --organization-label VALUE Organization label to search by --organization-title VALUE Organization title --page NUMBER Page number, starting at 1 --per-page NUMBER Number of results per page to return --search VALUE Search string -h, --help Print help Predefined field sets: ------------|-----|---------|----- FIELDS | ALL | DEFAULT | THIN ------------|-----|---------|----- Id | x | x | x Name | x | x | x Limit | 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: host string name string organization_id integer
Usage:
hammer host-collection <list|index> [OPTIONS]
Options:
--activation-key VALUE Activation key name to search by
--activation-key-id VALUE Activation key identifier
--available-for VALUE Interpret specified object to return only Host Collections that can be
associated with specified object. The value 'host' is supported.
--fields LIST Show specified fields or predefined field sets only. (See below)
--full-result BOOLEAN Whether or not to show all results
--host VALUE Host name
--host-id NUMBER Filter products by host id
--name VALUE Host collection name to filter by
--order VALUE Sort field and order, eg. 'id DESC'
--organization VALUE Organization name to search by
--organization-id NUMBER Organization identifier
--organization-label VALUE Organization label to search by
--organization-title VALUE Organization title
--page NUMBER Page number, starting at 1
--per-page NUMBER Number of results per page to return
--search VALUE Search string
-h, --help Print help
Predefined field sets:
------------|-----|---------|-----
FIELDS | ALL | DEFAULT | THIN
------------|-----|---------|-----
Id | x | x | x
Name | x | x | x
Limit | 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:
host string
name string
organization_id integer
3.36.9. hammer host-collection package Copy linkLink copied to clipboard!
Manipulate packages for a host collection
Usage: hammer host-collection package [OPTIONS] SUBCOMMAND [ARG] ... Parameters: SUBCOMMAND Subcommand [ARG] ... Subcommand arguments Subcommands: install Install packages on content hosts contained within a host collection remove Remove packages on content hosts contained within a host collection update Update packages on content hosts contained within a host collection Options: -h, --help Print help
Usage:
hammer host-collection package [OPTIONS] SUBCOMMAND [ARG] ...
Parameters:
SUBCOMMAND Subcommand
[ARG] ... Subcommand arguments
Subcommands:
install Install packages on content hosts contained within a host collection
remove Remove packages on content hosts contained within a host collection
update Update packages on content hosts contained within a host collection
Options:
-h, --help Print help
3.36.9.1. hammer host-collection package install Copy linkLink copied to clipboard!
Install packages on content hosts contained within a host collection
Usage: hammer host-collection package install [OPTIONS] Options: --id VALUE Host Collection ID --name VALUE Host Collection Name --organization VALUE Organization name to search by --organization-id NUMBER Organization ID --organization-label VALUE Organization label to search by --organization-title VALUE Organization title --packages LIST Comma-separated list of packages to install -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
Usage:
hammer host-collection package install [OPTIONS]
Options:
--id VALUE Host Collection ID
--name VALUE Host Collection Name
--organization VALUE Organization name to search by
--organization-id NUMBER Organization ID
--organization-label VALUE Organization label to search by
--organization-title VALUE Organization title
--packages LIST Comma-separated list of packages to install
-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.36.9.2. hammer host-collection package remove Copy linkLink copied to clipboard!
Remove packages on content hosts contained within a host collection
Usage: hammer host-collection package remove [OPTIONS] Options: --id VALUE Host Collection ID --name VALUE Host Collection Name --organization VALUE Organization name to search by --organization-id NUMBER Organization ID --organization-label VALUE Organization label to search by --organization-title VALUE Organization title --packages LIST Comma-separated list of packages to install -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
Usage:
hammer host-collection package remove [OPTIONS]
Options:
--id VALUE Host Collection ID
--name VALUE Host Collection Name
--organization VALUE Organization name to search by
--organization-id NUMBER Organization ID
--organization-label VALUE Organization label to search by
--organization-title VALUE Organization title
--packages LIST Comma-separated list of packages to install
-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.36.9.3. hammer host-collection package update Copy linkLink copied to clipboard!
Update packages on content hosts contained within a host collection
Usage: hammer host-collection package update [OPTIONS] Options: --id VALUE Host Collection ID --name VALUE Host Collection Name --organization VALUE Organization name to search by --organization-id NUMBER Organization ID --organization-label VALUE Organization label to search by --organization-title VALUE Organization title --packages LIST Comma-separated list of packages to install -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
Usage:
hammer host-collection package update [OPTIONS]
Options:
--id VALUE Host Collection ID
--name VALUE Host Collection Name
--organization VALUE Organization name to search by
--organization-id NUMBER Organization ID
--organization-label VALUE Organization label to search by
--organization-title VALUE Organization title
--packages LIST Comma-separated list of packages to install
-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.36.10. hammer host-collection package-group Copy linkLink copied to clipboard!
Manipulate package-groups for a host collection
Usage: hammer host-collection package-group [OPTIONS] SUBCOMMAND [ARG] ... Parameters: SUBCOMMAND Subcommand [ARG] ... Subcommand arguments Subcommands: install Install package-groups on content hosts contained within a host collection remove Remove package-groups on content hosts contained within a host collection update Update package-groups on content hosts contained within a host collection Options: -h, --help Print help
Usage:
hammer host-collection package-group [OPTIONS] SUBCOMMAND [ARG] ...
Parameters:
SUBCOMMAND Subcommand
[ARG] ... Subcommand arguments
Subcommands:
install Install package-groups on content hosts contained within a host collection
remove Remove package-groups on content hosts contained within a host collection
update Update package-groups on content hosts contained within a host collection
Options:
-h, --help Print help
3.36.10.1. hammer host-collection package-group install Copy linkLink copied to clipboard!
Install package-groups on content hosts contained within a host collection
Usage: hammer host-collection package-group install [OPTIONS] Options: --id VALUE Host Collection ID --name VALUE Host Collection Name --organization VALUE Organization name to search by --organization-id NUMBER Organization ID --organization-label VALUE Organization label to search by --organization-title VALUE Organization title --package-groups LIST Comma-separated list of package-groups to install -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
Usage:
hammer host-collection package-group install [OPTIONS]
Options:
--id VALUE Host Collection ID
--name VALUE Host Collection Name
--organization VALUE Organization name to search by
--organization-id NUMBER Organization ID
--organization-label VALUE Organization label to search by
--organization-title VALUE Organization title
--package-groups LIST Comma-separated list of package-groups to install
-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.36.10.2. hammer host-collection package-group remove Copy linkLink copied to clipboard!
Remove package-groups on content hosts contained within a host collection
Usage: hammer host-collection package-group remove [OPTIONS] Options: --id VALUE Host Collection ID --name VALUE Host Collection Name --organization VALUE Organization name to search by --organization-id NUMBER Organization ID --organization-label VALUE Organization label to search by --organization-title VALUE Organization title --package-groups LIST Comma-separated list of package-groups to install -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
Usage:
hammer host-collection package-group remove [OPTIONS]
Options:
--id VALUE Host Collection ID
--name VALUE Host Collection Name
--organization VALUE Organization name to search by
--organization-id NUMBER Organization ID
--organization-label VALUE Organization label to search by
--organization-title VALUE Organization title
--package-groups LIST Comma-separated list of package-groups to install
-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.36.10.3. hammer host-collection package-group update Copy linkLink copied to clipboard!
Update package-groups on content hosts contained within a host collection
Usage: hammer host-collection package-group update [OPTIONS] Options: --id VALUE Host Collection ID --name VALUE Host Collection Name --organization VALUE Organization name to search by --organization-id NUMBER Organization ID --organization-label VALUE Organization label to search by --organization-title VALUE Organization title --package-groups LIST Comma-separated list of package-groups to install -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
Usage:
hammer host-collection package-group update [OPTIONS]
Options:
--id VALUE Host Collection ID
--name VALUE Host Collection Name
--organization VALUE Organization name to search by
--organization-id NUMBER Organization ID
--organization-label VALUE Organization label to search by
--organization-title VALUE Organization title
--package-groups LIST Comma-separated list of package-groups to install
-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.36.11. hammer host-collection remove-host Copy linkLink copied to clipboard!
Remove hosts from the host collection
Usage: hammer host-collection remove-host [OPTIONS] Options: --host-ids LIST Array of host ids --hosts LIST --id NUMBER Id of the host collection --name VALUE Host collection name to search by --organization VALUE Organization name to search by --organization-id NUMBER Organization ID --organization-label VALUE Organization label to search by --organization-title VALUE Organization title -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
Usage:
hammer host-collection remove-host [OPTIONS]
Options:
--host-ids LIST Array of host ids
--hosts LIST
--id NUMBER Id of the host collection
--name VALUE Host collection name to search by
--organization VALUE Organization name to search by
--organization-id NUMBER Organization ID
--organization-label VALUE Organization label to search by
--organization-title VALUE Organization title
-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.36.12. hammer host-collection update Copy linkLink copied to clipboard!
Update a host collection
Usage: hammer host-collection update [OPTIONS] Options: --description VALUE --host-ids LIST List of host ids to replace the hosts in host collection --hosts LIST --id NUMBER Id of the host collection --max-hosts NUMBER Maximum number of hosts in the host collection --name VALUE Host Collection name --new-name VALUE Host Collection name --organization VALUE Organization name to search by --organization-id NUMBER Organization ID --organization-label VALUE Organization label to search by --organization-title VALUE Organization title --unlimited-hosts Set hosts max to unlimited -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
Usage:
hammer host-collection update [OPTIONS]
Options:
--description VALUE
--host-ids LIST List of host ids to replace the hosts in host collection
--hosts LIST
--id NUMBER Id of the host collection
--max-hosts NUMBER Maximum number of hosts in the host collection
--name VALUE Host Collection name
--new-name VALUE Host Collection name
--organization VALUE Organization name to search by
--organization-id NUMBER Organization ID
--organization-label VALUE Organization label to search by
--organization-title VALUE Organization title
--unlimited-hosts Set hosts max to unlimited
-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.37. hammer host-registration Copy linkLink copied to clipboard!
Host Registration
Usage: hammer host-registration [OPTIONS] SUBCOMMAND [ARG] ... Parameters: SUBCOMMAND Subcommand [ARG] ... Subcommand arguments Subcommands: generate-command Generate global registration command Options: -h, --help Print help
Usage:
hammer host-registration [OPTIONS] SUBCOMMAND [ARG] ...
Parameters:
SUBCOMMAND Subcommand
[ARG] ... Subcommand arguments
Subcommands:
generate-command Generate global registration command
Options:
-h, --help Print help
3.37.1. hammer host-registration generate-command Copy linkLink copied to clipboard!
Generate global registration command
Usage: hammer host-registration generate-command [OPTIONS] Options: --activation-key VALUE Activation key for subscription-manager client, required for CentOS and Red Hat Enterprise Linux. For multiple keys use `activation_keys` param instead. --activation-keys LIST Activation keys for subscription-manager client, required for CentOS and Red Hat Enterprise Linux. Required only if host group has no activation keys. --force BOOLEAN Clear any previous registration and run subscription-manager with –force. --hostgroup VALUE Hostgroup name --hostgroup-id NUMBER ID of the Host group to register the host in --hostgroup-title VALUE Hostgroup title --ignore-subman-errors BOOLEAN Ignore subscription-manager errors for `subscription-manager register` command --insecure BOOLEAN Enable insecure argument for the initial curl --jwt-expiration NUMBER Expiration of the authorization token (in hours) --lifecycle-environment VALUE Name to search by --lifecycle-environment-id NUMBER Lifecycle environment for the host. --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 --operatingsystem VALUE Operating system title --operatingsystem-id NUMBER ID of the Operating System to register the host in. Operating system must have a `host_init_config` template assigned --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 --packages VALUE Packages to install on the host when registered. Can be set by `host_packages` parameter, example: `pkg1 pkg2` --remote-execution-interface VALUE Identifier of the Host interface for Remote execution --repo VALUE Repository URL / details, for example for Debian OS family: 'deb deb.example.com/ buster 1.0', for Red Hat OS family: 'yum.theforeman.org/client/latest/el8/x86_64/' --repo-gpg-key-url VALUE URL of the GPG key for the repository --setup-insights BOOLEAN Set 'host_registration_insights' parameter for the host. If it is set to true, insights client will be installed and registered on Red Hat family operating systems --setup-remote-execution BOOLEAN Set 'host_registration_remote_execution' parameter for the host. If it is set to true, SSH keys will be installed on the host --smart-proxy VALUE Name to search by --smart-proxy-id NUMBER ID of the Capsule. This Capsule must have enabled both the 'Templates' and 'Registration' features --update-packages BOOLEAN Update all packages on the host -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
Usage:
hammer host-registration generate-command [OPTIONS]
Options:
--activation-key VALUE Activation key for subscription-manager client, required for CentOS and Red Hat
Enterprise Linux. For multiple keys use `activation_keys` param instead.
--activation-keys LIST Activation keys for subscription-manager client, required for CentOS and Red Hat
Enterprise Linux. Required only if host group has no activation keys.
--force BOOLEAN Clear any previous registration and run subscription-manager with –force.
--hostgroup VALUE Hostgroup name
--hostgroup-id NUMBER ID of the Host group to register the host in
--hostgroup-title VALUE Hostgroup title
--ignore-subman-errors BOOLEAN Ignore subscription-manager errors for `subscription-manager register` command
--insecure BOOLEAN Enable insecure argument for the initial curl
--jwt-expiration NUMBER Expiration of the authorization token (in hours)
--lifecycle-environment VALUE Name to search by
--lifecycle-environment-id NUMBER Lifecycle environment for the host.
--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
--operatingsystem VALUE Operating system title
--operatingsystem-id NUMBER ID of the Operating System to register the host in. Operating system must have a
`host_init_config` template assigned
--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
--packages VALUE Packages to install on the host when registered. Can be set by `host_packages`
parameter, example: `pkg1 pkg2`
--remote-execution-interface VALUE Identifier of the Host interface for Remote execution
--repo VALUE Repository URL / details, for example for Debian OS family: 'deb
deb.example.com/ buster 1.0', for Red Hat OS family:
'yum.theforeman.org/client/latest/el8/x86_64/'
--repo-gpg-key-url VALUE URL of the GPG key for the repository
--setup-insights BOOLEAN Set 'host_registration_insights' parameter for the host. If it is set to true,
insights client will be installed and registered on Red Hat family operating
systems
--setup-remote-execution BOOLEAN Set 'host_registration_remote_execution' parameter for the host. If it is set to
true, SSH keys will be installed on the host
--smart-proxy VALUE Name to search by
--smart-proxy-id NUMBER ID of the Capsule. This Capsule must have enabled both the 'Templates' and
'Registration' features
--update-packages BOOLEAN Update all packages on the host
-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.38. hammer hostgroup Copy linkLink copied to clipboard!
Manipulate hostgroups
Usage: hammer hostgroup [OPTIONS] SUBCOMMAND [ARG] ... Parameters: SUBCOMMAND Subcommand [ARG] ... Subcommand arguments Subcommands: ansible-roles Manage Ansible roles on a hostgroup create Create a host group delete, destroy Delete a host group delete-parameter Delete parameter for a hostgroup info, show Show a host group list, index List all host groups rebuild-config Rebuild orchestration config set-parameter Create or update parameter for a hostgroup update Update a host group Options: -h, --help Print help
Usage:
hammer hostgroup [OPTIONS] SUBCOMMAND [ARG] ...
Parameters:
SUBCOMMAND Subcommand
[ARG] ... Subcommand arguments
Subcommands:
ansible-roles Manage Ansible roles on a hostgroup
create Create a host group
delete, destroy Delete a host group
delete-parameter Delete parameter for a hostgroup
info, show Show a host group
list, index List all host groups
rebuild-config Rebuild orchestration config
set-parameter Create or update parameter for a hostgroup
update Update a host group
Options:
-h, --help Print help
3.38.1. hammer hostgroup ansible-roles Copy linkLink copied to clipboard!
Manage Ansible roles on a hostgroup
Usage: hammer hostgroup ansible-roles [OPTIONS] SUBCOMMAND [ARG] ... Parameters: SUBCOMMAND Subcommand [ARG] ... Subcommand arguments Subcommands: assign Assigns Ansible roles to a hostgroup list, index List all Ansible roles for a hostgroup play Runs all Ansible roles on a hostgroup Options: -h, --help Print help
Usage:
hammer hostgroup ansible-roles [OPTIONS] SUBCOMMAND [ARG] ...
Parameters:
SUBCOMMAND Subcommand
[ARG] ... Subcommand arguments
Subcommands:
assign Assigns Ansible roles to a hostgroup
list, index List all Ansible roles for a hostgroup
play Runs all Ansible roles on a hostgroup
Options:
-h, --help Print help
3.38.1.1. hammer hostgroup ansible-roles assign Copy linkLink copied to clipboard!
Assigns Ansible roles to a hostgroup
Usage: hammer hostgroup ansible-roles assign [OPTIONS] Options: --ansible-role-ids LIST Ansible roles to assign to a hostgroup --ansible-roles LIST --id VALUE --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 Hostgroup name --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 Hostgroup title -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
Usage:
hammer hostgroup ansible-roles assign [OPTIONS]
Options:
--ansible-role-ids LIST Ansible roles to assign to a hostgroup
--ansible-roles LIST
--id VALUE
--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 Hostgroup name
--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 Hostgroup title
-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.38.1.2. hammer hostgroup ansible-roles list Copy linkLink copied to clipboard!
List all Ansible roles for a hostgroup
Usage: hammer hostgroup ansible-roles <list|index> [OPTIONS] Options: --fields LIST Show specified fields or predefined field sets only. (See below) --id VALUE --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 Hostgroup name --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 Hostgroup title -h, --help Print help Predefined field sets: ------------|-----|---------|----- FIELDS | ALL | DEFAULT | THIN ------------|-----|---------|----- Id | x | x | x Name | x | x | x Imported 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
Usage:
hammer hostgroup ansible-roles <list|index> [OPTIONS]
Options:
--fields LIST Show specified fields or predefined field sets only. (See below)
--id VALUE
--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 Hostgroup name
--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 Hostgroup title
-h, --help Print help
Predefined field sets:
------------|-----|---------|-----
FIELDS | ALL | DEFAULT | THIN
------------|-----|---------|-----
Id | x | x | x
Name | x | x | x
Imported 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
3.38.1.3. hammer hostgroup ansible-roles play Copy linkLink copied to clipboard!
Runs all Ansible roles on a hostgroup
Usage: hammer hostgroup ansible-roles play [OPTIONS] Options: --id VALUE --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 Hostgroup name --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 Hostgroup title -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
Usage:
hammer hostgroup ansible-roles play [OPTIONS]
Options:
--id VALUE
--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 Hostgroup name
--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 Hostgroup title
-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.38.2. hammer hostgroup create Copy linkLink copied to clipboard!
Create a host group
Usage: hammer hostgroup create [OPTIONS] Options: --ansible-role-ids LIST IDs of associated ansible roles --ansible-roles LIST --architecture VALUE Architecture name --architecture-id NUMBER Architecture ID --ask-root-password BOOLEAN --compute-profile VALUE Compute profile name --compute-profile-id NUMBER Compute profile ID --compute-resource VALUE Compute resource name --compute-resource-id NUMBER Compute resource ID --content-source VALUE Content Source name --content-source-id NUMBER Content source ID --content-view VALUE Name to search by --content-view-id NUMBER Content view ID --description VALUE Host group description --domain VALUE Domain name --domain-id NUMBER Domain ID --group-parameters-attributes SCHEMA Array of parameters --kickstart-repository VALUE Kickstart repository name --kickstart-repository-id NUMBER Kickstart repository ID --lifecycle-environment VALUE Name to search by --lifecycle-environment-id NUMBER Lifecycle environment ID --location VALUE Set the current location context for the request --location-id NUMBER Set the current location context for the request --location-ids LIST REPLACE locations with given ids --location-title VALUE Set the current location context for the request --location-titles LIST --locations LIST --medium VALUE Medium name --medium-id NUMBER Media ID --name VALUE Name of the host group --openscap-proxy-id NUMBER ID of OpenSCAP Capsule --operatingsystem VALUE Operating system title --operatingsystem-id NUMBER Operating system ID --organization VALUE Set the current organization context for the request --organization-id NUMBER Set the current organization context for the request --organization-ids LIST REPLACE organizations with given ids. --organization-title VALUE Set the current organization context for the request --organization-titles LIST --organizations LIST --parent VALUE Name of parent hostgroup --parent-id NUMBER Parent ID of the host group --parent-title VALUE Title of parent hostgroup --partition-table VALUE Partition table name --partition-table-id NUMBER Partition table ID --puppet-ca-proxy-id NUMBER Puppet CA Capsule ID --puppet-proxy-id NUMBER Puppet Capsule ID --pxe-loader ENUM DHCP filename option (Grub2/PXELinux by default) Possible value(s): 'None', 'PXELinux BIOS', 'PXELinux UEFI', 'Grub UEFI', 'Grub2 BIOS', 'Grub2 ELF', 'Grub2 UEFI', 'Grub2 UEFI SecureBoot', 'Grub2 UEFI HTTP', 'Grub2 UEFI HTTPS', 'Grub2 UEFI HTTPS SecureBoot', 'iPXE Embedded', 'iPXE UEFI HTTP', 'iPXE Chain BIOS', 'iPXE Chain UEFI' --query-organization VALUE Organization name to search by --query-organization-id VALUE Organization ID to search by --query-organization-label VALUE Organization label to search by --realm VALUE Name to search by --realm-id NUMBER Realm ID --root-password VALUE Root password --subnet VALUE Subnet name --subnet-id NUMBER Subnet ID --subnet6 VALUE Subnet IPv6 name --subnet6-id NUMBER Subnet IPv6 ID -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 Following parameters accept format defined by its schema (bold are required; <> contains acceptable type; [] contains acceptable value): --group-parameters-attributes "name=<string>\,value=<string>\,parameter_type=[string|boolean|integer|real|array|hash|yaml|json]\,hidden_value=[true|false|1|0], ... "
Usage:
hammer hostgroup create [OPTIONS]
Options:
--ansible-role-ids LIST IDs of associated ansible roles
--ansible-roles LIST
--architecture VALUE Architecture name
--architecture-id NUMBER Architecture ID
--ask-root-password BOOLEAN
--compute-profile VALUE Compute profile name
--compute-profile-id NUMBER Compute profile ID
--compute-resource VALUE Compute resource name
--compute-resource-id NUMBER Compute resource ID
--content-source VALUE Content Source name
--content-source-id NUMBER Content source ID
--content-view VALUE Name to search by
--content-view-id NUMBER Content view ID
--description VALUE Host group description
--domain VALUE Domain name
--domain-id NUMBER Domain ID
--group-parameters-attributes SCHEMA Array of parameters
--kickstart-repository VALUE Kickstart repository name
--kickstart-repository-id NUMBER Kickstart repository ID
--lifecycle-environment VALUE Name to search by
--lifecycle-environment-id NUMBER Lifecycle environment ID
--location VALUE Set the current location context for the request
--location-id NUMBER Set the current location context for the request
--location-ids LIST REPLACE locations with given ids
--location-title VALUE Set the current location context for the request
--location-titles LIST
--locations LIST
--medium VALUE Medium name
--medium-id NUMBER Media ID
--name VALUE Name of the host group
--openscap-proxy-id NUMBER ID of OpenSCAP Capsule
--operatingsystem VALUE Operating system title
--operatingsystem-id NUMBER Operating system ID
--organization VALUE Set the current organization context for the request
--organization-id NUMBER Set the current organization context for the request
--organization-ids LIST REPLACE organizations with given ids.
--organization-title VALUE Set the current organization context for the request
--organization-titles LIST
--organizations LIST
--parent VALUE Name of parent hostgroup
--parent-id NUMBER Parent ID of the host group
--parent-title VALUE Title of parent hostgroup
--partition-table VALUE Partition table name
--partition-table-id NUMBER Partition table ID
--puppet-ca-proxy-id NUMBER Puppet CA Capsule ID
--puppet-proxy-id NUMBER Puppet Capsule ID
--pxe-loader ENUM DHCP filename option (Grub2/PXELinux by default)
Possible value(s): 'None', 'PXELinux BIOS', 'PXELinux UEFI', 'Grub UEFI', 'Grub2
BIOS', 'Grub2 ELF', 'Grub2 UEFI', 'Grub2 UEFI SecureBoot', 'Grub2 UEFI HTTP',
'Grub2 UEFI HTTPS', 'Grub2 UEFI HTTPS SecureBoot', 'iPXE Embedded', 'iPXE UEFI
HTTP', 'iPXE Chain BIOS', 'iPXE Chain UEFI'
--query-organization VALUE Organization name to search by
--query-organization-id VALUE Organization ID to search by
--query-organization-label VALUE Organization label to search by
--realm VALUE Name to search by
--realm-id NUMBER Realm ID
--root-password VALUE Root password
--subnet VALUE Subnet name
--subnet-id NUMBER Subnet ID
--subnet6 VALUE Subnet IPv6 name
--subnet6-id NUMBER Subnet IPv6 ID
-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
Following parameters accept format defined by its schema (bold are required; <> contains acceptable type; [] contains acceptable value):
--group-parameters-attributes "name=<string>\,value=<string>\,parameter_type=[string|boolean|integer|real|array|hash|yaml|json]\,hidden_value=[true|false|1|0], ... "
3.38.3. hammer hostgroup delete Copy linkLink copied to clipboard!
Delete a host group
Usage: hammer hostgroup <delete|destroy> [OPTIONS] Options: --id VALUE --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 Hostgroup name --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 Hostgroup title -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
Usage:
hammer hostgroup <delete|destroy> [OPTIONS]
Options:
--id VALUE
--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 Hostgroup name
--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 Hostgroup title
-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.38.4. hammer hostgroup delete-parameter Copy linkLink copied to clipboard!
Delete parameter for a hostgroup
Usage: hammer hostgroup delete-parameter [OPTIONS] Options: --hostgroup VALUE Hostgroup name --hostgroup-id NUMBER --hostgroup-title VALUE Hostgroup title --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
Usage:
hammer hostgroup delete-parameter [OPTIONS]
Options:
--hostgroup VALUE Hostgroup name
--hostgroup-id NUMBER
--hostgroup-title VALUE Hostgroup title
--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
3.38.5. hammer hostgroup info Copy linkLink copied to clipboard!
Show a host group
Usage: hammer hostgroup <info|show> [OPTIONS] Options: --fields LIST Show specified fields or predefined field sets only. (See below) --id VALUE --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 Hostgroup name --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 Hostgroup title -h, --help Print help Predefined field sets: ----------------------------------|-----|---------|----- FIELDS | ALL | DEFAULT | THIN ----------------------------------|-----|---------|----- Id | x | x | x Name | x | x | x Title | x | x | x Model | x | x | Description | x | x | Parent | x | x | Compute profile | x | x | Compute resource | x | x | Network/subnet ipv4 | x | x | Network/subnet ipv6 | x | x | Network/realm | x | x | Network/domain | x | x | Operating system/architecture | x | x | Operating system/operating system | x | x | Operating system/medium | x | x | Operating system/partition table | x | x | Operating system/pxe loader | x | x | Parameters/ | x | x | Locations/ | x | x | Organizations/ | x | x | Openscap proxy | x | x | Content view/id | x | x | Content view/name | x | x | Lifecycle environment/id | x | x | Lifecycle environment/name | x | x | Content source/id | x | x | Content source/name | x | x | Kickstart repository/id | x | x | Kickstart repository/name | 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
Usage:
hammer hostgroup <info|show> [OPTIONS]
Options:
--fields LIST Show specified fields or predefined field sets only. (See below)
--id VALUE
--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 Hostgroup name
--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 Hostgroup title
-h, --help Print help
Predefined field sets:
----------------------------------|-----|---------|-----
FIELDS | ALL | DEFAULT | THIN
----------------------------------|-----|---------|-----
Id | x | x | x
Name | x | x | x
Title | x | x | x
Model | x | x |
Description | x | x |
Parent | x | x |
Compute profile | x | x |
Compute resource | x | x |
Network/subnet ipv4 | x | x |
Network/subnet ipv6 | x | x |
Network/realm | x | x |
Network/domain | x | x |
Operating system/architecture | x | x |
Operating system/operating system | x | x |
Operating system/medium | x | x |
Operating system/partition table | x | x |
Operating system/pxe loader | x | x |
Parameters/ | x | x |
Locations/ | x | x |
Organizations/ | x | x |
Openscap proxy | x | x |
Content view/id | x | x |
Content view/name | x | x |
Lifecycle environment/id | x | x |
Lifecycle environment/name | x | x |
Content source/id | x | x |
Content source/name | x | x |
Kickstart repository/id | x | x |
Kickstart repository/name | 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.38.6. hammer hostgroup list Copy linkLink copied to clipboard!
List all host groups
Usage: hammer hostgroup <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 Scope by locations --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 Scope by organizations --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 Name | x | x | x Title | x | x | x Operating system | x | x | Model | 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: architecture string host string id integer label string location string location_id integer medium string name string organization string organization_id integer os string os_description string os_id integer os_major string os_minor string os_title string oval_policy_id string params string template string title string
Usage:
hammer hostgroup <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 Scope by locations
--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 Scope by organizations
--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
Name | x | x | x
Title | x | x | x
Operating system | x | x |
Model | 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:
architecture string
host string
id integer
label string
location string
location_id integer
medium string
name string
organization string
organization_id integer
os string
os_description string
os_id integer
os_major string
os_minor string
os_title string
oval_policy_id string
params string
template string
title string
3.38.7. hammer hostgroup rebuild-config Copy linkLink copied to clipboard!
Rebuild orchestration config
Usage: hammer hostgroup rebuild-config [OPTIONS] Options: --children-hosts BOOLEAN Operate on child hostgroup hosts --id VALUE --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 Hostgroup name --only LIST Limit rebuild steps, valid steps are DHCP, DNS, TFTP, Content_Host_Status, Refresh_Content_Host_Status --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 Hostgroup title -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
Usage:
hammer hostgroup rebuild-config [OPTIONS]
Options:
--children-hosts BOOLEAN Operate on child hostgroup hosts
--id VALUE
--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 Hostgroup name
--only LIST Limit rebuild steps, valid steps are DHCP, DNS, TFTP, Content_Host_Status,
Refresh_Content_Host_Status
--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 Hostgroup title
-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.38.8. hammer hostgroup set-parameter Copy linkLink copied to clipboard!
Create or update parameter for a hostgroup
Usage: hammer hostgroup set-parameter [OPTIONS] Options: --hidden-value BOOLEAN Should the value be hidden --hostgroup VALUE Hostgroup name --hostgroup-id NUMBER --hostgroup-title VALUE Hostgroup title --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
Usage:
hammer hostgroup set-parameter [OPTIONS]
Options:
--hidden-value BOOLEAN Should the value be hidden
--hostgroup VALUE Hostgroup name
--hostgroup-id NUMBER
--hostgroup-title VALUE Hostgroup title
--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
3.38.9. hammer hostgroup update Copy linkLink copied to clipboard!
Update a host group
Usage: hammer hostgroup update [OPTIONS] Options: --ansible-role-ids LIST IDs of associated ansible roles --ansible-roles LIST --architecture VALUE Architecture name --architecture-id NUMBER Architecture ID --ask-root-password BOOLEAN --compute-profile VALUE Compute profile name --compute-profile-id NUMBER Compute profile ID --compute-resource VALUE Compute resource name --compute-resource-id NUMBER Compute resource ID --content-source VALUE Content Source name --content-source-id NUMBER Content source ID --content-view VALUE Name to search by --content-view-id NUMBER Content view ID --description VALUE Host group description --domain VALUE Domain name --domain-id NUMBER Domain ID --group-parameters-attributes SCHEMA Array of parameters --id VALUE --kickstart-repository VALUE Kickstart repository name --kickstart-repository-id NUMBER Kickstart repository ID --lifecycle-environment VALUE Name to search by --lifecycle-environment-id NUMBER Lifecycle environment ID --location VALUE Set the current location context for the request --location-id NUMBER Set the current location context for the request --location-ids LIST REPLACE locations with given ids --location-title VALUE Set the current location context for the request --location-titles LIST --locations LIST --medium VALUE Medium name --medium-id NUMBER Media ID --name VALUE Name of the host group --new-name VALUE Name of the host group --openscap-proxy-id NUMBER ID of OpenSCAP Capsule --operatingsystem VALUE Operating system title --operatingsystem-id NUMBER Operating system ID --organization VALUE Set the current organization context for the request --organization-id NUMBER Set the current organization context for the request --organization-ids LIST REPLACE organizations with given ids. --organization-title VALUE Set the current organization context for the request --organization-titles LIST --organizations LIST --parent VALUE Name of parent hostgroup --parent-id NUMBER Parent ID of the host group --parent-title VALUE Title of parent hostgroup --partition-table VALUE Partition table name --partition-table-id NUMBER Partition table ID --puppet-ca-proxy-id NUMBER Puppet CA Capsule ID --puppet-proxy-id NUMBER Puppet Capsule ID --pxe-loader ENUM DHCP filename option (Grub2/PXELinux by default) Possible value(s): 'None', 'PXELinux BIOS', 'PXELinux UEFI', 'Grub UEFI', 'Grub2 BIOS', 'Grub2 ELF', 'Grub2 UEFI', 'Grub2 UEFI SecureBoot', 'Grub2 UEFI HTTP', 'Grub2 UEFI HTTPS', 'Grub2 UEFI HTTPS SecureBoot', 'iPXE Embedded', 'iPXE UEFI HTTP', 'iPXE Chain BIOS', 'iPXE Chain UEFI' --query-organization VALUE Organization name to search by --query-organization-id VALUE Organization ID to search by --query-organization-label VALUE Organization label to search by --realm VALUE Name to search by --realm-id NUMBER Realm ID --root-password VALUE Root password --subnet VALUE Subnet name --subnet-id NUMBER Subnet ID --subnet6 VALUE Subnet IPv6 name --subnet6-id NUMBER Subnet IPv6 ID --title VALUE Hostgroup title -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 Following parameters accept format defined by its schema (bold are required; <> contains acceptable type; [] contains acceptable value): --group-parameters-attributes "name=<string>\,value=<string>\,parameter_type=[string|boolean|integer|real|array|hash|yaml|json]\,hidden_value=[true|false|1|0], ... "
Usage:
hammer hostgroup update [OPTIONS]
Options:
--ansible-role-ids LIST IDs of associated ansible roles
--ansible-roles LIST
--architecture VALUE Architecture name
--architecture-id NUMBER Architecture ID
--ask-root-password BOOLEAN
--compute-profile VALUE Compute profile name
--compute-profile-id NUMBER Compute profile ID
--compute-resource VALUE Compute resource name
--compute-resource-id NUMBER Compute resource ID
--content-source VALUE Content Source name
--content-source-id NUMBER Content source ID
--content-view VALUE Name to search by
--content-view-id NUMBER Content view ID
--description VALUE Host group description
--domain VALUE Domain name
--domain-id NUMBER Domain ID
--group-parameters-attributes SCHEMA Array of parameters
--id VALUE
--kickstart-repository VALUE Kickstart repository name
--kickstart-repository-id NUMBER Kickstart repository ID
--lifecycle-environment VALUE Name to search by
--lifecycle-environment-id NUMBER Lifecycle environment ID
--location VALUE Set the current location context for the request
--location-id NUMBER Set the current location context for the request
--location-ids LIST REPLACE locations with given ids
--location-title VALUE Set the current location context for the request
--location-titles LIST
--locations LIST
--medium VALUE Medium name
--medium-id NUMBER Media ID
--name VALUE Name of the host group
--new-name VALUE Name of the host group
--openscap-proxy-id NUMBER ID of OpenSCAP Capsule
--operatingsystem VALUE Operating system title
--operatingsystem-id NUMBER Operating system ID
--organization VALUE Set the current organization context for the request
--organization-id NUMBER Set the current organization context for the request
--organization-ids LIST REPLACE organizations with given ids.
--organization-title VALUE Set the current organization context for the request
--organization-titles LIST
--organizations LIST
--parent VALUE Name of parent hostgroup
--parent-id NUMBER Parent ID of the host group
--parent-title VALUE Title of parent hostgroup
--partition-table VALUE Partition table name
--partition-table-id NUMBER Partition table ID
--puppet-ca-proxy-id NUMBER Puppet CA Capsule ID
--puppet-proxy-id NUMBER Puppet Capsule ID
--pxe-loader ENUM DHCP filename option (Grub2/PXELinux by default)
Possible value(s): 'None', 'PXELinux BIOS', 'PXELinux UEFI', 'Grub UEFI', 'Grub2
BIOS', 'Grub2 ELF', 'Grub2 UEFI', 'Grub2 UEFI SecureBoot', 'Grub2 UEFI HTTP',
'Grub2 UEFI HTTPS', 'Grub2 UEFI HTTPS SecureBoot', 'iPXE Embedded', 'iPXE UEFI
HTTP', 'iPXE Chain BIOS', 'iPXE Chain UEFI'
--query-organization VALUE Organization name to search by
--query-organization-id VALUE Organization ID to search by
--query-organization-label VALUE Organization label to search by
--realm VALUE Name to search by
--realm-id NUMBER Realm ID
--root-password VALUE Root password
--subnet VALUE Subnet name
--subnet-id NUMBER Subnet ID
--subnet6 VALUE Subnet IPv6 name
--subnet6-id NUMBER Subnet IPv6 ID
--title VALUE Hostgroup title
-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
Following parameters accept format defined by its schema (bold are required; <> contains acceptable type; [] contains acceptable value):
--group-parameters-attributes "name=<string>\,value=<string>\,parameter_type=[string|boolean|integer|real|array|hash|yaml|json]\,hidden_value=[true|false|1|0], ... "
3.39. hammer http-proxy Copy linkLink copied to clipboard!
Manipulate http proxies
Usage: hammer http-proxy [OPTIONS] SUBCOMMAND [ARG] ... Parameters: SUBCOMMAND Subcommand [ARG] ... Subcommand arguments Subcommands: create Create an HTTP Proxy delete, destroy Delete an HTTP Proxy info, show Show an HTTP Proxy list, index List of HTTP Proxies update Update an HTTP Proxy Options: -h, --help Print help
Usage:
hammer http-proxy [OPTIONS] SUBCOMMAND [ARG] ...
Parameters:
SUBCOMMAND Subcommand
[ARG] ... Subcommand arguments
Subcommands:
create Create an HTTP Proxy
delete, destroy Delete an HTTP Proxy
info, show Show an HTTP Proxy
list, index List of HTTP Proxies
update Update an HTTP Proxy
Options:
-h, --help Print help
3.39.1. hammer http-proxy create Copy linkLink copied to clipboard!
Create an HTTP Proxy
Usage: hammer http-proxy create [OPTIONS] Options: --location VALUE Set the current location context for the request --location-id NUMBER Set the current location context for the request --location-ids LIST REPLACE locations with given ids --location-title VALUE Set the current location context for the request --location-titles LIST --locations LIST --name VALUE The HTTP Proxy name --organization VALUE Set the current organization context for the request --organization-id NUMBER Set the current organization context for the request --organization-ids LIST REPLACE organizations with given ids. --organization-title VALUE Set the current organization context for the request --organization-titles LIST --organizations LIST --password VALUE Password used to authenticate with the HTTP Proxy --url VALUE URL of the HTTP Proxy --username VALUE Username used to authenticate with the HTTP Proxy -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
Usage:
hammer http-proxy create [OPTIONS]
Options:
--location VALUE Set the current location context for the request
--location-id NUMBER Set the current location context for the request
--location-ids LIST REPLACE locations with given ids
--location-title VALUE Set the current location context for the request
--location-titles LIST
--locations LIST
--name VALUE The HTTP Proxy name
--organization VALUE Set the current organization context for the request
--organization-id NUMBER Set the current organization context for the request
--organization-ids LIST REPLACE organizations with given ids.
--organization-title VALUE Set the current organization context for the request
--organization-titles LIST
--organizations LIST
--password VALUE Password used to authenticate with the HTTP Proxy
--url VALUE URL of the HTTP Proxy
--username VALUE Username used to authenticate with the HTTP Proxy
-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.39.2. hammer http-proxy delete Copy linkLink copied to clipboard!
Delete an HTTP Proxy
Usage: hammer http-proxy <delete|destroy> [OPTIONS] Options: --id VALUE --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 Name to search by --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 -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
Usage:
hammer http-proxy <delete|destroy> [OPTIONS]
Options:
--id VALUE
--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 Name to search by
--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
-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.39.3. hammer http-proxy info Copy linkLink copied to clipboard!
Show an HTTP Proxy
Usage: hammer http-proxy <info|show> [OPTIONS] Options: --fields LIST Show specified fields or predefined field sets only. (See below) --id VALUE Identifier of the HTTP Proxy --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 Name to search by --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 -h, --help Print help Predefined field sets: ---------------|-----|---------|----- FIELDS | ALL | DEFAULT | THIN ---------------|-----|---------|----- Id | x | x | x Name | x | x | x Username | x | x | Url | x | x | Locations/ | x | x | Organizations/ | 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
Usage:
hammer http-proxy <info|show> [OPTIONS]
Options:
--fields LIST Show specified fields or predefined field sets only. (See below)
--id VALUE Identifier of the HTTP Proxy
--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 Name to search by
--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
-h, --help Print help
Predefined field sets:
---------------|-----|---------|-----
FIELDS | ALL | DEFAULT | THIN
---------------|-----|---------|-----
Id | x | x | x
Name | x | x | x
Username | x | x |
Url | x | x |
Locations/ | x | x |
Organizations/ | 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.39.4. hammer http-proxy list Copy linkLink copied to clipboard!
List of HTTP Proxies
Usage: hammer http-proxy <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 Scope by locations --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 Scope by organizations --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 Name | 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: location string location_id integer name string organization string organization_id integer url string
Usage:
hammer http-proxy <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 Scope by locations
--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 Scope by organizations
--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
Name | 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:
location string
location_id integer
name string
organization string
organization_id integer
url string
3.39.5. hammer http-proxy update Copy linkLink copied to clipboard!
Update an HTTP Proxy
Usage: hammer http-proxy update [OPTIONS] Options: --id 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 REPLACE locations with given ids --location-title VALUE Set the current location context for the request --location-titles LIST --locations LIST --name VALUE The HTTP Proxy name --new-name VALUE The HTTP Proxy name --organization VALUE Set the current organization context for the request --organization-id NUMBER Set the current organization context for the request --organization-ids LIST REPLACE organizations with given ids. --organization-title VALUE Set the current organization context for the request --organization-titles LIST --organizations LIST --password VALUE Password used to authenticate with the HTTP Proxy --url VALUE URL of the HTTP Proxy --username VALUE Username used to authenticate with the HTTP Proxy -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
Usage:
hammer http-proxy update [OPTIONS]
Options:
--id 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 REPLACE locations with given ids
--location-title VALUE Set the current location context for the request
--location-titles LIST
--locations LIST
--name VALUE The HTTP Proxy name
--new-name VALUE The HTTP Proxy name
--organization VALUE Set the current organization context for the request
--organization-id NUMBER Set the current organization context for the request
--organization-ids LIST REPLACE organizations with given ids.
--organization-title VALUE Set the current organization context for the request
--organization-titles LIST
--organizations LIST
--password VALUE Password used to authenticate with the HTTP Proxy
--url VALUE URL of the HTTP Proxy
--username VALUE Username used to authenticate with the HTTP Proxy
-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.40. hammer import-templates Copy linkLink copied to clipboard!
Import templates from a git repo or a directory on the server
Usage: hammer import-templates [OPTIONS] Options: --associate ENUM Associate to OS's, Locations & Organizations. Options are: always, new or never. Possible value(s): 'always', 'new', 'never' --branch VALUE Branch in Git repo. --dirname VALUE The directory within Git repo containing the templates --filter VALUE Export templates with names matching this regex (case-insensitive; snippets are not filtered). --force BOOLEAN Update templates that are locked --location VALUE Set the current location context for the request --location-id NUMBER Set the current location context for the request --location-ids LIST REPLACE locations with given ids --location-title VALUE Set the current location context for the request --location-titles LIST --locations LIST --lock ENUM Lock imported templates Possible value(s): 'lock', 'keep_lock_new', 'keep', 'unlock', 'true', 'false', '0', '1' --negate BOOLEAN Negate the prefix (for purging). --organization VALUE Set the current organization context for the request --organization-id NUMBER Set the current organization context for the request --organization-ids LIST REPLACE organizations with given ids. --organization-title VALUE Set the current organization context for the request --organization-titles LIST --organizations LIST --prefix VALUE The string all imported templates should begin with. --repo VALUE Override the default repo from settings. --verbose BOOLEAN Show template diff in response -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
Usage:
hammer import-templates [OPTIONS]
Options:
--associate ENUM Associate to OS's, Locations & Organizations. Options are: always, new or never.
Possible value(s): 'always', 'new', 'never'
--branch VALUE Branch in Git repo.
--dirname VALUE The directory within Git repo containing the templates
--filter VALUE Export templates with names matching this regex (case-insensitive; snippets are
not filtered).
--force BOOLEAN Update templates that are locked
--location VALUE Set the current location context for the request
--location-id NUMBER Set the current location context for the request
--location-ids LIST REPLACE locations with given ids
--location-title VALUE Set the current location context for the request
--location-titles LIST
--locations LIST
--lock ENUM Lock imported templates
Possible value(s): 'lock', 'keep_lock_new', 'keep', 'unlock', 'true', 'false',
'0', '1'
--negate BOOLEAN Negate the prefix (for purging).
--organization VALUE Set the current organization context for the request
--organization-id NUMBER Set the current organization context for the request
--organization-ids LIST REPLACE organizations with given ids.
--organization-title VALUE Set the current organization context for the request
--organization-titles LIST
--organizations LIST
--prefix VALUE The string all imported templates should begin with.
--repo VALUE Override the default repo from settings.
--verbose BOOLEAN Show template diff in response
-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.41. hammer job-invocation Copy linkLink copied to clipboard!
Manage job invocations
Usage: hammer job-invocation [OPTIONS] SUBCOMMAND [ARG] ... Parameters: SUBCOMMAND Subcommand [ARG] ... Subcommand arguments Subcommands: cancel Cancel the job create Create a job invocation info, show Show job invocation list, index List job invocations output View the output for a host rerun Rerun the job Options: -h, --help Print help
Usage:
hammer job-invocation [OPTIONS] SUBCOMMAND [ARG] ...
Parameters:
SUBCOMMAND Subcommand
[ARG] ... Subcommand arguments
Subcommands:
cancel Cancel the job
create Create a job invocation
info, show Show job invocation
list, index List job invocations
output View the output for a host
rerun Rerun the job
Options:
-h, --help Print help
3.41.1. hammer job-invocation cancel Copy linkLink copied to clipboard!
Cancel the job
Usage: hammer job-invocation cancel [OPTIONS] Options: --force BOOLEAN --id VALUE --location-id NUMBER Set the current location context for the request --organization-id NUMBER 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
Usage:
hammer job-invocation cancel [OPTIONS]
Options:
--force BOOLEAN
--id VALUE
--location-id NUMBER Set the current location context for the request
--organization-id NUMBER 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.41.2. hammer job-invocation create Copy linkLink copied to clipboard!
Create a job invocation
Usage: hammer job-invocation create [OPTIONS] Options: --async Do not wait for the task --bookmark VALUE Name to search by --bookmark-id NUMBER --concurrency-level NUMBER Run at most N tasks at a time --cron-line VALUE Create a recurring execution Cron line format 'a b c d e', where: a. is minute (range: 0-59) b. is hour (range: 0-23) c. is day of month (range: 1-31) d. is month (range: 1-12) e. is day of week (range: 0-6) --description-format VALUE Override the description format from the template for this invocation only --dynamic Dynamic search queries are evaluated at run time --effective-user VALUE What user should be used to run the script (using sudo-like mechanisms). Defaults to a template parameter or global setting. --effective-user-password VALUE Set password for effective user (using sudo-like mechanisms) --end-time DATETIME Perform no more executions after this time, used with --cron-line --execution-timeout-interval NUMBER Override the timeout interval from the template for this invocation only --feature VALUE Remote execution feature label that should be triggered, job template assigned to this feature will be used --input-files KEY_VALUE_LIST Read input values from files Comma-separated list of key=file, where file is a path to a text file to be read --inputs KEY_VALUE_LIST Specify inputs from command line --job-template VALUE Name to search by --job-template-id VALUE The job template to use, parameter is required unless feature was specified --key-passphrase VALUE Set SSH key passphrase --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 --max-iteration NUMBER Repeat a maximum of N times --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 --password VALUE Set SSH password --purpose VALUE Designation of a special purpose --randomized-ordering BOOLEAN Execute the jobs on hosts in randomized order --search-query VALUE --start-at DATETIME Schedule the execution for a later time --start-before DATETIME Execution should be cancelled if it cannot be started before --start-at --tags VALUE A comma separated list of tags to use for Ansible run --tags-flag ENUM IncludeExclude tags for Ansible run Possible value(s): 'include', 'exclude' --time-span NUMBER Distribute tasks over N seconds -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
Usage:
hammer job-invocation create [OPTIONS]
Options:
--async Do not wait for the task
--bookmark VALUE Name to search by
--bookmark-id NUMBER
--concurrency-level NUMBER Run at most N tasks at a time
--cron-line VALUE Create a recurring execution
Cron line format 'a b c d e', where:
a. is minute (range: 0-59)
b. is hour (range: 0-23)
c. is day of month (range: 1-31)
d. is month (range: 1-12)
e. is day of week (range: 0-6)
--description-format VALUE Override the description format from the template for this invocation only
--dynamic Dynamic search queries are evaluated at run time
--effective-user VALUE What user should be used to run the script (using sudo-like mechanisms).
Defaults to a template parameter or global setting.
--effective-user-password VALUE Set password for effective user (using sudo-like mechanisms)
--end-time DATETIME Perform no more executions after this time, used with --cron-line
--execution-timeout-interval NUMBER Override the timeout interval from the template for this invocation only
--feature VALUE Remote execution feature label that should be triggered, job template assigned
to this feature will be used
--input-files KEY_VALUE_LIST Read input values from files
Comma-separated list of key=file, where file is a path to a text file to be read
--inputs KEY_VALUE_LIST Specify inputs from command line
--job-template VALUE Name to search by
--job-template-id VALUE The job template to use, parameter is required unless feature was specified
--key-passphrase VALUE Set SSH key passphrase
--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
--max-iteration NUMBER Repeat a maximum of N times
--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
--password VALUE Set SSH password
--purpose VALUE Designation of a special purpose
--randomized-ordering BOOLEAN Execute the jobs on hosts in randomized order
--search-query VALUE
--start-at DATETIME Schedule the execution for a later time
--start-before DATETIME Execution should be cancelled if it cannot be started before --start-at
--tags VALUE A comma separated list of tags to use for Ansible run
--tags-flag ENUM IncludeExclude tags for Ansible run
Possible value(s): 'include', 'exclude'
--time-span NUMBER Distribute tasks over N seconds
-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.41.3. hammer job-invocation info Copy linkLink copied to clipboard!
Show job invocation
Usage: hammer job-invocation <info|show> [OPTIONS] Options: --fields LIST Show specified fields or predefined field sets only. (See below) --id VALUE --location-id NUMBER Set the current location context for the request --organization-id NUMBER Set the current organization context for the request --show-host-status Show job status for the hosts --show-inputs Show the complete input of the job -h, --help Print help Predefined field sets: --------------------|-----|-------- FIELDS | ALL | DEFAULT --------------------|-----|-------- Id | x | x Description | x | x Status | x | x Success | x | x Failed | x | x Pending | x | x Missing | x | x Total | x | x Start | x | x Randomized ordering | x | x Inputs | x | x Job category | x | x Mode | x | x Cron line | x | x Recurring logic id | x | x Hosts | 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
Usage:
hammer job-invocation <info|show> [OPTIONS]
Options:
--fields LIST Show specified fields or predefined field sets only. (See below)
--id VALUE
--location-id NUMBER Set the current location context for the request
--organization-id NUMBER Set the current organization context for the request
--show-host-status Show job status for the hosts
--show-inputs Show the complete input of the job
-h, --help Print help
Predefined field sets:
--------------------|-----|--------
FIELDS | ALL | DEFAULT
--------------------|-----|--------
Id | x | x
Description | x | x
Status | x | x
Success | x | x
Failed | x | x
Pending | x | x
Missing | x | x
Total | x | x
Start | x | x
Randomized ordering | x | x
Inputs | x | x
Job category | x | x
Mode | x | x
Cron line | x | x
Recurring logic id | x | x
Hosts | 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.41.4. hammer job-invocation list Copy linkLink copied to clipboard!
List job invocations
Usage: hammer job-invocation <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 --------------------|-----|-------- Id | x | x Description | x | x Status | x | x Success | x | x Failed | x | x Pending | x | x Total | x | x Start | x | x Randomized ordering | x | x Inputs | 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
Usage:
hammer job-invocation <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
--------------------|-----|--------
Id | x | x
Description | x | x
Status | x | x
Success | x | x
Failed | x | x
Pending | x | x
Total | x | x
Start | x | x
Randomized ordering | x | x
Inputs | 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.41.5. hammer job-invocation output Copy linkLink copied to clipboard!
View the output for a host
Usage: hammer job-invocation output [OPTIONS] Options: --async Do not wait for job to complete, shows current output only --host VALUE Host name --host-id VALUE --id VALUE --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 Name to search by --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 -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
Usage:
hammer job-invocation output [OPTIONS]
Options:
--async Do not wait for job to complete, shows current output only
--host VALUE Host name
--host-id VALUE
--id VALUE
--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 Name to search by
--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
-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.41.6. hammer job-invocation rerun Copy linkLink copied to clipboard!
Rerun the job
Usage: hammer job-invocation rerun [OPTIONS] Options: --failed-only BOOLEAN --id VALUE --location-id NUMBER Set the current location context for the request --organization-id NUMBER 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
Usage:
hammer job-invocation rerun [OPTIONS]
Options:
--failed-only BOOLEAN
--id VALUE
--location-id NUMBER Set the current location context for the request
--organization-id NUMBER 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.42. hammer job-template Copy linkLink copied to clipboard!
Manage job templates
Usage: hammer job-template [OPTIONS] SUBCOMMAND [ARG] ... Parameters: SUBCOMMAND Subcommand [ARG] ... Subcommand arguments Subcommands: create Create a job template delete, destroy Delete a job template dump View job template content export Export a template including all metadata import Import a job template from ERB info, show Show job template details list, index List job templates update Update a job template Options: -h, --help Print help
Usage:
hammer job-template [OPTIONS] SUBCOMMAND [ARG] ...
Parameters:
SUBCOMMAND Subcommand
[ARG] ... Subcommand arguments
Subcommands:
create Create a job template
delete, destroy Delete a job template
dump View job template content
export Export a template including all metadata
import Import a job template from ERB
info, show Show job template details
list, index List job templates
update Update a job template
Options:
-h, --help Print help
3.42.1. hammer job-template create Copy linkLink copied to clipboard!
Create a job template
Usage: hammer job-template create [OPTIONS] Options: --audit-comment VALUE --current-user BOOLEAN Whether the current user login should be used as the effective user --description VALUE --description-format VALUE This template is used to generate the description. Input values can be used using the syntax %{package}. You may also include the job category and template name using %{job_category} and %{template_name}. --file FILE Path to a file that contains the template --job-category VALUE Job category --location VALUE Set the current location context for the request --location-id NUMBER Set the current location context for the request --location-ids LIST REPLACE locations with given ids --location-title VALUE Set the current location context for the request --location-titles LIST --locations LIST --locked BOOLEAN Whether or not the template is locked for editing --name VALUE Template name --organization VALUE Set the current organization context for the request --organization-id NUMBER Set the current organization context for the request --organization-ids LIST REPLACE organizations with given ids. --organization-title VALUE Set the current organization context for the request --organization-titles LIST --organizations LIST --overridable BOOLEAN Whether it should be allowed to override the effective user from the invocation form. --provider-type ENUM Provider type Possible value(s): 'SSH', 'Ansible' --snippet BOOLEAN --value VALUE What user should be used to run the script (using sudo-like mechanisms) -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
Usage:
hammer job-template create [OPTIONS]
Options:
--audit-comment VALUE
--current-user BOOLEAN Whether the current user login should be used as the effective user
--description VALUE
--description-format VALUE This template is used to generate the description. Input values can be used
using the syntax %{package}. You may also include the job category and template
name using %{job_category} and %{template_name}.
--file FILE Path to a file that contains the template
--job-category VALUE Job category
--location VALUE Set the current location context for the request
--location-id NUMBER Set the current location context for the request
--location-ids LIST REPLACE locations with given ids
--location-title VALUE Set the current location context for the request
--location-titles LIST
--locations LIST
--locked BOOLEAN Whether or not the template is locked for editing
--name VALUE Template name
--organization VALUE Set the current organization context for the request
--organization-id NUMBER Set the current organization context for the request
--organization-ids LIST REPLACE organizations with given ids.
--organization-title VALUE Set the current organization context for the request
--organization-titles LIST
--organizations LIST
--overridable BOOLEAN Whether it should be allowed to override the effective user from the invocation
form.
--provider-type ENUM Provider type
Possible value(s): 'SSH', 'Ansible'
--snippet BOOLEAN
--value VALUE What user should be used to run the script (using sudo-like mechanisms)
-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.42.2. hammer job-template delete Copy linkLink copied to clipboard!
Delete a job template
Usage: hammer job-template <delete|destroy> [OPTIONS] Options: --id VALUE --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 Name to search by --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 -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
Usage:
hammer job-template <delete|destroy> [OPTIONS]
Options:
--id VALUE
--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 Name to search by
--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
-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.42.3. hammer job-template dump Copy linkLink copied to clipboard!
View job template content
Usage: hammer job-template dump [OPTIONS] Options: --fields LIST Show specified fields or predefined field sets only. (See below) --id VALUE --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 Name to search by --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 -h, --help Print help Predefined field sets: ------ FIELDS ------ 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
Usage:
hammer job-template dump [OPTIONS]
Options:
--fields LIST Show specified fields or predefined field sets only. (See below)
--id VALUE
--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 Name to search by
--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
-h, --help Print help
Predefined field sets:
------
FIELDS
------
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.42.4. hammer job-template export Copy linkLink copied to clipboard!
Export a template including all metadata
Usage: hammer job-template export [OPTIONS] Options: --fields LIST Show specified fields or predefined field sets only. (See below) --id VALUE --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 Name to search by --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 -h, --help Print help Predefined field sets: ------ FIELDS ------ 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
Usage:
hammer job-template export [OPTIONS]
Options:
--fields LIST Show specified fields or predefined field sets only. (See below)
--id VALUE
--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 Name to search by
--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
-h, --help Print help
Predefined field sets:
------
FIELDS
------
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.42.5. hammer job-template import Copy linkLink copied to clipboard!
Import a job template from ERB
Usage: hammer job-template import [OPTIONS] Options: --file FILE Path to a file that contains the template - must include ERB metadata --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 --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 --overwrite BOOLEAN Overwrite template if it already exists -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
Usage:
hammer job-template import [OPTIONS]
Options:
--file FILE Path to a file that contains the template - must include ERB metadata
--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
--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
--overwrite BOOLEAN Overwrite template if it already exists
-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.42.6. hammer job-template info Copy linkLink copied to clipboard!
Show job template details
Usage: hammer job-template <info|show> [OPTIONS] Options: --fields LIST Show specified fields or predefined field sets only. (See below) --id VALUE --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 Name to search by --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 -h, --help Print help Predefined field sets: ---------------|-----|---------|----- FIELDS | ALL | DEFAULT | THIN ---------------|-----|---------|----- Id | x | x | x Name | x | x | x Job category | x | x | Provider | x | x | Type | x | x | Description | x | x | Inputs | x | x | Locations/ | x | x | Organizations/ | 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
Usage:
hammer job-template <info|show> [OPTIONS]
Options:
--fields LIST Show specified fields or predefined field sets only. (See below)
--id VALUE
--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 Name to search by
--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
-h, --help Print help
Predefined field sets:
---------------|-----|---------|-----
FIELDS | ALL | DEFAULT | THIN
---------------|-----|---------|-----
Id | x | x | x
Name | x | x | x
Job category | x | x |
Provider | x | x |
Type | x | x |
Description | x | x |
Inputs | x | x |
Locations/ | x | x |
Organizations/ | 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.42.7. hammer job-template list Copy linkLink copied to clipboard!
List job templates
Usage: hammer job-template <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 Scope by locations --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 Scope by organizations --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 Name | x | x | x Job category | x | x | Provider | x | x | Type | 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
Usage:
hammer job-template <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 Scope by locations
--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 Scope by organizations
--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
Name | x | x | x
Job category | x | x |
Provider | x | x |
Type | 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.42.8. hammer job-template update Copy linkLink copied to clipboard!
Update a job template
Usage: hammer job-template update [OPTIONS] Options: --audit-comment VALUE --current-user BOOLEAN Whether the current user login should be used as the effective user --description VALUE --description-format VALUE This template is used to generate the description. Input values can be used using the syntax %{package}. You may also include the job category and template name using %{job_category} and %{template_name}. --file FILE Path to a file that contains the template --id VALUE --job-category VALUE Job category --location VALUE Set the current location context for the request --location-id NUMBER Set the current location context for the request --location-ids LIST REPLACE locations with given ids --location-title VALUE Set the current location context for the request --location-titles LIST --locations LIST --locked BOOLEAN Whether or not the template is locked for editing --name VALUE Template name --new-name VALUE Template name --organization VALUE Set the current organization context for the request --organization-id NUMBER Set the current organization context for the request --organization-ids LIST REPLACE organizations with given ids. --organization-title VALUE Set the current organization context for the request --organization-titles LIST --organizations LIST --overridable BOOLEAN Whether it should be allowed to override the effective user from the invocation form. --provider-type ENUM Provider type Possible value(s): 'SSH', 'Ansible' --snippet BOOLEAN --value VALUE What user should be used to run the script (using sudo-like mechanisms) -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
Usage:
hammer job-template update [OPTIONS]
Options:
--audit-comment VALUE
--current-user BOOLEAN Whether the current user login should be used as the effective user
--description VALUE
--description-format VALUE This template is used to generate the description. Input values can be used
using the syntax %{package}. You may also include the job category and template
name using %{job_category} and %{template_name}.
--file FILE Path to a file that contains the template
--id VALUE
--job-category VALUE Job category
--location VALUE Set the current location context for the request
--location-id NUMBER Set the current location context for the request
--location-ids LIST REPLACE locations with given ids
--location-title VALUE Set the current location context for the request
--location-titles LIST
--locations LIST
--locked BOOLEAN Whether or not the template is locked for editing
--name VALUE Template name
--new-name VALUE Template name
--organization VALUE Set the current organization context for the request
--organization-id NUMBER Set the current organization context for the request
--organization-ids LIST REPLACE organizations with given ids.
--organization-title VALUE Set the current organization context for the request
--organization-titles LIST
--organizations LIST
--overridable BOOLEAN Whether it should be allowed to override the effective user from the invocation
form.
--provider-type ENUM Provider type
Possible value(s): 'SSH', 'Ansible'
--snippet BOOLEAN
--value VALUE What user should be used to run the script (using sudo-like mechanisms)
-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.43. hammer lifecycle-environment Copy linkLink copied to clipboard!
Manipulate lifecycle_environments on the server
Usage: hammer lifecycle-environment [OPTIONS] SUBCOMMAND [ARG] ... Parameters: SUBCOMMAND Subcommand [ARG] ... Subcommand arguments Subcommands: create Create an environment delete, destroy Destroy an environment info, show Show an environment list, index List environments in an organization paths List environment paths update Update an environment Options: -h, --help Print help
Usage:
hammer lifecycle-environment [OPTIONS] SUBCOMMAND [ARG] ...
Parameters:
SUBCOMMAND Subcommand
[ARG] ... Subcommand arguments
Subcommands:
create Create an environment
delete, destroy Destroy an environment
info, show Show an environment
list, index List environments in an organization
paths List environment paths
update Update an environment
Options:
-h, --help Print help
3.43.1. hammer lifecycle-environment create Copy linkLink copied to clipboard!
Create an environment
Usage: hammer lifecycle-environment create [OPTIONS] Options: --description VALUE Description of the environment --label VALUE Label of the environment --name VALUE Name of the environment --organization VALUE Organization name to search by --organization-id NUMBER Name of organization --organization-label VALUE Organization label to search by --organization-title VALUE Organization title --prior VALUE Name of the prior environment --prior-id NUMBER ID of an environment that is prior to the new environment in the chain. It has to be either the ID of Library or the ID of an environment at the end of a chain. --registry-name-pattern VALUE Pattern for container image names --registry-unauthenticated-pull BOOLEAN Allow unauthenticed pull of container images -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
Usage:
hammer lifecycle-environment create [OPTIONS]
Options:
--description VALUE Description of the environment
--label VALUE Label of the environment
--name VALUE Name of the environment
--organization VALUE Organization name to search by
--organization-id NUMBER Name of organization
--organization-label VALUE Organization label to search by
--organization-title VALUE Organization title
--prior VALUE Name of the prior environment
--prior-id NUMBER ID of an environment that is prior to the new environment in the chain. It has
to be either the ID of Library or the ID of an environment at the end of a
chain.
--registry-name-pattern VALUE Pattern for container image names
--registry-unauthenticated-pull BOOLEAN Allow unauthenticed pull of container images
-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.43.2. hammer lifecycle-environment delete Copy linkLink copied to clipboard!
Destroy an environment
Usage: hammer lifecycle-environment <delete|destroy> [OPTIONS] Options: --id NUMBER ID of the environment --name VALUE Lifecycle environment name to search by --organization VALUE Organization name to search by --organization-id NUMBER Organization identifier --organization-label VALUE Organization label to search by --organization-title VALUE Organization title -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
Usage:
hammer lifecycle-environment <delete|destroy> [OPTIONS]
Options:
--id NUMBER ID of the environment
--name VALUE Lifecycle environment name to search by
--organization VALUE Organization name to search by
--organization-id NUMBER Organization identifier
--organization-label VALUE Organization label to search by
--organization-title VALUE Organization title
-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.43.3. hammer lifecycle-environment info Copy linkLink copied to clipboard!
Show an environment
Usage: hammer lifecycle-environment <info|show> [OPTIONS] Options: --fields LIST Show specified fields or predefined field sets only. (See below) --id NUMBER ID of the environment --name VALUE Lifecycle environment name to search by --organization VALUE Organization name to search by --organization-id NUMBER ID of the organization --organization-label VALUE Organization label to search by --organization-title VALUE Organization title -h, --help Print help Predefined field sets: ----------------------------|-----|---------|----- FIELDS | ALL | DEFAULT | THIN ----------------------------|-----|---------|----- Id | x | x | x Name | x | x | x Label | x | x | Description | x | x | Organization | x | x | Library | x | x | Prior lifecycle environment | x | x | Unauthenticated pull | x | x | Registry name pattern | 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
Usage:
hammer lifecycle-environment <info|show> [OPTIONS]
Options:
--fields LIST Show specified fields or predefined field sets only. (See below)
--id NUMBER ID of the environment
--name VALUE Lifecycle environment name to search by
--organization VALUE Organization name to search by
--organization-id NUMBER ID of the organization
--organization-label VALUE Organization label to search by
--organization-title VALUE Organization title
-h, --help Print help
Predefined field sets:
----------------------------|-----|---------|-----
FIELDS | ALL | DEFAULT | THIN
----------------------------|-----|---------|-----
Id | x | x | x
Name | x | x | x
Label | x | x |
Description | x | x |
Organization | x | x |
Library | x | x |
Prior lifecycle environment | x | x |
Unauthenticated pull | x | x |
Registry name pattern | 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.43.4. hammer lifecycle-environment list Copy linkLink copied to clipboard!
List environments in an organization
Usage: hammer lifecycle-environment <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 --label VALUE Filter only environments containing this label --library ENUM Set true if you want to see only library environments Possible value(s): 'true', 'false' --name VALUE Filter only environments containing this name --order VALUE Sort field and order, eg. 'id DESC' --organization VALUE Organization name to search by --organization-id NUMBER Organization identifier --organization-label VALUE Organization label to search by --organization-title VALUE Organization title --page NUMBER Page number, starting at 1 --per-page NUMBER Number of results per page to return --search VALUE Search string -h, --help Print help Predefined field sets: -------|-----|---------|----- FIELDS | ALL | DEFAULT | THIN -------|-----|---------|----- Id | x | x | x Name | x | x | x Prior | 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: id integer label string name string organization_id integer
Usage:
hammer lifecycle-environment <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
--label VALUE Filter only environments containing this label
--library ENUM Set true if you want to see only library environments
Possible value(s): 'true', 'false'
--name VALUE Filter only environments containing this name
--order VALUE Sort field and order, eg. 'id DESC'
--organization VALUE Organization name to search by
--organization-id NUMBER Organization identifier
--organization-label VALUE Organization label to search by
--organization-title VALUE Organization title
--page NUMBER Page number, starting at 1
--per-page NUMBER Number of results per page to return
--search VALUE Search string
-h, --help Print help
Predefined field sets:
-------|-----|---------|-----
FIELDS | ALL | DEFAULT | THIN
-------|-----|---------|-----
Id | x | x | x
Name | x | x | x
Prior | 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:
id integer
label string
name string
organization_id integer
3.43.5. hammer lifecycle-environment paths Copy linkLink copied to clipboard!
List environment paths
Usage: hammer lifecycle-environment paths [OPTIONS] Options: --fields LIST Show specified fields or predefined field sets only. (See below) --organization VALUE Organization name to search by --organization-id NUMBER Organization identifier --organization-label VALUE Organization label to search by --organization-title VALUE Organization title --permission-type VALUE The associated permission type. One of (readable | promotable) Default: readable -h, --help Print help Predefined field sets: ---------------|-----|-------- FIELDS | ALL | DEFAULT ---------------|-----|-------- Lifecycle path | 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
Usage:
hammer lifecycle-environment paths [OPTIONS]
Options:
--fields LIST Show specified fields or predefined field sets only. (See below)
--organization VALUE Organization name to search by
--organization-id NUMBER Organization identifier
--organization-label VALUE Organization label to search by
--organization-title VALUE Organization title
--permission-type VALUE The associated permission type. One of (readable | promotable) Default: readable
-h, --help Print help
Predefined field sets:
---------------|-----|--------
FIELDS | ALL | DEFAULT
---------------|-----|--------
Lifecycle path | 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.43.6. hammer lifecycle-environment update Copy linkLink copied to clipboard!
Update an environment
Usage: hammer lifecycle-environment update [OPTIONS] Options: --async BOOLEAN Do not wait for the update action to finish. Default: true --description VALUE Description of the environment --id NUMBER ID of the environment --name VALUE Lifecycle environment name to search by --new-name VALUE New name to be given to the environment --organization VALUE Organization name to search by --organization-id NUMBER Name of the organization --organization-label VALUE Organization label to search by --organization-title VALUE Organization title --registry-name-pattern VALUE Pattern for container image names --registry-unauthenticated-pull BOOLEAN Allow unauthenticed pull of container images -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
Usage:
hammer lifecycle-environment update [OPTIONS]
Options:
--async BOOLEAN Do not wait for the update action to finish. Default: true
--description VALUE Description of the environment
--id NUMBER ID of the environment
--name VALUE Lifecycle environment name to search by
--new-name VALUE New name to be given to the environment
--organization VALUE Organization name to search by
--organization-id NUMBER Name of the organization
--organization-label VALUE Organization label to search by
--organization-title VALUE Organization title
--registry-name-pattern VALUE Pattern for container image names
--registry-unauthenticated-pull BOOLEAN Allow unauthenticed pull of container images
-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.44. hammer location Copy linkLink copied to clipboard!
Manipulate locations
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
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
3.44.1. hammer location add-compute-resource Copy linkLink copied to clipboard!
Associate a 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
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
3.44.2. hammer location add-domain Copy linkLink copied to clipboard!
Associate a domain
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
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
3.44.3. hammer location add-hostgroup Copy linkLink copied to clipboard!
Associate a 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
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
3.44.4. hammer location add-medium Copy linkLink copied to clipboard!
Associate a medium
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
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
3.44.5. hammer location add-organization Copy linkLink copied to clipboard!
Associate an organization
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
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
3.44.6. hammer location add-provisioning-template Copy linkLink copied to clipboard!
Associate provisioning templates
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
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
3.44.7. hammer location add-smart-proxy Copy linkLink copied to clipboard!
Associate a 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
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
3.44.8. hammer location add-subnet Copy linkLink copied to clipboard!
Associate a subnet
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
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
3.44.9. hammer location add-user Copy linkLink copied to clipboard!
Associate an user
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
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
3.44.10. hammer location create Copy linkLink copied to clipboard!
Create a location
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
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
3.44.11. hammer location delete Copy linkLink copied to clipboard!
Delete a location
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
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
3.44.12. hammer location delete-parameter Copy linkLink copied to clipboard!
Delete parameter for a location
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
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
3.44.13. hammer location info Copy linkLink copied to clipboard!
Show a location
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
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
3.44.14. hammer location list Copy linkLink copied to clipboard!
List all locations
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
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
3.44.15. hammer location remove-compute-resource Copy linkLink copied to clipboard!
Disassociate a 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
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
3.44.16. hammer location remove-domain Copy linkLink copied to clipboard!
Disassociate a 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
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
3.44.17. hammer location remove-hostgroup Copy linkLink copied to clipboard!
Disassociate a 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
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
3.44.18. hammer location remove-medium Copy linkLink copied to clipboard!
Disassociate a medium
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
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
3.44.19. hammer location remove-organization Copy linkLink copied to clipboard!
Disassociate an 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
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
3.44.20. hammer location remove-provisioning-template Copy linkLink copied to clipboard!
Disassociate provisioning templates
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
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
3.44.21. hammer location remove-smart-proxy Copy linkLink copied to clipboard!
Disassociate a 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
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
3.44.22. hammer location remove-subnet Copy linkLink copied to clipboard!
Disassociate a subnet
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
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
3.44.23. hammer location remove-user Copy linkLink copied to clipboard!
Disassociate an 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
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
3.44.24. hammer location set-parameter Copy linkLink copied to clipboard!
Create or update parameter for a location
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
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
3.44.25. hammer location update Copy linkLink copied to clipboard!
Update a location
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
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
3.45. hammer mail-notification Copy linkLink copied to clipboard!
Manage mail notifications
Usage: hammer mail-notification [OPTIONS] SUBCOMMAND [ARG] ... Parameters: SUBCOMMAND Subcommand [ARG] ... Subcommand arguments Subcommands: info, show Show an email notification list, index List of email notifications Options: -h, --help Print help
Usage:
hammer mail-notification [OPTIONS] SUBCOMMAND [ARG] ...
Parameters:
SUBCOMMAND Subcommand
[ARG] ... Subcommand arguments
Subcommands:
info, show Show an email notification
list, index List of email notifications
Options:
-h, --help Print help
3.45.1. hammer mail-notification info Copy linkLink copied to clipboard!
Show an email notification
Usage: hammer mail-notification <info|show> [OPTIONS] Options: --fields LIST Show specified fields or predefined field sets only. (See below) --id VALUE Numerical ID or email notification name --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 Name to search by --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 -h, --help Print help Predefined field sets: ------------------|-----|---------|----- FIELDS | ALL | DEFAULT | THIN ------------------|-----|---------|----- Id | x | x | x Name | x | x | x Description | x | x | Subscription type | 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
Usage:
hammer mail-notification <info|show> [OPTIONS]
Options:
--fields LIST Show specified fields or predefined field sets only. (See below)
--id VALUE Numerical ID or email notification name
--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 Name to search by
--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
-h, --help Print help
Predefined field sets:
------------------|-----|---------|-----
FIELDS | ALL | DEFAULT | THIN
------------------|-----|---------|-----
Id | x | x | x
Name | x | x | x
Description | x | x |
Subscription type | 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.45.2. hammer mail-notification list Copy linkLink copied to clipboard!
List of email notifications
Usage: hammer mail-notification <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 Name | 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 name string user string
Usage:
hammer mail-notification <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
Name | 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
name string
user string
3.46. hammer medium Copy linkLink copied to clipboard!
Manipulate installation media
Usage: hammer medium [OPTIONS] SUBCOMMAND [ARG] ... Parameters: SUBCOMMAND Subcommand [ARG] ... Subcommand arguments Subcommands: add-operatingsystem Associate an operating system create Create a medium delete, destroy Delete a medium info, show Show a medium list, index List all installation media remove-operatingsystem Disassociate an operating system update Update a medium Options: -h, --help Print help
Usage:
hammer medium [OPTIONS] SUBCOMMAND [ARG] ...
Parameters:
SUBCOMMAND Subcommand
[ARG] ... Subcommand arguments
Subcommands:
add-operatingsystem Associate an operating system
create Create a medium
delete, destroy Delete a medium
info, show Show a medium
list, index List all installation media
remove-operatingsystem Disassociate an operating system
update Update a medium
Options:
-h, --help Print help
3.46.1. hammer medium add-operatingsystem Copy linkLink copied to clipboard!
Associate an operating system
Usage: hammer medium add-operatingsystem [OPTIONS] Options: --id VALUE --name VALUE Medium name --operatingsystem VALUE Operating system title --operatingsystem-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
Usage:
hammer medium add-operatingsystem [OPTIONS]
Options:
--id VALUE
--name VALUE Medium name
--operatingsystem VALUE Operating system title
--operatingsystem-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.46.2. hammer medium create Copy linkLink copied to clipboard!
Create a medium
Usage: hammer medium create [OPTIONS] Options: --location VALUE Set the current location context for the request --location-id NUMBER Set the current location context for the request --location-ids LIST REPLACE locations with given ids --location-title VALUE Set the current location context for the request --location-titles LIST --locations LIST --name VALUE Name of media --operatingsystem-ids LIST --operatingsystems LIST --organization VALUE Set the current organization context for the request --organization-id NUMBER Set the current organization context for the request --organization-ids LIST REPLACE organizations with given ids. --organization-title VALUE Set the current organization context for the request --organization-titles LIST --organizations LIST --os-family VALUE Operating system family, available values: AIX, Altlinux, Archlinux, Coreos, Debian, Fcos, Freebsd, Gentoo, Junos, NXOS, Rancheros, Redhat, Rhcos, Solaris, Suse, VRP, Windows, Xenserver --path VALUE The path to the medium, can be a URL or a valid NFS server (exclusive of the architecture). For example mirror.centos.org/centos/$version/os/$arch where $arch will be substituted for the host's actual OS architecture and $version, $major and $minor will be substituted for the version of the operating system. Solaris and Debian media may also use $release. -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
Usage:
hammer medium create [OPTIONS]
Options:
--location VALUE Set the current location context for the request
--location-id NUMBER Set the current location context for the request
--location-ids LIST REPLACE locations with given ids
--location-title VALUE Set the current location context for the request
--location-titles LIST
--locations LIST
--name VALUE Name of media
--operatingsystem-ids LIST
--operatingsystems LIST
--organization VALUE Set the current organization context for the request
--organization-id NUMBER Set the current organization context for the request
--organization-ids LIST REPLACE organizations with given ids.
--organization-title VALUE Set the current organization context for the request
--organization-titles LIST
--organizations LIST
--os-family VALUE Operating system family, available values: AIX, Altlinux, Archlinux, Coreos,
Debian, Fcos, Freebsd, Gentoo, Junos, NXOS, Rancheros, Redhat, Rhcos, Solaris,
Suse, VRP, Windows, Xenserver
--path VALUE The path to the medium, can be a URL or a valid NFS server (exclusive of the
architecture).
For example mirror.centos.org/centos/$version/os/$arch where $arch will be
substituted for the host's actual OS architecture and $version, $major and
$minor will be substituted for the version of the operating system.
Solaris and Debian media may also use $release.
-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.46.3. hammer medium delete Copy linkLink copied to clipboard!
Delete a medium
Usage: hammer medium <delete|destroy> [OPTIONS] Options: --id VALUE --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 Medium name --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 -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
Usage:
hammer medium <delete|destroy> [OPTIONS]
Options:
--id VALUE
--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 Medium name
--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
-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.46.4. hammer medium info Copy linkLink copied to clipboard!
Show a medium
Usage: hammer medium <info|show> [OPTIONS] Options: --fields LIST Show specified fields or predefined field sets only. (See below) --id VALUE --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 Medium name --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 -h, --help Print help Predefined field sets: -------------------|-----|---------|----- FIELDS | ALL | DEFAULT | THIN -------------------|-----|---------|----- Id | x | x | x Name | x | x | x Path | x | x | Os family | x | x | Operating systems/ | x | x | Locations/ | 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
Usage:
hammer medium <info|show> [OPTIONS]
Options:
--fields LIST Show specified fields or predefined field sets only. (See below)
--id VALUE
--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 Medium name
--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
-h, --help Print help
Predefined field sets:
-------------------|-----|---------|-----
FIELDS | ALL | DEFAULT | THIN
-------------------|-----|---------|-----
Id | x | x | x
Name | x | x | x
Path | x | x |
Os family | x | x |
Operating systems/ | x | x |
Locations/ | 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
3.46.5. hammer medium list Copy linkLink copied to clipboard!
List all installation media
Usage: hammer medium <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 Scope by locations --location-title VALUE Set the current location context for the request --operatingsystem VALUE Operating system title --operatingsystem-id NUMBER ID of operating system --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 Scope by organizations --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 Name | x | x | x Path | 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: family string location string location_id integer name string organization string organization_id integer path string
Usage:
hammer medium <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 Scope by locations
--location-title VALUE Set the current location context for the request
--operatingsystem VALUE Operating system title
--operatingsystem-id NUMBER ID of operating system
--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 Scope by organizations
--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
Name | x | x | x
Path | 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:
family string
location string
location_id integer
name string
organization string
organization_id integer
path string
3.46.6. hammer medium remove-operatingsystem Copy linkLink copied to clipboard!
Disassociate an operating system
Usage: hammer medium remove-operatingsystem [OPTIONS] Options: --id VALUE --name VALUE Medium name --operatingsystem VALUE Operating system title --operatingsystem-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
Usage:
hammer medium remove-operatingsystem [OPTIONS]
Options:
--id VALUE
--name VALUE Medium name
--operatingsystem VALUE Operating system title
--operatingsystem-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.46.7. hammer medium update Copy linkLink copied to clipboard!
Update a medium
Usage: hammer medium update [OPTIONS] Options: --id 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 REPLACE locations with given ids --location-title VALUE Set the current location context for the request --location-titles LIST --locations LIST --name VALUE Name of media --new-name VALUE Name of media --operatingsystem-ids LIST --operatingsystems LIST --organization VALUE Set the current organization context for the request --organization-id NUMBER Set the current organization context for the request --organization-ids LIST REPLACE organizations with given ids. --organization-title VALUE Set the current organization context for the request --organization-titles LIST --organizations LIST --os-family VALUE Operating system family, available values: AIX, Altlinux, Archlinux, Coreos, Debian, Fcos, Freebsd, Gentoo, Junos, NXOS, Rancheros, Redhat, Rhcos, Solaris, Suse, VRP, Windows, Xenserver --path VALUE The path to the medium, can be a URL or a valid NFS server (exclusive of the architecture). For example mirror.centos.org/centos/$version/os/$arch where $arch will be substituted for the host's actual OS architecture and $version, $major and $minor will be substituted for the version of the operating system. Solaris and Debian media may also use $release. -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
Usage:
hammer medium update [OPTIONS]
Options:
--id 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 REPLACE locations with given ids
--location-title VALUE Set the current location context for the request
--location-titles LIST
--locations LIST
--name VALUE Name of media
--new-name VALUE Name of media
--operatingsystem-ids LIST
--operatingsystems LIST
--organization VALUE Set the current organization context for the request
--organization-id NUMBER Set the current organization context for the request
--organization-ids LIST REPLACE organizations with given ids.
--organization-title VALUE Set the current organization context for the request
--organization-titles LIST
--organizations LIST
--os-family VALUE Operating system family, available values: AIX, Altlinux, Archlinux, Coreos,
Debian, Fcos, Freebsd, Gentoo, Junos, NXOS, Rancheros, Redhat, Rhcos, Solaris,
Suse, VRP, Windows, Xenserver
--path VALUE The path to the medium, can be a URL or a valid NFS server (exclusive of the
architecture).
For example mirror.centos.org/centos/$version/os/$arch where $arch will be
substituted for the host's actual OS architecture and $version, $major and
$minor will be substituted for the version of the operating system.
Solaris and Debian media may also use $release.
-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.47. hammer model Copy linkLink copied to clipboard!
Manipulate hardware models
Usage: hammer model [OPTIONS] SUBCOMMAND [ARG] ... Parameters: SUBCOMMAND Subcommand [ARG] ... Subcommand arguments Subcommands: create Create a hardware model delete, destroy Delete a hardware model info, show Show a hardware model list, index List all hardware models update Update a hardware model Options: -h, --help Print help
Usage:
hammer model [OPTIONS] SUBCOMMAND [ARG] ...
Parameters:
SUBCOMMAND Subcommand
[ARG] ... Subcommand arguments
Subcommands:
create Create a hardware model
delete, destroy Delete a hardware model
info, show Show a hardware model
list, index List all hardware models
update Update a hardware model
Options:
-h, --help Print help
3.47.1. hammer model create Copy linkLink copied to clipboard!
Create a hardware model
Usage: hammer model create [OPTIONS] Options: --hardware-model VALUE --info VALUE --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 --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 --vendor-class 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
Usage:
hammer model create [OPTIONS]
Options:
--hardware-model VALUE
--info VALUE
--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
--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
--vendor-class 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.47.2. hammer model delete Copy linkLink copied to clipboard!
Delete a hardware model
Usage: hammer model <delete|destroy> [OPTIONS] Options: --id VALUE --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 Model name --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 -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
Usage:
hammer model <delete|destroy> [OPTIONS]
Options:
--id VALUE
--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 Model name
--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
-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.47.3. hammer model info Copy linkLink copied to clipboard!
Show a hardware model
Usage: hammer model <info|show> [OPTIONS] Options: --fields LIST Show specified fields or predefined field sets only. (See below) --id VALUE --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 Model name --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 -h, --help Print help Predefined field sets: -------------|-----|---------|----- FIELDS | ALL | DEFAULT | THIN -------------|-----|---------|----- Id | x | x | x Name | x | x | x Vendor class | x | x | Hw model | x | x | Info | 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
Usage:
hammer model <info|show> [OPTIONS]
Options:
--fields LIST Show specified fields or predefined field sets only. (See below)
--id VALUE
--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 Model name
--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
-h, --help Print help
Predefined field sets:
-------------|-----|---------|-----
FIELDS | ALL | DEFAULT | THIN
-------------|-----|---------|-----
Id | x | x | x
Name | x | x | x
Vendor class | x | x |
Hw model | x | x |
Info | 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
3.47.4. hammer model list Copy linkLink copied to clipboard!
List all hardware models
Usage: hammer model <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 Name | x | x | x Vendor class | x | x | Hw model | 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: hardware_model string info text name string vendor_class string
Usage:
hammer model <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
Name | x | x | x
Vendor class | x | x |
Hw model | 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:
hardware_model string
info text
name string
vendor_class string
3.47.5. hammer model update Copy linkLink copied to clipboard!
Update a hardware model
Usage: hammer model update [OPTIONS] Options: --hardware-model VALUE --id VALUE --info VALUE --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 --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-title VALUE Set the current organization context for the request --vendor-class 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
Usage:
hammer model update [OPTIONS]
Options:
--hardware-model VALUE
--id VALUE
--info VALUE
--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
--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-title VALUE Set the current organization context for the request
--vendor-class 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.48. hammer module-stream Copy linkLink copied to clipboard!
View Module Streams
Usage: hammer module-stream [OPTIONS] SUBCOMMAND [ARG] ... Parameters: SUBCOMMAND Subcommand [ARG] ... Subcommand arguments Subcommands: info, show Show a module stream list, index List module streams Options: -h, --help Print help
Usage:
hammer module-stream [OPTIONS] SUBCOMMAND [ARG] ...
Parameters:
SUBCOMMAND Subcommand
[ARG] ... Subcommand arguments
Subcommands:
info, show Show a module stream
list, index List module streams
Options:
-h, --help Print help
3.48.1. hammer module-stream info Copy linkLink copied to clipboard!
Show a module stream
Usage: hammer module-stream <info|show> [OPTIONS] Options: --fields LIST Show specified fields or predefined field sets only. (See below) --id VALUE A module stream identifier --name VALUE Module stream name to search by --organization VALUE Organization name to search by --organization-id NUMBER Organization identifier --organization-label VALUE Organization label to search by --organization-title VALUE Organization title --product VALUE Product name to search by --product-id NUMBER Product numeric identifier --repository VALUE Repository name to search by --repository-id NUMBER Repository identifier -h, --help Print help Predefined field sets: -------------------|-----|---------|----- FIELDS | ALL | DEFAULT | THIN -------------------|-----|---------|----- Id | x | x | Module stream name | x | x | x Stream | x | x | Uuid | x | x | Version | x | x | Architecture | x | x | Context | x | x | Repositories/id | x | x | Repositories/name | x | x | Repositories/label | x | x | Artifacts/id | x | x | Artifacts/name | x | x | Profiles/id | x | x | Profiles/name | x | x | Profiles/rpms/id | x | x | Profiles/rpms/name | 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
Usage:
hammer module-stream <info|show> [OPTIONS]
Options:
--fields LIST Show specified fields or predefined field sets only. (See below)
--id VALUE A module stream identifier
--name VALUE Module stream name to search by
--organization VALUE Organization name to search by
--organization-id NUMBER Organization identifier
--organization-label VALUE Organization label to search by
--organization-title VALUE Organization title
--product VALUE Product name to search by
--product-id NUMBER Product numeric identifier
--repository VALUE Repository name to search by
--repository-id NUMBER Repository identifier
-h, --help Print help
Predefined field sets:
-------------------|-----|---------|-----
FIELDS | ALL | DEFAULT | THIN
-------------------|-----|---------|-----
Id | x | x |
Module stream name | x | x | x
Stream | x | x |
Uuid | x | x |
Version | x | x |
Architecture | x | x |
Context | x | x |
Repositories/id | x | x |
Repositories/name | x | x |
Repositories/label | x | x |
Artifacts/id | x | x |
Artifacts/name | x | x |
Profiles/id | x | x |
Profiles/name | x | x |
Profiles/rpms/id | x | x |
Profiles/rpms/name | 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.48.2. hammer module-stream list Copy linkLink copied to clipboard!
List module streams
Usage: hammer module-stream <list|index> [OPTIONS] Options: --content-view-filter VALUE Name to search by --content-view-filter-id NUMBER Content view filter identifier --content-view-filter-rule VALUE Name to search by --content-view-filter-rule-id NUMBER Content view filter rule identifier --content-view-version VALUE Content view version number --content-view-version-id NUMBER Content view version identifier --fields LIST Show specified fields or predefined field sets only. (See below) --full-result BOOLEAN Whether or not to show all results --host-ids LIST List of host id to list available module streams for --hosts LIST --ids LIST Ids to filter content by --include-filter-ids BOOLEAN Includes associated content view filter ids in response --lifecycle-environment-id NUMBER Environment identifier --name-stream-only BOOLEAN Return name and stream information only) --order VALUE Sort field and order, eg. 'id DESC' --organization VALUE Organization name to search by --organization-id NUMBER Organization identifier --organization-label VALUE Organization label to search by --organization-title VALUE Organization title --page NUMBER Page number, starting at 1 --per-page NUMBER Number of results per page to return --product VALUE Product name to search by --product-id NUMBER Product numeric identifier --repository VALUE Repository name to search by --repository-id NUMBER Repository identifier --search VALUE Search string -h, --help Print help Predefined field sets: -------------------|-----|---------|----- FIELDS | ALL | DEFAULT | THIN -------------------|-----|---------|----- Id | x | x | Module stream name | x | x | x Stream | x | x | Uuid | x | x | Version | x | x | Architecture | x | x | Context | 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
Usage:
hammer module-stream <list|index> [OPTIONS]
Options:
--content-view-filter VALUE Name to search by
--content-view-filter-id NUMBER Content view filter identifier
--content-view-filter-rule VALUE Name to search by
--content-view-filter-rule-id NUMBER Content view filter rule identifier
--content-view-version VALUE Content view version number
--content-view-version-id NUMBER Content view version identifier
--fields LIST Show specified fields or predefined field sets only. (See below)
--full-result BOOLEAN Whether or not to show all results
--host-ids LIST List of host id to list available module streams for
--hosts LIST
--ids LIST Ids to filter content by
--include-filter-ids BOOLEAN Includes associated content view filter ids in response
--lifecycle-environment-id NUMBER Environment identifier
--name-stream-only BOOLEAN Return name and stream information only)
--order VALUE Sort field and order, eg. 'id DESC'
--organization VALUE Organization name to search by
--organization-id NUMBER Organization identifier
--organization-label VALUE Organization label to search by
--organization-title VALUE Organization title
--page NUMBER Page number, starting at 1
--per-page NUMBER Number of results per page to return
--product VALUE Product name to search by
--product-id NUMBER Product numeric identifier
--repository VALUE Repository name to search by
--repository-id NUMBER Repository identifier
--search VALUE Search string
-h, --help Print help
Predefined field sets:
-------------------|-----|---------|-----
FIELDS | ALL | DEFAULT | THIN
-------------------|-----|---------|-----
Id | x | x |
Module stream name | x | x | x
Stream | x | x |
Uuid | x | x |
Version | x | x |
Architecture | x | x |
Context | 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. hammer organization Copy linkLink copied to clipboard!
Manipulate organizations
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
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 organization add-compute-resource Copy linkLink copied to clipboard!
Associate a 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
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 Copy linkLink copied to clipboard!
Associate a 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
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 Copy linkLink copied to clipboard!
Associate a 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
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 Copy linkLink copied to clipboard!
Associate a 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
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 Copy linkLink copied to clipboard!
Associate a 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
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 Copy linkLink copied to clipboard!
Associate provisioning templates
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
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 Copy linkLink copied to clipboard!
Associate a 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
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 Copy linkLink copied to clipboard!
Associate a 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
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 Copy linkLink copied to clipboard!
Associate an 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
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 organization configure-cdn Copy linkLink copied to clipboard!
Update the CDN configuration
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
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 organization create Copy linkLink copied to clipboard!
Create organization
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
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 organization delete Copy linkLink copied to clipboard!
Delete an organization
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
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 Copy linkLink copied to clipboard!
Delete parameter for an organization
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
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 organization info Copy linkLink copied to clipboard!
Show organization
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
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 organization list Copy linkLink copied to clipboard!
List all organizations
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
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 Copy linkLink copied to clipboard!
Disassociate a 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
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 Copy linkLink copied to clipboard!
Disassociate a 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
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 Copy linkLink copied to clipboard!
Disassociate a 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
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 Copy linkLink copied to clipboard!
Disassociate a 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
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 Copy linkLink copied to clipboard!
Disassociate a 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
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 Copy linkLink copied to clipboard!
Disassociate provisioning templates
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
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 Copy linkLink copied to clipboard!
Disassociate a 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
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 Copy linkLink copied to clipboard!
Disassociate a 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
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 Copy linkLink copied to clipboard!
Disassociate an 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
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 Copy linkLink copied to clipboard!
Create or update parameter for an organization
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
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 organization update Copy linkLink copied to clipboard!
Update organization
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
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
3.50. hammer os Copy linkLink copied to clipboard!
Manipulate operating system
Usage: hammer os [OPTIONS] SUBCOMMAND [ARG] ... Parameters: SUBCOMMAND Subcommand [ARG] ... Subcommand arguments Subcommands: add-architecture Associate an architecture add-provisioning-template Associate provisioning templates add-ptable Associate a partition table create Create an operating system delete, destroy Delete an operating system delete-default-template delete-parameter Delete parameter for an operating system info, show Show an operating system list, index List all operating systems remove-architecture Disassociate an architecture remove-provisioning-template Disassociate provisioning templates remove-ptable Disassociate a partition table set-default-template set-parameter Create or update parameter for an operating system update Update an operating system Options: -h, --help Print help
Usage:
hammer os [OPTIONS] SUBCOMMAND [ARG] ...
Parameters:
SUBCOMMAND Subcommand
[ARG] ... Subcommand arguments
Subcommands:
add-architecture Associate an architecture
add-provisioning-template Associate provisioning templates
add-ptable Associate a partition table
create Create an operating system
delete, destroy Delete an operating system
delete-default-template
delete-parameter Delete parameter for an operating system
info, show Show an operating system
list, index List all operating systems
remove-architecture Disassociate an architecture
remove-provisioning-template Disassociate provisioning templates
remove-ptable Disassociate a partition table
set-default-template
set-parameter Create or update parameter for an operating system
update Update an operating system
Options:
-h, --help Print help
3.50.1. hammer os add-architecture Copy linkLink copied to clipboard!
Associate an architecture
Usage: hammer os add-architecture [OPTIONS] Options: --architecture VALUE Architecture name --architecture-id NUMBER --id VALUE --title VALUE Operating system title -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
Usage:
hammer os add-architecture [OPTIONS]
Options:
--architecture VALUE Architecture name
--architecture-id NUMBER
--id VALUE
--title VALUE Operating system title
-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.50.2. hammer os add-provisioning-template Copy linkLink copied to clipboard!
Associate provisioning templates
Usage: hammer os add-provisioning-template [OPTIONS] Options: --id VALUE --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 Operating system title -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
Usage:
hammer os add-provisioning-template [OPTIONS]
Options:
--id VALUE
--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 Operating system title
-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.50.3. hammer os add-ptable Copy linkLink copied to clipboard!
Associate a partition table
Usage: hammer os add-ptable [OPTIONS] Options: --id VALUE --partition-table VALUE Partition table name --partition-table-id NUMBER --title VALUE Operating system title -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
Usage:
hammer os add-ptable [OPTIONS]
Options:
--id VALUE
--partition-table VALUE Partition table name
--partition-table-id NUMBER
--title VALUE Operating system title
-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.50.4. hammer os create Copy linkLink copied to clipboard!
Create an operating system
Usage: hammer os create [OPTIONS] Options: --architecture-ids LIST IDs of associated architectures --architectures LIST --description VALUE --family VALUE --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 --major VALUE --media LIST --medium-ids LIST IDs of associated media --minor VALUE --name VALUE --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 --os-parameters-attributes SCHEMA Array of parameters --partition-table-ids LIST IDs of associated partition tables --partition-tables LIST --password-hash ENUM Root password hash function to use Possible value(s): 'SHA256', 'SHA512', 'Base64', 'Base64-Windows', 'MD5' --provisioning-template-ids LIST IDs of associated provisioning templates --provisioning-templates LIST --release-name 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 Following parameters accept format defined by its schema (bold are required; <> contains acceptable type; [] contains acceptable value): --os-parameters-attributes "name=<string>\,value=<string>, ... "
Usage:
hammer os create [OPTIONS]
Options:
--architecture-ids LIST IDs of associated architectures
--architectures LIST
--description VALUE
--family VALUE
--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
--major VALUE
--media LIST
--medium-ids LIST IDs of associated media
--minor VALUE
--name VALUE
--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
--os-parameters-attributes SCHEMA Array of parameters
--partition-table-ids LIST IDs of associated partition tables
--partition-tables LIST
--password-hash ENUM Root password hash function to use
Possible value(s): 'SHA256', 'SHA512', 'Base64', 'Base64-Windows', 'MD5'
--provisioning-template-ids LIST IDs of associated provisioning templates
--provisioning-templates LIST
--release-name 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
Following parameters accept format defined by its schema (bold are required; <> contains acceptable type; [] contains acceptable value):
--os-parameters-attributes "name=<string>\,value=<string>, ... "
3.50.5. hammer os delete Copy linkLink copied to clipboard!
Delete an operating system
Usage: hammer os <delete|destroy> [OPTIONS] Options: --id VALUE --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 --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 Operating system title -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
Usage:
hammer os <delete|destroy> [OPTIONS]
Options:
--id VALUE
--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
--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 Operating system title
-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.50.6. hammer os delete-default-template Copy linkLink copied to clipboard!
Usage: hammer os delete-default-template [OPTIONS] Options: --id VALUE Operatingsystem id --type VALUE Type of the provisioning template -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
Usage:
hammer os delete-default-template [OPTIONS]
Options:
--id VALUE Operatingsystem id
--type VALUE Type of the provisioning template
-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.50.7. hammer os delete-parameter Copy linkLink copied to clipboard!
Delete parameter for an operating system
Usage: hammer os delete-parameter [OPTIONS] Options: --name VALUE Parameter name --operatingsystem VALUE Operating system title --operatingsystem-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
Usage:
hammer os delete-parameter [OPTIONS]
Options:
--name VALUE Parameter name
--operatingsystem VALUE Operating system title
--operatingsystem-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.50.8. hammer os info Copy linkLink copied to clipboard!
Show an operating system
Usage: hammer os <info|show> [OPTIONS] Options: --fields LIST Show specified fields or predefined field sets only. (See below) --id VALUE --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 --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 Operating system title -h, --help Print help Predefined field sets: --------------------|-----|---------|----- FIELDS | ALL | DEFAULT | THIN --------------------|-----|---------|----- Id | x | x | x Title | x | x | x Release name | x | x | Family | x | x | Name | x | x | Major version | x | x | Minor version | x | x | Partition tables/ | x | x | Default templates/ | x | x | Architectures/ | x | x | Installation media/ | x | x | Templates/ | x | x | Parameters/ | 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
Usage:
hammer os <info|show> [OPTIONS]
Options:
--fields LIST Show specified fields or predefined field sets only. (See below)
--id VALUE
--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
--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 Operating system title
-h, --help Print help
Predefined field sets:
--------------------|-----|---------|-----
FIELDS | ALL | DEFAULT | THIN
--------------------|-----|---------|-----
Id | x | x | x
Title | x | x | x
Release name | x | x |
Family | x | x |
Name | x | x |
Major version | x | x |
Minor version | x | x |
Partition tables/ | x | x |
Default templates/ | x | x |
Architectures/ | x | x |
Installation media/ | x | x |
Templates/ | x | x |
Parameters/ | 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.50.9. hammer os list Copy linkLink copied to clipboard!
List all operating systems
Usage: hammer os <list|index> [OPTIONS] Options: --architecture VALUE Architecture name --architecture-id VALUE ID of architecture --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 --medium VALUE Medium name --medium-id VALUE ID of medium --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 --os-parameters-attributes SCHEMA Array of parameters --page NUMBER Page number, starting at 1 --partition-table VALUE Partition table name --partition-table-id VALUE ID of partition table --per-page VALUE Number of results per page to return, 'all' to return all results --provisioning-template VALUE Name to search by --provisioning-template-id VALUE ID of template --search VALUE Filter results -h, --help Print help Predefined field sets: -------------|-----|---------|----- FIELDS | ALL | DEFAULT | THIN -------------|-----|---------|----- Id | x | x | x Title | x | x | x Release name | x | x | Family | 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 Following parameters accept format defined by its schema (bold are required; <> contains acceptable type; [] contains acceptable value): --os-parameters-attributes "name=<string>\,value=<string>, ... " Search / Order fields: architecture string description string family string major string medium string minor string name string params string template string title string
Usage:
hammer os <list|index> [OPTIONS]
Options:
--architecture VALUE Architecture name
--architecture-id VALUE ID of architecture
--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
--medium VALUE Medium name
--medium-id VALUE ID of medium
--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
--os-parameters-attributes SCHEMA Array of parameters
--page NUMBER Page number, starting at 1
--partition-table VALUE Partition table name
--partition-table-id VALUE ID of partition table
--per-page VALUE Number of results per page to return, 'all' to return all results
--provisioning-template VALUE Name to search by
--provisioning-template-id VALUE ID of template
--search VALUE Filter results
-h, --help Print help
Predefined field sets:
-------------|-----|---------|-----
FIELDS | ALL | DEFAULT | THIN
-------------|-----|---------|-----
Id | x | x | x
Title | x | x | x
Release name | x | x |
Family | 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
Following parameters accept format defined by its schema (bold are required; <> contains acceptable type; [] contains acceptable value):
--os-parameters-attributes "name=<string>\,value=<string>, ... "
Search / Order fields:
architecture string
description string
family string
major string
medium string
minor string
name string
params string
template string
title string
3.50.10. hammer os remove-architecture Copy linkLink copied to clipboard!
Disassociate an architecture
Usage: hammer os remove-architecture [OPTIONS] Options: --architecture VALUE Architecture name --architecture-id NUMBER --id VALUE --title VALUE Operating system title -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
Usage:
hammer os remove-architecture [OPTIONS]
Options:
--architecture VALUE Architecture name
--architecture-id NUMBER
--id VALUE
--title VALUE Operating system title
-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.50.11. hammer os remove-provisioning-template Copy linkLink copied to clipboard!
Disassociate provisioning templates
Usage: hammer os remove-provisioning-template [OPTIONS] Options: --id VALUE --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 Operating system title -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
Usage:
hammer os remove-provisioning-template [OPTIONS]
Options:
--id VALUE
--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 Operating system title
-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.50.12. hammer os remove-ptable Copy linkLink copied to clipboard!
Disassociate a partition table
Usage: hammer os remove-ptable [OPTIONS] Options: --id VALUE --partition-table VALUE Partition table name --partition-table-id NUMBER --title VALUE Operating system title -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
Usage:
hammer os remove-ptable [OPTIONS]
Options:
--id VALUE
--partition-table VALUE Partition table name
--partition-table-id NUMBER
--title VALUE Operating system title
-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.50.13. hammer os set-default-template Copy linkLink copied to clipboard!
Usage: hammer os set-default-template [OPTIONS] Options: --id VALUE Operatingsystem id --provisioning-template-id VALUE Provisioning template id to be set -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
Usage:
hammer os set-default-template [OPTIONS]
Options:
--id VALUE Operatingsystem id
--provisioning-template-id VALUE Provisioning template id to be set
-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.50.14. hammer os set-parameter Copy linkLink copied to clipboard!
Create or update parameter for an operating system
Usage: hammer os set-parameter [OPTIONS] Options: --hidden-value BOOLEAN Should the value be hidden --name VALUE Parameter name --operatingsystem VALUE Operating system title --operatingsystem-id NUMBER --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
Usage:
hammer os set-parameter [OPTIONS]
Options:
--hidden-value BOOLEAN Should the value be hidden
--name VALUE Parameter name
--operatingsystem VALUE Operating system title
--operatingsystem-id NUMBER
--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.50.15. hammer os update Copy linkLink copied to clipboard!
Update an operating system
Usage: hammer os update [OPTIONS] Options: --architecture-ids LIST IDs of associated architectures --architectures LIST --description VALUE --family VALUE --id VALUE --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 --major VALUE --media LIST --medium-ids LIST IDs of associated media --minor VALUE --name VALUE --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 --os-parameters-attributes SCHEMA Array of parameters --partition-table-ids LIST IDs of associated partition tables --partition-tables LIST --password-hash ENUM Root password hash function to use Possible value(s): 'SHA256', 'SHA512', 'Base64', 'Base64-Windows', 'MD5' --provisioning-template-ids LIST IDs of associated provisioning templates --provisioning-templates LIST --release-name VALUE --title VALUE Operating system title -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 Following parameters accept format defined by its schema (bold are required; <> contains acceptable type; [] contains acceptable value): --os-parameters-attributes "name=<string>\,value=<string>, ... "
Usage:
hammer os update [OPTIONS]
Options:
--architecture-ids LIST IDs of associated architectures
--architectures LIST
--description VALUE
--family VALUE
--id VALUE
--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
--major VALUE
--media LIST
--medium-ids LIST IDs of associated media
--minor VALUE
--name VALUE
--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
--os-parameters-attributes SCHEMA Array of parameters
--partition-table-ids LIST IDs of associated partition tables
--partition-tables LIST
--password-hash ENUM Root password hash function to use
Possible value(s): 'SHA256', 'SHA512', 'Base64', 'Base64-Windows', 'MD5'
--provisioning-template-ids LIST IDs of associated provisioning templates
--provisioning-templates LIST
--release-name VALUE
--title VALUE Operating system title
-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
Following parameters accept format defined by its schema (bold are required; <> contains acceptable type; [] contains acceptable value):
--os-parameters-attributes "name=<string>\,value=<string>, ... "
3.51. hammer package Copy linkLink copied to clipboard!
Manipulate packages
Usage: hammer package [OPTIONS] SUBCOMMAND [ARG] ... Parameters: SUBCOMMAND Subcommand [ARG] ... Subcommand arguments Subcommands: info, show Show a package list, index List packages Options: -h, --help Print help
Usage:
hammer package [OPTIONS] SUBCOMMAND [ARG] ...
Parameters:
SUBCOMMAND Subcommand
[ARG] ... Subcommand arguments
Subcommands:
info, show Show a package
list, index List packages
Options:
-h, --help Print help
3.51.1. hammer package info Copy linkLink copied to clipboard!
Show a package
Usage: hammer package <info|show> [OPTIONS] Options: --fields LIST Show specified fields or predefined field sets only. (See below) --id VALUE A package identifier --name VALUE Name to search by --organization VALUE Organization name to search by --organization-id NUMBER Organization identifier --organization-label VALUE Organization label to search by --organization-title VALUE Organization title --repository VALUE Repository name to search by --repository-id NUMBER Repository identifier -h, --help Print help Predefined field sets: ----------------------|-----|---------|----- FIELDS | ALL | DEFAULT | THIN ----------------------|-----|---------|----- Id | x | x | x Pulp id | x | x | Uuid | x | x | Name | x | x | x Version | x | x | Architecture | x | x | Epoch | x | x | Release | x | x | Author | x | x | Filename | x | x | Source rpm | x | x | Nvrea | x | x | Build host | x | x | Available host count | x | x | Applicable host count | x | x | Children | x | x | Vendor | x | x | License | x | x | Relative path | x | x | Description | x | x | Summary | x | x | Url | x | x | Build time | x | x | Group | x | x | Requires | x | x | Provides | x | x | Files | x | x | Size | x | x | Modular | 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
Usage:
hammer package <info|show> [OPTIONS]
Options:
--fields LIST Show specified fields or predefined field sets only. (See below)
--id VALUE A package identifier
--name VALUE Name to search by
--organization VALUE Organization name to search by
--organization-id NUMBER Organization identifier
--organization-label VALUE Organization label to search by
--organization-title VALUE Organization title
--repository VALUE Repository name to search by
--repository-id NUMBER Repository identifier
-h, --help Print help
Predefined field sets:
----------------------|-----|---------|-----
FIELDS | ALL | DEFAULT | THIN
----------------------|-----|---------|-----
Id | x | x | x
Pulp id | x | x |
Uuid | x | x |
Name | x | x | x
Version | x | x |
Architecture | x | x |
Epoch | x | x |
Release | x | x |
Author | x | x |
Filename | x | x |
Source rpm | x | x |
Nvrea | x | x |
Build host | x | x |
Available host count | x | x |
Applicable host count | x | x |
Children | x | x |
Vendor | x | x |
License | x | x |
Relative path | x | x |
Description | x | x |
Summary | x | x |
Url | x | x |
Build time | x | x |
Group | x | x |
Requires | x | x |
Provides | x | x |
Files | x | x |
Size | x | x |
Modular | 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.51.2. hammer package list Copy linkLink copied to clipboard!
List packages
Usage: hammer package <list|index> [OPTIONS] Options: --available-for VALUE Return packages that can be added to the specified object. Only the value 'content_view_version' is supported. --content-view VALUE Content view name to search by --content-view-filter VALUE Name to search by --content-view-filter-id NUMBER Content View Filter identifier --content-view-id NUMBER Content view numeric identifier --content-view-version VALUE Content view version number --content-view-version-id NUMBER Content View Version identifier --environment VALUE Lifecycle environment name to search by (--environment is deprecated: Use --lifecycle-environment instead) --environment-id NUMBER (--environment-id is deprecated: Use --lifecycle-environment-id instead) --fields LIST Show specified fields or predefined field sets only. (See below) --full-result BOOLEAN Whether or not to show all results --host VALUE Host name --host-id NUMBER Host id to list applicable packages for --ids LIST Package identifiers to filter content by --lifecycle-environment VALUE Lifecycle environment name to search by --lifecycle-environment-id NUMBER Environment identifier --order VALUE Sort field and order, eg. 'id DESC' --organization VALUE Organization name to search by --organization-id NUMBER Organization identifier --organization-label VALUE Organization label to search by --organization-title VALUE Organization title --packages-restrict-applicable BOOLEAN Return packages that are applicable to one or more hosts (defaults to true if host_id is specified) --packages-restrict-latest BOOLEAN Return only the latest version of each package --packages-restrict-upgradable BOOLEAN Return packages that are upgradable on one or more hosts --page NUMBER Page number, starting at 1 --per-page NUMBER Number of results per page to return --product VALUE Product name to search by --product-id NUMBER Product numeric identifier --repository VALUE Repository name to search by --repository-id NUMBER Repository identifier --search VALUE Search string -h, --help Print help Predefined field sets: -----------|-----|-------- FIELDS | ALL | DEFAULT -----------|-----|-------- Id | x | x Filename | x | x Source rpm | 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
Usage:
hammer package <list|index> [OPTIONS]
Options:
--available-for VALUE Return packages that can be added to the specified object. Only the value
'content_view_version' is supported.
--content-view VALUE Content view name to search by
--content-view-filter VALUE Name to search by
--content-view-filter-id NUMBER Content View Filter identifier
--content-view-id NUMBER Content view numeric identifier
--content-view-version VALUE Content view version number
--content-view-version-id NUMBER Content View Version identifier
--environment VALUE Lifecycle environment name to search by (--environment is deprecated: Use
--lifecycle-environment instead)
--environment-id NUMBER (--environment-id is deprecated: Use --lifecycle-environment-id instead)
--fields LIST Show specified fields or predefined field sets only. (See below)
--full-result BOOLEAN Whether or not to show all results
--host VALUE Host name
--host-id NUMBER Host id to list applicable packages for
--ids LIST Package identifiers to filter content by
--lifecycle-environment VALUE Lifecycle environment name to search by
--lifecycle-environment-id NUMBER Environment identifier
--order VALUE Sort field and order, eg. 'id DESC'
--organization VALUE Organization name to search by
--organization-id NUMBER Organization identifier
--organization-label VALUE Organization label to search by
--organization-title VALUE Organization title
--packages-restrict-applicable BOOLEAN Return packages that are applicable to one or more hosts (defaults to true if
host_id is specified)
--packages-restrict-latest BOOLEAN Return only the latest version of each package
--packages-restrict-upgradable BOOLEAN Return packages that are upgradable on one or more hosts
--page NUMBER Page number, starting at 1
--per-page NUMBER Number of results per page to return
--product VALUE Product name to search by
--product-id NUMBER Product numeric identifier
--repository VALUE Repository name to search by
--repository-id NUMBER Repository identifier
--search VALUE Search string
-h, --help Print help
Predefined field sets:
-----------|-----|--------
FIELDS | ALL | DEFAULT
-----------|-----|--------
Id | x | x
Filename | x | x
Source rpm | 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.52. hammer package-group Copy linkLink copied to clipboard!
Manipulate package groups
Usage: hammer package-group [OPTIONS] SUBCOMMAND [ARG] ... Parameters: SUBCOMMAND Subcommand [ARG] ... Subcommand arguments Subcommands: info, show Show a package group list, index List package_groups Options: -h, --help Print help
Usage:
hammer package-group [OPTIONS] SUBCOMMAND [ARG] ...
Parameters:
SUBCOMMAND Subcommand
[ARG] ... Subcommand arguments
Subcommands:
info, show Show a package group
list, index List package_groups
Options:
-h, --help Print help
3.52.1. hammer package-group info Copy linkLink copied to clipboard!
Show a package group
Usage: hammer package-group <info|show> [OPTIONS] Options: --fields LIST Show specified fields or predefined field sets only. (See below) --id VALUE A package group identifier --name VALUE Name to search by --organization VALUE Organization name to search by --organization-id NUMBER Organization identifier --organization-label VALUE Organization label to search by --organization-title VALUE Organization title --repository VALUE Repository name to search by --repository-id NUMBER Repository identifier -h, --help Print help Predefined field sets: ---------------------|-----|---------|----- FIELDS | ALL | DEFAULT | THIN ---------------------|-----|---------|----- Id | x | x | x Package group name | x | x | x Repository name | x | x | Uuid | x | x | Description | x | x | Default packages | x | x | Mandatory packages | x | x | Conditional packages | x | x | Optional packages | 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
Usage:
hammer package-group <info|show> [OPTIONS]
Options:
--fields LIST Show specified fields or predefined field sets only. (See below)
--id VALUE A package group identifier
--name VALUE Name to search by
--organization VALUE Organization name to search by
--organization-id NUMBER Organization identifier
--organization-label VALUE Organization label to search by
--organization-title VALUE Organization title
--repository VALUE Repository name to search by
--repository-id NUMBER Repository identifier
-h, --help Print help
Predefined field sets:
---------------------|-----|---------|-----
FIELDS | ALL | DEFAULT | THIN
---------------------|-----|---------|-----
Id | x | x | x
Package group name | x | x | x
Repository name | x | x |
Uuid | x | x |
Description | x | x |
Default packages | x | x |
Mandatory packages | x | x |
Conditional packages | x | x |
Optional packages | 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.52.2. hammer package-group list Copy linkLink copied to clipboard!
List package_groups
Usage: hammer package-group <list|index> [OPTIONS] Options: --content-view VALUE Content view name to search by --content-view-filter VALUE Name to search by --content-view-filter-id NUMBER Content view filter identifier --content-view-filter-rule VALUE Name to search by --content-view-filter-rule-id NUMBER Content view filter rule identifier --content-view-id NUMBER Content view numeric identifier --content-view-version VALUE Content view version number --content-view-version-id NUMBER Content view version identifier --fields LIST Show specified fields or predefined field sets only. (See below) --full-result BOOLEAN Whether or not to show all results --ids LIST Ids to filter content by --include-filter-ids BOOLEAN Includes associated content view filter ids in response --lifecycle-environment-id NUMBER Environment identifier --order VALUE Sort field and order, eg. 'id DESC' --organization VALUE Organization name to search by --organization-id NUMBER Organization identifier --organization-label VALUE Organization label to search by --organization-title VALUE Organization title --page NUMBER Page number, starting at 1 --per-page NUMBER Number of results per page to return --product VALUE Product name to search by --product-id NUMBER Product numeric identifier --repository VALUE Repository name to search by --repository-id NUMBER Repository identifier --search VALUE Search string -h, --help Print help Predefined field sets: -------------------|-----|---------|----- FIELDS | ALL | DEFAULT | THIN -------------------|-----|---------|----- Id | x | x | x Package group name | x | x | x Repository name | x | x | Uuid | 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
Usage:
hammer package-group <list|index> [OPTIONS]
Options:
--content-view VALUE Content view name to search by
--content-view-filter VALUE Name to search by
--content-view-filter-id NUMBER Content view filter identifier
--content-view-filter-rule VALUE Name to search by
--content-view-filter-rule-id NUMBER Content view filter rule identifier
--content-view-id NUMBER Content view numeric identifier
--content-view-version VALUE Content view version number
--content-view-version-id NUMBER Content view version identifier
--fields LIST Show specified fields or predefined field sets only. (See below)
--full-result BOOLEAN Whether or not to show all results
--ids LIST Ids to filter content by
--include-filter-ids BOOLEAN Includes associated content view filter ids in response
--lifecycle-environment-id NUMBER Environment identifier
--order VALUE Sort field and order, eg. 'id DESC'
--organization VALUE Organization name to search by
--organization-id NUMBER Organization identifier
--organization-label VALUE Organization label to search by
--organization-title VALUE Organization title
--page NUMBER Page number, starting at 1
--per-page NUMBER Number of results per page to return
--product VALUE Product name to search by
--product-id NUMBER Product numeric identifier
--repository VALUE Repository name to search by
--repository-id NUMBER Repository identifier
--search VALUE Search string
-h, --help Print help
Predefined field sets:
-------------------|-----|---------|-----
FIELDS | ALL | DEFAULT | THIN
-------------------|-----|---------|-----
Id | x | x | x
Package group name | x | x | x
Repository name | x | x |
Uuid | 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.53. hammer partition-table Copy linkLink copied to clipboard!
Manipulate partition tables
Usage: hammer partition-table [OPTIONS] SUBCOMMAND [ARG] ... Parameters: SUBCOMMAND Subcommand [ARG] ... Subcommand arguments Subcommands: add-operatingsystem Associate an operating system create Create a partition table delete, destroy Delete a partition table dump View partition table content info, show Show a partition table list, index List all partition tables remove-operatingsystem Disassociate an operating system update Update a partition table Options: -h, --help Print help
Usage:
hammer partition-table [OPTIONS] SUBCOMMAND [ARG] ...
Parameters:
SUBCOMMAND Subcommand
[ARG] ... Subcommand arguments
Subcommands:
add-operatingsystem Associate an operating system
create Create a partition table
delete, destroy Delete a partition table
dump View partition table content
info, show Show a partition table
list, index List all partition tables
remove-operatingsystem Disassociate an operating system
update Update a partition table
Options:
-h, --help Print help
3.53.1. hammer partition-table add-operatingsystem Copy linkLink copied to clipboard!
Associate an operating system
Usage: hammer partition-table add-operatingsystem [OPTIONS] Options: --id VALUE --name VALUE Partition table name --operatingsystem VALUE Operating system title --operatingsystem-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
Usage:
hammer partition-table add-operatingsystem [OPTIONS]
Options:
--id VALUE
--name VALUE Partition table name
--operatingsystem VALUE Operating system title
--operatingsystem-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.53.2. hammer partition-table create Copy linkLink copied to clipboard!
Create a partition table
Usage: hammer partition-table create [OPTIONS] Options: --audit-comment VALUE --description VALUE --file FILE Path to a file that contains the partition layout --host-ids LIST Array of host IDs to associate with the partition table --hostgroup-ids LIST Array of host group IDs to associate with the partition table --hostgroup-titles LIST --hostgroups LIST --hosts LIST --location VALUE Set the current location context for the request --location-id NUMBER Set the current location context for the request --location-ids LIST REPLACE locations with given ids --location-title VALUE Set the current location context for the request --location-titles LIST --locations LIST --locked BOOLEAN Whether or not the template is locked for editing --name VALUE --operatingsystem-ids LIST Array of operating system IDs to associate with the partition table --operatingsystems LIST --organization VALUE Set the current organization context for the request --organization-id NUMBER Set the current organization context for the request --organization-ids LIST REPLACE organizations with given ids. --organization-title VALUE Set the current organization context for the request --organization-titles LIST --organizations LIST --os-family VALUE --snippet BOOLEAN -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
Usage:
hammer partition-table create [OPTIONS]
Options:
--audit-comment VALUE
--description VALUE
--file FILE Path to a file that contains the partition layout
--host-ids LIST Array of host IDs to associate with the partition table
--hostgroup-ids LIST Array of host group IDs to associate with the partition table
--hostgroup-titles LIST
--hostgroups LIST
--hosts LIST
--location VALUE Set the current location context for the request
--location-id NUMBER Set the current location context for the request
--location-ids LIST REPLACE locations with given ids
--location-title VALUE Set the current location context for the request
--location-titles LIST
--locations LIST
--locked BOOLEAN Whether or not the template is locked for editing
--name VALUE
--operatingsystem-ids LIST Array of operating system IDs to associate with the partition table
--operatingsystems LIST
--organization VALUE Set the current organization context for the request
--organization-id NUMBER Set the current organization context for the request
--organization-ids LIST REPLACE organizations with given ids.
--organization-title VALUE Set the current organization context for the request
--organization-titles LIST
--organizations LIST
--os-family VALUE
--snippet BOOLEAN
-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.53.3. hammer partition-table delete Copy linkLink copied to clipboard!
Delete a partition table
Usage: hammer partition-table <delete|destroy> [OPTIONS] Options: --id VALUE --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 Partition table name --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 -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
Usage:
hammer partition-table <delete|destroy> [OPTIONS]
Options:
--id VALUE
--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 Partition table name
--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
-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.53.4. hammer partition-table dump Copy linkLink copied to clipboard!
View partition table content
Usage: hammer partition-table dump [OPTIONS] Options: --fields LIST Show specified fields or predefined field sets only. (See below) --id VALUE --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 Partition table name --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 -h, --help Print help Predefined field sets: ------ FIELDS ------ 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
Usage:
hammer partition-table dump [OPTIONS]
Options:
--fields LIST Show specified fields or predefined field sets only. (See below)
--id VALUE
--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 Partition table name
--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
-h, --help Print help
Predefined field sets:
------
FIELDS
------
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.53.5. hammer partition-table info Copy linkLink copied to clipboard!
Show a partition table
Usage: hammer partition-table <info|show> [OPTIONS] Options: --fields LIST Show specified fields or predefined field sets only. (See below) --id VALUE --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 Partition table name --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 -h, --help Print help Predefined field sets: -------------------|-----|---------|----- FIELDS | ALL | DEFAULT | THIN -------------------|-----|---------|----- Id | x | x | x Name | x | x | x Os family | x | x | Description | x | x | Locked | x | x | Operating systems/ | x | x | Created at | x | x | Updated at | x | x | Locations/ | x | x | Organizations/ | 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
Usage:
hammer partition-table <info|show> [OPTIONS]
Options:
--fields LIST Show specified fields or predefined field sets only. (See below)
--id VALUE
--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 Partition table name
--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
-h, --help Print help
Predefined field sets:
-------------------|-----|---------|-----
FIELDS | ALL | DEFAULT | THIN
-------------------|-----|---------|-----
Id | x | x | x
Name | x | x | x
Os family | x | x |
Description | x | x |
Locked | x | x |
Operating systems/ | x | x |
Created at | x | x |
Updated at | x | x |
Locations/ | x | x |
Organizations/ | 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.53.6. hammer partition-table list Copy linkLink copied to clipboard!
List all partition tables
Usage: hammer partition-table <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 Scope by locations --location-title VALUE Set the current location context for the request --operatingsystem VALUE Operating system title --operatingsystem-id NUMBER ID of operating system --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 Scope by organizations --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 Name | x | x | x Os family | 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: default Values: true, false family string layout text location string location_id integer locked Values: true, false name string organization string organization_id integer snippet Values: true, false template text vendor string
Usage:
hammer partition-table <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 Scope by locations
--location-title VALUE Set the current location context for the request
--operatingsystem VALUE Operating system title
--operatingsystem-id NUMBER ID of operating system
--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 Scope by organizations
--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
Name | x | x | x
Os family | 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:
default Values: true, false
family string
layout text
location string
location_id integer
locked Values: true, false
name string
organization string
organization_id integer
snippet Values: true, false
template text
vendor string
3.53.7. hammer partition-table remove-operatingsystem Copy linkLink copied to clipboard!
Disassociate an operating system
Usage: hammer partition-table remove-operatingsystem [OPTIONS] Options: --id VALUE --name VALUE Partition table name --operatingsystem VALUE Operating system title --operatingsystem-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
Usage:
hammer partition-table remove-operatingsystem [OPTIONS]
Options:
--id VALUE
--name VALUE Partition table name
--operatingsystem VALUE Operating system title
--operatingsystem-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.53.8. hammer partition-table update Copy linkLink copied to clipboard!
Update a partition table
Usage: hammer partition-table update [OPTIONS] Options: --audit-comment VALUE --description VALUE --file FILE Path to a file that contains the partition layout --host-ids LIST Array of host IDs to associate with the partition table --hostgroup-ids LIST Array of host group IDs to associate with the partition table --hostgroup-titles LIST --hostgroups LIST --hosts LIST --id 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 REPLACE locations with given ids --location-title VALUE Set the current location context for the request --location-titles LIST --locations LIST --locked BOOLEAN Whether or not the template is locked for editing --name VALUE --new-name VALUE --operatingsystem-ids LIST Array of operating system IDs to associate with the partition table --operatingsystems LIST --organization VALUE Set the current organization context for the request --organization-id NUMBER Set the current organization context for the request --organization-ids LIST REPLACE organizations with given ids. --organization-title VALUE Set the current organization context for the request --organization-titles LIST --organizations LIST --os-family VALUE --snippet BOOLEAN -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
Usage:
hammer partition-table update [OPTIONS]
Options:
--audit-comment VALUE
--description VALUE
--file FILE Path to a file that contains the partition layout
--host-ids LIST Array of host IDs to associate with the partition table
--hostgroup-ids LIST Array of host group IDs to associate with the partition table
--hostgroup-titles LIST
--hostgroups LIST
--hosts LIST
--id 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 REPLACE locations with given ids
--location-title VALUE Set the current location context for the request
--location-titles LIST
--locations LIST
--locked BOOLEAN Whether or not the template is locked for editing
--name VALUE
--new-name VALUE
--operatingsystem-ids LIST Array of operating system IDs to associate with the partition table
--operatingsystems LIST
--organization VALUE Set the current organization context for the request
--organization-id NUMBER Set the current organization context for the request
--organization-ids LIST REPLACE organizations with given ids.
--organization-title VALUE Set the current organization context for the request
--organization-titles LIST
--organizations LIST
--os-family VALUE
--snippet BOOLEAN
-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.54. hammer ping Copy linkLink copied to clipboard!
Get the status of the server and/or it’s subcomponents
Usage: hammer ping [OPTIONS] [SUBCOMMAND] [ARG] ... Parameters: [ARG] ... Subcommand arguments [SUBCOMMAND] Subcommand (default: "foreman") Subcommands: foreman Shows status of Satellite system and it's subcomponents katello Shows status of Katello system and it's subcomponents Options: -h, --help Print help
Usage:
hammer ping [OPTIONS] [SUBCOMMAND] [ARG] ...
Parameters:
[ARG] ... Subcommand arguments
[SUBCOMMAND] Subcommand (default: "foreman")
Subcommands:
foreman Shows status of Satellite system and it's subcomponents
katello Shows status of Katello system and it's subcomponents
Options:
-h, --help Print help
3.54.1. hammer ping foreman Copy linkLink copied to clipboard!
Shows status of Satellite system and it’s subcomponents
Usage: hammer ping foreman [OPTIONS] Options: -h, --help Print help
Usage:
hammer ping foreman [OPTIONS]
Options:
-h, --help Print help
3.54.2. hammer ping katello Copy linkLink copied to clipboard!
Shows status of Katello system and it’s subcomponents
Usage: hammer ping katello [OPTIONS] Options: -h, --help Print help
Usage:
hammer ping katello [OPTIONS]
Options:
-h, --help Print help
3.55. hammer policy Copy linkLink copied to clipboard!
Manipulate policies
Usage: hammer policy [OPTIONS] SUBCOMMAND [ARG] ... Parameters: SUBCOMMAND Subcommand [ARG] ... Subcommand arguments Subcommands: create Create a Policy delete, destroy Delete a Policy hosts List all hosts info, show Show a Policy list, index List Policies update Update a Policy Options: -h, --help Print help
Usage:
hammer policy [OPTIONS] SUBCOMMAND [ARG] ...
Parameters:
SUBCOMMAND Subcommand
[ARG] ... Subcommand arguments
Subcommands:
create Create a Policy
delete, destroy Delete a Policy
hosts List all hosts
info, show Show a Policy
list, index List Policies
update Update a Policy
Options:
-h, --help Print help
3.55.1. hammer policy create Copy linkLink copied to clipboard!
Create a Policy
Usage: hammer policy create [OPTIONS] Options: --cron-line VALUE Policy schedule cron line (only if period == “custom”) --day-of-month NUMBER Policy schedule day of month (only if period == “monthly”) --deploy-by ENUM How the policy should be deployed Possible value(s): 'puppet', 'ansible', 'manual' --description VALUE Policy description --host-ids LIST Apply policy to hosts --hostgroup-ids LIST Apply policy to host groups --hostgroups LIST --hosts LIST --location VALUE Name to search by --location-id NUMBER Set the current location context for the request --location-ids LIST REPLACE locations with given ids --locations LIST --name VALUE Policy name --organization VALUE Name to search by --organization-id NUMBER Set the current organization context for the request --organization-ids LIST REPLACE organizations with given ids. --organizations LIST --period VALUE Policy schedule period (weekly, monthly, custom) --scap-content VALUE SCAP content title --scap-content-id NUMBER Policy SCAP content ID --scap-content-profile VALUE Name to search by --scap-content-profile-id NUMBER Policy SCAP content profile ID --tailoring-file VALUE Tailoring file name --tailoring-file-id NUMBER Tailoring file ID --tailoring-file-profile-id NUMBER Tailoring file profile ID --weekday VALUE Policy schedule weekday (only if period == “weekly”) -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
Usage:
hammer policy create [OPTIONS]
Options:
--cron-line VALUE Policy schedule cron line (only if period == “custom”)
--day-of-month NUMBER Policy schedule day of month (only if period == “monthly”)
--deploy-by ENUM How the policy should be deployed
Possible value(s): 'puppet', 'ansible', 'manual'
--description VALUE Policy description
--host-ids LIST Apply policy to hosts
--hostgroup-ids LIST Apply policy to host groups
--hostgroups LIST
--hosts LIST
--location VALUE Name to search by
--location-id NUMBER Set the current location context for the request
--location-ids LIST REPLACE locations with given ids
--locations LIST
--name VALUE Policy name
--organization VALUE Name to search by
--organization-id NUMBER Set the current organization context for the request
--organization-ids LIST REPLACE organizations with given ids.
--organizations LIST
--period VALUE Policy schedule period (weekly, monthly, custom)
--scap-content VALUE SCAP content title
--scap-content-id NUMBER Policy SCAP content ID
--scap-content-profile VALUE Name to search by
--scap-content-profile-id NUMBER Policy SCAP content profile ID
--tailoring-file VALUE Tailoring file name
--tailoring-file-id NUMBER Tailoring file ID
--tailoring-file-profile-id NUMBER Tailoring file profile ID
--weekday VALUE Policy schedule weekday (only if period == “weekly”)
-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.55.2. hammer policy delete Copy linkLink copied to clipboard!
Delete a Policy
Usage: hammer policy <delete|destroy> [OPTIONS] Options: --id VALUE --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 Name to search by --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 -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
Usage:
hammer policy <delete|destroy> [OPTIONS]
Options:
--id VALUE
--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 Name to search by
--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
-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.55.3. hammer policy hosts Copy linkLink copied to clipboard!
List all hosts
Usage: hammer policy hosts [OPTIONS] Options: --fields LIST Show specified fields or predefined field sets only. (See below) --hostgroup VALUE Hostgroup name --hostgroup-id VALUE ID of host group --hostgroup-title VALUE Hostgroup title --id VALUE Policy Id --include ENUM Array of extra information types to include Possible value(s): 'parameters', 'all_parameters' --location VALUE Set the current location context for the request --location-id VALUE ID of location --location-title VALUE Set the current location context for the request --name VALUE Policy name --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 VALUE ID of organization --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 --thin BOOLEAN Only list ID and name of hosts -h, --help Print help Predefined field sets: -----------------------|-----|---------|----- FIELDS | ALL | DEFAULT | THIN -----------------------|-----|---------|----- Id | x | x | x Name | x | x | x Operating system | x | x | Host group | x | x | Ip | x | x | Mac | x | x | Global status | x | x | Organization | x | | Location | x | | Additional information | x | | Content view | x | x | Lifecycle environment | x | x | Security | x | | Bugfix | x | | Enhancement | x | | Trace status | 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: activation_key string activation_key_id string addon string addons_status Values: mismatched, matched, not_specified ansible_role string applicable_debs string applicable_errata string applicable_errata_issued date applicable_rpms string architecture string autoheal boolean boot_time build Values: true, false build_status Values: built, pending, token_expired, build_failed comment text compute_resource string compute_resource_id integer content_source string content_view string content_view_id integer created_at datetime cve_id integer domain string domain_id integer errata_status Values: security_needed, errata_needed, updated, unknown execution_status Values: ok, error facts string global_status Values: ok, warning, error has_ip string has_mac string hostgroup string hostgroup_fullname string hostgroup_id integer hostgroup_name string hostgroup_title string hypervisor boolean hypervisor_host string id integer image string infrastructure_facet.foreman infrastructure_facet.smart_proxy_id insights_recommendations_count integer installable_errata string installed_at datetime ip string job_invocation.id string job_invocation.result Values: cancelled, failed, pending, success last_checkin datetime last_report datetime lifecycle_environment string lifecycle_environment_id integer location string location_id integer mac string managed Values: true, false model string name string organization string organization_id integer origin string os string os_description string os_id integer os_major string os_minor string os_title string owner string owner_id integer owner_type string params string params_name string parent_hostgroup string puppet_ca string puppet_proxy_id integer puppetmaster string purpose_status Values: mismatched, matched, not_specified realm string realm_id integer registered_at datetime registered_through string release_version string reported.boot_time reported.cores reported.disks_total reported.ram reported.sockets reported.virtual Values: true, false repository string repository_content_label string role text role_status Values: mismatched, matched, not_specified service_level string sla_status Values: mismatched, matched, not_specified smart_proxy string status.applied integer status.enabled Values: true, false status.failed integer status.failed_restarts integer status.interesting Values: true, false status.pending integer status.restarted integer status.skipped integer subnet string subnet.name text subnet6 string subnet6.name text subscription_id string subscription_name string subscription_status Values: valid, partial, invalid, unknown, disabled, unsubscribed_hypervisor subscription_uuid string trace_status Values: reboot_needed, process_restart_needed, updated upgradable_debs string upgradable_rpms string usage text usage_status Values: mismatched, matched, not_specified user.firstname string user.lastname string user.login string user.mail string usergroup string usergroup.name string uuid string
Usage:
hammer policy hosts [OPTIONS]
Options:
--fields LIST Show specified fields or predefined field sets only. (See below)
--hostgroup VALUE Hostgroup name
--hostgroup-id VALUE ID of host group
--hostgroup-title VALUE Hostgroup title
--id VALUE Policy Id
--include ENUM Array of extra information types to include
Possible value(s): 'parameters', 'all_parameters'
--location VALUE Set the current location context for the request
--location-id VALUE ID of location
--location-title VALUE Set the current location context for the request
--name VALUE Policy name
--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 VALUE ID of organization
--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
--thin BOOLEAN Only list ID and name of hosts
-h, --help Print help
Predefined field sets:
-----------------------|-----|---------|-----
FIELDS | ALL | DEFAULT | THIN
-----------------------|-----|---------|-----
Id | x | x | x
Name | x | x | x
Operating system | x | x |
Host group | x | x |
Ip | x | x |
Mac | x | x |
Global status | x | x |
Organization | x | |
Location | x | |
Additional information | x | |
Content view | x | x |
Lifecycle environment | x | x |
Security | x | |
Bugfix | x | |
Enhancement | x | |
Trace status | 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:
activation_key string
activation_key_id string
addon string
addons_status Values: mismatched, matched, not_specified
ansible_role string
applicable_debs string
applicable_errata string
applicable_errata_issued date
applicable_rpms string
architecture string
autoheal boolean
boot_time
build Values: true, false
build_status Values: built, pending, token_expired, build_failed
comment text
compute_resource string
compute_resource_id integer
content_source string
content_view string
content_view_id integer
created_at datetime
cve_id integer
domain string
domain_id integer
errata_status Values: security_needed, errata_needed, updated, unknown
execution_status Values: ok, error
facts string
global_status Values: ok, warning, error
has_ip string
has_mac string
hostgroup string
hostgroup_fullname string
hostgroup_id integer
hostgroup_name string
hostgroup_title string
hypervisor boolean
hypervisor_host string
id integer
image string
infrastructure_facet.foreman
infrastructure_facet.smart_proxy_id
insights_recommendations_count integer
installable_errata string
installed_at datetime
ip string
job_invocation.id string
job_invocation.result Values: cancelled, failed, pending, success
last_checkin datetime
last_report datetime
lifecycle_environment string
lifecycle_environment_id integer
location string
location_id integer
mac string
managed Values: true, false
model string
name string
organization string
organization_id integer
origin string
os string
os_description string
os_id integer
os_major string
os_minor string
os_title string
owner string
owner_id integer
owner_type string
params string
params_name string
parent_hostgroup string
puppet_ca string
puppet_proxy_id integer
puppetmaster string
purpose_status Values: mismatched, matched, not_specified
realm string
realm_id integer
registered_at datetime
registered_through string
release_version string
reported.boot_time
reported.cores
reported.disks_total
reported.ram
reported.sockets
reported.virtual Values: true, false
repository string
repository_content_label string
role text
role_status Values: mismatched, matched, not_specified
service_level string
sla_status Values: mismatched, matched, not_specified
smart_proxy string
status.applied integer
status.enabled Values: true, false
status.failed integer
status.failed_restarts integer
status.interesting Values: true, false
status.pending integer
status.restarted integer
status.skipped integer
subnet string
subnet.name text
subnet6 string
subnet6.name text
subscription_id string
subscription_name string
subscription_status Values: valid, partial, invalid, unknown, disabled, unsubscribed_hypervisor
subscription_uuid string
trace_status Values: reboot_needed, process_restart_needed, updated
upgradable_debs string
upgradable_rpms string
usage text
usage_status Values: mismatched, matched, not_specified
user.firstname string
user.lastname string
user.login string
user.mail string
usergroup string
usergroup.name string
uuid string
3.55.4. hammer policy info Copy linkLink copied to clipboard!
Show a Policy
Usage: hammer policy <info|show> [OPTIONS] Options: --fields LIST Show specified fields or predefined field sets only. (See below) --id VALUE --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 Name to search by --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 -h, --help Print help Predefined field sets: --------------------------|-----|---------|----- FIELDS | ALL | DEFAULT | THIN --------------------------|-----|---------|----- Id | x | x | x Name | x | x | x Created at | x | x | Period | x | x | Weekday | x | x | Day of month | x | x | Cron line | x | x | Scap content id | x | x | Scap content profile id | x | x | Tailoring file id | x | x | Tailoring file profile id | x | x | Deployment option | x | x | Locations/ | x | x | Organizations/ | x | x | Hostgroups/ | 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
Usage:
hammer policy <info|show> [OPTIONS]
Options:
--fields LIST Show specified fields or predefined field sets only. (See below)
--id VALUE
--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 Name to search by
--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
-h, --help Print help
Predefined field sets:
--------------------------|-----|---------|-----
FIELDS | ALL | DEFAULT | THIN
--------------------------|-----|---------|-----
Id | x | x | x
Name | x | x | x
Created at | x | x |
Period | x | x |
Weekday | x | x |
Day of month | x | x |
Cron line | x | x |
Scap content id | x | x |
Scap content profile id | x | x |
Tailoring file id | x | x |
Tailoring file profile id | x | x |
Deployment option | x | x |
Locations/ | x | x |
Organizations/ | x | x |
Hostgroups/ | 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.55.5. hammer policy list Copy linkLink copied to clipboard!
List Policies
Usage: hammer policy <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 Name | x | x | x Created 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 Search / Order fields: content string location string location_id integer name string organization string organization_id integer profile string tailoring_file string tailoring_file_profile string
Usage:
hammer policy <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
Name | x | x | x
Created 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
Search / Order fields:
content string
location string
location_id integer
name string
organization string
organization_id integer
profile string
tailoring_file string
tailoring_file_profile string
3.55.6. hammer policy update Copy linkLink copied to clipboard!
Update a Policy
Usage: hammer policy update [OPTIONS] Options: --cron-line VALUE Policy schedule cron line (only if period == “custom”) --day-of-month NUMBER Policy schedule day of month (only if period == “monthly”) --deploy-by ENUM How the policy should be deployed Possible value(s): 'puppet', 'ansible', 'manual' --description VALUE Policy description --host-ids LIST Apply policy to hosts --hostgroup-ids LIST Apply policy to host groups --hostgroups LIST --hosts LIST --id VALUE --location VALUE Name to search by --location-id NUMBER Set the current location context for the request --location-ids LIST REPLACE locations with given ids --locations LIST --name VALUE Policy name --new-name VALUE Policy name --organization VALUE Name to search by --organization-id NUMBER Set the current organization context for the request --organization-ids LIST REPLACE organizations with given ids. --organizations LIST --period VALUE Policy schedule period (weekly, monthly, custom) --scap-content VALUE SCAP content title --scap-content-id NUMBER Policy SCAP content ID --scap-content-profile VALUE Name to search by --scap-content-profile-id NUMBER Policy SCAP content profile ID --tailoring-file VALUE Tailoring file name --tailoring-file-id NUMBER Tailoring file ID --tailoring-file-profile-id NUMBER Tailoring file profile ID --weekday VALUE Policy schedule weekday (only if period == “weekly”) -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
Usage:
hammer policy update [OPTIONS]
Options:
--cron-line VALUE Policy schedule cron line (only if period == “custom”)
--day-of-month NUMBER Policy schedule day of month (only if period == “monthly”)
--deploy-by ENUM How the policy should be deployed
Possible value(s): 'puppet', 'ansible', 'manual'
--description VALUE Policy description
--host-ids LIST Apply policy to hosts
--hostgroup-ids LIST Apply policy to host groups
--hostgroups LIST
--hosts LIST
--id VALUE
--location VALUE Name to search by
--location-id NUMBER Set the current location context for the request
--location-ids LIST REPLACE locations with given ids
--locations LIST
--name VALUE Policy name
--new-name VALUE Policy name
--organization VALUE Name to search by
--organization-id NUMBER Set the current organization context for the request
--organization-ids LIST REPLACE organizations with given ids.
--organizations LIST
--period VALUE Policy schedule period (weekly, monthly, custom)
--scap-content VALUE SCAP content title
--scap-content-id NUMBER Policy SCAP content ID
--scap-content-profile VALUE Name to search by
--scap-content-profile-id NUMBER Policy SCAP content profile ID
--tailoring-file VALUE Tailoring file name
--tailoring-file-id NUMBER Tailoring file ID
--tailoring-file-profile-id NUMBER Tailoring file profile ID
--weekday VALUE Policy schedule weekday (only if period == “weekly”)
-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.56. hammer prebuild-bash-completion Copy linkLink copied to clipboard!
Prepare map of options and subcommands for Bash completion
Usage: hammer prebuild-bash-completion [OPTIONS] Options: -h, --help Print help
Usage:
hammer prebuild-bash-completion [OPTIONS]
Options:
-h, --help Print help
3.57. hammer product Copy linkLink copied to clipboard!
Manipulate products
Usage: hammer product [OPTIONS] SUBCOMMAND [ARG] ... Parameters: SUBCOMMAND Subcommand [ARG] ... Subcommand arguments Subcommands: create Create a product delete, destroy Destroy a product info, show Show a product list, index List products remove-sync-plan Delete assignment sync plan and product set-sync-plan Assign sync plan to product synchronize Sync all repositories for a product update Updates a product update-proxy Updates an HTTP Proxy for a product Options: -h, --help Print help
Usage:
hammer product [OPTIONS] SUBCOMMAND [ARG] ...
Parameters:
SUBCOMMAND Subcommand
[ARG] ... Subcommand arguments
Subcommands:
create Create a product
delete, destroy Destroy a product
info, show Show a product
list, index List products
remove-sync-plan Delete assignment sync plan and product
set-sync-plan Assign sync plan to product
synchronize Sync all repositories for a product
update Updates a product
update-proxy Updates an HTTP Proxy for a product
Options:
-h, --help Print help
3.57.1. hammer product create Copy linkLink copied to clipboard!
Create a product
Usage: hammer product create [OPTIONS] Options: --description VALUE Product description --gpg-key-id NUMBER Identifier of the GPG key --label VALUE --name VALUE Product name --organization VALUE Organization name to search by --organization-id NUMBER ID of the organization --organization-label VALUE Organization label to search by --organization-title VALUE Organization title --ssl-ca-cert-id NUMBER Idenifier of the SSL CA Cert --ssl-client-cert-id NUMBER Identifier of the SSL Client Cert --ssl-client-key-id NUMBER Identifier of the SSL Client Key --sync-plan VALUE Sync plan name to search by --sync-plan-id NUMBER Plan numeric identifier -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
Usage:
hammer product create [OPTIONS]
Options:
--description VALUE Product description
--gpg-key-id NUMBER Identifier of the GPG key
--label VALUE
--name VALUE Product name
--organization VALUE Organization name to search by
--organization-id NUMBER ID of the organization
--organization-label VALUE Organization label to search by
--organization-title VALUE Organization title
--ssl-ca-cert-id NUMBER Idenifier of the SSL CA Cert
--ssl-client-cert-id NUMBER Identifier of the SSL Client Cert
--ssl-client-key-id NUMBER Identifier of the SSL Client Key
--sync-plan VALUE Sync plan name to search by
--sync-plan-id NUMBER Plan numeric identifier
-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.57.2. hammer product delete Copy linkLink copied to clipboard!
Destroy a product
Usage: hammer product <delete|destroy> [OPTIONS] Options: --id NUMBER Product numeric identifier --name VALUE Product name to search by --organization VALUE Organization name to search by --organization-id NUMBER --organization-label VALUE Organization label to search by --organization-title VALUE Organization title -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
Usage:
hammer product <delete|destroy> [OPTIONS]
Options:
--id NUMBER Product numeric identifier
--name VALUE Product name to search by
--organization VALUE Organization name to search by
--organization-id NUMBER
--organization-label VALUE Organization label to search by
--organization-title VALUE Organization title
-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.57.3. hammer product info Copy linkLink copied to clipboard!
Show a product
Usage: hammer product <info|show> [OPTIONS] Options: --fields LIST Show specified fields or predefined field sets only. (See below) --id NUMBER Product numeric identifier --name VALUE Product name to search by --organization VALUE Organization name to search by --organization-id NUMBER Organization ID --organization-label VALUE Organization label to search by --organization-title VALUE Organization title -h, --help Print help Predefined field sets: ---------------------|-----|---------|----- FIELDS | ALL | DEFAULT | THIN ---------------------|-----|---------|----- Id | x | x | x Name | x | x | x Label | x | x | Description | x | x | Sync state (all) | x | x | Sync state (last) | x | x | Sync plan id | x | x | Gpg/gpg key id | x | x | Gpg/gpg key | x | x | Organization | x | x | Readonly | x | x | Deletable | x | x | Content/repo name | x | x | Content/url | x | x | Content/content type | 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
Usage:
hammer product <info|show> [OPTIONS]
Options:
--fields LIST Show specified fields or predefined field sets only. (See below)
--id NUMBER Product numeric identifier
--name VALUE Product name to search by
--organization VALUE Organization name to search by
--organization-id NUMBER Organization ID
--organization-label VALUE Organization label to search by
--organization-title VALUE Organization title
-h, --help Print help
Predefined field sets:
---------------------|-----|---------|-----
FIELDS | ALL | DEFAULT | THIN
---------------------|-----|---------|-----
Id | x | x | x
Name | x | x | x
Label | x | x |
Description | x | x |
Sync state (all) | x | x |
Sync state (last) | x | x |
Sync plan id | x | x |
Gpg/gpg key id | x | x |
Gpg/gpg key | x | x |
Organization | x | x |
Readonly | x | x |
Deletable | x | x |
Content/repo name | x | x |
Content/url | x | x |
Content/content type | 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.57.4. hammer product list Copy linkLink copied to clipboard!
List products
Usage: hammer product <list|index> [OPTIONS] Options: --available-for VALUE Interpret specified object to return only Products that can be associated with specified object. Only 'sync_plan' is supported. --custom BOOLEAN Return custom products only --enabled BOOLEAN Return enabled products only --fields LIST Show specified fields or predefined field sets only. (See below) --full-result BOOLEAN Whether or not to show all results --include-available-content BOOLEAN Whether to include available content attribute in results --name VALUE Filter products by name --order VALUE Sort field and order, eg. 'id DESC' --organization VALUE Organization name to search by --organization-id NUMBER Filter products by organization --organization-label VALUE Organization label to search by --organization-title VALUE Organization title --page NUMBER Page number, starting at 1 --per-page NUMBER Number of results per page to return --redhat-only BOOLEAN Return Red Hat (non-custom) products only --search VALUE Search string --subscription VALUE Subscription name to search by --subscription-id NUMBER Filter products by subscription --sync-plan VALUE Sync plan name to search by --sync-plan-id NUMBER Filter products by sync plan id -h, --help Print help Predefined field sets: -------------|-----|---------|----- FIELDS | ALL | DEFAULT | THIN -------------|-----|---------|----- Id | x | x | x Name | x | x | x Description | x | x | Organization | x | x | Repositories | x | x | Sync state | 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 label string name string organization_id integer redhat Values: true, false
Usage:
hammer product <list|index> [OPTIONS]
Options:
--available-for VALUE Interpret specified object to return only Products that can be associated with
specified object. Only 'sync_plan' is supported.
--custom BOOLEAN Return custom products only
--enabled BOOLEAN Return enabled products only
--fields LIST Show specified fields or predefined field sets only. (See below)
--full-result BOOLEAN Whether or not to show all results
--include-available-content BOOLEAN Whether to include available content attribute in results
--name VALUE Filter products by name
--order VALUE Sort field and order, eg. 'id DESC'
--organization VALUE Organization name to search by
--organization-id NUMBER Filter products by organization
--organization-label VALUE Organization label to search by
--organization-title VALUE Organization title
--page NUMBER Page number, starting at 1
--per-page NUMBER Number of results per page to return
--redhat-only BOOLEAN Return Red Hat (non-custom) products only
--search VALUE Search string
--subscription VALUE Subscription name to search by
--subscription-id NUMBER Filter products by subscription
--sync-plan VALUE Sync plan name to search by
--sync-plan-id NUMBER Filter products by sync plan id
-h, --help Print help
Predefined field sets:
-------------|-----|---------|-----
FIELDS | ALL | DEFAULT | THIN
-------------|-----|---------|-----
Id | x | x | x
Name | x | x | x
Description | x | x |
Organization | x | x |
Repositories | x | x |
Sync state | 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
label string
name string
organization_id integer
redhat Values: true, false
3.57.5. hammer product remove-sync-plan Copy linkLink copied to clipboard!
Delete assignment sync plan and product
Usage: hammer product remove-sync-plan [OPTIONS] Options: --description VALUE Product description --gpg-key-id NUMBER Identifier of the GPG key --id NUMBER Product numeric identifier --name VALUE Product name --new-name VALUE Product name --organization VALUE Organization name to search by --organization-id NUMBER --organization-label VALUE Organization label to search by --organization-title VALUE Organization title --ssl-ca-cert-id NUMBER Idenifier of the SSL CA Cert --ssl-client-cert-id NUMBER Identifier of the SSL Client Cert --ssl-client-key-id NUMBER Identifier of the SSL Client Key -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
Usage:
hammer product remove-sync-plan [OPTIONS]
Options:
--description VALUE Product description
--gpg-key-id NUMBER Identifier of the GPG key
--id NUMBER Product numeric identifier
--name VALUE Product name
--new-name VALUE Product name
--organization VALUE Organization name to search by
--organization-id NUMBER
--organization-label VALUE Organization label to search by
--organization-title VALUE Organization title
--ssl-ca-cert-id NUMBER Idenifier of the SSL CA Cert
--ssl-client-cert-id NUMBER Identifier of the SSL Client Cert
--ssl-client-key-id NUMBER Identifier of the SSL Client Key
-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.57.6. hammer product set-sync-plan Copy linkLink copied to clipboard!
Assign sync plan to product
Usage: hammer product set-sync-plan [OPTIONS] Options: --id NUMBER Product numeric identifier --name VALUE Product name to search by --new-name VALUE Product name --organization VALUE Organization name to search by --organization-id NUMBER --organization-label VALUE Organization label to search by --organization-title VALUE Organization title --ssl-ca-cert-id NUMBER Idenifier of the SSL CA Cert --ssl-client-cert-id NUMBER Identifier of the SSL Client Cert --ssl-client-key-id NUMBER Identifier of the SSL Client Key --sync-plan VALUE Sync plan name to search by --sync-plan-id NUMBER Plan numeric identifier -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
Usage:
hammer product set-sync-plan [OPTIONS]
Options:
--id NUMBER Product numeric identifier
--name VALUE Product name to search by
--new-name VALUE Product name
--organization VALUE Organization name to search by
--organization-id NUMBER
--organization-label VALUE Organization label to search by
--organization-title VALUE Organization title
--ssl-ca-cert-id NUMBER Idenifier of the SSL CA Cert
--ssl-client-cert-id NUMBER Identifier of the SSL Client Cert
--ssl-client-key-id NUMBER Identifier of the SSL Client Key
--sync-plan VALUE Sync plan name to search by
--sync-plan-id NUMBER Plan numeric identifier
-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.57.7. hammer product synchronize Copy linkLink copied to clipboard!
Sync all repositories for a product
Usage: hammer product synchronize [OPTIONS] Options: --async Do not wait for the task --id NUMBER Product ID --name VALUE Product name to search by --organization VALUE Organization name to search by --organization-id NUMBER --organization-label VALUE Organization label to search by --organization-title VALUE Organization title -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
Usage:
hammer product synchronize [OPTIONS]
Options:
--async Do not wait for the task
--id NUMBER Product ID
--name VALUE Product name to search by
--organization VALUE Organization name to search by
--organization-id NUMBER
--organization-label VALUE Organization label to search by
--organization-title VALUE Organization title
-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.57.8. hammer product update Copy linkLink copied to clipboard!
Updates a product
Usage: hammer product update [OPTIONS] Options: --description VALUE Product description --gpg-key-id NUMBER Identifier of the GPG key --id NUMBER Product numeric identifier --name VALUE Product name --new-name VALUE Product name --organization VALUE Organization name to search by --organization-id NUMBER --organization-label VALUE Organization label to search by --organization-title VALUE Organization title --ssl-ca-cert-id NUMBER Idenifier of the SSL CA Cert --ssl-client-cert-id NUMBER Identifier of the SSL Client Cert --ssl-client-key-id NUMBER Identifier of the SSL Client Key --sync-plan VALUE Sync plan name to search by --sync-plan-id NUMBER Plan numeric identifier -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
Usage:
hammer product update [OPTIONS]
Options:
--description VALUE Product description
--gpg-key-id NUMBER Identifier of the GPG key
--id NUMBER Product numeric identifier
--name VALUE Product name
--new-name VALUE Product name
--organization VALUE Organization name to search by
--organization-id NUMBER
--organization-label VALUE Organization label to search by
--organization-title VALUE Organization title
--ssl-ca-cert-id NUMBER Idenifier of the SSL CA Cert
--ssl-client-cert-id NUMBER Identifier of the SSL Client Cert
--ssl-client-key-id NUMBER Identifier of the SSL Client Key
--sync-plan VALUE Sync plan name to search by
--sync-plan-id NUMBER Plan numeric identifier
-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.57.9. hammer product update-proxy Copy linkLink copied to clipboard!
Updates an HTTP Proxy for a product
Usage: hammer product update-proxy [OPTIONS] Options: --http-proxy VALUE Name to search by --http-proxy-id NUMBER HTTP Proxy identifier to associated --http-proxy-policy ENUM Policy for HTTP Proxy for content sync Possible value(s): 'global_default_http_proxy', 'none', 'use_selected_http_proxy' --ids LIST List of product ids -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
Usage:
hammer product update-proxy [OPTIONS]
Options:
--http-proxy VALUE Name to search by
--http-proxy-id NUMBER HTTP Proxy identifier to associated
--http-proxy-policy ENUM Policy for HTTP Proxy for content sync
Possible value(s): 'global_default_http_proxy', 'none',
'use_selected_http_proxy'
--ids LIST List of product ids
-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.58. hammer proxy Copy linkLink copied to clipboard!
Manipulate smart proxies
Usage: hammer proxy [OPTIONS] SUBCOMMAND [ARG] ... Parameters: SUBCOMMAND Subcommand [ARG] ... Subcommand arguments Subcommands: content Manage the capsule content create Create a capsule delete, destroy Delete a capsule info, show Show a capsule list, index List all capsules refresh-features Refresh capsule features update Update a capsule Options: -h, --help Print help
Usage:
hammer proxy [OPTIONS] SUBCOMMAND [ARG] ...
Parameters:
SUBCOMMAND Subcommand
[ARG] ... Subcommand arguments
Subcommands:
content Manage the capsule content
create Create a capsule
delete, destroy Delete a capsule
info, show Show a capsule
list, index List all capsules
refresh-features Refresh capsule features
update Update a capsule
Options:
-h, --help Print help
3.58.1. hammer proxy content Copy linkLink copied to clipboard!
Manage the capsule content
Usage: hammer proxy content [OPTIONS] SUBCOMMAND [ARG] ... Parameters: SUBCOMMAND Subcommand [ARG] ... Subcommand arguments Subcommands: add-lifecycle-environment Add lifecycle environments to the capsule available-lifecycle-environments List the lifecycle environments not attached to the capsule cancel-synchronization Cancel running capsule synchronization info Get current capsule synchronization status lifecycle-environments List the lifecycle environments attached to the capsule remove-lifecycle-environment Remove lifecycle environments from the capsule synchronization-status Get current capsule synchronization status synchronize Synchronize the content to the capsule Options: -h, --help Print help
Usage:
hammer proxy content [OPTIONS] SUBCOMMAND [ARG] ...
Parameters:
SUBCOMMAND Subcommand
[ARG] ... Subcommand arguments
Subcommands:
add-lifecycle-environment Add lifecycle environments to the capsule
available-lifecycle-environments List the lifecycle environments not attached to the capsule
cancel-synchronization Cancel running capsule synchronization
info Get current capsule synchronization status
lifecycle-environments List the lifecycle environments attached to the capsule
remove-lifecycle-environment Remove lifecycle environments from the capsule
synchronization-status Get current capsule synchronization status
synchronize Synchronize the content to the capsule
Options:
-h, --help Print help
3.58.1.1. hammer proxy content add-lifecycle-environment Copy linkLink copied to clipboard!
Add lifecycle environments to the capsule
Usage: hammer proxy content add-lifecycle-environment [OPTIONS] Options: --environment VALUE Lifecycle environment name to search by (--environment is deprecated: Use --lifecycle-environment instead) --environment-id NUMBER (--environment-id is deprecated: Use --lifecycle-environment-id instead) --id NUMBER Id of the capsule --lifecycle-environment VALUE Lifecycle environment name to search by --lifecycle-environment-id NUMBER Id of the lifecycle environment --name VALUE Name to search by --organization VALUE Organization name --organization-id VALUE Organization ID -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
Usage:
hammer proxy content add-lifecycle-environment [OPTIONS]
Options:
--environment VALUE Lifecycle environment name to search by (--environment is deprecated: Use
--lifecycle-environment instead)
--environment-id NUMBER (--environment-id is deprecated: Use --lifecycle-environment-id instead)
--id NUMBER Id of the capsule
--lifecycle-environment VALUE Lifecycle environment name to search by
--lifecycle-environment-id NUMBER Id of the lifecycle environment
--name VALUE Name to search by
--organization VALUE Organization name
--organization-id VALUE Organization ID
-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.58.1.2. hammer proxy content available-lifecycle-environments Copy linkLink copied to clipboard!
List the lifecycle environments not attached to the capsule
Usage: hammer proxy content available-lifecycle-environments [OPTIONS] Options: --fields LIST Show specified fields or predefined field sets only. (See below) --id NUMBER Id of the capsule --name VALUE Name to search by --organization VALUE Organization name to search by --organization-id NUMBER Id of the organization to limit environments on --organization-label VALUE Organization label to search by --organization-title VALUE Organization title -h, --help Print help Predefined field sets: -------------|-----|---------|----- FIELDS | ALL | DEFAULT | THIN -------------|-----|---------|----- Id | x | x | x Name | x | x | x Organization | 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
Usage:
hammer proxy content available-lifecycle-environments [OPTIONS]
Options:
--fields LIST Show specified fields or predefined field sets only. (See below)
--id NUMBER Id of the capsule
--name VALUE Name to search by
--organization VALUE Organization name to search by
--organization-id NUMBER Id of the organization to limit environments on
--organization-label VALUE Organization label to search by
--organization-title VALUE Organization title
-h, --help Print help
Predefined field sets:
-------------|-----|---------|-----
FIELDS | ALL | DEFAULT | THIN
-------------|-----|---------|-----
Id | x | x | x
Name | x | x | x
Organization | 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.58.1.3. hammer proxy content cancel-synchronization Copy linkLink copied to clipboard!
Cancel running capsule synchronization
Usage: hammer proxy content cancel-synchronization [OPTIONS] Options: --id NUMBER Id of the capsule --name VALUE Name to search by -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
Usage:
hammer proxy content cancel-synchronization [OPTIONS]
Options:
--id NUMBER Id of the capsule
--name VALUE Name to search by
-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.58.1.4. hammer proxy content info Copy linkLink copied to clipboard!
Get current capsule synchronization status
Usage: hammer proxy content info [OPTIONS] Options: --fields LIST Show specified fields or predefined field sets only. (See below) --id NUMBER Id of the capsule --name VALUE Name to search by --organization VALUE Organization name to search by --organization-id NUMBER Id of the organization to get the status for --organization-label VALUE Organization label to search by --organization-title VALUE Organization title -h, --help Print help Predefined field sets: -------------------------------------------------------------------|-----|-------- FIELDS | ALL | DEFAULT -------------------------------------------------------------------|-----|-------- Lifecycle environments/name | x | x Lifecycle environments/organization | x | x Lifecycle environments/content views/name | x | x Lifecycle environments/content views/composite | x | x Lifecycle environments/content views/last published | x | x Lifecycle environments/content views/content/hosts | x | x Lifecycle environments/content views/content/products | x | x Lifecycle environments/content views/content/yum repos | x | x Lifecycle environments/content views/content/container image repos | x | x Lifecycle environments/content views/content/packages | x | x Lifecycle environments/content views/content/package groups | x | x Lifecycle environments/content views/content/errata | 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
Usage:
hammer proxy content info [OPTIONS]
Options:
--fields LIST Show specified fields or predefined field sets only. (See below)
--id NUMBER Id of the capsule
--name VALUE Name to search by
--organization VALUE Organization name to search by
--organization-id NUMBER Id of the organization to get the status for
--organization-label VALUE Organization label to search by
--organization-title VALUE Organization title
-h, --help Print help
Predefined field sets:
-------------------------------------------------------------------|-----|--------
FIELDS | ALL | DEFAULT
-------------------------------------------------------------------|-----|--------
Lifecycle environments/name | x | x
Lifecycle environments/organization | x | x
Lifecycle environments/content views/name | x | x
Lifecycle environments/content views/composite | x | x
Lifecycle environments/content views/last published | x | x
Lifecycle environments/content views/content/hosts | x | x
Lifecycle environments/content views/content/products | x | x
Lifecycle environments/content views/content/yum repos | x | x
Lifecycle environments/content views/content/container image repos | x | x
Lifecycle environments/content views/content/packages | x | x
Lifecycle environments/content views/content/package groups | x | x
Lifecycle environments/content views/content/errata | 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.58.1.5. hammer proxy content lifecycle-environments Copy linkLink copied to clipboard!
List the lifecycle environments attached to the capsule
Usage: hammer proxy content lifecycle-environments [OPTIONS] Options: --fields LIST Show specified fields or predefined field sets only. (See below) --id NUMBER Id of the capsule --name VALUE Name to search by --organization VALUE Organization name to search by --organization-id NUMBER Id of the organization to limit environments on --organization-label VALUE Organization label to search by --organization-title VALUE Organization title -h, --help Print help Predefined field sets: -------------|-----|---------|----- FIELDS | ALL | DEFAULT | THIN -------------|-----|---------|----- Id | x | x | x Name | x | x | x Organization | 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
Usage:
hammer proxy content lifecycle-environments [OPTIONS]
Options:
--fields LIST Show specified fields or predefined field sets only. (See below)
--id NUMBER Id of the capsule
--name VALUE Name to search by
--organization VALUE Organization name to search by
--organization-id NUMBER Id of the organization to limit environments on
--organization-label VALUE Organization label to search by
--organization-title VALUE Organization title
-h, --help Print help
Predefined field sets:
-------------|-----|---------|-----
FIELDS | ALL | DEFAULT | THIN
-------------|-----|---------|-----
Id | x | x | x
Name | x | x | x
Organization | 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.58.1.6. hammer proxy content remove-lifecycle-environment Copy linkLink copied to clipboard!
Remove lifecycle environments from the capsule
Usage: hammer proxy content remove-lifecycle-environment [OPTIONS] Options: --environment VALUE Lifecycle environment name to search by (--environment is deprecated: Use --lifecycle-environment instead) --environment-id NUMBER (--environment-id is deprecated: Use --lifecycle-environment-id instead) --id NUMBER Id of the capsule --lifecycle-environment VALUE Lifecycle environment name to search by --lifecycle-environment-id NUMBER Id of the lifecycle environment --name VALUE Name to search by --organization VALUE Organization name --organization-id VALUE Organization ID -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
Usage:
hammer proxy content remove-lifecycle-environment [OPTIONS]
Options:
--environment VALUE Lifecycle environment name to search by (--environment is deprecated: Use
--lifecycle-environment instead)
--environment-id NUMBER (--environment-id is deprecated: Use --lifecycle-environment-id instead)
--id NUMBER Id of the capsule
--lifecycle-environment VALUE Lifecycle environment name to search by
--lifecycle-environment-id NUMBER Id of the lifecycle environment
--name VALUE Name to search by
--organization VALUE Organization name
--organization-id VALUE Organization ID
-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.58.1.7. hammer proxy content synchronization-status Copy linkLink copied to clipboard!
Get current capsule synchronization status
Usage: hammer proxy content synchronization-status [OPTIONS] Options: --fields LIST Show specified fields or predefined field sets only. (See below) --id NUMBER Id of the capsule --name VALUE Name to search by --organization VALUE Organization name to search by --organization-id NUMBER Id of the organization to get the status for --organization-label VALUE Organization label to search by --organization-title VALUE Organization title -h, --help Print help Predefined field sets: --------------------------------------|-----|-------- FIELDS | ALL | DEFAULT --------------------------------------|-----|-------- Last sync | x | x Status | x | x Currently running sync tasks/task id | x | x Currently running sync tasks/progress | x | x Last failure/task id | x | x Last failure/messages | 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
Usage:
hammer proxy content synchronization-status [OPTIONS]
Options:
--fields LIST Show specified fields or predefined field sets only. (See below)
--id NUMBER Id of the capsule
--name VALUE Name to search by
--organization VALUE Organization name to search by
--organization-id NUMBER Id of the organization to get the status for
--organization-label VALUE Organization label to search by
--organization-title VALUE Organization title
-h, --help Print help
Predefined field sets:
--------------------------------------|-----|--------
FIELDS | ALL | DEFAULT
--------------------------------------|-----|--------
Last sync | x | x
Status | x | x
Currently running sync tasks/task id | x | x
Currently running sync tasks/progress | x | x
Last failure/task id | x | x
Last failure/messages | 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.58.1.8. hammer proxy content synchronize Copy linkLink copied to clipboard!
Synchronize the content to the capsule
Usage: hammer proxy content synchronize [OPTIONS] Options: --async Do not wait for the task --content-view VALUE Content view name to search by --content-view-id NUMBER Id of the content view to limit the synchronization on --environment VALUE Lifecycle environment name to search by (--environment is deprecated: Use --lifecycle-environment instead) --environment-id NUMBER (--environment-id is deprecated: Use --lifecycle-environment-id instead) --id NUMBER Id of the capsule --lifecycle-environment VALUE Lifecycle environment name to search by --lifecycle-environment-id NUMBER Id of the environment to limit the synchronization on --name VALUE Name to search by --organization VALUE Organization name --organization-id VALUE Organization ID --repository VALUE Repository name to search by --repository-id NUMBER Id of the repository to limit the synchronization on --skip-metadata-check BOOLEAN Skip metadata check on each repository on the capsule -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
Usage:
hammer proxy content synchronize [OPTIONS]
Options:
--async Do not wait for the task
--content-view VALUE Content view name to search by
--content-view-id NUMBER Id of the content view to limit the synchronization on
--environment VALUE Lifecycle environment name to search by (--environment is deprecated: Use
--lifecycle-environment instead)
--environment-id NUMBER (--environment-id is deprecated: Use --lifecycle-environment-id instead)
--id NUMBER Id of the capsule
--lifecycle-environment VALUE Lifecycle environment name to search by
--lifecycle-environment-id NUMBER Id of the environment to limit the synchronization on
--name VALUE Name to search by
--organization VALUE Organization name
--organization-id VALUE Organization ID
--repository VALUE Repository name to search by
--repository-id NUMBER Id of the repository to limit the synchronization on
--skip-metadata-check BOOLEAN Skip metadata check on each repository on the capsule
-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.58.2. hammer proxy create Copy linkLink copied to clipboard!
Create a capsule
Usage: hammer proxy create [OPTIONS] Options: --download-policy VALUE Download Policy of the capsule, must be one of on_demand, immediate, inherit --location VALUE Set the current location context for the request --location-id NUMBER Set the current location context for the request --location-ids LIST REPLACE locations with given ids --location-title VALUE Set the current location context for the request --location-titles LIST --locations LIST --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 REPLACE organizations with given ids. --organization-title VALUE Set the current organization context for the request --organization-titles LIST --organizations LIST --url 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
Usage:
hammer proxy create [OPTIONS]
Options:
--download-policy VALUE Download Policy of the capsule, must be one of on_demand, immediate, inherit
--location VALUE Set the current location context for the request
--location-id NUMBER Set the current location context for the request
--location-ids LIST REPLACE locations with given ids
--location-title VALUE Set the current location context for the request
--location-titles LIST
--locations LIST
--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 REPLACE organizations with given ids.
--organization-title VALUE Set the current organization context for the request
--organization-titles LIST
--organizations LIST
--url 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.58.3. hammer proxy delete Copy linkLink copied to clipboard!
Delete a capsule
Usage: hammer proxy <delete|destroy> [OPTIONS] Options: --id VALUE --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 Name to search by --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 -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
Usage:
hammer proxy <delete|destroy> [OPTIONS]
Options:
--id VALUE
--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 Name to search by
--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
-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.58.4. hammer proxy info Copy linkLink copied to clipboard!
Show a capsule
Usage: hammer proxy <info|show> [OPTIONS] Options: --fields LIST Show specified fields or predefined field sets only. (See below) --id VALUE --include-status BOOLEAN Flag to indicate whether to include status or not --include-version BOOLEAN Flag to indicate whether to include version or not --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 Name to search by --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 -h, --help Print help Predefined field sets: -----------------|-----|---------|----- FIELDS | ALL | DEFAULT | THIN -----------------|-----|---------|----- Id | x | x | x Name | x | x | x Status | x | x | Url | x | x | Features | x | x | Version | x | x | Host_count | x | x | Features/name | x | x | Features/version | x | x | Locations/ | 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
Usage:
hammer proxy <info|show> [OPTIONS]
Options:
--fields LIST Show specified fields or predefined field sets only. (See below)
--id VALUE
--include-status BOOLEAN Flag to indicate whether to include status or not
--include-version BOOLEAN Flag to indicate whether to include version or not
--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 Name to search by
--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
-h, --help Print help
Predefined field sets:
-----------------|-----|---------|-----
FIELDS | ALL | DEFAULT | THIN
-----------------|-----|---------|-----
Id | x | x | x
Name | x | x | x
Status | x | x |
Url | x | x |
Features | x | x |
Version | x | x |
Host_count | x | x |
Features/name | x | x |
Features/version | x | x |
Locations/ | 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
3.58.5. hammer proxy list Copy linkLink copied to clipboard!
List all capsules
Usage: hammer proxy <list|index> [OPTIONS] Options: --fields LIST Show specified fields or predefined field sets only. (See below) --include-status BOOLEAN Flag to indicate whether to include status or not --location VALUE Set the current location context for the request --location-id NUMBER Scope by locations --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 Scope by organizations --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 Name | x | x | x Status | x | x | Url | x | x | Features | 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: feature string location string location_id integer name string organization string organization_id integer url string Search / Order fields: feature string location string location_id integer name string organization string organization_id integer url string
Usage:
hammer proxy <list|index> [OPTIONS]
Options:
--fields LIST Show specified fields or predefined field sets only. (See below)
--include-status BOOLEAN Flag to indicate whether to include status or not
--location VALUE Set the current location context for the request
--location-id NUMBER Scope by locations
--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 Scope by organizations
--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
Name | x | x | x
Status | x | x |
Url | x | x |
Features | 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:
feature string
location string
location_id integer
name string
organization string
organization_id integer
url string
Search / Order fields:
feature string
location string
location_id integer
name string
organization string
organization_id integer
url string
3.58.6. hammer proxy refresh-features Copy linkLink copied to clipboard!
Refresh capsule features
Usage: hammer proxy refresh-features [OPTIONS] Options: --id VALUE --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 Name to search by --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 -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
Usage:
hammer proxy refresh-features [OPTIONS]
Options:
--id VALUE
--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 Name to search by
--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
-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.58.7. hammer proxy update Copy linkLink copied to clipboard!
Update a capsule
Usage: hammer proxy update [OPTIONS] Options: --download-policy VALUE Download Policy of the capsule, must be one of on_demand, immediate, inherit --id 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 REPLACE locations with given ids --location-title VALUE Set the current location context for the request --location-titles LIST --locations LIST --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 REPLACE organizations with given ids. --organization-title VALUE Set the current organization context for the request --organization-titles LIST --organizations LIST --url 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
Usage:
hammer proxy update [OPTIONS]
Options:
--download-policy VALUE Download Policy of the capsule, must be one of on_demand, immediate, inherit
--id 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 REPLACE locations with given ids
--location-title VALUE Set the current location context for the request
--location-titles LIST
--locations LIST
--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 REPLACE organizations with given ids.
--organization-title VALUE Set the current organization context for the request
--organization-titles LIST
--organizations LIST
--url 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.59. hammer realm Copy linkLink copied to clipboard!
Manipulate realms
Usage: hammer realm [OPTIONS] SUBCOMMAND [ARG] ... Parameters: SUBCOMMAND Subcommand [ARG] ... Subcommand arguments Subcommands: create Create a realm delete, destroy Delete a realm info, show Show a realm list, index List of realms update Update a realm Options: -h, --help Print help
Usage:
hammer realm [OPTIONS] SUBCOMMAND [ARG] ...
Parameters:
SUBCOMMAND Subcommand
[ARG] ... Subcommand arguments
Subcommands:
create Create a realm
delete, destroy Delete a realm
info, show Show a realm
list, index List of realms
update Update a realm
Options:
-h, --help Print help
3.59.1. hammer realm create Copy linkLink copied to clipboard!
Create a realm
Usage: hammer realm create [OPTIONS] Options: --location VALUE Set the current location context for the request --location-id NUMBER Set the current location context for the request --location-ids LIST REPLACE locations with given ids --location-title VALUE Set the current location context for the request --location-titles LIST --locations LIST --name VALUE The realm name, e.g. EXAMPLE.COM --organization VALUE Set the current organization context for the request --organization-id NUMBER Set the current organization context for the request --organization-ids LIST REPLACE organizations with given ids. --organization-title VALUE Set the current organization context for the request --organization-titles LIST --organizations LIST --realm-proxy-id NUMBER Capsule ID to use within this realm --realm-type VALUE Realm type, e.g. Red Hat Identity Management or Active Directory -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
Usage:
hammer realm create [OPTIONS]
Options:
--location VALUE Set the current location context for the request
--location-id NUMBER Set the current location context for the request
--location-ids LIST REPLACE locations with given ids
--location-title VALUE Set the current location context for the request
--location-titles LIST
--locations LIST
--name VALUE The realm name, e.g. EXAMPLE.COM
--organization VALUE Set the current organization context for the request
--organization-id NUMBER Set the current organization context for the request
--organization-ids LIST REPLACE organizations with given ids.
--organization-title VALUE Set the current organization context for the request
--organization-titles LIST
--organizations LIST
--realm-proxy-id NUMBER Capsule ID to use within this realm
--realm-type VALUE Realm type, e.g. Red Hat Identity Management or Active Directory
-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.59.2. hammer realm delete Copy linkLink copied to clipboard!
Delete a realm
Usage: hammer realm <delete|destroy> [OPTIONS] Options: --id VALUE --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 Name to search by --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 -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
Usage:
hammer realm <delete|destroy> [OPTIONS]
Options:
--id VALUE
--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 Name to search by
--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
-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.59.3. hammer realm info Copy linkLink copied to clipboard!
Show a realm
Usage: hammer realm <info|show> [OPTIONS] Options: --fields LIST Show specified fields or predefined field sets only. (See below) --id VALUE Numerical ID or realm name --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 Name to search by --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 -h, --help Print help Predefined field sets: ---------------|-----|---------|----- FIELDS | ALL | DEFAULT | THIN ---------------|-----|---------|----- Id | x | x | x Name | x | x | x Realm proxy id | x | x | Realm type | x | x | Locations/ | 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
Usage:
hammer realm <info|show> [OPTIONS]
Options:
--fields LIST Show specified fields or predefined field sets only. (See below)
--id VALUE Numerical ID or realm name
--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 Name to search by
--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
-h, --help Print help
Predefined field sets:
---------------|-----|---------|-----
FIELDS | ALL | DEFAULT | THIN
---------------|-----|---------|-----
Id | x | x | x
Name | x | x | x
Realm proxy id | x | x |
Realm type | x | x |
Locations/ | 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
3.59.4. hammer realm list Copy linkLink copied to clipboard!
List of realms
Usage: hammer realm <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 Scope by locations --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 Scope by organizations --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 Name | 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: location string location_id integer name string organization string organization_id integer type string
Usage:
hammer realm <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 Scope by locations
--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 Scope by organizations
--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
Name | 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:
location string
location_id integer
name string
organization string
organization_id integer
type string
3.59.5. hammer realm update Copy linkLink copied to clipboard!
Update a realm
Usage: hammer realm update [OPTIONS] Options: --id 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 REPLACE locations with given ids --location-title VALUE Set the current location context for the request --location-titles LIST --locations LIST --name VALUE The realm name, e.g. EXAMPLE.COM --new-name VALUE The realm name, e.g. EXAMPLE.COM --organization VALUE Set the current organization context for the request --organization-id NUMBER Set the current organization context for the request --organization-ids LIST REPLACE organizations with given ids. --organization-title VALUE Set the current organization context for the request --organization-titles LIST --organizations LIST --realm-proxy-id NUMBER Capsule ID to use within this realm --realm-type VALUE Realm type, e.g. Red Hat Identity Management or Active Directory -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
Usage:
hammer realm update [OPTIONS]
Options:
--id 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 REPLACE locations with given ids
--location-title VALUE Set the current location context for the request
--location-titles LIST
--locations LIST
--name VALUE The realm name, e.g. EXAMPLE.COM
--new-name VALUE The realm name, e.g. EXAMPLE.COM
--organization VALUE Set the current organization context for the request
--organization-id NUMBER Set the current organization context for the request
--organization-ids LIST REPLACE organizations with given ids.
--organization-title VALUE Set the current organization context for the request
--organization-titles LIST
--organizations LIST
--realm-proxy-id NUMBER Capsule ID to use within this realm
--realm-type VALUE Realm type, e.g. Red Hat Identity Management or Active Directory
-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.60. hammer recurring-logic Copy linkLink copied to clipboard!
Recurring logic related actions
Usage: hammer recurring-logic [OPTIONS] SUBCOMMAND [ARG] ... Parameters: SUBCOMMAND Subcommand [ARG] ... Subcommand arguments Subcommands: cancel Cancel recurring logic delete Delete all recuring logics filtered by the arguments info, show Show recurring logic details list, index List recurring logics Options: -h, --help Print help
Usage:
hammer recurring-logic [OPTIONS] SUBCOMMAND [ARG] ...
Parameters:
SUBCOMMAND Subcommand
[ARG] ... Subcommand arguments
Subcommands:
cancel Cancel recurring logic
delete Delete all recuring logics filtered by the arguments
info, show Show recurring logic details
list, index List recurring logics
Options:
-h, --help Print help
3.60.1. hammer recurring-logic cancel Copy linkLink copied to clipboard!
Cancel recurring logic
Usage: hammer recurring-logic cancel [OPTIONS] Options: --id VALUE ID of the recurring logic --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 Name to search by --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 -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
Usage:
hammer recurring-logic cancel [OPTIONS]
Options:
--id VALUE ID of the recurring logic
--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 Name to search by
--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
-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.60.2. hammer recurring-logic delete Copy linkLink copied to clipboard!
Delete all recuring logics filtered by the arguments
Usage: hammer recurring-logic delete [OPTIONS] Options: --cancelled Only delete cancelled recurring logics --finished Only delete finished recurring logics -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
Usage:
hammer recurring-logic delete [OPTIONS]
Options:
--cancelled Only delete cancelled recurring logics
--finished Only delete finished recurring logics
-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.60.3. hammer recurring-logic info Copy linkLink copied to clipboard!
Show recurring logic details
Usage: hammer recurring-logic <info|show> [OPTIONS] Options: --fields LIST Show specified fields or predefined field sets only. (See below) --id VALUE ID of the recurring logic --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 Name to search by --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 -h, --help Print help Predefined field sets: ----------------|-----|-------- FIELDS | ALL | DEFAULT ----------------|-----|-------- Id | x | x Cron line | x | x Action | x | x Last occurrence | x | x Next occurrence | x | x Iteration | x | x Iteration limit | x | x Repeat until | x | x State | 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
Usage:
hammer recurring-logic <info|show> [OPTIONS]
Options:
--fields LIST Show specified fields or predefined field sets only. (See below)
--id VALUE ID of the recurring logic
--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 Name to search by
--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
-h, --help Print help
Predefined field sets:
----------------|-----|--------
FIELDS | ALL | DEFAULT
----------------|-----|--------
Id | x | x
Cron line | x | x
Action | x | x
Last occurrence | x | x
Next occurrence | x | x
Iteration | x | x
Iteration limit | x | x
Repeat until | x | x
State | 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.60.4. hammer recurring-logic list Copy linkLink copied to clipboard!
List recurring logics
Usage: hammer recurring-logic <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 ----------|-----|-------- Id | x | x Cron line | x | x Iteration | x | x End time | x | x State | 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
Usage:
hammer recurring-logic <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
----------|-----|--------
Id | x | x
Cron line | x | x
Iteration | x | x
End time | x | x
State | 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.61. hammer remote-execution-feature Copy linkLink copied to clipboard!
Manage remote execution features
Usage: hammer remote-execution-feature [OPTIONS] SUBCOMMAND [ARG] ... Parameters: SUBCOMMAND Subcommand [ARG] ... Subcommand arguments Subcommands: info, show Show remote execution feature list, index List remote execution features update Update a job template Options: -h, --help Print help
Usage:
hammer remote-execution-feature [OPTIONS] SUBCOMMAND [ARG] ...
Parameters:
SUBCOMMAND Subcommand
[ARG] ... Subcommand arguments
Subcommands:
info, show Show remote execution feature
list, index List remote execution features
update Update a job template
Options:
-h, --help Print help
3.61.1. hammer remote-execution-feature info Copy linkLink copied to clipboard!
Show remote execution feature
Usage: hammer remote-execution-feature <info|show> [OPTIONS] Options: --fields LIST Show specified fields or predefined field sets only. (See below) --id VALUE --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 Name to search by --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 -h, --help Print help Predefined field sets: ------------------|-----|---------|----- FIELDS | ALL | DEFAULT | THIN ------------------|-----|---------|----- Id | x | x | x Label | x | x | Name | x | x | x Description | x | x | Job template name | x | x | Job template 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
Usage:
hammer remote-execution-feature <info|show> [OPTIONS]
Options:
--fields LIST Show specified fields or predefined field sets only. (See below)
--id VALUE
--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 Name to search by
--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
-h, --help Print help
Predefined field sets:
------------------|-----|---------|-----
FIELDS | ALL | DEFAULT | THIN
------------------|-----|---------|-----
Id | x | x | x
Label | x | x |
Name | x | x | x
Description | x | x |
Job template name | x | x |
Job template 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.61.2. hammer remote-execution-feature list Copy linkLink copied to clipboard!
List remote execution features
Usage: hammer remote-execution-feature <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 --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 -h, --help Print help Predefined field sets: ------------------|-----|---------|----- FIELDS | ALL | DEFAULT | THIN ------------------|-----|---------|----- Id | x | x | x Name | x | x | x Description | x | x | Job template name | 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
Usage:
hammer remote-execution-feature <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
--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
-h, --help Print help
Predefined field sets:
------------------|-----|---------|-----
FIELDS | ALL | DEFAULT | THIN
------------------|-----|---------|-----
Id | x | x | x
Name | x | x | x
Description | x | x |
Job template name | 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.61.3. hammer remote-execution-feature update Copy linkLink copied to clipboard!
Update a job template
Usage: hammer remote-execution-feature update [OPTIONS] Options: --id VALUE --job-template VALUE Name to search by --job-template-id VALUE Job template ID to be used for the feature --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 Name to search by --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-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
Usage:
hammer remote-execution-feature update [OPTIONS]
Options:
--id VALUE
--job-template VALUE Name to search by
--job-template-id VALUE Job template ID to be used for the feature
--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 Name to search by
--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-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.62. hammer report Copy linkLink copied to clipboard!
Browse and read reports
Usage: hammer report [OPTIONS] SUBCOMMAND [ARG] ... Parameters: SUBCOMMAND Subcommand [ARG] ... Subcommand arguments Subcommands: delete, destroy Delete a report info, show Show a report list, index List all reports Options: -h, --help Print help
Usage:
hammer report [OPTIONS] SUBCOMMAND [ARG] ...
Parameters:
SUBCOMMAND Subcommand
[ARG] ... Subcommand arguments
Subcommands:
delete, destroy Delete a report
info, show Show a report
list, index List all reports
Options:
-h, --help Print help
3.62.1. hammer report delete Copy linkLink copied to clipboard!
Delete a report
Usage: hammer report <delete|destroy> [OPTIONS] Options: --id VALUE --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 --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 -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
Usage:
hammer report <delete|destroy> [OPTIONS]
Options:
--id VALUE
--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
--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
-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.62.2. hammer report info Copy linkLink copied to clipboard!
Show a report
Usage: hammer report <info|show> [OPTIONS] Options: --fields LIST Show specified fields or predefined field sets only. (See below) --id VALUE --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 --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 -h, --help Print help Predefined field sets: --------------------------------|-----|---------|----- FIELDS | ALL | DEFAULT | THIN --------------------------------|-----|---------|----- Id | x | x | x Host | x | x | Reported at | x | x | Origin | x | x | Report status/applied | x | x | Report status/restarted | x | x | Report status/failed | x | x | Report status/restart failures | x | x | Report status/skipped | x | x | Report status/pending | x | x | Report metrics/config_retrieval | x | x | Report metrics/exec | x | x | Report metrics/file | x | x | Report metrics/package | x | x | Report metrics/service | x | x | Report metrics/user | x | x | Report metrics/yumrepo | x | x | Report metrics/filebucket | x | x | Report metrics/cron | x | x | Report metrics/total | x | x | Logs/resource | x | x | Logs/message | 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
Usage:
hammer report <info|show> [OPTIONS]
Options:
--fields LIST Show specified fields or predefined field sets only. (See below)
--id VALUE
--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
--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
-h, --help Print help
Predefined field sets:
--------------------------------|-----|---------|-----
FIELDS | ALL | DEFAULT | THIN
--------------------------------|-----|---------|-----
Id | x | x | x
Host | x | x |
Reported at | x | x |
Origin | x | x |
Report status/applied | x | x |
Report status/restarted | x | x |
Report status/failed | x | x |
Report status/restart failures | x | x |
Report status/skipped | x | x |
Report status/pending | x | x |
Report metrics/config_retrieval | x | x |
Report metrics/exec | x | x |
Report metrics/file | x | x |
Report metrics/package | x | x |
Report metrics/service | x | x |
Report metrics/user | x | x |
Report metrics/yumrepo | x | x |
Report metrics/filebucket | x | x |
Report metrics/cron | x | x |
Report metrics/total | x | x |
Logs/resource | x | x |
Logs/message | 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.62.3. hammer report list Copy linkLink copied to clipboard!
List all reports
Usage: hammer report <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 Host | x | x | Last report | x | x | Origin | x | x | Applied | x | x | Restarted | x | x | Failed | x | x | Restart failures | x | x | Skipped | x | x | Pending | 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: applied integer eventful Values: true, false failed integer failed_restarts integer host string host_id integer host_owner_id integer hostgroup string hostgroup_fullname string hostgroup_title string last_report datetime location string log text organization string origin string pending integer reported datetime resource text restarted integer skipped integer Search / Order fields: applied integer eventful Values: true, false failed integer failed_restarts integer host string host_id integer host_owner_id integer hostgroup string hostgroup_fullname string hostgroup_title string last_report datetime location string log text organization string origin string pending integer reported datetime resource text restarted integer skipped integer
Usage:
hammer report <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
Host | x | x |
Last report | x | x |
Origin | x | x |
Applied | x | x |
Restarted | x | x |
Failed | x | x |
Restart failures | x | x |
Skipped | x | x |
Pending | 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:
applied integer
eventful Values: true, false
failed integer
failed_restarts integer
host string
host_id integer
host_owner_id integer
hostgroup string
hostgroup_fullname string
hostgroup_title string
last_report datetime
location string
log text
organization string
origin string
pending integer
reported datetime
resource text
restarted integer
skipped integer
Search / Order fields:
applied integer
eventful Values: true, false
failed integer
failed_restarts integer
host string
host_id integer
host_owner_id integer
hostgroup string
hostgroup_fullname string
hostgroup_title string
last_report datetime
location string
log text
organization string
origin string
pending integer
reported datetime
resource text
restarted integer
skipped integer
3.63. hammer report-template Copy linkLink copied to clipboard!
Manipulate report templates
Usage: hammer report-template [OPTIONS] SUBCOMMAND [ARG] ... Parameters: SUBCOMMAND Subcommand [ARG] ... Subcommand arguments Subcommands: clone Clone a template create Create a report template delete, destroy Delete a report template dump View report content generate Generate report import Import a report template info, show Show a report template list, index List all report templates report-data Downloads a generated report schedule Schedule generating of a report update Update a report template Options: -h, --help Print help
Usage:
hammer report-template [OPTIONS] SUBCOMMAND [ARG] ...
Parameters:
SUBCOMMAND Subcommand
[ARG] ... Subcommand arguments
Subcommands:
clone Clone a template
create Create a report template
delete, destroy Delete a report template
dump View report content
generate Generate report
import Import a report template
info, show Show a report template
list, index List all report templates
report-data Downloads a generated report
schedule Schedule generating of a report
update Update a report template
Options:
-h, --help Print help
3.63.1. hammer report-template clone Copy linkLink copied to clipboard!
Clone a template
Usage: hammer report-template clone [OPTIONS] Options: --id VALUE --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 Template name --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-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
Usage:
hammer report-template clone [OPTIONS]
Options:
--id VALUE
--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 Template name
--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-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.63.2. hammer report-template create Copy linkLink copied to clipboard!
Create a report template
Usage: hammer report-template create [OPTIONS] Options: --audit-comment VALUE --default BOOLEAN Whether or not the template is added automatically to new organizations and locations --description VALUE --file FILE Path to a file that contains the report template content --location VALUE Set the current location context for the request --location-id NUMBER Set the current location context for the request --location-ids LIST REPLACE locations with given ids --location-title VALUE Set the current location context for the request --location-titles LIST --locations LIST --locked BOOLEAN Whether or not the template is locked for editing --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 REPLACE organizations with given ids. --organization-title VALUE Set the current organization context for the request --organization-titles LIST --organizations LIST --snippet BOOLEAN -h, --help Print help -i, --interactive Open empty template in an $EDITOR. Upload the result 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
Usage:
hammer report-template create [OPTIONS]
Options:
--audit-comment VALUE
--default BOOLEAN Whether or not the template is added automatically to new organizations and
locations
--description VALUE
--file FILE Path to a file that contains the report template content
--location VALUE Set the current location context for the request
--location-id NUMBER Set the current location context for the request
--location-ids LIST REPLACE locations with given ids
--location-title VALUE Set the current location context for the request
--location-titles LIST
--locations LIST
--locked BOOLEAN Whether or not the template is locked for editing
--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 REPLACE organizations with given ids.
--organization-title VALUE Set the current organization context for the request
--organization-titles LIST
--organizations LIST
--snippet BOOLEAN
-h, --help Print help
-i, --interactive Open empty template in an $EDITOR. Upload the result
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.63.3. hammer report-template delete Copy linkLink copied to clipboard!
Delete a report template
Usage: hammer report-template <delete|destroy> [OPTIONS] Options: --id VALUE --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 Name to search by --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 -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
Usage:
hammer report-template <delete|destroy> [OPTIONS]
Options:
--id VALUE
--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 Name to search by
--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
-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.63.4. hammer report-template dump Copy linkLink copied to clipboard!
View report content
Usage: hammer report-template dump [OPTIONS] Options: --fields LIST Show specified fields or predefined field sets only. (See below) --id VALUE --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 Name to search by --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 -h, --help Print help Predefined field sets: ------ FIELDS ------ 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
Usage:
hammer report-template dump [OPTIONS]
Options:
--fields LIST Show specified fields or predefined field sets only. (See below)
--id VALUE
--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 Name to search by
--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
-h, --help Print help
Predefined field sets:
------
FIELDS
------
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.63.5. hammer report-template generate Copy linkLink copied to clipboard!
Generate report
Usage: hammer report-template generate [OPTIONS] Options: --gzip BOOLEAN Compress the report uzing gzip --id VALUE --inputs KEY_VALUE_LIST Specify inputs --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 Name to search by --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 --path VALUE Path to directory where downloaded content will be saved --report-format ENUM Report format, defaults to 'csv' Possible value(s): 'csv', 'json', 'yaml', 'html' -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
Usage:
hammer report-template generate [OPTIONS]
Options:
--gzip BOOLEAN Compress the report uzing gzip
--id VALUE
--inputs KEY_VALUE_LIST Specify inputs
--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 Name to search by
--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
--path VALUE Path to directory where downloaded content will be saved
--report-format ENUM Report format, defaults to 'csv'
Possible value(s): 'csv', 'json', 'yaml', 'html'
-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.63.6. hammer report-template import Copy linkLink copied to clipboard!
Import a report template
Usage: hammer report-template import [OPTIONS] Options: --associate ENUM Determines when the template should associate objects based on metadata, new means only when new template is being created, always means both for new and existing template which is only being updated, never ignores metadata Possible value(s): 'new', 'always', 'never' --default BOOLEAN Makes the template default meaning it will be automatically associated with newly created organizations and locations (false by default) --file FILE Path to a file that contains the report template content including metadata --force BOOLEAN Use if you want update locked templates --location VALUE Set the current location context for the request --location-id NUMBER Set the current location context for the request --location-ids LIST REPLACE locations with given ids --location-title VALUE Set the current location context for the request --location-titles LIST --locations LIST --lock BOOLEAN Lock imported templates (false by default) --name VALUE Template name --organization VALUE Set the current organization context for the request --organization-id NUMBER Set the current organization context for the request --organization-ids LIST REPLACE organizations with given ids. --organization-title VALUE Set the current organization context for the request --organization-titles LIST --organizations 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
Usage:
hammer report-template import [OPTIONS]
Options:
--associate ENUM Determines when the template should associate objects based on metadata, new
means only when new template is being created, always means both for new and
existing template which is only being updated, never ignores metadata
Possible value(s): 'new', 'always', 'never'
--default BOOLEAN Makes the template default meaning it will be automatically associated with
newly created organizations and locations (false by default)
--file FILE Path to a file that contains the report template content including metadata
--force BOOLEAN Use if you want update locked templates
--location VALUE Set the current location context for the request
--location-id NUMBER Set the current location context for the request
--location-ids LIST REPLACE locations with given ids
--location-title VALUE Set the current location context for the request
--location-titles LIST
--locations LIST
--lock BOOLEAN Lock imported templates (false by default)
--name VALUE Template name
--organization VALUE Set the current organization context for the request
--organization-id NUMBER Set the current organization context for the request
--organization-ids LIST REPLACE organizations with given ids.
--organization-title VALUE Set the current organization context for the request
--organization-titles LIST
--organizations 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.63.7. hammer report-template info Copy linkLink copied to clipboard!
Show a report template
Usage: hammer report-template <info|show> [OPTIONS] Options: --fields LIST Show specified fields or predefined field sets only. (See below) --id VALUE --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 Name to search by --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 -h, --help Print help Predefined field sets: ----------------------------|-----|---------|----- FIELDS | ALL | DEFAULT | THIN ----------------------------|-----|---------|----- Id | x | x | x Name | x | x | x Description | x | x | Locked | x | x | Default | x | x | Created at | x | x | Updated at | x | x | Locations/ | x | x | Organizations/ | x | x | Template inputs/id | x | x | Template inputs/name | x | x | Template inputs/description | x | x | Template inputs/required | x | x | Template inputs/options | 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
Usage:
hammer report-template <info|show> [OPTIONS]
Options:
--fields LIST Show specified fields or predefined field sets only. (See below)
--id VALUE
--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 Name to search by
--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
-h, --help Print help
Predefined field sets:
----------------------------|-----|---------|-----
FIELDS | ALL | DEFAULT | THIN
----------------------------|-----|---------|-----
Id | x | x | x
Name | x | x | x
Description | x | x |
Locked | x | x |
Default | x | x |
Created at | x | x |
Updated at | x | x |
Locations/ | x | x |
Organizations/ | x | x |
Template inputs/id | x | x |
Template inputs/name | x | x |
Template inputs/description | x | x |
Template inputs/required | x | x |
Template inputs/options | 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.63.8. hammer report-template list Copy linkLink copied to clipboard!
List all report templates
Usage: hammer report-template <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 Scope by locations --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 Scope by organizations --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 Name | 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: default Values: true, false location string location_id integer locked Values: true, false name string organization string organization_id integer snippet Values: true, false template text
Usage:
hammer report-template <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 Scope by locations
--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 Scope by organizations
--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
Name | 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:
default Values: true, false
location string
location_id integer
locked Values: true, false
name string
organization string
organization_id integer
snippet Values: true, false
template text
3.63.9. hammer report-template report-data Copy linkLink copied to clipboard!
Downloads a generated report
Usage: hammer report-template report-data [OPTIONS] Options: --id VALUE --job-id VALUE ID assigned to generating job by the schedule command --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 Name to search by --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 --path VALUE Path to directory where downloaded content will be saved -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
Usage:
hammer report-template report-data [OPTIONS]
Options:
--id VALUE
--job-id VALUE ID assigned to generating job by the schedule command
--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 Name to search by
--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
--path VALUE Path to directory where downloaded content will be saved
-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.63.10. hammer report-template schedule Copy linkLink copied to clipboard!
Schedule generating of a report
Usage: hammer report-template schedule [OPTIONS] Options: --generate-at VALUE UTC time to generate report at --gzip BOOLEAN Compress the report using gzip --id VALUE --inputs KEY_VALUE_LIST Specify inputs --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 --mail-to VALUE If set, scheduled report will be delivered via e-mail. Use ',' to separate multiple email addresses. --name VALUE Name to search by --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 --path VALUE Path to directory where downloaded content will be saved. Only usable if wait is specified --report-format ENUM Report format, defaults to 'csv' Possible value(s): 'csv', 'json', 'yaml', 'html' --wait Turns a command to be active, wait for the result and download it right away -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
Usage:
hammer report-template schedule [OPTIONS]
Options:
--generate-at VALUE UTC time to generate report at
--gzip BOOLEAN Compress the report using gzip
--id VALUE
--inputs KEY_VALUE_LIST Specify inputs
--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
--mail-to VALUE If set, scheduled report will be delivered via e-mail. Use ',' to separate
multiple email addresses.
--name VALUE Name to search by
--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
--path VALUE Path to directory where downloaded content will be saved. Only usable if wait is
specified
--report-format ENUM Report format, defaults to 'csv'
Possible value(s): 'csv', 'json', 'yaml', 'html'
--wait Turns a command to be active, wait for the result and download it right away
-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.63.11. hammer report-template update Copy linkLink copied to clipboard!
Update a report template
Usage: hammer report-template update [OPTIONS] Options: --audit-comment VALUE --default BOOLEAN Whether or not the template is added automatically to new organizations and locations --description VALUE --file FILE Path to a file that contains the report template content --id 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 REPLACE locations with given ids --location-title VALUE Set the current location context for the request --location-titles LIST --locations LIST --locked BOOLEAN Whether or not the template is locked for editing --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 REPLACE organizations with given ids. --organization-title VALUE Set the current organization context for the request --organization-titles LIST --organizations LIST --snippet BOOLEAN -h, --help Print help -i, --interactive Dump existing template and open it in an $EDITOR. Update with the result 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
Usage:
hammer report-template update [OPTIONS]
Options:
--audit-comment VALUE
--default BOOLEAN Whether or not the template is added automatically to new organizations and
locations
--description VALUE
--file FILE Path to a file that contains the report template content
--id 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 REPLACE locations with given ids
--location-title VALUE Set the current location context for the request
--location-titles LIST
--locations LIST
--locked BOOLEAN Whether or not the template is locked for editing
--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 REPLACE organizations with given ids.
--organization-title VALUE Set the current organization context for the request
--organization-titles LIST
--organizations LIST
--snippet BOOLEAN
-h, --help Print help
-i, --interactive Dump existing template and open it in an $EDITOR. Update with the result
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.64. hammer repository Copy linkLink copied to clipboard!
Manipulate repositories
Usage: hammer repository [OPTIONS] SUBCOMMAND [ARG] ... Parameters: SUBCOMMAND Subcommand [ARG] ... Subcommand arguments Subcommands: create Create a custom repository delete, destroy Destroy a custom repository info, show Show a repository list, index List of enabled repositories reclaim-space Reclaim space from an On Demand repository remove-content Remove content from a repository synchronize Sync a repository update Update a repository upload-content Upload content into the repository Options: -h, --help Print help
Usage:
hammer repository [OPTIONS] SUBCOMMAND [ARG] ...
Parameters:
SUBCOMMAND Subcommand
[ARG] ... Subcommand arguments
Subcommands:
create Create a custom repository
delete, destroy Destroy a custom repository
info, show Show a repository
list, index List of enabled repositories
reclaim-space Reclaim space from an On Demand repository
remove-content Remove content from a repository
synchronize Sync a repository
update Update a repository
upload-content Upload content into the repository
Options:
-h, --help Print help
3.64.1. hammer repository create Copy linkLink copied to clipboard!
Create a custom repository
Usage: hammer repository create [OPTIONS] Options: --ansible-collection-auth-token VALUE The token key to use for authentication. --ansible-collection-auth-url VALUE The URL to receive a session token from, e.g. used with Automation Hub. --ansible-collection-requirements VALUE Contents of requirement yaml file to sync from URL --ansible-collection-requirements-file VALUE Location of the ansible collections requirements.yml file. --arch VALUE Architecture of content in the repository --checksum-type VALUE Checksum of the repository, currently 'sha1' & 'sha256' are supported --content-type ENUM Type of repo Possible value(s): 'ansible_collection', 'deb', 'docker', 'file', 'ostree', 'python', 'yum' --deb-architectures VALUE Whitespace-separated list of architectures to be synced from deb-archive --deb-components VALUE Whitespace-separated list of repo components to be synced from deb-archive --deb-releases VALUE Whitespace-separated list of releases to be synced from deb-archive --description VALUE Description of the repository --docker-tags-whitelist LIST Comma-separated list of tags to sync for Container Image repository (Deprecated) --docker-upstream-name VALUE Name of the upstream docker repository --download-concurrency NUMBER Used to determine download concurrency of the repository in pulp3. Use value less than 20. Defaults to 10 --download-policy ENUM Download policy for yum repos (either 'immediate' or 'on_demand') Possible value(s): 'immediate', 'on_demand' --exclude-tags LIST Comma-separated list of tags to exclude when syncing a container image repository. Default: any tag ending in “-source” --excludes LIST Python packages to exclude from the upstream URL, names separated by newline. You may also specify versions, for example: django~=2.0. --gpg-key-id NUMBER Id of the gpg key that will be assigned to the new repository --http-proxy VALUE Name to search by --http-proxy-id NUMBER ID of a HTTP Proxy --http-proxy-policy ENUM Policies for HTTP Proxy for content sync Possible value(s): 'global_default_http_proxy', 'none', 'use_selected_http_proxy' --ignorable-content LIST List of content units to ignore while syncing a yum repository. Must be subset of srpm --include-tags LIST Comma-separated list of tags to sync for a container image repository --includes LIST Python packages to include from the upstream URL, names separated by newline. You may also specify versions, for example: django~=2.0. Leave empty to include every package. --label VALUE --mirror-on-sync BOOLEAN True if this repository when synced has to be mirrored from the source and stale rpms removed (Deprecated) --mirroring-policy ENUM Policy to set for mirroring content. Must be one of additive. Possible value(s): 'additive', 'mirror_complete', 'mirror_content_only' --name VALUE Name of the repository --organization VALUE Organization name to search by --organization-id NUMBER --organization-label VALUE Organization label to search by --organization-title VALUE Organization title --os-versions LIST Identifies whether the repository should be disabled on a client with a non-matching OS version. Pass [] to enable regardless of OS version. Maximum length 1; allowed tags are: rhel-6, rhel-7, rhel-8, rhel-9 --package-types LIST Package types to sync for Python content, separated by comma. Leave empty to get every package type. Package types are: bdist_dmg, bdist_dumb, bdist_egg, bdist_msi, bdist_rpm, bdist_wheel, bdist_wininst, sdist. --product VALUE Product name to search by --product-id NUMBER Product the repository belongs to --publish-via-http BOOLEAN Publish Via HTTP --retain-package-versions-count NUMBER The maximum number of versions of each package to keep. --ssl-ca-cert-id NUMBER Identifier of the content credential containing the SSL CA Cert --ssl-client-cert-id NUMBER Identifier of the content credential containing the SSL Client Cert --ssl-client-key-id NUMBER Identifier of the content credential containing the SSL Client Key --upstream-authentication-token VALUE Password of the upstream authentication token. --upstream-password VALUE Password of the upstream repository user used for authentication --upstream-username VALUE Username of the upstream repository user used for authentication --url VALUE Repository source url --verify-ssl-on-sync BOOLEAN If true, Katello will verify the upstream url's SSL certifcates are signed by a trusted CA -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
Usage:
hammer repository create [OPTIONS]
Options:
--ansible-collection-auth-token VALUE The token key to use for authentication.
--ansible-collection-auth-url VALUE The URL to receive a session token from, e.g. used with Automation Hub.
--ansible-collection-requirements VALUE Contents of requirement yaml file to sync from URL
--ansible-collection-requirements-file VALUE Location of the ansible collections requirements.yml file.
--arch VALUE Architecture of content in the repository
--checksum-type VALUE Checksum of the repository, currently 'sha1' & 'sha256' are supported
--content-type ENUM Type of repo
Possible value(s): 'ansible_collection', 'deb', 'docker', 'file', 'ostree',
'python', 'yum'
--deb-architectures VALUE Whitespace-separated list of architectures to be synced from deb-archive
--deb-components VALUE Whitespace-separated list of repo components to be synced from deb-archive
--deb-releases VALUE Whitespace-separated list of releases to be synced from deb-archive
--description VALUE Description of the repository
--docker-tags-whitelist LIST Comma-separated list of tags to sync for Container Image repository (Deprecated)
--docker-upstream-name VALUE Name of the upstream docker repository
--download-concurrency NUMBER Used to determine download concurrency of the repository in pulp3. Use value
less than 20. Defaults to 10
--download-policy ENUM Download policy for yum repos (either 'immediate' or 'on_demand')
Possible value(s): 'immediate', 'on_demand'
--exclude-tags LIST Comma-separated list of tags to exclude when syncing a container image
repository. Default: any tag ending in “-source”
--excludes LIST Python packages to exclude from the upstream URL, names separated by newline.
You may also specify versions, for example: django~=2.0.
--gpg-key-id NUMBER Id of the gpg key that will be assigned to the new repository
--http-proxy VALUE Name to search by
--http-proxy-id NUMBER ID of a HTTP Proxy
--http-proxy-policy ENUM Policies for HTTP Proxy for content sync
Possible value(s): 'global_default_http_proxy', 'none',
'use_selected_http_proxy'
--ignorable-content LIST List of content units to ignore while syncing a yum repository. Must be subset
of srpm
--include-tags LIST Comma-separated list of tags to sync for a container image repository
--includes LIST Python packages to include from the upstream URL, names separated by newline.
You may also specify versions, for example: django~=2.0. Leave empty to include
every package.
--label VALUE
--mirror-on-sync BOOLEAN True if this repository when synced has to be mirrored from the source and stale
rpms removed (Deprecated)
--mirroring-policy ENUM Policy to set for mirroring content. Must be one of additive.
Possible value(s): 'additive', 'mirror_complete', 'mirror_content_only'
--name VALUE Name of the repository
--organization VALUE Organization name to search by
--organization-id NUMBER
--organization-label VALUE Organization label to search by
--organization-title VALUE Organization title
--os-versions LIST Identifies whether the repository should be disabled on a client with a
non-matching OS version. Pass [] to enable regardless of OS version. Maximum
length 1; allowed tags are: rhel-6, rhel-7, rhel-8, rhel-9
--package-types LIST Package types to sync for Python content, separated by comma. Leave empty to get
every package type. Package types are: bdist_dmg, bdist_dumb, bdist_egg,
bdist_msi, bdist_rpm, bdist_wheel, bdist_wininst, sdist.
--product VALUE Product name to search by
--product-id NUMBER Product the repository belongs to
--publish-via-http BOOLEAN Publish Via HTTP
--retain-package-versions-count NUMBER The maximum number of versions of each package to keep.
--ssl-ca-cert-id NUMBER Identifier of the content credential containing the SSL CA Cert
--ssl-client-cert-id NUMBER Identifier of the content credential containing the SSL Client Cert
--ssl-client-key-id NUMBER Identifier of the content credential containing the SSL Client Key
--upstream-authentication-token VALUE Password of the upstream authentication token.
--upstream-password VALUE Password of the upstream repository user used for authentication
--upstream-username VALUE Username of the upstream repository user used for authentication
--url VALUE Repository source url
--verify-ssl-on-sync BOOLEAN If true, Katello will verify the upstream url's SSL certifcates are signed by a
trusted CA
-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.64.2. hammer repository delete Copy linkLink copied to clipboard!
Destroy a custom repository
Usage: hammer repository <delete|destroy> [OPTIONS] Options: --id NUMBER --name VALUE Repository name to search by --organization VALUE Organization name to search by --organization-id VALUE Organization ID to search by --organization-label VALUE Organization label to search by --product VALUE Product name to search by --product-id NUMBER Product numeric identifier --remove-from-content-view-versions BOOLEAN Force delete the repository by removing it from all content view versions -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
Usage:
hammer repository <delete|destroy> [OPTIONS]
Options:
--id NUMBER
--name VALUE Repository name to search by
--organization VALUE Organization name to search by
--organization-id VALUE Organization ID to search by
--organization-label VALUE Organization label to search by
--product VALUE Product name to search by
--product-id NUMBER Product numeric identifier
--remove-from-content-view-versions BOOLEAN Force delete the repository by removing it from all content view versions
-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.64.3. hammer repository info Copy linkLink copied to clipboard!
Show a repository
Usage: hammer repository <info|show> [OPTIONS] Options: --fields LIST Show specified fields or predefined field sets only. (See below) --id NUMBER Repository ID --name VALUE Repository name to search by --organization VALUE Organization name to search by --organization-id NUMBER Organization ID --organization-label VALUE Organization label to search by --organization-title VALUE Organization title --product VALUE Product name to search by --product-id NUMBER Product numeric identifier -h, --help Print help Predefined field sets: ----------------------------------------------|-----|---------|----- FIELDS | ALL | DEFAULT | THIN ----------------------------------------------|-----|---------|----- Id | x | x | x Name | x | x | x Label | x | x | Description | x | x | Organization | x | x | Red hat repository | x | x | Content type | x | x | Checksum type | x | x | Mirroring policy | x | x | Url | x | x | Publish via http | x | x | Published at | x | x | Relative path | x | x | Download policy | x | x | Upstream repository name | x | x | Container image tags filter | x | x | Container repository name | x | x | Ignorable content units | x | x | Http proxy/id | x | x | Http proxy/name | x | x | Http proxy/http proxy policy | x | x | Product/id | x | x | Product/name | x | x | Gpg key/id | x | x | Gpg key/name | x | x | Sync/status | x | x | Sync/last sync date | x | x | Created | x | x | Updated | x | x | Content counts/packages | x | x | Content counts/source rpms | x | x | Content counts/package groups | x | x | Content counts/errata | x | x | Content counts/container image manifest lists | x | x | Content counts/container image manifests | x | x | Content counts/container image tags | x | x | Content counts/files | x | x | Content counts/module streams | 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
Usage:
hammer repository <info|show> [OPTIONS]
Options:
--fields LIST Show specified fields or predefined field sets only. (See below)
--id NUMBER Repository ID
--name VALUE Repository name to search by
--organization VALUE Organization name to search by
--organization-id NUMBER Organization ID
--organization-label VALUE Organization label to search by
--organization-title VALUE Organization title
--product VALUE Product name to search by
--product-id NUMBER Product numeric identifier
-h, --help Print help
Predefined field sets:
----------------------------------------------|-----|---------|-----
FIELDS | ALL | DEFAULT | THIN
----------------------------------------------|-----|---------|-----
Id | x | x | x
Name | x | x | x
Label | x | x |
Description | x | x |
Organization | x | x |
Red hat repository | x | x |
Content type | x | x |
Checksum type | x | x |
Mirroring policy | x | x |
Url | x | x |
Publish via http | x | x |
Published at | x | x |
Relative path | x | x |
Download policy | x | x |
Upstream repository name | x | x |
Container image tags filter | x | x |
Container repository name | x | x |
Ignorable content units | x | x |
Http proxy/id | x | x |
Http proxy/name | x | x |
Http proxy/http proxy policy | x | x |
Product/id | x | x |
Product/name | x | x |
Gpg key/id | x | x |
Gpg key/name | x | x |
Sync/status | x | x |
Sync/last sync date | x | x |
Created | x | x |
Updated | x | x |
Content counts/packages | x | x |
Content counts/source rpms | x | x |
Content counts/package groups | x | x |
Content counts/errata | x | x |
Content counts/container image manifest lists | x | x |
Content counts/container image manifests | x | x |
Content counts/container image tags | x | x |
Content counts/files | x | x |
Content counts/module streams | 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.64.4. hammer repository list Copy linkLink copied to clipboard!
List of enabled repositories
Usage: hammer repository <list|index> [OPTIONS] Options: --ansible-collection VALUE Name to search by --ansible-collection-id VALUE Id of an ansible collection to find repositories that contain the ansible collection --archived BOOLEAN Show archived repositories --available-for VALUE Interpret specified object to return only Repositories that can be associated with specified object. Only 'content_view' & 'content_view_version' are supported. --content-type ENUM Limit to only repositories of this type Possible value(s): 'ansible_collection', 'deb', 'docker', 'file', 'ostree', 'python', 'yum' --content-view VALUE Content view name to search by --content-view-id NUMBER ID of a content view to show repositories in --content-view-version VALUE Content view version number --content-view-version-id NUMBER ID of a content view version to show repositories in --deb VALUE Name to search by --deb-id VALUE Id of a deb package to find repositories that contain the deb --description VALUE Description of the repository --download-policy ENUM Limit to only repositories with this download policy Possible value(s): 'immediate', 'on_demand' --environment VALUE Lifecycle environment name to search by (--environment is deprecated: Use --lifecycle-environment instead) --environment-id NUMBER (--environment-id is deprecated: Use --lifecycle-environment-id instead) --erratum-id VALUE Id of an erratum to find repositories that contain the erratum --fields LIST Show specified fields or predefined field sets only. (See below) --file-id VALUE Id of a file to find repositories that contain the file --full-result BOOLEAN Whether or not to show all results --label VALUE Label of the repository --library BOOLEAN Show repositories in Library and the default content view --lifecycle-environment VALUE Lifecycle environment name to search by --lifecycle-environment-id NUMBER ID of an environment to show repositories in --name VALUE Name of the repository --order VALUE Sort field and order, eg. 'id DESC' --organization VALUE Organization name to search by --organization-id NUMBER ID of an organization to show repositories in --organization-label VALUE Organization label to search by --organization-title VALUE Organization title --page NUMBER Page number, starting at 1 --per-page NUMBER Number of results per page to return --product VALUE Product name to search by --product-id NUMBER ID of a product to show repositories of --rpm-id VALUE Id of a rpm package to find repositories that contain the rpm --search VALUE Search string --username VALUE Only show the repositories readable by this user with this username --with-content ENUM Only repositories having at least one of the specified content type ex: rpm , erratum Possible value(s): 'ansible_collection', 'deb', 'docker_manifest', 'docker_manifest_list', 'docker_tag', 'docker_blob', 'file', 'ostree_ref', 'python_package', 'rpm', 'modulemd', 'erratum', 'distribution', 'package_category', 'package_group', 'yum_repo_metadata_file', 'srpm' -h, --help Print help Predefined field sets: -------------|-----|---------|----- FIELDS | ALL | DEFAULT | THIN -------------|-----|---------|----- Id | x | x | x Name | x | x | x Product | x | x | Content type | x | x | Url | 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: container_repository_name string content_label string content_type string content_view_id integer description text distribution_arch string distribution_bootable boolean distribution_family string distribution_variant string distribution_version string download_policy string label string name string product string product_id integer product_name string redhat Values: true, false
Usage:
hammer repository <list|index> [OPTIONS]
Options:
--ansible-collection VALUE Name to search by
--ansible-collection-id VALUE Id of an ansible collection to find repositories that contain the ansible
collection
--archived BOOLEAN Show archived repositories
--available-for VALUE Interpret specified object to return only Repositories that can be associated
with specified object. Only 'content_view' & 'content_view_version' are
supported.
--content-type ENUM Limit to only repositories of this type
Possible value(s): 'ansible_collection', 'deb', 'docker', 'file', 'ostree',
'python', 'yum'
--content-view VALUE Content view name to search by
--content-view-id NUMBER ID of a content view to show repositories in
--content-view-version VALUE Content view version number
--content-view-version-id NUMBER ID of a content view version to show repositories in
--deb VALUE Name to search by
--deb-id VALUE Id of a deb package to find repositories that contain the deb
--description VALUE Description of the repository
--download-policy ENUM Limit to only repositories with this download policy
Possible value(s): 'immediate', 'on_demand'
--environment VALUE Lifecycle environment name to search by (--environment is deprecated: Use
--lifecycle-environment instead)
--environment-id NUMBER (--environment-id is deprecated: Use --lifecycle-environment-id instead)
--erratum-id VALUE Id of an erratum to find repositories that contain the erratum
--fields LIST Show specified fields or predefined field sets only. (See below)
--file-id VALUE Id of a file to find repositories that contain the file
--full-result BOOLEAN Whether or not to show all results
--label VALUE Label of the repository
--library BOOLEAN Show repositories in Library and the default content view
--lifecycle-environment VALUE Lifecycle environment name to search by
--lifecycle-environment-id NUMBER ID of an environment to show repositories in
--name VALUE Name of the repository
--order VALUE Sort field and order, eg. 'id DESC'
--organization VALUE Organization name to search by
--organization-id NUMBER ID of an organization to show repositories in
--organization-label VALUE Organization label to search by
--organization-title VALUE Organization title
--page NUMBER Page number, starting at 1
--per-page NUMBER Number of results per page to return
--product VALUE Product name to search by
--product-id NUMBER ID of a product to show repositories of
--rpm-id VALUE Id of a rpm package to find repositories that contain the rpm
--search VALUE Search string
--username VALUE Only show the repositories readable by this user with this username
--with-content ENUM Only repositories having at least one of the specified content type ex: rpm ,
erratum
Possible value(s): 'ansible_collection', 'deb', 'docker_manifest',
'docker_manifest_list', 'docker_tag', 'docker_blob', 'file', 'ostree_ref',
'python_package', 'rpm', 'modulemd', 'erratum', 'distribution',
'package_category', 'package_group', 'yum_repo_metadata_file', 'srpm'
-h, --help Print help
Predefined field sets:
-------------|-----|---------|-----
FIELDS | ALL | DEFAULT | THIN
-------------|-----|---------|-----
Id | x | x | x
Name | x | x | x
Product | x | x |
Content type | x | x |
Url | 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:
container_repository_name string
content_label string
content_type string
content_view_id integer
description text
distribution_arch string
distribution_bootable boolean
distribution_family string
distribution_variant string
distribution_version string
download_policy string
label string
name string
product string
product_id integer
product_name string
redhat Values: true, false
3.64.5. hammer repository reclaim-space Copy linkLink copied to clipboard!
Reclaim space from an On Demand repository
Usage: hammer repository reclaim-space [OPTIONS] Options: --async Do not wait for the task --id NUMBER Repository ID --name VALUE Repository name to search by --organization VALUE Organization name to search by --organization-id VALUE Organization ID to search by --organization-label VALUE Organization label to search by --product VALUE Product name to search by --product-id NUMBER Product numeric identifier -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
Usage:
hammer repository reclaim-space [OPTIONS]
Options:
--async Do not wait for the task
--id NUMBER Repository ID
--name VALUE Repository name to search by
--organization VALUE Organization name to search by
--organization-id VALUE Organization ID to search by
--organization-label VALUE Organization label to search by
--product VALUE Product name to search by
--product-id NUMBER Product numeric identifier
-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.64.6. hammer repository remove-content Copy linkLink copied to clipboard!
Remove content from a repository
Usage: hammer repository remove-content [OPTIONS] Options: --content-type ENUM Content type ('deb', 'docker_manifest', 'file', 'ostree', 'rpm', 'srpm') Possible value(s): 'deb', 'docker_manifest', 'file', 'python_package', 'rpm', 'srpm' --id NUMBER Repository ID --ids LIST Array of content ids to remove --name VALUE Repository name to search by --organization VALUE Organization name to search by --organization-id VALUE Organization ID to search by --organization-label VALUE Organization label to search by --product VALUE Product name to search by --product-id NUMBER Product numeric identifier --sync-capsule BOOLEAN Whether or not to sync an external capsule after upload. Default: true -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
Usage:
hammer repository remove-content [OPTIONS]
Options:
--content-type ENUM Content type ('deb', 'docker_manifest', 'file', 'ostree', 'rpm', 'srpm')
Possible value(s): 'deb', 'docker_manifest', 'file', 'python_package', 'rpm',
'srpm'
--id NUMBER Repository ID
--ids LIST Array of content ids to remove
--name VALUE Repository name to search by
--organization VALUE Organization name to search by
--organization-id VALUE Organization ID to search by
--organization-label VALUE Organization label to search by
--product VALUE Product name to search by
--product-id NUMBER Product numeric identifier
--sync-capsule BOOLEAN Whether or not to sync an external capsule after upload. Default: true
-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.64.7. hammer repository synchronize Copy linkLink copied to clipboard!
Sync a repository
Usage: hammer repository synchronize [OPTIONS] Options: --async Do not wait for the task --id NUMBER Repository ID --incremental BOOLEAN Perform an incremental import --name VALUE Repository name to search by --organization VALUE Organization name to search by --organization-id NUMBER Organization ID --organization-label VALUE Organization label to search by --organization-title VALUE Organization title --product VALUE Product name to search by --product-id NUMBER Product numeric identifier --skip-metadata-check BOOLEAN Force sync even if no upstream changes are detected. Only used with yum repositories. --source-url VALUE Temporarily override feed URL for sync --validate-contents BOOLEAN Force a sync and validate the checksums of all content. Only used with yum repositories. -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
Usage:
hammer repository synchronize [OPTIONS]
Options:
--async Do not wait for the task
--id NUMBER Repository ID
--incremental BOOLEAN Perform an incremental import
--name VALUE Repository name to search by
--organization VALUE Organization name to search by
--organization-id NUMBER Organization ID
--organization-label VALUE Organization label to search by
--organization-title VALUE Organization title
--product VALUE Product name to search by
--product-id NUMBER Product numeric identifier
--skip-metadata-check BOOLEAN Force sync even if no upstream changes are detected. Only used with yum
repositories.
--source-url VALUE Temporarily override feed URL for sync
--validate-contents BOOLEAN Force a sync and validate the checksums of all content. Only used with yum
repositories.
-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.64.8. hammer repository update Copy linkLink copied to clipboard!
Update a repository
Usage: hammer repository update [OPTIONS] Options: --ansible-collection-auth-token VALUE The token key to use for authentication. --ansible-collection-auth-url VALUE The URL to receive a session token from, e.g. used with Automation Hub. --ansible-collection-requirements VALUE Contents of requirement yaml file to sync from URL --ansible-collection-requirements-file VALUE Location of the ansible collections requirements.yml file. --arch VALUE Architecture of content in the repository --checksum-type VALUE Checksum of the repository, currently 'sha1' & 'sha256' are supported --deb-architectures VALUE Whitespace-separated list of architectures to be synced from deb-archive --deb-components VALUE Whitespace-separated list of repo components to be synced from deb-archive --deb-releases VALUE Whitespace-separated list of releases to be synced from deb-archive --description VALUE Description of the repository --docker-digest VALUE Container Image manifest digest --docker-tag VALUE Container Image tag --docker-tags-whitelist LIST Comma-separated list of tags to sync for Container Image repository (Deprecated) --docker-upstream-name VALUE Name of the upstream docker repository --download-concurrency NUMBER Used to determine download concurrency of the repository in pulp3. Use value less than 20. Defaults to 10 --download-policy ENUM Download policy for yum repos (either 'immediate' or 'on_demand') Possible value(s): 'immediate', 'on_demand' --exclude-tags LIST Comma-separated list of tags to exclude when syncing a container image repository. Default: any tag ending in “-source” --excludes LIST Python packages to exclude from the upstream URL, names separated by newline. You may also specify versions, for example: django~=2.0. --gpg-key-id NUMBER Id of the gpg key that will be assigned to the new repository --http-proxy VALUE Name to search by --http-proxy-id NUMBER ID of a HTTP Proxy --http-proxy-policy ENUM Policies for HTTP Proxy for content sync Possible value(s): 'global_default_http_proxy', 'none', 'use_selected_http_proxy' --id NUMBER Repository ID --ignorable-content LIST List of content units to ignore while syncing a yum repository. Must be subset of srpm --include-tags LIST Comma-separated list of tags to sync for a container image repository --includes LIST Python packages to include from the upstream URL, names separated by newline. You may also specify versions, for example: django~=2.0. Leave empty to include every package. --mirror-on-sync BOOLEAN True if this repository when synced has to be mirrored from the source and stale rpms removed (Deprecated) --mirroring-policy ENUM Policy to set for mirroring content. Must be one of additive. Possible value(s): 'additive', 'mirror_complete', 'mirror_content_only' --name VALUE --new-name VALUE --organization VALUE Organization name to search by --organization-id VALUE Organization ID to search by --organization-label VALUE Organization label to search by --os-versions LIST Identifies whether the repository should be disabled on a client with a non-matching OS version. Pass [] to enable regardless of OS version. Maximum length 1; allowed tags are: rhel-6, rhel-7, rhel-8, rhel-9 --package-types LIST Package types to sync for Python content, separated by comma. Leave empty to get every package type. Package types are: bdist_dmg, bdist_dumb, bdist_egg, bdist_msi, bdist_rpm, bdist_wheel, bdist_wininst, sdist. --product VALUE Product name to search by --product-id NUMBER Product numeric identifier --publish-via-http BOOLEAN Publish Via HTTP --retain-package-versions-count NUMBER The maximum number of versions of each package to keep. --ssl-ca-cert-id NUMBER Identifier of the content credential containing the SSL CA Cert --ssl-client-cert-id NUMBER Identifier of the content credential containing the SSL Client Cert --ssl-client-key-id NUMBER Identifier of the content credential containing the SSL Client Key --upstream-authentication-token VALUE Password of the upstream authentication token. --upstream-password VALUE Password of the upstream repository user used for authentication --upstream-username VALUE Username of the upstream repository user used for authentication --url VALUE Repository source url --verify-ssl-on-sync BOOLEAN If true, Katello will verify the upstream url's SSL certifcates are signed by a trusted CA -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
Usage:
hammer repository update [OPTIONS]
Options:
--ansible-collection-auth-token VALUE The token key to use for authentication.
--ansible-collection-auth-url VALUE The URL to receive a session token from, e.g. used with Automation Hub.
--ansible-collection-requirements VALUE Contents of requirement yaml file to sync from URL
--ansible-collection-requirements-file VALUE Location of the ansible collections requirements.yml file.
--arch VALUE Architecture of content in the repository
--checksum-type VALUE Checksum of the repository, currently 'sha1' & 'sha256' are supported
--deb-architectures VALUE Whitespace-separated list of architectures to be synced from deb-archive
--deb-components VALUE Whitespace-separated list of repo components to be synced from deb-archive
--deb-releases VALUE Whitespace-separated list of releases to be synced from deb-archive
--description VALUE Description of the repository
--docker-digest VALUE Container Image manifest digest
--docker-tag VALUE Container Image tag
--docker-tags-whitelist LIST Comma-separated list of tags to sync for Container Image repository (Deprecated)
--docker-upstream-name VALUE Name of the upstream docker repository
--download-concurrency NUMBER Used to determine download concurrency of the repository in pulp3. Use value
less than 20. Defaults to 10
--download-policy ENUM Download policy for yum repos (either 'immediate' or 'on_demand')
Possible value(s): 'immediate', 'on_demand'
--exclude-tags LIST Comma-separated list of tags to exclude when syncing a container image
repository. Default: any tag ending in “-source”
--excludes LIST Python packages to exclude from the upstream URL, names separated by newline.
You may also specify versions, for example: django~=2.0.
--gpg-key-id NUMBER Id of the gpg key that will be assigned to the new repository
--http-proxy VALUE Name to search by
--http-proxy-id NUMBER ID of a HTTP Proxy
--http-proxy-policy ENUM Policies for HTTP Proxy for content sync
Possible value(s): 'global_default_http_proxy', 'none',
'use_selected_http_proxy'
--id NUMBER Repository ID
--ignorable-content LIST List of content units to ignore while syncing a yum repository. Must be subset
of srpm
--include-tags LIST Comma-separated list of tags to sync for a container image repository
--includes LIST Python packages to include from the upstream URL, names separated by newline.
You may also specify versions, for example: django~=2.0. Leave empty to include
every package.
--mirror-on-sync BOOLEAN True if this repository when synced has to be mirrored from the source and stale
rpms removed (Deprecated)
--mirroring-policy ENUM Policy to set for mirroring content. Must be one of additive.
Possible value(s): 'additive', 'mirror_complete', 'mirror_content_only'
--name VALUE
--new-name VALUE
--organization VALUE Organization name to search by
--organization-id VALUE Organization ID to search by
--organization-label VALUE Organization label to search by
--os-versions LIST Identifies whether the repository should be disabled on a client with a
non-matching OS version. Pass [] to enable regardless of OS version. Maximum
length 1; allowed tags are: rhel-6, rhel-7, rhel-8, rhel-9
--package-types LIST Package types to sync for Python content, separated by comma. Leave empty to get
every package type. Package types are: bdist_dmg, bdist_dumb, bdist_egg,
bdist_msi, bdist_rpm, bdist_wheel, bdist_wininst, sdist.
--product VALUE Product name to search by
--product-id NUMBER Product numeric identifier
--publish-via-http BOOLEAN Publish Via HTTP
--retain-package-versions-count NUMBER The maximum number of versions of each package to keep.
--ssl-ca-cert-id NUMBER Identifier of the content credential containing the SSL CA Cert
--ssl-client-cert-id NUMBER Identifier of the content credential containing the SSL Client Cert
--ssl-client-key-id NUMBER Identifier of the content credential containing the SSL Client Key
--upstream-authentication-token VALUE Password of the upstream authentication token.
--upstream-password VALUE Password of the upstream repository user used for authentication
--upstream-username VALUE Username of the upstream repository user used for authentication
--url VALUE Repository source url
--verify-ssl-on-sync BOOLEAN If true, Katello will verify the upstream url's SSL certifcates are signed by a
trusted CA
-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.64.9. hammer repository upload-content Copy linkLink copied to clipboard!
Upload content into the repository
Usage: hammer repository upload-content [OPTIONS] Options: --content-type ENUM Content type ('deb', 'docker_manifest', 'file', 'ostree', 'rpm', 'srpm') Possible value(s): 'deb', 'docker_manifest', 'file', 'ostree_ref', 'python_package', 'rpm', 'srpm' --fields LIST Show specified fields or predefined field sets only. (See below) --id NUMBER Repository ID --name VALUE Repository name to search by --organization VALUE Organization name to search by --organization-id NUMBER Organization ID --organization-label VALUE Organization label to search by --organization-title VALUE Organization title --ostree-repository-name VALUE Name of OSTree repository in archive. --path FILE Upload file, directory of files, or glob of files as content for a repository. Globs must be escaped by single or double quotes --product VALUE Product name to search by --product-id NUMBER Product numeric identifier -h, --help Print help Predefined field sets: ------ FIELDS ------ 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
Usage:
hammer repository upload-content [OPTIONS]
Options:
--content-type ENUM Content type ('deb', 'docker_manifest', 'file', 'ostree', 'rpm', 'srpm')
Possible value(s): 'deb', 'docker_manifest', 'file', 'ostree_ref',
'python_package', 'rpm', 'srpm'
--fields LIST Show specified fields or predefined field sets only. (See below)
--id NUMBER Repository ID
--name VALUE Repository name to search by
--organization VALUE Organization name to search by
--organization-id NUMBER Organization ID
--organization-label VALUE Organization label to search by
--organization-title VALUE Organization title
--ostree-repository-name VALUE Name of OSTree repository in archive.
--path FILE Upload file, directory of files, or glob of files as content for a repository.
Globs must be escaped by single or double quotes
--product VALUE Product name to search by
--product-id NUMBER Product numeric identifier
-h, --help Print help
Predefined field sets:
------
FIELDS
------
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.65. hammer repository-set Copy linkLink copied to clipboard!
Manipulate repository sets on the server
Usage: hammer repository-set [OPTIONS] SUBCOMMAND [ARG] ... Parameters: SUBCOMMAND Subcommand [ARG] ... Subcommand arguments Subcommands: available-repositories Get list of available repositories for the repository set disable Disable a repository from the set enable Enable a repository from the set info, show Get info about a repository set list, index List repository sets. Options: -h, --help Print help
Usage:
hammer repository-set [OPTIONS] SUBCOMMAND [ARG] ...
Parameters:
SUBCOMMAND Subcommand
[ARG] ... Subcommand arguments
Subcommands:
available-repositories Get list of available repositories for the repository set
disable Disable a repository from the set
enable Enable a repository from the set
info, show Get info about a repository set
list, index List repository sets.
Options:
-h, --help Print help
3.65.1. hammer repository-set available-repositories Copy linkLink copied to clipboard!
Get list of available repositories for the repository set
Usage: hammer repository-set available-repositories [OPTIONS] Options: --fields LIST Show specified fields or predefined field sets only. (See below) --id NUMBER ID of the repository set --name VALUE Repository set name to search by --organization VALUE Organization name to search by --organization-id NUMBER Organization identifier --organization-label VALUE Organization label to search by --organization-title VALUE Organization title --product VALUE Product name to search by --product-id NUMBER ID of a product to list repository sets from -h, --help Print help Predefined field sets: --------------|-----|---------|----- FIELDS | ALL | DEFAULT | THIN --------------|-----|---------|----- Name | x | x | x Arch | x | x | Release | x | x | Registry name | x | x | Enabled | 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
Usage:
hammer repository-set available-repositories [OPTIONS]
Options:
--fields LIST Show specified fields or predefined field sets only. (See below)
--id NUMBER ID of the repository set
--name VALUE Repository set name to search by
--organization VALUE Organization name to search by
--organization-id NUMBER Organization identifier
--organization-label VALUE Organization label to search by
--organization-title VALUE Organization title
--product VALUE Product name to search by
--product-id NUMBER ID of a product to list repository sets from
-h, --help Print help
Predefined field sets:
--------------|-----|---------|-----
FIELDS | ALL | DEFAULT | THIN
--------------|-----|---------|-----
Name | x | x | x
Arch | x | x |
Release | x | x |
Registry name | x | x |
Enabled | 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.65.2. hammer repository-set disable Copy linkLink copied to clipboard!
Disable a repository from the set
Usage: hammer repository-set disable [OPTIONS] Options: --basearch VALUE Basearch to disable --id NUMBER ID of the repository set to disable --name VALUE Repository set name to search by --organization VALUE Organization name to search by --organization-id NUMBER Organization identifier --organization-label VALUE Organization label to search by --organization-title VALUE Organization title --product VALUE Product name to search by --product-id NUMBER ID of the product containing the repository set --releasever VALUE Releasever to disable --repository VALUE Repository name to search by --repository-id NUMBER ID of the repository within the set to disable -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
Usage:
hammer repository-set disable [OPTIONS]
Options:
--basearch VALUE Basearch to disable
--id NUMBER ID of the repository set to disable
--name VALUE Repository set name to search by
--organization VALUE Organization name to search by
--organization-id NUMBER Organization identifier
--organization-label VALUE Organization label to search by
--organization-title VALUE Organization title
--product VALUE Product name to search by
--product-id NUMBER ID of the product containing the repository set
--releasever VALUE Releasever to disable
--repository VALUE Repository name to search by
--repository-id NUMBER ID of the repository within the set to disable
-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.65.3. hammer repository-set enable Copy linkLink copied to clipboard!
Enable a repository from the set
Usage: hammer repository-set enable [OPTIONS] Options: --basearch VALUE Basearch to enable --id NUMBER ID of the repository set to enable --name VALUE Repository set name to search by --organization VALUE Organization name to search by --organization-id NUMBER Organization identifier --organization-label VALUE Organization label to search by --organization-title VALUE Organization title --product VALUE Product name to search by --product-id NUMBER ID of the product containing the repository set --releasever VALUE Releasever to enable -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
Usage:
hammer repository-set enable [OPTIONS]
Options:
--basearch VALUE Basearch to enable
--id NUMBER ID of the repository set to enable
--name VALUE Repository set name to search by
--organization VALUE Organization name to search by
--organization-id NUMBER Organization identifier
--organization-label VALUE Organization label to search by
--organization-title VALUE Organization title
--product VALUE Product name to search by
--product-id NUMBER ID of the product containing the repository set
--releasever VALUE Releasever to enable
-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.65.4. hammer repository-set info Copy linkLink copied to clipboard!
Get info about a repository set
Usage: hammer repository-set <info|show> [OPTIONS] Options: --fields LIST Show specified fields or predefined field sets only. (See below) --id NUMBER ID of the repository set --name VALUE Repository set name to search by --organization VALUE Organization name to search by --organization-id NUMBER Organization identifier --organization-label VALUE Organization label to search by --organization-title VALUE Organization title --product VALUE Product name to search by --product-id NUMBER ID of a product to list repository sets from -h, --help Print help Predefined field sets: --------------------------|-----|---------|----- FIELDS | ALL | DEFAULT | THIN --------------------------|-----|---------|----- Id | x | x | x Name | x | x | x Type | x | x | Url | x | x | Gpg key | x | x | Label | x | x | Enabled repositories/id | x | x | Enabled repositories/name | 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
Usage:
hammer repository-set <info|show> [OPTIONS]
Options:
--fields LIST Show specified fields or predefined field sets only. (See below)
--id NUMBER ID of the repository set
--name VALUE Repository set name to search by
--organization VALUE Organization name to search by
--organization-id NUMBER Organization identifier
--organization-label VALUE Organization label to search by
--organization-title VALUE Organization title
--product VALUE Product name to search by
--product-id NUMBER ID of a product to list repository sets from
-h, --help Print help
Predefined field sets:
--------------------------|-----|---------|-----
FIELDS | ALL | DEFAULT | THIN
--------------------------|-----|---------|-----
Id | x | x | x
Name | x | x | x
Type | x | x |
Url | x | x |
Gpg key | x | x |
Label | x | x |
Enabled repositories/id | x | x |
Enabled repositories/name | 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.65.5. hammer repository-set list Copy linkLink copied to clipboard!
List repository sets.
Usage: hammer repository-set <list|index> [OPTIONS] Options: --activation-key VALUE Activation key name to search by --activation-key-id NUMBER Activation key identifier --content-access-mode-all BOOLEAN Get all content available, not just that provided by subscriptions. --content-access-mode-env BOOLEAN Limit content to just that available in the host's or activation key's content view version and lifecycle environment. --enabled BOOLEAN If true, only return repository sets that have been enabled. Defaults to false --fields LIST Show specified fields or predefined field sets only. (See below) --full-result BOOLEAN Whether or not to show all results --host VALUE Host name --host-id NUMBER Id of the host --name VALUE Repository set name to search on --order VALUE Sort field and order, eg. 'id DESC' --organization VALUE Organization name to search by --organization-id NUMBER Organization identifier --organization-label VALUE Organization label to search by --organization-title VALUE Organization title --page NUMBER Page number, starting at 1 --per-page NUMBER Number of results per page to return --product VALUE Product name to search by --product-id NUMBER ID of a product to list repository sets from --search VALUE Search string --with-active-subscription BOOLEAN If true, only return repository sets that are associated with an active subscriptions --with-custom BOOLEAN If true, return custom repository sets along with redhat repos -h, --help Print help Predefined field sets: -------|-----|---------|----- FIELDS | ALL | DEFAULT | THIN -------|-----|---------|----- Id | x | x | x Type | x | x | Name | 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: content_label string content_type string enabled_by_default Values: true, false label string name string path string product_id integer product_name string
Usage:
hammer repository-set <list|index> [OPTIONS]
Options:
--activation-key VALUE Activation key name to search by
--activation-key-id NUMBER Activation key identifier
--content-access-mode-all BOOLEAN Get all content available, not just that provided by subscriptions.
--content-access-mode-env BOOLEAN Limit content to just that available in the host's or activation key's content
view version and lifecycle environment.
--enabled BOOLEAN If true, only return repository sets that have been enabled. Defaults to false
--fields LIST Show specified fields or predefined field sets only. (See below)
--full-result BOOLEAN Whether or not to show all results
--host VALUE Host name
--host-id NUMBER Id of the host
--name VALUE Repository set name to search on
--order VALUE Sort field and order, eg. 'id DESC'
--organization VALUE Organization name to search by
--organization-id NUMBER Organization identifier
--organization-label VALUE Organization label to search by
--organization-title VALUE Organization title
--page NUMBER Page number, starting at 1
--per-page NUMBER Number of results per page to return
--product VALUE Product name to search by
--product-id NUMBER ID of a product to list repository sets from
--search VALUE Search string
--with-active-subscription BOOLEAN If true, only return repository sets that are associated with an active
subscriptions
--with-custom BOOLEAN If true, return custom repository sets along with redhat repos
-h, --help Print help
Predefined field sets:
-------|-----|---------|-----
FIELDS | ALL | DEFAULT | THIN
-------|-----|---------|-----
Id | x | x | x
Type | x | x |
Name | 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:
content_label string
content_type string
enabled_by_default Values: true, false
label string
name string
path string
product_id integer
product_name string
3.66. hammer role Copy linkLink copied to clipboard!
Manage user roles
Usage: hammer role [OPTIONS] SUBCOMMAND [ARG] ... Parameters: SUBCOMMAND Subcommand [ARG] ... Subcommand arguments Subcommands: clone Clone a role create Create a role delete, destroy Delete a role filters List all filters info, show Show a role list, index List all roles update Update a role Options: -h, --help Print help
Usage:
hammer role [OPTIONS] SUBCOMMAND [ARG] ...
Parameters:
SUBCOMMAND Subcommand
[ARG] ... Subcommand arguments
Subcommands:
clone Clone a role
create Create a role
delete, destroy Delete a role
filters List all filters
info, show Show a role
list, index List all roles
update Update a role
Options:
-h, --help Print help
3.66.1. hammer role clone Copy linkLink copied to clipboard!
Clone a role
Usage: hammer role clone [OPTIONS] Options: --description VALUE Role description --id 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 REPLACE locations with given ids --location-title VALUE Set the current location context for the request --location-titles LIST --locations LIST --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 REPLACE organizations with given ids. --organization-title VALUE Set the current organization context for the request --organization-titles LIST --organizations 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
Usage:
hammer role clone [OPTIONS]
Options:
--description VALUE Role description
--id 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 REPLACE locations with given ids
--location-title VALUE Set the current location context for the request
--location-titles LIST
--locations LIST
--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 REPLACE organizations with given ids.
--organization-title VALUE Set the current organization context for the request
--organization-titles LIST
--organizations 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.66.2. hammer role create Copy linkLink copied to clipboard!
Create a role
Usage: hammer role create [OPTIONS] Options: --description VALUE Role description --location VALUE Set the current location context for the request --location-id NUMBER Set the current location context for the request --location-ids LIST REPLACE locations with given ids --location-title VALUE Set the current location context for the request --location-titles LIST --locations LIST --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 REPLACE organizations with given ids. --organization-title VALUE Set the current organization context for the request --organization-titles LIST --organizations 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
Usage:
hammer role create [OPTIONS]
Options:
--description VALUE Role description
--location VALUE Set the current location context for the request
--location-id NUMBER Set the current location context for the request
--location-ids LIST REPLACE locations with given ids
--location-title VALUE Set the current location context for the request
--location-titles LIST
--locations LIST
--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 REPLACE organizations with given ids.
--organization-title VALUE Set the current organization context for the request
--organization-titles LIST
--organizations 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.66.3. hammer role delete Copy linkLink copied to clipboard!
Delete a role
Usage: hammer role <delete|destroy> [OPTIONS] Options: --id VALUE --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 User role name --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 -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
Usage:
hammer role <delete|destroy> [OPTIONS]
Options:
--id VALUE
--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 User role name
--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
-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.66.4. hammer role filters Copy linkLink copied to clipboard!
List all filters
Usage: hammer role filters [OPTIONS] Options: --fields LIST Show specified fields or predefined field sets only. (See below) --id VALUE User role id --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 User role name --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 -h, --help Print help Predefined field sets: --------------|-----|---------|----- FIELDS | ALL | DEFAULT | THIN --------------|-----|---------|----- Id | x | x | x Resource type | x | x | Search | x | x | Unlimited? | x | x | Override? | x | x | Role | x | x | Permissions | 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
Usage:
hammer role filters [OPTIONS]
Options:
--fields LIST Show specified fields or predefined field sets only. (See below)
--id VALUE User role id
--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 User role name
--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
-h, --help Print help
Predefined field sets:
--------------|-----|---------|-----
FIELDS | ALL | DEFAULT | THIN
--------------|-----|---------|-----
Id | x | x | x
Resource type | x | x |
Search | x | x |
Unlimited? | x | x |
Override? | x | x |
Role | x | x |
Permissions | 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.66.5. hammer role info Copy linkLink copied to clipboard!
Show a role
Usage: hammer role <info|show> [OPTIONS] Options: --description VALUE --fields LIST Show specified fields or predefined field sets only. (See below) --id VALUE --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 User role name --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 -h, --help Print help Predefined field sets: ---------------|-----|---------|----- FIELDS | ALL | DEFAULT | THIN ---------------|-----|---------|----- Id | x | x | x Name | x | x | x Builtin | x | x | Description | x | x | Locations/ | x | x | Organizations/ | 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
Usage:
hammer role <info|show> [OPTIONS]
Options:
--description VALUE
--fields LIST Show specified fields or predefined field sets only. (See below)
--id VALUE
--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 User role name
--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
-h, --help Print help
Predefined field sets:
---------------|-----|---------|-----
FIELDS | ALL | DEFAULT | THIN
---------------|-----|---------|-----
Id | x | x | x
Name | x | x | x
Builtin | x | x |
Description | x | x |
Locations/ | x | x |
Organizations/ | 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.66.6. hammer role list Copy linkLink copied to clipboard!
List all roles
Usage: hammer role <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 Name | x | x | x Builtin | 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: builtin Values: true, false description text name string permission string
Usage:
hammer role <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
Name | x | x | x
Builtin | 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:
builtin Values: true, false
description text
name string
permission string
3.66.7. hammer role update Copy linkLink copied to clipboard!
Update a role
Usage: hammer role update [OPTIONS] Options: --description VALUE Role description --id 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 REPLACE locations with given ids --location-title VALUE Set the current location context for the request --location-titles LIST --locations LIST --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 REPLACE organizations with given ids. --organization-title VALUE Set the current organization context for the request --organization-titles LIST --organizations 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
Usage:
hammer role update [OPTIONS]
Options:
--description VALUE Role description
--id 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 REPLACE locations with given ids
--location-title VALUE Set the current location context for the request
--location-titles LIST
--locations LIST
--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 REPLACE organizations with given ids.
--organization-title VALUE Set the current organization context for the request
--organization-titles LIST
--organizations 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.67. hammer scap-content Copy linkLink copied to clipboard!
Manipulate SCAP contents
Usage: hammer scap-content [OPTIONS] SUBCOMMAND [ARG] ... Parameters: SUBCOMMAND Subcommand [ARG] ... Subcommand arguments Subcommands: bulk-upload Upload scap contents in bulk create Create SCAP content delete, destroy Deletes an SCAP content download Download an SCAP content as XML info, show Show an SCAP content list, index List SCAP contents update Update an SCAP content Options: -h, --help Print help
Usage:
hammer scap-content [OPTIONS] SUBCOMMAND [ARG] ...
Parameters:
SUBCOMMAND Subcommand
[ARG] ... Subcommand arguments
Subcommands:
bulk-upload Upload scap contents in bulk
create Create SCAP content
delete, destroy Deletes an SCAP content
download Download an SCAP content as XML
info, show Show an SCAP content
list, index List SCAP contents
update Update an SCAP content
Options:
-h, --help Print help
3.67.1. hammer scap-content bulk-upload Copy linkLink copied to clipboard!
Upload scap contents in bulk
Usage: hammer scap-content bulk-upload [OPTIONS] Options: --directory VALUE Directory to upload when using “directory” upload type --files LIST File paths to upload when using “files” upload type --location VALUE Name to search by --location-id NUMBER Set the current location context for the request --organization VALUE Name to search by --organization-id NUMBER Set the current organization context for the request --type ENUM Type of the upload Possible value(s): 'files', 'directory', 'default' -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
Usage:
hammer scap-content bulk-upload [OPTIONS]
Options:
--directory VALUE Directory to upload when using “directory” upload type
--files LIST File paths to upload when using “files” upload type
--location VALUE Name to search by
--location-id NUMBER Set the current location context for the request
--organization VALUE Name to search by
--organization-id NUMBER Set the current organization context for the request
--type ENUM Type of the upload
Possible value(s): 'files', 'directory', 'default'
-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.67.2. hammer scap-content create Copy linkLink copied to clipboard!
Create SCAP content
Usage: hammer scap-content create [OPTIONS] Options: --location VALUE Name to search by --location-id NUMBER Set the current location context for the request --location-ids LIST REPLACE locations with given ids --locations LIST --organization VALUE Name to search by --organization-id NUMBER Set the current organization context for the request --organization-ids LIST REPLACE organizations with given ids. --organizations LIST --original-filename VALUE Original file name of the XML file --scap-file FILE SCAP content file --title VALUE SCAP content 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
Usage:
hammer scap-content create [OPTIONS]
Options:
--location VALUE Name to search by
--location-id NUMBER Set the current location context for the request
--location-ids LIST REPLACE locations with given ids
--locations LIST
--organization VALUE Name to search by
--organization-id NUMBER Set the current organization context for the request
--organization-ids LIST REPLACE organizations with given ids.
--organizations LIST
--original-filename VALUE Original file name of the XML file
--scap-file FILE SCAP content file
--title VALUE SCAP content 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
3.67.3. hammer scap-content delete Copy linkLink copied to clipboard!
Deletes an SCAP content
Usage: hammer scap-content <delete|destroy> [OPTIONS] Options: --id VALUE --location VALUE Name to search by --location-id NUMBER Set the current location context for the request --organization VALUE Name to search by --organization-id NUMBER Set the current organization context for the request --title VALUE SCAP content title -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
Usage:
hammer scap-content <delete|destroy> [OPTIONS]
Options:
--id VALUE
--location VALUE Name to search by
--location-id NUMBER Set the current location context for the request
--organization VALUE Name to search by
--organization-id NUMBER Set the current organization context for the request
--title VALUE SCAP content title
-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.67.4. hammer scap-content download Copy linkLink copied to clipboard!
Download an SCAP content as XML
Usage: hammer scap-content download [OPTIONS] Options: --id VALUE --location VALUE Name to search by --location-id NUMBER Set the current location context for the request --organization VALUE Name to search by --organization-id NUMBER Set the current organization context for the request --path VALUE Path to directory where downloaded file will be saved --title VALUE SCAP content title -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
Usage:
hammer scap-content download [OPTIONS]
Options:
--id VALUE
--location VALUE Name to search by
--location-id NUMBER Set the current location context for the request
--organization VALUE Name to search by
--organization-id NUMBER Set the current organization context for the request
--path VALUE Path to directory where downloaded file will be saved
--title VALUE SCAP content title
-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.67.5. hammer scap-content info Copy linkLink copied to clipboard!
Show an SCAP content
Usage: hammer scap-content <info|show> [OPTIONS] Options: --fields LIST Show specified fields or predefined field sets only. (See below) --id VALUE --location VALUE Name to search by --location-id NUMBER Set the current location context for the request --organization VALUE Name to search by --organization-id NUMBER Set the current organization context for the request --title VALUE SCAP content title -h, --help Print help Predefined field sets: ---------------------------------|-----|---------|----- FIELDS | ALL | DEFAULT | THIN ---------------------------------|-----|---------|----- Id | x | x | x Title | x | x | x Digest | x | x | Created at | x | x | Original filename | x | x | Scap content profiles/id | x | x | Scap content profiles/profile id | x | x | Scap content profiles/title | x | x | Locations/ | x | x | Organizations/ | 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
Usage:
hammer scap-content <info|show> [OPTIONS]
Options:
--fields LIST Show specified fields or predefined field sets only. (See below)
--id VALUE
--location VALUE Name to search by
--location-id NUMBER Set the current location context for the request
--organization VALUE Name to search by
--organization-id NUMBER Set the current organization context for the request
--title VALUE SCAP content title
-h, --help Print help
Predefined field sets:
---------------------------------|-----|---------|-----
FIELDS | ALL | DEFAULT | THIN
---------------------------------|-----|---------|-----
Id | x | x | x
Title | x | x | x
Digest | x | x |
Created at | x | x |
Original filename | x | x |
Scap content profiles/id | x | x |
Scap content profiles/profile id | x | x |
Scap content profiles/title | x | x |
Locations/ | x | x |
Organizations/ | 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.67.6. hammer scap-content list Copy linkLink copied to clipboard!
List SCAP contents
Usage: hammer scap-content <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 Digest | 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: created_at datetime filename string location string location_id integer organization string organization_id integer title string
Usage:
hammer scap-content <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
Digest | 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:
created_at datetime
filename string
location string
location_id integer
organization string
organization_id integer
title string
3.67.7. hammer scap-content update Copy linkLink copied to clipboard!
Update an SCAP content
Usage: hammer scap-content update [OPTIONS] Options: --id VALUE --location VALUE Name to search by --location-id NUMBER Set the current location context for the request --location-ids LIST REPLACE locations with given ids --locations LIST --new-title VALUE SCAP content name --organization VALUE Name to search by --organization-id NUMBER Set the current organization context for the request --organization-ids LIST REPLACE organizations with given ids. --organizations LIST --original-filename VALUE Original file name of the XML file --scap-file FILE SCAP content file --title VALUE SCAP content 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
Usage:
hammer scap-content update [OPTIONS]
Options:
--id VALUE
--location VALUE Name to search by
--location-id NUMBER Set the current location context for the request
--location-ids LIST REPLACE locations with given ids
--locations LIST
--new-title VALUE SCAP content name
--organization VALUE Name to search by
--organization-id NUMBER Set the current organization context for the request
--organization-ids LIST REPLACE organizations with given ids.
--organizations LIST
--original-filename VALUE Original file name of the XML file
--scap-file FILE SCAP content file
--title VALUE SCAP content 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
3.68. hammer scap-content-profile Copy linkLink copied to clipboard!
Manipulate Scap Content Profiles
Usage: hammer scap-content-profile [OPTIONS] SUBCOMMAND [ARG] ... Parameters: SUBCOMMAND Subcommand [ARG] ... Subcommand arguments Subcommands: list, index List SCAP content profiles Options: -h, --help Print help
Usage:
hammer scap-content-profile [OPTIONS] SUBCOMMAND [ARG] ...
Parameters:
SUBCOMMAND Subcommand
[ARG] ... Subcommand arguments
Subcommands:
list, index List SCAP content profiles
Options:
-h, --help Print help
3.68.1. hammer scap-content-profile list Copy linkLink copied to clipboard!
List SCAP content profiles
Usage: hammer scap-content-profile <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 | Profile id | x | x | Scap content id | x | x | Scap content title | x | x | Tailoring file id | x | x | Tailoring file name | 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: profile_id string title string
Usage:
hammer scap-content-profile <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 |
Profile id | x | x |
Scap content id | x | x |
Scap content title | x | x |
Tailoring file id | x | x |
Tailoring file name | 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:
profile_id string
title string
3.69. hammer settings Copy linkLink copied to clipboard!
Change server settings
Usage: hammer settings [OPTIONS] SUBCOMMAND [ARG] ... Parameters: SUBCOMMAND Subcommand [ARG] ... Subcommand arguments Subcommands: info, show Show a setting list, index List all settings set Update a setting Options: -h, --help Print help
Usage:
hammer settings [OPTIONS] SUBCOMMAND [ARG] ...
Parameters:
SUBCOMMAND Subcommand
[ARG] ... Subcommand arguments
Subcommands:
info, show Show a setting
list, index List all settings
set Update a setting
Options:
-h, --help Print help
3.69.1. hammer settings info Copy linkLink copied to clipboard!
Show a setting
Usage: hammer settings <info|show> [OPTIONS] Options: --fields LIST Show specified fields or predefined field sets only. (See below) --id VALUE --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 Setting name --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 -h, --help Print help Predefined field sets: --------------|-----|---------|----- FIELDS | ALL | DEFAULT | THIN --------------|-----|---------|----- Id | x | x | x Name | x | x | x Description | x | x | Category | x | x | Settings type | x | x | Value | 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
Usage:
hammer settings <info|show> [OPTIONS]
Options:
--fields LIST Show specified fields or predefined field sets only. (See below)
--id VALUE
--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 Setting name
--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
-h, --help Print help
Predefined field sets:
--------------|-----|---------|-----
FIELDS | ALL | DEFAULT | THIN
--------------|-----|---------|-----
Id | x | x | x
Name | x | x | x
Description | x | x |
Category | x | x |
Settings type | x | x |
Value | 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.69.2. hammer settings list Copy linkLink copied to clipboard!
List all settings
Usage: hammer settings <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 Name | x | x | x Full name | x | x | Value | 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 name string
Usage:
hammer settings <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
Name | x | x | x
Full name | x | x |
Value | 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
name string
3.69.3. hammer settings set Copy linkLink copied to clipboard!
Update a setting
Usage: hammer settings set [OPTIONS] Options: --id VALUE --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 Setting name --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 --value 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
Usage:
hammer settings set [OPTIONS]
Options:
--id VALUE
--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 Setting name
--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
--value 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.70. hammer shell Copy linkLink copied to clipboard!
Interactive shell
Usage: hammer shell [OPTIONS] Options: -h, --help Print help
Usage:
hammer shell [OPTIONS]
Options:
-h, --help Print help
3.71. hammer simple-content-access Copy linkLink copied to clipboard!
Simple content access commands
Usage: hammer simple-content-access [OPTIONS] SUBCOMMAND [ARG] ... Parameters: SUBCOMMAND Subcommand [ARG] ... Subcommand arguments Subcommands: disable Disable simple content access for a manifest enable Enable simple content access for a manifest Options: -h, --help Print help Unfortunately the server does not support such operation.
Usage:
hammer simple-content-access [OPTIONS] SUBCOMMAND [ARG] ...
Parameters:
SUBCOMMAND Subcommand
[ARG] ... Subcommand arguments
Subcommands:
disable Disable simple content access for a manifest
enable Enable simple content access for a manifest
Options:
-h, --help Print help
Unfortunately the server does not support such operation.
3.71.1. hammer simple-content-access disable Copy linkLink copied to clipboard!
Disable simple content access for a manifest
Usage: hammer simple-content-access disable [OPTIONS] Options: --async Do not wait for the task --organization VALUE Organization name to search by --organization-id NUMBER Organization ID --organization-label VALUE Organization label to search by --organization-title VALUE Organization title -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
Usage:
hammer simple-content-access disable [OPTIONS]
Options:
--async Do not wait for the task
--organization VALUE Organization name to search by
--organization-id NUMBER Organization ID
--organization-label VALUE Organization label to search by
--organization-title VALUE Organization title
-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.71.2. hammer simple-content-access enable Copy linkLink copied to clipboard!
Enable simple content access for a manifest
Usage: hammer simple-content-access enable [OPTIONS] Options: --async Do not wait for the task --organization VALUE Organization name to search by --organization-id NUMBER Organization ID --organization-label VALUE Organization label to search by --organization-title VALUE Organization title -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
Usage:
hammer simple-content-access enable [OPTIONS]
Options:
--async Do not wait for the task
--organization VALUE Organization name to search by
--organization-id NUMBER Organization ID
--organization-label VALUE Organization label to search by
--organization-title VALUE Organization title
-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.71.3. hammer simple-content-access status Copy linkLink copied to clipboard!
Show whether Simple Content Access is enabled in your organization
Usage: hammer simple-content-access status [OPTIONS] Options: --organization ORGANIZATION_NAME Organization name to search by --organization-id ORGANIZATION_ID Organization ID --organization-label ORGANIZATION_LABEL Organization label to search by --organization-title ORGANIZATION_TITLE Organization title -h, --help Print help
Usage:
hammer simple-content-access status [OPTIONS]
Options:
--organization ORGANIZATION_NAME Organization name to search by
--organization-id ORGANIZATION_ID Organization ID
--organization-label ORGANIZATION_LABEL Organization label to search by
--organization-title ORGANIZATION_TITLE Organization title
-h, --help Print help
Note that you must use this command with an option to identify the organization.
3.72. hammer srpm Copy linkLink copied to clipboard!
Manipulate source RPMs
Usage: hammer srpm [OPTIONS] SUBCOMMAND [ARG] ... Parameters: SUBCOMMAND Subcommand [ARG] ... Subcommand arguments Subcommands: info, show Show SRPM details list, index List srpms Options: -h, --help Print help
Usage:
hammer srpm [OPTIONS] SUBCOMMAND [ARG] ...
Parameters:
SUBCOMMAND Subcommand
[ARG] ... Subcommand arguments
Subcommands:
info, show Show SRPM details
list, index List srpms
Options:
-h, --help Print help
3.72.1. hammer srpm info Copy linkLink copied to clipboard!
Show SRPM details
Usage: hammer srpm <info|show> [OPTIONS] Options: --fields LIST Show specified fields or predefined field sets only. (See below) --id VALUE SRPM details identifier --name VALUE Name to search by --organization VALUE Organization name to search by --organization-id NUMBER Organization identifier --organization-label VALUE Organization label to search by --organization-title VALUE Organization title --repository VALUE Repository name to search by --repository-id NUMBER Repository identifier -h, --help Print help Predefined field sets: -------------|-----|---------|----- FIELDS | ALL | DEFAULT | THIN -------------|-----|---------|----- Id | x | x | x Name | x | x | x Version | x | x | Architecture | x | x | Epoch | x | x | Release | x | x | Filename | 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
Usage:
hammer srpm <info|show> [OPTIONS]
Options:
--fields LIST Show specified fields or predefined field sets only. (See below)
--id VALUE SRPM details identifier
--name VALUE Name to search by
--organization VALUE Organization name to search by
--organization-id NUMBER Organization identifier
--organization-label VALUE Organization label to search by
--organization-title VALUE Organization title
--repository VALUE Repository name to search by
--repository-id NUMBER Repository identifier
-h, --help Print help
Predefined field sets:
-------------|-----|---------|-----
FIELDS | ALL | DEFAULT | THIN
-------------|-----|---------|-----
Id | x | x | x
Name | x | x | x
Version | x | x |
Architecture | x | x |
Epoch | x | x |
Release | x | x |
Filename | 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
3.72.2. hammer srpm list Copy linkLink copied to clipboard!
List srpms
Usage: hammer srpm <list|index> [OPTIONS] Options: --content-view VALUE Content view name to search by --content-view-id NUMBER Content view numeric identifier --content-view-version VALUE Content view version number --content-view-version-id NUMBER Content View Version identifier --environment VALUE Lifecycle environment name to search by (--environment is deprecated: Use --lifecycle-environment instead) --environment-id NUMBER (--environment-id is deprecated: Use --lifecycle-environment-id instead) --fields LIST Show specified fields or predefined field sets only. (See below) --full-result BOOLEAN Whether or not to show all results --lifecycle-environment VALUE Lifecycle environment name to search by --lifecycle-environment-id NUMBER Environment identifier --order VALUE Sort field and order, eg. 'id DESC' --organization VALUE Organization name to search by --organization-id NUMBER Organization identifier --organization-label VALUE Organization label to search by --organization-title VALUE Organization title --page NUMBER Page number, starting at 1 --per-page NUMBER Number of results per page to return --product VALUE Product name to search by --product-id NUMBER Product numeric identifier --repository VALUE Repository name to search by --repository-id NUMBER Repository identifier --search VALUE Search string -h, --help Print help Predefined field sets: ---------|-----|---------|----- FIELDS | ALL | DEFAULT | THIN ---------|-----|---------|----- Id | x | x | x Name | x | x | x Filename | 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
Usage:
hammer srpm <list|index> [OPTIONS]
Options:
--content-view VALUE Content view name to search by
--content-view-id NUMBER Content view numeric identifier
--content-view-version VALUE Content view version number
--content-view-version-id NUMBER Content View Version identifier
--environment VALUE Lifecycle environment name to search by (--environment is deprecated: Use
--lifecycle-environment instead)
--environment-id NUMBER (--environment-id is deprecated: Use --lifecycle-environment-id instead)
--fields LIST Show specified fields or predefined field sets only. (See below)
--full-result BOOLEAN Whether or not to show all results
--lifecycle-environment VALUE Lifecycle environment name to search by
--lifecycle-environment-id NUMBER Environment identifier
--order VALUE Sort field and order, eg. 'id DESC'
--organization VALUE Organization name to search by
--organization-id NUMBER Organization identifier
--organization-label VALUE Organization label to search by
--organization-title VALUE Organization title
--page NUMBER Page number, starting at 1
--per-page NUMBER Number of results per page to return
--product VALUE Product name to search by
--product-id NUMBER Product numeric identifier
--repository VALUE Repository name to search by
--repository-id NUMBER Repository identifier
--search VALUE Search string
-h, --help Print help
Predefined field sets:
---------|-----|---------|-----
FIELDS | ALL | DEFAULT | THIN
---------|-----|---------|-----
Id | x | x | x
Name | x | x | x
Filename | 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.73. hammer status Copy linkLink copied to clipboard!
Get the complete status of the server and/or it’s subcomponents
Usage: hammer status [OPTIONS] [SUBCOMMAND] [ARG] ... Parameters: [ARG] ... Subcommand arguments [SUBCOMMAND] Subcommand (default: "foreman") Subcommands: foreman Shows status and version information of Satellite system and it's subcomponents katello Shows version information Options: -h, --help Print help
Usage:
hammer status [OPTIONS] [SUBCOMMAND] [ARG] ...
Parameters:
[ARG] ... Subcommand arguments
[SUBCOMMAND] Subcommand (default: "foreman")
Subcommands:
foreman Shows status and version information of Satellite system and it's subcomponents
katello Shows version information
Options:
-h, --help Print help
3.73.1. hammer status foreman Copy linkLink copied to clipboard!
Shows status and version information of Satellite system and it’s subcomponents
Usage: hammer status foreman [OPTIONS] Options: -h, --help Print help
Usage:
hammer status foreman [OPTIONS]
Options:
-h, --help Print help
3.73.2. hammer status katello Copy linkLink copied to clipboard!
Shows version information
Usage: hammer status katello [OPTIONS] Options: -h, --help Print help
Usage:
hammer status katello [OPTIONS]
Options:
-h, --help Print help
3.74. hammer subnet Copy linkLink copied to clipboard!
Manipulate subnets
Usage: hammer subnet [OPTIONS] SUBCOMMAND [ARG] ... Parameters: SUBCOMMAND Subcommand [ARG] ... Subcommand arguments Subcommands: create Create a subnet delete, destroy Delete a subnet delete-parameter Delete parameter for a subnet info, show Show a subnet list, index List of subnets set-parameter Create or update parameter for a subnet update Update a subnet Options: -h, --help Print help
Usage:
hammer subnet [OPTIONS] SUBCOMMAND [ARG] ...
Parameters:
SUBCOMMAND Subcommand
[ARG] ... Subcommand arguments
Subcommands:
create Create a subnet
delete, destroy Delete a subnet
delete-parameter Delete parameter for a subnet
info, show Show a subnet
list, index List of subnets
set-parameter Create or update parameter for a subnet
update Update a subnet
Options:
-h, --help Print help
3.74.1. hammer subnet create Copy linkLink copied to clipboard!
Create a subnet
Usage: hammer subnet create [OPTIONS] Options: --bmc VALUE BMC Proxy to use within this subnet --bmc-id NUMBER BMC Capsule ID to use within this subnet --boot-mode ENUM Default boot mode for interfaces assigned to this subnet. Possible value(s): 'Static', 'DHCP' --description VALUE Subnet description --dhcp VALUE DHCP Proxy to use within this subnet --dhcp-id NUMBER DHCP Capsule ID to use within this subnet --discovery-id NUMBER ID of Discovery Capsule to use within this subnet for managing connection to discovered hosts --dns VALUE DNS Proxy to use within this subnet --dns-id NUMBER DNS Capsule ID to use within this subnet --dns-primary VALUE Primary DNS for this subnet --dns-secondary VALUE Secondary DNS for this subnet --domain-ids LIST Domains in which this subnet is part --domains LIST --externalipam-group VALUE External IPAM group - only relevant when IPAM is set to external --externalipam-id NUMBER External IPAM Capsule ID to use within this subnet --from VALUE Starting IP Address for IP auto suggestion --gateway VALUE Subnet gateway --httpboot-id NUMBER HTTPBoot Capsule ID to use within this subnet --ipam ENUM IP Address auto suggestion mode for this subnet. Possible value(s): 'DHCP', 'Internal DB', 'Random DB', 'EUI-64', 'External IPAM', 'None' --location VALUE Set the current location context for the request --location-id NUMBER Set the current location context for the request --location-ids LIST REPLACE locations with given ids --location-title VALUE Set the current location context for the request --location-titles LIST --locations LIST --mask VALUE Netmask for this subnet --mtu NUMBER MTU for this subnet --name VALUE Subnet name --network VALUE Subnet network --network-type ENUM Type or protocol, IPv4 or IPv6, defaults to IPv4 Possible value(s): 'IPv4', 'IPv6' --organization VALUE Set the current organization context for the request --organization-id NUMBER Set the current organization context for the request --organization-ids LIST REPLACE organizations with given ids. --organization-title VALUE Set the current organization context for the request --organization-titles LIST --organizations LIST --prefix VALUE Network prefix in CIDR notation (e.g. 64) for this subnet --remote-execution-proxy-ids LIST List of Capsule IDs to be used for remote execution --template-id NUMBER Template HTTP(S) Capsule ID to use within this subnet --tftp VALUE TFTP Proxy to use within this subnet --tftp-id NUMBER TFTP Capsule ID to use within this subnet --to VALUE Ending IP Address for IP auto suggestion --vlanid VALUE VLAN ID for this subnet -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
Usage:
hammer subnet create [OPTIONS]
Options:
--bmc VALUE BMC Proxy to use within this subnet
--bmc-id NUMBER BMC Capsule ID to use within this subnet
--boot-mode ENUM Default boot mode for interfaces assigned to this subnet.
Possible value(s): 'Static', 'DHCP'
--description VALUE Subnet description
--dhcp VALUE DHCP Proxy to use within this subnet
--dhcp-id NUMBER DHCP Capsule ID to use within this subnet
--discovery-id NUMBER ID of Discovery Capsule to use within this subnet for managing connection to
discovered hosts
--dns VALUE DNS Proxy to use within this subnet
--dns-id NUMBER DNS Capsule ID to use within this subnet
--dns-primary VALUE Primary DNS for this subnet
--dns-secondary VALUE Secondary DNS for this subnet
--domain-ids LIST Domains in which this subnet is part
--domains LIST
--externalipam-group VALUE External IPAM group - only relevant when IPAM is set to external
--externalipam-id NUMBER External IPAM Capsule ID to use within this subnet
--from VALUE Starting IP Address for IP auto suggestion
--gateway VALUE Subnet gateway
--httpboot-id NUMBER HTTPBoot Capsule ID to use within this subnet
--ipam ENUM IP Address auto suggestion mode for this subnet.
Possible value(s): 'DHCP', 'Internal DB', 'Random DB', 'EUI-64', 'External
IPAM', 'None'
--location VALUE Set the current location context for the request
--location-id NUMBER Set the current location context for the request
--location-ids LIST REPLACE locations with given ids
--location-title VALUE Set the current location context for the request
--location-titles LIST
--locations LIST
--mask VALUE Netmask for this subnet
--mtu NUMBER MTU for this subnet
--name VALUE Subnet name
--network VALUE Subnet network
--network-type ENUM Type or protocol, IPv4 or IPv6, defaults to IPv4
Possible value(s): 'IPv4', 'IPv6'
--organization VALUE Set the current organization context for the request
--organization-id NUMBER Set the current organization context for the request
--organization-ids LIST REPLACE organizations with given ids.
--organization-title VALUE Set the current organization context for the request
--organization-titles LIST
--organizations LIST
--prefix VALUE Network prefix in CIDR notation (e.g. 64) for this subnet
--remote-execution-proxy-ids LIST List of Capsule IDs to be used for remote execution
--template-id NUMBER Template HTTP(S) Capsule ID to use within this subnet
--tftp VALUE TFTP Proxy to use within this subnet
--tftp-id NUMBER TFTP Capsule ID to use within this subnet
--to VALUE Ending IP Address for IP auto suggestion
--vlanid VALUE VLAN ID for this subnet
-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.74.2. hammer subnet delete Copy linkLink copied to clipboard!
Delete a subnet
Usage: hammer subnet <delete|destroy> [OPTIONS] Options: --id NUMBER Subnet numeric identifier --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 Subnet name --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 -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
Usage:
hammer subnet <delete|destroy> [OPTIONS]
Options:
--id NUMBER Subnet numeric identifier
--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 Subnet name
--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
-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.74.3. hammer subnet delete-parameter Copy linkLink copied to clipboard!
Delete parameter for a subnet
Usage: hammer subnet delete-parameter [OPTIONS] Options: --name VALUE Parameter name --subnet VALUE Subnet name --subnet-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
Usage:
hammer subnet delete-parameter [OPTIONS]
Options:
--name VALUE Parameter name
--subnet VALUE Subnet name
--subnet-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.74.4. hammer subnet info Copy linkLink copied to clipboard!
Show a subnet
Usage: hammer subnet <info|show> [OPTIONS] Options: --fields LIST Show specified fields or predefined field sets only. (See below) --id VALUE --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 Subnet name --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 -h, --help Print help Predefined field sets: ------------------------------|-----|---------|----- FIELDS | ALL | DEFAULT | THIN ------------------------------|-----|---------|----- Id | x | x | x Name | x | x | x Description | x | x | Protocol | x | x | Priority | x | x | Network addr | x | x | Network prefix | x | x | Network mask | x | x | Gateway addr | x | x | Primary dns | x | x | Secondary dns | x | x | Smart proxies/dns | x | x | Smart proxies/tftp | x | x | Smart proxies/dhcp | x | x | Remote execution proxies/id | x | x | Remote execution proxies/name | x | x | Ipam | x | x | Start of ip range | x | x | End of ip range | x | x | Vlan id | x | x | Mtu | x | x | Boot mode | x | x | Domains/ | x | x | Locations/ | x | x | Organizations/ | x | x | Parameters/ | 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
Usage:
hammer subnet <info|show> [OPTIONS]
Options:
--fields LIST Show specified fields or predefined field sets only. (See below)
--id VALUE
--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 Subnet name
--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
-h, --help Print help
Predefined field sets:
------------------------------|-----|---------|-----
FIELDS | ALL | DEFAULT | THIN
------------------------------|-----|---------|-----
Id | x | x | x
Name | x | x | x
Description | x | x |
Protocol | x | x |
Priority | x | x |
Network addr | x | x |
Network prefix | x | x |
Network mask | x | x |
Gateway addr | x | x |
Primary dns | x | x |
Secondary dns | x | x |
Smart proxies/dns | x | x |
Smart proxies/tftp | x | x |
Smart proxies/dhcp | x | x |
Remote execution proxies/id | x | x |
Remote execution proxies/name | x | x |
Ipam | x | x |
Start of ip range | x | x |
End of ip range | x | x |
Vlan id | x | x |
Mtu | x | x |
Boot mode | x | x |
Domains/ | x | x |
Locations/ | x | x |
Organizations/ | x | x |
Parameters/ | 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.74.5. hammer subnet list Copy linkLink copied to clipboard!
List of subnets
Usage: hammer subnet <list|index> [OPTIONS] Options: --domain VALUE Domain name --domain-id VALUE ID of domain --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 Scope by locations --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 Scope by organizations --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 Name | x | x | x Network addr | x | x | Network prefix | x | x | Network mask | x | x | Vlan id | x | x | Boot mode | x | x | Gateway address | 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: boot_mode string dns_primary string dns_secondary string domain string gateway string ipam string location string location_id integer mask string mtu integer name text network string nic_delay integer organization string organization_id integer params string type string vlanid integer
Usage:
hammer subnet <list|index> [OPTIONS]
Options:
--domain VALUE Domain name
--domain-id VALUE ID of domain
--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 Scope by locations
--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 Scope by organizations
--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
Name | x | x | x
Network addr | x | x |
Network prefix | x | x |
Network mask | x | x |
Vlan id | x | x |
Boot mode | x | x |
Gateway address | 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:
boot_mode string
dns_primary string
dns_secondary string
domain string
gateway string
ipam string
location string
location_id integer
mask string
mtu integer
name text
network string
nic_delay integer
organization string
organization_id integer
params string
type string
vlanid integer
3.74.6. hammer subnet set-parameter Copy linkLink copied to clipboard!
Create or update parameter for a subnet
Usage: hammer subnet set-parameter [OPTIONS] Options: --hidden-value BOOLEAN Should the value be hidden --name VALUE Parameter name --parameter-type ENUM Type of the parameter Possible value(s): 'string', 'boolean', 'integer', 'real', 'array', 'hash', 'yaml', 'json' Default: "string" --subnet VALUE Subnet name --subnet-id NUMBER --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
Usage:
hammer subnet set-parameter [OPTIONS]
Options:
--hidden-value BOOLEAN Should the value be hidden
--name VALUE Parameter name
--parameter-type ENUM Type of the parameter
Possible value(s): 'string', 'boolean', 'integer', 'real', 'array', 'hash',
'yaml', 'json'
Default: "string"
--subnet VALUE Subnet name
--subnet-id NUMBER
--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.74.7. hammer subnet update Copy linkLink copied to clipboard!
Update a subnet
Usage: hammer subnet update [OPTIONS] Options: --bmc VALUE BMC Proxy to use within this subnet --bmc-id NUMBER BMC Capsule ID to use within this subnet --boot-mode ENUM Default boot mode for interfaces assigned to this subnet. Possible value(s): 'Static', 'DHCP' --description VALUE Subnet description --dhcp VALUE DHCP Proxy to use within this subnet --dhcp-id NUMBER DHCP Capsule ID to use within this subnet --discovery-id NUMBER ID of Discovery Capsule to use within this subnet for managing connection to discovered hosts --dns VALUE DNS Proxy to use within this subnet --dns-id NUMBER DNS Capsule ID to use within this subnet --dns-primary VALUE Primary DNS for this subnet --dns-secondary VALUE Secondary DNS for this subnet --domain-ids LIST Domains in which this subnet is part --domains LIST --externalipam-group VALUE External IPAM group - only relevant when IPAM is set to external --externalipam-id NUMBER External IPAM Capsule ID to use within this subnet --from VALUE Starting IP Address for IP auto suggestion --gateway VALUE Subnet gateway --httpboot-id NUMBER HTTPBoot Capsule ID to use within this subnet --id NUMBER Subnet numeric identifier --ipam ENUM IP Address auto suggestion mode for this subnet. Possible value(s): 'DHCP', 'Internal DB', 'Random DB', 'EUI-64', 'External IPAM', 'None' --location VALUE Set the current location context for the request --location-id NUMBER Set the current location context for the request --location-ids LIST REPLACE locations with given ids --location-title VALUE Set the current location context for the request --location-titles LIST --locations LIST --mask VALUE Netmask for this subnet --mtu NUMBER MTU for this subnet --name VALUE Subnet name --network VALUE Subnet network --network-type ENUM Type or protocol, IPv4 or IPv6, defaults to IPv4 Possible value(s): 'IPv4', 'IPv6' --new-name VALUE Subnet name --organization VALUE Set the current organization context for the request --organization-id NUMBER Set the current organization context for the request --organization-ids LIST REPLACE organizations with given ids. --organization-title VALUE Set the current organization context for the request --organization-titles LIST --organizations LIST --prefix VALUE Network prefix in CIDR notation (e.g. 64) for this subnet --remote-execution-proxy-ids LIST List of Capsule IDs to be used for remote execution --template-id NUMBER Template HTTP(S) Capsule ID to use within this subnet --tftp VALUE TFTP Proxy to use within this subnet --tftp-id NUMBER TFTP Capsule ID to use within this subnet --to VALUE Ending IP Address for IP auto suggestion --vlanid VALUE VLAN ID for this subnet -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
Usage:
hammer subnet update [OPTIONS]
Options:
--bmc VALUE BMC Proxy to use within this subnet
--bmc-id NUMBER BMC Capsule ID to use within this subnet
--boot-mode ENUM Default boot mode for interfaces assigned to this subnet.
Possible value(s): 'Static', 'DHCP'
--description VALUE Subnet description
--dhcp VALUE DHCP Proxy to use within this subnet
--dhcp-id NUMBER DHCP Capsule ID to use within this subnet
--discovery-id NUMBER ID of Discovery Capsule to use within this subnet for managing connection to
discovered hosts
--dns VALUE DNS Proxy to use within this subnet
--dns-id NUMBER DNS Capsule ID to use within this subnet
--dns-primary VALUE Primary DNS for this subnet
--dns-secondary VALUE Secondary DNS for this subnet
--domain-ids LIST Domains in which this subnet is part
--domains LIST
--externalipam-group VALUE External IPAM group - only relevant when IPAM is set to external
--externalipam-id NUMBER External IPAM Capsule ID to use within this subnet
--from VALUE Starting IP Address for IP auto suggestion
--gateway VALUE Subnet gateway
--httpboot-id NUMBER HTTPBoot Capsule ID to use within this subnet
--id NUMBER Subnet numeric identifier
--ipam ENUM IP Address auto suggestion mode for this subnet.
Possible value(s): 'DHCP', 'Internal DB', 'Random DB', 'EUI-64', 'External
IPAM', 'None'
--location VALUE Set the current location context for the request
--location-id NUMBER Set the current location context for the request
--location-ids LIST REPLACE locations with given ids
--location-title VALUE Set the current location context for the request
--location-titles LIST
--locations LIST
--mask VALUE Netmask for this subnet
--mtu NUMBER MTU for this subnet
--name VALUE Subnet name
--network VALUE Subnet network
--network-type ENUM Type or protocol, IPv4 or IPv6, defaults to IPv4
Possible value(s): 'IPv4', 'IPv6'
--new-name VALUE Subnet name
--organization VALUE Set the current organization context for the request
--organization-id NUMBER Set the current organization context for the request
--organization-ids LIST REPLACE organizations with given ids.
--organization-title VALUE Set the current organization context for the request
--organization-titles LIST
--organizations LIST
--prefix VALUE Network prefix in CIDR notation (e.g. 64) for this subnet
--remote-execution-proxy-ids LIST List of Capsule IDs to be used for remote execution
--template-id NUMBER Template HTTP(S) Capsule ID to use within this subnet
--tftp VALUE TFTP Proxy to use within this subnet
--tftp-id NUMBER TFTP Capsule ID to use within this subnet
--to VALUE Ending IP Address for IP auto suggestion
--vlanid VALUE VLAN ID for this subnet
-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.75. hammer subscription Copy linkLink copied to clipboard!
Manipulate subscriptions
Usage: hammer subscription [OPTIONS] SUBCOMMAND [ARG] ... Parameters: SUBCOMMAND Subcommand [ARG] ... Subcommand arguments Subcommands: delete-manifest Delete manifest from Red Hat provider list, index List organization subscriptions manifest-history Obtain manifest history for subscriptions refresh-manifest Refresh previously imported manifest for Red Hat provider upload Upload a subscription manifest Options: -h, --help Print help
Usage:
hammer subscription [OPTIONS] SUBCOMMAND [ARG] ...
Parameters:
SUBCOMMAND Subcommand
[ARG] ... Subcommand arguments
Subcommands:
delete-manifest Delete manifest from Red Hat provider
list, index List organization subscriptions
manifest-history Obtain manifest history for subscriptions
refresh-manifest Refresh previously imported manifest for Red Hat provider
upload Upload a subscription manifest
Options:
-h, --help Print help
3.75.1. hammer subscription delete-manifest Copy linkLink copied to clipboard!
Delete manifest from Red Hat provider
Usage: hammer subscription delete-manifest [OPTIONS] Options: --async Do not wait for the task --organization VALUE Organization name to search by --organization-id NUMBER Organization id --organization-label VALUE Organization label to search by --organization-title VALUE Organization title -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
Usage:
hammer subscription delete-manifest [OPTIONS]
Options:
--async Do not wait for the task
--organization VALUE Organization name to search by
--organization-id NUMBER Organization id
--organization-label VALUE Organization label to search by
--organization-title VALUE Organization title
-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.75.2. hammer subscription list Copy linkLink copied to clipboard!
List organization subscriptions
Usage: hammer subscription <list|index> [OPTIONS] Options: --activation-key VALUE Activation key name to search by --activation-key-id VALUE Activation key ID --available-for VALUE Object to show subscriptions available for, either 'host' or 'activation_key' --fields LIST Show specified fields or predefined field sets only. (See below) --full-result BOOLEAN Whether or not to show all results --host VALUE Host name --host-id VALUE Id of a host --match-host BOOLEAN Ignore subscriptions that are unavailable to the specified host --match-installed BOOLEAN Return subscriptions that match installed products of the specified host --name VALUE Name of the subscription --no-overlap BOOLEAN Return subscriptions which do not overlap with a currently-attached subscription --order VALUE Sort field and order, eg. 'id DESC' --organization VALUE Organization name to search by --organization-id NUMBER Organization ID --organization-label VALUE Organization label to search by --organization-title VALUE Organization title --page NUMBER Page number, starting at 1 --per-page NUMBER Number of results per page to return --search VALUE Search string -h, --help Print help Predefined field sets: -----------|-----|-------- FIELDS | ALL | DEFAULT -----------|-----|-------- Id | x | x Uuid | x | x Name | x | x Type | x | x Contract | x | x Account | x | x Support | x | x Start date | x | x End date | x | x Quantity | x | x Consumed | 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
Usage:
hammer subscription <list|index> [OPTIONS]
Options:
--activation-key VALUE Activation key name to search by
--activation-key-id VALUE Activation key ID
--available-for VALUE Object to show subscriptions available for, either 'host' or 'activation_key'
--fields LIST Show specified fields or predefined field sets only. (See below)
--full-result BOOLEAN Whether or not to show all results
--host VALUE Host name
--host-id VALUE Id of a host
--match-host BOOLEAN Ignore subscriptions that are unavailable to the specified host
--match-installed BOOLEAN Return subscriptions that match installed products of the specified host
--name VALUE Name of the subscription
--no-overlap BOOLEAN Return subscriptions which do not overlap with a currently-attached subscription
--order VALUE Sort field and order, eg. 'id DESC'
--organization VALUE Organization name to search by
--organization-id NUMBER Organization ID
--organization-label VALUE Organization label to search by
--organization-title VALUE Organization title
--page NUMBER Page number, starting at 1
--per-page NUMBER Number of results per page to return
--search VALUE Search string
-h, --help Print help
Predefined field sets:
-----------|-----|--------
FIELDS | ALL | DEFAULT
-----------|-----|--------
Id | x | x
Uuid | x | x
Name | x | x
Type | x | x
Contract | x | x
Account | x | x
Support | x | x
Start date | x | x
End date | x | x
Quantity | x | x
Consumed | 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.75.3. hammer subscription manifest-history Copy linkLink copied to clipboard!
obtain manifest history for subscriptions
Usage: hammer subscription manifest-history [OPTIONS] Options: --fields LIST Show specified fields or predefined field sets only. (See below) --organization VALUE Organization name to search by --organization-id NUMBER Organization ID --organization-label VALUE Organization label to search by --organization-title VALUE Organization title -h, --help Print help Predefined field sets: ---------------|-----|-------- FIELDS | ALL | DEFAULT ---------------|-----|-------- Status | x | x Status message | x | x Time | 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
Usage:
hammer subscription manifest-history [OPTIONS]
Options:
--fields LIST Show specified fields or predefined field sets only. (See below)
--organization VALUE Organization name to search by
--organization-id NUMBER Organization ID
--organization-label VALUE Organization label to search by
--organization-title VALUE Organization title
-h, --help Print help
Predefined field sets:
---------------|-----|--------
FIELDS | ALL | DEFAULT
---------------|-----|--------
Status | x | x
Status message | x | x
Time | 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.75.4. hammer subscription refresh-manifest Copy linkLink copied to clipboard!
Refresh previously imported manifest for Red Hat provider
Usage: hammer subscription refresh-manifest [OPTIONS] Options: --async Do not wait for the task --organization VALUE Organization name to search by --organization-id NUMBER Organization id --organization-label VALUE Organization label to search by --organization-title VALUE Organization title -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
Usage:
hammer subscription refresh-manifest [OPTIONS]
Options:
--async Do not wait for the task
--organization VALUE Organization name to search by
--organization-id NUMBER Organization id
--organization-label VALUE Organization label to search by
--organization-title VALUE Organization title
-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.75.5. hammer subscription upload Copy linkLink copied to clipboard!
Upload a subscription manifest
Usage: hammer subscription upload [OPTIONS] Options: --async Do not wait for the task --file FILE Subscription manifest file --organization VALUE Organization name to search by --organization-id NUMBER Organization id --organization-label VALUE Organization label to search by --organization-title VALUE Organization title -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
Usage:
hammer subscription upload [OPTIONS]
Options:
--async Do not wait for the task
--file FILE Subscription manifest file
--organization VALUE Organization name to search by
--organization-id NUMBER Organization id
--organization-label VALUE Organization label to search by
--organization-title VALUE Organization title
-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.76. hammer sync-plan Copy linkLink copied to clipboard!
Manipulate sync plans
Usage: hammer sync-plan [OPTIONS] SUBCOMMAND [ARG] ... Parameters: SUBCOMMAND Subcommand [ARG] ... Subcommand arguments Subcommands: create Create a sync plan delete, destroy Destroy a sync plan info, show Show a sync plan list, index List sync plans update Update a sync plan Options: -h, --help Print help
Usage:
hammer sync-plan [OPTIONS] SUBCOMMAND [ARG] ...
Parameters:
SUBCOMMAND Subcommand
[ARG] ... Subcommand arguments
Subcommands:
create Create a sync plan
delete, destroy Destroy a sync plan
info, show Show a sync plan
list, index List sync plans
update Update a sync plan
Options:
-h, --help Print help
3.76.1. hammer sync-plan create Copy linkLink copied to clipboard!
Create a sync plan
Usage: hammer sync-plan create [OPTIONS] Options: --cron-expression VALUE Set this when interval is custom cron --description VALUE Sync plan description --enabled BOOLEAN Enables or disables synchronization --interval VALUE How often synchronization should run --name VALUE Sync plan name --organization VALUE Organization name to search by --organization-id NUMBER Organization ID --organization-label VALUE Organization label to search by --organization-title VALUE Organization title --sync-date DATETIME Start date and time for the sync plan.Time is optional, if kept blank current system time will be considered -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
Usage:
hammer sync-plan create [OPTIONS]
Options:
--cron-expression VALUE Set this when interval is custom cron
--description VALUE Sync plan description
--enabled BOOLEAN Enables or disables synchronization
--interval VALUE How often synchronization should run
--name VALUE Sync plan name
--organization VALUE Organization name to search by
--organization-id NUMBER Organization ID
--organization-label VALUE Organization label to search by
--organization-title VALUE Organization title
--sync-date DATETIME Start date and time for the sync plan.Time is optional, if kept blank current
system time will be considered
-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.76.2. hammer sync-plan delete Copy linkLink copied to clipboard!
Destroy a sync plan
Usage: hammer sync-plan <delete|destroy> [OPTIONS] Options: --id NUMBER Sync plan numeric identifier --name VALUE Sync plan name to search by --organization VALUE Organization name to search by --organization-id NUMBER Organization ID --organization-label VALUE Organization label to search by --organization-title VALUE Organization title -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
Usage:
hammer sync-plan <delete|destroy> [OPTIONS]
Options:
--id NUMBER Sync plan numeric identifier
--name VALUE Sync plan name to search by
--organization VALUE Organization name to search by
--organization-id NUMBER Organization ID
--organization-label VALUE Organization label to search by
--organization-title VALUE Organization title
-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.76.3. hammer sync-plan info Copy linkLink copied to clipboard!
Show a sync plan
Usage: hammer sync-plan <info|show> [OPTIONS] Options: --fields LIST Show specified fields or predefined field sets only. (See below) --id NUMBER Sync plan numeric identifier --name VALUE Sync plan name to search by --organization VALUE Organization name to search by --organization-id NUMBER Organization ID --organization-label VALUE Organization label to search by --organization-title VALUE Organization title -h, --help Print help Predefined field sets: -------------------|-----|---------|----- FIELDS | ALL | DEFAULT | THIN -------------------|-----|---------|----- Id | x | x | x Name | x | x | x Start date | x | x | Interval | x | x | Enabled | x | x | Cron expression | x | x | Recurring logic id | x | x | Description | x | x | Created at | x | x | Updated at | x | x | Next sync | x | x | Products/id | x | x | Products/name | 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
Usage:
hammer sync-plan <info|show> [OPTIONS]
Options:
--fields LIST Show specified fields or predefined field sets only. (See below)
--id NUMBER Sync plan numeric identifier
--name VALUE Sync plan name to search by
--organization VALUE Organization name to search by
--organization-id NUMBER Organization ID
--organization-label VALUE Organization label to search by
--organization-title VALUE Organization title
-h, --help Print help
Predefined field sets:
-------------------|-----|---------|-----
FIELDS | ALL | DEFAULT | THIN
-------------------|-----|---------|-----
Id | x | x | x
Name | x | x | x
Start date | x | x |
Interval | x | x |
Enabled | x | x |
Cron expression | x | x |
Recurring logic id | x | x |
Description | x | x |
Created at | x | x |
Updated at | x | x |
Next sync | x | x |
Products/id | x | x |
Products/name | 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.76.4. hammer sync-plan list Copy linkLink copied to clipboard!
List sync plans
Usage: hammer sync-plan <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 --interval ENUM Filter by interval Possible value(s): 'hourly', 'daily', 'weekly', 'custom cron' --name VALUE Filter by name --order VALUE Sort field and order, eg. 'id DESC' --organization VALUE Organization name to search by --organization-id NUMBER Organization ID --organization-label VALUE Organization label to search by --organization-title VALUE Organization title --page NUMBER Page number, starting at 1 --per-page NUMBER Number of results per page to return --search VALUE Search string --sync-date VALUE Filter by sync date -h, --help Print help Predefined field sets: -------------------|-----|---------|----- FIELDS | ALL | DEFAULT | THIN -------------------|-----|---------|----- Id | x | x | x Name | x | x | x Start date | x | x | Interval | x | x | Enabled | x | x | Cron expression | x | x | Recurring logic 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 Search / Order fields: enabled Values: true, false interval string name string organization_id integer
Usage:
hammer sync-plan <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
--interval ENUM Filter by interval
Possible value(s): 'hourly', 'daily', 'weekly', 'custom cron'
--name VALUE Filter by name
--order VALUE Sort field and order, eg. 'id DESC'
--organization VALUE Organization name to search by
--organization-id NUMBER Organization ID
--organization-label VALUE Organization label to search by
--organization-title VALUE Organization title
--page NUMBER Page number, starting at 1
--per-page NUMBER Number of results per page to return
--search VALUE Search string
--sync-date VALUE Filter by sync date
-h, --help Print help
Predefined field sets:
-------------------|-----|---------|-----
FIELDS | ALL | DEFAULT | THIN
-------------------|-----|---------|-----
Id | x | x | x
Name | x | x | x
Start date | x | x |
Interval | x | x |
Enabled | x | x |
Cron expression | x | x |
Recurring logic 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
Search / Order fields:
enabled Values: true, false
interval string
name string
organization_id integer
3.76.5. hammer sync-plan update Copy linkLink copied to clipboard!
Update a sync plan
Usage: hammer sync-plan update [OPTIONS] Options: --cron-expression VALUE Add custom cron logic for sync plan --description VALUE Sync plan description --enabled BOOLEAN Enables or disables synchronization --id NUMBER Sync plan numeric identifier --interval VALUE How often synchronization should run --name VALUE Sync plan name --new-name VALUE Sync plan name --organization VALUE Organization name to search by --organization-id NUMBER Organization ID --organization-label VALUE Organization label to search by --organization-title VALUE Organization title --sync-date DATETIME Start date and time of the synchronization -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
Usage:
hammer sync-plan update [OPTIONS]
Options:
--cron-expression VALUE Add custom cron logic for sync plan
--description VALUE Sync plan description
--enabled BOOLEAN Enables or disables synchronization
--id NUMBER Sync plan numeric identifier
--interval VALUE How often synchronization should run
--name VALUE Sync plan name
--new-name VALUE Sync plan name
--organization VALUE Organization name to search by
--organization-id NUMBER Organization ID
--organization-label VALUE Organization label to search by
--organization-title VALUE Organization title
--sync-date DATETIME Start date and time of the synchronization
-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.77. hammer tailoring-file Copy linkLink copied to clipboard!
Manipulate Tailoring files
Usage: hammer tailoring-file [OPTIONS] SUBCOMMAND [ARG] ... Parameters: SUBCOMMAND Subcommand [ARG] ... Subcommand arguments Subcommands: create Create a Tailoring file delete, destroy Deletes a Tailoring file download Download a Tailoring file as XML info, show Show a Tailoring file list, index List Tailoring files update Update a Tailoring file Options: -h, --help Print help
Usage:
hammer tailoring-file [OPTIONS] SUBCOMMAND [ARG] ...
Parameters:
SUBCOMMAND Subcommand
[ARG] ... Subcommand arguments
Subcommands:
create Create a Tailoring file
delete, destroy Deletes a Tailoring file
download Download a Tailoring file as XML
info, show Show a Tailoring file
list, index List Tailoring files
update Update a Tailoring file
Options:
-h, --help Print help
3.77.1. hammer tailoring-file create Copy linkLink copied to clipboard!
Create a Tailoring file
Usage: hammer tailoring-file create [OPTIONS] Options: --location VALUE Name to search by --location-id NUMBER Set the current location context for the request --location-ids LIST REPLACE locations with given ids --locations LIST --name VALUE Tailoring file name --organization VALUE Name to search by --organization-id NUMBER Set the current organization context for the request --organization-ids LIST REPLACE organizations with given ids. --organizations LIST --original-filename VALUE Original file name of the XML file --scap-file FILE Tailoring file content -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
Usage:
hammer tailoring-file create [OPTIONS]
Options:
--location VALUE Name to search by
--location-id NUMBER Set the current location context for the request
--location-ids LIST REPLACE locations with given ids
--locations LIST
--name VALUE Tailoring file name
--organization VALUE Name to search by
--organization-id NUMBER Set the current organization context for the request
--organization-ids LIST REPLACE organizations with given ids.
--organizations LIST
--original-filename VALUE Original file name of the XML file
--scap-file FILE Tailoring file content
-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.77.2. hammer tailoring-file delete Copy linkLink copied to clipboard!
Deletes a Tailoring file
Usage: hammer tailoring-file <delete|destroy> [OPTIONS] Options: --id VALUE --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 Name to search by --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 -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
Usage:
hammer tailoring-file <delete|destroy> [OPTIONS]
Options:
--id VALUE
--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 Name to search by
--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
-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.77.3. hammer tailoring-file download Copy linkLink copied to clipboard!
Download a Tailoring file as XML
Usage: hammer tailoring-file download [OPTIONS] Options: --id VALUE --location VALUE Name to search by --location-id NUMBER Set the current location context for the request --name VALUE Tailoring file name --organization VALUE Name to search by --organization-id NUMBER Set the current organization context for the request --path VALUE Path to directory where downloaded file will be saved -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
Usage:
hammer tailoring-file download [OPTIONS]
Options:
--id VALUE
--location VALUE Name to search by
--location-id NUMBER Set the current location context for the request
--name VALUE Tailoring file name
--organization VALUE Name to search by
--organization-id NUMBER Set the current organization context for the request
--path VALUE Path to directory where downloaded file will be saved
-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.77.4. hammer tailoring-file info Copy linkLink copied to clipboard!
Show a Tailoring file
Usage: hammer tailoring-file <info|show> [OPTIONS] Options: --fields LIST Show specified fields or predefined field sets only. (See below) --id VALUE --location VALUE Name to search by --location-id NUMBER Set the current location context for the request --name VALUE Tailoring file name --organization VALUE Name to search by --organization-id NUMBER Set the current organization context for the request -h, --help Print help Predefined field sets: -----------------------------------|-----|---------|----- FIELDS | ALL | DEFAULT | THIN -----------------------------------|-----|---------|----- Id | x | x | x Name | x | x | x Created at | x | x | Original filename | x | x | Tailoring file profiles/id | x | x | Tailoring file profiles/profile id | x | x | Tailoring file profiles/title | x | x | Locations/ | x | x | Organizations/ | 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
Usage:
hammer tailoring-file <info|show> [OPTIONS]
Options:
--fields LIST Show specified fields or predefined field sets only. (See below)
--id VALUE
--location VALUE Name to search by
--location-id NUMBER Set the current location context for the request
--name VALUE Tailoring file name
--organization VALUE Name to search by
--organization-id NUMBER Set the current organization context for the request
-h, --help Print help
Predefined field sets:
-----------------------------------|-----|---------|-----
FIELDS | ALL | DEFAULT | THIN
-----------------------------------|-----|---------|-----
Id | x | x | x
Name | x | x | x
Created at | x | x |
Original filename | x | x |
Tailoring file profiles/id | x | x |
Tailoring file profiles/profile id | x | x |
Tailoring file profiles/title | x | x |
Locations/ | x | x |
Organizations/ | 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.77.5. hammer tailoring-file list Copy linkLink copied to clipboard!
List Tailoring files
Usage: hammer tailoring-file <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 Name | 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: created_at datetime filename string location string location_id integer name string organization string organization_id integer
Usage:
hammer tailoring-file <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
Name | 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:
created_at datetime
filename string
location string
location_id integer
name string
organization string
organization_id integer
3.77.6. hammer tailoring-file update Copy linkLink copied to clipboard!
Update a Tailoring file
Usage: hammer tailoring-file update [OPTIONS] Options: --id VALUE --location VALUE Name to search by --location-id NUMBER Set the current location context for the request --location-ids LIST REPLACE locations with given ids --locations LIST --name VALUE Tailoring file name --new-name VALUE Tailoring file name --organization VALUE Name to search by --organization-id NUMBER Set the current organization context for the request --organization-ids LIST REPLACE organizations with given ids. --organizations LIST --original-filename VALUE Original file name of the XML file --scap-file FILE Tailoring file content -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
Usage:
hammer tailoring-file update [OPTIONS]
Options:
--id VALUE
--location VALUE Name to search by
--location-id NUMBER Set the current location context for the request
--location-ids LIST REPLACE locations with given ids
--locations LIST
--name VALUE Tailoring file name
--new-name VALUE Tailoring file name
--organization VALUE Name to search by
--organization-id NUMBER Set the current organization context for the request
--organization-ids LIST REPLACE organizations with given ids.
--organizations LIST
--original-filename VALUE Original file name of the XML file
--scap-file FILE Tailoring file content
-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.78. hammer task Copy linkLink copied to clipboard!
Tasks related actions.
Usage: hammer task [OPTIONS] SUBCOMMAND [ARG] ... Parameters: SUBCOMMAND Subcommand [ARG] ... Subcommand arguments Subcommands: info, show Show task details list, index List tasks progress Show the progress of the task resume Resume all tasks paused in error state Options: -h, --help Print help
Usage:
hammer task [OPTIONS] SUBCOMMAND [ARG] ...
Parameters:
SUBCOMMAND Subcommand
[ARG] ... Subcommand arguments
Subcommands:
info, show Show task details
list, index List tasks
progress Show the progress of the task
resume Resume all tasks paused in error state
Options:
-h, --help Print help
3.78.1. hammer task info Copy linkLink copied to clipboard!
Show task details
Usage: hammer task <info|show> [OPTIONS] Options: --fields LIST Show specified fields or predefined field sets only. (See below) --id VALUE UUID of the task --location-id NUMBER Set the current location context for the request --organization-id NUMBER Set the current organization context for the request -h, --help Print help Predefined field sets: ------------|-----|-------- FIELDS | ALL | DEFAULT ------------|-----|-------- Id | x | x Action | x | x State | x | x Result | x | x Started at | x | x Ended at | x | x Duration | x | x Owner | x | x Task errors | 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
Usage:
hammer task <info|show> [OPTIONS]
Options:
--fields LIST Show specified fields or predefined field sets only. (See below)
--id VALUE UUID of the task
--location-id NUMBER Set the current location context for the request
--organization-id NUMBER Set the current organization context for the request
-h, --help Print help
Predefined field sets:
------------|-----|--------
FIELDS | ALL | DEFAULT
------------|-----|--------
Id | x | x
Action | x | x
State | x | x
Result | x | x
Started at | x | x
Ended at | x | x
Duration | x | x
Owner | x | x
Task errors | 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.78.2. hammer task list Copy linkLink copied to clipboard!
List tasks
Usage: hammer task <list|index> [OPTIONS] Options: --fields LIST Show specified fields or predefined field sets only. (See below) --location-id NUMBER Set the current location context for the request --order VALUE Sort and order by a searchable field, e.g. '<field> DESC' --organization-id NUMBER Set the current organization context for the request --page NUMBER Page number, starting at 1 --parent-task-id VALUE UUID of the task --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 ------------|-----|-------- Id | x | x Action | x | x State | x | x Result | x | x Started at | x | x Ended at | x | x Duration | x | x Owner | x | x Task errors | 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
Usage:
hammer task <list|index> [OPTIONS]
Options:
--fields LIST Show specified fields or predefined field sets only. (See below)
--location-id NUMBER Set the current location context for the request
--order VALUE Sort and order by a searchable field, e.g. '<field> DESC'
--organization-id NUMBER Set the current organization context for the request
--page NUMBER Page number, starting at 1
--parent-task-id VALUE UUID of the task
--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
------------|-----|--------
Id | x | x
Action | x | x
State | x | x
Result | x | x
Started at | x | x
Ended at | x | x
Duration | x | x
Owner | x | x
Task errors | 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.78.3. hammer task progress Copy linkLink copied to clipboard!
Show the progress of the task
Usage: hammer task progress [OPTIONS] Options: --id VALUE UUID of the task --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 Name to search by --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 -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
Usage:
hammer task progress [OPTIONS]
Options:
--id VALUE UUID of the task
--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 Name to search by
--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
-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.78.4. hammer task resume Copy linkLink copied to clipboard!
Resume all tasks paused in error state
Usage: hammer task resume [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 --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 --search VALUE Resume tasks matching search string --task-ids LIST Resume specific tasks by ID --tasks LIST -h, --help Print help Predefined field sets: ----------------------------------------|-----|-------- FIELDS | ALL | DEFAULT ----------------------------------------|-----|-------- Total tasks found paused in error state | x | x Total tasks resumed | x | x Resumed tasks/task identifier | x | x Resumed tasks/task action | x | x Resumed tasks/task errors | x | x Total tasks failed to resume | x | x Failed tasks/task identifier | x | x Failed tasks/task action | x | x Failed tasks/task errors | x | x Total tasks skipped | x | x Skipped tasks/task identifier | x | x Skipped tasks/task action | x | x Skipped tasks/task errors | 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
Usage:
hammer task resume [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
--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
--search VALUE Resume tasks matching search string
--task-ids LIST Resume specific tasks by ID
--tasks LIST
-h, --help Print help
Predefined field sets:
----------------------------------------|-----|--------
FIELDS | ALL | DEFAULT
----------------------------------------|-----|--------
Total tasks found paused in error state | x | x
Total tasks resumed | x | x
Resumed tasks/task identifier | x | x
Resumed tasks/task action | x | x
Resumed tasks/task errors | x | x
Total tasks failed to resume | x | x
Failed tasks/task identifier | x | x
Failed tasks/task action | x | x
Failed tasks/task errors | x | x
Total tasks skipped | x | x
Skipped tasks/task identifier | x | x
Skipped tasks/task action | x | x
Skipped tasks/task errors | 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.79. hammer template Copy linkLink copied to clipboard!
Manipulate provisioning templates
Usage: hammer template [OPTIONS] SUBCOMMAND [ARG] ... Parameters: SUBCOMMAND Subcommand [ARG] ... Subcommand arguments Subcommands: add-operatingsystem Associate an operating system build-pxe-default Update the default PXE menu on all configured TFTP servers clone Clone a provision template combination Manage template combinations create Create a provisioning template delete, destroy Delete a provisioning template dump View provisioning template content info, show Show provisioning template details kinds List available provisioning template kinds list, index List provisioning templates remove-operatingsystem Disassociate an operating system update Update a provisioning template Options: -h, --help Print help
Usage:
hammer template [OPTIONS] SUBCOMMAND [ARG] ...
Parameters:
SUBCOMMAND Subcommand
[ARG] ... Subcommand arguments
Subcommands:
add-operatingsystem Associate an operating system
build-pxe-default Update the default PXE menu on all configured TFTP servers
clone Clone a provision template
combination Manage template combinations
create Create a provisioning template
delete, destroy Delete a provisioning template
dump View provisioning template content
info, show Show provisioning template details
kinds List available provisioning template kinds
list, index List provisioning templates
remove-operatingsystem Disassociate an operating system
update Update a provisioning template
Options:
-h, --help Print help
3.79.1. hammer template add-operatingsystem Copy linkLink copied to clipboard!
Associate an operating system
Usage: hammer template add-operatingsystem [OPTIONS] Options: --id VALUE --name VALUE Name to search by --operatingsystem VALUE Operating system title --operatingsystem-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
Usage:
hammer template add-operatingsystem [OPTIONS]
Options:
--id VALUE
--name VALUE Name to search by
--operatingsystem VALUE Operating system title
--operatingsystem-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.79.2. hammer template build-pxe-default Copy linkLink copied to clipboard!
Update the default PXE menu on all configured TFTP servers
Usage: hammer template build-pxe-default [OPTIONS] Options: --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 --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 -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
Usage:
hammer template build-pxe-default [OPTIONS]
Options:
--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
--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
-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.79.3. hammer template clone Copy linkLink copied to clipboard!
Clone a provision template
Usage: hammer template clone [OPTIONS] Options: --id VALUE --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 Template name --new-name VALUE Template name --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 -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
Usage:
hammer template clone [OPTIONS]
Options:
--id VALUE
--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 Template name
--new-name VALUE Template name
--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
-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.79.4. hammer template combination Copy linkLink copied to clipboard!
Manage template combinations
Usage: hammer template combination [OPTIONS] SUBCOMMAND [ARG] ... Parameters: SUBCOMMAND Subcommand [ARG] ... Subcommand arguments Subcommands: create Add a template combination delete, destroy Delete a template combination info, show Show template combination list, index List template combination update Update template combination Options: -h, --help Print help
Usage:
hammer template combination [OPTIONS] SUBCOMMAND [ARG] ...
Parameters:
SUBCOMMAND Subcommand
[ARG] ... Subcommand arguments
Subcommands:
create Add a template combination
delete, destroy Delete a template combination
info, show Show template combination
list, index List template combination
update Update template combination
Options:
-h, --help Print help
3.79.4.1. hammer template combination create Copy linkLink copied to clipboard!
Add a template combination
Usage: hammer template combination create [OPTIONS] Options: --hostgroup VALUE Hostgroup name --hostgroup-id VALUE ID of host group --hostgroup-title VALUE Hostgroup title --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 --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 --provisioning-template VALUE Name to search by --provisioning-template-id VALUE ID of config template -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
Usage:
hammer template combination create [OPTIONS]
Options:
--hostgroup VALUE Hostgroup name
--hostgroup-id VALUE ID of host group
--hostgroup-title VALUE Hostgroup title
--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
--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
--provisioning-template VALUE Name to search by
--provisioning-template-id VALUE ID of config template
-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.79.4.2. hammer template combination delete Copy linkLink copied to clipboard!
Delete a template combination
Usage: hammer template combination <delete|destroy> [OPTIONS] Options: --id VALUE --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 --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 -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
Usage:
hammer template combination <delete|destroy> [OPTIONS]
Options:
--id VALUE
--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
--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
-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.79.4.3. hammer template combination info Copy linkLink copied to clipboard!
Show template combination
Usage: hammer template combination <info|show> [OPTIONS] Options: --fields LIST Show specified fields or predefined field sets only. (See below) --hostgroup VALUE Hostgroup name --hostgroup-id VALUE ID of host group --hostgroup-title VALUE Hostgroup title --id VALUE --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 --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 --provisioning-template VALUE Name to search by --provisioning-template-id VALUE ID of config template -h, --help Print help Predefined field sets: ---------------------------|-----|---------|----- FIELDS | ALL | DEFAULT | THIN ---------------------------|-----|---------|----- Id | x | x | x Provisioning template id | x | x | Provisioning template name | x | x | Hostgroup id | x | x | Hostgroup name | x | x | Locations/ | 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
Usage:
hammer template combination <info|show> [OPTIONS]
Options:
--fields LIST Show specified fields or predefined field sets only. (See below)
--hostgroup VALUE Hostgroup name
--hostgroup-id VALUE ID of host group
--hostgroup-title VALUE Hostgroup title
--id VALUE
--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
--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
--provisioning-template VALUE Name to search by
--provisioning-template-id VALUE ID of config template
-h, --help Print help
Predefined field sets:
---------------------------|-----|---------|-----
FIELDS | ALL | DEFAULT | THIN
---------------------------|-----|---------|-----
Id | x | x | x
Provisioning template id | x | x |
Provisioning template name | x | x |
Hostgroup id | x | x |
Hostgroup name | x | x |
Locations/ | 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
3.79.4.4. hammer template combination list Copy linkLink copied to clipboard!
List template combination
Usage: hammer template combination <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 --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 --provisioning-template VALUE Name to search by --provisioning-template-id VALUE ID of config template -h, --help Print help Predefined field sets: ----------------------|-----|---------|----- FIELDS | ALL | DEFAULT | THIN ----------------------|-----|---------|----- Id | x | x | x Provisioning template | x | x | Hostgroup | 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
Usage:
hammer template combination <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
--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
--provisioning-template VALUE Name to search by
--provisioning-template-id VALUE ID of config template
-h, --help Print help
Predefined field sets:
----------------------|-----|---------|-----
FIELDS | ALL | DEFAULT | THIN
----------------------|-----|---------|-----
Id | x | x | x
Provisioning template | x | x |
Hostgroup | 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.79.4.5. hammer template combination update Copy linkLink copied to clipboard!
Update template combination
Usage: hammer template combination update [OPTIONS] Options: --hostgroup VALUE Hostgroup name --hostgroup-id VALUE ID of host group --hostgroup-title VALUE Hostgroup title --id VALUE --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 --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 --provisioning-template VALUE Name to search by --provisioning-template-id VALUE ID of config template -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
Usage:
hammer template combination update [OPTIONS]
Options:
--hostgroup VALUE Hostgroup name
--hostgroup-id VALUE ID of host group
--hostgroup-title VALUE Hostgroup title
--id VALUE
--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
--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
--provisioning-template VALUE Name to search by
--provisioning-template-id VALUE ID of config template
-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.79.5. hammer template create Copy linkLink copied to clipboard!
Create a provisioning template
Usage: hammer template create [OPTIONS] Options: --audit-comment VALUE --description VALUE --file FILE Path to a file that contains the template --location VALUE Set the current location context for the request --location-id NUMBER Set the current location context for the request --location-ids LIST REPLACE locations with given ids --location-title VALUE Set the current location context for the request --location-titles LIST --locations LIST --locked BOOLEAN Whether or not the template is locked for editing --name VALUE Template name --operatingsystem-ids LIST Array of operating system IDs to associate with the template --operatingsystems LIST --organization VALUE Set the current organization context for the request --organization-id NUMBER Set the current organization context for the request --organization-ids LIST REPLACE organizations with given ids. --organization-title VALUE Set the current organization context for the request --organization-titles LIST --organizations LIST --type VALUE Template type. Eg. snippet, script, provision -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
Usage:
hammer template create [OPTIONS]
Options:
--audit-comment VALUE
--description VALUE
--file FILE Path to a file that contains the template
--location VALUE Set the current location context for the request
--location-id NUMBER Set the current location context for the request
--location-ids LIST REPLACE locations with given ids
--location-title VALUE Set the current location context for the request
--location-titles LIST
--locations LIST
--locked BOOLEAN Whether or not the template is locked for editing
--name VALUE Template name
--operatingsystem-ids LIST Array of operating system IDs to associate with the template
--operatingsystems LIST
--organization VALUE Set the current organization context for the request
--organization-id NUMBER Set the current organization context for the request
--organization-ids LIST REPLACE organizations with given ids.
--organization-title VALUE Set the current organization context for the request
--organization-titles LIST
--organizations LIST
--type VALUE Template type. Eg. snippet, script, provision
-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.79.6. hammer template delete Copy linkLink copied to clipboard!
Delete a provisioning template
Usage: hammer template <delete|destroy> [OPTIONS] Options: --id VALUE --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 Name to search by --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 -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
Usage:
hammer template <delete|destroy> [OPTIONS]
Options:
--id VALUE
--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 Name to search by
--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
-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.79.7. hammer template dump Copy linkLink copied to clipboard!
View provisioning template content
Usage: hammer template dump [OPTIONS] Options: --fields LIST Show specified fields or predefined field sets only. (See below) --id VALUE --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 Name to search by --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 -h, --help Print help Predefined field sets: ------ FIELDS ------ 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
Usage:
hammer template dump [OPTIONS]
Options:
--fields LIST Show specified fields or predefined field sets only. (See below)
--id VALUE
--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 Name to search by
--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
-h, --help Print help
Predefined field sets:
------
FIELDS
------
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.79.8. hammer template info Copy linkLink copied to clipboard!
Show provisioning template details
Usage: hammer template <info|show> [OPTIONS] Options: --fields LIST Show specified fields or predefined field sets only. (See below) --id VALUE --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 Name to search by --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 -h, --help Print help Predefined field sets: ---------------------------------------|-----|---------|----- FIELDS | ALL | DEFAULT | THIN ---------------------------------------|-----|---------|----- Id | x | x | x Name | x | x | x Type | x | x | Description | x | x | Locked | x | x | Operating systems/ | x | x | Locations/ | x | x | Organizations/ | x | x | Template combinations/hostgroup name | x | x | Template combinations/environment name | 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
Usage:
hammer template <info|show> [OPTIONS]
Options:
--fields LIST Show specified fields or predefined field sets only. (See below)
--id VALUE
--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 Name to search by
--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
-h, --help Print help
Predefined field sets:
---------------------------------------|-----|---------|-----
FIELDS | ALL | DEFAULT | THIN
---------------------------------------|-----|---------|-----
Id | x | x | x
Name | x | x | x
Type | x | x |
Description | x | x |
Locked | x | x |
Operating systems/ | x | x |
Locations/ | x | x |
Organizations/ | x | x |
Template combinations/hostgroup name | x | x |
Template combinations/environment name | 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.79.9. hammer template kinds Copy linkLink copied to clipboard!
List available provisioning template kinds
Usage: hammer template kinds [OPTIONS] Options: --fields LIST Show specified fields or predefined field sets only. (See below) -h, --help Print help Predefined field sets: -------|-----|---------|----- FIELDS | ALL | DEFAULT | THIN -------|-----|---------|----- Name | 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
Usage:
hammer template kinds [OPTIONS]
Options:
--fields LIST Show specified fields or predefined field sets only. (See below)
-h, --help Print help
Predefined field sets:
-------|-----|---------|-----
FIELDS | ALL | DEFAULT | THIN
-------|-----|---------|-----
Name | 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
3.79.10. hammer template list Copy linkLink copied to clipboard!
List provisioning templates
Usage: hammer template <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 Scope by locations --location-title VALUE Set the current location context for the request --operatingsystem VALUE Operating system title --operatingsystem-id NUMBER ID of operating system --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 Scope by organizations --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 Name | x | x | x Type | 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: default_template Values: true, false hostgroup string kind string location string location_id integer locked Values: true, false name string operatingsystem string organization string organization_id integer snippet Values: true, false supported Values: true, false template text vendor string
Usage:
hammer template <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 Scope by locations
--location-title VALUE Set the current location context for the request
--operatingsystem VALUE Operating system title
--operatingsystem-id NUMBER ID of operating system
--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 Scope by organizations
--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
Name | x | x | x
Type | 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:
default_template Values: true, false
hostgroup string
kind string
location string
location_id integer
locked Values: true, false
name string
operatingsystem string
organization string
organization_id integer
snippet Values: true, false
supported Values: true, false
template text
vendor string
3.79.11. hammer template remove-operatingsystem Copy linkLink copied to clipboard!
Disassociate an operating system
Usage: hammer template remove-operatingsystem [OPTIONS] Options: --id VALUE --name VALUE Name to search by --operatingsystem VALUE Operating system title --operatingsystem-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
Usage:
hammer template remove-operatingsystem [OPTIONS]
Options:
--id VALUE
--name VALUE Name to search by
--operatingsystem VALUE Operating system title
--operatingsystem-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.79.12. hammer template update Copy linkLink copied to clipboard!
Update a provisioning template
Usage: hammer template update [OPTIONS] Options: --audit-comment VALUE --description VALUE --file FILE Path to a file that contains the template --id 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 REPLACE locations with given ids --location-title VALUE Set the current location context for the request --location-titles LIST --locations LIST --locked BOOLEAN Whether or not the template is locked for editing --name VALUE Template name --new-name VALUE Template name --operatingsystem-ids LIST Array of operating system IDs to associate with the template --operatingsystems LIST --organization VALUE Set the current organization context for the request --organization-id NUMBER Set the current organization context for the request --organization-ids LIST REPLACE organizations with given ids. --organization-title VALUE Set the current organization context for the request --organization-titles LIST --organizations LIST --type VALUE Template type. Eg. snippet, script, provision -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
Usage:
hammer template update [OPTIONS]
Options:
--audit-comment VALUE
--description VALUE
--file FILE Path to a file that contains the template
--id 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 REPLACE locations with given ids
--location-title VALUE Set the current location context for the request
--location-titles LIST
--locations LIST
--locked BOOLEAN Whether or not the template is locked for editing
--name VALUE Template name
--new-name VALUE Template name
--operatingsystem-ids LIST Array of operating system IDs to associate with the template
--operatingsystems LIST
--organization VALUE Set the current organization context for the request
--organization-id NUMBER Set the current organization context for the request
--organization-ids LIST REPLACE organizations with given ids.
--organization-title VALUE Set the current organization context for the request
--organization-titles LIST
--organizations LIST
--type VALUE Template type. Eg. snippet, script, provision
-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.80. hammer template-input Copy linkLink copied to clipboard!
Manage template inputs
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
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
3.80.1. hammer template-input create Copy linkLink copied to clipboard!
Create a template input
Usage: hammer template-input create [OPTIONS] Options: --advanced BOOLEAN Input is advanced --default VALUE Default value for user input --description VALUE Input description --fact-name VALUE Fact name, used when input type is Fact value --hidden-value BOOLEAN The value contains sensitive information and shouldn not be normally visible, useful e.g. for passwords --input-type ENUM Input type Possible value(s): 'user', 'fact', 'variable' --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 Input name --options LIST Selectable values for user inputs --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 --required BOOLEAN Input is required --resource-type ENUM For values of type search, this is the resource the value searches in Possible value(s): 'AnsibleRole', 'AnsibleVariable', 'Architecture', 'Audit', 'AuthSource', 'Bookmark', 'ComputeProfile', 'ComputeResource', 'ConfigReport', 'DiscoveryRule', 'Domain', 'ExternalUsergroup', 'FactValue', 'Filter', 'ForemanOpenscap::ArfReport', 'ForemanOpenscap::OvalContent', 'ForemanOpenscap::OvalPolicy', 'ForemanOpenscap::Policy', 'ForemanOpenscap::ScapContent', 'ForemanOpenscap::TailoringFile', 'ForemanTasks::RecurringLogic', 'ForemanTasks::Task', 'ForemanVirtWhoConfigure::Config', 'Host', 'Hostgroup', 'HttpProxy', 'Image', 'InsightsHit', 'JobInvocation', 'JobTemplate', 'Katello::ActivationKey', 'Katello::ContentCredential', 'Katello::ContentView', 'Katello::HostCollection', 'Katello::KTEnvironment', 'Katello::Product', 'Katello::Subscription', 'Katello::SyncPlan', 'KeyPair', 'Location', 'MailNotification', 'Medium', 'Model', 'Operatingsystem', 'Organization', 'Parameter', 'PersonalAccessToken', 'ProvisioningTemplate', 'Ptable', 'Realm', 'RemoteExecutionFeature', 'Report', 'ReportTemplate', 'Role', 'Setting', 'SmartProxy', 'SshKey', 'Subnet', 'Template', 'TemplateInvocation', 'User', 'Usergroup', 'Webhook', 'WebhookTemplate' --template-id VALUE --value-type ENUM Value type, defaults to plain Possible value(s): 'plain', 'search', 'date', 'resource' --variable-name VALUE Variable name, used when input type is Variable -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
Usage:
hammer template-input create [OPTIONS]
Options:
--advanced BOOLEAN Input is advanced
--default VALUE Default value for user input
--description VALUE Input description
--fact-name VALUE Fact name, used when input type is Fact value
--hidden-value BOOLEAN The value contains sensitive information and shouldn not be normally visible,
useful e.g. for passwords
--input-type ENUM Input type
Possible value(s): 'user', 'fact', 'variable'
--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 Input name
--options LIST Selectable values for user inputs
--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
--required BOOLEAN Input is required
--resource-type ENUM For values of type search, this is the resource the value searches in
Possible value(s): 'AnsibleRole', 'AnsibleVariable', 'Architecture', 'Audit',
'AuthSource', 'Bookmark', 'ComputeProfile', 'ComputeResource', 'ConfigReport',
'DiscoveryRule', 'Domain', 'ExternalUsergroup', 'FactValue', 'Filter',
'ForemanOpenscap::ArfReport', 'ForemanOpenscap::OvalContent',
'ForemanOpenscap::OvalPolicy', 'ForemanOpenscap::Policy',
'ForemanOpenscap::ScapContent', 'ForemanOpenscap::TailoringFile',
'ForemanTasks::RecurringLogic', 'ForemanTasks::Task',
'ForemanVirtWhoConfigure::Config', 'Host', 'Hostgroup', 'HttpProxy', 'Image',
'InsightsHit', 'JobInvocation', 'JobTemplate', 'Katello::ActivationKey',
'Katello::ContentCredential', 'Katello::ContentView', 'Katello::HostCollection',
'Katello::KTEnvironment', 'Katello::Product', 'Katello::Subscription',
'Katello::SyncPlan', 'KeyPair', 'Location', 'MailNotification', 'Medium',
'Model', 'Operatingsystem', 'Organization', 'Parameter', 'PersonalAccessToken',
'ProvisioningTemplate', 'Ptable', 'Realm', 'RemoteExecutionFeature', 'Report',
'ReportTemplate', 'Role', 'Setting', 'SmartProxy', 'SshKey', 'Subnet',
'Template', 'TemplateInvocation', 'User', 'Usergroup', 'Webhook',
'WebhookTemplate'
--template-id VALUE
--value-type ENUM Value type, defaults to plain
Possible value(s): 'plain', 'search', 'date', 'resource'
--variable-name VALUE Variable name, used when input type is Variable
-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.80.2. hammer template-input delete Copy linkLink copied to clipboard!
Delete a template input
Usage: hammer template-input <delete|destroy> [OPTIONS] Options: --id VALUE --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 Name to search by --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 --template-id 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
Usage:
hammer template-input <delete|destroy> [OPTIONS]
Options:
--id VALUE
--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 Name to search by
--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
--template-id 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.80.3. hammer template-input info Copy linkLink copied to clipboard!
Show template input details
Usage: hammer template-input <info|show> [OPTIONS] Options: --fields LIST Show specified fields or predefined field sets only. (See below) --id VALUE --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 Name to search by --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 --template-id VALUE -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 | ----------------------|-----|---------|----- 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
Usage:
hammer template-input <info|show> [OPTIONS]
Options:
--fields LIST Show specified fields or predefined field sets only. (See below)
--id VALUE
--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 Name to search by
--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
--template-id VALUE
-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 |
----------------------|-----|---------|-----
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.80.4. hammer template-input list Copy linkLink copied to clipboard!
List template inputs
Usage: hammer template-input <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 --template-id VALUE -h, --help Print help Predefined field sets: -----------|-----|---------|----- FIELDS | ALL | DEFAULT | THIN -----------|-----|---------|----- Id | x | x | x Name | x | x | x Input type | 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: input_type string name string
Usage:
hammer template-input <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
--template-id VALUE
-h, --help Print help
Predefined field sets:
-----------|-----|---------|-----
FIELDS | ALL | DEFAULT | THIN
-----------|-----|---------|-----
Id | x | x | x
Name | x | x | x
Input type | 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:
input_type string
name string
3.80.5. hammer template-input update Copy linkLink copied to clipboard!
Update a template input
Usage: hammer template-input update [OPTIONS] Options: --advanced BOOLEAN Input is advanced --default VALUE Default value for user input --description VALUE Input description --fact-name VALUE Fact name, used when input type is Fact value --hidden-value BOOLEAN The value contains sensitive information and shouldn not be normally visible, useful e.g. for passwords --id VALUE --input-type ENUM Input type Possible value(s): 'user', 'fact', 'variable' --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 Input name --new-name VALUE Input name --options LIST Selectable values for user inputs --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 --required BOOLEAN Input is required --resource-type ENUM For values of type search, this is the resource the value searches in Possible value(s): 'AnsibleRole', 'AnsibleVariable', 'Architecture', 'Audit', 'AuthSource', 'Bookmark', 'ComputeProfile', 'ComputeResource', 'ConfigReport', 'DiscoveryRule', 'Domain', 'ExternalUsergroup', 'FactValue', 'Filter', 'ForemanOpenscap::ArfReport', 'ForemanOpenscap::OvalContent', 'ForemanOpenscap::OvalPolicy', 'ForemanOpenscap::Policy', 'ForemanOpenscap::ScapContent', 'ForemanOpenscap::TailoringFile', 'ForemanTasks::RecurringLogic', 'ForemanTasks::Task', 'ForemanVirtWhoConfigure::Config', 'Host', 'Hostgroup', 'HttpProxy', 'Image', 'InsightsHit', 'JobInvocation', 'JobTemplate', 'Katello::ActivationKey', 'Katello::ContentCredential', 'Katello::ContentView', 'Katello::HostCollection', 'Katello::KTEnvironment', 'Katello::Product', 'Katello::Subscription', 'Katello::SyncPlan', 'KeyPair', 'Location', 'MailNotification', 'Medium', 'Model', 'Operatingsystem', 'Organization', 'Parameter', 'PersonalAccessToken', 'ProvisioningTemplate', 'Ptable', 'Realm', 'RemoteExecutionFeature', 'Report', 'ReportTemplate', 'Role', 'Setting', 'SmartProxy', 'SshKey', 'Subnet', 'Template', 'TemplateInvocation', 'User', 'Usergroup', 'Webhook', 'WebhookTemplate' --template-id VALUE --value-type ENUM Value type, defaults to plain Possible value(s): 'plain', 'search', 'date', 'resource' --variable-name VALUE Variable name, used when input type is Variable -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
Usage:
hammer template-input update [OPTIONS]
Options:
--advanced BOOLEAN Input is advanced
--default VALUE Default value for user input
--description VALUE Input description
--fact-name VALUE Fact name, used when input type is Fact value
--hidden-value BOOLEAN The value contains sensitive information and shouldn not be normally visible,
useful e.g. for passwords
--id VALUE
--input-type ENUM Input type
Possible value(s): 'user', 'fact', 'variable'
--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 Input name
--new-name VALUE Input name
--options LIST Selectable values for user inputs
--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
--required BOOLEAN Input is required
--resource-type ENUM For values of type search, this is the resource the value searches in
Possible value(s): 'AnsibleRole', 'AnsibleVariable', 'Architecture', 'Audit',
'AuthSource', 'Bookmark', 'ComputeProfile', 'ComputeResource', 'ConfigReport',
'DiscoveryRule', 'Domain', 'ExternalUsergroup', 'FactValue', 'Filter',
'ForemanOpenscap::ArfReport', 'ForemanOpenscap::OvalContent',
'ForemanOpenscap::OvalPolicy', 'ForemanOpenscap::Policy',
'ForemanOpenscap::ScapContent', 'ForemanOpenscap::TailoringFile',
'ForemanTasks::RecurringLogic', 'ForemanTasks::Task',
'ForemanVirtWhoConfigure::Config', 'Host', 'Hostgroup', 'HttpProxy', 'Image',
'InsightsHit', 'JobInvocation', 'JobTemplate', 'Katello::ActivationKey',
'Katello::ContentCredential', 'Katello::ContentView', 'Katello::HostCollection',
'Katello::KTEnvironment', 'Katello::Product', 'Katello::Subscription',
'Katello::SyncPlan', 'KeyPair', 'Location', 'MailNotification', 'Medium',
'Model', 'Operatingsystem', 'Organization', 'Parameter', 'PersonalAccessToken',
'ProvisioningTemplate', 'Ptable', 'Realm', 'RemoteExecutionFeature', 'Report',
'ReportTemplate', 'Role', 'Setting', 'SmartProxy', 'SshKey', 'Subnet',
'Template', 'TemplateInvocation', 'User', 'Usergroup', 'Webhook',
'WebhookTemplate'
--template-id VALUE
--value-type ENUM Value type, defaults to plain
Possible value(s): 'plain', 'search', 'date', 'resource'
--variable-name VALUE Variable name, used when input type is Variable
-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.81. hammer user Copy linkLink copied to clipboard!
Manipulate users
Usage: hammer user [OPTIONS] SUBCOMMAND [ARG] ... Parameters: SUBCOMMAND Subcommand [ARG] ... Subcommand arguments Subcommands: access-token Managing personal access tokens add-role Assign a user role create Create a user delete, destroy Delete a user info, show Show a user list, index List all users mail-notification Managing personal mail notifications remove-role Remove a user role ssh-keys Managing User SSH Keys. update Update a user Options: -h, --help Print help
Usage:
hammer user [OPTIONS] SUBCOMMAND [ARG] ...
Parameters:
SUBCOMMAND Subcommand
[ARG] ... Subcommand arguments
Subcommands:
access-token Managing personal access tokens
add-role Assign a user role
create Create a user
delete, destroy Delete a user
info, show Show a user
list, index List all users
mail-notification Managing personal mail notifications
remove-role Remove a user role
ssh-keys Managing User SSH Keys.
update Update a user
Options:
-h, --help Print help
3.81.1. hammer user access-token Copy linkLink copied to clipboard!
Managing personal access tokens
Usage: hammer user access-token [OPTIONS] SUBCOMMAND [ARG] ... Parameters: SUBCOMMAND Subcommand [ARG] ... Subcommand arguments Subcommands: create Create a Personal Access Token for a user info, show Show a Personal Access Token for a user list, index List all Personal Access Tokens for a user revoke Revoke a Personal Access Token for a user Options: -h, --help Print help
Usage:
hammer user access-token [OPTIONS] SUBCOMMAND [ARG] ...
Parameters:
SUBCOMMAND Subcommand
[ARG] ... Subcommand arguments
Subcommands:
create Create a Personal Access Token for a user
info, show Show a Personal Access Token for a user
list, index List all Personal Access Tokens for a user
revoke Revoke a Personal Access Token for a user
Options:
-h, --help Print help
3.81.1.1. hammer user access-token create Copy linkLink copied to clipboard!
Create a Personal Access Token for a user
Usage: hammer user access-token create [OPTIONS] Options: --expires-at VALUE Expiry Date --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 --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 --user VALUE User's login to search by --user-id VALUE ID of the user -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
Usage:
hammer user access-token create [OPTIONS]
Options:
--expires-at VALUE Expiry Date
--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
--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
--user VALUE User's login to search by
--user-id VALUE ID of the user
-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.81.1.2. hammer user access-token info Copy linkLink copied to clipboard!
Show a Personal Access Token for a user
Usage: hammer user access-token <info|show> [OPTIONS] Options: --fields LIST Show specified fields or predefined field sets only. (See below) --id VALUE --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 Name to search by --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 --user VALUE User's login to search by --user-id VALUE ID of the user -h, --help Print help Predefined field sets: -------------|-----|---------|----- FIELDS | ALL | DEFAULT | THIN -------------|-----|---------|----- Id | x | x | x Name | x | x | x Active | x | x | Expires at | x | x | Created at | x | x | Last used 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
Usage:
hammer user access-token <info|show> [OPTIONS]
Options:
--fields LIST Show specified fields or predefined field sets only. (See below)
--id VALUE
--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 Name to search by
--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
--user VALUE User's login to search by
--user-id VALUE ID of the user
-h, --help Print help
Predefined field sets:
-------------|-----|---------|-----
FIELDS | ALL | DEFAULT | THIN
-------------|-----|---------|-----
Id | x | x | x
Name | x | x | x
Active | x | x |
Expires at | x | x |
Created at | x | x |
Last used 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
3.81.1.3. hammer user access-token list Copy linkLink copied to clipboard!
List all Personal Access Tokens for a user
Usage: hammer user access-token <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 --user VALUE User's login to search by --user-id VALUE ID of the user -h, --help Print help Predefined field sets: -----------|-----|---------|----- FIELDS | ALL | DEFAULT | THIN -----------|-----|---------|----- Id | x | x | x Name | x | x | x Active | x | x | Expires 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 Search / Order fields: name string user_id integer
Usage:
hammer user access-token <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
--user VALUE User's login to search by
--user-id VALUE ID of the user
-h, --help Print help
Predefined field sets:
-----------|-----|---------|-----
FIELDS | ALL | DEFAULT | THIN
-----------|-----|---------|-----
Id | x | x | x
Name | x | x | x
Active | x | x |
Expires 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
Search / Order fields:
name string
user_id integer
3.81.1.4. hammer user access-token revoke Copy linkLink copied to clipboard!
Revoke a Personal Access Token for a user
Usage: hammer user access-token revoke [OPTIONS] Options: --id VALUE --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 Name to search by --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 --user VALUE User's login to search by --user-id VALUE ID of the user -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
Usage:
hammer user access-token revoke [OPTIONS]
Options:
--id VALUE
--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 Name to search by
--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
--user VALUE User's login to search by
--user-id VALUE ID of the user
-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.81.2. hammer user add-role Copy linkLink copied to clipboard!
Assign a user role
Usage: hammer user add-role [OPTIONS] Options: --id VALUE --login VALUE User's login to search by --role VALUE User role name --role-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
Usage:
hammer user add-role [OPTIONS]
Options:
--id VALUE
--login VALUE User's login to search by
--role VALUE User role name
--role-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.81.3. hammer user create Copy linkLink copied to clipboard!
Create a user
Usage: hammer user create [OPTIONS] Options: --admin BOOLEAN Is an admin account --ask-password BOOLEAN --auth-source VALUE Name to search by --auth-source-id NUMBER --default-location VALUE Default location name --default-location-id NUMBER --default-organization VALUE Default organization name --default-organization-id NUMBER --description VALUE --disabled BOOLEAN --firstname VALUE --lastname VALUE --locale ENUM User's preferred locale Possible value(s): 'ca', 'cs_CZ', 'de', 'en', 'en_GB', 'es', 'fr', 'gl', 'it', 'ja', 'ko', 'nl_NL', 'pl', 'pt_BR', 'ru', 'sv_SE', 'zh_CN', 'zh_TW' --location VALUE Set the current location context for the request --location-id NUMBER Set the current location context for the request --location-ids LIST REPLACE locations with given ids --location-title VALUE Set the current location context for the request --location-titles LIST --locations LIST --login VALUE --mail 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 REPLACE organizations with given ids. --organization-title VALUE Set the current organization context for the request --organization-titles LIST --organizations LIST --password VALUE Required unless user is in an external authentication source --role-ids LIST --roles LIST --timezone ENUM User's timezone Possible value(s): 'International Date Line West', 'American Samoa', 'Midway Island', 'Hawaii', 'Alaska', 'Pacific Time (US & Canada)', 'Tijuana', 'Arizona', 'Chihuahua', 'Mazatlan', 'Mountain Time (US & Canada)', 'Central America', 'Central Time (US & Canada)', 'Guadalajara', 'Mexico City', 'Monterrey', 'Saskatchewan', 'Bogota', 'Eastern Time (US & Canada)', 'Indiana (East)', 'Lima', 'Quito', 'Atlantic Time (Canada)', 'Caracas', 'Georgetown', 'La Paz', 'Puerto Rico', 'Santiago', 'Newfoundland', 'Brasilia', 'Buenos Aires', 'Greenland', 'Montevideo', 'Mid-Atlantic', 'Azores', 'Cape Verde Is.', 'Casablanca', 'Dublin', 'Edinburgh', 'Lisbon', 'London', 'Monrovia', 'UTC', 'Amsterdam', 'Belgrade', 'Berlin', 'Bern', 'Bratislava', 'Brussels', 'Budapest', 'Copenhagen', 'Ljubljana', 'Madrid', 'Paris', 'Prague', 'Rome', 'Sarajevo', 'Skopje', 'Stockholm', 'Vienna', 'Warsaw', 'West Central Africa', 'Zagreb', 'Zurich', 'Athens', 'Bucharest', 'Cairo', 'Harare', 'Helsinki', 'Jerusalem', 'Kaliningrad', 'Kyiv', 'Pretoria', 'Riga', 'Sofia', 'Tallinn', 'Vilnius', 'Baghdad', 'Istanbul', 'Kuwait', 'Minsk', 'Moscow', 'Nairobi', 'Riyadh', 'St. Petersburg', 'Volgograd', 'Tehran', 'Abu Dhabi', 'Baku', 'Muscat', 'Samara', 'Tbilisi', 'Yerevan', 'Kabul', 'Ekaterinburg', 'Islamabad', 'Karachi', 'Tashkent', 'Chennai', 'Kolkata', 'Mumbai', 'New Delhi', 'Sri Jayawardenepura', 'Kathmandu', 'Almaty', 'Astana', 'Dhaka', 'Urumqi', 'Rangoon', 'Bangkok', 'Hanoi', 'Jakarta', 'Krasnoyarsk', 'Novosibirsk', 'Beijing', 'Chongqing', 'Hong Kong', 'Irkutsk', 'Kuala Lumpur', 'Perth', 'Singapore', 'Taipei', 'Ulaanbaatar', 'Osaka', 'Sapporo', 'Seoul', 'Tokyo', 'Yakutsk', 'Adelaide', 'Darwin', 'Brisbane', 'Canberra', 'Guam', 'Hobart', 'Melbourne', 'Port Moresby', 'Sydney', 'Vladivostok', 'Magadan', 'New Caledonia', 'Solomon Is.', 'Srednekolymsk', 'Auckland', 'Fiji', 'Kamchatka', 'Marshall Is.', 'Wellington', 'Chatham Is.', 'Nuku'alofa', 'Samoa', 'Tokelau Is.' -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
Usage:
hammer user create [OPTIONS]
Options:
--admin BOOLEAN Is an admin account
--ask-password BOOLEAN
--auth-source VALUE Name to search by
--auth-source-id NUMBER
--default-location VALUE Default location name
--default-location-id NUMBER
--default-organization VALUE Default organization name
--default-organization-id NUMBER
--description VALUE
--disabled BOOLEAN
--firstname VALUE
--lastname VALUE
--locale ENUM User's preferred locale
Possible value(s): 'ca', 'cs_CZ', 'de', 'en', 'en_GB', 'es', 'fr', 'gl', 'it',
'ja', 'ko', 'nl_NL', 'pl', 'pt_BR', 'ru', 'sv_SE', 'zh_CN', 'zh_TW'
--location VALUE Set the current location context for the request
--location-id NUMBER Set the current location context for the request
--location-ids LIST REPLACE locations with given ids
--location-title VALUE Set the current location context for the request
--location-titles LIST
--locations LIST
--login VALUE
--mail 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 REPLACE organizations with given ids.
--organization-title VALUE Set the current organization context for the request
--organization-titles LIST
--organizations LIST
--password VALUE Required unless user is in an external authentication source
--role-ids LIST
--roles LIST
--timezone ENUM User's timezone
Possible value(s): 'International Date Line West', 'American Samoa', 'Midway
Island', 'Hawaii', 'Alaska', 'Pacific Time (US & Canada)', 'Tijuana', 'Arizona',
'Chihuahua', 'Mazatlan', 'Mountain Time (US & Canada)', 'Central America',
'Central Time (US & Canada)', 'Guadalajara', 'Mexico City', 'Monterrey',
'Saskatchewan', 'Bogota', 'Eastern Time (US & Canada)', 'Indiana (East)',
'Lima', 'Quito', 'Atlantic Time (Canada)', 'Caracas', 'Georgetown', 'La Paz',
'Puerto Rico', 'Santiago', 'Newfoundland', 'Brasilia', 'Buenos Aires',
'Greenland', 'Montevideo', 'Mid-Atlantic', 'Azores', 'Cape Verde Is.',
'Casablanca', 'Dublin', 'Edinburgh', 'Lisbon', 'London', 'Monrovia', 'UTC',
'Amsterdam', 'Belgrade', 'Berlin', 'Bern', 'Bratislava', 'Brussels', 'Budapest',
'Copenhagen', 'Ljubljana', 'Madrid', 'Paris', 'Prague', 'Rome', 'Sarajevo',
'Skopje', 'Stockholm', 'Vienna', 'Warsaw', 'West Central Africa', 'Zagreb',
'Zurich', 'Athens', 'Bucharest', 'Cairo', 'Harare', 'Helsinki', 'Jerusalem',
'Kaliningrad', 'Kyiv', 'Pretoria', 'Riga', 'Sofia', 'Tallinn', 'Vilnius',
'Baghdad', 'Istanbul', 'Kuwait', 'Minsk', 'Moscow', 'Nairobi', 'Riyadh', 'St.
Petersburg', 'Volgograd', 'Tehran', 'Abu Dhabi', 'Baku', 'Muscat', 'Samara',
'Tbilisi', 'Yerevan', 'Kabul', 'Ekaterinburg', 'Islamabad', 'Karachi',
'Tashkent', 'Chennai', 'Kolkata', 'Mumbai', 'New Delhi', 'Sri Jayawardenepura',
'Kathmandu', 'Almaty', 'Astana', 'Dhaka', 'Urumqi', 'Rangoon', 'Bangkok',
'Hanoi', 'Jakarta', 'Krasnoyarsk', 'Novosibirsk', 'Beijing', 'Chongqing', 'Hong
Kong', 'Irkutsk', 'Kuala Lumpur', 'Perth', 'Singapore', 'Taipei', 'Ulaanbaatar',
'Osaka', 'Sapporo', 'Seoul', 'Tokyo', 'Yakutsk', 'Adelaide', 'Darwin',
'Brisbane', 'Canberra', 'Guam', 'Hobart', 'Melbourne', 'Port Moresby', 'Sydney',
'Vladivostok', 'Magadan', 'New Caledonia', 'Solomon Is.', 'Srednekolymsk',
'Auckland', 'Fiji', 'Kamchatka', 'Marshall Is.', 'Wellington', 'Chatham Is.',
'Nuku'alofa', 'Samoa', 'Tokelau Is.'
-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.81.4. hammer user delete Copy linkLink copied to clipboard!
Delete a user
Usage: hammer user <delete|destroy> [OPTIONS] Options: --id VALUE --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 --login VALUE User's login to search by --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 -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
Usage:
hammer user <delete|destroy> [OPTIONS]
Options:
--id VALUE
--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
--login VALUE User's login to search by
--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
-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.81.5. hammer user info Copy linkLink copied to clipboard!
Show a user
Usage: hammer user <info|show> [OPTIONS] Options: --fields LIST Show specified fields or predefined field sets only. (See below) --id VALUE --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 --login VALUE User's login to search by --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 -h, --help Print help Predefined field sets: --------------------------------|-----|---------|----- FIELDS | ALL | DEFAULT | THIN --------------------------------|-----|---------|----- Id | x | x | x Login | x | x | x Name | x | x | Email | x | x | Admin | x | x | Disabled | x | x | Last login | x | x | Authorized by | x | x | Effective admin | x | x | Locale | x | x | Timezone | x | x | Description | x | x | Default organization | x | x | Default location | x | x | Roles/ | x | x | User groups/usergroup | x | x | User groups/id | x | x | User groups/roles/ | x | x | Inherited user groups/usergroup | x | x | Inherited user groups/id | x | x | Inherited user groups/roles/ | x | x | Locations/ | 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
Usage:
hammer user <info|show> [OPTIONS]
Options:
--fields LIST Show specified fields or predefined field sets only. (See below)
--id VALUE
--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
--login VALUE User's login to search by
--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
-h, --help Print help
Predefined field sets:
--------------------------------|-----|---------|-----
FIELDS | ALL | DEFAULT | THIN
--------------------------------|-----|---------|-----
Id | x | x | x
Login | x | x | x
Name | x | x |
Email | x | x |
Admin | x | x |
Disabled | x | x |
Last login | x | x |
Authorized by | x | x |
Effective admin | x | x |
Locale | x | x |
Timezone | x | x |
Description | x | x |
Default organization | x | x |
Default location | x | x |
Roles/ | x | x |
User groups/usergroup | x | x |
User groups/id | x | x |
User groups/roles/ | x | x |
Inherited user groups/usergroup | x | x |
Inherited user groups/id | x | x |
Inherited user groups/roles/ | x | x |
Locations/ | 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
3.81.6. hammer user list Copy linkLink copied to clipboard!
List all users
Usage: hammer user <list|index> [OPTIONS] Options: --auth-source-ldap VALUE Name to search by --auth-source-ldap-id VALUE ID of LDAP authentication source --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 Scope by locations --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 Scope by organizations --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 --role VALUE User role name --role-id VALUE ID of role --search VALUE Filter results --user-group VALUE Name to search by --user-group-id VALUE ID of user group -h, --help Print help Predefined field sets: --------------|-----|---------|----- FIELDS | ALL | DEFAULT | THIN --------------|-----|---------|----- Id | x | x | x Login | x | x | x Name | x | x | Email | x | x | Admin | x | x | Disabled | x | x | Last login | x | x | Authorized by | 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: admin Values: true, false auth_source string auth_source_type string description text disabled Values: true, false firstname string last_login_on datetime lastname string location string location_id integer login string mail string organization string organization_id integer role string role_id integer usergroup string
Usage:
hammer user <list|index> [OPTIONS]
Options:
--auth-source-ldap VALUE Name to search by
--auth-source-ldap-id VALUE ID of LDAP authentication source
--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 Scope by locations
--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 Scope by organizations
--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
--role VALUE User role name
--role-id VALUE ID of role
--search VALUE Filter results
--user-group VALUE Name to search by
--user-group-id VALUE ID of user group
-h, --help Print help
Predefined field sets:
--------------|-----|---------|-----
FIELDS | ALL | DEFAULT | THIN
--------------|-----|---------|-----
Id | x | x | x
Login | x | x | x
Name | x | x |
Email | x | x |
Admin | x | x |
Disabled | x | x |
Last login | x | x |
Authorized by | 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:
admin Values: true, false
auth_source string
auth_source_type string
description text
disabled Values: true, false
firstname string
last_login_on datetime
lastname string
location string
location_id integer
login string
mail string
organization string
organization_id integer
role string
role_id integer
usergroup string
3.81.7. hammer user mail-notification Copy linkLink copied to clipboard!
Managing personal mail notifications
Usage: hammer user mail-notification [OPTIONS] SUBCOMMAND [ARG] ... Parameters: SUBCOMMAND Subcommand [ARG] ... Subcommand arguments Subcommands: add Add an email notification for a user list, index List all email notifications for a user remove Remove an email notification for a user update Update an email notification for a user Options: -h, --help Print help
Usage:
hammer user mail-notification [OPTIONS] SUBCOMMAND [ARG] ...
Parameters:
SUBCOMMAND Subcommand
[ARG] ... Subcommand arguments
Subcommands:
add Add an email notification for a user
list, index List all email notifications for a user
remove Remove an email notification for a user
update Update an email notification for a user
Options:
-h, --help Print help
3.81.7.1. hammer user mail-notification add Copy linkLink copied to clipboard!
Add an email notification for a user
Usage: hammer user mail-notification add [OPTIONS] Options: --interval VALUE Mail notification interval option, e.g. Daily, Weekly or Monthly. Required for summary notification --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 --mail-notification VALUE Name to search by --mail-notification-id NUMBER --mail-query VALUE Relevant only for audit summary notification --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 --subscription VALUE Mail notification subscription option, e.g. Subscribe, Subscribe to my hosts or Subscribe to all hosts. Required for host built and config error state --user VALUE User's login to search by --user-id 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
Usage:
hammer user mail-notification add [OPTIONS]
Options:
--interval VALUE Mail notification interval option, e.g. Daily, Weekly or Monthly. Required for
summary notification
--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
--mail-notification VALUE Name to search by
--mail-notification-id NUMBER
--mail-query VALUE Relevant only for audit summary notification
--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
--subscription VALUE Mail notification subscription option, e.g. Subscribe, Subscribe to my hosts or
Subscribe to all hosts. Required for host built and config error state
--user VALUE User's login to search by
--user-id 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.81.7.2. hammer user mail-notification list Copy linkLink copied to clipboard!
List all email notifications for a user
Usage: hammer user mail-notification <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 --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 --user VALUE User's login to search by --user-id VALUE -h, --help Print help Predefined field sets: ------------|-----|---------|----- FIELDS | ALL | DEFAULT | THIN ------------|-----|---------|----- Id | x | x | Name | x | x | x Description | x | x | Interval | x | x | Mail query | 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
Usage:
hammer user mail-notification <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
--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
--user VALUE User's login to search by
--user-id VALUE
-h, --help Print help
Predefined field sets:
------------|-----|---------|-----
FIELDS | ALL | DEFAULT | THIN
------------|-----|---------|-----
Id | x | x |
Name | x | x | x
Description | x | x |
Interval | x | x |
Mail query | 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.81.7.3. hammer user mail-notification remove Copy linkLink copied to clipboard!
Remove an email notification for a user
Usage: hammer user mail-notification remove [OPTIONS] Options: --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 --mail-notification VALUE Name to search by --mail-notification-id NUMBER --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 --user VALUE User's login to search by --user-id 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
Usage:
hammer user mail-notification remove [OPTIONS]
Options:
--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
--mail-notification VALUE Name to search by
--mail-notification-id NUMBER
--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
--user VALUE User's login to search by
--user-id 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.81.7.4. hammer user mail-notification update Copy linkLink copied to clipboard!
Update an email notification for a user
Usage: hammer user mail-notification update [OPTIONS] Options: --interval VALUE Mail notification interval option, e.g. Daily, Weekly or Monthly. Required for summary notification --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 --mail-notification VALUE Name to search by --mail-notification-id NUMBER --mail-query VALUE Relevant only for audit summary notification --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-title VALUE Set the current organization context for the request --subscription VALUE Mail notification subscription option, e.g. Subscribe, Subscribe to my hosts or Subscribe to all hosts. Required for host built and config error state --user VALUE User's login to search by --user-id 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
Usage:
hammer user mail-notification update [OPTIONS]
Options:
--interval VALUE Mail notification interval option, e.g. Daily, Weekly or Monthly. Required for
summary notification
--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
--mail-notification VALUE Name to search by
--mail-notification-id NUMBER
--mail-query VALUE Relevant only for audit summary notification
--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-title VALUE Set the current organization context for the request
--subscription VALUE Mail notification subscription option, e.g. Subscribe, Subscribe to my hosts or
Subscribe to all hosts. Required for host built and config error state
--user VALUE User's login to search by
--user-id 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.81.8. hammer user remove-role Copy linkLink copied to clipboard!
Remove a user role
Usage: hammer user remove-role [OPTIONS] Options: --id VALUE --login VALUE User's login to search by --role VALUE User role name --role-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
Usage:
hammer user remove-role [OPTIONS]
Options:
--id VALUE
--login VALUE User's login to search by
--role VALUE User role name
--role-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.81.9. hammer user ssh-keys Copy linkLink copied to clipboard!
Managing User SSH Keys.
Usage: hammer user ssh-keys [OPTIONS] SUBCOMMAND [ARG] ... Parameters: SUBCOMMAND Subcommand [ARG] ... Subcommand arguments Subcommands: add Add an SSH key for a user delete, destroy Delete an SSH key for a user info, show Show an SSH key from a user list, index List all SSH keys for a user Options: -h, --help Print help
Usage:
hammer user ssh-keys [OPTIONS] SUBCOMMAND [ARG] ...
Parameters:
SUBCOMMAND Subcommand
[ARG] ... Subcommand arguments
Subcommands:
add Add an SSH key for a user
delete, destroy Delete an SSH key for a user
info, show Show an SSH key from a user
list, index List all SSH keys for a user
Options:
-h, --help Print help
3.81.9.1. hammer user ssh-keys add Copy linkLink copied to clipboard!
Add an SSH key for a user
Usage: hammer user ssh-keys add [OPTIONS] Options: --key VALUE Public SSH key --key-file FILE Path to a SSH public key --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 --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 --user VALUE User's login to search by --user-id VALUE ID of the user -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
Usage:
hammer user ssh-keys add [OPTIONS]
Options:
--key VALUE Public SSH key
--key-file FILE Path to a SSH public key
--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
--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
--user VALUE User's login to search by
--user-id VALUE ID of the user
-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.81.9.2. hammer user ssh-keys delete Copy linkLink copied to clipboard!
Delete an SSH key for a user
Usage: hammer user ssh-keys <delete|destroy> [OPTIONS] Options: --id VALUE --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 Name to search by --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 --user VALUE User's login to search by --user-id VALUE ID of the user -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
Usage:
hammer user ssh-keys <delete|destroy> [OPTIONS]
Options:
--id VALUE
--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 Name to search by
--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
--user VALUE User's login to search by
--user-id VALUE ID of the user
-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.81.9.3. hammer user ssh-keys info Copy linkLink copied to clipboard!
Show an SSH key from a user
Usage: hammer user ssh-keys <info|show> [OPTIONS] Options: --fields LIST Show specified fields or predefined field sets only. (See below) --id VALUE --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 Name to search by --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 --user VALUE User's login to search by --user-id VALUE ID of the user -h, --help Print help Predefined field sets: ------------|-----|---------|----- FIELDS | ALL | DEFAULT | THIN ------------|-----|---------|----- Id | x | x | x Name | x | x | x Fingerprint | x | x | Length | x | x | Created at | x | x | Public key | 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
Usage:
hammer user ssh-keys <info|show> [OPTIONS]
Options:
--fields LIST Show specified fields or predefined field sets only. (See below)
--id VALUE
--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 Name to search by
--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
--user VALUE User's login to search by
--user-id VALUE ID of the user
-h, --help Print help
Predefined field sets:
------------|-----|---------|-----
FIELDS | ALL | DEFAULT | THIN
------------|-----|---------|-----
Id | x | x | x
Name | x | x | x
Fingerprint | x | x |
Length | x | x |
Created at | x | x |
Public key | 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.81.9.4. hammer user ssh-keys list Copy linkLink copied to clipboard!
List all SSH keys for a user
Usage: hammer user ssh-keys <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 --user VALUE User's login to search by --user-id VALUE ID of the user -h, --help Print help Predefined field sets: ------------|-----|---------|----- FIELDS | ALL | DEFAULT | THIN ------------|-----|---------|----- Id | x | x | x Name | x | x | x Fingerprint | x | x | Length | x | x | Created 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 Search / Order fields: name string user_id integer
Usage:
hammer user ssh-keys <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
--user VALUE User's login to search by
--user-id VALUE ID of the user
-h, --help Print help
Predefined field sets:
------------|-----|---------|-----
FIELDS | ALL | DEFAULT | THIN
------------|-----|---------|-----
Id | x | x | x
Name | x | x | x
Fingerprint | x | x |
Length | x | x |
Created 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
Search / Order fields:
name string
user_id integer
3.81.10. hammer user table-preference Copy linkLink copied to clipboard!
Manage table preferences
Usage: hammer user table-preference [OPTIONS] SUBCOMMAND [ARG] ... Parameters: SUBCOMMAND Subcommand [ARG] ... Subcommand arguments Subcommands: create Create a table preference for a given table delete Delete a table preference for a given table info Show table preference details of a given table list List table preferences for a user update Updates a table preference for a given table Options: -h, --help Print help
Usage:
hammer user table-preference [OPTIONS] SUBCOMMAND [ARG] ...
Parameters:
SUBCOMMAND Subcommand
[ARG] ... Subcommand arguments
Subcommands:
create Create a table preference for a given table
delete Delete a table preference for a given table
info Show table preference details of a given table
list List table preferences for a user
update Updates a table preference for a given table
Options:
-h, --help Print help
3.81.10.1. hammer user-table-preference create Copy linkLink copied to clipboard!
Create a table preference for a given table
Usage: hammer user table-preference create [OPTIONS] Options: --columns LIST List of user selected columns --location[-id|-title] VALUE/NUMBER Set the current location context for the request --name VALUE Name of the table --organization[-id|-title] VALUE/NUMBER Set the current organization context for the request --user[-id] VALUE Login/id of the user -h, --help Print help Option details: Here you can find option types and the value an option can accept: 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 NUMBER Numeric value. Integer VALUE Value described in the option's description. Mostly simple string
Usage:
hammer user table-preference create [OPTIONS]
Options:
--columns LIST List of user selected columns
--location[-id|-title] VALUE/NUMBER Set the current location context for the request
--name VALUE Name of the table
--organization[-id|-title] VALUE/NUMBER Set the current organization context for the request
--user[-id] VALUE Login/id of the user
-h, --help Print help
Option details:
Here you can find option types and the value an option can accept:
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
NUMBER Numeric value. Integer
VALUE Value described in the option's description. Mostly simple string
3.81.10.2. hammer user table-preference delete Copy linkLink copied to clipboard!
Delete a table preference for a given table
Usage: hammer user table-preference delete [OPTIONS] Options: --columns LIST List of user selected columns --location[-id|-title] VALUE/NUMBER Set the current location context for the request --name VALUE Name of the table --organization[-id|-title] VALUE/NUMBER Set the current organization context for the request --user[-id] VALUE Login/id of the user -h, --help Print help Option details: Here you can find option types and the value an option can accept: 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 NUMBER Numeric value. Integer VALUE Value described in the option's description. Mostly simple string
Usage:
hammer user table-preference delete [OPTIONS]
Options:
--columns LIST List of user selected columns
--location[-id|-title] VALUE/NUMBER Set the current location context for the request
--name VALUE Name of the table
--organization[-id|-title] VALUE/NUMBER Set the current organization context for the request
--user[-id] VALUE Login/id of the user
-h, --help Print help
Option details:
Here you can find option types and the value an option can accept:
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
NUMBER Numeric value. Integer
VALUE Value described in the option's description. Mostly simple string
3.81.10.3. hammer user table-preference info Copy linkLink copied to clipboard!
Show table preference details of a given table
Usage: hammer user table-preference info [OPTIONS] Options: --location[-id|-title] VALUE/NUMBER Set the current location context for the request --name VALUE Name of the table --organization[-id|-title] VALUE/NUMBER Set the current organization context for the request --user[-id] VALUE Login/id of the user -h, --help Print help Option details: Here you can find option types and the value an option can accept: NUMBER Numeric value. Integer VALUE Value described in the option's description. Mostly simple string
Usage:
hammer user table-preference info [OPTIONS]
Options:
--location[-id|-title] VALUE/NUMBER Set the current location context for the request
--name VALUE Name of the table
--organization[-id|-title] VALUE/NUMBER Set the current organization context for the request
--user[-id] VALUE Login/id of the user
-h, --help Print help
Option details:
Here you can find option types and the value an option can accept:
NUMBER Numeric value. Integer
VALUE Value described in the option's description. Mostly simple string
3.81.10.4. hammer user table-preference list Copy linkLink copied to clipboard!
List table preferences for a user
Usage: hammer user table-preference list [OPTIONS] Options: --fields LIST Show specified fields or predefined field sets only. (See below) --location[-id|-title] VALUE/NUMBER Set the current location context for the request --order VALUE Sort and order by a searchable field, e.g. '<field> DESC' --organization[-id|-title] VALUE/NUMBER 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 --user[-id] VALUE Login/id of the user -h, --help Print help Predefined field sets: --------|-----|---------|----- FIELDS | ALL | DEFAULT | THIN --------|-----|---------|----- Id | x | x | x Name | x | x | Columns | x | x | --------|-----|---------|----- Option details: Here you can find option types and the value an option can accept: 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 NUMBER Numeric value. Integer VALUE Value described in the option's description. Mostly simple string
Usage:
hammer user table-preference list [OPTIONS]
Options:
--fields LIST Show specified fields or predefined field sets only. (See below)
--location[-id|-title] VALUE/NUMBER Set the current location context for the request
--order VALUE Sort and order by a searchable field, e.g. '<field> DESC'
--organization[-id|-title] VALUE/NUMBER 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
--user[-id] VALUE Login/id of the user
-h, --help Print help
Predefined field sets:
--------|-----|---------|-----
FIELDS | ALL | DEFAULT | THIN
--------|-----|---------|-----
Id | x | x | x
Name | x | x |
Columns | x | x |
--------|-----|---------|-----
Option details:
Here you can find option types and the value an option can accept:
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
NUMBER Numeric value. Integer
VALUE Value described in the option's description. Mostly simple string
3.81.10.5. hammer user table-preference update Copy linkLink copied to clipboard!
Updates a table preference for a given table
Usage: hammer user table-preference update [OPTIONS] Options: --columns LIST List of user selected columns --location[-id|-title] VALUE/NUMBER Set the current location context for the request --name VALUE Name of the table --organization[-id|-title] VALUE/NUMBER Set the current organization context for the request --user[-id] VALUE Login/id of the user -h, --help Print help Option details: Here you can find option types and the value an option can accept: 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 NUMBER Numeric value. Integer VALUE Value described in the option's description. Mostly simple string
Usage:
hammer user table-preference update [OPTIONS]
Options:
--columns LIST List of user selected columns
--location[-id|-title] VALUE/NUMBER Set the current location context for the request
--name VALUE Name of the table
--organization[-id|-title] VALUE/NUMBER Set the current organization context for the request
--user[-id] VALUE Login/id of the user
-h, --help Print help
Option details:
Here you can find option types and the value an option can accept:
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
NUMBER Numeric value. Integer
VALUE Value described in the option's description. Mostly simple string
3.81.11. hammer user update Copy linkLink copied to clipboard!
Update a user
Usage: hammer user update [OPTIONS] Options: --admin BOOLEAN Is an admin account --ask-password BOOLEAN --auth-source VALUE Name to search by --auth-source-id NUMBER --current-password VALUE Required when user want to change own password --default-location VALUE Default location name --default-location-id NUMBER --default-organization VALUE Default organization name --default-organization-id NUMBER --description VALUE --disabled BOOLEAN --firstname VALUE --id VALUE --lastname VALUE --locale ENUM User's preferred locale Possible value(s): 'ca', 'cs_CZ', 'de', 'en', 'en_GB', 'es', 'fr', 'gl', 'it', 'ja', 'ko', 'nl_NL', 'pl', 'pt_BR', 'ru', 'sv_SE', 'zh_CN', 'zh_TW' --location VALUE Set the current location context for the request --location-id NUMBER Set the current location context for the request --location-ids LIST REPLACE locations with given ids --location-title VALUE Set the current location context for the request --location-titles LIST --locations LIST --login VALUE --mail VALUE --new-login 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 REPLACE organizations with given ids. --organization-title VALUE Set the current organization context for the request --organization-titles LIST --organizations LIST --password VALUE Required unless user is in an external authentication source --role-ids LIST --roles LIST --timezone ENUM User's timezone Possible value(s): 'International Date Line West', 'American Samoa', 'Midway Island', 'Hawaii', 'Alaska', 'Pacific Time (US & Canada)', 'Tijuana', 'Arizona', 'Chihuahua', 'Mazatlan', 'Mountain Time (US & Canada)', 'Central America', 'Central Time (US & Canada)', 'Guadalajara', 'Mexico City', 'Monterrey', 'Saskatchewan', 'Bogota', 'Eastern Time (US & Canada)', 'Indiana (East)', 'Lima', 'Quito', 'Atlantic Time (Canada)', 'Caracas', 'Georgetown', 'La Paz', 'Puerto Rico', 'Santiago', 'Newfoundland', 'Brasilia', 'Buenos Aires', 'Greenland', 'Montevideo', 'Mid-Atlantic', 'Azores', 'Cape Verde Is.', 'Casablanca', 'Dublin', 'Edinburgh', 'Lisbon', 'London', 'Monrovia', 'UTC', 'Amsterdam', 'Belgrade', 'Berlin', 'Bern', 'Bratislava', 'Brussels', 'Budapest', 'Copenhagen', 'Ljubljana', 'Madrid', 'Paris', 'Prague', 'Rome', 'Sarajevo', 'Skopje', 'Stockholm', 'Vienna', 'Warsaw', 'West Central Africa', 'Zagreb', 'Zurich', 'Athens', 'Bucharest', 'Cairo', 'Harare', 'Helsinki', 'Jerusalem', 'Kaliningrad', 'Kyiv', 'Pretoria', 'Riga', 'Sofia', 'Tallinn', 'Vilnius', 'Baghdad', 'Istanbul', 'Kuwait', 'Minsk', 'Moscow', 'Nairobi', 'Riyadh', 'St. Petersburg', 'Volgograd', 'Tehran', 'Abu Dhabi', 'Baku', 'Muscat', 'Samara', 'Tbilisi', 'Yerevan', 'Kabul', 'Ekaterinburg', 'Islamabad', 'Karachi', 'Tashkent', 'Chennai', 'Kolkata', 'Mumbai', 'New Delhi', 'Sri Jayawardenepura', 'Kathmandu', 'Almaty', 'Astana', 'Dhaka', 'Urumqi', 'Rangoon', 'Bangkok', 'Hanoi', 'Jakarta', 'Krasnoyarsk', 'Novosibirsk', 'Beijing', 'Chongqing', 'Hong Kong', 'Irkutsk', 'Kuala Lumpur', 'Perth', 'Singapore', 'Taipei', 'Ulaanbaatar', 'Osaka', 'Sapporo', 'Seoul', 'Tokyo', 'Yakutsk', 'Adelaide', 'Darwin', 'Brisbane', 'Canberra', 'Guam', 'Hobart', 'Melbourne', 'Port Moresby', 'Sydney', 'Vladivostok', 'Magadan', 'New Caledonia', 'Solomon Is.', 'Srednekolymsk', 'Auckland', 'Fiji', 'Kamchatka', 'Marshall Is.', 'Wellington', 'Chatham Is.', 'Nuku'alofa', 'Samoa', 'Tokelau Is.' -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
Usage:
hammer user update [OPTIONS]
Options:
--admin BOOLEAN Is an admin account
--ask-password BOOLEAN
--auth-source VALUE Name to search by
--auth-source-id NUMBER
--current-password VALUE Required when user want to change own password
--default-location VALUE Default location name
--default-location-id NUMBER
--default-organization VALUE Default organization name
--default-organization-id NUMBER
--description VALUE
--disabled BOOLEAN
--firstname VALUE
--id VALUE
--lastname VALUE
--locale ENUM User's preferred locale
Possible value(s): 'ca', 'cs_CZ', 'de', 'en', 'en_GB', 'es', 'fr', 'gl', 'it',
'ja', 'ko', 'nl_NL', 'pl', 'pt_BR', 'ru', 'sv_SE', 'zh_CN', 'zh_TW'
--location VALUE Set the current location context for the request
--location-id NUMBER Set the current location context for the request
--location-ids LIST REPLACE locations with given ids
--location-title VALUE Set the current location context for the request
--location-titles LIST
--locations LIST
--login VALUE
--mail VALUE
--new-login 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 REPLACE organizations with given ids.
--organization-title VALUE Set the current organization context for the request
--organization-titles LIST
--organizations LIST
--password VALUE Required unless user is in an external authentication source
--role-ids LIST
--roles LIST
--timezone ENUM User's timezone
Possible value(s): 'International Date Line West', 'American Samoa', 'Midway
Island', 'Hawaii', 'Alaska', 'Pacific Time (US & Canada)', 'Tijuana', 'Arizona',
'Chihuahua', 'Mazatlan', 'Mountain Time (US & Canada)', 'Central America',
'Central Time (US & Canada)', 'Guadalajara', 'Mexico City', 'Monterrey',
'Saskatchewan', 'Bogota', 'Eastern Time (US & Canada)', 'Indiana (East)',
'Lima', 'Quito', 'Atlantic Time (Canada)', 'Caracas', 'Georgetown', 'La Paz',
'Puerto Rico', 'Santiago', 'Newfoundland', 'Brasilia', 'Buenos Aires',
'Greenland', 'Montevideo', 'Mid-Atlantic', 'Azores', 'Cape Verde Is.',
'Casablanca', 'Dublin', 'Edinburgh', 'Lisbon', 'London', 'Monrovia', 'UTC',
'Amsterdam', 'Belgrade', 'Berlin', 'Bern', 'Bratislava', 'Brussels', 'Budapest',
'Copenhagen', 'Ljubljana', 'Madrid', 'Paris', 'Prague', 'Rome', 'Sarajevo',
'Skopje', 'Stockholm', 'Vienna', 'Warsaw', 'West Central Africa', 'Zagreb',
'Zurich', 'Athens', 'Bucharest', 'Cairo', 'Harare', 'Helsinki', 'Jerusalem',
'Kaliningrad', 'Kyiv', 'Pretoria', 'Riga', 'Sofia', 'Tallinn', 'Vilnius',
'Baghdad', 'Istanbul', 'Kuwait', 'Minsk', 'Moscow', 'Nairobi', 'Riyadh', 'St.
Petersburg', 'Volgograd', 'Tehran', 'Abu Dhabi', 'Baku', 'Muscat', 'Samara',
'Tbilisi', 'Yerevan', 'Kabul', 'Ekaterinburg', 'Islamabad', 'Karachi',
'Tashkent', 'Chennai', 'Kolkata', 'Mumbai', 'New Delhi', 'Sri Jayawardenepura',
'Kathmandu', 'Almaty', 'Astana', 'Dhaka', 'Urumqi', 'Rangoon', 'Bangkok',
'Hanoi', 'Jakarta', 'Krasnoyarsk', 'Novosibirsk', 'Beijing', 'Chongqing', 'Hong
Kong', 'Irkutsk', 'Kuala Lumpur', 'Perth', 'Singapore', 'Taipei', 'Ulaanbaatar',
'Osaka', 'Sapporo', 'Seoul', 'Tokyo', 'Yakutsk', 'Adelaide', 'Darwin',
'Brisbane', 'Canberra', 'Guam', 'Hobart', 'Melbourne', 'Port Moresby', 'Sydney',
'Vladivostok', 'Magadan', 'New Caledonia', 'Solomon Is.', 'Srednekolymsk',
'Auckland', 'Fiji', 'Kamchatka', 'Marshall Is.', 'Wellington', 'Chatham Is.',
'Nuku'alofa', 'Samoa', 'Tokelau Is.'
-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.82. hammer user-group Copy linkLink copied to clipboard!
Manage user groups
Usage: hammer user-group [OPTIONS] SUBCOMMAND [ARG] ... Parameters: SUBCOMMAND Subcommand [ARG] ... Subcommand arguments Subcommands: add-role Assign a user role add-user Associate an user add-user-group Associate an user group create Create a user group delete, destroy Delete a user group external View and manage user group's external user groups info, show Show a user group list, index List all user groups remove-role Remove a user role remove-user Disassociate an user remove-user-group Disassociate an user group update Update a user group Options: -h, --help Print help
Usage:
hammer user-group [OPTIONS] SUBCOMMAND [ARG] ...
Parameters:
SUBCOMMAND Subcommand
[ARG] ... Subcommand arguments
Subcommands:
add-role Assign a user role
add-user Associate an user
add-user-group Associate an user group
create Create a user group
delete, destroy Delete a user group
external View and manage user group's external user groups
info, show Show a user group
list, index List all user groups
remove-role Remove a user role
remove-user Disassociate an user
remove-user-group Disassociate an user group
update Update a user group
Options:
-h, --help Print help
3.82.1. hammer user-group add-role Copy linkLink copied to clipboard!
Assign a user role
Usage: hammer user-group add-role [OPTIONS] Options: --id VALUE --name VALUE Name to search by --role VALUE User role name --role-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
Usage:
hammer user-group add-role [OPTIONS]
Options:
--id VALUE
--name VALUE Name to search by
--role VALUE User role name
--role-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.82.2. hammer user-group add-user Copy linkLink copied to clipboard!
Associate an user
Usage: hammer user-group add-user [OPTIONS] Options: --id VALUE --name VALUE Name to search by --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
Usage:
hammer user-group add-user [OPTIONS]
Options:
--id VALUE
--name VALUE Name to search by
--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.82.3. hammer user-group add-user-group Copy linkLink copied to clipboard!
Associate an user group
Usage: hammer user-group add-user-group [OPTIONS] Options: --id VALUE --name VALUE Name to search by --user-group VALUE Name to search by --user-group-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
Usage:
hammer user-group add-user-group [OPTIONS]
Options:
--id VALUE
--name VALUE Name to search by
--user-group VALUE Name to search by
--user-group-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.82.4. hammer user-group create Copy linkLink copied to clipboard!
Create a user group
Usage: hammer user-group create [OPTIONS] Options: --admin BOOLEAN Is an admin user group, can be modified by admins only --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 --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 --role-ids LIST --roles LIST --user-group-ids LIST --user-groups LIST --user-ids LIST --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
Usage:
hammer user-group create [OPTIONS]
Options:
--admin BOOLEAN Is an admin user group, can be modified by admins only
--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
--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
--role-ids LIST
--roles LIST
--user-group-ids LIST
--user-groups LIST
--user-ids LIST
--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.82.5. hammer user-group delete Copy linkLink copied to clipboard!
Delete a user group
Usage: hammer user-group <delete|destroy> [OPTIONS] Options: --id VALUE --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 Name to search by --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 -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
Usage:
hammer user-group <delete|destroy> [OPTIONS]
Options:
--id VALUE
--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 Name to search by
--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
-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.82.6. hammer user-group external Copy linkLink copied to clipboard!
View and manage user group’s external user groups
Usage: hammer user-group external [OPTIONS] SUBCOMMAND [ARG] ... Parameters: SUBCOMMAND Subcommand [ARG] ... Subcommand arguments Subcommands: create Create an external user group linked to a user group delete, destroy Delete an external user group info, show Show an external user group for user group list, index List all external user groups for user group refresh Refresh external user group update Update external user group Options: -h, --help Print help
Usage:
hammer user-group external [OPTIONS] SUBCOMMAND [ARG] ...
Parameters:
SUBCOMMAND Subcommand
[ARG] ... Subcommand arguments
Subcommands:
create Create an external user group linked to a user group
delete, destroy Delete an external user group
info, show Show an external user group for user group
list, index List all external user groups for user group
refresh Refresh external user group
update Update external user group
Options:
-h, --help Print help
3.82.6.1. hammer user-group external create Copy linkLink copied to clipboard!
Create an external user group linked to a user group
Usage: hammer user-group external create [OPTIONS] Options: --auth-source VALUE Name to search by --auth-source-id NUMBER ID of linked authentication source --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 External user group name --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 --user-group VALUE Name to search by --user-group-id VALUE ID or name of user group -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
Usage:
hammer user-group external create [OPTIONS]
Options:
--auth-source VALUE Name to search by
--auth-source-id NUMBER ID of linked authentication source
--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 External user group name
--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
--user-group VALUE Name to search by
--user-group-id VALUE ID or name of user group
-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.82.6.2. hammer user-group external delete Copy linkLink copied to clipboard!
Delete an external user group
Usage: hammer user-group external <delete|destroy> [OPTIONS] Options: --id VALUE ID or name external user group --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 Name to search by --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 --user-group VALUE Name to search by --user-group-id VALUE ID or name of user group -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
Usage:
hammer user-group external <delete|destroy> [OPTIONS]
Options:
--id VALUE ID or name external user group
--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 Name to search by
--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
--user-group VALUE Name to search by
--user-group-id VALUE ID or name of user group
-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.82.6.3. hammer user-group external info Copy linkLink copied to clipboard!
Show an external user group for user group
Usage: hammer user-group external <info|show> [OPTIONS] Options: --fields LIST Show specified fields or predefined field sets only. (See below) --id VALUE ID or name of external user group --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 Name to search by --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 --user-group VALUE Name to search by --user-group-id VALUE ID or name of user group -h, --help Print help Predefined field sets: ------------|-----|---------|----- FIELDS | ALL | DEFAULT | THIN ------------|-----|---------|----- Id | x | x | x Name | x | x | x Auth source | 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
Usage:
hammer user-group external <info|show> [OPTIONS]
Options:
--fields LIST Show specified fields or predefined field sets only. (See below)
--id VALUE ID or name of external user group
--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 Name to search by
--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
--user-group VALUE Name to search by
--user-group-id VALUE ID or name of user group
-h, --help Print help
Predefined field sets:
------------|-----|---------|-----
FIELDS | ALL | DEFAULT | THIN
------------|-----|---------|-----
Id | x | x | x
Name | x | x | x
Auth source | 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.82.6.4. hammer user-group external list Copy linkLink copied to clipboard!
List all external user groups for user group
Usage: hammer user-group external <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 --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 --user-group VALUE Name to search by --user-group-id VALUE ID or name of user group -h, --help Print help Predefined field sets: ------------|-----|---------|----- FIELDS | ALL | DEFAULT | THIN ------------|-----|---------|----- Id | x | x | x Name | x | x | x Auth source | 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
Usage:
hammer user-group external <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
--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
--user-group VALUE Name to search by
--user-group-id VALUE ID or name of user group
-h, --help Print help
Predefined field sets:
------------|-----|---------|-----
FIELDS | ALL | DEFAULT | THIN
------------|-----|---------|-----
Id | x | x | x
Name | x | x | x
Auth source | 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.82.6.5. hammer user-group external refresh Copy linkLink copied to clipboard!
Refresh external user group
Usage: hammer user-group external refresh [OPTIONS] Options: --fields LIST Show specified fields or predefined field sets only. (See below) --id VALUE ID or name of external user group --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 Name to search by --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 --user-group VALUE Name to search by --user-group-id VALUE ID or name of user group -h, --help Print help Predefined field sets: ------------|-----|---------|----- FIELDS | ALL | DEFAULT | THIN ------------|-----|---------|----- Name | x | x | x Auth source | 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
Usage:
hammer user-group external refresh [OPTIONS]
Options:
--fields LIST Show specified fields or predefined field sets only. (See below)
--id VALUE ID or name of external user group
--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 Name to search by
--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
--user-group VALUE Name to search by
--user-group-id VALUE ID or name of user group
-h, --help Print help
Predefined field sets:
------------|-----|---------|-----
FIELDS | ALL | DEFAULT | THIN
------------|-----|---------|-----
Name | x | x | x
Auth source | 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.82.6.6. hammer user-group external update Copy linkLink copied to clipboard!
Update external user group
Usage: hammer user-group external update [OPTIONS] Options: --auth-source VALUE Name to search by --auth-source-id NUMBER ID of linked authentication source --id VALUE ID or name of external user group --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 External user group name --new-name VALUE External user group name --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 --user-group VALUE Name to search by --user-group-id VALUE ID or name of user group -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
Usage:
hammer user-group external update [OPTIONS]
Options:
--auth-source VALUE Name to search by
--auth-source-id NUMBER ID of linked authentication source
--id VALUE ID or name of external user group
--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 External user group name
--new-name VALUE External user group name
--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
--user-group VALUE Name to search by
--user-group-id VALUE ID or name of user group
-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.82.7. hammer user-group info Copy linkLink copied to clipboard!
Show a user group
Usage: hammer user-group <info|show> [OPTIONS] Options: --fields LIST Show specified fields or predefined field sets only. (See below) --id VALUE --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 Name to search by --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 -h, --help Print help Predefined field sets: --------------------------------|-----|---------|----- FIELDS | ALL | DEFAULT | THIN --------------------------------|-----|---------|----- Id | x | x | x Name | x | x | x Admin | x | x | Users/ | x | x | User groups/usergroup | x | x | User groups/id | x | x | User groups/roles/ | x | x | Inherited user groups/usergroup | x | x | Inherited user groups/id | x | x | Inherited user groups/roles/ | x | x | External user groups/ | x | x | Roles/ | 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
Usage:
hammer user-group <info|show> [OPTIONS]
Options:
--fields LIST Show specified fields or predefined field sets only. (See below)
--id VALUE
--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 Name to search by
--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
-h, --help Print help
Predefined field sets:
--------------------------------|-----|---------|-----
FIELDS | ALL | DEFAULT | THIN
--------------------------------|-----|---------|-----
Id | x | x | x
Name | x | x | x
Admin | x | x |
Users/ | x | x |
User groups/usergroup | x | x |
User groups/id | x | x |
User groups/roles/ | x | x |
Inherited user groups/usergroup | x | x |
Inherited user groups/id | x | x |
Inherited user groups/roles/ | x | x |
External user groups/ | x | x |
Roles/ | 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
3.82.8. hammer user-group list Copy linkLink copied to clipboard!
List all user groups
Usage: hammer user-group <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 Name | x | x | x Admin | 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: name string role string role_id integer
Usage:
hammer user-group <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
Name | x | x | x
Admin | 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:
name string
role string
role_id integer
3.82.9. hammer user-group remove-role Copy linkLink copied to clipboard!
Remove a user role
Usage: hammer user-group remove-role [OPTIONS] Options: --id VALUE --name VALUE Name to search by --role VALUE User role name --role-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
Usage:
hammer user-group remove-role [OPTIONS]
Options:
--id VALUE
--name VALUE Name to search by
--role VALUE User role name
--role-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.82.10. hammer user-group remove-user Copy linkLink copied to clipboard!
Disassociate an user
Usage: hammer user-group remove-user [OPTIONS] Options: --id VALUE --name VALUE Name to search by --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
Usage:
hammer user-group remove-user [OPTIONS]
Options:
--id VALUE
--name VALUE Name to search by
--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.82.11. hammer user-group remove-user-group Copy linkLink copied to clipboard!
Disassociate an user group
Usage: hammer user-group remove-user-group [OPTIONS] Options: --id VALUE --name VALUE Name to search by --user-group VALUE Name to search by --user-group-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
Usage:
hammer user-group remove-user-group [OPTIONS]
Options:
--id VALUE
--name VALUE Name to search by
--user-group VALUE Name to search by
--user-group-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.82.12. hammer user-group update Copy linkLink copied to clipboard!
Update a user group
Usage: hammer user-group update [OPTIONS] Options: --admin BOOLEAN Is an admin user group, can be modified by admins only --id VALUE --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 --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-title VALUE Set the current organization context for the request --role-ids LIST --roles LIST --user-group-ids LIST --user-groups LIST --user-ids LIST --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
Usage:
hammer user-group update [OPTIONS]
Options:
--admin BOOLEAN Is an admin user group, can be modified by admins only
--id VALUE
--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
--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-title VALUE Set the current organization context for the request
--role-ids LIST
--roles LIST
--user-group-ids LIST
--user-groups LIST
--user-ids LIST
--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.83. hammer virt-who-config Copy linkLink copied to clipboard!
Manage Virt Who configurations
Usage: hammer virt-who-config [OPTIONS] SUBCOMMAND [ARG] ... Parameters: SUBCOMMAND Subcommand [ARG] ... Subcommand arguments Subcommands: create Create a virt-who configuration delete, destroy Delete a virt-who configuration deploy Download and execute script for the specified virt-who configuration fetch Renders a deploy script for the specified virt-who configuration info, show Show a virt-who configuration list, index List of virt-who configurations update Update a virt-who configuration Options: -h, --help Print help
Usage:
hammer virt-who-config [OPTIONS] SUBCOMMAND [ARG] ...
Parameters:
SUBCOMMAND Subcommand
[ARG] ... Subcommand arguments
Subcommands:
create Create a virt-who configuration
delete, destroy Delete a virt-who configuration
deploy Download and execute script for the specified virt-who configuration
fetch Renders a deploy script for the specified virt-who configuration
info, show Show a virt-who configuration
list, index List of virt-who configurations
update Update a virt-who configuration
Options:
-h, --help Print help
3.83.1. hammer virt-who-config create Copy linkLink copied to clipboard!
Create a virt-who configuration
Usage: hammer virt-who-config create [OPTIONS] Options: --ahv-internal-debug BOOLEAN Option Enable debugging output is required to enable AHV internal debug. It provides extra AHV debug information when both options are enabled --ahv-update-interval NUMBER The frequency of VM-to-host mapping updates for AHV(in seconds) --blacklist VALUE Hypervisor blacklist, applicable only when filtering mode is set to 2. Wildcards and regular expressions are supported, multiple records must be separated by comma. --debug BOOLEAN Enable debugging output --exclude-host-parents VALUE Applicable only for esx provider type. Hosts which parent (usually ComputeResource) name is specified in comma-separated list in this option will NOT be reported. Wildcards and regular expressions are supported, multiple records must be separated by comma. Put the value into the double-quotes if it contains special characters like comma. All new line characters will be removed in resulting configuration file, white spaces are removed from beginning and end. --filter-host-parents VALUE Applicable only for esx provider type. Only hosts which parent (usually ComputeResource) name is specified in comma-separated list in this option will be reported. Wildcards and regular expressions are supported, multiple records must be separated by comma. Put the value into the double-quotes if it contains special characters like comma. All new line characters will be removed in resulting configuration file, white spaces are removed from beginning and end. --filtering-mode ENUM Hypervisor filtering mode Possible value(s): 'none', 'whitelist', 'blacklist' --http-proxy VALUE Name to search by --http-proxy-id NUMBER HTTP Proxy that should be used for communication between the server on which virt-who is running and the hypervisors and virtualization managers. --hypervisor-id ENUM Specifies how the hypervisor will be identified. Possible value(s): 'hostname', 'uuid', 'hwuuid' --hypervisor-password VALUE Hypervisor password, required for all hypervisor types except for libvirt/kubevirt. --hypervisor-server VALUE Fully qualified host name or IP address of the hypervisor --hypervisor-type ENUM Hypervisor type Possible value(s): 'esx', 'hyperv', 'libvirt', 'kubevirt', 'ahv' --hypervisor-username VALUE Account name by which virt-who is to connect to the hypervisor. --interval ENUM Configuration interval in minutes Possible value(s): '60', '120', '240', '480', '720', '1440', '2880', '4320' --kubeconfig-path VALUE Configuration file containing details about how to connect to the cluster and authentication details. --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 Configuration name --no-proxy VALUE Ignore Proxy. A comma-separated list of hostnames or domains or ip addresses to ignore Capsule settings for. Optionally this may be set to * to bypass proxy settings for all hostnames domains or ip addresses. --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 --prism-flavor ENUM Select the Prism flavor you are connecting to Possible value(s): 'central', 'element' --satellite-url VALUE Satellite server FQDN --whitelist VALUE Hypervisor whitelist, applicable only when filtering mode is set to 1. Wildcards and regular expressions are supported, multiple records must be separated by comma. -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
Usage:
hammer virt-who-config create [OPTIONS]
Options:
--ahv-internal-debug BOOLEAN Option Enable debugging output is required to enable AHV internal debug. It
provides extra AHV debug information when both options are enabled
--ahv-update-interval NUMBER The frequency of VM-to-host mapping updates for AHV(in seconds)
--blacklist VALUE Hypervisor blacklist, applicable only when filtering mode is set to 2. Wildcards
and regular expressions are supported, multiple records must be separated by
comma.
--debug BOOLEAN Enable debugging output
--exclude-host-parents VALUE Applicable only for esx provider type. Hosts which parent (usually
ComputeResource) name is specified in comma-separated list in this option will
NOT be reported. Wildcards and regular expressions are supported, multiple
records must be separated by comma. Put the value into the double-quotes if it
contains special characters like comma. All new line characters will be removed
in resulting configuration file, white spaces are removed from beginning and
end.
--filter-host-parents VALUE Applicable only for esx provider type. Only hosts which parent (usually
ComputeResource) name is specified in comma-separated list in this option will
be reported. Wildcards and regular expressions are supported, multiple records
must be separated by comma. Put the value into the double-quotes if it contains
special characters like comma. All new line characters will be removed in
resulting configuration file, white spaces are removed from beginning and end.
--filtering-mode ENUM Hypervisor filtering mode
Possible value(s): 'none', 'whitelist', 'blacklist'
--http-proxy VALUE Name to search by
--http-proxy-id NUMBER HTTP Proxy that should be used for communication between the server on which
virt-who is running and the hypervisors and virtualization managers.
--hypervisor-id ENUM Specifies how the hypervisor will be identified.
Possible value(s): 'hostname', 'uuid', 'hwuuid'
--hypervisor-password VALUE Hypervisor password, required for all hypervisor types except for
libvirt/kubevirt.
--hypervisor-server VALUE Fully qualified host name or IP address of the hypervisor
--hypervisor-type ENUM Hypervisor type
Possible value(s): 'esx', 'hyperv', 'libvirt', 'kubevirt', 'ahv'
--hypervisor-username VALUE Account name by which virt-who is to connect to the hypervisor.
--interval ENUM Configuration interval in minutes
Possible value(s): '60', '120', '240', '480', '720', '1440', '2880', '4320'
--kubeconfig-path VALUE Configuration file containing details about how to connect to the cluster and
authentication details.
--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 Configuration name
--no-proxy VALUE Ignore Proxy. A comma-separated list of hostnames or domains or ip addresses to
ignore Capsule settings for. Optionally this may be set to * to bypass proxy
settings for all hostnames domains or ip addresses.
--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
--prism-flavor ENUM Select the Prism flavor you are connecting to
Possible value(s): 'central', 'element'
--satellite-url VALUE Satellite server FQDN
--whitelist VALUE Hypervisor whitelist, applicable only when filtering mode is set to 1. Wildcards
and regular expressions are supported, multiple records must be separated by
comma.
-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.83.2. hammer virt-who-config delete Copy linkLink copied to clipboard!
Delete a virt-who configuration
Usage: hammer virt-who-config <delete|destroy> [OPTIONS] Options: --id NUMBER Configuration numeric identifier --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 Name to search by --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 -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
Usage:
hammer virt-who-config <delete|destroy> [OPTIONS]
Options:
--id NUMBER Configuration numeric identifier
--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 Name to search by
--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
-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.83.3. hammer virt-who-config deploy Copy linkLink copied to clipboard!
Download and execute script for the specified virt-who configuration
Usage: hammer virt-who-config deploy [OPTIONS] Options: --id VALUE --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 Name to search by --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 -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
Usage:
hammer virt-who-config deploy [OPTIONS]
Options:
--id VALUE
--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 Name to search by
--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
-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.83.4. hammer virt-who-config fetch Copy linkLink copied to clipboard!
Renders a deploy script for the specified virt-who configuration
Usage: hammer virt-who-config fetch [OPTIONS] Options: --id VALUE --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 Name to search by --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 -h, --help Print help -o, --output VALUE File where the script will be written 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
Usage:
hammer virt-who-config fetch [OPTIONS]
Options:
--id VALUE
--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 Name to search by
--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
-h, --help Print help
-o, --output VALUE File where the script will be written
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.83.5. hammer virt-who-config info Copy linkLink copied to clipboard!
Show a virt-who configuration
Usage: hammer virt-who-config <info|show> [OPTIONS] Options: --fields LIST Show specified fields or predefined field sets only. (See below) --id VALUE --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 Name to search by --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 -h, --help Print help Predefined field sets: -----------------------------------------|-----|-------- FIELDS | ALL | DEFAULT -----------------------------------------|-----|-------- General information/id | x | x General information/name | x | x General information/hypervisor type | x | x General information/hypervisor server | x | x General information/hypervisor username | x | x General information/configuration file | x | x General information/ahv prism flavor | x | x General information/ahv update frequency | x | x General information/enable ahv debug | x | x General information/status | x | x Schedule/interval | x | x Schedule/last report at | x | x Connection/satellite server | x | x Connection/hypervisor id | x | x Connection/filtering | x | x Connection/excluded hosts | x | x Connection/filtered hosts | x | x Connection/filter host parents | x | x Connection/exclude host parents | x | x Connection/debug mode | x | x Connection/ignore proxy | x | x Http proxy/http proxy id | x | x Http proxy/http proxy name | x | x Http proxy/http proxy url | x | x Locations/ | x | x Organizations/ | 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
Usage:
hammer virt-who-config <info|show> [OPTIONS]
Options:
--fields LIST Show specified fields or predefined field sets only. (See below)
--id VALUE
--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 Name to search by
--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
-h, --help Print help
Predefined field sets:
-----------------------------------------|-----|--------
FIELDS | ALL | DEFAULT
-----------------------------------------|-----|--------
General information/id | x | x
General information/name | x | x
General information/hypervisor type | x | x
General information/hypervisor server | x | x
General information/hypervisor username | x | x
General information/configuration file | x | x
General information/ahv prism flavor | x | x
General information/ahv update frequency | x | x
General information/enable ahv debug | x | x
General information/status | x | x
Schedule/interval | x | x
Schedule/last report at | x | x
Connection/satellite server | x | x
Connection/hypervisor id | x | x
Connection/filtering | x | x
Connection/excluded hosts | x | x
Connection/filtered hosts | x | x
Connection/filter host parents | x | x
Connection/exclude host parents | x | x
Connection/debug mode | x | x
Connection/ignore proxy | x | x
Http proxy/http proxy id | x | x
Http proxy/http proxy name | x | x
Http proxy/http proxy url | x | x
Locations/ | x | x
Organizations/ | 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.83.6. hammer virt-who-config list Copy linkLink copied to clipboard!
List of virt-who configurations
Usage: hammer virt-who-config <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 Name | x | x | x Interval | x | x | Status | x | x | Last report 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
Usage:
hammer virt-who-config <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
Name | x | x | x
Interval | x | x |
Status | x | x |
Last report 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
3.83.7. hammer virt-who-config update Copy linkLink copied to clipboard!
Update a virt-who configuration
Usage: hammer virt-who-config update [OPTIONS] Options: --ahv-internal-debug BOOLEAN Option Enable debugging output is required to enable AHV internal debug. It provides extra AHV debug information when both options are enabled --ahv-update-interval NUMBER The frequency of VM-to-host mapping updates for AHV(in seconds) --blacklist VALUE Hypervisor blacklist, applicable only when filtering mode is set to 2. Wildcards and regular expressions are supported, multiple records must be separated by comma. --debug BOOLEAN Enable debugging output --exclude-host-parents VALUE Applicable only for esx provider type. Hosts which parent (usually ComputeResource) name is specified in comma-separated list in this option will NOT be reported. Wildcards and regular expressions are supported, multiple records must be separated by comma. Put the value into the double-quotes if it contains special characters like comma. All new line characters will be removed in resulting configuration file, white spaces are removed from beginning and end. --filter-host-parents VALUE Applicable only for esx provider type. Only hosts which parent (usually ComputeResource) name is specified in comma-separated list in this option will be reported. Wildcards and regular expressions are supported, multiple records must be separated by comma. Put the value into the double-quotes if it contains special characters like comma. All new line characters will be removed in resulting configuration file, white spaces are removed from beginning and end. --filtering-mode ENUM Hypervisor filtering mode Possible value(s): 'none', 'whitelist', 'blacklist' --http-proxy VALUE Name to search by --http-proxy-id NUMBER HTTP Proxy that should be used for communication between the server on which virt-who is running and the hypervisors and virtualization managers. --hypervisor-id ENUM Specifies how the hypervisor will be identified. Possible value(s): 'hostname', 'uuid', 'hwuuid' --hypervisor-password VALUE Hypervisor password, required for all hypervisor types except for libvirt/kubevirt. --hypervisor-server VALUE Fully qualified host name or IP address of the hypervisor --hypervisor-type ENUM Hypervisor type Possible value(s): 'esx', 'hyperv', 'libvirt', 'kubevirt', 'ahv' --hypervisor-username VALUE Account name by which virt-who is to connect to the hypervisor. --id NUMBER Configuration numeric identifier --interval ENUM Configuration interval in minutes Possible value(s): '60', '120', '240', '480', '720', '1440', '2880', '4320' --kubeconfig-path VALUE Configuration file containing details about how to connect to the cluster and authentication details. --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 Configuration name --new-name VALUE Configuration name --no-proxy VALUE Ignore Proxy. A comma-separated list of hostnames or domains or ip addresses to ignore Capsule settings for. Optionally this may be set to * to bypass proxy settings for all hostnames domains or ip addresses. --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 --prism-flavor ENUM Select the Prism flavor you are connecting to Possible value(s): 'central', 'element' --satellite-url VALUE Satellite server FQDN --whitelist VALUE Hypervisor whitelist, applicable only when filtering mode is set to 1. Wildcards and regular expressions are supported, multiple records must be separated by comma. -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
Usage:
hammer virt-who-config update [OPTIONS]
Options:
--ahv-internal-debug BOOLEAN Option Enable debugging output is required to enable AHV internal debug. It
provides extra AHV debug information when both options are enabled
--ahv-update-interval NUMBER The frequency of VM-to-host mapping updates for AHV(in seconds)
--blacklist VALUE Hypervisor blacklist, applicable only when filtering mode is set to 2. Wildcards
and regular expressions are supported, multiple records must be separated by
comma.
--debug BOOLEAN Enable debugging output
--exclude-host-parents VALUE Applicable only for esx provider type. Hosts which parent (usually
ComputeResource) name is specified in comma-separated list in this option will
NOT be reported. Wildcards and regular expressions are supported, multiple
records must be separated by comma. Put the value into the double-quotes if it
contains special characters like comma. All new line characters will be removed
in resulting configuration file, white spaces are removed from beginning and
end.
--filter-host-parents VALUE Applicable only for esx provider type. Only hosts which parent (usually
ComputeResource) name is specified in comma-separated list in this option will
be reported. Wildcards and regular expressions are supported, multiple records
must be separated by comma. Put the value into the double-quotes if it contains
special characters like comma. All new line characters will be removed in
resulting configuration file, white spaces are removed from beginning and end.
--filtering-mode ENUM Hypervisor filtering mode
Possible value(s): 'none', 'whitelist', 'blacklist'
--http-proxy VALUE Name to search by
--http-proxy-id NUMBER HTTP Proxy that should be used for communication between the server on which
virt-who is running and the hypervisors and virtualization managers.
--hypervisor-id ENUM Specifies how the hypervisor will be identified.
Possible value(s): 'hostname', 'uuid', 'hwuuid'
--hypervisor-password VALUE Hypervisor password, required for all hypervisor types except for
libvirt/kubevirt.
--hypervisor-server VALUE Fully qualified host name or IP address of the hypervisor
--hypervisor-type ENUM Hypervisor type
Possible value(s): 'esx', 'hyperv', 'libvirt', 'kubevirt', 'ahv'
--hypervisor-username VALUE Account name by which virt-who is to connect to the hypervisor.
--id NUMBER Configuration numeric identifier
--interval ENUM Configuration interval in minutes
Possible value(s): '60', '120', '240', '480', '720', '1440', '2880', '4320'
--kubeconfig-path VALUE Configuration file containing details about how to connect to the cluster and
authentication details.
--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 Configuration name
--new-name VALUE Configuration name
--no-proxy VALUE Ignore Proxy. A comma-separated list of hostnames or domains or ip addresses to
ignore Capsule settings for. Optionally this may be set to * to bypass proxy
settings for all hostnames domains or ip addresses.
--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
--prism-flavor ENUM Select the Prism flavor you are connecting to
Possible value(s): 'central', 'element'
--satellite-url VALUE Satellite server FQDN
--whitelist VALUE Hypervisor whitelist, applicable only when filtering mode is set to 1. Wildcards
and regular expressions are supported, multiple records must be separated by
comma.
-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.84. hammer webhook Copy linkLink copied to clipboard!
Manage webhooks
Usage: hammer webhook [OPTIONS] SUBCOMMAND [ARG] ... Parameters: SUBCOMMAND Subcommand [ARG] ... Subcommand arguments Subcommands: create Create a Webhook delete, destroy Delete a Webhook info, show Show Webhook details list, index List Webhooks update Update a Webhook Options: -h, --help Print help
Usage:
hammer webhook [OPTIONS] SUBCOMMAND [ARG] ...
Parameters:
SUBCOMMAND Subcommand
[ARG] ... Subcommand arguments
Subcommands:
create Create a Webhook
delete, destroy Delete a Webhook
info, show Show Webhook details
list, index List Webhooks
update Update a Webhook
Options:
-h, --help Print help
3.84.1. hammer webhook create Copy linkLink copied to clipboard!
Create a Webhook
Usage: hammer webhook create [OPTIONS] Options: --enabled BOOLEAN --event ENUM Possible value(s): 'actions.katello.content_view.promote_succeeded', 'actions.katello.content_view.publish_succeeded', 'actions.katello.repository.sync_succeeded', 'actions.remote_execution.run_host_job_ansible_configure_cloud_connector_succeeded', 'actions.remote_execution.run_host_job_ansible_enable_web_console_succeeded', 'actions.remote_execution.run_host_job_ansible_run_capsule_upgrade_succeeded', 'actions.remote_execution.run_host_job_ansible_run_host_succeeded', 'actions.remote_execution.run_host_job_ansible_run_insights_plan_succeeded', 'actions.remote_execution.run_host_job_ansible_run_playbook_succeeded', 'actions.remote_execution.run_host_job_foreman_openscap_run_oval_scans_succeeded', 'actions.remote_execution.run_host_job_foreman_openscap_run_scans_succeeded', 'actions.remote_execution.run_host_job_katello_errata_install_by_search_succeeded', 'actions.remote_execution.run_host_job_katello_errata_install_succeeded', 'actions.remote_execution.run_host_job_katello_group_install_succeeded', 'actions.remote_execution.run_host_job_katello_group_remove_succeeded', 'actions.remote_execution.run_host_job_katello_group_update_succeeded', 'actions.remote_execution.run_host_job_katello_host_tracer_resolve_succeeded', 'actions.remote_execution.run_host_job_katello_module_stream_action_succeeded', 'actions.remote_execution.run_host_job_katello_package_install_succeeded', 'actions.remote_execution.run_host_job_katello_package_remove_succeeded', 'actions.remote_execution.run_host_job_katello_package_update_succeeded', 'actions.remote_execution.run_host_job_katello_service_restart_succeeded', 'actions.remote_execution.run_host_job_leapp_preupgrade_succeeded', 'actions.remote_execution.run_host_job_leapp_remediation_plan_succeeded', 'actions.remote_execution.run_host_job_leapp_upgrade_succeeded', 'actions.remote_execution.run_host_job_puppet_run_host_succeeded', 'actions.remote_execution.run_host_job_rh_cloud_connector_run_playbook_succeeded', 'actions.remote_execution.run_host_job_rh_cloud_remediate_hosts_succeeded', 'actions.remote_execution.run_host_job_succeeded', 'build_entered', 'build_exited', 'content_view_created', 'content_view_destroyed', 'content_view_updated', 'domain_created', 'domain_destroyed', 'domain_updated', 'host_created', 'host_destroyed', 'host_updated', 'hostgroup_created', 'hostgroup_destroyed', 'hostgroup_updated', 'model_created', 'model_destroyed', 'model_updated', 'status_changed', 'subnet_created', 'subnet_destroyed', 'subnet_updated', 'user_created', 'user_destroyed', 'user_updated' --http-content-type VALUE --http-method ENUM Possible value(s): 'POST', 'GET', 'PUT', 'DELETE', 'PATCH' --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 --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 --password VALUE --proxy-authorization BOOLEAN Authorize with Satellite client certificate and validate capsule CA from Settings --target-url VALUE --user VALUE --verify-ssl BOOLEAN --webhook-template VALUE Name to search by --webhook-template-id 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
Usage:
hammer webhook create [OPTIONS]
Options:
--enabled BOOLEAN
--event ENUM Possible value(s): 'actions.katello.content_view.promote_succeeded',
'actions.katello.content_view.publish_succeeded',
'actions.katello.repository.sync_succeeded',
'actions.remote_execution.run_host_job_ansible_configure_cloud_connector_succeeded',
'actions.remote_execution.run_host_job_ansible_enable_web_console_succeeded',
'actions.remote_execution.run_host_job_ansible_run_capsule_upgrade_succeeded',
'actions.remote_execution.run_host_job_ansible_run_host_succeeded',
'actions.remote_execution.run_host_job_ansible_run_insights_plan_succeeded',
'actions.remote_execution.run_host_job_ansible_run_playbook_succeeded',
'actions.remote_execution.run_host_job_foreman_openscap_run_oval_scans_succeeded',
'actions.remote_execution.run_host_job_foreman_openscap_run_scans_succeeded',
'actions.remote_execution.run_host_job_katello_errata_install_by_search_succeeded',
'actions.remote_execution.run_host_job_katello_errata_install_succeeded',
'actions.remote_execution.run_host_job_katello_group_install_succeeded',
'actions.remote_execution.run_host_job_katello_group_remove_succeeded',
'actions.remote_execution.run_host_job_katello_group_update_succeeded',
'actions.remote_execution.run_host_job_katello_host_tracer_resolve_succeeded',
'actions.remote_execution.run_host_job_katello_module_stream_action_succeeded',
'actions.remote_execution.run_host_job_katello_package_install_succeeded',
'actions.remote_execution.run_host_job_katello_package_remove_succeeded',
'actions.remote_execution.run_host_job_katello_package_update_succeeded',
'actions.remote_execution.run_host_job_katello_service_restart_succeeded',
'actions.remote_execution.run_host_job_leapp_preupgrade_succeeded',
'actions.remote_execution.run_host_job_leapp_remediation_plan_succeeded',
'actions.remote_execution.run_host_job_leapp_upgrade_succeeded',
'actions.remote_execution.run_host_job_puppet_run_host_succeeded',
'actions.remote_execution.run_host_job_rh_cloud_connector_run_playbook_succeeded',
'actions.remote_execution.run_host_job_rh_cloud_remediate_hosts_succeeded',
'actions.remote_execution.run_host_job_succeeded', 'build_entered',
'build_exited', 'content_view_created', 'content_view_destroyed',
'content_view_updated', 'domain_created', 'domain_destroyed', 'domain_updated',
'host_created', 'host_destroyed', 'host_updated', 'hostgroup_created',
'hostgroup_destroyed', 'hostgroup_updated', 'model_created', 'model_destroyed',
'model_updated', 'status_changed', 'subnet_created', 'subnet_destroyed',
'subnet_updated', 'user_created', 'user_destroyed', 'user_updated'
--http-content-type VALUE
--http-method ENUM Possible value(s): 'POST', 'GET', 'PUT', 'DELETE', 'PATCH'
--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
--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
--password VALUE
--proxy-authorization BOOLEAN Authorize with Satellite client certificate and validate capsule CA from
Settings
--target-url VALUE
--user VALUE
--verify-ssl BOOLEAN
--webhook-template VALUE Name to search by
--webhook-template-id 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.84.2. hammer webhook delete Copy linkLink copied to clipboard!
Delete a Webhook
Usage: hammer webhook <delete|destroy> [OPTIONS] Options: --id VALUE --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 Name to search by --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 -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
Usage:
hammer webhook <delete|destroy> [OPTIONS]
Options:
--id VALUE
--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 Name to search by
--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
-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.84.3. hammer webhook info Copy linkLink copied to clipboard!
Show Webhook details
Usage: hammer webhook <info|show> [OPTIONS] Options: --fields LIST Show specified fields or predefined field sets only. (See below) --id VALUE --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 Name to search by --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 -h, --help Print help Predefined field sets: -------------------------------|------------|-----|---------|----- FIELDS | ADDITIONAL | ALL | DEFAULT | THIN -------------------------------|------------|-----|---------|----- Id | | x | x | x Name | | x | x | x Target url | | x | x | Enabled | | x | x | Event | | x | x | Http method | | x | x | Http content type | | x | x | Webhook template | | x | x | User | x | x | | Verify ssl | x | x | | X509 certification authorities | x | x | | Http headers/ | 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
Usage:
hammer webhook <info|show> [OPTIONS]
Options:
--fields LIST Show specified fields or predefined field sets only. (See below)
--id VALUE
--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 Name to search by
--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
-h, --help Print help
Predefined field sets:
-------------------------------|------------|-----|---------|-----
FIELDS | ADDITIONAL | ALL | DEFAULT | THIN
-------------------------------|------------|-----|---------|-----
Id | | x | x | x
Name | | x | x | x
Target url | | x | x |
Enabled | | x | x |
Event | | x | x |
Http method | | x | x |
Http content type | | x | x |
Webhook template | | x | x |
User | x | x | |
Verify ssl | x | x | |
X509 certification authorities | x | x | |
Http headers/ | 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
3.84.4. hammer webhook list Copy linkLink copied to clipboard!
List Webhooks
Usage: hammer webhook <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 Name | x | x | x Target url | x | x | Enabled | 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: enabled Values: true, false name string target_url string
Usage:
hammer webhook <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
Name | x | x | x
Target url | x | x |
Enabled | 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:
enabled Values: true, false
name string
target_url string
3.84.5. hammer webhook update Copy linkLink copied to clipboard!
Update a Webhook
Usage: hammer webhook update [OPTIONS] Options: --enabled BOOLEAN --event ENUM Possible value(s): 'actions.katello.content_view.promote_succeeded', 'actions.katello.content_view.publish_succeeded', 'actions.katello.repository.sync_succeeded', 'actions.remote_execution.run_host_job_ansible_configure_cloud_connector_succeeded', 'actions.remote_execution.run_host_job_ansible_enable_web_console_succeeded', 'actions.remote_execution.run_host_job_ansible_run_capsule_upgrade_succeeded', 'actions.remote_execution.run_host_job_ansible_run_host_succeeded', 'actions.remote_execution.run_host_job_ansible_run_insights_plan_succeeded', 'actions.remote_execution.run_host_job_ansible_run_playbook_succeeded', 'actions.remote_execution.run_host_job_foreman_openscap_run_oval_scans_succeeded', 'actions.remote_execution.run_host_job_foreman_openscap_run_scans_succeeded', 'actions.remote_execution.run_host_job_katello_errata_install_by_search_succeeded', 'actions.remote_execution.run_host_job_katello_errata_install_succeeded', 'actions.remote_execution.run_host_job_katello_group_install_succeeded', 'actions.remote_execution.run_host_job_katello_group_remove_succeeded', 'actions.remote_execution.run_host_job_katello_group_update_succeeded', 'actions.remote_execution.run_host_job_katello_host_tracer_resolve_succeeded', 'actions.remote_execution.run_host_job_katello_module_stream_action_succeeded', 'actions.remote_execution.run_host_job_katello_package_install_succeeded', 'actions.remote_execution.run_host_job_katello_package_remove_succeeded', 'actions.remote_execution.run_host_job_katello_package_update_succeeded', 'actions.remote_execution.run_host_job_katello_service_restart_succeeded', 'actions.remote_execution.run_host_job_leapp_preupgrade_succeeded', 'actions.remote_execution.run_host_job_leapp_remediation_plan_succeeded', 'actions.remote_execution.run_host_job_leapp_upgrade_succeeded', 'actions.remote_execution.run_host_job_puppet_run_host_succeeded', 'actions.remote_execution.run_host_job_rh_cloud_connector_run_playbook_succeeded', 'actions.remote_execution.run_host_job_rh_cloud_remediate_hosts_succeeded', 'actions.remote_execution.run_host_job_succeeded', 'build_entered', 'build_exited', 'content_view_created', 'content_view_destroyed', 'content_view_updated', 'domain_created', 'domain_destroyed', 'domain_updated', 'host_created', 'host_destroyed', 'host_updated', 'hostgroup_created', 'hostgroup_destroyed', 'hostgroup_updated', 'model_created', 'model_destroyed', 'model_updated', 'status_changed', 'subnet_created', 'subnet_destroyed', 'subnet_updated', 'user_created', 'user_destroyed', 'user_updated' --http-content-type VALUE --http-method ENUM Possible value(s): 'POST', 'GET', 'PUT', 'DELETE', 'PATCH' --id VALUE --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 --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-title VALUE Set the current organization context for the request --password VALUE --proxy-authorization BOOLEAN Authorize with Satellite client certificate and validate capsule CA from Settings --target-url VALUE --user VALUE --verify-ssl BOOLEAN --webhook-template VALUE Name to search by --webhook-template-id 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
Usage:
hammer webhook update [OPTIONS]
Options:
--enabled BOOLEAN
--event ENUM Possible value(s): 'actions.katello.content_view.promote_succeeded',
'actions.katello.content_view.publish_succeeded',
'actions.katello.repository.sync_succeeded',
'actions.remote_execution.run_host_job_ansible_configure_cloud_connector_succeeded',
'actions.remote_execution.run_host_job_ansible_enable_web_console_succeeded',
'actions.remote_execution.run_host_job_ansible_run_capsule_upgrade_succeeded',
'actions.remote_execution.run_host_job_ansible_run_host_succeeded',
'actions.remote_execution.run_host_job_ansible_run_insights_plan_succeeded',
'actions.remote_execution.run_host_job_ansible_run_playbook_succeeded',
'actions.remote_execution.run_host_job_foreman_openscap_run_oval_scans_succeeded',
'actions.remote_execution.run_host_job_foreman_openscap_run_scans_succeeded',
'actions.remote_execution.run_host_job_katello_errata_install_by_search_succeeded',
'actions.remote_execution.run_host_job_katello_errata_install_succeeded',
'actions.remote_execution.run_host_job_katello_group_install_succeeded',
'actions.remote_execution.run_host_job_katello_group_remove_succeeded',
'actions.remote_execution.run_host_job_katello_group_update_succeeded',
'actions.remote_execution.run_host_job_katello_host_tracer_resolve_succeeded',
'actions.remote_execution.run_host_job_katello_module_stream_action_succeeded',
'actions.remote_execution.run_host_job_katello_package_install_succeeded',
'actions.remote_execution.run_host_job_katello_package_remove_succeeded',
'actions.remote_execution.run_host_job_katello_package_update_succeeded',
'actions.remote_execution.run_host_job_katello_service_restart_succeeded',
'actions.remote_execution.run_host_job_leapp_preupgrade_succeeded',
'actions.remote_execution.run_host_job_leapp_remediation_plan_succeeded',
'actions.remote_execution.run_host_job_leapp_upgrade_succeeded',
'actions.remote_execution.run_host_job_puppet_run_host_succeeded',
'actions.remote_execution.run_host_job_rh_cloud_connector_run_playbook_succeeded',
'actions.remote_execution.run_host_job_rh_cloud_remediate_hosts_succeeded',
'actions.remote_execution.run_host_job_succeeded', 'build_entered',
'build_exited', 'content_view_created', 'content_view_destroyed',
'content_view_updated', 'domain_created', 'domain_destroyed', 'domain_updated',
'host_created', 'host_destroyed', 'host_updated', 'hostgroup_created',
'hostgroup_destroyed', 'hostgroup_updated', 'model_created', 'model_destroyed',
'model_updated', 'status_changed', 'subnet_created', 'subnet_destroyed',
'subnet_updated', 'user_created', 'user_destroyed', 'user_updated'
--http-content-type VALUE
--http-method ENUM Possible value(s): 'POST', 'GET', 'PUT', 'DELETE', 'PATCH'
--id VALUE
--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
--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-title VALUE Set the current organization context for the request
--password VALUE
--proxy-authorization BOOLEAN Authorize with Satellite client certificate and validate capsule CA from
Settings
--target-url VALUE
--user VALUE
--verify-ssl BOOLEAN
--webhook-template VALUE Name to search by
--webhook-template-id 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.85. hammer webhook-template Copy linkLink copied to clipboard!
Manipulate webhook templates
Usage: hammer webhook-template [OPTIONS] SUBCOMMAND [ARG] ... Parameters: SUBCOMMAND Subcommand [ARG] ... Subcommand arguments Subcommands: clone Clone a template create Create a webhook template delete, destroy Delete a webhook template dump View webhook template content import Import a webhook template info, show Show webhook template details list, index List webhook templates update Update a webhook template Options: -h, --help Print help
Usage:
hammer webhook-template [OPTIONS] SUBCOMMAND [ARG] ...
Parameters:
SUBCOMMAND Subcommand
[ARG] ... Subcommand arguments
Subcommands:
clone Clone a template
create Create a webhook template
delete, destroy Delete a webhook template
dump View webhook template content
import Import a webhook template
info, show Show webhook template details
list, index List webhook templates
update Update a webhook template
Options:
-h, --help Print help
3.85.1. hammer webhook-template clone Copy linkLink copied to clipboard!
Clone a template
Usage: hammer webhook-template clone [OPTIONS] Options: --id VALUE --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 Template name --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-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
Usage:
hammer webhook-template clone [OPTIONS]
Options:
--id VALUE
--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 Template name
--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-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.85.2. hammer webhook-template create Copy linkLink copied to clipboard!
Create a webhook template
Usage: hammer webhook-template create [OPTIONS] Options: --audit-comment VALUE --default BOOLEAN Whether or not the template is added automatically to new organizations and locations --description 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 REPLACE locations with given ids --location-title VALUE Set the current location context for the request --location-titles LIST --locations LIST --locked BOOLEAN Whether or not the template is locked for editing --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 REPLACE organizations with given ids. --organization-title VALUE Set the current organization context for the request --organization-titles LIST --organizations LIST --snippet BOOLEAN --template 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
Usage:
hammer webhook-template create [OPTIONS]
Options:
--audit-comment VALUE
--default BOOLEAN Whether or not the template is added automatically to new organizations and
locations
--description 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 REPLACE locations with given ids
--location-title VALUE Set the current location context for the request
--location-titles LIST
--locations LIST
--locked BOOLEAN Whether or not the template is locked for editing
--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 REPLACE organizations with given ids.
--organization-title VALUE Set the current organization context for the request
--organization-titles LIST
--organizations LIST
--snippet BOOLEAN
--template 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.85.3. hammer webhook-template delete Copy linkLink copied to clipboard!
Delete a webhook template
Usage: hammer webhook-template <delete|destroy> [OPTIONS] Options: --id VALUE --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 Name to search by --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 -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
Usage:
hammer webhook-template <delete|destroy> [OPTIONS]
Options:
--id VALUE
--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 Name to search by
--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
-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.85.4. hammer webhook-template dump Copy linkLink copied to clipboard!
View webhook template content
Usage: hammer webhook-template dump [OPTIONS] Options: --fields LIST Show specified fields or predefined field sets only. (See below) --id VALUE --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 Name to search by --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 -h, --help Print help Predefined field sets: ------ FIELDS ------ 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
Usage:
hammer webhook-template dump [OPTIONS]
Options:
--fields LIST Show specified fields or predefined field sets only. (See below)
--id VALUE
--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 Name to search by
--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
-h, --help Print help
Predefined field sets:
------
FIELDS
------
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.85.5. hammer webhook-template import Copy linkLink copied to clipboard!
Import a webhook template
Usage: hammer webhook-template import [OPTIONS] Options: --associate ENUM Determines when the template should associate objects based on metadata, new means only when new template is being created, always means both for new and existing template which is only being updated, never ignores metadata Possible value(s): 'new', 'always', 'never' --default BOOLEAN Makes the template default meaning it will be automatically associated with newly created organizations and locations (false by default) --file FILE Path to a file that contains the webhook template content including metadata --force BOOLEAN Use if you want update locked templates --location VALUE Set the current location context for the request --location-id NUMBER Set the current location context for the request --location-ids LIST REPLACE locations with given ids --location-title VALUE Set the current location context for the request --location-titles LIST --locations LIST --lock BOOLEAN Lock imported templates (false by default) --name VALUE Template name --organization VALUE Set the current organization context for the request --organization-id NUMBER Set the current organization context for the request --organization-ids LIST REPLACE organizations with given ids. --organization-title VALUE Set the current organization context for the request --organization-titles LIST --organizations 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
Usage:
hammer webhook-template import [OPTIONS]
Options:
--associate ENUM Determines when the template should associate objects based on metadata, new
means only when new template is being created, always means both for new and
existing template which is only being updated, never ignores metadata
Possible value(s): 'new', 'always', 'never'
--default BOOLEAN Makes the template default meaning it will be automatically associated with
newly created organizations and locations (false by default)
--file FILE Path to a file that contains the webhook template content including metadata
--force BOOLEAN Use if you want update locked templates
--location VALUE Set the current location context for the request
--location-id NUMBER Set the current location context for the request
--location-ids LIST REPLACE locations with given ids
--location-title VALUE Set the current location context for the request
--location-titles LIST
--locations LIST
--lock BOOLEAN Lock imported templates (false by default)
--name VALUE Template name
--organization VALUE Set the current organization context for the request
--organization-id NUMBER Set the current organization context for the request
--organization-ids LIST REPLACE organizations with given ids.
--organization-title VALUE Set the current organization context for the request
--organization-titles LIST
--organizations 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.85.6. hammer webhook-template info Copy linkLink copied to clipboard!
Show webhook template details
Usage: hammer webhook-template <info|show> [OPTIONS] Options: --fields LIST Show specified fields or predefined field sets only. (See below) --id VALUE --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 Name to search by --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 -h, --help Print help Predefined field sets: ----------------------------|-----|---------|----- FIELDS | ALL | DEFAULT | THIN ----------------------------|-----|---------|----- Id | x | x | x Name | x | x | x Description | x | x | Locked | x | x | Default | x | x | Created at | x | x | Updated at | x | x | Locations/ | x | x | Organizations/ | x | x | Template inputs/id | x | x | Template inputs/name | x | x | Template inputs/description | x | x | Template inputs/required | x | x | Template inputs/options | 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
Usage:
hammer webhook-template <info|show> [OPTIONS]
Options:
--fields LIST Show specified fields or predefined field sets only. (See below)
--id VALUE
--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 Name to search by
--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
-h, --help Print help
Predefined field sets:
----------------------------|-----|---------|-----
FIELDS | ALL | DEFAULT | THIN
----------------------------|-----|---------|-----
Id | x | x | x
Name | x | x | x
Description | x | x |
Locked | x | x |
Default | x | x |
Created at | x | x |
Updated at | x | x |
Locations/ | x | x |
Organizations/ | x | x |
Template inputs/id | x | x |
Template inputs/name | x | x |
Template inputs/description | x | x |
Template inputs/required | x | x |
Template inputs/options | 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.85.7. hammer webhook-template list Copy linkLink copied to clipboard!
List webhook templates
Usage: hammer webhook-template <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 Name | 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: default Values: true, false location string location_id integer locked Values: true, false name string organization string organization_id integer snippet Values: true, false template text
Usage:
hammer webhook-template <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
Name | 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:
default Values: true, false
location string
location_id integer
locked Values: true, false
name string
organization string
organization_id integer
snippet Values: true, false
template text
3.85.8. hammer webhook-template update Copy linkLink copied to clipboard!
Update a webhook template
Usage: hammer webhook-template update [OPTIONS] Options: --audit-comment VALUE --default BOOLEAN Whether or not the template is added automatically to new organizations and locations --description VALUE --id 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 REPLACE locations with given ids --location-title VALUE Set the current location context for the request --location-titles LIST --locations LIST --locked BOOLEAN Whether or not the template is locked for editing --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 REPLACE organizations with given ids. --organization-title VALUE Set the current organization context for the request --organization-titles LIST --organizations LIST --snippet BOOLEAN --template 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
Usage:
hammer webhook-template update [OPTIONS]
Options:
--audit-comment VALUE
--default BOOLEAN Whether or not the template is added automatically to new organizations and
locations
--description VALUE
--id 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 REPLACE locations with given ids
--location-title VALUE Set the current location context for the request
--location-titles LIST
--locations LIST
--locked BOOLEAN Whether or not the template is locked for editing
--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 REPLACE organizations with given ids.
--organization-title VALUE Set the current organization context for the request
--organization-titles LIST
--organizations LIST
--snippet BOOLEAN
--template 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