Share via


DenylistCustomAlertRule Class

Definition

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

public class DenylistCustomAlertRule : Azure.ResourceManager.SecurityCenter.Models.ListCustomAlertRule
public class DenylistCustomAlertRule : Azure.ResourceManager.SecurityCenter.Models.ListCustomAlertRule, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.SecurityCenter.Models.DenylistCustomAlertRule>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.SecurityCenter.Models.DenylistCustomAlertRule>
type DenylistCustomAlertRule = class
    inherit ListCustomAlertRule
type DenylistCustomAlertRule = class
    inherit ListCustomAlertRule
    interface IJsonModel<DenylistCustomAlertRule>
    interface IPersistableModel<DenylistCustomAlertRule>
Public Class DenylistCustomAlertRule
Inherits ListCustomAlertRule
Public Class DenylistCustomAlertRule
Inherits ListCustomAlertRule
Implements IJsonModel(Of DenylistCustomAlertRule), IPersistableModel(Of DenylistCustomAlertRule)
Inheritance
DenylistCustomAlertRule
Implements

Constructors

DenylistCustomAlertRule(Boolean, IEnumerable<String>)

Initializes a new instance of DenylistCustomAlertRule.

Properties

DenylistValues

The values to deny. 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

IJsonModel<CustomAlertRule>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

(Inherited from CustomAlertRule)
IJsonModel<CustomAlertRule>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

(Inherited from CustomAlertRule)
IJsonModel<DenylistCustomAlertRule>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<DenylistCustomAlertRule>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IJsonModel<ListCustomAlertRule>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

(Inherited from ListCustomAlertRule)
IJsonModel<ListCustomAlertRule>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

(Inherited from ListCustomAlertRule)
IPersistableModel<CustomAlertRule>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

(Inherited from CustomAlertRule)
IPersistableModel<CustomAlertRule>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

(Inherited from CustomAlertRule)
IPersistableModel<CustomAlertRule>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

(Inherited from CustomAlertRule)
IPersistableModel<DenylistCustomAlertRule>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<DenylistCustomAlertRule>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<DenylistCustomAlertRule>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

IPersistableModel<ListCustomAlertRule>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

(Inherited from ListCustomAlertRule)
IPersistableModel<ListCustomAlertRule>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

(Inherited from ListCustomAlertRule)
IPersistableModel<ListCustomAlertRule>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

(Inherited from ListCustomAlertRule)

Applies to