Sha256: a5a1be7ecaddbdc285b6b95d5c52dd0e9ac01793b68a8353cac35fe12b09f2b4

Contents?: true

Size: 820 Bytes

Versions: 33

Compression:

Stored size: 820 Bytes

Contents

module AWS
  module EC2
    class Base < AWS::Base

      # The DescribeAvailabilityZones operation describes availability zones that are currently
      # available to the account and their states.
      #
      # An optional list of zone names can be passed.
      #
      # @option options [optional, String] :zone_name ([]) an Array of zone names
      #
      def describe_availability_zones( options = {} )
        options = { :zone_name => [] }.merge(options)
        params = pathlist("ZoneName", options[:zone_name] )
        return response_generator(:action => "DescribeAvailabilityZones", :params => params)
      end

      # Not yet implemented
      #
      # @todo Implement this method
      #
      def describe_regions( options = {} )
        raise "Not yet implemented"
      end

    end
  end
end

Version data entries

33 entries across 33 versions & 3 rubygems

Version Path
amazon-ec2-0.9.17 lib/AWS/EC2/availability_zones.rb
amazon-ec2-0.9.15 lib/AWS/EC2/availability_zones.rb
amazon-ec2-0.9.14 lib/AWS/EC2/availability_zones.rb
amazon-ec2-0.9.13 lib/AWS/EC2/availability_zones.rb
amazon-ec2-0.9.12 lib/AWS/EC2/availability_zones.rb
amazon-ec2-0.9.11 lib/AWS/EC2/availability_zones.rb
amazon-ec2-0.9.10 lib/AWS/EC2/availability_zones.rb
poolparty-1.6.6 vendor/gems/amazon-ec2/lib/AWS/EC2/availability_zones.rb
amazon-ec2-0.9.9 lib/AWS/EC2/availability_zones.rb
poolparty-1.6.5 vendor/gems/amazon-ec2/lib/AWS/EC2/availability_zones.rb
poolparty-1.6.4 vendor/gems/amazon-ec2/lib/AWS/EC2/availability_zones.rb
amazon-ec2-0.9.8 lib/AWS/EC2/availability_zones.rb
amazon-ec2-0.9.7 lib/AWS/EC2/availability_zones.rb
poolparty-1.6.3 vendor/gems/amazon-ec2/lib/AWS/EC2/availability_zones.rb
poolparty-1.6.2 vendor/gems/amazon-ec2/lib/AWS/EC2/availability_zones.rb
amazon-ec2-0.9.6 lib/AWS/EC2/availability_zones.rb
amazon-ec2-0.9.5 lib/AWS/EC2/availability_zones.rb
poolparty-1.6.1 vendor/gems/amazon-ec2/lib/AWS/EC2/availability_zones.rb
poolparty-1.6.0 vendor/gems/amazon-ec2/lib/AWS/EC2/availability_zones.rb
poolparty-1.5.0 vendor/gems/amazon-ec2/lib/AWS/EC2/availability_zones.rb