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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
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)


2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
# File 'lib/aws-sdk-lightsail/types.rb', line 2504

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)


2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
# File 'lib/aws-sdk-lightsail/types.rb', line 2504

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)


2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
# File 'lib/aws-sdk-lightsail/types.rb', line 2504

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)


2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
# File 'lib/aws-sdk-lightsail/types.rb', line 2504

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)


2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
# File 'lib/aws-sdk-lightsail/types.rb', line 2504

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)


2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
# File 'lib/aws-sdk-lightsail/types.rb', line 2504

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.



2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
# File 'lib/aws-sdk-lightsail/types.rb', line 2504

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)


2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
# File 'lib/aws-sdk-lightsail/types.rb', line 2504

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)


2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
# File 'lib/aws-sdk-lightsail/types.rb', line 2504

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)


2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
# File 'lib/aws-sdk-lightsail/types.rb', line 2504

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)


2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
# File 'lib/aws-sdk-lightsail/types.rb', line 2504

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)


2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
# File 'lib/aws-sdk-lightsail/types.rb', line 2504

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)


2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
# File 'lib/aws-sdk-lightsail/types.rb', line 2504

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].

[1]: lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-tags

Returns:



2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
# File 'lib/aws-sdk-lightsail/types.rb', line 2504

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