Sha256: c9e9bef384c86a45752ec61ff52ba25189642540bc21288e4fe1c3ae3602d67d

Contents?: true

Size: 1.33 KB

Versions: 49

Compression:

Stored size: 1.33 KB

Contents

module Fog
  module DNS
    class AWS
      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::DNS::AWS::HealthCheck.new,
            :method  => 'GET',
            :path    => "healthcheck/#{id}"
          })
        end
      end
    end
  end
end

Version data entries

49 entries across 47 versions & 5 rubygems

Version Path
fog-aws-3.1.0 lib/fog/aws/requests/dns/get_health_check.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.4.0/gems/fog-aws-2.0.1/lib/fog/aws/requests/dns/get_health_check.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.3.0/gems/fog-aws-2.0.1/lib/fog/aws/requests/dns/get_health_check.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.5.0/gems/fog-aws-2.0.1/lib/fog/aws/requests/dns/get_health_check.rb
fog-aws-3.0.0 lib/fog/aws/requests/dns/get_health_check.rb
fog-aws-2.0.1 lib/fog/aws/requests/dns/get_health_check.rb
fog-aws-2.0.0 lib/fog/aws/requests/dns/get_health_check.rb
fog-aws-1.4.1 lib/fog/aws/requests/dns/get_health_check.rb
fog-aws-1.4.0 lib/fog/aws/requests/dns/get_health_check.rb
fog-aws-1.3.0 lib/fog/aws/requests/dns/get_health_check.rb
fog-aws-1.2.1 lib/fog/aws/requests/dns/get_health_check.rb
fog-aws-1.2.0 lib/fog/aws/requests/dns/get_health_check.rb
fog-aws-1.1.0 lib/fog/aws/requests/dns/get_health_check.rb
fog-aws-1.0.0 lib/fog/aws/requests/dns/get_health_check.rb
fog-aws-0.13.0 lib/fog/aws/requests/dns/get_health_check.rb
fog-aws-0.12.0 lib/fog/aws/requests/dns/get_health_check.rb
fog-aws-0.11.0 lib/fog/aws/requests/dns/get_health_check.rb
fog-aws-0.10.0 lib/fog/aws/requests/dns/get_health_check.rb
fog-aws-0.9.4 lib/fog/aws/requests/dns/get_health_check.rb
fog-aws-0.9.3 lib/fog/aws/requests/dns/get_health_check.rb