DATASOURCE::ECS::Snapshot is used to query the information about a snapshot.
Syntax
{
"Type": "DATASOURCE::ECS::Snapshot",
"Properties": {
"SnapshotId": String
}
}
Properties
Property | Type | Required | Editable | Description | Constraint |
SnapshotId | String | Yes | Yes | The snapshot ID. | None. |
Return values
Fn::GetAtt
InstantAccess: indicates whether the instant access feature is enabled for the snapshot.
Usage: indicates whether the snapshot is used to create an image or a cloud disk.
Progress: the creation progress of the snapshot.
Description: the description.
ResourceGroupId: the ID of the resource group.
ProductCode: the product code of the Alibaba Cloud Marketplace image.
Encrypted: indicates whether the snapshot is encrypted.
CreateTime: the creation time of the snapshot.
RetentionDays: the retention period of the automatic snapshot.
InstantAccessRetentionDays: the validity period of the instant access feature.
SnapshotName: the snapshot name.
SourceStorageType: the category of the source cloud disk.
SnapshotId: the snapshot ID.
SnapshotSN: the serial number of the snapshot.
SourceDiskSize: the size of the source cloud disk.
SnapshotType: the snapshot type.
SourceDiskType: the type of the source cloud disk.
RemainTime: the remaining period of time required to create the snapshot.
Tags: the tags.
DiskId: the ID of the cloud disk.