Sha256: c4327f84a27783ace10d293beaaddb1b027c7ed34d4b97b38af9994749fc2572

Contents?: true

Size: 748 Bytes

Versions: 41

Compression:

Stored size: 748 Bytes

Contents

module Fog
  module Bluebox
    class BLB
      class Real
        # remove machine from single backend
        #
        # === Parameters
        # * lb_backend_id<~String> - ID of backend
        # * lb_machine_id<~String> - ID of machine
        #
        # ==== Returns
        # * response<~Excon::Response>:
        #   * body<~String> - success or failure message
        def remove_machine_from_lb_backend(lb_backend_id, lb_machine_id)
          request(
            :expects => 200,
            :method  => 'DELETE',
            :path    => "/api/lb_backends/#{lb_backend_id}/lb_machines/#{lb_machine_id}",
            :headers => {"Accept" => "text/plain"},
          )
        end
      end

      class Mock
      end
    end
  end
end

Version data entries

41 entries across 39 versions & 5 rubygems

Version Path
vagrant-packet-0.1.1 vendor/bundle/ruby/2.4.0/gems/fog-1.42.1/lib/fog/bluebox/requests/blb/remove_machine_from_lb_backend.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.3.0/gems/fog-1.42.1/lib/fog/bluebox/requests/blb/remove_machine_from_lb_backend.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.5.0/gems/fog-1.42.1/lib/fog/bluebox/requests/blb/remove_machine_from_lb_backend.rb
fog-1.42.1 lib/fog/bluebox/requests/blb/remove_machine_from_lb_backend.rb
fog-2.0.0 lib/fog/bluebox/requests/blb/remove_machine_from_lb_backend.rb
fog-1.42.0 lib/fog/bluebox/requests/blb/remove_machine_from_lb_backend.rb
fog-1.41.0 lib/fog/bluebox/requests/blb/remove_machine_from_lb_backend.rb
fog-1.40.0 lib/fog/bluebox/requests/blb/remove_machine_from_lb_backend.rb
fog-1.39.0 lib/fog/bluebox/requests/blb/remove_machine_from_lb_backend.rb
fog-1.38.0 lib/fog/bluebox/requests/blb/remove_machine_from_lb_backend.rb
fog-1.37.0 lib/fog/bluebox/requests/blb/remove_machine_from_lb_backend.rb
fog-1.36.0 lib/fog/bluebox/requests/blb/remove_machine_from_lb_backend.rb
fog-1.35.0 lib/fog/bluebox/requests/blb/remove_machine_from_lb_backend.rb
fog-2.0.0.pre.0 lib/fog/bluebox/requests/blb/remove_machine_from_lb_backend.rb
vagrant-cloudstack-1.2.0 vendor/bundle/gems/fog-1.32.0/lib/fog/bluebox/requests/blb/remove_machine_from_lb_backend.rb
fog-1.34.0 lib/fog/bluebox/requests/blb/remove_machine_from_lb_backend.rb
fog-1.33.0 lib/fog/bluebox/requests/blb/remove_machine_from_lb_backend.rb
fog-1.32.0 lib/fog/bluebox/requests/blb/remove_machine_from_lb_backend.rb
fog-1.31.0 lib/fog/bluebox/requests/blb/remove_machine_from_lb_backend.rb
vagrant-cloudstack-1.1.0 vendor/bundle/gems/fog-1.22.1/lib/fog/bluebox/requests/blb/remove_machine_from_lb_backend.rb