Sha256: 6f814b048d5951b7ac56ea361ecb29604533bcb1c6e87537cdaf53022eb2e430

Contents?: true

Size: 1.21 KB

Versions: 61

Compression:

Stored size: 1.21 KB

Contents

module Fog
  module Bluebox
    class BLB
      class Real
        # Get details of a lb_service.
        #
        # ==== Parameters
        # * lb_application_id<~String> - ID of application the service belongs to
        # * lb_service_id<~String> - ID of service to look up
        #
        # ==== Returns
        # * response<~Excon::Response>:
        #   * body<~Hash>:
        #     * name<~String> - service name
        #     * port<~Integer> - port of load balanced service
        #     * private<~Boolean> - whether service is only available internally
        #     * status_username<~String> - HTTP basic auth username
        #     * status_password<~String> - HTTP basic auth password
        #     * status_url<~String> - URL of stats page
        #     * service_type<~String> - proto being load balanced (e.g. 'http', 'tcp')
        #     * created<~DateTime> - when service was created
        def get_lb_service(lb_application_id, lb_service_id)
          request(
            :expects  => 200,
            :method   => 'GET',
            :path     => "api/lb_applications/#{lb_application_id}/lb_services/#{lb_service_id}.json",
          )
        end
      end

      class Mock
      end

    end
  end
end

Version data entries

61 entries across 61 versions & 6 rubygems

Version Path
fog-1.22.0 lib/fog/bluebox/requests/blb/get_lb_service.rb
fog-1.21.0 lib/fog/bluebox/requests/blb/get_lb_service.rb
fog-maestrodev-1.20.0.20140305101839 lib/fog/bluebox/requests/blb/get_lb_service.rb
fog-maestrodev-1.20.0.20140305101305 lib/fog/bluebox/requests/blb/get_lb_service.rb
fog-maestrodev-1.19.0.20140212012611 lib/fog/bluebox/requests/blb/get_lb_service.rb
fog-1.20.0 lib/fog/bluebox/requests/blb/get_lb_service.rb
fog-maestrodev-1.19.0.20140110004459 lib/fog/bluebox/requests/blb/get_lb_service.rb
fog-maestrodev-1.19.0.20140110003812 lib/fog/bluebox/requests/blb/get_lb_service.rb
fog-maestrodev-1.19.0.20140109202555 lib/fog/bluebox/requests/blb/get_lb_service.rb
fog-maestrodev-1.19.0.20140107192102 lib/fog/bluebox/requests/blb/get_lb_service.rb
fog-maestrodev-1.19.0.20140107142106 lib/fog/bluebox/requests/blb/get_lb_service.rb
fog-maestrodev-1.19.0.20131219203941 lib/fog/bluebox/requests/blb/get_lb_service.rb
fog-maestrodev-1.18.0.20131219193542 lib/fog/bluebox/requests/blb/get_lb_service.rb
fog-1.19.0 lib/fog/bluebox/requests/blb/get_lb_service.rb
fog-maestrodev-1.18.0.20131219033443 lib/fog/bluebox/requests/blb/get_lb_service.rb
fog-maestrodev-1.18.0.20131219032002 lib/fog/bluebox/requests/blb/get_lb_service.rb
fog-maestrodev-1.18.0.20131219030716 lib/fog/bluebox/requests/blb/get_lb_service.rb
fog-maestrodev-1.18.0.20131219022322 lib/fog/bluebox/requests/blb/get_lb_service.rb
fog-maestrodev-1.18.0.20131218202447 lib/fog/bluebox/requests/blb/get_lb_service.rb
fog-maestrodev-1.18.0.20131209091424 lib/fog/bluebox/requests/blb/get_lb_service.rb