Skip to content

[Scheduler]org.zstack.scheduler.APIUpdateSchedulerJobMsg #114

@AlanJager

Description

@AlanJager

描述

更新定时任务(Update Job).

API

org.zstack.scheduler.APIUpdateSchedulerJobMsg

举例(Example)

管理员可以使用UpdateSchedulerJob来更新一个job的信息. 例如:

UpdateSchedulerJob uuid=c4975f783e1043cb95bcfefa505f7849 name=new description=new

返回结果:

{
    "inventory": {
        "createDate": "Jun 19, 2017 3:19:01 PM",
        "description": "new",
        "lastOpDate": "Jun 19, 2017 3:19:01 PM",
        "name": "new",
        "targetResourceUuid": "fsdfsdfdsfadas23213",
        "triggersUuid": [],
        "uuid": "c4975f783e1043cb95bcfefa505f7849"
    },
    "success": true
}

参数(Parameters)

名字 描述 可选的参数 起始支持版本
uuid 资源的uuid
name
description

备注

Feature_link

https://github.com/zstackio/functional-spec/issues/29

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions