In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-04 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
This article is about how to create a snapshot of an ECS disk when calling this interface. 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.
CreateSnapshot
Create a snapshot of an ECS disk.
Description
When calling this interface, you need to be aware of:
A single disk can create up to 64 snapshots.
A disk-mounted instance must be in a stopped (Stopped) or running (Running) state, or a snapshot cannot be created.
The disk must already be mounted to the instance, otherwise a snapshot cannot be created.
Disk-mounted instances never start out of date and cannot create snapshots.
The OperationLocks of a security-controlled ECS instance cannot be marked "LockReason": "security".
Create a new CVM ECS (RunInstances), replace the system disk (ReplaceSystemDisk), or add a new data disk (CreateDisk) based on the snapshot. The snapshot cannot be created because the data loading has not been completed. A snapshot can be created about 1 hour after creating a new CVM ECS or replacing the system disk. The time to create a snapshot depends on the size of the disk data.
If you have not finished creating a snapshot, you cannot create a snapshot of the disk again.
If the snapshot creation is not complete, the snapshot cannot be used to create a custom mirror (CreateImage).
Request parameter
Return parameters
Example
Request example
Https://ecs.aliyuncs.com/?Action=CreateSnapshot&DiskId=1033-60053321&
Return the example
XML format
C8B26B44-0189-443E-9816-D951F59623A9 s-923FE2BF0
JSON format
{"RequestId": "C8B26B44-0189-443E-9816-D951F59623A9", "SnapshotId": "s-923FE2BF0"}
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 way to create a snapshot of an ECS disk when calling this API. I hope the above content will be helpful to you so that you can learn more. If you think the article is good, you can share it and let more people see it.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.