Cosmic Admin API Reference

createStoragePool

Creates a storage pool.

Request parameters

Parameter NameDescriptionRequired
namethe name for the storage pooltrue
urlthe URL of the storage pooltrue
zoneidthe Zone ID for the storage pooltrue
capacitybytesbytes CloudStack can provision from this storage poolfalse
capacityiopsIOPS CloudStack can provision from this storage poolfalse
clusteridthe cluster ID for the storage poolfalse
detailsthe details for the storage poolfalse
hypervisorhypervisor type of the hosts in zone that will be attached to this storage pool. KVM supported as of now.false
managedwhether the storage should be managed by CloudStackfalse
podidthe Pod ID for the storage poolfalse
providerthe storage provider namefalse
scopethe scope of the storage: cluster or zonefalse
tagsthe tags for the storage poolfalse

Response Tags

Response NameDescription
idthe ID of the storage pool
capacityiopsIOPS CloudStack can provision from this storage pool
clusteridthe ID of the cluster for the storage pool
clusternamethe name of the cluster for the storage pool
createdthe date and time the storage pool was created
disksizeallocatedthe host's currently allocated disk size
disksizetotalthe total disk size of the storage pool
disksizeusedthe host's currently used disk size
hypervisorthe hypervisor type of the storage pool
ipaddressthe IP address of the storage pool
namethe name of the storage pool
overprovisionfactorthe overprovisionfactor for the storage pool
paththe storage pool path
podidthe Pod ID of the storage pool
podnamethe Pod name of the storage pool
scopethe scope of the storage pool
statethe state of the storage pool
storagecapabilitiesthe storage pool capabilities
suitableformigrationtrue if this pool is suitable to migrate a volume, false otherwise
tagsthe tags for the storage pool
typethe storage pool type
zoneidthe Zone ID of the storage pool
zonenamethe Zone name of the storage pool
jobidthe ID of the latest async job acting on this object
jobstatusthe current status of the latest async job acting on this object