The create command is employed to initiate a new Block Storage volume.

JSON Input Data Format
{
    "name": string,
    "type": string,
    "disk": integer,
    "cloudid": string
}
name * Indicates the Block Storage's name. Input guidelines mandate lowercase letters from a to z and digits from 0 to 9, with no spaces allowed.
type * Specifies the Block Storage type. In API operations use "cn" to represent "Block Storage Disk Drive" and "vm" to represent "X Virtual Machine Disk Drive".
disk * Specifies the Block Storage size in gigabytes. In API operations any integer between 10 and 1000 is valid.
cloudid * Specifies the cloud ID for hosting the Block Storage.
* Indicates a mandatory field.

Code Snippets
Here are several code snippets provided for your direct use. Simply select your preferred tool/language by clicking on it.


Successful Response
{
    "result": "OK",
    "payload": "The process was successfully completed",
    "id": "V7..."
}

Failed Response
{
    "result": "ERR",
    "message": "Error message ..."
}