ObjectUpdate

ObjectUpdate
ObjectUpdate

The ObjectUpdate data object type contains information about changes to a particular managed object.

We distinguish updates when an object is created, destroyed, or modified, as well as when the object enters or leaves the set of objects dynamically associated with a filter.

AllOf
This class requires all of the following:
JSON Example
{
    "_typeName": "string",
    "kind": "string",
    "obj": {
        "_typeName": "string",
        "type": "string",
        "value": "string"
    },
    "changeSet": [
        {
            "_typeName": "string",
            "name": "string",
            "op": "string",
            "val": {
                "_typeName": "string"
            }
        }
    ],
    "missingSet": [
        {
            "_typeName": "string",
            "path": "string",
            "fault": {
                "_typeName": "string",
                "faultCause": "MethodFault Object",
                "faultMessage": [
                    {
                        "_typeName": "string",
                        "key": "string",
                        "arg": [
                            {
                                "_typeName": "string",
                                "key": "string",
                                "value": {
                                    "_typeName": "string"
                                }
                            }
                        ],
                        "message": "string"
                    }
                ]
            }
        }
    ]
}
kind
Required

Enumeration of different kinds of updates.

Possible values:

  • modify: A property of the managed object changed its value.

  • enter: A managed object became visible to a filter for the first time.

    For instance, this can happen if a virtual machine is added to a folder.

  • leave: A managed object left the set of objects visible to a filter.

    For instance, this can happen when a virtual machine is destroyed.

Possible values are : modify, enter, leave,
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.

changeSet
Optional

Optional set of changes to the object.

Present only if the "kind" is either "modify" or "enter".

missingSet
Optional

Properties whose value could not be retrieved and their associated faults.

Present only if the "kind" is either "modify" or "enter".