Class: Azure::ARM::StreamAnalytics::Models::EventHubOutputDataSource

Inherits:
OutputDataSource
  • Object
show all
Includes:
MsRest::JSONable, MsRestAzure
Defined in:
lib/generated/azure_mgmt_stream_analytics/models/event_hub_output_data_source.rb

Overview

Describes an Event Hub output data source.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeEventHubOutputDataSource

Returns a new instance of EventHubOutputDataSource.



17
18
19
# File 'lib/generated/azure_mgmt_stream_analytics/models/event_hub_output_data_source.rb', line 17

def initialize
  @type = "Microsoft.ServiceBus/EventHub"
end

Instance Attribute Details

#event_hub_nameString

(CreateOrReplace) requests.

Returns:

  • (String)

    The name of the Event Hub. Required on PUT



39
40
41
# File 'lib/generated/azure_mgmt_stream_analytics/models/event_hub_output_data_source.rb', line 39

def event_hub_name
  @event_hub_name
end

#partition_keyString

partition to send event data.

Returns:

  • (String)

    The key/column that is used to determine to which



43
44
45
# File 'lib/generated/azure_mgmt_stream_analytics/models/event_hub_output_data_source.rb', line 43

def partition_key
  @partition_key
end

#service_bus_namespaceString

Event Hub, Service Bus Queue, Service Bus Topic, etc. Required on PUT (CreateOrReplace) requests.

Returns:

  • (String)

    The namespace that is associated with the desired



26
27
28
# File 'lib/generated/azure_mgmt_stream_analytics/models/event_hub_output_data_source.rb', line 26

def service_bus_namespace
  @service_bus_namespace
end

#shared_access_policy_keyString

access policy. Required on PUT (CreateOrReplace) requests.

Returns:

  • (String)

    The shared access policy key for the specified shared



35
36
37
# File 'lib/generated/azure_mgmt_stream_analytics/models/event_hub_output_data_source.rb', line 35

def shared_access_policy_key
  @shared_access_policy_key
end

#shared_access_policy_nameString

Service Bus Queue, Service Bus Topic, etc. Required on PUT (CreateOrReplace) requests.

Returns:

  • (String)

    The shared access policy name for the Event Hub,



31
32
33
# File 'lib/generated/azure_mgmt_stream_analytics/models/event_hub_output_data_source.rb', line 31

def shared_access_policy_name
  @shared_access_policy_name
end

#typeObject

Returns the value of attribute type.



21
22
23
# File 'lib/generated/azure_mgmt_stream_analytics/models/event_hub_output_data_source.rb', line 21

def type
  @type
end

Class Method Details

.mapperObject

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



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

def self.mapper()
  {
    required: false,
    serialized_name: 'Microsoft.ServiceBus/EventHub',
    type: {
      name: 'Composite',
      class_name: 'EventHubOutputDataSource',
      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'
          }
        },
        partition_key: {
          required: false,
          serialized_name: 'properties.partitionKey',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end