lib/elb/right_elb_interface.rb
# Remove one or more zones from a load balancer.
# Returns a list of updated availability zones for the load balancer.
#
#  elb.disable_availability_zones_for_load_balancer("test-kd1", "us-east-1c") #=> ["us-east-1a"]
#
Remove one or more zones from a load balancer.
Returns a list of updated availability zones for the load balancer.


Remove one or more zones from a load balancer . Returns a list of updated availability zones for the load balancer .
def disable_availability_zones_for_load_balancer(load_balancer_name, *availability_zones)
      availability_zones.flatten!
      request_hash = amazonize_list("AvailabilityZones.member", availability_zones)
      request_hash.merge!( 'LoadBalancerName' => load_balancer_name )
      link = generate_request("DisableAvailabilityZonesForLoadBalancer", request_hash)
      request_info(link, AvailabilityZonesForLoadBalancerParser.new(:logger => @logger))
    end
def disable_availability_zones_for_load_balancer ( load_balancer_name , * availability_zones ) availability_zones . flatten! request_hash = amazonize_list ( "AvailabilityZones.member" , availability_zones ) request_hash . merge! ( 'LoadBalancerName' => load_balancer_name ) link = generate_request ( "DisableAvailabilityZonesForLoadBalancer" , request_hash ) request_info ( link , AvailabilityZonesForLoadBalancerParser . new ( :logger => @logger ) ) end
Remove one or more zones from a load balancer.
Remove one or more zones from a load balancer .
load_balancer_name
<not_specific>
availability_zones
<not_specific>