ArmStreamAnalyticsModelFactory.StreamInputProperties Method
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.
Initializes a new instance of StreamInputProperties.
public static Azure.ResourceManager.StreamAnalytics.Models.StreamInputProperties StreamInputProperties (Azure.ResourceManager.StreamAnalytics.Models.StreamAnalyticsDataSerialization serialization = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.StreamAnalytics.Models.StreamingJobDiagnosticCondition> diagnosticsConditions = default, Azure.ETag? etag = default, Azure.ResourceManager.StreamAnalytics.Models.StreamingCompressionType? compressionType = default, string partitionKey = default, Azure.ResourceManager.StreamAnalytics.Models.StreamingJobInputWatermarkMode? watermarkMode = default, Azure.ResourceManager.StreamAnalytics.Models.StreamInputDataSource datasource = default);
static member StreamInputProperties : Azure.ResourceManager.StreamAnalytics.Models.StreamAnalyticsDataSerialization * seq<Azure.ResourceManager.StreamAnalytics.Models.StreamingJobDiagnosticCondition> * Nullable<Azure.ETag> * Nullable<Azure.ResourceManager.StreamAnalytics.Models.StreamingCompressionType> * string * Nullable<Azure.ResourceManager.StreamAnalytics.Models.StreamingJobInputWatermarkMode> * Azure.ResourceManager.StreamAnalytics.Models.StreamInputDataSource -> Azure.ResourceManager.StreamAnalytics.Models.StreamInputProperties
Public Shared Function StreamInputProperties (Optional serialization As StreamAnalyticsDataSerialization = Nothing, Optional diagnosticsConditions As IEnumerable(Of StreamingJobDiagnosticCondition) = Nothing, Optional etag As Nullable(Of ETag) = Nothing, Optional compressionType As Nullable(Of StreamingCompressionType) = Nothing, Optional partitionKey As String = Nothing, Optional watermarkMode As Nullable(Of StreamingJobInputWatermarkMode) = Nothing, Optional datasource As StreamInputDataSource = Nothing) As StreamInputProperties
Parameters
- serialization
- StreamAnalyticsDataSerialization
Describes how data from an input is serialized or how data is serialized when written to an output. Required on PUT (CreateOrReplace) requests. Please note StreamAnalyticsDataSerialization is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include AvroFormatSerialization, CsvFormatSerialization, CustomClrFormatSerialization, JsonFormatSerialization and ParquetFormatSerialization.
- diagnosticsConditions
- IEnumerable<StreamingJobDiagnosticCondition>
Describes conditions applicable to the Input, Output, or the job overall, that warrant customer attention.
The current entity tag for the input. This is an opaque string. You can use it to detect whether the resource has changed between requests. You can also use it in the If-Match or If-None-Match headers for write operations for optimistic concurrency.
- compressionType
- Nullable<StreamingCompressionType>
Describes how input data is compressed.
- partitionKey
- String
partitionKey Describes a key in the input data which is used for partitioning the input data.
- watermarkMode
- Nullable<StreamingJobInputWatermarkMode>
Settings which determine whether to read watermark events.
- datasource
- StreamInputDataSource
Describes an input data source that contains stream data. Required on PUT (CreateOrReplace) requests. Please note StreamInputDataSource is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include GatewayMessageBusStreamInputDataSource, IoTHubStreamInputDataSource, EventGridStreamInputDataSource, EventHubV2StreamInputDataSource, EventHubStreamInputDataSource, BlobStreamInputDataSource and RawStreamInputDataSource.
Returns
A new StreamInputProperties instance for mocking.
Applies to
Azure SDK for .NET