Skip to main content

Create Volume using snapshot

PUT/block_storage/{block_id}/restore/

Path parameters

  • block_idPathstringrequired

    Block ID

Query parameters

Request body

application/json

object
iopsintegerrequired

Input/output operations per second for the block storage.

example3750
namestringrequired

Name of the block storage.

exampleBlock_Storage_191
snapshot_idintegerrequired

ID of the snapshot used for the block storage. 0 indicates no snapshot.

example0
vm_idintegerrequired

ID of the virtual machine to which the block storage is attached.

example100157

Responses

200Successful response indicating that the block storage snapshot restore is in process.
object
codeinteger
example200
dataobject
errorsobject
messagestring
exampleBlock Storage Snapshot Restore in Process.