SoftLayer API如何从SoftLayer_Virtual_Guest和SoftLayer_Hardware获取上行链路端口速度值

时间:2015-12-31 03:11:17

标签: api ibm-cloud-infrastructure

适用于已配置的SoftLayer虚拟服务器和裸机服务器。

SoftLayer_Virtual_Guest和SoftLayer_Hardware中的哪个属性/方法 可以返回设备的上行端口速度值吗?

感谢。

2 个答案:

答案 0 :(得分:0)

您可以尝试获取设备的结算项目中的项目并查找端口速度值。

这些RestFul将返回项目

https://api.softlayer.com/rest/v3.1/SoftLayer_Hardware_Server/$HardwareID/getObject?objectMask=mask[billingItem[children[item]]]

Method GET

https://api.softlayer.com/rest/v3.1/SoftLayer_Virtual_Guest/$VSIID/getObject?objectMask=mask[billingItem[children[item]]]

Method GET

Note: Replace $HardwareID and $VSIID with the ID of the hardware or VSI you wish to see the items

此致

答案 1 :(得分:0)

要从已配置的虚拟访客/硬件中获取项目,您可以使用以下GET请求:

UITextView