Share via


CsvSerialization Class

Definition

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

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

Constructors

CsvSerialization()

Creates an new CsvSerialization instance.

Properties

Encoding

Specifies the encoding of the incoming data in the case of input and the encoding of outgoing data in the case of output. Required on PUT (CreateOrReplace) requests.

FieldDelimiter

Specifies the delimiter that will be used to separate comma-separated value (CSV) records. See https://docs.microsoft.com/en-us/rest/api/streamanalytics/stream-analytics-input or https://docs.microsoft.com/en-us/rest/api/streamanalytics/stream-analytics-output for a list of supported values. 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 CsvSerialization.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of CsvSerialization.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of CsvSerialization into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to