Suppression¶
-
class
oci.monitoring.models.
Suppression
(**kwargs)¶ Bases:
object
The configuration details for an alarm-wide suppression. For dimension-specific suppressions, see
AlarmSuppression
.For information about alarms, see Alarms Overview.
Methods
__init__
(**kwargs)Initializes a new Suppression object with values from keyword arguments. Attributes
description
Gets the description of this Suppression. time_suppress_from
[Required] Gets the time_suppress_from of this Suppression. time_suppress_until
[Required] Gets the time_suppress_until of this Suppression. -
__init__
(**kwargs)¶ Initializes a new Suppression object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - description (str) – The value to assign to the description property of this Suppression.
- time_suppress_from (datetime) – The value to assign to the time_suppress_from property of this Suppression.
- time_suppress_until (datetime) – The value to assign to the time_suppress_until property of this Suppression.
-
description
¶ Gets the description of this Suppression. Human-readable reason for suppressing alarm notifications. It does not have to be unique, and it’s changeable. Avoid entering confidential information.
Oracle recommends including tracking information for the event or associated work, such as a ticket number.
Example: Planned outage due to change IT-1234.
Returns: The description of this Suppression. Return type: str
-
time_suppress_from
¶ [Required] Gets the time_suppress_from of this Suppression. The start date and time for the suppression to take place, inclusive. Format defined by RFC3339.
Example: 2023-02-01T01:02:29.600Z
Returns: The time_suppress_from of this Suppression. Return type: datetime
-
time_suppress_until
¶ [Required] Gets the time_suppress_until of this Suppression. The end date and time for the suppression to take place, inclusive. Format defined by RFC3339.
Example: 2023-02-01T02:02:29.600Z
Returns: The time_suppress_until of this Suppression. Return type: datetime
-