Class AlertPolicyRuleSummary
A rule associated with an alert policy.
Inherited Members
Namespace: Oci.DatasafeService.Models
Assembly: OCI.DotNetSDK.Datasafe.dll
Syntax
public class AlertPolicyRuleSummary
Properties
Description
Declaration
[JsonProperty(PropertyName = "description")]
public string Description { get; set; }
Property Value
Type | Description |
---|---|
string | Describes the alert policy rule. |
DisplayName
Declaration
[JsonProperty(PropertyName = "displayName")]
public string DisplayName { get; set; }
Property Value
Type | Description |
---|---|
string | The display name of the alert policy rule. |
Expression
Declaration
[Required(ErrorMessage = "Expression is required.")]
[JsonProperty(PropertyName = "expression")]
public string Expression { get; set; }
Property Value
Type | Description |
---|---|
string | The conditional expression of the alert policy rule which evaluates to boolean value. |
Remarks
Required
Key
Declaration
[Required(ErrorMessage = "Key is required.")]
[JsonProperty(PropertyName = "key")]
public string Key { get; set; }
Property Value
Type | Description |
---|---|
string | The unique key of the alert policy rule. |
Remarks
Required
LifecycleState
Declaration
[JsonProperty(PropertyName = "lifecycleState")]
[JsonConverter(typeof(ResponseEnumConverter))]
public AlertPolicyRuleLifecycleState? LifecycleState { get; set; }
Property Value
Type | Description |
---|---|
AlertPolicyRuleLifecycleState? | The current state of the alert policy rule. |
TimeCreated
Declaration
[JsonProperty(PropertyName = "timeCreated")]
public DateTime? TimeCreated { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | Creation date and time of the alert policy rule, in the format defined by RFC3339. |