Class/Module Index [+]

Quicksearch

Fog::Compute::StormOnDemand::Server

Attributes

password[W]

Public Class Methods

new(attributes={}) click to toggle source
# File lib/fog/storm_on_demand/models/compute/server.rb, line 31
def initialize(attributes={})
  super
end

Public Instance Methods

clone(options) click to toggle source
# File lib/fog/storm_on_demand/models/compute/server.rb, line 51
def clone(options)
  requires :identity
  service.clone_server({:uniq_id => identity}.merge!(options))
  true
end
destroy() click to toggle source
# File lib/fog/storm_on_demand/models/compute/server.rb, line 35
def destroy
  requires :identity
  service.delete_server(:uniq_id => identity)
  true
end
history(options={}) click to toggle source
# File lib/fog/storm_on_demand/models/compute/server.rb, line 63
def history(options={})
  requires :identity
  params = {:uniq_id => identity}.merge!(options)
  res = service.server_history(params).body
  res['items']
end
ready?() click to toggle source
# File lib/fog/storm_on_demand/models/compute/server.rb, line 41
def ready?
  active == 1
end
reboot(options={}) click to toggle source
# File lib/fog/storm_on_demand/models/compute/server.rb, line 45
def reboot(options={})
  requires :identity
  service.reboot_server({:uniq_id => identity}.merge!(options))
  true
end
resize(options) click to toggle source
# File lib/fog/storm_on_demand/models/compute/server.rb, line 57
def resize(options)
  requires :identity
  service.resize_server({:uniq_id => identity}.merge!(options))
  true
end
shutdown(options={}) click to toggle source
# File lib/fog/storm_on_demand/models/compute/server.rb, line 70
def shutdown(options={})
  requires :identity
  service.shutdown_server({:uniq_id => identity}.merge!(options)).body
end
start() click to toggle source
# File lib/fog/storm_on_demand/models/compute/server.rb, line 75
def start
  reqwuires :identity
  service.start_server({:uniq_id => identity}).body
end
status() click to toggle source
# File lib/fog/storm_on_demand/models/compute/server.rb, line 80
def status
  requires :identity
  service.server_status({:uniq_id => identity}).body
end
update(options) click to toggle source
# File lib/fog/storm_on_demand/models/compute/server.rb, line 85
def update(options)
  requires :identity
  service.update_server({:uniq_id => identity}.merge!(options)).body
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.