The VMware API utility module.
-
build_object_spec(client_factory, root_folder, traversal_specs)
Builds the object Spec.
-
build_property_filter_spec(client_factory, property_specs, object_specs)
Builds the Property Filter Spec.
-
build_property_spec(client_factory, type='VirtualMachine', properties_to_collect=None, all_properties=False)
Builds the Property Spec.
-
build_recursive_traversal_spec(client_factory)
Builds the Recursive Traversal Spec to traverse the object managed
object hierarchy.
-
build_selection_spec(client_factory, name)
Builds the selection spec.
-
build_traversal_spec(client_factory, name, spec_type, path, skip, select_set)
Builds the traversal spec object.
-
get_dynamic_property(vim, mobj, type, property_name)
Gets a particular property of the Managed Object.
-
get_obj_spec(client_factory, obj, select_set=None)
Builds the Object Spec object.
-
get_object_properties(vim, collector, mobj, type, properties)
Gets the properties of the Managed object specified.
-
get_objects(vim, type, properties_to_collect=None, all=False)
Gets the list of objects of the type specified.
-
get_prop_filter_spec(client_factory, obj_spec, prop_spec)
Builds the Property Filter Spec Object.
-
get_prop_spec(client_factory, spec_type, properties)
Builds the Property Spec Object.
-
get_properties_for_a_collection_of_objects(vim, type, obj_list, properties)
Gets the list of properties for the collection of
objects of the type specified.