AlertPolicyRuleSummary¶
- class oci.data_safe.models.AlertPolicyRuleSummary(**kwargs)¶
Bases:
objectA rule associated with an alert policy.
Attributes:
A constant which can be used with the lifecycle_state property of a AlertPolicyRuleSummary.
A constant which can be used with the lifecycle_state property of a AlertPolicyRuleSummary.
A constant which can be used with the lifecycle_state property of a AlertPolicyRuleSummary.
A constant which can be used with the lifecycle_state property of a AlertPolicyRuleSummary.
A constant which can be used with the lifecycle_state property of a AlertPolicyRuleSummary.
Gets the description of this AlertPolicyRuleSummary.
Gets the display_name of this AlertPolicyRuleSummary.
[Required] Gets the expression of this AlertPolicyRuleSummary.
[Required] Gets the key of this AlertPolicyRuleSummary.
Gets the lifecycle_state of this AlertPolicyRuleSummary.
Gets the time_created of this AlertPolicyRuleSummary.
Methods:
__init__(**kwargs)Initializes a new AlertPolicyRuleSummary object with values from keyword arguments.
- LIFECYCLE_STATE_ACTIVE = 'ACTIVE'¶
A constant which can be used with the lifecycle_state property of a AlertPolicyRuleSummary. This constant has a value of “ACTIVE”
- LIFECYCLE_STATE_CREATING = 'CREATING'¶
A constant which can be used with the lifecycle_state property of a AlertPolicyRuleSummary. This constant has a value of “CREATING”
- LIFECYCLE_STATE_DELETING = 'DELETING'¶
A constant which can be used with the lifecycle_state property of a AlertPolicyRuleSummary. This constant has a value of “DELETING”
- LIFECYCLE_STATE_FAILED = 'FAILED'¶
A constant which can be used with the lifecycle_state property of a AlertPolicyRuleSummary. This constant has a value of “FAILED”
- LIFECYCLE_STATE_UPDATING = 'UPDATING'¶
A constant which can be used with the lifecycle_state property of a AlertPolicyRuleSummary. This constant has a value of “UPDATING”
- __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.
lifecycle_state (str) – The value to assign to the lifecycle_state property of this AlertPolicyRuleSummary. Allowed values for this property are: “CREATING”, “UPDATING”, “ACTIVE”, “DELETING”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
display_name (str) – The value to assign to the display_name property of this AlertPolicyRuleSummary.
time_created (datetime) – The value to assign to the time_created property of this AlertPolicyRuleSummary.
- property description¶
Gets the description of this AlertPolicyRuleSummary. Describes the alert policy rule.
- Returns
The description of this AlertPolicyRuleSummary.
- Return type
str
- property display_name¶
Gets the display_name of this AlertPolicyRuleSummary. The display name of the alert policy rule.
- Returns
The display_name of this AlertPolicyRuleSummary.
- Return type
str
- property 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
- property 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
- property lifecycle_state¶
Gets the lifecycle_state of this AlertPolicyRuleSummary. The current state of the alert policy rule.
Allowed values for this property are: “CREATING”, “UPDATING”, “ACTIVE”, “DELETING”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The lifecycle_state of this AlertPolicyRuleSummary.
- Return type
str