ALIYUN::ECS::SnapshotGroup is used to create a snapshot-consistent group for cloud disks that are attached to an Elastic Compute Service (ECS) instance. A snapshot-consistent group contains snapshots of one or more cloud disks.
Syntax
{
"Type": "ALIYUN::ECS::SnapshotGroup",
"Properties": {
"DiskIds": List,
"Description": String,
"ExcludeDiskIds": List,
"InstanceId": String,
"Name": String,
"ResourceGroupId": String,
"Tags": List
}
}
Properties
Property | Type | Required | Editable | Description | Constraint |
DiskIds | List | No | No | The IDs of the cloud disks for which you want to create a snapshot-consistent group. | You can specify the IDs of cloud disks that are attached to multiple instances within the same zone. A snapshot-consistent group can contain up to 16 cloud disks whose total size is less than or equal to 32 TiB. Note
|
Description | String | No | Yes | The description. | The description must be 2 to 256 characters in length, and cannot start with |
ExcludeDiskIds | List | No | No | The IDs of the cloud disks for which you do not want to create snapshots. | After you specify the IDs of cloud disks, the snapshot-consistent group that you create does not contain the snapshots of the specified cloud disks. You can specify up to 16 cloud disk IDs. This property is empty by default, which indicates that snapshots are created for all cloud disks of the instance. Note You cannot specify both this property and |
InstanceId | String | No | No | The instance ID. | None. |
Name | String | No | Yes | The name of the snapshot-consistent group. | The name must be 2 to 128 characters in length. It can contain letters, digits, periods (.), underscores (_), hyphens (-), and colons (:). It must start with a letter and cannot start with |
ResourceGroupId | String | No | No | The ID of the resource group to which the snapshot-consistent group belongs. | None. |
Tags | List | No | Yes | The tags. | You can add up to 20 tags. For more information, see the "Tags properties" section of this topic. |
Tags syntax
"Tags": [
{
"Value": String,
"Key": String
}
]
Tags properties
Property | Type | Required | Editable | Description | Constraint |
Key | String | Yes | No | The tag key. | None. |
Value | String | No | No | The tag value. | None. |
Return values
Fn::GetAtt
SnapshotGroupId: the ID of the snapshot-consistent group.