class Fog::Compute::Vsphere::Host

Public Instance Methods

finish_maintenance() click to toggle source
# File lib/fog/vsphere/models/compute/host.rb, line 48
def finish_maintenance
  service.host_finish_maintenance(name, cluster, datacenter)
end
memory_mb() click to toggle source
# File lib/fog/vsphere/models/compute/host.rb, line 36
def memory_mb
  memory / 1024 / 1024
end
shutdown() click to toggle source
# File lib/fog/vsphere/models/compute/host.rb, line 40
def shutdown
  service.host_shutdown(name, cluster, datacenter)
end
start_maintenance() click to toggle source
# File lib/fog/vsphere/models/compute/host.rb, line 44
def start_maintenance
  service.host_start_maintenance(name, cluster, datacenter)
end
to_s() click to toggle source

End Lazy Loaded Attributes

# File lib/fog/vsphere/models/compute/host.rb, line 32
def to_s
  name
end