Method: JoyentCLI#stop_machine
- Defined in:
- bin/joyent
#stop_machine(id) ⇒ Object
145 146 147 148 149 150 |
# File 'bin/joyent', line 145 def stop_machine(id) conn = get_connection(["datacenter"]) m = conn.machines.get(id) m.stop puts "#{m.name} [#{m.id}] STOPPED" end |