我怎样才能获得allowedHostsLimit使用的SoftLayer API每个卷 [英] How can I get allowedHostsLimit for each volume using SoftLayer API
问题描述
我试图得到允许的主机限制为每个卷。使用API的 http://sldn.softlayer.com/reference/services/SoftLayer_Network_Storage
我总是得到0,为允许的主机限值。
我怎样才能得到正确的价值?
我跑到下面休息和它返回正确的价值观
<$p$p><$c$c>https://api.softlayer.com/rest/v3/SoftLayer_Network_Storage/$StorageID/getAllowedHostsLimit与对象存储的ID替换StorageId你想要得到允许的主机限制我只是调用此方法的http://sldn.softlayer.com/reference/services/SoftLayer_Network_Storage/getAllowedHostsLimit
请确保您有足够的权限来看看货仓
问候
I'm trying to get allowed host limit for each volume. using the api in http://sldn.softlayer.com/reference/services/SoftLayer_Network_Storage
I always get "0" for the allowed host limit value.
How can I get the right value?
I ran the following Restful and it returns the proper values
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
I just called this method http://sldn.softlayer.com/reference/services/SoftLayer_Network_Storage/getAllowedHostsLimit
Make sure you have enough permissions to see the storages
Regards
这篇关于我怎样才能获得allowedHostsLimit使用的SoftLayer API每个卷的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!