Method: Vcloud::Core::Vapp#power_on
- Defined in:
- lib/vcloud/core/vapp.rb
#power_on ⇒ Boolean
Power on vApp
160 161 162 163 164 165 |
# File 'lib/vcloud/core/vapp.rb', line 160 def power_on raise "Cannot power on a missing vApp." unless id return true if running? Vcloud::Core::Fog::ServiceInterface.new.power_on_vapp(id) running? end |