Class: Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::EventHubDataSourceProperties

Inherits:
ServiceBusDataSourceProperties show all
Includes:
MsRestAzure
Defined in:
lib/2016-03-01/generated/azure_mgmt_stream_analytics/models/event_hub_data_source_properties.rb

Overview

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

Instance Attribute Summary collapse

Attributes inherited from ServiceBusDataSourceProperties

#service_bus_namespace, #shared_access_policy_key, #shared_access_policy_name

Class Method Summary collapse

Instance Attribute Details

#event_hub_nameString

(CreateOrReplace) requests.

Returns:

  • (String)

    The name of the Event Hub. Required on PUT



17
18
19
# File 'lib/2016-03-01/generated/azure_mgmt_stream_analytics/models/event_hub_data_source_properties.rb', line 17

def event_hub_name
  @event_hub_name
end

Class Method Details

.mapperObject

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



24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
# 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