AlarmHistoryCollection¶
- class oci.monitoring.models.AlarmHistoryCollection(**kwargs)¶
Bases:
objectThe configuration details for retrieving alarm history.
Methods:
__init__(**kwargs)Initializes a new AlarmHistoryCollection object with values from keyword arguments.
Attributes:
[Required] Gets the alarm_id of this AlarmHistoryCollection.
[Required] Gets the entries of this AlarmHistoryCollection.
[Required] Gets the is_enabled of this AlarmHistoryCollection.
- __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[oci.monitoring.models.AlarmHistoryEntry]) – The value to assign to the entries property of this AlarmHistoryCollection.
- property alarm_id¶
[Required] Gets the alarm_id of this AlarmHistoryCollection. The OCID of the alarm to retrieve history for.
- Returns
The alarm_id of this AlarmHistoryCollection.
- Return type
str
- property 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
- property 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