AlertsSuppressionRule Class

Definition

Describes the suppression rule

[Microsoft.Rest.Serialization.JsonTransformation]
public class AlertsSuppressionRule : Microsoft.Azure.Management.Security.Models.Resource
[<Microsoft.Rest.Serialization.JsonTransformation>]
type AlertsSuppressionRule = class
    inherit Resource
Public Class AlertsSuppressionRule
Inherits Resource
Inheritance
AlertsSuppressionRule
Attributes

Constructors

AlertsSuppressionRule()

Initializes a new instance of the AlertsSuppressionRule class.

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

Initializes a new instance of the AlertsSuppressionRule 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.

Id

Gets resource Id

(Inherited from Resource)
LastModifiedUtc

Gets the last time this rule was modified

Name

Gets resource name

(Inherited from Resource)
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

Type

Gets resource type

(Inherited from Resource)

Methods

Validate()

Validate the object.

Extension Methods

ConvertToPSType(AlertsSuppressionRule)

Applies to