Sha256: 3dc070b69a51f817d773cdbacfe7c31ec30e0772f42cef0f0d194ae06d33a33c

Contents?: true

Size: 406 Bytes

Versions: 23

Compression:

Stored size: 406 Bytes

Contents

module Fog
  module Vsphere
    class Compute
      class Real
        def host_finish_maintenance(name, cluster_name, datacenter_name, timeout = 0)
          host_ref = get_host(name, cluster_name, datacenter_name)
          task = host_ref.ExitMaintenanceMode_Task(timeout: timeout)
          task.wait_for_completion
          { 'task_state' => task.info.state }
        end
      end
    end
  end
end

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
fog-vsphere-3.7.0 lib/fog/vsphere/requests/compute/host_finish_maintenance.rb
fog-vsphere-3.6.8 lib/fog/vsphere/requests/compute/host_finish_maintenance.rb
fog-vsphere-3.6.7 lib/fog/vsphere/requests/compute/host_finish_maintenance.rb
fog-vsphere-3.6.6 lib/fog/vsphere/requests/compute/host_finish_maintenance.rb
fog-vsphere-3.6.5 lib/fog/vsphere/requests/compute/host_finish_maintenance.rb
fog-vsphere-3.6.4 lib/fog/vsphere/requests/compute/host_finish_maintenance.rb
fog-vsphere-3.6.3 lib/fog/vsphere/requests/compute/host_finish_maintenance.rb
fog-vsphere-3.6.2 lib/fog/vsphere/requests/compute/host_finish_maintenance.rb
fog-vsphere-3.5.3 lib/fog/vsphere/requests/compute/host_finish_maintenance.rb
fog-vsphere-3.6.0 lib/fog/vsphere/requests/compute/host_finish_maintenance.rb
fog-vsphere-3.5.2 lib/fog/vsphere/requests/compute/host_finish_maintenance.rb
fog-vsphere-3.5.1 lib/fog/vsphere/requests/compute/host_finish_maintenance.rb
fog-vsphere-3.5.0 lib/fog/vsphere/requests/compute/host_finish_maintenance.rb
fog-vsphere-3.4.0 lib/fog/vsphere/requests/compute/host_finish_maintenance.rb
fog-vsphere-3.3.1 lib/fog/vsphere/requests/compute/host_finish_maintenance.rb
fog-vsphere-3.3.0 lib/fog/vsphere/requests/compute/host_finish_maintenance.rb
fog-vsphere-3.2.5 lib/fog/vsphere/requests/compute/host_finish_maintenance.rb
fog-vsphere-3.2.2 lib/fog/vsphere/requests/compute/host_finish_maintenance.rb
fog-vsphere-3.2.1 lib/fog/vsphere/requests/compute/host_finish_maintenance.rb
fog-vsphere-3.2.0 lib/fog/vsphere/requests/compute/host_finish_maintenance.rb