This topic describes how to call the CreateSnapshot operation by using Alibaba Cloud CLI to create a snapshot for a disk.
Background information
You can call the CreateSnapshot operation to create a snapshot for a disk. We recommend that you read the description of the operation before you call the operation. For more information, see CreateSnapshot.
When you call an API operation through Alibaba Cloud CLI, make sure that request parameter values of different data types are in required formats. For more information, see Parameter format overview.
Request examples
Result
{
"RequestId": "DFB0B01F-420D-4932-911E-7328920C2012",
"SnapshotId": "s-bp1eyr9nxxoo9icj****"
}