class Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::EventHubStreamInputDataSource
Describes an Event Hub input data source that contains stream data.
Attributes
@return [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.
@return [String] The name of the Event Hub. Required on PUT (CreateOrReplace) requests.
@return [String] The namespace that is associated with the desired Event Hub, Service Bus Queue, Service Bus Topic, etc. Required on PUT (CreateOrReplace) requests.
Private Class Methods
Mapper for EventHubStreamInputDataSource
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2016-03-01/generated/azure_mgmt_stream_analytics/models/event_hub_stream_input_data_source.rb, line 52 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'Microsoft.ServiceBus/EventHub', type: { name: 'Composite', class_name: 'EventHubStreamInputDataSource', model_properties: { type: { client_side_validation: true, required: true, serialized_name: 'type', type: { name: 'String' } }, service_bus_namespace: { client_side_validation: true, required: false, serialized_name: 'properties.serviceBusNamespace', type: { name: 'String' } }, shared_access_policy_name: { client_side_validation: true, required: false, serialized_name: 'properties.sharedAccessPolicyName', type: { name: 'String' } }, shared_access_policy_key: { client_side_validation: true, required: false, serialized_name: 'properties.sharedAccessPolicyKey', type: { name: 'String' } }, event_hub_name: { client_side_validation: true, required: false, serialized_name: 'properties.eventHubName', type: { name: 'String' } }, consumer_group_name: { client_side_validation: true, required: false, serialized_name: 'properties.consumerGroupName', type: { name: 'String' } } } } } end
# File lib/2016-03-01/generated/azure_mgmt_stream_analytics/models/event_hub_stream_input_data_source.rb, line 16 def initialize @type = "Microsoft.ServiceBus/EventHub" end