class Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::EventHubOutputDataSource
Describes an Event Hub output data source.
Attributes
event_hub_name[RW]
@return [String] The name of the Event Hub. Required on PUT (CreateOrReplace) requests.
partition_key[RW]
@return [String] The key/column that is used to determine to which partition to send event data.
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.
type[RW]
Private Class Methods
mapper()
click to toggle source
Mapper for EventHubOutputDataSource
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2016-03-01/generated/azure_mgmt_stream_analytics/models/event_hub_output_data_source.rb, line 49 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'Microsoft.ServiceBus/EventHub', type: { name: 'Composite', class_name: 'EventHubOutputDataSource', 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' } }, partition_key: { client_side_validation: true, required: false, serialized_name: 'properties.partitionKey', type: { name: 'String' } } } } } end
new()
click to toggle source
# File lib/2016-03-01/generated/azure_mgmt_stream_analytics/models/event_hub_output_data_source.rb, line 16 def initialize @type = "Microsoft.ServiceBus/EventHub" end