Methods

Class/Module Index [+]

Quicksearch

Fog::Vcloud::Compute::Servers

Public Instance Methods

all() click to toggle source
# File lib/fog/vcloud/models/compute/servers.rb, line 15
def all
  check_href!("Vapp")
  vapp.load_unless_loaded!
  load(vapp.children||[])
end
create(options) click to toggle source
# File lib/fog/vcloud/models/compute/servers.rb, line 27
def create options
  check_href!
  options[:vdc_uri] = href
  data = service.instantiate_vapp_template(options).body
  object = new(data)
  object
end
get(uri) click to toggle source
# File lib/fog/vcloud/models/compute/servers.rb, line 21
def get(uri)
  service.get_vapp(uri)
rescue Fog::Errors::NotFound
  nil
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.