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.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#new_disk_nameString

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

Returns:

  • (String)


3626
3627
3628
3629
3630
3631
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 3626

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

#original_disk_pathString

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

Returns:

  • (String)


3626
3627
3628
3629
3630
3631
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 3626

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