AlarmHistoryEntry

class oci.monitoring.models.AlarmHistoryEntry(**kwargs)

Bases: object

An alarm history entry indicating a description of the entry and the time that the entry occurred. If the entry corresponds to a state transition, such as OK to Firing, then the entry also includes a transition timestamp.

__init__(**kwargs)

Initializes a new AlarmHistoryEntry object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • summary (str) -- The value to assign to the summary property of this AlarmHistoryEntry.
  • timestamp (datetime) -- The value to assign to the timestamp property of this AlarmHistoryEntry.
  • timestamp_triggered (datetime) -- The value to assign to the timestamp_triggered property of this AlarmHistoryEntry.
summary

[Required] Gets the summary of this AlarmHistoryEntry. Description for this alarm history entry. Avoid entering confidential information.

Example 1 - alarm state history entry: The alarm state is FIRING

Example 2 - alarm state transition history entry: State transitioned from OK to Firing

Returns:The summary of this AlarmHistoryEntry.
Return type:str
timestamp

[Required] Gets the timestamp of this AlarmHistoryEntry. Timestamp for this alarm history entry. Format defined by RFC3339.

Example: 2019-02-01T01:02:29.600Z

Returns:The timestamp of this AlarmHistoryEntry.
Return type:datetime
timestamp_triggered

Gets the timestamp_triggered of this AlarmHistoryEntry. Timestamp for the transition of the alarm state. For example, the time when the alarm transitioned from OK to Firing. Available for state transition entries only. Note: A three-minute lag for this value accounts for any late-arriving metrics.

Example: 2019-02-01T0:59:00.789Z

Returns:The timestamp_triggered of this AlarmHistoryEntry.
Return type:datetime