Open AlanJager opened 7 years ago
创建任务(Create Scheduler job)
org.zstack.scheduler.APICreateSchedulerJobMsg
够用可以使用CreateSchedulerJob来创建一个任务. 例如:
CreateSchedulerJob name=job description='this is a job' targetResourceUuid=vmUuid type=startVm
返回结果:
{ "inventory": { "createDate": "Jun 20, 2017 10:31:52 AM", "description": "this is a job", "lastOpDate": "Jun 20, 2017 10:31:52 AM", "name": "job", "targetResourceUuid": "vmUuid", "triggersUuid": [], "uuid": "ce506484b3684359b39a8ebeba576621" }, "success": true }
https://github.com/zstackio/functional-spec/issues/29
描述
创建任务(Create Scheduler job)
API
org.zstack.scheduler.APICreateSchedulerJobMsg
举例(Example)
够用可以使用CreateSchedulerJob来创建一个任务. 例如:
返回结果:
参数(Parameters)
备注
Feature_link
https://github.com/zstackio/functional-spec/issues/29