Suppression

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

Bases: object

The configuration details for suppressing an alarm. For information about alarms, see Alarms Overview.

Warning: Oracle recommends that you avoid using any confidential information when you supply string values using the API.

__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: 2019-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: 2019-02-01T02:02:29.600Z

Returns:The time_suppress_until of this Suppression.
Return type:datetime