This is the multi-page printable view of this section. Click here to print.

Return to the regular view of this page.

Create Volume

1 - 1.3

scp-cli virtualserver volume create
--size <value>
--name <value>
[--max_iops <value>]
[--max_throughput <value>]
[--snapshot_id <value>]
[--tags <value>]
[--volume_type <value>]

Description

Create a Volume.

State ACTIVE (CURRENT)

VersionNot Before
1.3-

Parameters

NameTypeDescriptionExample
size
required
integerVolume size, in gibibytes(GiB), must be multiple of 8.104
name
required
stringVolume namevolume01
max_iops
optional
integerThe number of distinct read or write operations a volume can process in a single second.10000
max_throughput
optional
integerThe actual amount of data (volume) transferred to or from the storage device per second.500
snapshot_id
optional
stringSnapshot ID used to create the volume. when specified, request volume size must be greater than or equal to the size of the snapshot.cceed636-1f1e-4bb0-b85c-4e5b9e0bf790
tags
optional
arrayTags'{"key": "Key", "value": "Value"}'
volume_type
optional
stringSets the Volume type. if volume type is not set, the volume will be created using default type (SSD).SSD

Responses

NameDescriptionExample
idVolume ID3f500f00-ed80-4566-a057-e31760226f9a
bootableBootableFalse
created_atCreated at
encryptedEncryptedTrue
max_iopsThe number of distinct read or write operations a volume can process in a single second.10000
max_throughputThe actual amount of data (volume) transferred to or from the storage device per second.500
modified_atModified at2025-07-26T12:00:00Z
multiattachConnect to two or more servers, no restriction on the number of connected servers per volume, and Virtual Server can connect up to 26 volumes.False
nameVolume namevolume01
serversAttached servers[]
sizeVolume size104
snapshot_idSnapshot IDcceed636-1f1e-4bb0-b85c-4e5b9e0bf790
stateVolume stateavailable
user_idUser ID570907805e5447be84b618450ef52o0t
volume_image_metadataVolume Image metadata{}
volume_typeVolume typeSSD
volume_type_idVolume type IDc643ac35-3aec-43e6-b97a-3d6f666c5207

2 - 1.2

scp-cli virtualserver volume create
--size <value>
--name <value>
[--max_iops <value>]
[--max_throughput <value>]
[--snapshot_id <value>]
[--tags <value>]
[--volume_type <value>]

Description

Create a Volume.

State ACTIVE (SUPPORTED)

VersionNot Before
1.220260831

Parameters

NameTypeDescriptionExample
size
required
integerVolume size, in gibibytes(GiB), must be multiple of 8.104
name
required
stringVolume namevolume01
max_iops
optional
integerThe number of distinct read or write operations a volume can process in a single second.10000
max_throughput
optional
integerThe actual amount of data (volume) transferred to or from the storage device per second.500
snapshot_id
optional
stringSnapshot ID used to create the volume. when specified, request volume size must be greater than or equal to the size of the snapshot.cceed636-1f1e-4bb0-b85c-4e5b9e0bf790
tags
optional
arrayTags'{"key": "Key", "value": "Value"}'
volume_type
optional
stringSets the Volume type. if volume type is not set, the volume will be created using default type (SSD).SSD

Responses

NameDescriptionExample
idVolume ID3f500f00-ed80-4566-a057-e31760226f9a
bootableBootableFalse
created_atCreated at
encryptedEncryptedTrue
max_iopsThe number of distinct read or write operations a volume can process in a single second.10000
max_throughputThe actual amount of data (volume) transferred to or from the storage device per second.500
modified_atModified at2025-07-26T12:00:00Z
multiattachConnect to two or more servers, no restriction on the number of connected servers per volume, and Virtual Server can connect up to 26 volumes.False
nameVolume namevolume01
serversAttached servers[]
sizeVolume size104
snapshot_idSnapshot IDcceed636-1f1e-4bb0-b85c-4e5b9e0bf790
stateVolume stateavailable
user_idUser ID570907805e5447be84b618450ef52o0t
volume_image_metadataVolume Image metadata{}
volume_typeVolume typeSSD
volume_type_idVolume type IDc643ac35-3aec-43e6-b97a-3d6f666c5207

3 - 1.1

scp-cli virtualserver volume create
--size <value>
--name <value>
[--snapshot_id <value>]
[--tags <value>]
[--volume_type <value>]

Description

Create a Volume.

State ACTIVE (DEPRECATED)

Deprecated versions with Not Before dates that have arrived or expired are no longer supported. We recommend using the latest version.

VersionNot Before
1.120260531

Parameters

NameTypeDescriptionExample
size
required
integerVolume size, in gibibytes(GiB), must be multiple of 8.104
name
required
stringVolume namevolume01
snapshot_id
optional
stringSnapshot ID used to create the volume. when specified, request volume size must be greater than or equal to the size of the snapshot.cceed636-1f1e-4bb0-b85c-4e5b9e0bf790
tags
optional
arrayTags'{"key": "Key", "value": "Value"}'
volume_type
optional
stringSets the Volume type. if volume type is not set, the volume will be created using default type (SSD).SSD

Responses

NameDescriptionExample
idVolume ID3f500f00-ed80-4566-a057-e31760226f9a
bootableBootableFalse
created_atCreated at
encryptedEncryptedTrue
modified_atModified at2025-07-26T12:00:00Z
multiattachConnect to two or more servers, no restriction on the number of connected servers per volume, and Virtual Server can connect up to 26 volumes.False
nameVolume namevolume01
serversAttached servers[]
sizeVolume size104
snapshot_idSnapshot IDcceed636-1f1e-4bb0-b85c-4e5b9e0bf790
stateVolume stateavailable
user_idUser ID570907805e5447be84b618450ef52o0t
volume_image_metadataVolume Image metadata{}
volume_typeVolume typeSSD
volume_type_idVolume type IDc643ac35-3aec-43e6-b97a-3d6f666c5207

4 - 1.0

scp-cli virtualserver volume create
--size <value>
--name <value>
[--snapshot_id <value>]
[--tags <value>]
[--volume_type <value>]

Description

Create a Volume.

State ACTIVE (DEPRECATED)

Deprecated versions with Not Before dates that have arrived or expired are no longer supported. We recommend using the latest version.

VersionNot Before
1.020251231

Parameters

NameTypeDescriptionExample
size
required
integerVolume size, in gibibytes(GiB), must be multiple of 8.104
name
required
stringVolume namevolume01
snapshot_id
optional
stringSnapshot ID used to create the volume. when specified, request volume size must be greater than or equal to the size of the snapshot.cceed636-1f1e-4bb0-b85c-4e5b9e0bf790
tags
optional
arrayTags'{"key": "Key", "value": "Value"}'
volume_type
optional
stringSets the Volume type. if volume type is not set, the volume will be created using default type (SSD).SSD

Responses

NameDescriptionExample
idVolume ID3f500f00-ed80-4566-a057-e31760226f9a
bootableBootableFalse
created_atCreated at
encryptedEncryptedTrue
modified_atModified at2025-07-26T12:00:00Z
multiattachConnect to two or more servers, no restriction on the number of connected servers per volume, and Virtual Server can connect up to 26 volumes.False
nameVolume namevolume01
serversAttached servers[]
sizeVolume size104
snapshot_idSnapshot IDcceed636-1f1e-4bb0-b85c-4e5b9e0bf790
stateVolume stateavailable
user_idUser ID570907805e5447be84b618450ef52o0t
volume_image_metadataVolume Image metadata{}
volume_typeVolume typeSSD
volume_type_idVolume type IDc643ac35-3aec-43e6-b97a-3d6f666c5207