CreateAlertPolicyRuleDetails

class oci.data_safe.models.CreateAlertPolicyRuleDetails(**kwargs)

Bases: object

The details used to create a new alert policy rule.

Methods

__init__(**kwargs) Initializes a new CreateAlertPolicyRuleDetails object with values from keyword arguments.

Attributes

description Gets the description of this CreateAlertPolicyRuleDetails.
display_name Gets the display_name of this CreateAlertPolicyRuleDetails.
expression [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.
description

Gets the description of this CreateAlertPolicyRuleDetails. Describes the alert policy rule.

Returns:The description of this CreateAlertPolicyRuleDetails.
Return type:str
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
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