ByCloud Docs
GuidesCLIAPISDK

Create volume

bycloud block-storage volumes create --size <size> [flags]

Create a new block storage volume

Options

--output

(-o)

stringoptional

Output format: text, json, or yaml

Values: "text", "json", "yaml"

Default: "text"

Body Options

--size

integerrequired

Size in GB

--description

stringoptional

--image_id

stringoptional

Create volume from image

--metadata

objectoptional

--multiattach

booleanoptional

Default: false

--name

stringoptional

--snapshot_id

stringoptional

Create volume from snapshot

--source_volid

stringoptional

Clone from existing volume

--volume_type

stringoptional

Volume type name or ID

Command

bycloud block-storage volumes create \
--size 100

Output

Success