Get the App
SLTechnology News&Howtos  ›  Servers  › 

The method of applying automatic snapshot policy to one or more disks

Shulou Source: shulou.com Published: 2022-06-02 04:25:30 11月12日 Update

This article is about how to apply an automatic snapshot policy to one or more disks. The editor thought it was very practical, so I shared it with you as a reference. Let's follow the editor and have a look.

ApplyAutoSnapshotPolicy

Apply an automatic snapshot policy for one or more disks. When the automatic snapshot policy has been applied to the target disk, call ApplyAutoSnapshotPolicy to change the automatic snapshot policy currently applied to the disk.

Description

When calling this interface, you need to be aware of:

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 of about zero to three minutes, so there is no guarantee that the automatic snapshot tasks at that point can be carried out at the same time.

Request parameter

Return parameters

All are common return parameters. See common parameters.

Example

Request example

Https://ecs.aliyuncs.com/?Action=ApplyAutoSnapshotPolicy&RegionId=cn-hangzhou&AutoSnapshotPolicyId=p-233e6ylv0&DiskIds=["d-233e6ylv0", "d-23vbpbi03", "d-23vasz3ds"] &

Return the example

XML format

F3CD6886-D8D0-4FEE-B93E-1B73239673DE

JSON format

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

Error code

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

Thank you for reading! This is the end of the method of applying automatic snapshot strategy to one or more disks. I hope the above content can be helpful to you so that you can learn more knowledge. If you think the article is good, you can share it and let more people see it.

Tags: Snapshots disks policies applications parameters errors more examples methods tasks content interfaces time format good practical at the same time articles goals see Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno macOS MariaDB vpn OPPO Reno Shulou Information