参数

参数名字 描述
location_id
选填

根据位置界定的范围

Validations:

  • Must be a Integer

organization_id
选填

根据机构界定的范围

Validations:

  • Must be a Integer

job_invocation
必填

Validations:

  • Must be a Hash

job_invocation[job_template_id]
选填 , 允许空值

The job template to use, parameter is required unless feature was specified

Validations:

  • Must be a String

job_invocation[targeting_type]
必填

Invocation type, one of {“static_query”=>“Static Query”, “dynamic_query”=>“Dynamic Query”}

Validations:

  • Must be a String

job_invocation[inputs]
选填 , 允许空值

要使用的输入

Validations:

  • Must be a Hash

job_invocation[ssh]
选填 , 允许空值

SSH 提供者的具体选项

Validations:

  • Must be a Hash

job_invocation[ssh][effective_user]
选填 , 允许空值

应由什么用户运行此脚本(使用类似 sudo 的机制)。默认为模板参数或全局设置。

Validations:

  • Must be a String

job_invocation[recurrence]
选填 , 允许空值

创建重复任务

Validations:

  • Must be a Hash

job_invocation[recurrence][cron_line]
选填 , 允许空值

该任务的重复频率是什么,请使用 cron 形式。

Validations:

  • Must be a String

job_invocation[recurrence][max_iteration]
选填 , 允许空值

最多重复 N 次

Validations:

  • Must be a number.

job_invocation[recurrence][end_time]
选填 , 允许空值

这个时间后不再执行任何操作

Validations:

  • Must be a DateTime

job_invocation[scheduling]
选填 , 允许空值

将该任务调度为于稍后开始

Validations:

  • Must be a Hash

job_invocation[scheduling][start_at]
选填 , 允许空值

将该任务调度为在将来的某个时间开始

Validations:

  • Must be a DateTime

job_invocation[scheduling][start_before]
选填 , 允许空值

表示如果在这个时间之前无法启动该操作,则应将其取消。

Validations:

  • Must be a DateTime

job_invocation[concurrency_control]
选填 , 允许空值

控制并行等级及分配时间

Validations:

  • Must be a Hash

job_invocation[concurrency_control][time_span]
选填 , 允许空值

N 秒后分配任务

Validations:

  • Must be a Integer

job_invocation[concurrency_control][concurrency_level]
选填 , 允许空值

同时最多运行 N 个任务

Validations:

  • Must be a Integer

job_invocation[bookmark_id]
选填 , 允许空值

Validations:

  • Must be a Integer

job_invocation[search_query]
选填 , 允许空值

Validations:

  • Must be a String

job_invocation[description_format]
选填 , 允许空值

只为这个调用使用该模板替代描述格式

Validations:

  • Must be a String

job_invocation[execution_timeout_interval]
选填 , 允许空值

Override the timeout interval from the template for this invocation only

Validations:

  • Must be a Integer

job_invocation[feature]
选填 , 允许空值

Remote execution feature label that should be triggered, job template assigned to this feature will be used

Validations:

  • Must be a String