Block volumes

POST /v1beta/{tenantId}/block/volumes

Changed on

Creates a volume.

Request

  • Base URL
    https://localhost:50040
  • Auth
    HTTP basic

Request body

namestring required
multiAttachboolean
descriptionstring
sizeinteger required
availabilityZonestring
profileIdstring
poolIdstring
snapshotIdstring
groupIdstring
snapshotFromCloudboolean
replicationIdstring

Example request

{
  "size": 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"
  }
}

Changes

    • breaking

      added the new required request property

    • breaking

      added the new required request property

    • breaking

      the request's body type changed from no type to object

    • breaking

      the response property / became optional for the status

    • breaking

      the response property / became optional for the status

    • warning

      removed subschema #2 from the request body allOf list

    • info

      added the new optional request property

    • info

      added the new optional request property

    • info

      added the new optional request property

    • info

      added the new optional request property

    • info

      added the new optional request property

    • info

      added the new optional request property

    • info

      added the new optional request property

    • info

      added the new optional request property

    • info

      added the new optional request property

    • info

      added the optional property / to the response with the status

    • breaking

      the response property / became optional for the status

    • breaking

      the response property / became optional for the status

    • breaking

      the response property / became optional for the status

    • breaking

      the response property / became optional for the status

    • info

      the request property / became optional

    • info

      the request property / became optional

    • info

      the request property / became optional