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

Return to the regular view of this page.

Attach Volume to Virtual Server

1 - 1.3

scp-cli virtualserver volume attach server
--volume_id <value>
--server_id <value>
[--delete_on_termination <value>]

Description

Attach Volume to Virtual Server.

State ACTIVE (CURRENT)

VersionNot Before
1.3-

Parameters

NameTypeDescriptionExample
volume_id
required
stringVolume ID3f500f00-ed80-4566-a057-e31760226f9a
server_id
required
stringServer ID2a9be312-5d4b-4bc8-b2ae-35100fa9241f
delete_on_termination
optional
booleanDelete the boot volume when the server is terminated.False

Responses

NameDescriptionExample
delete_on_terminationDelete the boot volume when the server is terminated.False
deviceDevice name such as, /dev/vda./dev/vda
server_idServer ID2a9be312-5d4b-4bc8-b2ae-35100fa9241f
volume_idVolume ID3f500f00-ed80-4566-a057-e31760226f9a

2 - 1.2

scp-cli virtualserver volume attach server
--volume_id <value>
--server_id <value>
[--delete_on_termination <value>]

Description

Attach Volume to Virtual Server.

State ACTIVE (SUPPORTED)

VersionNot Before
1.220260831

Parameters

NameTypeDescriptionExample
volume_id
required
stringVolume ID3f500f00-ed80-4566-a057-e31760226f9a
server_id
required
stringServer ID2a9be312-5d4b-4bc8-b2ae-35100fa9241f
delete_on_termination
optional
booleanDelete the boot volume when the server is terminated.False

Responses

NameDescriptionExample
delete_on_terminationDelete the boot volume when the server is terminated.False
deviceDevice name such as, /dev/vda./dev/vda
server_idServer ID2a9be312-5d4b-4bc8-b2ae-35100fa9241f
volume_idVolume ID3f500f00-ed80-4566-a057-e31760226f9a

3 - 1.1

scp-cli virtualserver volume attach server
--volume_id <value>
--server_id <value>
[--delete_on_termination <value>]

Description

Attach Volume to Virtual Server.

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
volume_id
required
stringVolume ID3f500f00-ed80-4566-a057-e31760226f9a
server_id
required
stringServer ID2a9be312-5d4b-4bc8-b2ae-35100fa9241f
delete_on_termination
optional
booleanDelete the boot volume when the server is terminated.False

Responses

NameDescriptionExample
delete_on_terminationDelete the boot volume when the server is terminated.False
deviceDevice name such as, /dev/vda./dev/vda
server_idServer ID2a9be312-5d4b-4bc8-b2ae-35100fa9241f
volume_idVolume ID3f500f00-ed80-4566-a057-e31760226f9a

4 - 1.0

scp-cli virtualserver volume attach server
--volume_id <value>
--server_id <value>
[--delete_on_termination <value>]

Description

Attach Volume to Virtual Server.

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
volume_id
required
stringVolume ID3f500f00-ed80-4566-a057-e31760226f9a
server_id
required
stringServer ID2a9be312-5d4b-4bc8-b2ae-35100fa9241f
delete_on_termination
optional
booleanDelete the boot volume when the server is terminated.False

Responses

NameDescriptionExample
delete_on_terminationDelete the boot volume when the server is terminated.False
deviceDevice name such as, /dev/vda./dev/vda
server_idServer ID2a9be312-5d4b-4bc8-b2ae-35100fa9241f
volume_idVolume ID3f500f00-ed80-4566-a057-e31760226f9a