Files
deb-python-pyvmomi/docs/vim/view/ContainerView.rst
Shawn Hartsock 15f7be9a52 pyVmomi reStructured Text Documentation
This external documentation for pyVmomi was generated using Googly Docs
(aka Google Standard Documentation) which renders very cleanly in
GitHub. Internal documentation for a class should be done in Sphinx
format because tools like pyCharm and Eclipse can use that documentation
as a hint for code completion.

Note: External docs as Googly Docs, internal docs as Sphinx.

Closes bug#15
2014-06-17 14:07:42 -04:00

2.1 KiB

vim.view.ContainerView

The ContainerView managed object provides a means of monitoring the contents of a single container and, optionally, other containers. You can use a ContainerView with a PropertyCollector method to retrieve data or receive notification of changes. For information about using views with the PropertyCollector , see the description of ViewManager .When you invoke the CreateContainerView method, you specify a managed object instance that provides the starting point for object selection. You can use the following managed objects as the basis of a container view:
extends

vim.view.ManagedObjectView

since

VI API 2.5

Attributes

container (vim.ManagedEntity):

The Folder, Datacenter, ComputeResource, ResourcePool, or HostSystem instance that provides the objects that the view presents.

type (str):

An optional list of types to be applied to the set of objects in the view. The list of types indicates objects that are included in the view. If empty, all types are included.

recursive (bool):

Whether to include only the immediate children of the container instance, or to include additional objects by following the paths beyond the immediate children.For information about recursive behavior, see the description of CreateContainerView .

Methods