1.2

1.2

scpcli virtualserver volume revert
--volume_id <value>
--snapshot_id <value>

Description

Revert a volume to its latest snapshot, this API only support reverting a detached volume, and the volume status must be available.

State ACTIVE (CURRENT)

VersionNot Before
1.2-

Parameters

NameTypeDescriptionExample
volume_id
required
stringVolume ID3f500f00-ed80-4566-a057-e31760226f9a
snapshot_id
required
stringSnapshot IDcceed636-1f1e-4bb0-b85c-4e5b9e0bf790

Responses

NameDescriptionExample