Skip to content

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.

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.


StateOptional

public object State { get; set; }
  • Type: object

Property state: The status of the alert rule.

Valid values: ENABLED DISABLED