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

Return to the regular view of this page.

Attach Volume

1 - 1.2

scpcli baremetal-blockstorage volume attachment create
--volume_id <value>
--attachments <value>

Description

Attach Volume to servers.

State ACTIVE (CURRENT)

VersionSupported Until
1.2-

Parameters

NameTypeDescriptionExample
volume_id
required
stringVolume id92cd16fe8ebc4f73832513a172bf0000
attachments
required
arrayList of server id and type'{"object_id": "83c3c73d457345e3829ee6d5557c0016", "object_type": "BM"}'

Responses

NameDescriptionExample
object_idObject id83c3c73d457345e3829ee6d5557c0016
object_typeObject type

2 - 1.1

scpcli baremetal-blockstorage volume attachment create
--volume_id <value>
--attachments <value>

Description

Attach Volume to servers.

State ACTIVE (DEPRECATED)

VersionSupported Until
1.120260331

Parameters

NameTypeDescriptionExample
volume_id
required
stringVolume id92cd16fe8ebc4f73832513a172bf0000
attachments
required
arrayList of server id and type'{"object_id": "83c3c73d457345e3829ee6d5557c0016", "object_type": "BM"}'

Responses

NameDescriptionExample
resultVolume detail

3 - 1.0

scpcli baremetal-blockstorage volume attachment create
--volume_id <value>
--attachments <value>

Description

Attach Volume to servers.

State ACTIVE (DEPRECATED)

VersionSupported Until
1.020251231

Parameters

NameTypeDescriptionExample
volume_id
required
stringVolume id92cd16fe8ebc4f73832513a172bf0000
attachments
required
arrayList of server id and type'{"object_id": "83c3c73d457345e3829ee6d5557c0016", "object_type": "BM"}'

Responses

NameDescriptionExample
resultVolume detail