Home > Operation and Maintenance > Linux Operation and Maintenance > How to apply an automatic snapshot policy for one or more disks

How to apply an automatic snapshot policy for one or more disks

坏嘻嘻
Release: 2018-09-21 16:10:02
Original
2168 people have browsed it

The content of this article is about how to apply automatic snapshot strategy for one or more disks. It has certain reference value. Friends in need can refer to it. I hope it will be helpful to you.

ApplyAutoSnapshotPolicy

Apply an automatic snapshot policy to one or more disks. When the automatic snapshot policy has been applied to the target disk, calling ApplyAutoSnapshotPolicy can replace the automatic snapshot policy currently applied to the disk.

Description

When calling this interface, you need to note:

Only one automatic snapshot policy can be applied to a disk.

An automatic snapshot policy can be applied to multiple disks.

If there are a large number of automatic snapshot tasks at a certain point in time, there will be a short queue waiting time, about zero to three minutes, so there is no guarantee that the automatic snapshot tasks at that point in time can be carried out at the same time.

Request parameters

How to apply an automatic snapshot policy for one or more disks

##Return parameters

are all public return parameters. See Public Parameters.

Example

Request example

https://ecs.aliyuncs.com/?Action=ApplyAutoSnapshotPolicy
&RegionId=cn-hangzhou
&AutoSnapshotPolicyId=p-233e6ylv0
&DiskIds=["d-233e6ylv0", "d-23vbpbi03", "d-23vasz3ds"]
&<公共请求参数>
Copy after login

Return example

XML format

<ApplyAutoSnapshotPolicyResponse>
    <RequestId>F3CD6886-D8D0-4FEE-B93E-1B73239673DE</RequestId>
</ApplyAutoSnapshotPolicyResponse>
Copy after login

JSON format

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

Error code

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

How to apply an automatic snapshot policy for one or more disks

The above is the detailed content of How to apply an automatic snapshot policy for one or more disks. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template