class Fog::Compute::StormOnDemand::Real

Public Instance Methods

clone_server(options = {}) click to toggle source
# File lib/fog/storm_on_demand/requests/compute/clone_server.rb, line 6
def clone_server(options = {})
  request(
    :path     => "/Storm/Server/clone",
    :body     => Fog::JSON.encode({:params => options})
  )
end
create_image(options={}) click to toggle source
# File lib/fog/storm_on_demand/requests/compute/create_image.rb, line 6
def create_image(options={})
  request(
    :path => '/Storm/Image/create',
    :body => Fog::JSON.encode(:params => options)
  )
end
create_server(options = {}) click to toggle source
# File lib/fog/storm_on_demand/requests/compute/create_server.rb, line 6
def create_server(options = {})
  request(
    :path     => "/Storm/Server/create",
    :body     => Fog::JSON.encode({:params => options})
  )
end
current_notifications(options={}) click to toggle source
# File lib/fog/storm_on_demand/requests/compute/current_notifications.rb, line 6
def current_notifications(options={})
  request(
    :path => '/Notifications/current',
    :body => Fog::JSON.encode(:params => options)
  )
end
delete_image(options={}) click to toggle source
# File lib/fog/storm_on_demand/requests/compute/delete_image.rb, line 6
def delete_image(options={})
  request(
    :path => '/Storm/Image/delete',
    :body => Fog::JSON.encode(:params => options)
  )
end
delete_server(options = {}) click to toggle source
# File lib/fog/storm_on_demand/requests/compute/delete_server.rb, line 6
def delete_server(options = {})
  request(
    :path     => "/Storm/Server/destroy",
    :body     => Fog::JSON.encode({:params => options})
  )
end
get_config_details(options={}) click to toggle source
# File lib/fog/storm_on_demand/requests/compute/get_config_details.rb, line 6
def get_config_details(options={})
  request(
    :path => '/Storm/Config/details',
    :body => Fog::JSON.encode({ :params => options })
  )
end
get_image_details(options={}) click to toggle source
# File lib/fog/storm_on_demand/requests/compute/get_image_details.rb, line 6
def get_image_details(options={})
  request(
    :path => '/Storm/Image/details',
    :body => Fog::JSON.encode(:params => options)
  )
end
get_notification(options={}) click to toggle source
# File lib/fog/storm_on_demand/requests/compute/get_notification.rb, line 6
def get_notification(options={})
  request(
    :path => '/Notifications/details',
    :body => Fog::JSON.encode(:params => options)
  )
end
get_product(options={}) click to toggle source
# File lib/fog/storm_on_demand/requests/compute/get_product.rb, line 6
def get_product(options={})
  request(
    :path => '/Product/details',
    :body => Fog::JSON.encode(:params => options)
  )
end
get_product_code(options={}) click to toggle source
# File lib/fog/storm_on_demand/requests/compute/get_product_code.rb, line 6
def get_product_code(options={})
  request(
    :path => '/Product/getProductCodeFromPath',
    :body => Fog::JSON.encode(:params => options)
  )
end
get_product_price(options={}) click to toggle source
# File lib/fog/storm_on_demand/requests/compute/get_product_price.rb, line 6
def get_product_price(options={})
  request(
    :path => '/Product/price',
    :body => Fog::JSON.encode(:params => options)
  )
end
get_product_starting_price(options={}) click to toggle source
# File lib/fog/storm_on_demand/requests/compute/get_product_starting_price.rb, line 6
def get_product_starting_price(options={})
  request(
    :path => '/Product/startingPrice',
    :body => Fog::JSON.encode(:params => options)
  )
end
get_server(options = {}) click to toggle source
# File lib/fog/storm_on_demand/requests/compute/get_server.rb, line 6
def get_server(options = {})
  request(
    :path     => "/Storm/Server/details",
    :body     => Fog::JSON.encode({:params => options})
  )
end
get_template_details(options={}) click to toggle source
# File lib/fog/storm_on_demand/requests/compute/get_template_details.rb, line 6
def get_template_details(options={})
  request(
    :path => '/Storm/Template/details',
    :body => Fog::JSON.encode(:params => options)
  )
end
list_configs(options = {}) click to toggle source
# File lib/fog/storm_on_demand/requests/compute/list_configs.rb, line 6
def list_configs(options = {})
  request(
    :path     => "/storm/config/list",
    :body     => Fog::JSON.encode(:params => options)
  )
