DatastoreFileEvent

DatastoreFileEvent
DatastoreFileEvent

Base class for events related to datastore file and directory operations.

Property datastore inherited from DatastoreEvent refers to the destination datastore in case there is more than datastore involved in the operation.

AllOf
This class requires all of the following:
JSON Example
{
    "_typeName": "string",
    "key": 0,
    "chainId": 0,
    "createdTime": "string",
    "userName": "string",
    "datacenter": {
        "_typeName": "string",
        "name": "string",
        "datacenter": {
            "_typeName": "string",
            "type": "string",
            "value": "string"
        }
    },
    "computeResource": {
        "_typeName": "string",
        "name": "string",
        "computeResource": {
            "_typeName": "string",
            "type": "string",
            "value": "string"
        }
    },
    "host": {
        "_typeName": "string",
        "name": "string",
        "host": {
            "_typeName": "string",
            "type": "string",
            "value": "string"
        }
    },
    "vm": {
        "_typeName": "string",
        "name": "string",
        "vm": {
            "_typeName": "string",
            "type": "string",
            "value": "string"
        }
    },
    "ds": {
        "_typeName": "string",
        "name": "string",
        "datastore": {
            "_typeName": "string",
            "type": "string",
            "value": "string"
        }
    },
    "net": {
        "_typeName": "string",
        "name": "string",
        "network": {
            "_typeName": "string",
            "type": "string",
            "value": "string"
        }
    },
    "dvs": {
        "_typeName": "string",
        "name": "string",
        "dvs": {
            "_typeName": "string",
            "type": "string",
            "value": "string"
        }
    },
    "fullFormattedMessage": "string",
    "changeTag": "string",
    "datastore": {
        "_typeName": "string",
        "name": "string",
        "datastore": {
            "_typeName": "string",
            "type": "string",
            "value": "string"
        }
    },
    "targetFile": "string",
    "sourceOfOperation": "string",
    "succeeded": false
}
string
targetFile
Required

Datastore path of the target file or directory.

string
sourceOfOperation
Optional

Identifier of the initiator of the file operation.

boolean
succeeded
Optional

Indicator whether the datastore file operation succeeded.