Network_Storage的replicationStatus不应该是字符串类型

时间:2016-12-12 02:34:46

标签: ibm-cloud-infrastructure

文件不正确: https://sldn.softlayer.com/reference/datatypes/SoftLayer_Network_Storage

此API调用:

https://api.softlayer.com/rest/v3.1/SoftLayer_Network_Storage/17193175.json?objectMask=mask[id,replicationStatus]

回复是:

{     " id":17193175,     " replicationStatus&#34 ;:     {         " createDate":" 2016-12-09T02:18:27-06:00",         "消息":" Replicant Volume Provisioning已完成。",         " scheduleId":null,         " typeId":322,         " volumeId":17193173     } }

1 个答案:

答案 0 :(得分:0)

这是对象掩码的问题,无论如何你可以使用解决方法

objectMask=id;replicationStatus

此致