deb-python-pyvmomi/docs/vmodl/query/PropertyCollector/PropertySpec.rst
Shawn Hartsock c83651f5be pyvmomi RST docs do not properly show lists
Fixes RST documents to include list mark up when appropriate.

closes: https://github.com/vmware/pyvmomi/issues/76
2014-08-13 14:49:24 -04:00

1.8 KiB

vmodl.query.PropertyCollector.PropertySpec

Within a PropertyFilterSpec , A PropertySpec specifies which properties should be reported to the client for objects of the given managed object type that are visited and not skipped. One more subtle side effect is that if a managed object is visited and not skipped, but there is no PropertySpec associated with the managed object's type, the managed object will not be reported to the client.Also, the set of properties applicable to a given managed object type is the union of the properties implied by the PropertySpec objects even, in the case of a RetrieveResult , where there may be an applicable PropertySpec in more than one filter.

extends

vmodl.DynamicData

Attributes:

type (str):

Name of the managed object type being collected.

all (bool, optional):

Specifies whether or not all properties of the object are read. If this property is set to true, the pathSet property is ignored.

pathSet ([str], optional):

Specifies which managed object properties are retrieved. If the pathSet is empty, then the PropertyCollector retrieves references to the managed objects and no managed object properties are collected.