# 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
# File lib/fog/storm_on_demand/models/compute/server.rb, line 35 def destroy requires :identity service.delete_server(:uniq_id => identity) true end
# 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
# File lib/fog/storm_on_demand/models/compute/server.rb, line 41 def ready? active == 1 end
# 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
# 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
# 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
# File lib/fog/storm_on_demand/models/compute/server.rb, line 75 def start reqwuires :identity service.start_server({:uniq_id => identity}).body end
Generated with the Darkfish Rdoc Generator 2.