參數

參數名字 描述
provisioning_template
必填

Validations:

  • Must be a Hash

provisioning_template[name]
必填

範本名稱

Validations:

  • Must be a String

provisioning_template[template]
必填

Validations:

  • Must be a String

provisioning_template[snippet]
選填 , 允許空值

Validations:

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

provisioning_template[audit_comment]
選填 , 允許空值

Validations:

  • Must be a String

provisioning_template[template_kind_id]
選填 , 允許空值

與程式碼片段不相關

Validations:

  • Must be a number.

provisioning_template[template_combinations_attributes]
選填 , 允許空值

範本組合陣列(hostgroup_id、environment_id)

Validations:

  • Must be an array of any type

provisioning_template[operatingsystem_ids]
選填 , 允許空值

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

Validations:

  • Must be an array of any type

provisioning_template[locked]
選填 , 允許空值

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

Validations:

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

provisioning_template[location_ids]
選填 , 允許空值

將位置取代為特定 ID

Validations:

  • Must be an array of any type

provisioning_template[organization_ids]
選填 , 允許空值

將組織取代為特定 ID。

Validations:

  • Must be an array of any type