EventRuleProps
Properties for defining a EventRule
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-cms-eventrule
Initializer
using AlibabaCloud.SDK.ROS.CDK.Cms;
new EventRuleProps {
object EventPattern,
object RuleName,
object Description = null,
object EventType = null,
object GroupId = null,
object State = null
};
Properties
Name | Type | Description |
---|---|---|
EventPattern |
object |
Property eventPattern: Event pattern configuration.A maximum of 20 event patterns. |
RuleName |
object |
Property ruleName: The name of the alarm rule. |
Description |
object |
Property description: The description of the alert rule. |
EventType |
object |
Property eventType: The type of the event alert. |
GroupId |
object |
Property groupId: The ID of the application group. |
State |
object |
Property state: The status of the alert rule. |
EventPattern
Required
public object EventPattern { get; set; }
- Type: object
Property eventPattern: Event pattern configuration.A maximum of 20 event patterns.
RuleName
Required
public object RuleName { get; set; }
- Type: object
Property ruleName: The name of the alarm rule.
Description
Optional
public object Description { get; set; }
- Type: object
Property description: The description of the alert rule.
EventType
Optional
public object EventType { get; set; }
- Type: object
Property eventType: The type of the event alert.
Valid values: SYSTEM CUSTOM
GroupId
Optional
public object GroupId { get; set; }
- Type: object
Property groupId: The ID of the application group.
State
Optional
public object State { get; set; }
- Type: object
Property state: The status of the alert rule.
Valid values: ENABLED DISABLED