云桌面 Workspace-查询定时任务执行记录:响应参数
响应参数
状态码: 200
参数 |
参数类型 |
描述 |
---|---|---|
tasks_records |
Array of ScheduledTasksRecords objects |
定时任务执行记录列表。 |
total_count |
Integer |
总个数。 |
参数 |
参数类型 |
描述 |
---|---|---|
id |
String |
任务执行记录id。 |
start_time |
String |
执行时间,格式为yyyy-MM-dd HH:mm:ss。 |
task_type |
String |
任务类型。START:开机,STOP:关机,REBOOT:重启,HIBERNATE:休眠,REBUILD:重建系统盘。 |
scheduled_type |
String |
执行周期类型。FIXED_TIME:指定时间,DAY:按天,WEEK:按周,MONTH:按月。 |
status |
String |
本次执行状态。 |
success_num |
Integer |
成功桌面个数。 |
failed_num |
Integer |
失败桌面个数。 |
skip_num |
Integer |
跳过桌面个数。 |
time_zone |
String |
时区。 |
execute_task_id |
String |
执行定时任务的任务id,只有定时执行脚本返回。 |
execute_object_type |
String |
执行定时任务的对象类型,只有定时执行脚本返回。 |
状态码: 400
参数 |
参数类型 |
描述 |
---|---|---|
error_code |
String |
错误码,失败时返回。 |
error_msg |
String |
错误描述。 |
encoded_authorization_message |
String |
加密后的详细拒绝原因,用户可以自行调用STS服务的decode-authorization-message接口进行解密。 |
状态码: 500
参数 |
参数类型 |
描述 |
---|---|---|
error_code |
String |
错误码,失败时返回。 |
error_msg |
String |
错误描述。 |
encoded_authorization_message |
String |
加密后的详细拒绝原因,用户可以自行调用STS服务的decode-authorization-message接口进行解密。 |