CsvSerialization Class

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

All required parameters must be populated in order to send to Azure.

Inheritance
azure.mgmt.streamanalytics.models._models_py3.Serialization
CsvSerialization

Constructor

CsvSerialization(*, field_delimiter: Optional[str] = None, encoding: Optional[Union[str, azure.mgmt.streamanalytics.models._stream_analytics_management_client_enums.Encoding]] = None, **kwargs)

Parameters

type
str or <xref:stream_analytics_management_client.models.EventSerializationType>
Required

Required. Indicates the type of serialization that the input or output uses. Required on PUT (CreateOrReplace) requests.Constant filled by server. Possible values include: "Csv", "Avro", "Json", "CustomClr", "Parquet".

field_delimiter
str
Required

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.

encoding
str or <xref:stream_analytics_management_client.models.Encoding>
Required

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. Possible values include: "UTF8".