计算管理/主机相关接口
GETHost Related Interfaces起始版本 4.7.11同步需要认证
获取物理网口网络类型信息
获取物理网口网络类型信息
调试可用性
在线调试
使用当前认证信息和示例参数提交 Mock 请求。
查询参数
请求参数
查询参数
interfaceUuidString主机网卡UUID
vlanIdIntegervlan接口ID
interfaceTypeString网卡类型
serviceTypeList统计网络类型
zoneUuidString数据中心UUID
响应状态
请求地址
GET/zstack/v1/hosts/hosts-network-interfaces/service-type-statistic
/zstack/v1/hosts/hosts-network-interfaces/service-type-statistic
请求示例
curl -X GET 'http://{host}/zstack/v1/hosts/hosts-network-interfaces/service-type-statistic?interfaceUuid=<interfaceUuid>&vlanId=1&interfaceType=<interfaceType>&serviceType=<serviceType>&zoneUuid=<zoneUuid>&clusterUuid=<clusterUuid>&hostUuid=<hostUuid>&sortBy=<sortBy>&sortDirection=<sortDirection>&start=1&limit=1&replyWithCount=True&systemTags=<systemTags>&userTags=<userTags>' -H 'Authorization: OAuth {sessionUuid}'
响应示例
200{ "serviceTypeStatistics": [ { "interfaceUuid": "474f9d7d7a1d3b46b8f17363dca7ebef", "serviceTypes": [ "ManagementNetwork" ] } ], "total": 1 }}变更历史
此 API 暂无变更历史记录。
