AlarmSuppressionTarget¶
- class oci.monitoring.models.AlarmSuppressionTarget(**kwargs)¶
Bases:
objectThe target of the alarm suppression.
Attributes:
A constant which can be used with the target_type property of a AlarmSuppressionTarget.
A constant which can be used with the target_type property of a AlarmSuppressionTarget.
[Required] Gets the target_type of this AlarmSuppressionTarget.
Methods:
__init__(**kwargs)Initializes a new AlarmSuppressionTarget object with values from keyword arguments.
get_subtype(object_dictionary)Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
- TARGET_TYPE_ALARM = 'ALARM'¶
A constant which can be used with the target_type property of a AlarmSuppressionTarget. This constant has a value of “ALARM”
- TARGET_TYPE_COMPARTMENT = 'COMPARTMENT'¶
A constant which can be used with the target_type property of a AlarmSuppressionTarget. This constant has a value of “COMPARTMENT”
- __init__(**kwargs)¶
Initializes a new AlarmSuppressionTarget object with values from keyword arguments. This class has the following subclasses and if you are using this class as input to a service operations then you should favor using a subclass over the base class:
The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
target_type (str) – The value to assign to the target_type property of this AlarmSuppressionTarget. Allowed values for this property are: “ALARM”, “COMPARTMENT”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- static get_subtype(object_dictionary)¶
Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
- property target_type¶
[Required] Gets the target_type of this AlarmSuppressionTarget. The type of the alarm suppression target.
Allowed values for this property are: “ALARM”, “COMPARTMENT”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The target_type of this AlarmSuppressionTarget.
- Return type
str