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{},
State: interface{},
}
Properties
| Name | Type | Description |
|---|---|---|
EventPattern |
interface{} |
Property eventPattern: Event pattern configuration.A maximum of 20 event patterns. |
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 alert. |
GroupId |
interface{} |
Property groupId: The ID of the application group. |
State |
interface{} |
Property state: The status of the alert rule. |
EventPatternRequired
EventPattern interface{}
- Type: interface{}
Property eventPattern: Event pattern configuration.A maximum of 20 event patterns.
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 alert.
Valid values: SYSTEM CUSTOM
GroupIdOptional
GroupId interface{}
- Type: interface{}
Property groupId: The ID of the application group.
StateOptional
State interface{}
- Type: interface{}
Property state: The status of the alert rule.
Valid values: ENABLED DISABLED