Volumes

Create volume

post/v1/volumes

Request

  • Base URL: https://api.verda.com
  • URL: https://api.verda.com/v1/volumes
  • Auth: HTTP bearer

Request body

type'HDD' | 'NVMe' | 'HDD_Shared' | 'NVMe_Shared' | 'NVMe_Local_Storage' | 'NVMe_Shared_Cluster' | 'NVMe_OS_Cluster' required

Volume type

location_codestring required

Location code

sizenumber required

Volume size in GB

instance_idstring

Instance ID to attach the volume to

instance_idsstring[]

Array of instance IDs to attach the volume to

namestring required

Volume name

Example request

{
  "type": "NVMe",
  "location_code": "FIN-01",
  "size": 50,
  "instance_id": "97c8f7f8-f75d-4b37-af7b-c21411e4edee",
  "instance_ids": [
    "983bcdba-6ae6-497c-a91e-c8f091ab7bd7",
    "f44959a9-a83d-4308-abc1-c522a8768bc4"
  ],
  "name": "my-volume",
  "tags": [
    {
      "key": "environment",
      "value": "production"
    }
  ]
}

Response

Volume ID

Changes

No recorded changes to this operation across all 1 revision of this API.