共用方式為


AlertProcessingRuleProperties Constructors

Definition

Overloads

AlertProcessingRuleProperties()

Initializes a new instance of the AlertProcessingRuleProperties class.

AlertProcessingRuleProperties(IList<String>, IList<Action>, IList<Condition>, Schedule, String, Nullable<Boolean>)

Initializes a new instance of the AlertProcessingRuleProperties class.

AlertProcessingRuleProperties()

Initializes a new instance of the AlertProcessingRuleProperties class.

public AlertProcessingRuleProperties ();
Public Sub New ()

Applies to

AlertProcessingRuleProperties(IList<String>, IList<Action>, IList<Condition>, Schedule, String, Nullable<Boolean>)

Initializes a new instance of the AlertProcessingRuleProperties class.

public AlertProcessingRuleProperties (System.Collections.Generic.IList<string> scopes, System.Collections.Generic.IList<Microsoft.Azure.Management.AlertsManagement.Models.Action> actions, System.Collections.Generic.IList<Microsoft.Azure.Management.AlertsManagement.Models.Condition> conditions = default, Microsoft.Azure.Management.AlertsManagement.Models.Schedule schedule = default, string description = default, bool? enabled = default);
new Microsoft.Azure.Management.AlertsManagement.Models.AlertProcessingRuleProperties : System.Collections.Generic.IList<string> * System.Collections.Generic.IList<Microsoft.Azure.Management.AlertsManagement.Models.Action> * System.Collections.Generic.IList<Microsoft.Azure.Management.AlertsManagement.Models.Condition> * Microsoft.Azure.Management.AlertsManagement.Models.Schedule * string * Nullable<bool> -> Microsoft.Azure.Management.AlertsManagement.Models.AlertProcessingRuleProperties
Public Sub New (scopes As IList(Of String), actions As IList(Of Action), Optional conditions As IList(Of Condition) = Nothing, Optional schedule As Schedule = Nothing, Optional description As String = Nothing, Optional enabled As Nullable(Of Boolean) = Nothing)

Parameters

scopes
IList<String>

Scopes on which alert processing rule will apply.

actions
IList<Action>

Actions to be applied.

conditions
IList<Condition>

Conditions on which alerts will be filtered.

schedule
Schedule

Scheduling for alert processing rule.

description
String

Description of alert processing rule.

enabled
Nullable<Boolean>

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

Applies to