Class: Aws::Lightsail::Types::Disk
- Inherits:
-
Struct
- Object
- Struct
- Aws::Lightsail::Types::Disk
- Defined in:
- gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb
Overview
Describes a block storage disk.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#add_ons ⇒ Array<Types::AddOn>
An array of objects representing the add-ons enabled on the disk.
-
#arn ⇒ String
The Amazon Resource Name (ARN) of the disk.
-
#attached_to ⇒ String
The resources to which the disk is attached.
-
#attachment_state ⇒ String
(Discontinued) The attachment state of the disk.
-
#auto_mount_status ⇒ String
The status of automatically mounting a storage disk to a virtual computer.
-
#created_at ⇒ Time
The date when the disk was created.
-
#gb_in_use ⇒ Integer
(Discontinued) The number of GB in use by the disk.
-
#iops ⇒ Integer
The input/output operations per second (IOPS) of the disk.
-
#is_attached ⇒ Boolean
A Boolean value indicating whether the disk is attached.
-
#is_system_disk ⇒ Boolean
A Boolean value indicating whether this disk is a system disk (has an operating system loaded on it).
-
#location ⇒ Types::ResourceLocation
The AWS Region and Availability Zone where the disk is located.
-
#name ⇒ String
The unique name of the disk.
-
#path ⇒ String
The disk path.
-
#resource_type ⇒ String
The Lightsail resource type (
Disk
). -
#size_in_gb ⇒ Integer
The size of the disk in GB.
-
#state ⇒ String
Describes the status of the disk.
-
#support_code ⇒ String
The support code.
-
#tags ⇒ Array<Types::Tag>
The tag keys and optional values for the resource.
Instance Attribute Details
#add_ons ⇒ Array<Types::AddOn>
An array of objects representing the add-ons enabled on the disk.
5780 5781 5782 5783 5784 5785 5786 5787 5788 5789 5790 5791 5792 5793 5794 5795 5796 5797 5798 5799 5800 5801 |
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 5780 class Disk < Struct.new( :name, :arn, :support_code, :created_at, :location, :resource_type, :tags, :add_ons, :size_in_gb, :is_system_disk, :iops, :path, :state, :attached_to, :is_attached, :attachment_state, :gb_in_use, :auto_mount_status) SENSITIVE = [] include Aws::Structure end |
#arn ⇒ String
The Amazon Resource Name (ARN) of the disk.
5780 5781 5782 5783 5784 5785 5786 5787 5788 5789 5790 5791 5792 5793 5794 5795 5796 5797 5798 5799 5800 5801 |
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 5780 class Disk < Struct.new( :name, :arn, :support_code, :created_at, :location, :resource_type, :tags, :add_ons, :size_in_gb, :is_system_disk, :iops, :path, :state, :attached_to, :is_attached, :attachment_state, :gb_in_use, :auto_mount_status) SENSITIVE = [] include Aws::Structure end |
#attached_to ⇒ String
The resources to which the disk is attached.
5780 5781 5782 5783 5784 5785 5786 5787 5788 5789 5790 5791 5792 5793 5794 5795 5796 5797 5798 5799 5800 5801 |
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 5780 class Disk < Struct.new( :name, :arn, :support_code, :created_at, :location, :resource_type, :tags, :add_ons, :size_in_gb, :is_system_disk, :iops, :path, :state, :attached_to, :is_attached, :attachment_state, :gb_in_use, :auto_mount_status) SENSITIVE = [] include Aws::Structure end |
#attachment_state ⇒ String
(Discontinued) The attachment state of the disk.
attached
for system disks in the API response. It is now
discontinued, but still included in the response. Use isAttached
instead.
5780 5781 5782 5783 5784 5785 5786 5787 5788 5789 5790 5791 5792 5793 5794 5795 5796 5797 5798 5799 5800 5801 |
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 5780 class Disk < Struct.new( :name, :arn, :support_code, :created_at, :location, :resource_type, :tags, :add_ons, :size_in_gb, :is_system_disk, :iops, :path, :state, :attached_to, :is_attached, :attachment_state, :gb_in_use, :auto_mount_status) SENSITIVE = [] include Aws::Structure end |
#auto_mount_status ⇒ String
The status of automatically mounting a storage disk to a virtual computer.
This parameter only applies to Lightsail for Research resources.
5780 5781 5782 5783 5784 5785 5786 5787 5788 5789 5790 5791 5792 5793 5794 5795 5796 5797 5798 5799 5800 5801 |
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 5780 class Disk < Struct.new( :name, :arn, :support_code, :created_at, :location, :resource_type, :tags, :add_ons, :size_in_gb, :is_system_disk, :iops, :path, :state, :attached_to, :is_attached, :attachment_state, :gb_in_use, :auto_mount_status) SENSITIVE = [] include Aws::Structure end |
#created_at ⇒ Time
The date when the disk was created.
5780 5781 5782 5783 5784 5785 5786 5787 5788 5789 5790 5791 5792 5793 5794 5795 5796 5797 5798 5799 5800 5801 |
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 5780 class Disk < Struct.new( :name, :arn, :support_code, :created_at, :location, :resource_type, :tags, :add_ons, :size_in_gb, :is_system_disk, :iops, :path, :state, :attached_to, :is_attached, :attachment_state, :gb_in_use, :auto_mount_status) SENSITIVE = [] include Aws::Structure end |
#gb_in_use ⇒ Integer
(Discontinued) The number of GB in use by the disk.
5780 5781 5782 5783 5784 5785 5786 5787 5788 5789 5790 5791 5792 5793 5794 5795 5796 5797 5798 5799 5800 5801 |
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 5780 class Disk < Struct.new( :name, :arn, :support_code, :created_at, :location, :resource_type, :tags, :add_ons, :size_in_gb, :is_system_disk, :iops, :path, :state, :attached_to, :is_attached, :attachment_state, :gb_in_use, :auto_mount_status) SENSITIVE = [] include Aws::Structure end |
#iops ⇒ Integer
The input/output operations per second (IOPS) of the disk.
5780 5781 5782 5783 5784 5785 5786 5787 5788 5789 5790 5791 5792 5793 5794 5795 5796 5797 5798 5799 5800 5801 |
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 5780 class Disk < Struct.new( :name, :arn, :support_code, :created_at, :location, :resource_type, :tags, :add_ons, :size_in_gb, :is_system_disk, :iops, :path, :state, :attached_to, :is_attached, :attachment_state, :gb_in_use, :auto_mount_status) SENSITIVE = [] include Aws::Structure end |
#is_attached ⇒ Boolean
A Boolean value indicating whether the disk is attached.
5780 5781 5782 5783 5784 5785 5786 5787 5788 5789 5790 5791 5792 5793 5794 5795 5796 5797 5798 5799 5800 5801 |
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 5780 class Disk < Struct.new( :name, :arn, :support_code, :created_at, :location, :resource_type, :tags, :add_ons, :size_in_gb, :is_system_disk, :iops, :path, :state, :attached_to, :is_attached, :attachment_state, :gb_in_use, :auto_mount_status) SENSITIVE = [] include Aws::Structure end |
#is_system_disk ⇒ Boolean
A Boolean value indicating whether this disk is a system disk (has an operating system loaded on it).
5780 5781 5782 5783 5784 5785 5786 5787 5788 5789 5790 5791 5792 5793 5794 5795 5796 5797 5798 5799 5800 5801 |
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 5780 class Disk < Struct.new( :name, :arn, :support_code, :created_at, :location, :resource_type, :tags, :add_ons, :size_in_gb, :is_system_disk, :iops, :path, :state, :attached_to, :is_attached, :attachment_state, :gb_in_use, :auto_mount_status) SENSITIVE = [] include Aws::Structure end |
#location ⇒ Types::ResourceLocation
The AWS Region and Availability Zone where the disk is located.
5780 5781 5782 5783 5784 5785 5786 5787 5788 5789 5790 5791 5792 5793 5794 5795 5796 5797 5798 5799 5800 5801 |
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 5780 class Disk < Struct.new( :name, :arn, :support_code, :created_at, :location, :resource_type, :tags, :add_ons, :size_in_gb, :is_system_disk, :iops, :path, :state, :attached_to, :is_attached, :attachment_state, :gb_in_use, :auto_mount_status) SENSITIVE = [] include Aws::Structure end |
#name ⇒ String
The unique name of the disk.
5780 5781 5782 5783 5784 5785 5786 5787 5788 5789 5790 5791 5792 5793 5794 5795 5796 5797 5798 5799 5800 5801 |
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 5780 class Disk < Struct.new( :name, :arn, :support_code, :created_at, :location, :resource_type, :tags, :add_ons, :size_in_gb, :is_system_disk, :iops, :path, :state, :attached_to, :is_attached, :attachment_state, :gb_in_use, :auto_mount_status) SENSITIVE = [] include Aws::Structure end |
#path ⇒ String
The disk path.
5780 5781 5782 5783 5784 5785 5786 5787 5788 5789 5790 5791 5792 5793 5794 5795 5796 5797 5798 5799 5800 5801 |
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 5780 class Disk < Struct.new( :name, :arn, :support_code, :created_at, :location, :resource_type, :tags, :add_ons, :size_in_gb, :is_system_disk, :iops, :path, :state, :attached_to, :is_attached, :attachment_state, :gb_in_use, :auto_mount_status) SENSITIVE = [] include Aws::Structure end |
#resource_type ⇒ String
The Lightsail resource type (Disk
).
5780 5781 5782 5783 5784 5785 5786 5787 5788 5789 5790 5791 5792 5793 5794 5795 5796 5797 5798 5799 5800 5801 |
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 5780 class Disk < Struct.new( :name, :arn, :support_code, :created_at, :location, :resource_type, :tags, :add_ons, :size_in_gb, :is_system_disk, :iops, :path, :state, :attached_to, :is_attached, :attachment_state, :gb_in_use, :auto_mount_status) SENSITIVE = [] include Aws::Structure end |
#size_in_gb ⇒ Integer
The size of the disk in GB.
5780 5781 5782 5783 5784 5785 5786 5787 5788 5789 5790 5791 5792 5793 5794 5795 5796 5797 5798 5799 5800 5801 |
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 5780 class Disk < Struct.new( :name, :arn, :support_code, :created_at, :location, :resource_type, :tags, :add_ons, :size_in_gb, :is_system_disk, :iops, :path, :state, :attached_to, :is_attached, :attachment_state, :gb_in_use, :auto_mount_status) SENSITIVE = [] include Aws::Structure end |
#state ⇒ String
Describes the status of the disk.
5780 5781 5782 5783 5784 5785 5786 5787 5788 5789 5790 5791 5792 5793 5794 5795 5796 5797 5798 5799 5800 5801 |
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 5780 class Disk < Struct.new( :name, :arn, :support_code, :created_at, :location, :resource_type, :tags, :add_ons, :size_in_gb, :is_system_disk, :iops, :path, :state, :attached_to, :is_attached, :attachment_state, :gb_in_use, :auto_mount_status) SENSITIVE = [] include Aws::Structure end |
#support_code ⇒ String
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.
5780 5781 5782 5783 5784 5785 5786 5787 5788 5789 5790 5791 5792 5793 5794 5795 5796 5797 5798 5799 5800 5801 |
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 5780 class Disk < Struct.new( :name, :arn, :support_code, :created_at, :location, :resource_type, :tags, :add_ons, :size_in_gb, :is_system_disk, :iops, :path, :state, :attached_to, :is_attached, :attachment_state, :gb_in_use, :auto_mount_status) SENSITIVE = [] include Aws::Structure end |
#tags ⇒ Array<Types::Tag>
The tag keys and optional values for the resource. For more information about tags in Lightsail, see the Amazon Lightsail Developer Guide.
5780 5781 5782 5783 5784 5785 5786 5787 5788 5789 5790 5791 5792 5793 5794 5795 5796 5797 5798 5799 5800 5801 |
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 5780 class Disk < Struct.new( :name, :arn, :support_code, :created_at, :location, :resource_type, :tags, :add_ons, :size_in_gb, :is_system_disk, :iops, :path, :state, :attached_to, :is_attached, :attachment_state, :gb_in_use, :auto_mount_status) SENSITIVE = [] include Aws::Structure end |