Sha256: 424929e7c89706363ce4067473492371de860dcf872b0bd436598f7dddf76132

Contents?: true

Size: 1.14 KB

Versions: 59

Compression:

Stored size: 1.14 KB

Contents

module Fog
  module Bluebox
    class BLB
      class Real
        # Get details of an lb_machine.
        #
        # ==== Parameters
        # * lb_backend_id<~String> - backend machine belongs to
        # * lb_machine_id<~String> - machine to look up
        #
        # ==== Returns
        # * response<~Excon::Response>:
        #   * body<~Hash>:
        #     * id<~String> - machine ID
        #     * ip<~String> - machine IP address for this member (v4 or v6) 
        #     * port<~Integer> - service port for this member
        #     * hostname<~String> - name as registered with Box Panel
        #     * acl_name<~String> - name of ACL for this machine
        #     * created<~DateTime> - when machine was added to load balancer backend
        #     * maxconn<~Integer> - maximum concurrent connections for this member (BLBv2 only)
        def get_lb_machine(lb_backend_id, lb_machine_id)
          request(
            :expects  => 200,
            :method   => 'GET',
            :path     => "api/lb_backends/#{lb_backend_id}/lb_machines/#{lb_machine_id}.json"
          )
        end
      end

      class Mock
      end

    end
  end
end

Version data entries

59 entries across 59 versions & 6 rubygems

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