ArmSecurityCenterModelFactory.TimeWindowCustomAlertRule 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 TimeWindowCustomAlertRule.
public static Azure.ResourceManager.SecurityCenter.Models.TimeWindowCustomAlertRule TimeWindowCustomAlertRule (string displayName = default, string description = default, bool isEnabled = false, int minThreshold = 0, int maxThreshold = 0, TimeSpan timeWindowSize = default);
static member TimeWindowCustomAlertRule : string * string * bool * int * int * TimeSpan -> Azure.ResourceManager.SecurityCenter.Models.TimeWindowCustomAlertRule
Public Shared Function TimeWindowCustomAlertRule (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, Optional timeWindowSize As TimeSpan = Nothing) As TimeWindowCustomAlertRule
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.
- timeWindowSize
- TimeSpan
The time window size in iso8601 format.
Returns
A new TimeWindowCustomAlertRule instance for mocking.
Applies to
Spolupracujte s námi na GitHubu
Zdroj tohoto obsahu najdete na GitHubu, kde můžete také vytvářet a kontrolovat problémy a žádosti o přijetí změn. Další informace najdete v našem průvodci pro přispěvatele.
Azure SDK for .NET