Class: Chef::Knife::ElbHealthCheck
- Inherits:
-
Chef::Knife
- Object
- Chef::Knife
- Chef::Knife::ElbHealthCheck
- Includes:
- ElbBase
- Defined in:
- lib/chef/knife/elb_health_check.rb
Constant Summary collapse
- PROTOCOLS =
%w(HTTP HTTPS TCP SSL)
Instance Method Summary collapse
Methods included from ElbBase
Instance Method Details
#run ⇒ Object
58 59 60 61 62 63 64 |
# File 'lib/chef/knife/elb_health_check.rb', line 58 def run validate! response = connection.configure_health_check(@name_args.first, build_health_check(config)) ui.output(Chef::JSONCompat.from_json(response.data[:body].to_json)) end |