class Azure::Kusto::Mgmt::V2018_09_07_preview::Models::EventHubConnectionValidation

Class representing an event hub connection validation.

Attributes

consumer_group[RW]

@return [String] The event hub consumer group.

data_format[RW]

@return [DataFormat] The data format of the message. Optionally the data format can be added to each message. Possible values include: 'MULTIJSON', 'JSON', 'CSV'

event_hub_resource_id[RW]

@return [String] The resource ID of the event hub to be used to create a data connection.

eventhub_connection_name[RW]

@return [String] The name of the event hub connection.

mapping_rule_name[RW]

@return [String] The mapping rule to be used to ingest the data. Optionally the mapping information can be added to each message.

table_name[RW]

@return [String] The table where the data should be ingested. Optionally the table information can be added to each message.

Public Class Methods

mapper() click to toggle source

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

# File lib/2018-09-07-preview/generated/azure_mgmt_kusto/models/event_hub_connection_validation.rb, line 43
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'EventHubConnectionValidation',
    type: {
      name: 'Composite',
      class_name: 'EventHubConnectionValidation',
      model_properties: {
        eventhub_connection_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'eventhubConnectionName',
          type: {
            name: 'String'
          }
        },
        event_hub_resource_id: {
          client_side_validation: true,
          required: true,
          serialized_name: 'properties.eventHubResourceId',
          type: {
            name: 'String'
          }
        },
        consumer_group: {
          client_side_validation: true,
          required: true,
          serialized_name: 'properties.consumerGroup',
          type: {
            name: 'String'
          }
        },
        table_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.tableName',
          type: {
            name: 'String'
          }
        },
        mapping_rule_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.mappingRuleName',
          type: {
            name: 'String'
          }
        },
        data_format: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.dataFormat',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end