end
list_images(options = {}) click to toggle source
# File lib/fog/storm_on_demand/requests/compute/list_images.rb, line 6
def list_images(options = {})
  request(
    :path     => "/Storm/Image/list",
    :body     => Fog::JSON.encode(:params => options)
  )
end
list_notifications(options={}) click to toggle source
# File lib/fog/storm_on_demand/requests/compute/list_notifications.rb, line 6
def list_notifications(options={})
  request(
    :path => '/Notifications/all',
    :body => Fog::JSON.encode(:params => options)
  )
end
list_products(options={}) click to toggle source
# File lib/fog/storm_on_demand/requests/compute/list_products.rb, line 6
def list_products(options={})
  request(
    :path => '/Product/list',
    :body => Fog::JSON.encode(:params => options)
  )
end
list_servers(options = {}) click to toggle source
# File lib/fog/storm_on_demand/requests/compute/list_servers.rb, line 6
def list_servers(options = {})
  request(
    :path     => "/Storm/Server/list",
    :body     => Fog::JSON.encode(:params => options)
  )
end
list_templates(options = {}) click to toggle source
# File lib/fog/storm_on_demand/requests/compute/list_templates.rb, line 6
def list_templates(options = {})
  request(
    :path     => "/Storm/Template/list",
    :body     => Fog::JSON.encode(:params => options)
  )
end
reboot_server(options = {}) click to toggle source
# File lib/fog/storm_on_demand/requests/compute/reboot_server.rb, line 6
def reboot_server(options = {})
  request(
    :path     => "/Storm/Server/reboot",
    :body     => Fog::JSON.encode({:params => options})
  )
end
resize_server(options = {}) click to toggle source
# File lib/fog/storm_on_demand/requests/compute/resize_server.rb, line 6
def resize_server(options = {})
  request(
    :path     => "/Storm/Server/resize",
    :body     => Fog::JSON.encode({:params => options})
  )
end
resolve_notification(options={}) click to toggle source
# File lib/fog/storm_on_demand/requests/compute/resolve_notification.rb, line 6
def resolve_notification(options={})
  request(
    :path => '/Notifications/resolve',
    :body => Fog::JSON.encode(:params => options)
  )
end
restore_image(options={}) click to toggle source
# File lib/fog/storm_on_demand/requests/compute/restore_image.rb, line 6
def restore_image(options={})
  request(
    :path => '/Storm/Image/restore',
    :body => Fog::JSON.encode(params => options)
  )
end
restore_template(options={}) click to toggle source
# File lib/fog/storm_on_demand/requests/compute/restore_template.rb, line 6
def restore_template(options={})
  request(
    :path => '/Storm/Template/restore',
    :body => Fog::JSON.encode(:params => options)
  )
end
server_history(options={}) click to toggle source
# File lib/fog/storm_on_demand/requests/compute/server_history.rb, line 6
def server_history(options={})
  request(
    :path => '/Storm/Server/history',
    :body => Fog::JSON.encode(:params => options)
  )
end
server_status(options={}) click to toggle source
# File lib/fog/storm_on_demand/requests/compute/server_status.rb, line 6
def server_status(options={})
  request(
    :path => '/Storm/Server/status',
    :body => Fog::JSON.encode(:params => options)
  )
end
shutdown_server(options={}) click to toggle source
# File lib/fog/storm_on_demand/requests/compute/shutdown_server.rb, line 6
def shutdown_server(options={})
  request(
    :path => '/Storm/Server/shutdown',
    :body => Fog::JSON.encode(:params => options)
  )
end
start_server(options={}) click to toggle source
# File lib/fog/storm_on_demand/requests/compute/start_server.rb, line 6
def start_server(options={})
  request(
    :path => '/Storm/Server/start',
    :body => Fog::JSON.encode(:params => options)
  )
end
update_image(options={}) click to toggle source
# File lib/fog/storm_on_demand/requests/compute/update_image.rb, line 6
def update_image(options={})
  request(
    :path => '/Storm/Image/update',
    :body => Fog::JSON.encode(:params => options)
  )
end
update_server(options={}) click to toggle source
# File lib/fog/storm_on_demand/requests/compute/update_server.rb, line 6
def update_server(options={})
  request(
    :path => '/Storm/Server/update',
    :body => Fog::JSON.encode(:params => options)
  )
end