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)


3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
3621
3622
3623
3624
3625
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 3608

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

#created_atTime

The date when the disk snapshot was created.

Returns:

  • (Time)


3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
3621
3622
3623
3624
3625
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 3608

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

#from_disk_arnString

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

Returns:

  • (String)


3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
3621
3622
3623
3624
3625
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 3608

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

#from_disk_nameString

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

Returns:

  • (String)


3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
3621
3622
3623
3624
3625
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 3608

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

#from_instance_arnString

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

Returns:

  • (String)


3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
3621
3622
3623
3624
3625
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 3608

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

#from_instance_nameString

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

Returns:

  • (String)


3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
3621
3622
3623
3624
3625
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 3608

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

#is_from_auto_snapshotBoolean

A Boolean value indicating whether the snapshot was created from an automatic snapshot.

Returns:

  • (Boolean)


3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
3621
3622
3623
3624
3625
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 3608

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

#locationTypes::ResourceLocation

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



3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
3621
3622
3623
3624
3625
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 3608

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

#nameString

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

Returns:

  • (String)


3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
3621
3622
3623
3624
3625
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 3608

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

#progressString

The progress of the disk snapshot operation.

Returns:

  • (String)


3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
3621
3622
3623
3624
3625
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 3608

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

#resource_typeString

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

Returns:

  • (String)


3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
3621
3622
3623
3624
3625
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 3608

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

#size_in_gbInteger

The size of the disk in GB.

Returns:

  • (Integer)


3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
3621
3622
3623
3624
3625
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 3608

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

#stateString

The status of the disk snapshot operation.

Returns:

  • (String)


3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
3621
3622
3623
3624
3625
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 3608

class DiskSnapshot < Struct.new(
  :name,
  :arn,
  :support_code,
  :created_at,
  :location,
  :resource_type,
  :tags,
  :size_in_gb,
  :state,
  :progress,
  :from_disk_name,
  :from_disk_arn,
  :from_instance_name,
  :from_instance_arn,
  :is_from_auto_snapshot)
  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)


3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
3621
3622
3623
3624
3625
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 3608

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

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



3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
3621
3622
3623
3624
3625
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 3608

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