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

Class: Aws::Lightsail::Types::DiskInfo

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

Overview

Describes a disk.

Instance Attribute Summary collapse

Instance Attribute Details

#is_system_diskBoolean

A Boolean value indicating whether this disk is a system disk (has an operating system loaded on it).

Returns:

  • (Boolean)


2475
2476
2477
2478
2479
2480
2481
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 2475

class DiskInfo < Struct.new(
  :name,
  :path,
  :size_in_gb,
  :is_system_disk)
  include Aws::Structure
end

#nameString

The disk name.

Returns:

  • (String)


2475
2476
2477
2478
2479
2480
2481
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 2475

class DiskInfo < Struct.new(
  :name,
  :path,
  :size_in_gb,
  :is_system_disk)
  include Aws::Structure
end

#pathString

The disk path.

Returns:

  • (String)


2475
2476
2477
2478
2479
2480
2481
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 2475

class DiskInfo < Struct.new(
  :name,
  :path,
  :size_in_gb,
  :is_system_disk)
  include Aws::Structure
end

#size_in_gbInteger

The size of the disk in GB (e.g., 32).

Returns:

  • (Integer)


2475
2476
2477
2478
2479
2480
2481
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 2475

class DiskInfo < Struct.new(
  :name,
  :path,
  :size_in_gb,
  :is_system_disk)
  include Aws::Structure
end