Description
Creates a snapshot for a disk.
Syntax
Action: ACS::ECS::CreateSnapshot
Properties:
regionId: String
diskId: String
snapshotName: String
retentionDays: StringAttributes
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 at GitHub.