AllowlistCustomAlertRule Class
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.
A custom alert rule that checks if a value (depends on the custom alert type) is allowed. Please note AllowlistCustomAlertRule is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include ConnectionFromIPNotAllowed, ConnectionToIPNotAllowed, LocalUserNotAllowed and ProcessNotAllowed.
public class AllowlistCustomAlertRule : Azure.ResourceManager.SecurityCenter.Models.ListCustomAlertRule
public class AllowlistCustomAlertRule : Azure.ResourceManager.SecurityCenter.Models.ListCustomAlertRule, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.SecurityCenter.Models.AllowlistCustomAlertRule>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.SecurityCenter.Models.AllowlistCustomAlertRule>
type AllowlistCustomAlertRule = class
inherit ListCustomAlertRule
type AllowlistCustomAlertRule = class
inherit ListCustomAlertRule
interface IJsonModel<AllowlistCustomAlertRule>
interface IPersistableModel<AllowlistCustomAlertRule>
Public Class AllowlistCustomAlertRule
Inherits ListCustomAlertRule
Public Class AllowlistCustomAlertRule
Inherits ListCustomAlertRule
Implements IJsonModel(Of AllowlistCustomAlertRule), IPersistableModel(Of AllowlistCustomAlertRule)
- Inheritance
- Derived
- Implements
Constructors
AllowlistCustomAlertRule(Boolean, IEnumerable<String>) |
Initializes a new instance of AllowlistCustomAlertRule. |
Properties
AllowlistValues |
The values to allow. The format of the values depends on the rule type. |
Description |
The description of the custom alert. (Inherited from CustomAlertRule) |
DisplayName |
The display name of the custom alert. (Inherited from CustomAlertRule) |
IsEnabled |
Status of the custom alert. (Inherited from CustomAlertRule) |
ValueType |
The value type of the items in the list. (Inherited from ListCustomAlertRule) |
Explicit Interface Implementations
Applies to
Azure SDK for .NET