Sha256: 9a6e73b6eb954f9fffc938effefef1b302108e7a151fc7b31ac0542470846a4e

Contents?: true

Size: 1.33 KB

Versions: 37

Compression:

Stored size: 1.33 KB

Contents

module Fog
  module AWS
    class DNS
      class Real
        require 'fog/aws/parsers/dns/health_check'

        # This action gets information about a specified health check.
        #http://docs.aws.amazon.com/Route53/latest/APIReference/API_GetHealthCheck.html
        #
        # ==== Parameters
        # * id<~String> - The ID of the health check
        #
        # ==== Returns
        # * response<~Excon::Response>:
        #   * body<~Hash>:
        #     * 'HealthCheck'<~Hash>:
        #       * 'Id'<~String> -
        #       * 'CallerReference'<~String>
        #       * 'HealthCheckConfig'<~Hash>:
        #         * 'IPAddress'<~String> -
        #         * 'Port'<~String> -
        #         * 'Type'<~String> -
        #         * 'ResourcePath'<~String> -
        #         * 'FullyQualifiedDomainName'<~String> -
        #         * 'SearchString'<~String> -
        #         * 'RequestInterval'<~Integer> -
        #         * 'FailureThreshold'<~String> -
        #       * 'HealthCheckVersion'<~Integer> -
        #   * status<~Integer> - 200 when successful
        def get_health_check(id)
          request({
            :expects => 200,
            :parser  => Fog::Parsers::AWS::DNS::HealthCheck.new,
            :method  => 'GET',
            :path    => "healthcheck/#{id}"
          })
        end
      end
    end
  end
end

Version data entries

37 entries across 37 versions & 1 rubygems

Version Path
fog-aws-3.30.0 lib/fog/aws/requests/dns/get_health_check.rb
fog-aws-3.29.0 lib/fog/aws/requests/dns/get_health_check.rb
fog-aws-3.28.0 lib/fog/aws/requests/dns/get_health_check.rb
fog-aws-3.27.0 lib/fog/aws/requests/dns/get_health_check.rb
fog-aws-3.26.0 lib/fog/aws/requests/dns/get_health_check.rb
fog-aws-3.25.0 lib/fog/aws/requests/dns/get_health_check.rb
fog-aws-3.24.0 lib/fog/aws/requests/dns/get_health_check.rb
fog-aws-3.23.0 lib/fog/aws/requests/dns/get_health_check.rb
fog-aws-3.22.0 lib/fog/aws/requests/dns/get_health_check.rb
fog-aws-3.21.1 lib/fog/aws/requests/dns/get_health_check.rb
fog-aws-3.21.0 lib/fog/aws/requests/dns/get_health_check.rb
fog-aws-3.20.0 lib/fog/aws/requests/dns/get_health_check.rb
fog-aws-3.19.0 lib/fog/aws/requests/dns/get_health_check.rb
fog-aws-3.18.0 lib/fog/aws/requests/dns/get_health_check.rb
fog-aws-3.17.0 lib/fog/aws/requests/dns/get_health_check.rb
fog-aws-3.16.0 lib/fog/aws/requests/dns/get_health_check.rb
fog-aws-3.15.0 lib/fog/aws/requests/dns/get_health_check.rb
fog-aws-3.14.0 lib/fog/aws/requests/dns/get_health_check.rb
fog-aws-3.13.0 lib/fog/aws/requests/dns/get_health_check.rb
fog-aws-3.12.0 lib/fog/aws/requests/dns/get_health_check.rb