Class: Azure::ARM::StreamAnalytics::Models::EventHubDataSourceProperties

Inherits:
ServiceBusDataSourceProperties show all
Includes:
MsRest::JSONable, MsRestAzure
Defined in:
lib/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



18
19
20
# File 'lib/generated/azure_mgmt_stream_analytics/models/event_hub_data_source_properties.rb', line 18

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.



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
# File 'lib/generated/azure_mgmt_stream_analytics/models/event_hub_data_source_properties.rb', line 25

def self.mapper()
  {
    required: false,
    serialized_name: 'EventHubDataSourceProperties',
    type: {
      name: 'Composite',
      class_name: 'EventHubDataSourceProperties',
      model_properties: {
        service_bus_namespace: {
          required: false,
          serialized_name: 'serviceBusNamespace',
          type: {
            name: 'String'
          }
        },
        shared_access_policy_name: {
          required: false,
          serialized_name: 'sharedAccessPolicyName',
          type: {
            name: 'String'
          }
        },
        shared_access_policy_key: {
          required: false,
          serialized_name: 'sharedAccessPolicyKey',
          type: {
            name: 'String'
          }
        },
        event_hub_name: {
          required: false,
          serialized_name: 'eventHubName',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end