Params

Param name Description
id
required

Validations:

  • Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, space, underscore(_), hypen(-) with no leading or trailing space.

config_template
required

Validations:

  • Must be a Hash

config_template[name]
optional

template name

Validations:

  • Must be String

config_template[template]
optional

Validations:

  • Must be String

config_template[snippet]
optional

Validations:

  • Must be 'true' or 'false' or '1' or '0'

config_template[audit_comment]
optional , nil allowed

Validations:

  • Must be String

config_template[template_kind_id]
optional , nil allowed

not relevant for snippet

Validations:

  • Must be a number.

config_template[template_combinations_attributes]
optional

Array of template combinations (hostgroup_id, environment_id)

Validations:

  • Must be an array of any type

config_template[operatingsystem_ids]
optional

Array of operating systems ID to associate the template with

Validations:

  • Must be an array of any type