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 SilenceTime = 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. |
SilenceTime | object | Property silenceTime: Channel silence time in seconds. |
State | object | Property state: The status of the alert rule. |
EventPatternRequired
public object EventPattern { get; set; }
- Type: object
Property eventPattern: Event pattern configuration.A maximum of 20 event patterns.
RuleNameRequired
public object RuleName { get; set; }
- Type: object
Property ruleName: The name of the alarm rule.
DescriptionOptional
public object Description { get; set; }
- Type: object
Property description: The description of the alert rule.
EventTypeOptional
public object EventType { get; set; }
- Type: object
Property eventType: The type of the event alert.
Valid values: SYSTEM CUSTOM
GroupIdOptional
public object GroupId { get; set; }
- Type: object
Property groupId: The ID of the application group.
SilenceTimeOptional
public object SilenceTime { get; set; }
- Type: object
Property silenceTime: Channel silence time in seconds.
StateOptional
public object State { get; set; }
- Type: object
Property state: The status of the alert rule.
Valid values: ENABLED DISABLED