Sha256: 1f0b26046545db3926aa1f67f243c2f2d700be97d393cb5883c6f2997d6c818a

Contents?: true

Size: 1.39 KB

Versions: 8

Compression:

Stored size: 1.39 KB

Contents

module Fog
  module AWS
    class Compute
      class Real

        require 'fog/compute/parsers/aws/describe_reserved_instances_offerings'

        # Describe all or specified reserved instances offerings
        #
        # ==== Parameters
        # * filters<~Hash> - List of filters to limit results with
        #
        # ==== Returns
        # * response<~Excon::Response>:
        #   * body<~Hash>:
        #     * 'requestId'<~String> - Id of request
        #     * 'reservedInstancesOfferingsSet'<~Array>:
        #       * 'availabilityZone'<~String> - availability zone of offering
        #       * 'duration'<~Integer> - duration, in seconds, of offering
        #       * 'fixedPrice'<~Float> - purchase price of offering
        #       * 'instanceType'<~String> - instance type of offering
        #       * 'productDescription'<~String> - description of offering
        #       * 'reservedInstancesOfferingId'<~String> - id of offering
        #       * 'usagePrice'<~Float> - usage price of offering, per hour
        def describe_reserved_instances_offerings(filters = {})
          params = AWS.indexed_filters(filters)
          request({
            'Action'    => 'DescribeReservedInstancesOfferings',
            :idempotent => true,
            :parser     => Fog::Parsers::AWS::Compute::DescribeReservedInstancesOfferings.new
          }.merge!(params))
        end

      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
fog-0.8.1 lib/fog/compute/requests/aws/describe_reserved_instances_offerings.rb
fog-0.8.0 lib/fog/compute/requests/aws/describe_reserved_instances_offerings.rb
fog-0.7.2 lib/fog/compute/requests/aws/describe_reserved_instances_offerings.rb
fog-0.7.1 lib/fog/compute/requests/aws/describe_reserved_instances_offerings.rb
fog-0.7.0 lib/fog/compute/requests/aws/describe_reserved_instances_offerings.rb
fog-0.6.0 lib/fog/compute/requests/aws/describe_reserved_instances_offerings.rb
fog-0.5.3 lib/fog/compute/requests/aws/describe_reserved_instances_offerings.rb
fog-0.5.2 lib/fog/compute/requests/aws/describe_reserved_instances_offerings.rb