參數

參數名字 描述
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.

config_template
必填

Value:

Must be a Hash

config_template[name]
選填

範本名稱


Value:

Must be String

config_template[template]
選填

Value:

Must be String

config_template[snippet]
選填 , 允許空值

Value:

Must be 'true' or 'false'

config_template[audit_comment]
選填 , 允許空值

Value:

Must be String

config_template[template_kind_id]
選填 , 允許空值

與程式碼片段不相關


Value:

Must be a number.

config_template[template_combinations_attributes]
選填 , 允許空值

範本組合陣列(hostgroup_id、environment_id)


Value:

Must be an array of any type

config_template[operatingsystem_ids]
選填 , 允許空值

與範本相關連的作業系統 ID 之陣列


Value:

Must be an array of any type

config_template[locked]
選填 , 允許空值

範本是否鎖定並禁止進行編輯


Value:

Must be 'true' or 'false'