计算管理/主机相关接口
GETHost Related Interfaces起始版本 4.7.0同步需要认证
获取主机交集网卡信息
获取主机交集网卡信息
调试可用性
在线调试
使用当前认证信息和示例参数提交 Mock 请求。
查询参数
请求参数
查询参数
hostUuidsList必填主机UUIDs
interfaceTypeString网卡类型
limitInteger最多返回的记录数。
startInteger暂无描述。
intersectingboolean暂无描述。
请求体字段
systemTagsList系统标签
userTagsList用户标签
响应状态
请求地址
GET/zstack/v1/cluster/hosts-network-interfaces
/zstack/v1/cluster/hosts-network-interfaces
请求示例
curl -X GET 'http://{host}/zstack/v1/cluster/hosts-network-interfaces?hostUuids=<hostUuids>&interfaceType=<interfaceType>&limit=1&start=1&intersecting=True' -H 'Authorization: OAuth {sessionUuid}' -H 'Content-Type: application/json;charset=UTF-8' -d '{"systemTags":["<systemTags>"],"userTags":["<userTags>"]}'
响应示例
200{ "slaveNames": [ "eth0", "eth1" ] }变更历史
此 API 暂无变更历史记录。
