AlarmHistoryCollection

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

Bases: object

The configuration details for retrieving alarm history.

__init__(**kwargs)

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

Parameters:
  • alarm_id (str) -- The value to assign to the alarm_id property of this AlarmHistoryCollection.
  • is_enabled (bool) -- The value to assign to the is_enabled property of this AlarmHistoryCollection.
  • entries (list[AlarmHistoryEntry]) -- The value to assign to the entries property of this AlarmHistoryCollection.
alarm_id

[Required] Gets the alarm_id of this AlarmHistoryCollection. The OCID of the alarm for which to retrieve history.

Returns:The alarm_id of this AlarmHistoryCollection.
Return type:str
entries

[Required] Gets the entries of this AlarmHistoryCollection. The set of history entries retrieved for the alarm.

Returns:The entries of this AlarmHistoryCollection.
Return type:list[AlarmHistoryEntry]
is_enabled

[Required] Gets the is_enabled of this AlarmHistoryCollection. Whether the alarm is enabled.

Example: true

Returns:The is_enabled of this AlarmHistoryCollection.
Return type:bool