Share via


ConnectionFromIPNotAllowed Class

Definition

Inbound connection from an ip that isn't allowed. Allow list consists of ipv4 or ipv6 range in CIDR notation.

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

Constructors

ConnectionFromIPNotAllowed(Boolean, IEnumerable<String>)

Initializes a new instance of ConnectionFromIPNotAllowed.

Properties

AllowlistValues

The values to allow. The format of the values depends on the rule type.

(Inherited from AllowlistCustomAlertRule)
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<AllowlistCustomAlertRule>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

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

Writes the model to the provided Utf8JsonWriter.

(Inherited from AllowlistCustomAlertRule)
IJsonModel<ConnectionFromIPNotAllowed>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ConnectionFromIPNotAllowed>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

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.

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

Writes the model to the provided Utf8JsonWriter.

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

Converts the provided BinaryData into a model.

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

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

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

Writes the model into a BinaryData.

(Inherited from AllowlistCustomAlertRule)
IPersistableModel<ConnectionFromIPNotAllowed>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ConnectionFromIPNotAllowed>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ConnectionFromIPNotAllowed>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

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.

(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