You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::Lightsail::Types::DiskSnapshot
- Inherits:
-
Struct
- Object
- Struct
- Aws::Lightsail::Types::DiskSnapshot
- Defined in:
- (unknown)
Overview
Instance Attribute Summary collapse
-
#arn ⇒ String
The Amazon Resource Name (ARN) of the disk snapshot.
-
#created_at ⇒ Time
The date when the disk snapshot was created.
-
#from_disk_arn ⇒ String
The Amazon Resource Name (ARN) of the source disk from which the disk snapshot was created.
-
#from_disk_name ⇒ String
The unique name of the source disk from which the disk snapshot was created.
-
#from_instance_arn ⇒ String
The Amazon Resource Name (ARN) of the source instance from which the disk (system volume) snapshot was created.
-
#from_instance_name ⇒ String
The unique name of the source instance from which the disk (system volume) snapshot was created.
-
#is_from_auto_snapshot ⇒ Boolean
A Boolean value indicating whether the snapshot was created from an automatic snapshot.
-
#location ⇒ Types::ResourceLocation
The AWS Region and Availability Zone where the disk snapshot was created.
-
#name ⇒ String
The name of the disk snapshot (e.g.,
my-disk-snapshot
). -
#progress ⇒ String
The progress of the disk snapshot operation.
-
#resource_type ⇒ String
The Lightsail resource type (e.g.,
DiskSnapshot
). -
#size_in_gb ⇒ Integer
The size of the disk in GB.
-
#state ⇒ String
The status of the disk snapshot operation.
-
#support_code ⇒ String
The support code.
-
#tags ⇒ Array<Types::Tag>
The tag keys and optional values for the resource.
Instance Attribute Details
#arn ⇒ String
The Amazon Resource Name (ARN) of the disk snapshot.
#created_at ⇒ Time
The date when the disk snapshot was created.
#from_disk_arn ⇒ String
The Amazon Resource Name (ARN) of the source disk from which the disk snapshot was created.
#from_disk_name ⇒ String
The unique name of the source disk from which the disk snapshot was created.
#from_instance_arn ⇒ String
The Amazon Resource Name (ARN) of the source instance from which the disk (system volume) snapshot was created.
#from_instance_name ⇒ String
The unique name of the source instance from which the disk (system volume) snapshot was created.
#is_from_auto_snapshot ⇒ Boolean
A Boolean value indicating whether the snapshot was created from an automatic snapshot.
#location ⇒ Types::ResourceLocation
The AWS Region and Availability Zone where the disk snapshot was created.
#name ⇒ String
The name of the disk snapshot (e.g., my-disk-snapshot
).
#progress ⇒ String
The progress of the disk snapshot operation.
#resource_type ⇒ String
The Lightsail resource type (e.g., DiskSnapshot
).
Possible values:
- ContainerService
- Instance
- StaticIp
- KeyPair
- InstanceSnapshot
- Domain
- PeeredVpc
- LoadBalancer
- LoadBalancerTlsCertificate
- Disk
- DiskSnapshot
- RelationalDatabase
- RelationalDatabaseSnapshot
- ExportSnapshotRecord
- CloudFormationStackRecord
- Alarm
- ContactMethod
- Distribution
- Certificate
#size_in_gb ⇒ Integer
The size of the disk in GB.
#state ⇒ String
The status of the disk snapshot operation.
Possible values:
- pending
- completed
- error
- unknown
#support_code ⇒ String
The support code. Include this code in your email to support when you have questions about an instance or another resource in Lightsail. This code enables our support team to look up your Lightsail information more easily.
#tags ⇒ Array<Types::Tag>
The tag keys and optional values for the resource. For more information about tags in Lightsail, see the Lightsail Dev Guide.