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

Class: Aws::Lightsail::Types::AttachDiskRequest

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 AttachDiskRequest data as a hash:

{
  disk_name: "ResourceName", # required
  instance_name: "ResourceName", # required
  disk_path: "NonEmptyString", # required
}

Instance Attribute Summary collapse

Instance Attribute Details

#disk_nameString

The unique Lightsail disk name (e.g., my-disk).

Returns:

  • (String)


65
66
67
68
69
70
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 65

class AttachDiskRequest < Struct.new(
  :disk_name,
  :instance_name,
  :disk_path)
  include Aws::Structure
end

#disk_pathString

The disk path to expose to the instance (e.g., /dev/xvdf).

Returns:

  • (String)


65
66
67
68
69
70
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 65

class AttachDiskRequest < Struct.new(
  :disk_name,
  :instance_name,
  :disk_path)
  include Aws::Structure
end

#instance_nameString

The name of the Lightsail instance where you want to utilize the storage disk.

Returns:

  • (String)


65
66
67
68
69
70
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 65

class AttachDiskRequest < Struct.new(
  :disk_name,
  :instance_name,
  :disk_path)
  include Aws::Structure
end