ThresholdCustomAlertRule Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| ThresholdCustomAlertRule(Boolean, Int32, Int32) |
Initializes a new instance of ThresholdCustomAlertRule. |
| ThresholdCustomAlertRule(String, Boolean, Int32, Int32) |
Initializes a new instance of ThresholdCustomAlertRule. |
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.