我试图获得每个卷的主机限制。在http://sldn.softlayer.com/reference/services/SoftLayer_Network_Storage
中使用api我总是得到" 0"对于允许的主机限制值。
我怎样才能获得正确的价值?
答案 0 :(得分:0)
我运行了以下Restful并返回正确的值
https://api.softlayer.com/rest/v3/SoftLayer_Network_Storage/$StorageID/getAllowedHostsLimit
replace StorageId with the id of the object storage you want to get the allowed host limit
我刚刚调用了此方法http://sldn.softlayer.com/reference/services/SoftLayer_Network_Storage/getAllowedHostsLimit
确保您有足够的权限查看存储空间
此致