ExtensionEventTypeInfo

ExtensionEventTypeInfo
ExtensionEventTypeInfo

This data object type describes event types defined by the extension.

AllOf
This class requires all of the following:
JSON Example
{
    "_typeName": "string",
    "eventID": "string",
    "eventTypeSchema": "string"
}
string
eventID
Required

The ID of the event type.

Should follow java package naming conventions for uniqueness.

string
eventTypeSchema
Optional

Optional XML descriptor for the EventType.

The structure of this descriptor is:

 <EventType>
   <eventTypeID>eventID</eventTypeID>
   <description>Optional description for event eventID</description>
   <-- Optional arguments: -->
   <arguments>
      <-- Zero or more of: -->
      <argument>
        <name>argName</name>
        <type>argtype</name>
      </argument>
   </arguments>
 </EventType>

where argtype can be one of the following:

  • This is an example list and should be considered as incomplete.
  • Primitive types:
    • string
    • bool
    • int
    • long
    • float
    • moid
  • Entity reference types:
    • vm
    • host
    • resourcepool
    • computeresource
    • datacenter
    • datastore
    • network
    • dvs