云桌面 WORKSPACE-查询定时任务详情:响应示例

时间:2024-12-27 15:06:30

响应示例

状态码: 200

正常。

{
  "id" : "2b31e-d520xxxx-xxebedb6-e57xxxxxx",
  "task_type" : "START",
  "task_name" : "测试任务",
  "force_execute" : true,
  "scheduled_type" : "FIXED_TIME",
  "life_cycle_type" : "string",
  "day_interval" : 1,
  "week_list" : "1,2,7",
  "month_list" : "1,3,12",
  "date_list" : "1,2,28,L",
  "scheduled_date" : "2022-12-23",
  "scheduled_time" : "09:00:00",
  "expire_time" : "2022-12-31 09:00:00",
  "description" : "一个描述。",
  "extra_params" : "{ \"notify_message\": \"测试\" }",
  "apply_objects" : [ {
    "object_id" : "2b31e-d520xxxx-xxebedb6-e57xxxxxx",
    "object_type" : "DESKTOP",
    "object_name" : "测试桌面"
  } ],
  "gray_count" : 0,
  "gray_desktop_ids" : [ "string" ],
  "gray_fail_threshold" : 0,
  "time_zone" : "GMT+8",
  "wait_time" : 0
}
support.huaweicloud.com/api-workspace/ShowScheduledTasks.html