# File lib/fog/network/openstack/requests/associate_lb_health_monitor.rb, line 22 def associate_lb_health_monitor(pool_id, health_monitor_id) response = Excon::Response.new if pool = list_lb_pools.body['pools'].find { |_| _['id'] == pool_id } pool['health_monitors'] << health_monitor_id data[:lb_pools][pool_id] = pool response.body = {'health_monitor' => {}} response.status = 200 response else raise Fog::Network::OpenStack::NotFound end end