Share via


DenylistCustomAlertRule Class

Definition

A custom alert rule that checks if a value (depends on the custom alert type) is denied.

[Newtonsoft.Json.JsonObject("DenylistCustomAlertRule")]
public class DenylistCustomAlertRule : Microsoft.Azure.Management.Security.Models.ListCustomAlertRule
[<Newtonsoft.Json.JsonObject("DenylistCustomAlertRule")>]
type DenylistCustomAlertRule = class
    inherit ListCustomAlertRule
Public Class DenylistCustomAlertRule
Inherits ListCustomAlertRule
Inheritance
DenylistCustomAlertRule
Attributes
Newtonsoft.Json.JsonObjectAttribute

Constructors

DenylistCustomAlertRule()

Initializes a new instance of the DenylistCustomAlertRule class.

DenylistCustomAlertRule(Boolean, IList<String>, String, String, String)

Initializes a new instance of the DenylistCustomAlertRule class.

Properties

DenylistValues

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

Description

Gets the description of the custom alert.

(Inherited from CustomAlertRule)
DisplayName

Gets the display name of the custom alert.

(Inherited from CustomAlertRule)
IsEnabled

Gets or sets status of the custom alert.

(Inherited from CustomAlertRule)
ValueType

Gets the value type of the items in the list. Possible values include: 'IpCidr', 'String'

(Inherited from ListCustomAlertRule)

Methods

Validate()

Validate the object.

Extension Methods

ConvertToPSType(DenylistCustomAlertRule)

Applies to