Description
This method is used to create a volume.
Request
For definitions of parameters, see section Properties
Parameter
|
Parameter Name
|
Required?
|
volume name
|
vol_name
|
Y
|
pool name
|
pool
|
Y
|
volume type
|
vol_type
|
Y
|
provisioning
|
provisioning
|
Y
|
reserve space
|
reserve_space
|
Y
|
reserve units
|
reserve_units
|
Y
|
compression
|
compression
|
Y
|
dedup
|
dedup
|
Y
|
shareISCSI
|
shareISCSI
|
Y
|
shareCIFS
|
shareCIFS
|
Y
|
exportNFS
|
exportNFS
|
Y
|
enable snapshots
|
enable_snapshots
|
Y
|
schedule name
|
scedule_name
|
Y
|
hourlysnaps
|
hourlysnaps
|
Y
|
dailysnaps
|
dailysnaps
|
Y
|
weeklysnaps
|
weeklysnaps
|
Y
|
Response
Example
{
"result": {
"msg": "Volume 'volume5' created.",
"records": [],
"success": true,
"total": 0
},
"session_id": 11255,
"success": true
}
|
Example 2
{
"result": {
"msg": "Volume 'volume6' created.",
"records": [],
"success": true,
"total": 0
},
"session_id": 11255,
"success": true
}
|