AlertsSuppressionRuleProperties Class

Definition

describes AlertsSuppressionRule properties

public class AlertsSuppressionRuleProperties
type AlertsSuppressionRuleProperties = class
Public Class AlertsSuppressionRuleProperties
Inheritance
AlertsSuppressionRuleProperties

Constructors

AlertsSuppressionRuleProperties()

Initializes a new instance of the AlertsSuppressionRuleProperties class.

AlertsSuppressionRuleProperties(String, String, RuleState, Nullable<DateTime>, Nullable<DateTime>, String, SuppressionAlertsScope)

Initializes a new instance of the AlertsSuppressionRuleProperties class.

Properties

AlertType

Gets or sets type of the alert to automatically suppress. For all alert types, use '*'

Comment

Gets or sets any comment regarding the rule

ExpirationDateUtc

Gets or sets expiration date of the rule, if value is not provided or provided as null this field will default to the maximum allowed expiration date.

LastModifiedUtc

Gets the last time this rule was modified

Reason

Gets or sets the reason for dismissing the alert

State

Gets or sets possible states of the rule Possible values include: 'Enabled', 'Disabled', 'Expired'

SuppressionAlertsScope

Gets or sets the suppression conditions

Methods

Validate()

Validate the object.

Applies to