ThresholdCustomAlertRule Constructors

Definition

Overloads

ThresholdCustomAlertRule(Boolean, Int32, Int32)

Source:
ThresholdCustomAlertRule.cs
Source:
ThresholdCustomAlertRule.cs

Initializes a new instance of ThresholdCustomAlertRule.

public ThresholdCustomAlertRule(bool isEnabled, int minThreshold, int maxThreshold);
new Azure.ResourceManager.SecurityCenter.Models.ThresholdCustomAlertRule : bool * int * int -> Azure.ResourceManager.SecurityCenter.Models.ThresholdCustomAlertRule
Public Sub New (isEnabled As Boolean, minThreshold As Integer, maxThreshold As Integer)

Parameters

isEnabled
Boolean

Status of the custom alert.

minThreshold
Int32

The minimum threshold.

maxThreshold
Int32

The maximum threshold.

Applies to

ThresholdCustomAlertRule(String, Boolean, Int32, Int32)

Source:
ThresholdCustomAlertRule.cs

Initializes a new instance of ThresholdCustomAlertRule.

protected ThresholdCustomAlertRule(string ruleType, bool isEnabled, int minThreshold, int maxThreshold);
new Azure.ResourceManager.SecurityCenter.Models.ThresholdCustomAlertRule : string * bool * int * int -> Azure.ResourceManager.SecurityCenter.Models.ThresholdCustomAlertRule
Protected Sub New (ruleType As String, isEnabled As Boolean, minThreshold As Integer, maxThreshold As Integer)

Parameters

ruleType
String

The type of the custom alert rule.

isEnabled
Boolean

Status of the custom alert.

minThreshold
Int32

The minimum threshold.

maxThreshold
Int32

The maximum threshold.

Applies to