共用方式為


ListCustomAlertRule Class

Definition

A List custom alert rule. Please note ListCustomAlertRule 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 AllowlistCustomAlertRule, ConnectionFromIPNotAllowed, ConnectionToIPNotAllowed, DenylistCustomAlertRule, LocalUserNotAllowed and ProcessNotAllowed.

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

Constructors

ListCustomAlertRule(Boolean)

Initializes a new instance of ListCustomAlertRule.

Properties

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.

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<ListCustomAlertRule>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ListCustomAlertRule>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

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<ListCustomAlertRule>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ListCustomAlertRule>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ListCustomAlertRule>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to