Sha256: 6862da504d0321a496c644a050b2605d4f22d5bfb1d1c5569041c2cacb54ba01
Contents?: true
Size: 387 Bytes
Versions: 8
Compression:
Stored size: 387 Bytes
Contents
module Fog module Compute class Vsphere class Real def host_shutdown(name, cluster_name, datacenter_name, force = false) host_ref = get_host(name, cluster_name, datacenter_name) task = host_ref.ShutdownHost_Task(force: force) task.wait_for_completion { 'task_state' => task.info.state } end end end end end
Version data entries
8 entries across 6 versions & 2 rubygems