参数名字 | 描述 |
---|---|
search 选填 |
过滤结果 Value: Must be String |
order 选填 |
结果排序 Value: Must be String |
page 选填 |
页数 Value: Must be String |
per_page 选填 |
每个请求中的条目数 Value: Must be String |
参数名字 | 描述 |
---|---|
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. |
参数名字 | 描述 |
---|---|
job_template 必填 |
Value: Must be a Hash |
job_template[name] 必填 |
Template name Value: Must be String |
job_template[job_category] 必填 |
Job category Value: Must be String |
job_template[description_format] 选填 , 允许空值 |
This template is used to generate the description. Input values can be used using the syntax %{package}. You may also include the job category and template name using %{job_category} and %{template_name}. Value: Must be String |
job_template[template] 必填 |
Value: Must be String |
job_template[provider_type] 必填 |
Provider type Value: Must be one of: SSH. |
job_template[snippet] 选填 , 允许空值 |
Value: Must be ‘true’ or ‘false’ |
job_template[audit_comment] 选填 , 允许空值 |
Value: Must be String |
job_template[locked] 选填 , 允许空值 |
Whether or not the template is locked for editing Value: Must be ‘true’ or ‘false’ |
job_template[ssh] 选填 , 允许空值 |
SSH provider specific options Value: Must be a Hash |
job_template[ssh][effective_user] 选填 , 允许空值 |
Effective user options Value: Must be a Hash |
job_template[ssh][effective_user][value] 选填 , 允许空值 |
What user should be used to run the script (using sudo-like mechanisms) Value: Must be String |
job_template[ssh][effective_user][overridable] 选填 , 允许空值 |
Whether it should be allowed to override the effective user from the invocation form. Value: Must be ‘true’ or ‘false’ |
job_template[ssh][effective_user][current_user] 选填 , 允许空值 |
Whether the current user login should be used as the effective user Value: Must be ‘true’ or ‘false’ |
参数名字 | 描述 |
---|---|
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. |
job_template 必填 |
Value: Must be a Hash |
job_template[name] 选填 |
Template name Value: Must be String |
job_template[job_category] 选填 |
Job category Value: Must be String |
job_template[description_format] 选填 , 允许空值 |
This template is used to generate the description. Input values can be used using the syntax %{package}. You may also include the job category and template name using %{job_category} and %{template_name}. Value: Must be String |
job_template[template] 选填 |
Value: Must be String |
job_template[provider_type] 选填 |
Provider type Value: Must be one of: SSH. |
job_template[snippet] 选填 , 允许空值 |
Value: Must be ‘true’ or ‘false’ |
job_template[audit_comment] 选填 , 允许空值 |
Value: Must be String |
job_template[locked] 选填 , 允许空值 |
Whether or not the template is locked for editing Value: Must be ‘true’ or ‘false’ |
job_template[ssh] 选填 , 允许空值 |
SSH provider specific options Value: Must be a Hash |
job_template[ssh][effective_user] 选填 , 允许空值 |
Effective user options Value: Must be a Hash |
job_template[ssh][effective_user][value] 选填 , 允许空值 |
What user should be used to run the script (using sudo-like mechanisms) Value: Must be String |
job_template[ssh][effective_user][overridable] 选填 , 允许空值 |
Whether it should be allowed to override the effective user from the invocation form. Value: Must be ‘true’ or ‘false’ |
job_template[ssh][effective_user][current_user] 选填 , 允许空值 |
Whether the current user login should be used as the effective user Value: Must be ‘true’ or ‘false’ |
参数名字 | 描述 |
---|---|
version 选填 |
Template version Value: Must be String |
参数名字 | 描述 |
---|---|
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. |
job_template 必填 |
Value: Must be a Hash |
job_template[name] 必填 |
Template name Value: Must be String |