基本信息

Action

CreateScheduler

Path

/iaas

Method

GET

请求参数

此接口除公共参数外,还包含以下参数。关于公共参数的更多信息,请参见前文内容

参数名 类型 是否必须 描述

hhmm

String

时分

notification_lists

Array

通知列表

notify_event

Integer

通知事件1通知/0不通知

owner

String

资源的所有者

period

String

周期

repeat

Integer

重复次数

scheduler_name

String

定时器名称

ymd

String

年月日

返回数据

此接口除公共返回参数外,还包含以下返回参数。关于公共返回参数的更多信息,请参见前文内容

参数名 类型 是否必须 描述

scheduler_id

String

定时器id

请求示例

{
  "action": "CreateScheduler",
  "hhmm": "00:25",
  "notification_lists": [
    "nl-x3u8y13n"
  ],
  "notify_event": 1,
  "owner": "usr-BnnisHWR",
  "period": "daily",
  "repeat": "1",
  "scheduler_name": "afdsfdsfds",
  "zone": "testing"
}

返回示例

{
  "action": "CreateSchedulerResponse",
  "ret_code": 0,
  "scheduler_id": "schd-wgvyfj9d",
  "trace_id": "L8KocYRT"
}