參數

參數名字 描述
location_id
選填

位置範圍

Validations:

  • Must be a Integer

organization_id
選填

組織範圍

Validations:

  • Must be a Integer

template_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.

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.

template_input
必填

Validations:

  • Must be a Hash

template_input[name]
選填

輸入的名稱

Validations:

  • Must be a String

template_input[description]
選填 , 允許空值

輸入的描述

Validations:

  • Must be a String

template_input[required]
選填 , 允許空值

需要輸入

Validations:

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

template_input[advanced]
選填 , 允許空值

輸入是進階的

Validations:

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

template_input[input_type]
選填

輸入類型

Validations:

  • Must be one of: user, fact, variable, puppet_parameter.

template_input[fact_name]
選填 , 允許空值

事實名稱,當輸入類型是 fact 時使用

Validations:

  • Must be a String

template_input[variable_name]
選填 , 允許空值

變數名稱,當輸入類型是 variable 時使用

Validations:

  • Must be a String

template_input[puppet_parameter_class]
選填 , 允許空值

puppet class 名稱,當輸入類型是 puppet_parameter 時使用

Validations:

  • Must be a String

template_input[puppet_parameter_name]
選填 , 允許空值

puppet 參數名稱,當輸入類型是 puppet_parameter 時使用

Validations:

  • Must be a String

template_input[options]
選填 , 允許空值

使用者輸入可選擇的值

Validations:

  • Must be an array of any type