Delen via


EventHubStreamInputDataSource Class

Definition

Describes an Event Hub input data source that contains stream data.

public class EventHubStreamInputDataSource : Azure.ResourceManager.StreamAnalytics.Models.StreamInputDataSource, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.StreamAnalytics.Models.EventHubStreamInputDataSource>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.StreamAnalytics.Models.EventHubStreamInputDataSource>
public class EventHubStreamInputDataSource : Azure.ResourceManager.StreamAnalytics.Models.StreamInputDataSource
type EventHubStreamInputDataSource = class
    inherit StreamInputDataSource
    interface IJsonModel<EventHubStreamInputDataSource>
    interface IPersistableModel<EventHubStreamInputDataSource>
type EventHubStreamInputDataSource = class
    inherit StreamInputDataSource
Public Class EventHubStreamInputDataSource
Inherits StreamInputDataSource
Implements IJsonModel(Of EventHubStreamInputDataSource), IPersistableModel(Of EventHubStreamInputDataSource)
Public Class EventHubStreamInputDataSource
Inherits StreamInputDataSource
Inheritance
EventHubStreamInputDataSource
Implements

Constructors

EventHubStreamInputDataSource()

Initializes a new instance of EventHubStreamInputDataSource.

Properties

AuthenticationMode

Authentication Mode.

ConsumerGroupName

The name of an Event Hub Consumer Group that should be used to read events from the Event Hub. Specifying distinct consumer group names for multiple inputs allows each of those inputs to receive the same events from the Event Hub. If not specified, the input uses the Event Hub’s default consumer group.

EventHubName

The name of the Event Hub. Required on PUT (CreateOrReplace) requests.

PartitionCount

The partition count of the event hub data source. Range 1 - 256.

PrefetchCount

The number of messages that the message receiver can simultaneously request.

ServiceBusNamespace

The namespace that is associated with the desired Event Hub, Service Bus Queue, Service Bus Topic, etc. Required on PUT (CreateOrReplace) requests.

SharedAccessPolicyKey

The shared access policy key for the specified shared access policy. Required on PUT (CreateOrReplace) requests.

SharedAccessPolicyName

The shared access policy name for the Event Hub, Service Bus Queue, Service Bus Topic, etc. Required on PUT (CreateOrReplace) requests.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<EventHubStreamInputDataSource>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<EventHubStreamInputDataSource>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IJsonModel<StreamInputDataSource>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

(Inherited from StreamInputDataSource)
IJsonModel<StreamInputDataSource>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

(Inherited from StreamInputDataSource)
IPersistableModel<EventHubStreamInputDataSource>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<EventHubStreamInputDataSource>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<EventHubStreamInputDataSource>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

IPersistableModel<StreamInputDataSource>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

(Inherited from StreamInputDataSource)
IPersistableModel<StreamInputDataSource>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

(Inherited from StreamInputDataSource)
IPersistableModel<StreamInputDataSource>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

(Inherited from StreamInputDataSource)

Applies to