EventHubDataConnection Class

Class representing an event hub data connection.

Variables are only populated by the server, and will be ignored when sending a request.

All required parameters must be populated in order to send to Azure.

Inheritance
azure.mgmt.kusto.models._models_py3.DataConnection
EventHubDataConnection

Constructor

EventHubDataConnection(*, location: Optional[str] = None, event_hub_resource_id: Optional[str] = None, consumer_group: Optional[str] = None, table_name: Optional[str] = None, mapping_rule_name: Optional[str] = None, data_format: Optional[Union[str, azure.mgmt.kusto.models._kusto_management_client_enums.EventHubDataFormat]] = None, event_system_properties: Optional[List[str]] = None, compression: Optional[Union[str, azure.mgmt.kusto.models._kusto_management_client_enums.Compression]] = 'None', managed_identity_resource_id: Optional[str] = None, database_routing: Optional[Union[str, azure.mgmt.kusto.models._kusto_management_client_enums.DatabaseRouting]] = None, **kwargs)

Variables

id
str

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.

name
str

The name of the resource.

type
str

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

location
str

Resource location.

kind
str or <xref:kusto_management_client.models.DataConnectionKind>

Required. Kind of the endpoint for the data connection.Constant filled by server. Possible values include: "EventHub", "EventGrid", "IotHub".

event_hub_resource_id
str

The resource ID of the event hub to be used to create a data connection.

consumer_group
str

The event hub consumer group.

table_name
str

The table where the data should be ingested. Optionally the table information can be added to each message.

mapping_rule_name
str

The mapping rule to be used to ingest the data. Optionally the mapping information can be added to each message.

data_format
str or <xref:kusto_management_client.models.EventHubDataFormat>

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_system_properties
list[str]

System properties of the event hub.

compression
str or <xref:kusto_management_client.models.Compression>

The event hub messages compression type. Possible values include: "None", "GZip". Default value: "None".

provisioning_state
str or <xref:kusto_management_client.models.ProvisioningState>

The provisioned state of the resource. Possible values include: "Running", "Creating", "Deleting", "Succeeded", "Failed", "Moving".

managed_identity_resource_id
str

The resource ID of a managed identity (system or user assigned) to be used to authenticate with event hub.

managed_identity_object_id
str

The object ID of the managedIdentityResourceId.

database_routing
str or <xref:kusto_management_client.models.DatabaseRouting>

Indication for database routing information from the data connection, by default only database routing information is allowed. Possible values include: "Single", "Multi".