参数名字 | 描述 |
---|---|
location_id 选填 |
根据位置界定的范围 Validations:
|
organization_id 选填 |
根据机构界定的范围 Validations:
|
id 必填 |
Validations:
|
job_template 必填 |
Validations:
|
job_template[name] 选填 |
模板名称 Validations:
|
job_template[job_category] 选填 |
任务类别 Validations:
|
job_template[description_format] 选填 , 允许空值 |
这个模板是用来生成描述。可和使用句法 %{package} 输入参数值。还可以和使用 %{job_category} 和 %{template_name} 在其中包含任务类别及模板名称。 Validations:
|
job_template[template] 选填 |
Validations:
|
job_template[provider_type] 选填 |
提供者类型 Validations:
|
job_template[snippet] 选填 , 允许空值 |
Validations:
|
job_template[audit_comment] 选填 , 允许空值 |
Validations:
|
job_template[locked] 选填 , 允许空值 |
是否已锁定该模板进行编辑 Validations:
|
job_template[ssh] 选填 , 允许空值 |
SSH 提供者的具体选项 Validations:
|
job_template[ssh][effective_user] 选填 , 允许空值 |
有效用户选项 Validations:
|
job_template[ssh][effective_user][value] 选填 , 允许空值 |
应由什么用户运行此脚本(使用类似 sudo 的机制)。 Validations:
|
job_template[ssh][effective_user][overridable] 选填 , 允许空值 |
是否应允许使用调用形式替代有效用户。 Validations:
|
job_template[ssh][effective_user][current_user] 选填 , 允许空值 |
是否应使用当前登录用户作为有效用户 Validations:
|
job_template[location_ids] 选填 , 允许空值 |
使用给定 id 替换位置 Validations:
|
job_template[organization_ids] 选填 , 允许空值 |
使用给定 id 替换机构 Validations:
|