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 56
def clone(options)
  requires :identity
  service.clone_server({:uniq_id => identity}.merge!(options))
  true
end
create(options) click to toggle source
# File lib/fog/storm_on_demand/models/compute/server.rb, line 35
def create(options)
  data = service.create_server(options).body['servers']
  load(data)
end
destroy() click to toggle source
# File lib/fog/storm_on_demand/models/compute/server.rb, line 40
def destroy
  requires :identity
  service.delete_server(:uniq_id => identity)
  true
end
ready?() click to toggle source
# File lib/fog/storm_on_demand/models/compute/server.rb, line 46
def ready?
  active == 1
end
reboot() click to toggle source
# File lib/fog/storm_on_demand/models/compute/server.rb, line 50
def reboot
  requires :identity
  service.reboot_server(:uniq_id => identity)
  true
end
resize(options) click to toggle source
# File lib/fog/storm_on_demand/models/compute/server.rb, line 61
def resize(options)
  requires :identity
  service.resize_server({:uniq_id => identity}.merge!(options))
  true
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.