Scripting Object - VcContainerView

Scripting-object corresponding to
ContainerView
Returned by
createContainerView

Scripting Object Description

The {@link ContainerView} managed object provides a means of monitoring the contents of a single container and, optionally, other containers. You can use a {@link ContainerView} with a {@link vmodl.query.PropertyCollector} method to retrieve data or receive notification of changes. For information about using views with the {@link vmodl.query.PropertyCollector}, see the description of {@link ViewManager}.

When you invoke the {@link ViewManager#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:

Once you have created the view, the {@link ManagedObjectView#view} list always represents the current configuration of the virtual environment and reflects any subsequent changes that occur.

Attributes

Name Type Description
containerVcManagedEntity

@since VI API 2.5
idString

@since Unknown
morefVcManagedObjectReference

returns the ManagedObjectReference of this ManagedObject @since Unknown
recursiveBoolean

@since VI API 2.5
sdkConnectionVcSdkConnection

@since Unknown
sdkIdString

@since Unknown
typeStringDeprecated.

Returns the name for the this managed object's vim type @since Unknown
viewVcManagedObject []

@since VI API 2.5
vimHostVcSdkConnection

@since Unknown
vimIdString

@since Unknown
vimTypeString

@since Unknown

Methods

Methods defined in this Scripting Object
_getRef, createTrigger, destroyView

_getRef

@since Unknown

Parameters

NameTypeDescription
None

Return Value

Type Description
VcManagedObjectReference

createTrigger

@since Unknown

Parameters

NameTypeDescription
timeoutNumber

filterString

conditionString

filterToSyncString


Return Value

Type Description
Trigger

destroyView

Destroy this view. @since VI API 2.5

Parameters

NameTypeDescription
None

Return Value

Type Description
None