v1

latestOpenAPI 3.0.0Apache 2.02026-07-176940115.5 KB
Block volumes

Extends a volume.

post/v1beta/{tenantId}/block/volumes/{volumeId}/resize

Request body

newSizeinteger required

Example request

{
  "newSize": 2
}

Response

Accepted

idstring
createdAtstring date-time
updatedAtstring date-time
tenantIdstring
userIdstring
namestring
multiAttachboolean
descriptionstring
sizeinteger
availabilityZonestring
statusstring
profileIdstring
poolIdstring
snapshotIdstring
groupIdstring
snapshotFromCloudboolean
replicationIdstring
replicationDriverDataobject
metadataobject

Example response

{
  "id": "084bf71e-a102-11e7-88a8-e31fe6d52248",
  "createdAt": "2017-07-10T14:36:58.014Z",
  "updatedAt": "2017-07-10T14:36:58.014Z",
  "size": 2,
  "replicationDriverData": {
    "key1": "value1",
    "key2": "value2"
  },
  "metadata": {
    "key1": "value1",
    "key2": "value2"
  }
}