Home  >  Article  >  Operation and Maintenance  >  How to roll back to a certain stage of the disk state using historical snapshots of the disk

How to roll back to a certain stage of the disk state using historical snapshots of the disk

坏嘻嘻
坏嘻嘻Original
2018-09-21 14:16:103237browse

The content of this article is about how to roll back the historical snapshot of the disk to a certain stage of the disk state. It has certain reference value. Friends in need can refer to it. I hope it will be helpful to you. .

ResetDisk

Description

When calling this interface, you need to pay attention to:

The status of the disk must be In_Use.

The status of the disk-mounted instance must be Stopped.

The specified parameter SnapshotId must be a historical snapshot created by DiskId.

The OperationLocks of the ECS instance controlled by security cannot be marked as "LockReason": "security".

Request parameters

How to roll back to a certain stage of the disk state using historical snapshots of the disk

##Return parameters

are all public return parameters. See Public Parameters

Example

Request Example

https://ecs.aliyuncs.com/?Action=ResetDisk
&DiskId=d-23jbf2v5m
&SnapshotId=s-snapshot1
&<公共请求参数>

Return Example

XML format

<ResetDiskResponse>
    <RequestId>F3CD6886-D8D0-4FEE-B93E-1B73239673DE</RequestId>
</ResetDiskResponse>

JSON format

{
    "RequestId":"F3CD6886-D8D0-4FEE-B93E-1B73239673DE"
}

Error code

The following are error codes unique to this interface. For more error codes, please visit the API Error Center.

How to roll back to a certain stage of the disk state using historical snapshots of the disk

How to roll back to a certain stage of the disk state using historical snapshots of the disk

The above is the detailed content of How to roll back to a certain stage of the disk state using historical snapshots of the disk. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn