다음을 통해 공유


ArmStreamAnalyticsModelFactory.ReferenceInputProperties Method

Definition

Initializes a new instance of ReferenceInputProperties.

public static Azure.ResourceManager.StreamAnalytics.Models.ReferenceInputProperties ReferenceInputProperties (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.ReferenceInputDataSource datasource = default);
static member ReferenceInputProperties : 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.ReferenceInputDataSource -> Azure.ResourceManager.StreamAnalytics.Models.ReferenceInputProperties
Public Shared Function ReferenceInputProperties (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 ReferenceInputDataSource = Nothing) As ReferenceInputProperties

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.

etag
Nullable<ETag>

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
ReferenceInputDataSource

Describes an input data source that contains reference data. Required on PUT (CreateOrReplace) requests. Please note ReferenceInputDataSource 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 SqlReferenceInputDataSource, BlobReferenceInputDataSource and RawReferenceInputDataSource.

Returns

A new ReferenceInputProperties instance for mocking.

Applies to