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

Class: Aws::Lightsail::Types::InstanceSnapshot

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

Overview

Describes the snapshot of the virtual private server, or instance.

Instance Attribute Summary collapse

Instance Attribute Details

#arnString

The Amazon Resource Name (ARN) of the snapshot (e.g., arn:aws:lightsail:us-east-2:123456789101:InstanceSnapshot/d23b5706-3322-4d83-81e5-12345EXAMPLE).

Returns:

  • (String)


5535
5536
5537
5538
5539
5540
5541
5542
5543
5544
5545
5546
5547
5548
5549
5550
5551
5552
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 5535

class InstanceSnapshot < Struct.new(
  :name,
  :arn,
  :support_code,
  :created_at,
  :location,
  :resource_type,
  :tags,
  :state,
  :progress,
  :from_attached_disks,
  :from_instance_name,
  :from_instance_arn,
  :from_blueprint_id,
  :from_bundle_id,
  :size_in_gb)
  include Aws::Structure
end

#created_atTime

The timestamp when the snapshot was created (e.g., 1479907467.024).

Returns:

  • (Time)


5535
5536
5537
5538
5539
5540
5541
5542
5543
5544
5545
5546
5547
5548
5549
5550
5551
5552
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 5535

class InstanceSnapshot < Struct.new(
  :name,
  :arn,
  :support_code,
  :created_at,
  :location,
  :resource_type,
  :tags,
  :state,
  :progress,
  :from_attached_disks,
  :from_instance_name,
  :from_instance_arn,
  :from_blueprint_id,
  :from_bundle_id,
  :size_in_gb)
  include Aws::Structure
end

#from_attached_disksArray<Types::Disk>

An array of disk objects containing information about all block storage disks.

Returns:



5535
5536
5537
5538
5539
5540
5541
5542
5543
5544
5545
5546
5547
5548
5549
5550
5551
5552
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 5535

class InstanceSnapshot < Struct.new(
  :name,
  :arn,
  :support_code,
  :created_at,
  :location,
  :resource_type,
  :tags,
  :state,
  :progress,
  :from_attached_disks,
  :from_instance_name,
  :from_instance_arn,
  :from_blueprint_id,
  :from_bundle_id,
  :size_in_gb)
  include Aws::Structure
end

#from_blueprint_idString

The blueprint ID from which you created the snapshot (e.g., os_debian_8_3). A blueprint is a virtual private server (or instance) image used to create instances quickly.

Returns:

  • (String)


5535
5536
5537
5538
5539
5540
5541
5542
5543
5544
5545
5546
5547
5548
5549
5550
5551
5552
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 5535

class InstanceSnapshot < Struct.new(
  :name,
  :arn,
  :support_code,
  :created_at,
  :location,
  :resource_type,
  :tags,
  :state,
  :progress,
  :from_attached_disks,
  :from_instance_name,
  :from_instance_arn,
  :from_blueprint_id,
  :from_bundle_id,
  :size_in_gb)
  include Aws::Structure
end

#from_bundle_idString

The bundle ID from which you created the snapshot (e.g., micro_1_0).

Returns:

  • (String)


5535
5536
5537
5538
5539
5540
5541
5542
5543
5544
5545
5546
5547
5548
5549
5550
5551
5552
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 5535

class InstanceSnapshot < Struct.new(
  :name,
  :arn,
  :support_code,
  :created_at,
  :location,
  :resource_type,
  :tags,
  :state,
  :progress,
  :from_attached_disks,
  :from_instance_name,
  :from_instance_arn,
  :from_blueprint_id,
  :from_bundle_id,
  :size_in_gb)
  include Aws::Structure
end

#from_instance_arnString

The Amazon Resource Name (ARN) of the instance from which the snapshot was created (e.g., arn:aws:lightsail:us-east-2:123456789101:Instance/64b8404c-ccb1-430b-8daf-12345EXAMPLE).

Returns:

  • (String)


5535
5536
5537
5538
5539
5540
5541
5542
5543
5544
5545
5546
5547
5548
5549
5550
5551
5552
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 5535

class InstanceSnapshot < Struct.new(
  :name,
  :arn,
  :support_code,
  :created_at,
  :location,
  :resource_type,
  :tags,
  :state,
  :progress,
  :from_attached_disks,
  :from_instance_name,
  :from_instance_arn,
  :from_blueprint_id,
  :from_bundle_id,
  :size_in_gb)
  include Aws::Structure
end

#from_instance_nameString

The instance from which the snapshot was created.

Returns:

  • (String)


5535
5536
5537
5538
5539
5540
5541
5542
5543
5544
5545
5546
5547
5548
5549
5550
5551
5552
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 5535

