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.4

scp-cli baremetal-blockstorage volume create
--throughput <value>
--iops <value>
--zone <value>
--size_gb <value>
--name <value>
--disk_type <value>
--attachments <value>
[--tags <value>]

Description

Create Volume.

State ACTIVE (CURRENT)

VersionNot Before
1.4-

Parameters

NameTypeDescriptionExample
throughput
required
integerEnter the value between at least 250MB/s and up to 1,000MB/s.250
iops
required
integerEnter the value between at least 5,000 IOPS and up to 20,000 IOPS.5000
zone
required
stringAvailability zonekr-west1-a
size_gb
required
integerVolume capacity(GB)10
name
required
stringVolume namebs-01
disk_type
required
stringDisk type-
attachments
required
arrayList of server id and type'{"object_id": "83c3c73d457345e3829ee6d5557c0016", "object_type": "BM"}'
tags
optional
arrayTags'{"key": "my_tag_1", "value": "my_value_1"}'

Responses

NameDescriptionExample
request_idRequest idreq-0006064c-c008-458c-8977-19671c6b32d4
resource_idResource id8bf55e738d4e44b5a21dbe133a42ecbe

2 - 1.3

scp-cli baremetal-blockstorage volume create
--throughput <value>
--iops <value>
--size_gb <value>
--name <value>
--disk_type <value>
--attachments <value>
[--tags <value>]

Description

Create Volume.

State ACTIVE (SUPPORTED)

VersionNot Before
1.320270131

Parameters

NameTypeDescriptionExample
throughput
required
integerEnter the value between at least 250MB/s and up to 1,000MB/s.250
iops
required
integerEnter the value between at least 5,000 IOPS and up to 20,000 IOPS.5000
size_gb
required
integerVolume capacity(GB)10
name
required
stringVolume namebs-01
disk_type
required
stringDisk type-
attachments
required
arrayList of server id and type'{"object_id": "83c3c73d457345e3829ee6d5557c0016", "object_type": "BM"}'
tags
optional
arrayTags'{"key": "my_tag_1", "value": "my_value_1"}'

Responses

NameDescriptionExample
request_idRequest idreq-0006064c-c008-458c-8977-19671c6b32d4
resource_idResource id8bf55e738d4e44b5a21dbe133a42ecbe

3 - 1.2

scp-cli baremetal-blockstorage volume create
--throughput <value>
--iops <value>
--size_gb <value>
--name <value>
--disk_type <value>
--attachments <value>
[--tags <value>]

Description

Create 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.220260531

Parameters

NameTypeDescriptionExample
throughput
required
integerEnter the value between at least 250MB/s and up to 1,000MB/s.250
iops
required
integerEnter the value between at least 5,000 IOPS and up to 20,000 IOPS.5000
size_gb
required
integerVolume capacity(GB)10
name
required
stringVolume namebs-01
disk_type
required
stringDisk type-
attachments
required
arrayList of server id and type'{"object_id": "83c3c73d457345e3829ee6d5557c0016", "object_type": "BM"}'
tags
optional
arrayTags'{"key": "my_tag_1", "value": "my_value_1"}'

Responses

NameDescriptionExample
request_idRequest idreq-0006064c-c008-458c-8977-19671c6b32d4
resource_idResource id8bf55e738d4e44b5a21dbe133a42ecbe

4 - 1.1

scp-cli baremetal-blockstorage volume create
--size_gb <value>
--name <value>
--disk_type <value>
--attachments <value>
[--tags <value>]

Description

Create 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.120260331

Parameters

NameTypeDescriptionExample
size_gb
required
integerVolume capacity(GB)10
name
required
stringVolume namebs-01
disk_type
required
stringDisk type-
attachments
required
arrayList of server id and type'{"object_id": "83c3c73d457345e3829ee6d5557c0016", "object_type": "BM"}'
tags
optional
arrayTags'{"key": "my_tag_1", "value": "my_value_1"}'

Responses

NameDescriptionExample
request_idRequest idreq-0006064c-c008-458c-8977-19671c6b32d4
resource_idResource id8bf55e738d4e44b5a21dbe133a42ecbe

5 - 1.0

scp-cli baremetal-blockstorage volume create
--size_gb <value>
--name <value>
--disk_type <value>
--attachments <value>
[--tags <value>]

Description

Create 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_gb
required
integerVolume capacity(GB)10
name
required
stringVolume namebs-01
disk_type
required
stringDisk type-
attachments
required
arrayList of server id and type'{"object_id": "83c3c73d457345e3829ee6d5557c0016", "object_type": "BM"}'
tags
optional
arrayTags'{"key": "my_tag_1", "value": "my_value_1"}'

Responses

NameDescriptionExample
request_idRequest idreq-0006064c-c008-458c-8977-19671c6b32d4
resource_idResource id8bf55e738d4e44b5a21dbe133a42ecbe