(Click to open topic with navigation)
See the associated Notification Conditions resource section for more information on how to use this resource and supported operations.
Additional references
Type | Value | Additional information |
---|---|---|
Permissions resource | notification-conditions | Permissions |
Hooks filename | notification-conditions.groovy | Pre- and Post-Processing Hooks |
Distinct query-supported | Yes | Distinct |
A notification condition is related to an Event, but differs in three distinct areas:
Field Name | Type | PUT | Description |
---|---|---|---|
id | String | No |
The identifier of the condition. |
createdDate | Date | No |
The date that the condition first started appearing. |
details | Map<String, Map> | No |
Arbitrary storage of details for this notification. This could include "pluginType", "pluginId", etc. |
escalationLevel | EscalationLevel | No |
The escalation level of the condition. This indicates who should care about the condition or who can respond to it. This may NOT be EscalationLevel.INTERNAL. |
expirationDate | Date | No |
The date at which the condition is considered "expired" and notifications are no longer created for it. This is typically set using the expirationDuration field. |
expirationDuration | Long | No |
The duration in seconds that may pass before a notification will not be created for a user. Effectively this can disable notifications from being created if they are too old. When this field is set, it will set the expirationDate field automatically each time the condition is updated or on creation. This field must be set to 1 or greater or else set to null. |
message | String | No |
A message detailing the notification and why it exists, with possible action items. |
objectId | String | No |
The identifier of the object which this notification affects, such as "node1" or "vm1". |
objectType | String | No |
The object type that this notification affects, such as "Node", "VM", "System", etc. |
observedDate | Date | No |
The latest date that the condition was observed. If this field is not set in an update request, it will automatically be set to the current date. |
origin | String | No |
The origin of the notification. |
tenant | Map<String, Map> | No |
The tenant that this notification came from. (contains tenant id and name) |
Value | Description |
---|---|
USER | |
POWER_USER | |
ADMIN | |
INTERNAL |
Related Topics