Skip to main content

ResetDisk

Description

call ResetDisk uses the historical snapshot of the disk to roll back to the disk state at a certain stage.

Request Method

POST

Request Path

/apsara/route/Ecs/ResetDisk

Request Parameters Common Parameters

NameLocationTypeRequiredSample valueDescription
SnapshotIdBODYstringYess-bp1btgnlb4licd41****historical snapshot ID that needs to be restored to a certain disk stage.
regionIdBODYstringYesNo sample value for this parameter.region id
versionBODYstringNo2016-01-01version of api
DiskIdBODYstringYesd-bp198f7xn673w2rw****the specified disk device ID.

Return data

NameTypeSample valueDescription
RequestIDstring1E3D5A1E0-67CA-43DA-24BC-EAF2D5A1E4DCRequest id

Example

Successful Response example

{
"RequestID":"1E3D5A1E0-67CA-43DA-24BC-EAF2D5A1E4DC"
}

Failed Response example

{
"errorSample":
{
"resultCode":-1,
"resultMsg":"system error",
"result":null
}

}