def get_elb_details(options = {})
      stack_resources = resources(options)
      elb_resource_ids = get_resource_ids(stack_resources, "AWS::ElasticLoadBalancing::LoadBalancer")
      elb = Fog::AWS::ELB.new(:aws_access_key_id => @access_key_id, :aws_secret_access_key => @secret_access_key, :region => @region)
      elb_details = {}
      elb_resource_ids.each do |key, value|
        elb_instance_details = elb.describe_load_balancers("LoadBalancerNames" => [value])
        elb_details[key] = elb_instance_details.body["DescribeLoadBalancersResult"]["LoadBalancerDescriptions"][0] rescue nil
      end 
      return elb_details
    end
def get_elb_details(options = {})
      stack_resources = resources(options)
      elb_resource_ids = get_resource_ids(stack_resources, "AWS::ElasticLoadBalancing::LoadBalancer")
      elb = Fog::AWS::ELB.new(:aws_access_key_id => @access_key_id, :aws_secret_access_key => @secret_access_key, :region => @region)
      elb_details = {}
      elb_resource_ids.each do |key, value|
        elb_instance_details = elb.describe_load_balancers("LoadBalancerNames" => [value])
        elb_details[key] = elb_instance_details.body["DescribeLoadBalancersResult"]["LoadBalancerDescriptions"][0] rescue nil
      end 
      return elb_details
    end
def get_elb_details ( options = { } ) stack_resources = resources ( options ) elb_resource_ids = get_resource_ids ( stack_resources , "AWS::ElasticLoadBalancing::LoadBalancer" ) elb = Fog :: AWS :: ELB . new ( :aws_access_key_id => @access_key_id , :aws_secret_access_key => @secret_access_key , :region => @region ) elb_details = { } elb_resource_ids . each do | key , value | elb_instance_details = elb . describe_load_balancers ( "LoadBalancerNames" => [ value ] ) elb_details [ key ] = elb_instance_details . body [ "DescribeLoadBalancersResult" ] [ "LoadBalancerDescriptions" ] [ 0 ] rescue nil end return elb_details end
Get details of all Elastic Load Balancers in the stack

 ==== Examples
   cloud = Cloudster::Cloud.new(
    :access_key_id => 'aws_access_key_id',
    :secret_access_key => 'aws_secret_access_key',
    :region => 'us-east-1'
   )
   cloud.get_elb_details(:stack_name => 'ShittyStack')

 ==== Parameters
 * options<~Hash>
   * :stack_name : A string which will contain the name of the stack

 ==== Returns
 * A hash containing elb details where the key is the logical name and value contains the details
Get details of all Elastic Load Balancers in the stack