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