# File lib/fog/network/openstack/requests/update_lb_health_monitor.rb, line 5 def update_lb_health_monitor(health_monitor_id, options = {}) data = {'health_monitor' => {}} vanilla_options = [:delay, :timeout, :max_retries, :http_method, :url_path, :expected_codes, :admin_state_up] vanilla_options.select { |o| options.key?(o) }.each do |key| data['health_monitor'][key] = options[key] end request( :body => Fog::JSON.encode(data), :expects => 200, :method => 'PUT', :path => "lb/health_monitors/#{health_monitor_id}" ) end