class InstanceSnapshot < Struct.new(
  :name,
  :arn,
  :support_code,
  :created_at,
  :location,
  :resource_type,
  :tags,
  :state,
  :progress,
  :from_attached_disks,
  :from_instance_name,
  :from_instance_arn,
  :from_blueprint_id,
  :from_bundle_id,
  :size_in_gb)
  include Aws::Structure
end

#locationTypes::ResourceLocation

The region name and Availability Zone where you created the snapshot.



5535
5536
5537
5538
5539
5540
5541
5542
5543
5544
5545
5546
5547
5548
5549
5550
5551
5552
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 5535

class InstanceSnapshot < Struct.new(
  :name,
  :arn,
  :support_code,
  :created_at,
  :location,
  :resource_type,
  :tags,
  :state,
  :progress,
  :from_attached_disks,
  :from_instance_name,
  :from_instance_arn,
  :from_blueprint_id,
  :from_bundle_id,
  :size_in_gb)
  include Aws::Structure
end

#nameString

The name of the snapshot.

Returns:

  • (String)


5535
5536
5537
5538
5539
5540
5541
5542
5543
5544
5545
5546
5547
5548
5549
5550
5551
5552
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 5535

class InstanceSnapshot < Struct.new(
  :name,
  :arn,
  :support_code,
  :created_at,
  :location,
  :resource_type,
  :tags,
  :state,
  :progress,
  :from_attached_disks,
  :from_instance_name,
  :from_instance_arn,
  :from_blueprint_id,
  :from_bundle_id,
  :size_in_gb)
  include Aws::Structure
end

#progressString

The progress of the snapshot.

Returns:

  • (String)


5535
5536
5537
5538
5539
5540
5541
5542
5543
5544
5545
5546
5547
5548
5549
5550
5551
5552
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 5535

class InstanceSnapshot < Struct.new(
  :name,
  :arn,
  :support_code,
  :created_at,
  :location,
  :resource_type,
  :tags,
  :state,
  :progress,
  :from_attached_disks,
  :from_instance_name,
  :from_instance_arn,
  :from_blueprint_id,
  :from_bundle_id,
  :size_in_gb)
  include Aws::Structure
end

#resource_typeString

The type of resource (usually InstanceSnapshot).

Returns:

  • (String)


5535
5536
5537
5538
5539
5540
5541
5542
5543
5544
5545
5546
5547
5548
5549
5550
5551
5552
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 5535

class InstanceSnapshot < Struct.new(
  :name,
  :arn,
  :support_code,
  :created_at,
  :location,
  :resource_type,
  :tags,
  :state,
  :progress,
  :from_attached_disks,
  :from_instance_name,
  :from_instance_arn,
  :from_blueprint_id,
  :from_bundle_id,
  :size_in_gb)
  include Aws::Structure
end

#size_in_gbInteger

The size in GB of the SSD.

Returns:

  • (Integer)


5535
5536
5537
5538
5539
5540
5541
5542
5543
5544
5545
5546
5547
5548
5549
5550
5551
5552
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 5535

class InstanceSnapshot < Struct.new(
  :name,
  :arn,
  :support_code,
  :created_at,
  :location,
  :resource_type,
  :tags,
  :state,
  :progress,
  :from_attached_disks,
  :from_instance_name,
  :from_instance_arn,
  :from_blueprint_id,
  :from_bundle_id,
  :size_in_gb)
  include Aws::Structure
end

#stateString

The state the snapshot is in.

Returns:

  • (String)


5535
5536
5537
5538
5539
5540
5541
5542
5543
5544
5545
5546
5547
5548
5549
5550
5551
5552
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 5535

class InstanceSnapshot < Struct.new(
  :name,
  :arn,
  :support_code,
  :created_at,
  :location,
  :resource_type,
  :tags,
  :state,
  :progress,
  :from_attached_disks,
  :from_instance_name,
  :from_instance_arn,
  :from_blueprint_id,
  :from_bundle_id,
  :size_in_gb)
  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)


5535
5536
5537
5538
5539
5540
5541
5542
5543
5544
5545
5546
5547
5548
5549
5550
5551
5552
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 5535

class InstanceSnapshot < Struct.new(
  :name,
  :arn,
  :support_code,
  :created_at,
  :location,
  :resource_type,
  :tags,
  :state,
  :progress,
  :from_attached_disks,
  :from_instance_name,
  :from_instance_arn,
  :from_blueprint_id,
  :from_bundle_id,
  :size_in_gb)
  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:



5535
5536
5537
5538
5539
5540
5541
5542
5543
5544
5545
5546
5547
5548
5549
5550
5551
5552
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 5535

class InstanceSnapshot < Struct.new(
  :name,
  :arn,
  :support_code,
  :created_at,
  :location,
  :resource_type,
  :tags,
  :state,
  :progress,
  :from_attached_disks,
  :from_instance_name,
  :from_instance_arn,
  :from_blueprint_id,
  :from_bundle_id,
  :size_in_gb)
  include Aws::Structure
end