参数名字 | 描述 |
---|---|
template_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. |
search 选填 |
过滤结果 Value: Must be String |
order 选填 |
结果排序 Value: Must be String |
page 选填 |
页数 Value: Must be String |
per_page 选填 |
每个请求中的条目数 Value: Must be String |
参数名字 | 描述 |
---|---|
template_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. |
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. |
参数名字 | 描述 |
---|---|
template_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. |
template_input 必填 |
Value: Must be a Hash |
template_input[name] 必填 |
Input name Value: Must be String |
template_input[description] 选填 , 允许空值 |
Input description Value: Must be String |
template_input[required] 选填 , 允许空值 |
Input is required Value: Must be 'true' or 'false' |
template_input[advanced] 选填 , 允许空值 |
Input is advanced Value: Must be 'true' or 'false' |
template_input[input_type] 必填 |
Input type Value: Must be one of: user, fact, variable, puppet_parameter. |
template_input[fact_name] 选填 , 允许空值 |
Fact name, used when input type is fact Value: Must be String |
template_input[variable_name] 选填 , 允许空值 |
Variable name, used when input type is variable Value: Must be String |
template_input[puppet_parameter_class] 选填 , 允许空值 |
Puppet class name, used when input type is puppet_parameter Value: Must be String |
template_input[puppet_parameter_name] 选填 , 允许空值 |
Puppet parameter name, used when input type is puppet_parameter Value: Must be String |
template_input[options] 选填 , 允许空值 |
Selectable values for user inputs Value: Must be an array of any type |
参数名字 | 描述 |
---|---|
template_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. |
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. |
参数名字 | 描述 |
---|---|
template_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. |
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. |
template_input 必填 |
Value: Must be a Hash |
template_input[name] 选填 |
Input name Value: Must be String |
template_input[description] 选填 , 允许空值 |
Input description Value: Must be String |
template_input[required] 选填 , 允许空值 |
Input is required Value: Must be 'true' or 'false' |
template_input[advanced] 选填 , 允许空值 |
Input is advanced Value: Must be 'true' or 'false' |
template_input[input_type] 选填 |
Input type Value: Must be one of: user, fact, variable, puppet_parameter. |
template_input[fact_name] 选填 , 允许空值 |
Fact name, used when input type is fact Value: Must be String |
template_input[variable_name] 选填 , 允许空值 |
Variable name, used when input type is variable Value: Must be String |
template_input[puppet_parameter_class] 选填 , 允许空值 |
Puppet class name, used when input type is puppet_parameter Value: Must be String |
template_input[puppet_parameter_name] 选填 , 允许空值 |
Puppet parameter name, used when input type is puppet_parameter Value: Must be String |
template_input[options] 选填 , 允许空值 |
Selectable values for user inputs Value: Must be an array of any type |