EventRuleProps
Properties for defining a EventRule.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-cms-eventrule
Initializer
import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkcms"
&alicloudroscdkcms.EventRuleProps {
EventPattern: interface{},
RuleName: interface{},
Description: interface{},
EventType: interface{},
GroupId: interface{},
SilenceTime: interface{},
State: interface{},
}
Properties
| Name | Type | Description |
|---|---|---|
EventPattern | interface{} | Property eventPattern: The pattern of the event-triggered alert rule. |
RuleName | interface{} | Property ruleName: The name of the alarm rule. |
Description | interface{} | Property description: The description of the alert rule. |
EventType | interface{} | Property eventType: The type of the event. |
GroupId | interface{} | Property groupId: The ID of the application group. |
SilenceTime | interface{} | Property silenceTime: Channel silence time in seconds. |
State | interface{} | Property state: The status of the event-triggered alert rule. |
EventPatternRequired
EventPattern interface{}
- Type: interface{}
Property eventPattern: The pattern of the event-triggered alert rule.
RuleNameRequired
RuleName interface{}
- Type: interface{}
Property ruleName: The name of the alarm rule.
DescriptionOptional
Description interface{}
- Type: interface{}
Property description: The description of the alert rule.
EventTypeOptional
EventType interface{}
- Type: interface{}
Property eventType: The type of the event.
Valid values:
- SYSTEM: a system event.
- CUSTOM: a custom event.
GroupIdOptional
GroupId interface{}
- Type: interface{}
Property groupId: The ID of the application group.
SilenceTimeOptional
SilenceTime interface{}
- Type: interface{}
Property silenceTime: Channel silence time in seconds.
StateOptional
State interface{}
- Type: interface{}
Property state: The status of the event-triggered alert rule.
Valid values:
- ENABLED: The rule is enabled.
- DISABLED: The rule is disabled.