云运维中心 COC-展示批次详情:响应示例

时间:2025-02-12 14:54:15

响应示例

状态码: 200

返回结果

{  "data" : {    "batch_index" : 1,    "total_instances" : 1,    "execute_instances" : [ {      "id" : 1588,      "target_instance" : {        "resource_id" : "resource_id",        "agent_sn" : "agent_sn",        "agent_status" : null,        "region_id" : null,        "project_id" : null,        "properties" : {          "host_name" : "host_name",          "fixed_ip" : "x.x.x.x",          "floating_ip" : null,          "region_id" : "cn-north-7",          "zone_id" : "cn-north-7c",          "application" : null,          "group" : null,          "project_id" : null        }      },      "gmt_created" : 1697946452436,      "gmt_finished" : 1697946763467,      "execute_costs" : 311031,      "status" : "CANCELED",      "message" : "Script execution result"    } ]  }}
support.huaweicloud.com/api-coc/ShowScriptOrdersBatchDetail.html