AllowlistCustomAlertRule(Boolean, IEnumerable<String>) Constructor

Definition

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.

Applies to