Class: Azure::Kusto::Mgmt::V2018_09_07_preview::Models::EventHubConnectionValidation

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2018-09-07-preview/generated/azure_mgmt_kusto/models/event_hub_connection_validation.rb

Overview

Class representing an event hub connection validation.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#consumer_groupString

Returns The event hub consumer group.

Returns:

  • (String)

    The event hub consumer group.



23
24
25
# File 'lib/2018-09-07-preview/generated/azure_mgmt_kusto/models/event_hub_connection_validation.rb', line 23

def consumer_group
  @consumer_group
end

#data_formatDataFormat

data format can be added to each message. Possible values include: ‘MULTIJSON’, ‘JSON’, ‘CSV’

Returns:

  • (DataFormat)

    The data format of the message. Optionally the



36
37
38
# File 'lib/2018-09-07-preview/generated/azure_mgmt_kusto/models/event_hub_connection_validation.rb', line 36

def data_format
  @data_format
end

#event_hub_resource_idString

a data connection.

Returns:

  • (String)

    The resource ID of the event hub to be used to create



20
21
22
# File 'lib/2018-09-07-preview/generated/azure_mgmt_kusto/models/event_hub_connection_validation.rb', line 20

def event_hub_resource_id
  @event_hub_resource_id
end

#eventhub_connection_nameString

Returns The name of the event hub connection.

Returns:

  • (String)

    The name of the event hub connection.



16
17
18
# File 'lib/2018-09-07-preview/generated/azure_mgmt_kusto/models/event_hub_connection_validation.rb', line 16

def eventhub_connection_name
  @eventhub_connection_name
end

#mapping_rule_nameString

Optionally the mapping information can be added to each message.

Returns:

  • (String)

    The mapping rule to be used to ingest the data.



31
32
33
# File 'lib/2018-09-07-preview/generated/azure_mgmt_kusto/models/event_hub_connection_validation.rb', line 31

def mapping_rule_name
  @mapping_rule_name
end

#table_nameString

Optionally the table information can be added to each message.

Returns:

  • (String)

    The table where the data should be ingested.



27
28
29
# File 'lib/2018-09-07-preview/generated/azure_mgmt_kusto/models/event_hub_connection_validation.rb', line 27

def table_name
  @table_name
end

Class Method Details

.mapperObject

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



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
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/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