参数

参数名字 描述
id
必填

Value:

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

provisioning_template
必填

Value:

Must be a Hash

provisioning_template[name]
选填

template name


Value:

Must be String

provisioning_template[template]
选填

Value:

Must be String

provisioning_template[snippet]
选填 , 允许空值

Value:

Must be 'true' or 'false'

provisioning_template[audit_comment]
选填 , 允许空值

Value:

Must be String

provisioning_template[template_kind_id]
选填 , 允许空值

not relevant for snippet


Value:

Must be a number.

provisioning_template[template_combinations_attributes]
选填 , 允许空值

Array of template combinations (hostgroup_id, environment_id)


Value:

Must be an array of any type

provisioning_template[operatingsystem_ids]
选填 , 允许空值

Array of operating system IDs to associate with the template


Value:

Must be an array of any type

provisioning_template[locked]
选填 , 允许空值

Whether or not the template is locked for editing


Value:

Must be 'true' or 'false'