AllowlistCustomAlertRule(Boolean, IEnumerable<String>) Constructor
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 AllowlistCustomAlertRule.
public AllowlistCustomAlertRule (bool isEnabled, System.Collections.Generic.IEnumerable<string> allowlistValues);
new Azure.ResourceManager.SecurityCenter.Models.AllowlistCustomAlertRule : bool * seq<string> -> Azure.ResourceManager.SecurityCenter.Models.AllowlistCustomAlertRule
Public Sub New (isEnabled As Boolean, allowlistValues As IEnumerable(Of String))
Parameters
- isEnabled
- Boolean
Status of the custom alert.
- allowlistValues
- IEnumerable<String>
The values to allow. The format of the values depends on the rule type.
Exceptions
allowlistValues
is null.