event

event
event

Class to represent external events. Different event types have different required fields.

JSON Example
{
    "eventType": "string",
    "resourceId": "string",
    "startTimeUTC": 0,
    "cancelTimeUTC": 0,
    "message": "string",
    "severity": "string",
    "key": "string",
    "htType": "string",
    "diagnosticSubType": "string",
    "notificationSubType": "string",
    "value": "number",
    "keyIndicator": false,
    "managedExternally": false
}
string
eventType
Required

Represents the type of an Event.
All values are valid for the field eventType in the Event object.
When used in the creation of a SymptomDefinition the following restrictions are
applicable for the Conditions that are defined as part of a Symptom Definition.

Possible values are : CHANGE, NOTIFICATION, RESOURCE_DOWN, SYSTEM_DEGRADATION, AVAILABILITY_DOWN, AVAILABILITY_EXCEPTION, AVAILABILITY_NOT_COLLECTING, HARD_THRESHOLD, DIAGNOSTIC,
string As uuid As uuid
resourceId
Required

The id of the resource for the event

integer As int64 As int64
startTimeUTC
Optional
Constraints: minimum: 946684800000

The start time for the event in UTC.
This time must be after >= 946684800000L, or January 1, 2000. Default is 946684800000L.
Value is ignored for Change events.

integer As int64 As int64
cancelTimeUTC
Optional

Indicates that an event has been cancelled. For an externally managed event a new event with
the same message value must be sent with a cancelTime in order to cancel the
event.

string
message
Required

Event message, the message identifies the event in the system.

string
severity
Optional

The Criticality level

Possible values are : UNKNOWN, NONE, INFORMATION, WARNING, IMMEDIATE, CRITICAL, AUTO,
string
key
Optional

The StatKey for the condition of the HardThreshold event

string
htType
Optional

The type of Metric Event or Metric Event Condition

Possible values are : EQUAL, NOT_EQUAL, ABOVE, BELOW,
string
diagnosticSubType
Optional

The subtype of Diagnostic Event

Possible values are : HEALTH, LOG, HISTORY, SNAPSHOT, WORKLOAD, TROUBLESHOOT, UNKNOWN,
string
notificationSubType
Optional

The subtype of Notification Event

Possible values are : LOG, UNKNOWN,
number As double As double
value
Optional

The current value (not the expected value) of the metric for the HardThreshold event

boolean
keyIndicator
Optional

Whether the HardThreshold event is a key performance indicator
True indicates it is a KPI. False otherwise.

boolean
managedExternally
Optional

If set to true, this event shall persist across collection cycles until another event is pushed
to change the status.
If set to false, this event will be cancelled during the next collection cycle if it is not pushed again