云助手查询执行结果日志v3 接口功能介绍 需提供任务实例ID和主机IP作为查询条件 接口约束 无 URI GET /v3/remotejob/job/history/hostLog 路径参数 无 Query参数 参数 是否必填 参数类型 说明 示例 下级对象 regionId 是 String 资源池ID。 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx taskInstOid 是 String 任务实例ID 请求参数 请求头header参数 无 请求体body参数 无 响应参数 参数 参数类型 说明 示例 下级对象 statusCode Integer 状态码。可能值: 800:请求成功。 900:请求失败。 800 error String 错误码(成功时返回空) message String 提示信息 returnObj Object 远程任务主机执行日志返回结果 returnObj 表 returnObj 参数 参数类型 说明 示例 下级对象 log String 任务执行日志内容(包含换行符) INFO: Starting remote script execution... SUCCESS: Command executed successfully. 枚举参数 无 请求示例 请求url 无 请求头header 无 请求体body 无 响应示例 { "statusCode":800, "message":"OK", "returnObj":{ "log":"INFO: Starting remote script execution... SUCCESS: Command executed successfully." } } 状态码 请参考 状态码 错误码 请参考 错误码