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. |
EventPattern
Required
EventPattern interface{}
- Type: interface{}
Property eventPattern: Event pattern configuration.A maximum of 20 event patterns.
RuleName
Required
RuleName interface{}
- Type: interface{}
Property ruleName: The name of the alarm rule.
Description
Optional
Description interface{}
- Type: interface{}
Property description: The description of the alert rule.
EventType
Optional
EventType interface{}
- Type: interface{}
Property eventType: The type of the event alert.
Valid values: SYSTEM CUSTOM
GroupId
Optional
GroupId interface{}
- Type: interface{}
Property groupId: The ID of the application group.
State
Optional
State interface{}
- Type: interface{}
Property state: The status of the alert rule.
Valid values: ENABLED DISABLED