mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
5d3785ba70
Updated parser to handle both new and "legacy" beanstalk stacks. Updated Environment#load_balancer to return correct result for both stack types.
37 lines
1.2 KiB
Ruby
37 lines
1.2 KiB
Ruby
module Fog
|
|
module Parsers
|
|
module AWS
|
|
module ElasticBeanstalk
|
|
|
|
require 'fog/aws/parsers/beanstalk/parser'
|
|
class DescribeEnvironmentResources < Fog::Parsers::AWS::ElasticBeanstalk::BaseParser
|
|
|
|
def initialize
|
|
super("DescribeEnvironmentResourcesResult")
|
|
tag 'EnvironmentResources', :object
|
|
tag 'AutoScalingGroups', :object, :list
|
|
tag 'Name', :string
|
|
tag 'EnvironmentName', :string
|
|
tag 'Instances', :object, :list
|
|
tag 'Id', :string
|
|
tag 'LaunchConfigurations', :object, :list
|
|
tag 'LoadBalancers', :object, :list
|
|
tag 'Resources', :object, :list
|
|
tag 'Description', :string
|
|
tag 'LogicalResourceId', :string
|
|
tag 'PhysicalResourceId', :string
|
|
tag 'Type', :string
|
|
tag 'Properties', :object, :list
|
|
tag 'RuntimeSources', :object, :list
|
|
tag 'Parameter', :string
|
|
tag 'Versions', :object, :list
|
|
tag 'ApplicationName', :string
|
|
tag 'VersionLabel', :string
|
|
tag 'Triggers', :object, :list
|
|
end
|
|
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end
|