class VCloudSdk::Xml::VApp
Public Instance Methods
description()
click to toggle source
# File lib/ruby_vcloud_sdk/xml/wrapper_classes/vapp.rb, line 4 def description get_nodes("Description").first.content end
discard_state()
click to toggle source
# File lib/ruby_vcloud_sdk/xml/wrapper_classes/vapp.rb, line 20 def discard_state get_nodes("Link", {"rel" => "discardState"}, true).first end
network_config_section()
click to toggle source
# File lib/ruby_vcloud_sdk/xml/wrapper_classes/vapp.rb, line 8 def network_config_section get_nodes("NetworkConfigSection").first end
reboot_link()
click to toggle source
# File lib/ruby_vcloud_sdk/xml/wrapper_classes/vapp.rb, line 12 def reboot_link get_nodes("Link", {"rel" => "power:reboot"}, true).first end
recompose_vapp_link()
click to toggle source
# File lib/ruby_vcloud_sdk/xml/wrapper_classes/vapp.rb, line 24 def recompose_vapp_link link = get_nodes(XML_TYPE[:LINK], { rel: "recompose" }, true).first end
tasks()
click to toggle source
# File lib/ruby_vcloud_sdk/xml/wrapper_classes/vapp.rb, line 16 def tasks get_nodes(XML_TYPE[:TASK]) end
vdc_link()
click to toggle source
# File lib/ruby_vcloud_sdk/xml/wrapper_classes/vapp.rb, line 30 def vdc_link get_nodes(XML_TYPE[:LINK], { type: MEDIA_TYPE[:VDC] }, true).first end
vm(name)
click to toggle source
# File lib/ruby_vcloud_sdk/xml/wrapper_classes/vapp.rb, line 40 def vm(name) get_nodes("Vm", name: name).first end
vms()
click to toggle source
# File lib/ruby_vcloud_sdk/xml/wrapper_classes/vapp.rb, line 36 def vms get_nodes("Vm") end