你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
CsvSerialization Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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. |