Last updated:2022-09-05 10:13:06
You can call this operation to roll back an EBS volume from an existing snapshot. Before you roll back an EBS volume from an existing snapshot, make sure that the snapshot is in the available state and the EBS volume is in the in-use or available state. If the EBS volume is in the in-use state, the KEC instance to which it is attached must be in the stopped state. If you roll back an EBS volume from a common snapshot that is being created, the EBS volume becomes abnormal.
Parameter | Type | Required | Description |
---|---|---|---|
VolumeId | String | Yes | The ID of the EBS volume. The ID must be 36 characters in length and can contain letters, digits, and hyphens (-). |
SnapshotId | String | Yes | The ID of the snapshot. |
Version | String | Yes | The API version. Valid value: 2016-03-04. |
Parameter | Type | Required | Description |
---|---|---|---|
RequestId | String | Yes | The request ID, which is unique. A request ID is returned for each request. |
Return | Boolean | No | Indicates whether the EBS volume is rolled back. True indicates yes. |
Request parameters
http://ebs.api.ksyun.com/
?Action=RollbackSnapshot
&Version=2016-03-04
&VolumeId=fcfd019-f08c-453d-997b-52913ab88ad3
&SnapshotId=4cf5f560-6698-4796-b391-9d751e4d27cb
Response parameters
"RequestId": "6e2682a1-5968-42f5-80e5-284aae218df0",
"SnapshotId": true
Did you find the above information helpful?
Please give us your feedback.
Thank you for your feedback.