/
Creating a volume
Creating a volume
Format
Method | POST |
---|---|
URL | /tasks/create |
Request contents | ImageCreate Object |
Successful answer | TaskResult Object |
Unexpected error | HTTP 500 |
VolumeCreate Object
Schema
repeat | String | Reserved |
---|---|---|
retries | String | Number of times this task will be retried, in case of an error |
type | String | Task type identifier. In this case, "volume_create" |
volume_id | String | Unique identifier for the new Volume |
image_storage_id | String | Unique identifier of the Image Storage which contains the Volume indicated by volume_id |
primary_disk_id | String | UUID of the physical disk |
secondary_disk_id | String | UUID of the secondary physical disk. Optional. Used to mirror the primary disk. |
JSON example
|
, multiple selections available,
Related content
Creating an external volume
Creating an external volume
More like this
Creating an External Volume
Creating an External Volume
More like this
Creating an OCFS2 Volume
Creating an OCFS2 Volume
More like this
Creating an Image inside an ImageStorage
Creating an Image inside an ImageStorage
More like this
Creating an Image inside an Image Storage
Creating an Image inside an Image Storage
More like this
Creating a Gluster Volume
Creating a Gluster Volume
More like this