A storage device is a block device similar to a physical hard disk. It can be used to install an operating system or hold some other filesystem for a server.
Storages can be freely attached to any server within the same zone and under the same account. A maximum of 16 storage devices can be attached to a server at the same time; however, the combined limit for network interfaces and storage devices is 24.
Storage types
There are four different storage types: disk, cdrom, template and backup.
List storages
Returns a list of storage devices. Supports filtering by type, access level, and labels, as well as sorting and pagination
query Parameters
typeFilter by storage type
Storage type filter
accessFilter by access level (public or private)
Storage access level filter
label^!?[^=]+=.*$Filter by labels. Can be specified multiple times.
Label filter in format key=value or !key=value for negation
sort_bySort results by the specified field
Field to sort storage results by
order_bySort order (ascending or descending). Only valid when sort_by is also specified.
Sort order for storage results
limitMaximum number of storages to return per page
Maximum number of items to return. Default is 25.
offsetNumber of storages to skip before starting to return results
Number of items to skip before starting to return results. Default is 0.
allow_hiddenInclude hidden storages in the response
Whether to include hidden storages in the response
favoriteFilter storages by favorite status
Filter storages by favorite status
metadataWhether to include metadata in the response
Whether to include metadata in the response
serversWhether to include server information in the response
Whether to include server information in the response
List storages › Responses
A list of storages
Get storage details
Get storage details
path Parameters
uuid^[0-9a-f]{8}-[0-9a-f… · requiredStorage UUID
Universally unique identifier
Get storage details › Responses
Storage details
Modify storage
Modify storage
path Parameters
uuid^[0-9a-f]{8}-[0-9a-f… · requiredStorage UUID
Universally unique identifier
Modify storage › Responses
Delete storage
Delete storage
path Parameters
uuid^[0-9a-f]{8}-[0-9a-f… · requiredStorage UUID
Universally unique identifier
query Parameters
backupsPolicy for handling backups when deleting a storage. Allowed values: keep, delete, keep_latest
Delete storage › Responses
Storage deleted
Add storage component
Add storage component
path Parameters
uuid^[0-9a-f]{8}-[0-9a-f… · requiredStorage UUID
Universally unique identifier
Add storage component › Request Body
Add storage component › Responses
Storage component added
Attach storage to server
Attach storage to server
path Parameters
uuid^[0-9a-f]{8}-[0-9a-f… · requiredStorage UUID
Universally unique identifier
Attach storage to server › Request Body
Attach storage to server › Responses
Storage attached to server
Create on-demand backup
Create on-demand backup
path Parameters
uuid^[0-9a-f]{8}-[0-9a-f… · requiredStorage UUID
Universally unique identifier
Create on-demand backup › Request Body
intervalretentiontimeCreate on-demand backup › Responses
Cancel storage operation
Cancel storage operation
path Parameters
uuid^[0-9a-f]{8}-[0-9a-f… · requiredStorage UUID
Universally unique identifier
Cancel storage operation › Responses
Storage operation cancelled
Clone storage
Clone storage
path Parameters
uuid^[0-9a-f]{8}-[0-9a-f… · requiredStorage UUID
Universally unique identifier
Clone storage › Responses
Detach storage from server
Detach storage from server
path Parameters
uuid^[0-9a-f]{8}-[0-9a-f… · requiredStorage UUID
Universally unique identifier
Detach storage from server › Responses
Storage detached from server
Add storage to favorites
Add storage to favorites
path Parameters
uuid^[0-9a-f]{8}-[0-9a-f… · requiredStorage UUID
Universally unique identifier
Add storage to favorites › Responses
Storage added to favorites
Remove storage from favorites
Remove storage from favorites
path Parameters
uuid^[0-9a-f]{8}-[0-9a-f… · requiredStorage UUID
Universally unique identifier
Remove storage from favorites › Responses
Storage removed from favorites
Resize storage
Resize storage
path Parameters
uuid^[0-9a-f]{8}-[0-9a-f… · requiredStorage UUID
Universally unique identifier
Resize storage › Responses
Restore storage from backup
Restore storage from backup
path Parameters
uuid^[0-9a-f]{8}-[0-9a-f… · requiredStorage UUID
Universally unique identifier
Restore storage from backup › Responses
Storage restore started
Create template from storage
Create template from storage
path Parameters
uuid^[0-9a-f]{8}-[0-9a-f… · requiredStorage UUID
Universally unique identifier
Create template from storage › Request Body
Create template from storage › Responses
Update public template from source
Update public template from source
path Parameters
uuid^[0-9a-f]{8}-[0-9a-f… · requiredStorage UUID
Universally unique identifier
Update public template from source › Request Body
Update public template from source › Responses
Template update started