You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::Lightsail::Types::DiskSnapshot

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb

Overview

Describes a block storage disk snapshot.

Instance Attribute Summary collapse

Instance Attribute Details

#arnString

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

Returns:

  • (String)


1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 1585

class DiskSnapshot < Struct.new(
  :name,
  :arn,
  :support_code,
  :created_at,
  :location,
  :resource_type,
  :size_in_gb,
  :state,
  :progress,
  :from_disk_name,
  :from_disk_arn)
  include Aws::Structure
end

#created_atTime

The date when the disk snapshot was created.

Returns:

  • (Time)


1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 1585

class DiskSnapshot < Struct.new(
  :name,
  :arn,
  :support_code,
  :created_at,
  :location,
  :resource_type,
  :size_in_gb,
  :state,
  :progress,
  :from_disk_name,
  :from_disk_arn)
  include Aws::Structure
end

#from_disk_arnString

The Amazon Resource Name (ARN) of the source disk from which you are creating the disk snapshot.

Returns:

  • (String)


1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 1585

class DiskSnapshot < Struct.new(
  :name,
  :arn,
  :support_code,
  :created_at,
  :location,
  :resource_type,
  :size_in_gb,
  :state,
  :progress,
  :from_disk_name,
  :from_disk_arn)
  include Aws::Structure
end

#from_disk_nameString

The unique name of the source disk from which you are creating the disk snapshot.

Returns:

  • (String)


1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 1585

class DiskSnapshot < Struct.new(
  :name,
  :arn,
  :support_code,
  :created_at,
  :location,
  :resource_type,
  :size_in_gb,
  :state,
  :progress,
  :from_disk_name,
  :from_disk_arn)
  include Aws::Structure
end

#locationTypes::ResourceLocation

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



1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 1585

class DiskSnapshot < Struct.new(
  :name,
  :arn,
  :support_code,
  :created_at,
  :location,
  :resource_type,
  :size_in_gb,
  :state,
  :progress,
  :from_disk_name,
  :from_disk_arn)
  include Aws::Structure
end

#nameString

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

Returns:

  • (String)


1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 1585

class DiskSnapshot < Struct.new(
  :name,
  :arn,
  :support_code,
  :created_at,
  :location,
  :resource_type,
  :size_in_gb,
  :state,
  :progress,
  :from_disk_name,
  :from_disk_arn)
  include Aws::Structure
end

#progressString

The progress of the disk snapshot operation.

Returns:

  • (String)


1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 1585

class DiskSnapshot < Struct.new(
  :name,
  :arn,
  :support_code,
  :created_at,
  :location,
  :resource_type,
  :size_in_gb,
  :state,
  :progress,
  :from_disk_name,
  :from_disk_arn)
  include Aws::Structure
end

#resource_typeString

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

Returns:

  • (String)


1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 1585

class DiskSnapshot < Struct.new(
  :name,
  :arn,
  :support_code,
  :created_at,
  :location,
  :resource_type,
  :size_in_gb,
  :state,
  :progress,
  :from_disk_name,
  :from_disk_arn)
  include Aws::Structure
end

#size_in_gbInteger

The size of the disk in GB.

Returns:

  • (Integer)


1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 1585

class DiskSnapshot < Struct.new(
  :name,
  :arn,
  :support_code,
  :created_at,
  :location,
  :resource_type,
  :size_in_gb,
  :state,
  :progress,
  :from_disk_name,
  :from_disk_arn)
  include Aws::Structure
end

#stateString

The status of the disk snapshot operation.

Returns:

  • (String)


1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 1585

class DiskSnapshot < Struct.new(
  :name,
  :arn,
  :support_code,
  :created_at,
  :location,
  :resource_type,
  :size_in_gb,
  :state,
  :progress,
  :from_disk_name,
  :from_disk_arn)
  include Aws::Structure
end

#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)


1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 1585

class DiskSnapshot < Struct.new(
  :name,
  :arn,
  :support_code,
  :created_at,
  :location,
  :resource_type,
  :size_in_gb,
  :state,
  :progress,
  :from_disk_name,
  :from_disk_arn)
  include Aws::Structure
end