Delen via


ConnectionToIPNotAllowed Class

Definition

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

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

Constructors

ConnectionToIPNotAllowed(Boolean, IEnumerable<String>)

Initializes a new instance of ConnectionToIPNotAllowed.

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

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

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

Converts the provided BinaryData into a model.

IPersistableModel<ConnectionToIPNotAllowed>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ConnectionToIPNotAllowed>.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