ArmSecurityCenterModelFactory.ThresholdCustomAlertRule Method
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.
Initializes a new instance of ThresholdCustomAlertRule.
public static Azure.ResourceManager.SecurityCenter.Models.ThresholdCustomAlertRule ThresholdCustomAlertRule (string displayName = default, string description = default, bool isEnabled = false, int minThreshold = 0, int maxThreshold = 0);
static member ThresholdCustomAlertRule : string * string * bool * int * int -> Azure.ResourceManager.SecurityCenter.Models.ThresholdCustomAlertRule
Public Shared Function ThresholdCustomAlertRule (Optional displayName As String = Nothing, Optional description As String = Nothing, Optional isEnabled As Boolean = false, Optional minThreshold As Integer = 0, Optional maxThreshold As Integer = 0) As ThresholdCustomAlertRule
Parameters
- displayName
- String
The display name of the custom alert.
- description
- String
The description of the custom alert.
- isEnabled
- Boolean
Status of the custom alert.
- minThreshold
- Int32
The minimum threshold.
- maxThreshold
- Int32
The maximum threshold.
Returns
A new ThresholdCustomAlertRule instance for mocking.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET