AlertPolicyRule

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

Bases: object

A rule associated with a alert policy.

Methods

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

Attributes

description Gets the description of this AlertPolicyRule.
expression [Required] Gets the expression of this AlertPolicyRule.
key [Required] Gets the key of this AlertPolicyRule.
__init__(**kwargs)

Initializes a new AlertPolicyRule 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 AlertPolicyRule.
  • description (str) – The value to assign to the description property of this AlertPolicyRule.
  • expression (str) – The value to assign to the expression property of this AlertPolicyRule.
description

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

Returns:The description of this AlertPolicyRule.
Return type:str
expression

[Required] Gets the expression of this AlertPolicyRule. The conditional expression of the alert policy rule which evaluates to boolean value.

Returns:The expression of this AlertPolicyRule.
Return type:str
key

[Required] Gets the key of this AlertPolicyRule. The unique key of the alert policy rule.

Returns:The key of this AlertPolicyRule.
Return type:str