Class: Ubicloud::Vm
Instance Attribute Summary
Attributes inherited from Model
Instance Method Summary collapse
-
#restart ⇒ Object
Schedule a restart of the virtual machine.
Methods inherited from Model
[], #[], #check_exists, create, #destroy, #id, #info, #initialize, #inspect, list, #location, #name, resolve_associations, #to_h
Constructor Details
This class inherits a constructor from Ubicloud::Model
Instance Method Details
#restart ⇒ Object
Schedule a restart of the virtual machine. Returns self.
23 24 25 |
# File 'lib/ubicloud/model/vm.rb', line 23 def restart merge_into_values(adapter.post(_path("/restart"))) end |