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
show all
Defined in:
(unknown)

Overview

Describes a block storage disk snapshot.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#arnString

The Amazon Resource Name (ARN) of the disk snapshot.

Returns:

  • (String)

    The Amazon Resource Name (ARN) of the disk snapshot.

#created_atTime

The date when the disk snapshot was created.

Returns:

  • (Time)

    The date when the disk snapshot was created.

#from_disk_arnString

The Amazon Resource Name (ARN) of the source disk from which the disk snapshot was created.

Returns:

  • (String)

    The Amazon Resource Name (ARN) of the source disk from which the disk snapshot was created.

#from_disk_nameString

The unique name of the source disk from which the disk snapshot was created.

Returns:

  • (String)

    The unique name of the source disk from which the disk snapshot was created.

#from_instance_arnString

The Amazon Resource Name (ARN) of the source instance from which the disk (system volume) snapshot was created.

Returns:

  • (String)

    The Amazon Resource Name (ARN) of the source instance from which the disk (system volume) snapshot was created.

#from_instance_nameString

The unique name of the source instance from which the disk (system volume) snapshot was created.

Returns:

  • (String)

    The unique name of the source instance from which the disk (system volume) snapshot was created.

#locationTypes::ResourceLocation

The AWS Region and Availability Zone where the disk snapshot was created.

Returns:

#nameString

The name of the disk snapshot (e.g., my-disk-snapshot).

Returns:

  • (String)

    The name of the disk snapshot (e.g., my-disk-snapshot).

#progressString

The progress of the disk snapshot operation.

Returns:

  • (String)

    The progress of the disk snapshot operation.

#resource_typeString

The Lightsail resource type (e.g., DiskSnapshot).

Possible values:

  • Instance
  • StaticIp
  • KeyPair
  • InstanceSnapshot
  • Domain
  • PeeredVpc
  • LoadBalancer
  • LoadBalancerTlsCertificate
  • Disk
  • DiskSnapshot
  • RelationalDatabase
  • RelationalDatabaseSnapshot
  • ExportSnapshotRecord
  • CloudFormationStackRecord

Returns:

  • (String)

    The Lightsail resource type (e.g., DiskSnapshot).

#size_in_gbInteger

The size of the disk in GB.

Returns:

  • (Integer)

    The size of the disk in GB.

#stateString

The status of the disk snapshot operation.

Possible values:

  • pending
  • completed
  • error
  • unknown

Returns:

  • (String)

    The status of the disk snapshot operation.

#support_codeString

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.

Returns:

  • (String)

    The support code.

#tagsArray<Types::Tag>

The tag keys and optional values for the resource. For more information about tags in Lightsail, see the Lightsail Dev Guide.

Returns:

  • (Array<Types::Tag>)

    The tag keys and optional values for the resource.