Sha256: 853984046bd3131d9f7effe375de237c8d26a7457ba373dcfbd7bf24fad0e911

Contents?: true

Size: 527 Bytes

Versions: 24

Compression:

Stored size: 527 Bytes

Contents

module Fog
  module Compute
    class NewServers
      class Real

        # Reboot a running server
        #
        # ==== Parameters
        # * serverId<~String> - The id of the server to reboot
        #
        def reboot_server(server_id)
          request(
            :expects  => 200,
            :method   => 'GET',
            :parser   => Fog::ToHashDocument.new,
            :path     => 'api/rebootServer',
            :query    => {'serverId' => server_id}
          )
        end

      end
    end
  end
end

Version data entries

24 entries across 24 versions & 6 rubygems

Version Path
ktheory-fog-1.1.2 lib/fog/new_servers/requests/compute/reboot_server.rb
brightbox-cli-0.17.4 lib/brightbox-cli/vendor/fog/lib/fog/new_servers/requests/compute/reboot_server.rb
brightbox-cli-0.17.3 lib/brightbox-cli/vendor/fog/lib/fog/new_servers/requests/compute/reboot_server.rb
brightbox-cli-0.17.2 lib/brightbox-cli/vendor/fog/lib/fog/new_servers/requests/compute/reboot_server.rb
brightbox-cli-0.17.1 lib/brightbox-cli/vendor/fog/lib/fog/new_servers/requests/compute/reboot_server.rb
brightbox-cli-0.17.0 lib/brightbox-cli/vendor/fog/lib/fog/new_servers/requests/compute/reboot_server.rb
fog-1.1.2 lib/fog/new_servers/requests/compute/reboot_server.rb
fog_tractical-1.1.4 lib/fog/new_servers/requests/compute/reboot_server.rb
fog_tractical-1.1.3 lib/fog/new_servers/requests/compute/reboot_server.rb
brightbox-cli-0.16.0 lib/brightbox-cli/vendor/fog/lib/fog/new_servers/requests/compute/reboot_server.rb
fog-1.1.1 lib/fog/new_servers/requests/compute/reboot_server.rb
fog-1.1.0 lib/fog/new_servers/requests/compute/reboot_server.rb
brightbox-cli-0.15.0 lib/brightbox-cli/vendor/fog/lib/fog/new_servers/requests/compute/reboot_server.rb
tag-fog-1.0.1 lib/fog/new_servers/requests/compute/reboot_server.rb
brightbox-cli-0.14.1 lib/brightbox-cli/vendor/fog/lib/fog/new_servers/requests/compute/reboot_server.rb
brightbox-cli-0.14.0 lib/brightbox-cli/vendor/fog/lib/fog/new_servers/requests/compute/reboot_server.rb
fog-1.0.0 lib/fog/new_servers/requests/compute/reboot_server.rb
brightbox-cli-0.13.1 lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/new_servers/reboot_server.rb
brightbox-cli-0.13.0 lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/new_servers/reboot_server.rb
fog-0.11.0 lib/fog/compute/requests/new_servers/reboot_server.rb