Skip to main content

Import Volume

POST/api/v1/block_storage/import/

Query parameters

  • project_idQueryintegerrequired
  • locationQuerystringrequired

    Deployment region for the resource. Accepted values: Delhi, Chennai.

    Mumbai region has been discontinued. Delhi and Chennai are the only supported regions.

Request body

application/json

object
namestringrequired

Name of the volume image.

exampletest-volume
sizeintegerrequired

Size of the volume image in GB.

example250
iopsintegerrequired

Input/output operations per second for the volume image.

example5000
path_urlstring·urirequired

URL of the Volume image. Currently, only raw format is allowed.

examplehttps://objectstore.e2enetworks.net/test-volume/vol-11.raw

Responses

200Volume imported successfully
object
codeinteger
example200
dataobject
errorsobject
messagestring
exampleSuccess