Class: Aws::Lightsail::Types::DeleteDiskRequest

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

{
  disk_name: "ResourceName", # required
  force_delete_add_ons: false,
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#disk_nameString

The unique name of the disk you want to delete (e.g., my-disk).

Returns:

  • (String)


3631
3632
3633
3634
3635
3636
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 3631

class DeleteDiskRequest < Struct.new(
  :disk_name,
  :force_delete_add_ons)
  SENSITIVE = []
  include Aws::Structure
end

#force_delete_add_onsBoolean

A Boolean value to indicate whether to delete the enabled add-ons for the disk.

Returns:

  • (Boolean)


3631
3632
3633
3634
3635
3636
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 3631

class DeleteDiskRequest < Struct.new(
  :disk_name,
  :force_delete_add_ons)
  SENSITIVE = []
  include Aws::Structure
end