Partilhar via


UdpReceiver Class

Definition

Receiver using UDP as transport protocol.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Monitor.PipelineGroup.Models.UdpReceiverTypeConverter))]
public class UdpReceiver : Microsoft.Azure.PowerShell.Cmdlets.Monitor.PipelineGroup.Models.IUdpReceiver
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Monitor.PipelineGroup.Models.UdpReceiverTypeConverter))>]
type UdpReceiver = class
    interface IUdpReceiver
    interface IJsonSerializable
Public Class UdpReceiver
Implements IUdpReceiver
Inheritance
UdpReceiver
Attributes
Implements

Constructors

UdpReceiver()

Creates an new UdpReceiver instance.

Properties

DestinationFieldDestination

Define the destination's element. The element is the body or the attributes of the message, to which the json array mapper will write the output map.

DestinationFieldName

Define a destination field name under the given element. Leaving this empty, means the root of the element. In case element=attributes and fieldName is empty, the object's attributes themselves will contain the key value output pairs.

Encoding

The encoding of the stream being received.

Endpoint
JsonArrayMapperKey

Define the names of the keys in the resulting map. The input json array elements are mapped in order, one for every key.

ReadQueueLength

Max read queue length.

SourceFieldName

Define a source field name from which the json array mapper will read the json array. Leaving this empty, means reading the body of the message itself.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of UdpReceiver.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of UdpReceiver.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Monitor.PipelineGroup.Models.IUdpReceiver.

FromJsonString(String)

Creates a new instance of UdpReceiver, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of UdpReceiver into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to