Sha256: 82307e64475d3cc36dc67602865d956f71cb6e451772410839ddc5a8cc3d67e1
Contents?: true
Size: 472 Bytes
Versions: 27
Compression:
Stored size: 472 Bytes
Contents
class RbVmomi::VIM::Datacenter # Traverse the given inventory +path+ to find a ComputeResource. def find_compute_resource path hostFolder.traverse path, RbVmomi::VIM::ComputeResource end # Find the Datastore with the given +name+. def find_datastore name datastore.find { |x| x.name == name } end # Traverse the given inventory +path+ to find a VirtualMachine. def find_vm path vmFolder.traverse path, RbVmomi::VIM::VirtualMachine end end
Version data entries
27 entries across 27 versions & 4 rubygems