block-storage

Resize a block storage volume

This operation resizes a Block storage volume. Note: the volume can only grow, cannot be shrunk. Only detached volumes or volumes attached to stopped instances can be resized.

put/block-storage/{id}:resize-volume

Request

Path parameters

idstring uuid required

Request body

sizeinteger required

Volume size in GiB

Response

200

labelsLabels
namestring

Volume name

state'snapshotting' | 'deleted' | 'creating' | 'detached' | 'deleting' | 'attaching' | 'error' | 'attached' | 'detaching'

Volume state

sizeinteger

Volume size

blocksizeinteger

Volume block size

idstring uuid

Volume ID

encryptedboolean

Indicates if the block-storage volume is encrypted

created-atstring date-time

Volume creation date

Changes

No recorded changes to this operation across all 1 revision of this API.