class Fog::Compute::StormOnDemand::Real

Public Instance Methods

clone_server(options = {}) click to toggle source
# File lib/fog/compute/storm_on_demand/requests/clone_server.rb, line 5
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/compute/storm_on_demand/requests/create_image.rb, line 5
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/compute/storm_on_demand/requests/create_server.rb, line 5
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/compute/storm_on_demand/requests/current_notifications.rb, line 5
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/compute/storm_on_demand/requests/delete_image.rb, line 5
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/compute/storm_on_demand/requests/delete_server.rb, line 5
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/compute/storm_on_demand/requests/get_config_details.rb, line 5
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/compute/storm_on_demand/requests/get_image_details.rb, line 5
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/compute/storm_on_demand/requests/get_notification.rb, line 5
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/compute/storm_on_demand/requests/get_product.rb, line 5
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/compute/storm_on_demand/requests/get_product_code.rb, line 5
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/compute/storm_on_demand/requests/get_product_price.rb, line 5
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/compute/storm_on_demand/requests/get_product_starting_price.rb, line 5
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/compute/storm_on_demand/requests/get_server.rb, line 5
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/compute/storm_on_demand/requests/get_template_details.rb, line 5
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/compute/storm_on_demand/requests/list_configs.rb, line 5
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/compute/storm_on_demand/requests/list_images.rb, line 5
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/compute/storm_on_demand/requests/list_notifications.rb, line 5
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/compute/storm_on_demand/requests/list_products.rb, line 5
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/compute/storm_on_demand/requests/list_servers.rb, line 5
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/compute/storm_on_demand/requests/list_templates.rb, line 5
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/compute/storm_on_demand/requests/reboot_server.rb, line 5
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/compute/storm_on_demand/requests/resize_server.rb, line 5
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/compute/storm_on_demand/requests/resolve_notification.rb, line 5
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/compute/storm_on_demand/requests/restore_image.rb, line 5
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/compute/storm_on_demand/requests/restore_template.rb, line 5
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/compute/storm_on_demand/requests/server_history.rb, line 5
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/compute/storm_on_demand/requests/server_status.rb, line 5
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/compute/storm_on_demand/requests/shutdown_server.rb, line 5
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/compute/storm_on_demand/requests/start_server.rb, line 5
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/compute/storm_on_demand/requests/update_image.rb, line 5
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/compute/storm_on_demand/requests/update_server.rb, line 5
def update_server(options = {})
  request(
    :path => '/Storm/Server/update',
    :body => Fog::JSON.encode(:params => options)
  )
end