EventHubStreamInputDataSourceProperties Class

The properties that are associated with a Event Hub input containing stream data.

Inheritance
azure.mgmt.streamanalytics.models._models_py3.EventHubDataSourceProperties
EventHubStreamInputDataSourceProperties

Constructor

EventHubStreamInputDataSourceProperties(*, service_bus_namespace: Optional[str] = None, shared_access_policy_name: Optional[str] = None, shared_access_policy_key: Optional[str] = None, authentication_mode: Optional[Union[str, azure.mgmt.streamanalytics.models._stream_analytics_management_client_enums.AuthenticationMode]] = None, event_hub_name: Optional[str] = None, consumer_group_name: Optional[str] = None, **kwargs)

Parameters

service_bus_namespace
str
Required

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

shared_access_policy_name
str
Required

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

shared_access_policy_key
str
Required

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

authentication_mode
str or <xref:stream_analytics_management_client.models.AuthenticationMode>
Required

Authentication Mode. Possible values include: "Msi", "UserToken", "ConnectionString".

event_hub_name
str
Required

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

consumer_group_name
str
Required

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.