VMware Cloud Director API - Event

VMware Cloud Director API - Event

EventType

Element:
Event
Type:
EventType
Namespace:
http://www.vmware.com/vcloud/v1.5
Description:
Parameters for creating an event.
Since:
5.1
Schema:
event.xsd
Media type(s):
application/vnd.vmware.admin.event+json
application/vnd.vmware.admin.event+xml
Extends:
VCloudExtensibleType
XML Representation:
<Event xmlns="http://www.vmware.com/vcloud/v1.5" type="xs:string" serviceNamespace="xs:string" success="xs:boolean" typeFull="xs:string">
    <Owner href="xs:anyURI" id="xs:string" type="xs:string" name="xs:string"/>
    <User href="xs:anyURI" id="xs:string" type="xs:string" name="xs:string"/>
    <EventProperties>
        <EventProperty name="xs:string" value="xs:string"/>
    </EventProperties>
</Event>

Attributes

Attribute Type Required Modifiable Since Deprecated Description
type string No create 5.1 A string identifying the type of the event. Length must be between 1 and 128 characters. Cannot start with com/vmware/vcloud.
serviceNamespace string No create 5.1 Identifier of the external service that posted the event. Length must be between 1 and 128 characters. Cannot start with com.vmware.vcloud.
success boolean No create 5.1 True if the event represents a successful operation.
typeFull string No create 5.1 A message describing the event. Length must be between 0 and 2000 characters.

Elements

Element Type Required Modifiable Since Deprecated Description
EventProperties EventPropertiesType No create 5.6 List of event-specific properties.
Owner ReferenceType No create 5.1 A reference to the owner of the event.
User ReferenceType Yes create 5.1 A reference to the user for which the event was created.
VCloudExtension VCloudExtensionType No always 5.1 An optional extension element that can contain an arbitrary number of elements and attributes. Not related to extension services.

Operations

CRUD Operation Description Since Deprecated
as input POST /admin/org/{id}/events Post an external event to the system. 5.1