class Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::EventHubDataSourceProperties

The common properties that are associated with Event Hub data sources.

Attributes

event_hub_name[RW]

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

Private Class Methods

mapper() click to toggle source

Mapper for EventHubDataSourceProperties class as Ruby Hash. This will be used for serialization/deserialization.

# File lib/2016-03-01/generated/azure_mgmt_stream_analytics/models/event_hub_data_source_properties.rb, line 24
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'EventHubDataSourceProperties',
    type: {
      name: 'Composite',
      class_name: 'EventHubDataSourceProperties',
      model_properties: {
        service_bus_namespace: {
          client_side_validation: true,
          required: false,
          serialized_name: 'serviceBusNamespace',
          type: {
            name: 'String'
          }
        },
        shared_access_policy_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'sharedAccessPolicyName',
          type: {
            name: 'String'
          }
        },
        shared_access_policy_key: {
          client_side_validation: true,
          required: false,
          serialized_name: 'sharedAccessPolicyKey',
          type: {
            name: 'String'
          }
        },
        event_hub_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'eventHubName',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end