共用方式為


EventHubV2StreamInputDataSource Constructors

Definition

Overloads

EventHubV2StreamInputDataSource()

Initializes a new instance of the EventHubV2StreamInputDataSource class.

EventHubV2StreamInputDataSource(String, String, String, String, String, String)

Initializes a new instance of the EventHubV2StreamInputDataSource class.

EventHubV2StreamInputDataSource()

Initializes a new instance of the EventHubV2StreamInputDataSource class.

public EventHubV2StreamInputDataSource ();
Public Sub New ()

Applies to

EventHubV2StreamInputDataSource(String, String, String, String, String, String)

Initializes a new instance of the EventHubV2StreamInputDataSource class.

public EventHubV2StreamInputDataSource (string serviceBusNamespace = default, string sharedAccessPolicyName = default, string sharedAccessPolicyKey = default, string authenticationMode = default, string eventHubName = default, string consumerGroupName = default);
new Microsoft.Azure.Management.StreamAnalytics.Models.EventHubV2StreamInputDataSource : string * string * string * string * string * string -> Microsoft.Azure.Management.StreamAnalytics.Models.EventHubV2StreamInputDataSource
Public Sub New (Optional serviceBusNamespace As String = Nothing, Optional sharedAccessPolicyName As String = Nothing, Optional sharedAccessPolicyKey As String = Nothing, Optional authenticationMode As String = Nothing, Optional eventHubName As String = Nothing, Optional consumerGroupName As String = Nothing)

Parameters

serviceBusNamespace
String

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

sharedAccessPolicyName
String

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

sharedAccessPolicyKey
String

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

authenticationMode
String

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

eventHubName
String

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

consumerGroupName
String

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.

Applies to