云桌面 Workspace-查询脚本执行记录列表:URI
URI
GET /v2/{project_id}/script-execution-records
参数 |
是否必选 |
参数类型 |
描述 |
---|---|---|---|
project_id |
是 |
String |
项目ID。 |
参数 |
是否必选 |
参数类型 |
描述 |
---|---|---|---|
offset |
否 |
Integer |
查询的偏移量。 |
limit |
否 |
Integer |
单次查询的大小[1-100]。 |
resource_id |
否 |
Array of strings |
执行脚本的资源ID列表。 |
resource_group_id |
否 |
Array of strings |
执行脚本的资源组ID。 |
script_id |
否 |
Array of strings |
执行的脚本ID。 |
script_name |
否 |
Array of strings |
执行的脚本名称。 |
status |
否 |
String |
执行脚本的执行情况。 |
is_first_order |
否 |
Boolean |
是否首批执行。 |
script_task_id |
否 |
String |
执行脚本的任务ID。 |
task_type |
否 |
String |
执行记录的任务类型(SCRIPT/COMMAND)。 |
show_history |
否 |
Boolean |
是否查询历史记录,默认为false,为true时需要同时传入resource_id与script_id。 |
execute_time_start |
否 |
String |
按执行时间查询的起始时间。指定该参数后,返回的结果为此时间之后的所有执行记录。时间格式如:“2021-10-01T12:00:00Z”。 |
execute_time_end |
否 |
String |
按执行时间查询的终止时间。指定该参数后,返回的结果为此时间之前的所有执行记录。时间格式如:“2021-10-01T12:00:00Z”。 |