Closed avorima closed 2 years ago
The cloud API provides a new volume property called bootServer that contains the ID of the server that it is mounted on or null. Please add it to the volume properties model.
bootServer
null
Example:
{ "id" : "aa714cbc-867e-4a9c-a76e-5a492237a2bb", "type" : "volume", "href" : "https://api.ionos.com/cloudapi/v6/datacenters/1b5c63aa-cd20-4dba-84d3-53bb24fa2f1b/volumes/aa714cbc-867e-4a9c-a76e-5a492237a2bb", "metadata" : { "etag" : "8d9aef62527fbcd4eb218a50b9e7ae7f", "createdDate" : "2022-01-19T18:12:16Z", "createdBy" : "[UNKNOWN]", "createdByUserId" : "[UNKNOWN]", "lastModifiedDate" : "2022-01-19T18:12:16Z", "lastModifiedBy" : "[UNKNOWN]", "lastModifiedByUserId" : "[UNKNOWN]", "state" : "AVAILABLE" }, "properties" : { "name" : "csi-pv.13246.pvc-53cf0bbc-b378-40ec-9fd3-b22ad002d945", "type" : "HDD", "size" : 1, "availabilityZone" : "AUTO", "image" : null, "imagePassword" : null, "sshKeys" : null, "bus" : "VIRTIO", "licenceType" : "LINUX", "cpuHotPlug" : false, "ramHotPlug" : false, "nicHotPlug" : false, "nicHotUnplug" : false, "discVirtioHotPlug" : false, "discVirtioHotUnplug" : false, "deviceNumber" : 2, "userData" : null, "pciSlot" : 7, "bootServer" : "52bcc5ee-5f7a-4d36-9894-81d1ed54764a" } }
When volume is not mounted:
{ "id" : "bbdba4cd-bf5d-41e6-af4b-a8dc367fccd0", "type" : "volume", "href" : "https://api.ionos.com/cloudapi/v6/datacenters/1b5c63aa-cd20-4dba-84d3-53bb24fa2f1b/volumes/bbdba4cd-bf5d-41e6-af4b-a8dc367fccd0", "metadata" : { "etag" : "46046397c2913b73fb340ed552623ff1", "createdDate" : "2022-01-19T18:13:49Z", "createdBy" : "[UNKNOWN]", "createdByUserId" : "[UNKNOWN]", "lastModifiedDate" : "2022-01-19T18:13:49Z", "lastModifiedBy" : "[UNKNOWN]", "lastModifiedByUserId" : "[UNKNOWN]", "state" : "AVAILABLE" }, "properties" : { "name" : "testvol", "type" : "HDD", "size" : 1, "availabilityZone" : "AUTO", "image" : null, "imagePassword" : null, "sshKeys" : null, "bus" : null, "licenceType" : "LINUX", "cpuHotPlug" : false, "ramHotPlug" : false, "nicHotPlug" : false, "nicHotUnplug" : false, "discVirtioHotPlug" : false, "discVirtioHotUnplug" : false, "deviceNumber" : 0, "userData" : null, "pciSlot" : null, "bootServer" : null } }
Hi @avorima,
Thank you for the notice! It has been added in the v6.0.1 release.
The cloud API provides a new volume property called
bootServer
that contains the ID of the server that it is mounted on ornull
. Please add it to the volume properties model.Example:
When volume is not mounted: