Class: VMware::HostSystem
Instance Attribute Summary
#object_reference
Instance Method Summary
collapse
#[], #initialize, #properties
Instance Method Details
#datastores ⇒ Object
9
10
11
12
13
|
# File 'lib/vmware/objects/host_system.rb', line 9
def datastores
self["datastore"].collect do |datastore|
@session.managed_object_wrapper_factory("Datastore", datastore)
end
end
|
#networks ⇒ Object
3
4
5
6
7
|
# File 'lib/vmware/objects/host_system.rb', line 3
def networks
self["network"].collect do |network|
@session.managed_object_wrapper_factory("Network", network)
end
end
|
#vms ⇒ Object
15
16
17
18
19
|
# File 'lib/vmware/objects/host_system.rb', line 15
def vms
self["vm"].collect do |vm|
@session.managed_object_wrapper_factory("VirtualMachine", vm)
end
end
|