Fog::Model
# File lib/fog/openstack/models/network/lb_pool.rb, line 63 def associate_health_monitor(health_monitor_id) requires :id service.associate_lb_health_monitor(self.id, health_monitor_id) true end
# File lib/fog/openstack/models/network/lb_pool.rb, line 35 def create requires :subnet_id, :protocol, :lb_method merge_attributes(service.create_lb_pool(self.subnet_id, self.protocol, self.lb_method, self.attributes).body['pool']) self end
# File lib/fog/openstack/models/network/lb_pool.rb, line 51 def destroy requires :id service.delete_lb_pool(self.id) true end
# File lib/fog/openstack/models/network/lb_pool.rb, line 69 def disassociate_health_monitor(health_monitor_id) requires :id service.disassociate_lb_health_monitor(self.id, health_monitor_id) true end
# File lib/fog/openstack/models/network/lb_pool.rb, line 30 def save requires :subnet_id, :protocol, :lb_method identity ? update : create end
Generated with the Darkfish Rdoc Generator 2.