共用方式為


AlertProcessingRuleProperties Class

Definition

Alert processing rule properties defining scopes, conditions and scheduling logic for alert processing rule.

public class AlertProcessingRuleProperties
type AlertProcessingRuleProperties = class
Public Class AlertProcessingRuleProperties
Inheritance
AlertProcessingRuleProperties

Constructors

AlertProcessingRuleProperties(IEnumerable<String>, IEnumerable<AlertProcessingRuleAction>)

Initializes a new instance of AlertProcessingRuleProperties.

Properties

Actions

Actions to be applied. Please note AlertProcessingRuleAction is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include AlertProcessingRuleAddGroupsAction and AlertProcessingRuleRemoveAllGroupsAction.

Conditions

Conditions on which alerts will be filtered.

Description

Description of alert processing rule.

IsEnabled

Indicates if the given alert processing rule is enabled or disabled.

Schedule

Scheduling for alert processing rule.

Scopes

Scopes on which alert processing rule will apply.

Applies to