我怎样才能获得allowedHostsLimit使用的SoftLayer API每个卷 [英] How can I get allowedHostsLimit for each volume using SoftLayer API

查看:139
本文介绍了我怎样才能获得allowedHostsLimit使用的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屋!

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