class Azure::Kusto::Mgmt::V2020_09_18::Models::EventGridDataConnection

Class representing an Event Grid data connection.

Attributes

blob_storage_event_type[RW]

@return [BlobStorageEventType] The name of blob storage event type to process. Possible values include: 'Microsoft.Storage.BlobCreated', 'Microsoft.Storage.BlobRenamed'

consumer_group[RW]

@return [String] The event hub consumer group.

data_format[RW]

@return [EventGridDataFormat] The data format of the message. 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'

event_hub_resource_id[RW]

@return [String] The resource ID where the event grid is configured to send events.

ignore_first_record[RW]

@return [Boolean] A Boolean value that, if set to true, indicates that ingestion should ignore the first record of every file

kind[RW]
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.

provisioning_state[RW]

@return [ProvisioningState] The provisioned state of the resource. Possible values include: 'Running', 'Creating', 'Deleting', 'Succeeded', 'Failed', 'Moving'

storage_account_resource_id[RW]

@return [String] The resource ID of the storage account where the data resides.

table_name[RW]

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

Private Class Methods

mapper() click to toggle source

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

# File lib/2020-09-18/generated/azure_mgmt_kusto/models/event_grid_data_connection.rb, line 67
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'
          }
        },
        provisioning_state: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.provisioningState',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end
new() click to toggle source
# File lib/2020-09-18/generated/azure_mgmt_kusto/models/event_grid_data_connection.rb, line 16
def initialize
  @kind = "EventGrid"
end