class Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::EventHubStreamInputDataSource

Describes an Event Hub input data source that contains stream data.

Attributes

consumer_group_name[RW]

@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.

event_hub_name[RW]

@return [String] The name of the Event Hub. Required on PUT (CreateOrReplace) requests.

service_bus_namespace[RW]

@return [String] 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_key[RW]

@return [String] The shared access policy key for the specified shared access policy. Required on PUT (CreateOrReplace) requests.

shared_access_policy_name[RW]

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

type[RW]

Private Class Methods

mapper() click to toggle source

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
new() click to toggle source
# 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