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 SilenceTime = null,
    object State = null
};

Properties

Name Type Description
EventPattern object Property eventPattern: The pattern of the event-triggered alert rule.
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.
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 event-triggered alert rule.

EventPatternRequired

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

Property eventPattern: The pattern of the event-triggered alert rule.


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.

Valid values:

  • SYSTEM: a system event.
  • CUSTOM: a custom event.

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 event-triggered alert rule.

Valid values:

  • ENABLED: The rule is enabled.
  • DISABLED: The rule is disabled.