Share via


SyslogReceiver Class

Definition

Base receiver using TCP as transport protocol.

public class SyslogReceiver : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Monitor.Models.SyslogReceiver>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Monitor.Models.SyslogReceiver>
type SyslogReceiver = class
    interface IJsonModel<SyslogReceiver>
    interface IPersistableModel<SyslogReceiver>
Public Class SyslogReceiver
Implements IJsonModel(Of SyslogReceiver), IPersistableModel(Of SyslogReceiver)
Inheritance
SyslogReceiver
Implements

Constructors

SyslogReceiver(String)

Initializes a new instance of SyslogReceiver.

Properties

Endpoint

Syslog receiver endpoint definition. Example: 0.0.0.0:<port>.

Protocol

Protocol to parse syslog messages. Default rfc3164.

Explicit Interface Implementations

IJsonModel<SyslogReceiver>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<SyslogReceiver>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<SyslogReceiver>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<SyslogReceiver>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<SyslogReceiver>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to