Simple Reference
SelectionSpec
Use
SelectionSpec
references to avoid
writing duplicate
TraversalSpec
declarations.
The
TraversalSpec
identified in a
SelectionSpec
reference must be
within the same
PropertyFilterSpec
.
Figure 1
shows the use of
SelectionSpec
references to a
virtual machine
TraversalSpec
. The
SelectionSpec
references are
associated with
Network
and
Datastore
traversals.
SelectionSpec Reference

If the
ObjectSpec.selectSet
array
contains a
SelectionSpec
, the referenced
TraversalSpec
must identify the
same object type.
TraversalSpec.type
must match
the type of the object specified in
ObjectSpec.obj
. The
PropertyCollector
applies the
TraversalSpec
to the object and
uses the
TraversalSpec.path
property to
extend its traversal.