AlertPolicyRuleSummary¶
-
class
oci.data_safe.models.
AlertPolicyRuleSummary
(**kwargs)¶ Bases:
object
A rule associated with an alert policy.
Methods
__init__
(**kwargs)Initializes a new AlertPolicyRuleSummary object with values from keyword arguments. Attributes
description
Gets the description of this AlertPolicyRuleSummary. expression
[Required] Gets the expression of this AlertPolicyRuleSummary. key
[Required] Gets the key of this AlertPolicyRuleSummary. -
__init__
(**kwargs)¶ Initializes a new AlertPolicyRuleSummary object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - key (str) – The value to assign to the key property of this AlertPolicyRuleSummary.
- description (str) – The value to assign to the description property of this AlertPolicyRuleSummary.
- expression (str) – The value to assign to the expression property of this AlertPolicyRuleSummary.
-
description
¶ Gets the description of this AlertPolicyRuleSummary. Describes the alert policy rule.
Returns: The description of this AlertPolicyRuleSummary. Return type: str
-
expression
¶ [Required] Gets the expression of this AlertPolicyRuleSummary. The conditional expression of the alert policy rule which evaluates to boolean value.
Returns: The expression of this AlertPolicyRuleSummary. Return type: str
-
key
¶ [Required] Gets the key of this AlertPolicyRuleSummary. The unique key of the alert policy rule.
Returns: The key of this AlertPolicyRuleSummary. Return type: str
-