Class: Fog::Compute::StormOnDemand

Inherits:
Service
  • Object
show all
Defined in:
lib/fog/compute/storm_on_demand.rb,
lib/fog/compute/storm_on_demand/models/image.rb,
lib/fog/compute/storm_on_demand/models/config.rb,
lib/fog/compute/storm_on_demand/models/images.rb,
lib/fog/compute/storm_on_demand/models/server.rb,
lib/fog/compute/storm_on_demand/models/configs.rb,
lib/fog/compute/storm_on_demand/models/product.rb,
lib/fog/compute/storm_on_demand/models/servers.rb,
lib/fog/compute/storm_on_demand/models/products.rb,
lib/fog/compute/storm_on_demand/models/template.rb,
lib/fog/compute/storm_on_demand/models/templates.rb,
lib/fog/compute/storm_on_demand/models/notification.rb,
lib/fog/compute/storm_on_demand/requests/get_server.rb,
lib/fog/compute/storm_on_demand/models/notifications.rb,
lib/fog/compute/storm_on_demand/requests/get_product.rb,
lib/fog/compute/storm_on_demand/requests/list_images.rb,
lib/fog/compute/storm_on_demand/requests/clone_server.rb,
lib/fog/compute/storm_on_demand/requests/create_image.rb,
lib/fog/compute/storm_on_demand/requests/delete_image.rb,
lib/fog/compute/storm_on_demand/requests/list_configs.rb,
lib/fog/compute/storm_on_demand/requests/list_servers.rb,
lib/fog/compute/storm_on_demand/requests/start_server.rb,
lib/fog/compute/storm_on_demand/requests/update_image.rb,
lib/fog/compute/storm_on_demand/requests/create_server.rb,
lib/fog/compute/storm_on_demand/requests/delete_server.rb,
lib/fog/compute/storm_on_demand/requests/list_products.rb,
lib/fog/compute/storm_on_demand/requests/reboot_server.rb,
lib/fog/compute/storm_on_demand/requests/resize_server.rb,
lib/fog/compute/storm_on_demand/requests/restore_image.rb,
lib/fog/compute/storm_on_demand/requests/server_status.rb,
lib/fog/compute/storm_on_demand/requests/update_server.rb,
lib/fog/compute/storm_on_demand/requests/list_templates.rb,
lib/fog/compute/storm_on_demand/requests/server_history.rb,
lib/fog/compute/storm_on_demand/requests/shutdown_server.rb,
lib/fog/compute/storm_on_demand/requests/get_notification.rb,
lib/fog/compute/storm_on_demand/requests/get_product_code.rb,
lib/fog/compute/storm_on_demand/requests/restore_template.rb,
lib/fog/compute/storm_on_demand/requests/get_image_details.rb,
lib/fog/compute/storm_on_demand/requests/get_product_price.rb,
lib/fog/compute/storm_on_demand/requests/get_config_details.rb,
lib/fog/compute/storm_on_demand/requests/list_notifications.rb,
lib/fog/compute/storm_on_demand/requests/get_template_details.rb,
lib/fog/compute/storm_on_demand/requests/resolve_notification.rb,
lib/fog/compute/storm_on_demand/requests/current_notifications.rb,
lib/fog/compute/storm_on_demand/requests/get_product_starting_price.rb

Defined Under Namespace

Classes: Config, Configs, Image, Images, Mock, Notification, Notifications, Product, Products, Real, Server, Servers, Template, Templates

Instance Method Summary collapse

Instance Method Details

#restore(options) ⇒ Object



14
15
16
17
# File 'lib/fog/compute/storm_on_demand/models/template.rb', line 14

def restore(options)
  requires :identity
  service.restore_template({:id => identity}.merge!(options))
end