ObjectSpec

ObjectSpec
ObjectSpec

Within a PropertyFilterSpec, the ObjectSpec data object type specifies the managed object at which the filter begins to collect the managed object references and properties specified by the associated PropertySpec set.

If the "skip" property is present and set to true, then the filter does not check to see if the starting object's type matches any of the types listed in the associated sets of PropertySpec data objects.

If the selectSet property is present, then this specifies additional objects to filter. These objects are defined by one or more SelectionSpec objects.

AllOf
This class requires all of the following:
JSON Example
{
    "_typeName": "string",
    "obj": {
        "_typeName": "string",
        "type": "string",
        "value": "string"
    },
    "skip": false,
    "selectSet": [
        {
            "_typeName": "string",
            "name": "string"
        }
    ]
}
obj
Required

The ManagedObjectReference data object type is a special-purpose data object. Commonly referred to as simply a "reference", "MoRef", "MOR", or other variations of this theme, instances of managed object references contain data that identifies specific server-side managed objects. Managed object references are typically one of the return types from a method invocation.

Managed object references are client application references to server-side managed objects. The client application uses ManagedObjectReference objects when it invokes operations on a server. A ManagedObjectReference is guaranteed to be unique and persistent during an object's lifetime. The reference persists after an object has moved within the inventory, across sessions, and across server restarts. If you remove an object, for example, a virtual machine, from the inventory, and then put it back, the reference changes.

boolean
skip
Optional

Flag to specify whether or not to report this managed object's properties.

If the flag is true, the filter will not report this managed object's properties.

selectSet
Optional

Set of selections to specify additional objects to filter.