(Softlayer Api)如何获得eVault的音量状态?

时间:2016-04-20 06:22:38

标签: ibm-cloud-infrastructure

我尝试使用' volumeStatus'添加掩码值,但似乎它总是返回null。

Service service = Evault.service(client, Long.parseLong(storageId));
service.withMask().volumeStatus();

1 个答案:

答案 0 :(得分:0)

此请求可以帮助您:

https://[username]:[apikey]@api.softlayer.com/rest/v3/SoftLayer_Account/getEvaultNetworkStorage?objectMask=mask(SoftLayer_Network_Storage_Backup_Evault_Version6)[agentStatuses]

Method: GET

<强>参考文献:

SoftLayer_Network_Storage_Backup_Evault_Version6