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)


2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 2584

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)
  include Aws::Structure
end

#created_atTime

The date when the disk snapshot was created.

Returns:

  • (Time)


2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 2584

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


2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 2584

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)
  include Aws::Structure
end

#from_disk_nameString

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

Returns:

  • (String)


2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 2584

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


2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 2584

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


2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 2584

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)
  include Aws::Structure
end

#locationTypes::ResourceLocation

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



2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 2584

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)
  include Aws::Structure
end

#nameString

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

Returns:

  • (String)


2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 2584

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)
  include Aws::Structure
end

#progressString

The progress of the disk snapshot operation.

Returns:

  • (String)


2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 2584

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)
  include Aws::Structure
end

#resource_typeString

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

Returns:

  • (String)


2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 2584

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)
  include Aws::Structure
end

#size_in_gbInteger

The size of the disk in GB.

Returns:

  • (Integer)


2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 2584

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)
  include Aws::Structure
end

#stateString

The status of the disk snapshot operation.

Returns:

  • (String)


2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 2584

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


2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 2584

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



2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 2584

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)
  include Aws::Structure
end