Sha256: d8e07f27dc2baf8e1a6a0c85d8e53914f4414ed0c9f9b37ebe509020b92d8257
Contents?: true
Size: 725 Bytes
Versions: 28
Compression:
Stored size: 725 Bytes
Contents
module Fog module Compute class Cloudstack class Real # Removes VM from specified network by deleting a NIC # # {CloudStack API Reference}[http://cloudstack.apache.org/docs/api/apidocs-4.4/root_admin/removeNicFromVirtualMachine.html] def remove_nic_from_virtual_machine(*args) options = {} if args[0].is_a? Hash options = args[0] options.merge!('command' => 'removeNicFromVirtualMachine') else options.merge!('command' => 'removeNicFromVirtualMachine', 'virtualmachineid' => args[0], 'nicid' => args[1]) end request(options) end end end end end
Version data entries
28 entries across 26 versions & 4 rubygems