Class: Aws::Lightsail::Types::AttachDiskRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::Lightsail::Types::AttachDiskRequest
- Includes:
- Structure
- Defined in:
- 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
-
#disk_name ⇒ String
The unique Lightsail disk name (e.g., ‘my-disk`).
-
#disk_path ⇒ String
The disk path to expose to the instance (e.g., ‘/dev/xvdf`).
-
#instance_name ⇒ String
The name of the Lightsail instance where you want to utilize the storage disk.
Instance Attribute Details
#disk_name ⇒ String
The unique Lightsail disk name (e.g., ‘my-disk`).
65 66 67 68 69 70 |
# File 'lib/aws-sdk-lightsail/types.rb', line 65 class AttachDiskRequest < Struct.new( :disk_name, :instance_name, :disk_path) include Aws::Structure end |
#disk_path ⇒ String
The disk path to expose to the instance (e.g., ‘/dev/xvdf`).
65 66 67 68 69 70 |
# File 'lib/aws-sdk-lightsail/types.rb', line 65 class AttachDiskRequest < Struct.new( :disk_name, :instance_name, :disk_path) include Aws::Structure end |
#instance_name ⇒ String
The name of the Lightsail instance where you want to utilize the storage disk.
65 66 67 68 69 70 |
# File 'lib/aws-sdk-lightsail/types.rb', line 65 class AttachDiskRequest < Struct.new( :disk_name, :instance_name, :disk_path) include Aws::Structure end |