AlarmHistoryCollection¶
-
class
oci.monitoring.models.
AlarmHistoryCollection
(**kwargs)¶ Bases:
object
The configuration details for retrieving alarm history.
Methods
__init__
(**kwargs)Initializes a new AlarmHistoryCollection object with values from keyword arguments. Attributes
alarm_id
[Required] Gets the alarm_id of this AlarmHistoryCollection. entries
[Required] Gets the entries of this AlarmHistoryCollection. is_enabled
[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.
-
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
-
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[oci.monitoring.models.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
-