Class: Chef::Knife::ElbDelete

Inherits:
Chef::Knife show all
Includes:
ElbBase
Defined in:
lib/chef/knife/elb_delete.rb

Instance Method Summary collapse

Methods included from ElbBase

included

Instance Method Details

#runObject



27
28
29
30
31
32
33
# File 'lib/chef/knife/elb_delete.rb', line 27

def run
  validate!

  response = connection.delete_load_balancer(@name_args.first)

  ui.output(Chef::JSONCompat.from_json(response.data[:body].to_json))
end