Partager via


AllowlistCustomAlertRule Class

Definition

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

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

Constructors

AllowlistCustomAlertRule()

Initializes a new instance of the AllowlistCustomAlertRule class.

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

Initializes a new instance of the AllowlistCustomAlertRule class.

Properties

AllowlistValues

Gets or sets the values to allow. 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(AllowlistCustomAlertRule)

Applies to