Methods

Class/Module Index [+]

Quicksearch

Fog::Compute::VcloudDirector::CatalogItem

Public Instance Methods

instantiate(vapp_name, options={}) click to toggle source
# File lib/fog/vcloud_director/models/compute/catalog_item.rb, line 15
def instantiate(vapp_name, options={})
  response = service.instantiate_vapp_template(vapp_name, vapp_template_id, options)
  service.process_task(response.body[:Tasks][:Task])
  response.body[:href].split('/').last # returns the vapp_id if it was instantiated successfully .
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.