SummarizeAlarmSuppressionHistoryDetails

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

Bases: object

The configuration details for returning history of suppressions for the specified alarm.

Methods

__init__(**kwargs) Initializes a new SummarizeAlarmSuppressionHistoryDetails object with values from keyword arguments.

Attributes

dimensions Gets the dimensions of this SummarizeAlarmSuppressionHistoryDetails.
time_suppress_from_greater_than_or_equal_to Gets the time_suppress_from_greater_than_or_equal_to of this SummarizeAlarmSuppressionHistoryDetails.
time_suppress_from_less_than Gets the time_suppress_from_less_than of this SummarizeAlarmSuppressionHistoryDetails.
__init__(**kwargs)

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

Parameters:
  • dimensions (dict(str, str)) – The value to assign to the dimensions property of this SummarizeAlarmSuppressionHistoryDetails.
  • time_suppress_from_greater_than_or_equal_to (datetime) – The value to assign to the time_suppress_from_greater_than_or_equal_to property of this SummarizeAlarmSuppressionHistoryDetails.
  • time_suppress_from_less_than (datetime) – The value to assign to the time_suppress_from_less_than property of this SummarizeAlarmSuppressionHistoryDetails.
dimensions

Gets the dimensions of this SummarizeAlarmSuppressionHistoryDetails. A filter to suppress only alarm state entries that include the set of specified dimension key-value pairs. If you specify {“availabilityDomain”: “phx-ad-1”} and the alarm state entry corresponds to the set {“availabilityDomain”: “phx-ad-1” and “resourceId”: “ocid1.instance.region1.phx.exampleuniqueID”}, then this alarm will be included for suppression.

Example: {“resourceId”: “ocid1.instance.region1.phx.exampleuniqueID”}

Returns:The dimensions of this SummarizeAlarmSuppressionHistoryDetails.
Return type:dict(str, str)
time_suppress_from_greater_than_or_equal_to

Gets the time_suppress_from_greater_than_or_equal_to of this SummarizeAlarmSuppressionHistoryDetails. A filter to return only entries with “timeSuppressFrom” time occurring on or after the specified time.

The value cannot be a future time. Format defined by RFC3339.

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

Returns:The time_suppress_from_greater_than_or_equal_to of this SummarizeAlarmSuppressionHistoryDetails.
Return type:datetime
time_suppress_from_less_than

Gets the time_suppress_from_less_than of this SummarizeAlarmSuppressionHistoryDetails. A filter to return only entries with “timeSuppressFrom” time occurring before the specified time.

The value cannot be a future time. Format defined by RFC3339.

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

Returns:The time_suppress_from_less_than of this SummarizeAlarmSuppressionHistoryDetails.
Return type:datetime