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

Class: Aws::Lightsail::Types::DiskMap

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

Overview

Note:

When making an API call, you may pass DiskMap data as a hash:

{
  original_disk_path: "NonEmptyString",
  new_disk_name: "ResourceName",
}

Describes a block storage disk mapping.

Instance Attribute Summary collapse

Instance Attribute Details

#new_disk_nameString

The new disk name (e.g., my-new-disk).

Returns:

  • (String)


1525
1526
1527
1528
1529
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 1525

class DiskMap < Struct.new(
  :original_disk_path,
  :new_disk_name)
  include Aws::Structure
end

#original_disk_pathString

The original disk path exposed to the instance (for example, /dev/sdh).

Returns:

  • (String)


1525
1526
1527
1528
1529
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 1525

class DiskMap < Struct.new(
  :original_disk_path,
  :new_disk_name)
  include Aws::Structure
end