Share via


DenylistCustomAlertRule(Boolean, IEnumerable<String>) Constructor

Definition

Initializes a new instance of DenylistCustomAlertRule.

public DenylistCustomAlertRule (bool isEnabled, System.Collections.Generic.IEnumerable<string> denylistValues);
new Azure.ResourceManager.SecurityCenter.Models.DenylistCustomAlertRule : bool * seq<string> -> Azure.ResourceManager.SecurityCenter.Models.DenylistCustomAlertRule
Public Sub New (isEnabled As Boolean, denylistValues As IEnumerable(Of String))

Parameters

isEnabled
Boolean

Status of the custom alert.

denylistValues
IEnumerable<String>

The values to deny. The format of the values depends on the rule type.

Exceptions

denylistValues is null.

Applies to