Sha256: 7ae430bf623c38fc3d73f6e65d859105ef63bdbd60b457aabf423919f01befd3
Contents?: true
Size: 633 Bytes
Versions: 98
Compression:
Stored size: 633 Bytes
Contents
module Fog module Compute class GoGrid class Real # Start, Stop or Restart a server # # ==== Parameters # * 'server'<~String> - id or name of server to power # * 'power'<~String> - power operation, in ['restart', 'start', 'stop'] # # ==== Returns # * response<~Excon::Response>: # * body<~Array>: # TODO: docs def grid_server_power(server, power) request( :path => 'grid/server/power', :query => {'server' => server, 'power' => power} ) end end end end end
Version data entries
98 entries across 98 versions & 17 rubygems