参数

参数名字 描述
id
必填

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
必填

Validations:

  • Must be a Hash

config_template[name]
选填

模板名称

Validations:

  • Must be a String

config_template[template]
选填

Validations:

  • Must be a String

config_template[snippet]
选填

Validations:

  • Must be one of: true, false, 1, 0

config_template[audit_comment]
选填 , 允许空值

Validations:

  • Must be a String

config_template[template_kind_id]
选填 , 允许空值

与片段无关

Validations:

  • Must be a number.

config_template[template_combinations_attributes]
选填

模板组合阵列(hostgroup_id, environment_id)

Validations:

  • Must be an array of any type

config_template[operatingsystem_ids]
选填

Array of operating systems ID to associate the template with

Validations:

  • Must be an array of any type