How can I get allowedHostsLimit for each volume us

2019-09-09 05:26发布

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?

1条回答
神经病院院长
2楼-- · 2019-09-09 06:18

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

查看更多
登录 后发表回答