lib/elb/right_elb_interface.rb
# Remove instance(s) from the load balancer.
# Returns an updated list of instances for the load balancer.
#
#  elb.deregister_instances_with_load_balancer('test-kd1', 'i-8b8bcbe2') #=> ["i-bf8bcbd6"]
#
Remove instance(s) from the load balancer.
Returns an updated list of instances for the load balancer.


Remove instance ( s ) from the load balancer . Returns an updated list of instances for the load balancer .
def deregister_instances_with_load_balancer(load_balancer_name, *instances)
      instances.flatten!
      request_hash = amazonize_list("Instances.member.?.InstanceId", instances)
      request_hash.merge!( 'LoadBalancerName' => load_balancer_name )
      link = generate_request("DeregisterInstancesFromLoadBalancer", request_hash)
      request_info(link, InstancesWithLoadBalancerParser.new(:logger => @logger))
    end
def deregister_instances_with_load_balancer ( load_balancer_name , * instances ) instances . flatten! request_hash = amazonize_list ( "Instances.member.?.InstanceId" , instances ) request_hash . merge! ( 'LoadBalancerName' => load_balancer_name ) link = generate_request ( "DeregisterInstancesFromLoadBalancer" , request_hash ) request_info ( link , InstancesWithLoadBalancerParser . new ( :logger => @logger ) ) end
Remove instance(s) from the load balancer.
Remove instance ( s ) from the load balancer .
load_balancer_name
<not_specific>
instances
<not_specific>