SoftLayer_Network_Storage.volumeStatus不是字符串类型

时间:2017-01-28 03:25:46

标签: ibm-cloud-infrastructure

我有SoftLayer耐力块存储。虽然SoftLayer API参考描述了volumeStatus属性的类型为string,但SoftLayer API返回的结果如下:

https://api.softlayer.com/rest/v3/SoftLayer_Network_Storage/12345678.json?objectMask=mask[volumeStatus]

{
...
  "volumeStatus": {
    "createDate": "2017-01-26T02:22:39-05:00",
    "message": "Volume Provisioning has completed.",
    "scheduleId": null,
    "typeId": 314,
    "volumeId": 12345678
  }

什么是volumeStatus

1 个答案:

答案 0 :(得分:0)

尝试此请求:

https://api.softlayer.com/rest/v3/SoftLayer_Network_Storage/5805095/getObject?objectMask=volumeStatus

此致