Sha256: 03b9b5b16b9a696fcc210a2912f50b8509b4fa92e9836d53198d6a1db4fc1ca7
Contents?: true
Size: 674 Bytes
Versions: 28
Compression:
Stored size: 674 Bytes
Contents
module Fog module Compute class Cloudstack class Real # Adds a VMware datacenter to specified zone # # {CloudStack API Reference}[http://cloudstack.apache.org/docs/api/apidocs-4.4/root_admin/addVmwareDc.html] def add_vmware_dc(*args) options = {} if args[0].is_a? Hash options = args[0] options.merge!('command' => 'addVmwareDc') else options.merge!('command' => 'addVmwareDc', 'zoneid' => args[0], 'vcenter' => args[1], 'name' => args[2]) end request(options) end end end end end
Version data entries
28 entries across 26 versions & 4 rubygems