Class: Azure::Kusto::Mgmt::V2020_06_14::Models::EventGridDataConnection
- Inherits:
-
DataConnection
- Object
- Resource
- ProxyResource
- DataConnection
- Azure::Kusto::Mgmt::V2020_06_14::Models::EventGridDataConnection
- Includes:
- MsRestAzure
- Defined in:
- lib/2020-06-14/generated/azure_mgmt_kusto/models/event_grid_data_connection.rb
Overview
Class representing an Event Grid data connection.
Instance Attribute Summary collapse
-
#blob_storage_event_type ⇒ BlobStorageEventType
process.
-
#consumer_group ⇒ String
The event hub consumer group.
-
#data_format ⇒ EventGridDataFormat
Optionally the data format can be added to each message.
-
#event_hub_resource_id ⇒ String
send events.
-
#ignore_first_record ⇒ Boolean
ingestion should ignore the first record of every file.
-
#kind ⇒ Object
Returns the value of attribute kind.
-
#mapping_rule_name ⇒ String
Optionally the mapping information can be added to each message.
-
#storage_account_resource_id ⇒ String
resides.
-
#table_name ⇒ String
Optionally the table information can be added to each message.
Attributes inherited from DataConnection
Attributes inherited from Resource
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for EventGridDataConnection class as Ruby Hash.
Instance Method Summary collapse
-
#initialize ⇒ EventGridDataConnection
constructor
A new instance of EventGridDataConnection.
Methods inherited from Resource
Constructor Details
#initialize ⇒ EventGridDataConnection
16 17 18 |
# File 'lib/2020-06-14/generated/azure_mgmt_kusto/models/event_grid_data_connection.rb', line 16 def initialize @kind = "EventGrid" end |
Instance Attribute Details
#blob_storage_event_type ⇒ BlobStorageEventType
process. Possible values include: ‘Microsoft.Storage.BlobCreated’, ‘Microsoft.Storage.BlobRenamed’
55 56 57 |
# File 'lib/2020-06-14/generated/azure_mgmt_kusto/models/event_grid_data_connection.rb', line 55 def blob_storage_event_type @blob_storage_event_type end |
#consumer_group ⇒ String
31 32 33 |
# File 'lib/2020-06-14/generated/azure_mgmt_kusto/models/event_grid_data_connection.rb', line 31 def consumer_group @consumer_group end |
#data_format ⇒ EventGridDataFormat
Optionally the data format can be added to each message. Possible values include: ‘MULTIJSON’, ‘JSON’, ‘CSV’, ‘TSV’, ‘SCSV’, ‘SOHSV’, ‘PSV’, ‘TXT’, ‘RAW’, ‘SINGLEJSON’, ‘AVRO’, ‘TSVE’, ‘PARQUET’, ‘ORC’, ‘APACHEAVRO’, ‘W3CLOGFILE’
46 47 48 |
# File 'lib/2020-06-14/generated/azure_mgmt_kusto/models/event_grid_data_connection.rb', line 46 def data_format @data_format end |
#event_hub_resource_id ⇒ String
send events.
28 29 30 |
# File 'lib/2020-06-14/generated/azure_mgmt_kusto/models/event_grid_data_connection.rb', line 28 def event_hub_resource_id @event_hub_resource_id end |
#ignore_first_record ⇒ Boolean
ingestion should ignore the first record of every file
50 51 52 |
# File 'lib/2020-06-14/generated/azure_mgmt_kusto/models/event_grid_data_connection.rb', line 50 def ignore_first_record @ignore_first_record end |
#kind ⇒ Object
Returns the value of attribute kind.
20 21 22 |
# File 'lib/2020-06-14/generated/azure_mgmt_kusto/models/event_grid_data_connection.rb', line 20 def kind @kind end |
#mapping_rule_name ⇒ String
Optionally the mapping information can be added to each message.
39 40 41 |
# File 'lib/2020-06-14/generated/azure_mgmt_kusto/models/event_grid_data_connection.rb', line 39 def mapping_rule_name @mapping_rule_name end |
#storage_account_resource_id ⇒ String
resides.
24 25 26 |
# File 'lib/2020-06-14/generated/azure_mgmt_kusto/models/event_grid_data_connection.rb', line 24 def storage_account_resource_id @storage_account_resource_id end |
#table_name ⇒ String
Optionally the table information can be added to each message.
35 36 37 |
# File 'lib/2020-06-14/generated/azure_mgmt_kusto/models/event_grid_data_connection.rb', line 35 def table_name @table_name end |
Class Method Details
.mapper ⇒ Object
Mapper for EventGridDataConnection class as Ruby Hash. This will be used for serialization/deserialization.
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 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 |
# File 'lib/2020-06-14/generated/azure_mgmt_kusto/models/event_grid_data_connection.rb', line 62 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'EventGrid', type: { name: 'Composite', class_name: 'EventGridDataConnection', model_properties: { id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'id', type: { name: 'String' } }, name: { client_side_validation: true, required: false, read_only: true, serialized_name: 'name', type: { name: 'String' } }, type: { client_side_validation: true, required: false, read_only: true, serialized_name: 'type', type: { name: 'String' } }, location: { client_side_validation: true, required: false, serialized_name: 'location', type: { name: 'String' } }, kind: { client_side_validation: true, required: true, serialized_name: 'kind', type: { name: 'String' } }, storage_account_resource_id: { client_side_validation: true, required: true, serialized_name: 'properties.storageAccountResourceId', 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' } }, ignore_first_record: { client_side_validation: true, required: false, serialized_name: 'properties.ignoreFirstRecord', type: { name: 'Boolean' } }, blob_storage_event_type: { client_side_validation: true, required: false, serialized_name: 'properties.blobStorageEventType', type: { name: 'String' } } } } } end |