Skip to content

[Scheduler]org.zstack.scheduler.APIQuerySchedulerJobMsg #112

@AlanJager

Description

@AlanJager

描述

获取创建的定时任务

API

org.zstack.scheduler.APIQuerySchedulerJobMsg

举例(Example)

管理员可以使用QuerySchedulerJob来获取一个Job. 例如:

QuerySchedulerJob uuid=ce506484b3684359b39a8ebeba576621

返回结果:

{
    "inventories": [
        {
            "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
}

参数(Parameters)

名字 描述 可选的参数 起始支持版本
uuid
triggers
targetResourceUuid

备注

Feature_link

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions