Method: Fog::OpenStack::Network::LbHealthMonitor#create

Defined in:
lib/fog/openstack/network/models/lb_health_monitor.rb

#createObject



20
21
22
23
24
25
26
27
28
# File 'lib/fog/openstack/network/models/lb_health_monitor.rb', line 20

def create
  requires :type, :delay, :timeout, :max_retries
  merge_attributes(service.create_lb_health_monitor(type,
                                                    delay,
                                                    timeout,
                                                    max_retries,
                                                    attributes).body['health_monitor'])
  self
end