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

Return to the regular view of this page.

CreateVolume

1 - 1.2

scp-cli filestorage volume create
--zone <value>
--type_name <value>
--protocol <value>
--name <value>
[--snapshot_id <value>]
[--cifs_password <value>]
[--tags <value>]

Description

Create volume

State ACTIVE (CURRENT)

VersionNot Before
1.2-

Parameters

NameTypeDescriptionExample
zone
required
stringZonekr-west1-a
type_name
required
stringVolume Type NameHDD
protocol
required
stringProtocolNFS
name
required
stringVolume Namemy_volume
snapshot_id
optional
stringSnapshot ID40htrre5b-eww25-ff2b-a426-6afefas65a3b
cifs_password
optional
stringCIFS Passwordcifspwd0!!
tags
optional
array'{"key": "key", "value": "value"}'

Responses

NameDescriptionExample
protocolProtocolNFS
snapshot_idSnapshot ID40htrre5b-eww25-ff2b-a426-6afefas65a3b
type_nameVolume Type NameHDD
volume_idVolume IDbfdbabf2-04d9-4e8b-a205-020f8e6da438
volume_nameVolume Namemy_volume
zoneZonekr-west1-a

2 - 1.1

scp-cli filestorage volume create
--type_name <value>
--protocol <value>
--name <value>
[--snapshot_id <value>]
[--cifs_password <value>]
[--tags <value>]

Description

Create volume

State ACTIVE (SUPPORTED)

VersionNot Before
1.120261130

Parameters

NameTypeDescriptionExample
type_name
required
stringVolume Type NameHDD
protocol
required
stringProtocolNFS
name
required
stringVolume Namemy_volume
snapshot_id
optional
stringSnapshot ID40htrre5b-eww25-ff2b-a426-6afefas65a3b
cifs_password
optional
stringCIFS Passwordcifspwd0!!
tags
optional
array'{"key": "key", "value": "value"}'

Responses

NameDescriptionExample
protocolProtocolNFS
snapshot_idSnapshot ID40htrre5b-eww25-ff2b-a426-6afefas65a3b
type_nameVolume Type NameHDD
volume_idVolume IDbfdbabf2-04d9-4e8b-a205-020f8e6da438
volume_nameVolume Namemy_volume