部署 CodeArts Deploy-查询环境内的主机列表:响应示例

时间:2025-02-12 15:15:10

响应示例

状态码: 200

OK 请求响应成功

{  "status" : "success",  "result" : [ {    "ip" : "100.85.172.31",    "port" : 22,    "permission" : {      "can_view" : true,      "can_edit" : true,      "can_delete" : true,      "can_deploy" : true,      "can_manage" : true    },    "host_id" : "13c208e61c9541ab9895f450fd1cbf7c",    "host_name" : "test",    "as_proxy" : false,    "group_id" : "2a8c2da888c04a5eaff10d0787c90ea4",    "proxy_host_id" : "",    "proxy_host_name" : null,    "owner_id" : "6baa7454109d47c192f22078fe6cda20",    "owner_name" : "devcloud_devcloud_l00490255_01",    "nick_name" : "devcloud_devcloud_l00490255_01",    "connection_status" : "failed",    "connection_result" : "连接失败",    "lastest_connection_time" : "2024-05-31 14:47:52"  } ],  "total" : 1}
support.huaweicloud.com/api-deployman/ListEnvironmentHosts.html