Class: Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::EventHubStreamInputDataSource
- Inherits:
-
StreamInputDataSource
- Object
- StreamInputDataSource
- Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::EventHubStreamInputDataSource
- Includes:
- MsRestAzure
- Defined in:
- lib/2016-03-01/generated/azure_mgmt_stream_analytics/models/event_hub_stream_input_data_source.rb
Overview
Describes an Event Hub input data source that contains stream data.
Instance Attribute Summary collapse
-
#consumer_group_name ⇒ String
used to read events from the Event Hub.
-
#event_hub_name ⇒ String
(CreateOrReplace) requests.
-
#service_bus_namespace ⇒ String
Event Hub, Service Bus Queue, Service Bus Topic, etc.
-
#shared_access_policy_key ⇒ String
access policy.
-
#shared_access_policy_name ⇒ String
Service Bus Queue, Service Bus Topic, etc.
-
#type ⇒ Object
Returns the value of attribute type.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for EventHubStreamInputDataSource class as Ruby Hash.
Instance Method Summary collapse
-
#initialize ⇒ EventHubStreamInputDataSource
constructor
A new instance of EventHubStreamInputDataSource.
Constructor Details
#initialize ⇒ EventHubStreamInputDataSource
Returns a new instance of EventHubStreamInputDataSource.
16 17 18 |
# 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 |
Instance Attribute Details
#consumer_group_name ⇒ String
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.
45 46 47 |
# File 'lib/2016-03-01/generated/azure_mgmt_stream_analytics/models/event_hub_stream_input_data_source.rb', line 45 def consumer_group_name @consumer_group_name end |
#event_hub_name ⇒ String
(CreateOrReplace) requests.
38 39 40 |
# File 'lib/2016-03-01/generated/azure_mgmt_stream_analytics/models/event_hub_stream_input_data_source.rb', line 38 def event_hub_name @event_hub_name end |
#service_bus_namespace ⇒ String
Event Hub, Service Bus Queue, Service Bus Topic, etc. Required on PUT (CreateOrReplace) requests.
25 26 27 |
# File 'lib/2016-03-01/generated/azure_mgmt_stream_analytics/models/event_hub_stream_input_data_source.rb', line 25 def service_bus_namespace @service_bus_namespace end |
#shared_access_policy_key ⇒ String
access policy. Required on PUT (CreateOrReplace) requests.
34 35 36 |
# File 'lib/2016-03-01/generated/azure_mgmt_stream_analytics/models/event_hub_stream_input_data_source.rb', line 34 def shared_access_policy_key @shared_access_policy_key end |
#shared_access_policy_name ⇒ String
Service Bus Queue, Service Bus Topic, etc. Required on PUT (CreateOrReplace) requests.
30 31 32 |
# File 'lib/2016-03-01/generated/azure_mgmt_stream_analytics/models/event_hub_stream_input_data_source.rb', line 30 def shared_access_policy_name @shared_access_policy_name end |
#type ⇒ Object
Returns the value of attribute type.
20 21 22 |
# File 'lib/2016-03-01/generated/azure_mgmt_stream_analytics/models/event_hub_stream_input_data_source.rb', line 20 def type @type end |
Class Method Details
.mapper ⇒ Object
Mapper for EventHubStreamInputDataSource class as Ruby Hash. This will be used for serialization/deserialization.
52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 |
# File 'lib/2016-03-01/generated/azure_mgmt_stream_analytics/models/event_hub_stream_input_data_source.rb', line 52 def self.mapper() { required: false, serialized_name: 'Microsoft.ServiceBus/EventHub', type: { name: 'Composite', class_name: 'EventHubStreamInputDataSource', model_properties: { type: { required: true, serialized_name: 'type', type: { name: 'String' } }, service_bus_namespace: { required: false, serialized_name: 'properties.serviceBusNamespace', type: { name: 'String' } }, shared_access_policy_name: { required: false, serialized_name: 'properties.sharedAccessPolicyName', type: { name: 'String' } }, shared_access_policy_key: { required: false, serialized_name: 'properties.sharedAccessPolicyKey', type: { name: 'String' } }, event_hub_name: { required: false, serialized_name: 'properties.eventHubName', type: { name: 'String' } }, consumer_group_name: { required: false, serialized_name: 'properties.consumerGroupName', type: { name: 'String' } } } } } end |