CreateDataVolume
Creates a volume. For
example,
CreateDataVolume name=testvolume diskOfferingUuid=73432f99feef483b97f984ff1830220e
Parameters
Name | Description | Optional | Valid Value | Starting Version |
---|---|---|---|---|
name | The volume name. | 0.6 | ||
description | The detailed description of the volume. | Yes | 0.6 | |
diskOfferingUuid | The disk offering UUID. | Yes | 0.6 | |
primaryStorageUuid | The primary storage UUID. | Yes | 0.6 | |
resourceUuid | The resource UUID. If specified, the image will use the specified value as UUID. | Yes | 0.6 | |
tagUuids | The tag UUID list. | Yes | 3.4.0 | |
userTags | The user tags. For more information, see CreateUserTag. The resource type is VolumeVO. | Yes | 0.6 | |
systemTags | The system tags. For more information, see CreateSystemTag. The resource type is VolumeVO. | Yes | 0.6 | |
timeout | Yes |

- When you create a data volume in ZStack Cloud,
you can specify the volume provisioning strategy by adding the
volumeProvisioningStrategy option to SystemTags. The
SystemTag is passed by using the dataVolumeSystemTags
parameter.
- Format of the volumeProvisioningStrategy option:
volumeProvisioningStrategy::ThinProvisioning, volumeProvisioningStrategy::ThickProvisioning
- Example:
volumeProvisioningStrategy::ThinProvisioning, volumeProvisioningStrategy::ThickProvisioning
- Format of the volumeProvisioningStrategy option: