Partilhar via


AvroSerialization Class

Definition

Describes how data from an input is serialized or how data is serialized when written to an output in Avro format.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.StreamAnalytics.Models.Api20170401Preview.AvroSerializationTypeConverter))]
public class AvroSerialization : Microsoft.Azure.PowerShell.Cmdlets.StreamAnalytics.Models.Api20170401Preview.IAvroSerialization, Microsoft.Azure.PowerShell.Cmdlets.StreamAnalytics.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.StreamAnalytics.Models.Api20170401Preview.AvroSerializationTypeConverter))>]
type AvroSerialization = class
    interface IAvroSerialization
    interface IJsonSerializable
    interface ISerialization
    interface IValidates
Public Class AvroSerialization
Implements IAvroSerialization, IValidates
Inheritance
AvroSerialization
Attributes
Implements

Constructors

AvroSerialization()

Creates an new AvroSerialization instance.

Properties

Property

The properties that are associated with the Avro serialization type. Required on PUT (CreateOrReplace) requests.

Type

Indicates the type of serialization that the input or output uses. Required on PUT (CreateOrReplace) requests.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of AvroSerialization.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of AvroSerialization.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.StreamAnalytics.Models.Api20170401Preview.IAvroSerialization.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of AvroSerialization into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to