EventHubStreamInputDataSource Class
Describes an Event Hub input data source that contains stream data.
All required parameters must be populated in order to send to Azure.
- Inheritance
-
azure.mgmt.streamanalytics.models._models_py3.StreamInputDataSourceEventHubStreamInputDataSource
Constructor
EventHubStreamInputDataSource(*, 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
- type
- str
Required. Indicates the type of input data source containing stream data. Required on PUT (CreateOrReplace) requests.Constant filled by server.
- service_bus_namespace
- str
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
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
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>
Authentication Mode. Possible values include: "Msi", "UserToken", "ConnectionString".
- consumer_group_name
- str
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.
Feedback
Submit and view feedback for