Class RbVmomi::VIM::Folder
In: lib/rbvmomi/vim/Folder.rb
Parent: Object

Methods

Public Instance methods

Alias to childEntity.

Retrieve a child entity @param name [String] Name of the child. @param type [Class] Return nil unless the found entity is_a? type. @return [VIM::ManagedEntity]

Retrieve a virtual machine or host by DNS name @param name [String] The fully qualified domain name to find. @param type [Class] Return nil unless the found entity is_a? type. @param dc [RbVmomi::VIM::Datacenter] Restricts the query to entities in the given Datacenter. @return [VIM::ManagedEntity]

Retrieve a virtual machine or host by IP address @param ip [String] The IP address is in dot-decimal notation. @param type [Class] Return nil unless the found entity is_a? type. @param dc [RbVmomi::VIM::Datacenter] Restricts the query to entities in the given Datacenter. @return [VIM::ManagedEntity]

Retrieve a virtual machine or host by BIOS UUID. @param uuid [String] The UUID to find. @param type [Class] Return nil unless the found entity is_a? type. @param dc [RbVmomi::VIM::Datacenter] Restricts the query to entities in the given Datacenter. @return [VIM::ManagedEntity]

Efficiently retrieve properties from descendants of this folder.

@param propSpecs [Hash] Specification of which properties to retrieve from

                        which entities. Keys may be symbols, strings, or
                        classes identifying ManagedEntity subtypes to be
                        included in the results. Values are an array of
                        property paths (strings) or the symbol :all.

@return [Hash] Tree of inventory items. Folders are hashes from child name

               to child result. Objects are hashes from property path to
               value.

@deprecated

Efficiently retrieve properties from descendants of this folder.

@param propSpecs [Hash] Specification of which properties to retrieve from

                        which entities. Keys may be symbols, strings, or
                        classes identifying ManagedEntity subtypes to be
                        included in the results. Values are an array of
                        property paths (strings) or the symbol :all.

@return [Hash] Hash of ManagedObjects to properties.

Efficiently retrieve properties from descendants of this folder.

@param propSpecs [Hash] Specification of which properties to retrieve from

                        which entities. Keys may be symbols, strings, or
                        classes identifying ManagedEntity subtypes to be
                        included in the results. Values are an array of
                        property paths (strings) or the symbol :all.

@return [Hash] Tree of inventory items. Each node is a hash from

               VIM::ObjectContent to children.

Retrieve a descendant of this Folder. @param path [String] Path delimited by ’/’, or an array of path elements. @param type (see Folder#find) @param create [Boolean] If set, create folders that don‘t exist. @return (see Folder#find) @todo Move create functionality into another method.

Alias to traverse path, type, true @see traverse

[Validate]