你能从 Softlayer API 中提取网络状态信息吗? [英] Can you pull network status information from the Softlayer API?

查看:46
本文介绍了你能从 Softlayer API 中提取网络状态信息吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们有兴趣使用 API 来获取在网络">状态">本地"页面上找到的信息.

We are interested in using the API to get the information found on the Network > Status > Local page.

API 允许这样做吗?

Does the API allow for this?

谢谢

推荐答案

此请求可能对您有所帮助:

This request may help you:

https://[username]:[apikey]@api.softlayer.com/rest/v3/SoftLayer_Account/getRouters?objectMask=mask[downlinkNetworkHardware,networkStatus,hardwareChassis.hardwareFunction,networkMonitorAttachedDownHardware.latestNetworkMonitorIncident, networkMonitorAttachedDownVirtualGuests[latestNetworkMonitorIncident,primaryIpAddress],downstreamNetworkHardwareWithIncidents.networkStatus,downlinkVirtualGuests.latestNetworkMonitorIncident, downlinkServers[hardwareChassis.hardwareFunction, latestNetworkMonitorIncident]]
Method: GET

参考:

https://forums.softlayer.com/forum/softlayer-developer-network/implementations/84851-network-local-status-infrastructure-overview-via-api

(注意:这个参考很快就会过时,但现在可以帮助你)

(Note: This reference will be outdated soon, but it can help you now)

这篇关于你能从 Softlayer API 中提取网络状态信息吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