DefinedAlarmCondition¶
- 
class oci.stack_monitoring.models.DefinedAlarmCondition(**kwargs)¶
- Bases: - object- Defined Alarm Condition. - Attributes - CONDITION_TYPE_AVAILABILITY- A constant which can be used with the condition_type property of a DefinedAlarmCondition. - CONDITION_TYPE_FIXED- A constant which can be used with the condition_type property of a DefinedAlarmCondition. - condition_type- [Required] Gets the condition_type of this DefinedAlarmCondition. - conditions- [Required] Gets the conditions of this DefinedAlarmCondition. - metric_name- [Required] Gets the metric_name of this DefinedAlarmCondition. - Methods - __init__(**kwargs)- Initializes a new DefinedAlarmCondition object with values from keyword arguments. - 
CONDITION_TYPE_AVAILABILITY= 'AVAILABILITY'¶
- A constant which can be used with the condition_type property of a DefinedAlarmCondition. This constant has a value of “AVAILABILITY” 
 - 
CONDITION_TYPE_FIXED= 'FIXED'¶
- A constant which can be used with the condition_type property of a DefinedAlarmCondition. This constant has a value of “FIXED” 
 - 
__init__(**kwargs)¶
- Initializes a new DefinedAlarmCondition object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): - Parameters: - metric_name (str) – The value to assign to the metric_name property of this DefinedAlarmCondition.
- condition_type (str) – The value to assign to the condition_type property of this DefinedAlarmCondition. Allowed values for this property are: “FIXED”, “AVAILABILITY”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- conditions (list[oci.stack_monitoring.models.Condition]) – The value to assign to the conditions property of this DefinedAlarmCondition.
 
 - 
condition_type¶
- [Required] Gets the condition_type of this DefinedAlarmCondition. Type of defined monitoring template. - Allowed values for this property are: “FIXED”, “AVAILABILITY”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’. - Returns: - The condition_type of this DefinedAlarmCondition. - Return type: - str 
 - 
conditions¶
- [Required] Gets the conditions of this DefinedAlarmCondition. Monitoring template conditions. - Returns: - The conditions of this DefinedAlarmCondition. - Return type: - list[oci.stack_monitoring.models.Condition] 
 - 
metric_name¶
- [Required] Gets the metric_name of this DefinedAlarmCondition. The metric name. - Returns: - The metric_name of this DefinedAlarmCondition. - Return type: - str 
 
-