Creates a snapshot for a specified disk.
Description
Creates a snapshot for a specified disk.
Syntax
Action: ACS::ECS::CreateSnapshot
Properties:
regionId: String
diskId: String
snapshotName: String
retentionDays: String
Attributes
|
Attribute |
Description |
Type |
Required |
Default value |
Limit |
|
regionId |
The region ID. |
String |
No |
{{ ACS::RegionId }} |
|
|
diskId |
The disk ID. |
String |
Yes |
Maximum length: 30 characters Minimum length: 1 character |
|
|
snapshotName |
The snapshot name. |
String |
No |
"" |
|
|
retentionDays |
The retention period of the snapshot. Valid values: 1 to 65536. Unit: day. |
String |
No |
"" |
|
|
tags |
The tags of the snapshot. |
Json |
No |
[] |
Output
|
Output item |
Description |
Type |
|
snapshotId |
String |
References
For more information, see ACS::ECS::CreateSnapshot.yml on GitHub.
该文章对您有帮助吗?