Sha256: 9ba25508d99516dee31b8eab61770f56d0613a5030f58c97cba7e763b60b0f4b

Contents?: true

Size: 1.13 KB

Versions: 39

Compression:

Stored size: 1.13 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

39 entries across 37 versions & 5 rubygems

Version Path
fog-1.30.0 lib/fog/bluebox/requests/blb/get_lb_machine.rb
fog-1.29.0 lib/fog/bluebox/requests/blb/get_lb_machine.rb
fog-1.28.0 lib/fog/bluebox/requests/blb/get_lb_machine.rb
fog-1.27.0 lib/fog/bluebox/requests/blb/get_lb_machine.rb
fog-1.26.0 lib/fog/bluebox/requests/blb/get_lb_machine.rb
fog-1.25.0 lib/fog/bluebox/requests/blb/get_lb_machine.rb
nsidc-fog-1.24.1 lib/fog/bluebox/requests/blb/get_lb_machine.rb
fog-1.24.0 lib/fog/bluebox/requests/blb/get_lb_machine.rb
ns-fog-1.22.11 lib/fog/bluebox/requests/blb/get_lb_machine.rb
ns-fog-1.22.10 lib/fog/bluebox/requests/blb/get_lb_machine.rb
ns-fog-1.22.9 lib/fog/bluebox/requests/blb/get_lb_machine.rb
ns-fog-1.22.8 lib/fog/bluebox/requests/blb/get_lb_machine.rb
ns-fog-1.22.7 lib/fog/bluebox/requests/blb/get_lb_machine.rb
ns-fog-1.22.6 lib/fog/bluebox/requests/blb/get_lb_machine.rb
fog-1.23.0 lib/fog/bluebox/requests/blb/get_lb_machine.rb
ns-fog-1.22.4 lib/fog/bluebox/requests/blb/get_lb_machine.rb
ns-fog-1.22.3 lib/fog/bluebox/requests/blb/get_lb_machine.rb
ns-fog-1.22.2 lib/fog/bluebox/requests/blb/get_lb_machine.rb
fog-1.22.1 lib/fog/bluebox/requests/blb/get_lb_machine.rb