Sha256: e82c4d902f4102517d73720aa5f2990e6cff717e2bd471add9474788218b3d57
Contents?: true
Size: 612 Bytes
Versions: 28
Compression:
Stored size: 612 Bytes
Contents
module Fog module Compute class Cloudstack class Real # Destroyes a system virtual machine. # # {CloudStack API Reference}[http://cloudstack.apache.org/docs/api/apidocs-4.4/root_admin/destroySystemVm.html] def destroy_system_vm(*args) options = {} if args[0].is_a? Hash options = args[0] options.merge!('command' => 'destroySystemVm') else options.merge!('command' => 'destroySystemVm', 'id' => args[0]) end request(options) end end end end end
Version data entries
28 entries across 26 versions & 4 rubygems