1. Packages
  2. Azure Native
  3. API Docs
  4. kusto
  5. EventHubDataConnection
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.72.0 published on Wednesday, Nov 13, 2024 by Pulumi

azure-native.kusto.EventHubDataConnection

Explore with Pulumi AI

azure-native logo
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.72.0 published on Wednesday, Nov 13, 2024 by Pulumi

    Class representing an event hub data connection. Azure REST API version: 2022-12-29. Prior API version in Azure Native 1.x: 2021-01-01.

    Example Usage

    KustoDataConnectionsCosmosDbCreateOrUpdate

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var eventHubDataConnection = new AzureNative.Kusto.EventHubDataConnection("eventHubDataConnection", new()
        {
            ClusterName = "kustoCluster",
            DataConnectionName = "dataConnectionTest",
            DatabaseName = "KustoDatabase1",
            ResourceGroupName = "kustorptest",
        });
    
    });
    
    package main
    
    import (
    	kusto "github.com/pulumi/pulumi-azure-native-sdk/kusto/v2"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := kusto.NewEventHubDataConnection(ctx, "eventHubDataConnection", &kusto.EventHubDataConnectionArgs{
    			ClusterName:        pulumi.String("kustoCluster"),
    			DataConnectionName: pulumi.String("dataConnectionTest"),
    			DatabaseName:       pulumi.String("KustoDatabase1"),
    			ResourceGroupName:  pulumi.String("kustorptest"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azurenative.kusto.EventHubDataConnection;
    import com.pulumi.azurenative.kusto.EventHubDataConnectionArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var eventHubDataConnection = new EventHubDataConnection("eventHubDataConnection", EventHubDataConnectionArgs.builder()
                .clusterName("kustoCluster")
                .dataConnectionName("dataConnectionTest")
                .databaseName("KustoDatabase1")
                .resourceGroupName("kustorptest")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    event_hub_data_connection = azure_native.kusto.EventHubDataConnection("eventHubDataConnection",
        cluster_name="kustoCluster",
        data_connection_name="dataConnectionTest",
        database_name="KustoDatabase1",
        resource_group_name="kustorptest")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const eventHubDataConnection = new azure_native.kusto.EventHubDataConnection("eventHubDataConnection", {
        clusterName: "kustoCluster",
        dataConnectionName: "dataConnectionTest",
        databaseName: "KustoDatabase1",
        resourceGroupName: "kustorptest",
    });
    
    resources:
      eventHubDataConnection:
        type: azure-native:kusto:EventHubDataConnection
        properties:
          clusterName: kustoCluster
          dataConnectionName: dataConnectionTest
          databaseName: KustoDatabase1
          resourceGroupName: kustorptest
    

    KustoDataConnectionsCreateOrUpdate

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var eventHubDataConnection = new AzureNative.Kusto.EventHubDataConnection("eventHubDataConnection", new()
        {
            ClusterName = "kustoCluster",
            ConsumerGroup = "testConsumerGroup1",
            DataConnectionName = "dataConnectionTest",
            DatabaseName = "KustoDatabase8",
            EventHubResourceId = "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.EventHub/namespaces/eventhubTestns1/eventhubs/eventhubTest1",
            Kind = "EventHub",
            Location = "westus",
            ManagedIdentityResourceId = "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.ManagedIdentity/userAssignedIdentities/managedidentityTest1",
            ResourceGroupName = "kustorptest",
        });
    
    });
    
    package main
    
    import (
    	kusto "github.com/pulumi/pulumi-azure-native-sdk/kusto/v2"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := kusto.NewEventHubDataConnection(ctx, "eventHubDataConnection", &kusto.EventHubDataConnectionArgs{
    			ClusterName:               pulumi.String("kustoCluster"),
    			ConsumerGroup:             pulumi.String("testConsumerGroup1"),
    			DataConnectionName:        pulumi.String("dataConnectionTest"),
    			DatabaseName:              pulumi.String("KustoDatabase8"),
    			EventHubResourceId:        pulumi.String("/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.EventHub/namespaces/eventhubTestns1/eventhubs/eventhubTest1"),
    			Kind:                      pulumi.String("EventHub"),
    			Location:                  pulumi.String("westus"),
    			ManagedIdentityResourceId: pulumi.String("/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.ManagedIdentity/userAssignedIdentities/managedidentityTest1"),
    			ResourceGroupName:         pulumi.String("kustorptest"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azurenative.kusto.EventHubDataConnection;
    import com.pulumi.azurenative.kusto.EventHubDataConnectionArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var eventHubDataConnection = new EventHubDataConnection("eventHubDataConnection", EventHubDataConnectionArgs.builder()
                .clusterName("kustoCluster")
                .consumerGroup("testConsumerGroup1")
                .dataConnectionName("dataConnectionTest")
                .databaseName("KustoDatabase8")
                .eventHubResourceId("/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.EventHub/namespaces/eventhubTestns1/eventhubs/eventhubTest1")
                .kind("EventHub")
                .location("westus")
                .managedIdentityResourceId("/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.ManagedIdentity/userAssignedIdentities/managedidentityTest1")
                .resourceGroupName("kustorptest")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    event_hub_data_connection = azure_native.kusto.EventHubDataConnection("eventHubDataConnection",
        cluster_name="kustoCluster",
        consumer_group="testConsumerGroup1",
        data_connection_name="dataConnectionTest",
        database_name="KustoDatabase8",
        event_hub_resource_id="/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.EventHub/namespaces/eventhubTestns1/eventhubs/eventhubTest1",
        kind="EventHub",
        location="westus",
        managed_identity_resource_id="/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.ManagedIdentity/userAssignedIdentities/managedidentityTest1",
        resource_group_name="kustorptest")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const eventHubDataConnection = new azure_native.kusto.EventHubDataConnection("eventHubDataConnection", {
        clusterName: "kustoCluster",
        consumerGroup: "testConsumerGroup1",
        dataConnectionName: "dataConnectionTest",
        databaseName: "KustoDatabase8",
        eventHubResourceId: "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.EventHub/namespaces/eventhubTestns1/eventhubs/eventhubTest1",
        kind: "EventHub",
        location: "westus",
        managedIdentityResourceId: "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.ManagedIdentity/userAssignedIdentities/managedidentityTest1",
        resourceGroupName: "kustorptest",
    });
    
    resources:
      eventHubDataConnection:
        type: azure-native:kusto:EventHubDataConnection
        properties:
          clusterName: kustoCluster
          consumerGroup: testConsumerGroup1
          dataConnectionName: dataConnectionTest
          databaseName: KustoDatabase8
          eventHubResourceId: /subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.EventHub/namespaces/eventhubTestns1/eventhubs/eventhubTest1
          kind: EventHub
          location: westus
          managedIdentityResourceId: /subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.ManagedIdentity/userAssignedIdentities/managedidentityTest1
          resourceGroupName: kustorptest
    

    KustoDataConnectionsEventGridCreateOrUpdate

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var eventHubDataConnection = new AzureNative.Kusto.EventHubDataConnection("eventHubDataConnection", new()
        {
            ClusterName = "kustoCluster",
            DataConnectionName = "dataConnectionTest",
            DatabaseName = "KustoDatabase8",
            ResourceGroupName = "kustorptest",
        });
    
    });
    
    package main
    
    import (
    	kusto "github.com/pulumi/pulumi-azure-native-sdk/kusto/v2"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := kusto.NewEventHubDataConnection(ctx, "eventHubDataConnection", &kusto.EventHubDataConnectionArgs{
    			ClusterName:        pulumi.String("kustoCluster"),
    			DataConnectionName: pulumi.String("dataConnectionTest"),
    			DatabaseName:       pulumi.String("KustoDatabase8"),
    			ResourceGroupName:  pulumi.String("kustorptest"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azurenative.kusto.EventHubDataConnection;
    import com.pulumi.azurenative.kusto.EventHubDataConnectionArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var eventHubDataConnection = new EventHubDataConnection("eventHubDataConnection", EventHubDataConnectionArgs.builder()
                .clusterName("kustoCluster")
                .dataConnectionName("dataConnectionTest")
                .databaseName("KustoDatabase8")
                .resourceGroupName("kustorptest")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    event_hub_data_connection = azure_native.kusto.EventHubDataConnection("eventHubDataConnection",
        cluster_name="kustoCluster",
        data_connection_name="dataConnectionTest",
        database_name="KustoDatabase8",
        resource_group_name="kustorptest")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const eventHubDataConnection = new azure_native.kusto.EventHubDataConnection("eventHubDataConnection", {
        clusterName: "kustoCluster",
        dataConnectionName: "dataConnectionTest",
        databaseName: "KustoDatabase8",
        resourceGroupName: "kustorptest",
    });
    
    resources:
      eventHubDataConnection:
        type: azure-native:kusto:EventHubDataConnection
        properties:
          clusterName: kustoCluster
          dataConnectionName: dataConnectionTest
          databaseName: KustoDatabase8
          resourceGroupName: kustorptest
    

    Create EventHubDataConnection Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new EventHubDataConnection(name: string, args: EventHubDataConnectionArgs, opts?: CustomResourceOptions);
    @overload
    def EventHubDataConnection(resource_name: str,
                               args: EventHubDataConnectionArgs,
                               opts: Optional[ResourceOptions] = None)
    
    @overload
    def EventHubDataConnection(resource_name: str,
                               opts: Optional[ResourceOptions] = None,
                               event_hub_resource_id: Optional[str] = None,
                               resource_group_name: Optional[str] = None,
                               consumer_group: Optional[str] = None,
                               cluster_name: Optional[str] = None,
                               database_name: Optional[str] = None,
                               event_system_properties: Optional[Sequence[str]] = None,
                               database_routing: Optional[Union[str, DatabaseRouting]] = None,
                               data_format: Optional[Union[str, EventHubDataFormat]] = None,
                               data_connection_name: Optional[str] = None,
                               location: Optional[str] = None,
                               managed_identity_resource_id: Optional[str] = None,
                               mapping_rule_name: Optional[str] = None,
                               compression: Optional[Union[str, Compression]] = None,
                               retrieval_start_date: Optional[str] = None,
                               table_name: Optional[str] = None)
    func NewEventHubDataConnection(ctx *Context, name string, args EventHubDataConnectionArgs, opts ...ResourceOption) (*EventHubDataConnection, error)
    public EventHubDataConnection(string name, EventHubDataConnectionArgs args, CustomResourceOptions? opts = null)
    public EventHubDataConnection(String name, EventHubDataConnectionArgs args)
    public EventHubDataConnection(String name, EventHubDataConnectionArgs args, CustomResourceOptions options)
    
    type: azure-native:kusto:EventHubDataConnection
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args EventHubDataConnectionArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args EventHubDataConnectionArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args EventHubDataConnectionArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args EventHubDataConnectionArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args EventHubDataConnectionArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var eventHubDataConnectionResource = new AzureNative.Kusto.EventHubDataConnection("eventHubDataConnectionResource", new()
    {
        EventHubResourceId = "string",
        ResourceGroupName = "string",
        ConsumerGroup = "string",
        Kind = "string",
        ClusterName = "string",
        DatabaseName = "string",
        EventSystemProperties = new[]
        {
            "string",
        },
        DatabaseRouting = "string",
        DataFormat = "string",
        DataConnectionName = "string",
        Location = "string",
        ManagedIdentityResourceId = "string",
        MappingRuleName = "string",
        Compression = "string",
        RetrievalStartDate = "string",
        TableName = "string",
    });
    
    example, err := kusto.NewEventHubDataConnection(ctx, "eventHubDataConnectionResource", &kusto.EventHubDataConnectionArgs{
    	EventHubResourceId: pulumi.String("string"),
    	ResourceGroupName:  pulumi.String("string"),
    	ConsumerGroup:      pulumi.String("string"),
    	Kind:               pulumi.String("string"),
    	ClusterName:        pulumi.String("string"),
    	DatabaseName:       pulumi.String("string"),
    	EventSystemProperties: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	DatabaseRouting:           pulumi.String("string"),
    	DataFormat:                pulumi.String("string"),
    	DataConnectionName:        pulumi.String("string"),
    	Location:                  pulumi.String("string"),
    	ManagedIdentityResourceId: pulumi.String("string"),
    	MappingRuleName:           pulumi.String("string"),
    	Compression:               pulumi.String("string"),
    	RetrievalStartDate:        pulumi.String("string"),
    	TableName:                 pulumi.String("string"),
    })
    
    var eventHubDataConnectionResource = new EventHubDataConnection("eventHubDataConnectionResource", EventHubDataConnectionArgs.builder()
        .eventHubResourceId("string")
        .resourceGroupName("string")
        .consumerGroup("string")
        .kind("string")
        .clusterName("string")
        .databaseName("string")
        .eventSystemProperties("string")
        .databaseRouting("string")
        .dataFormat("string")
        .dataConnectionName("string")
        .location("string")
        .managedIdentityResourceId("string")
        .mappingRuleName("string")
        .compression("string")
        .retrievalStartDate("string")
        .tableName("string")
        .build());
    
    event_hub_data_connection_resource = azure_native.kusto.EventHubDataConnection("eventHubDataConnectionResource",
        event_hub_resource_id="string",
        resource_group_name="string",
        consumer_group="string",
        kind="string",
        cluster_name="string",
        database_name="string",
        event_system_properties=["string"],
        database_routing="string",
        data_format="string",
        data_connection_name="string",
        location="string",
        managed_identity_resource_id="string",
        mapping_rule_name="string",
        compression="string",
        retrieval_start_date="string",
        table_name="string")
    
    const eventHubDataConnectionResource = new azure_native.kusto.EventHubDataConnection("eventHubDataConnectionResource", {
        eventHubResourceId: "string",
        resourceGroupName: "string",
        consumerGroup: "string",
        kind: "string",
        clusterName: "string",
        databaseName: "string",
        eventSystemProperties: ["string"],
        databaseRouting: "string",
        dataFormat: "string",
        dataConnectionName: "string",
        location: "string",
        managedIdentityResourceId: "string",
        mappingRuleName: "string",
        compression: "string",
        retrievalStartDate: "string",
        tableName: "string",
    });
    
    type: azure-native:kusto:EventHubDataConnection
    properties:
        clusterName: string
        compression: string
        consumerGroup: string
        dataConnectionName: string
        dataFormat: string
        databaseName: string
        databaseRouting: string
        eventHubResourceId: string
        eventSystemProperties:
            - string
        kind: string
        location: string
        managedIdentityResourceId: string
        mappingRuleName: string
        resourceGroupName: string
        retrievalStartDate: string
        tableName: string
    

    EventHubDataConnection Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The EventHubDataConnection resource accepts the following input properties:

    ClusterName string
    The name of the Kusto cluster.
    ConsumerGroup string
    The event hub consumer group.
    DatabaseName string
    The name of the database in the Kusto cluster.
    EventHubResourceId string
    The resource ID of the event hub to be used to create a data connection.
    ResourceGroupName string
    The name of the resource group containing the Kusto cluster.
    Compression string | Pulumi.AzureNative.Kusto.Compression
    The event hub messages compression type
    DataConnectionName string
    The name of the data connection.
    DataFormat string | Pulumi.AzureNative.Kusto.EventHubDataFormat
    The data format of the message. Optionally the data format can be added to each message.
    DatabaseRouting string | Pulumi.AzureNative.Kusto.DatabaseRouting
    Indication for database routing information from the data connection, by default only database routing information is allowed
    EventSystemProperties List<string>
    System properties of the event hub
    Location string
    Resource location.
    ManagedIdentityResourceId string
    The resource ID of a managed identity (system or user assigned) to be used to authenticate with event hub.
    MappingRuleName string
    The mapping rule to be used to ingest the data. Optionally the mapping information can be added to each message.
    RetrievalStartDate string
    When defined, the data connection retrieves existing Event hub events created since the Retrieval start date. It can only retrieve events retained by the Event hub, based on its retention period.
    TableName string
    The table where the data should be ingested. Optionally the table information can be added to each message.
    ClusterName string
    The name of the Kusto cluster.
    ConsumerGroup string
    The event hub consumer group.
    DatabaseName string
    The name of the database in the Kusto cluster.
    EventHubResourceId string
    The resource ID of the event hub to be used to create a data connection.
    ResourceGroupName string
    The name of the resource group containing the Kusto cluster.
    Compression string | Compression
    The event hub messages compression type
    DataConnectionName string
    The name of the data connection.
    DataFormat string | EventHubDataFormat
    The data format of the message. Optionally the data format can be added to each message.
    DatabaseRouting string | DatabaseRouting
    Indication for database routing information from the data connection, by default only database routing information is allowed
    EventSystemProperties []string
    System properties of the event hub
    Location string
    Resource location.
    ManagedIdentityResourceId string
    The resource ID of a managed identity (system or user assigned) to be used to authenticate with event hub.
    MappingRuleName string
    The mapping rule to be used to ingest the data. Optionally the mapping information can be added to each message.
    RetrievalStartDate string
    When defined, the data connection retrieves existing Event hub events created since the Retrieval start date. It can only retrieve events retained by the Event hub, based on its retention period.
    TableName string
    The table where the data should be ingested. Optionally the table information can be added to each message.
    clusterName String
    The name of the Kusto cluster.
    consumerGroup String
    The event hub consumer group.
    databaseName String
    The name of the database in the Kusto cluster.
    eventHubResourceId String
    The resource ID of the event hub to be used to create a data connection.
    resourceGroupName String
    The name of the resource group containing the Kusto cluster.
    compression String | Compression
    The event hub messages compression type
    dataConnectionName String
    The name of the data connection.
    dataFormat String | EventHubDataFormat
    The data format of the message. Optionally the data format can be added to each message.
    databaseRouting String | DatabaseRouting
    Indication for database routing information from the data connection, by default only database routing information is allowed
    eventSystemProperties List<String>
    System properties of the event hub
    location String
    Resource location.
    managedIdentityResourceId String
    The resource ID of a managed identity (system or user assigned) to be used to authenticate with event hub.
    mappingRuleName String
    The mapping rule to be used to ingest the data. Optionally the mapping information can be added to each message.
    retrievalStartDate String
    When defined, the data connection retrieves existing Event hub events created since the Retrieval start date. It can only retrieve events retained by the Event hub, based on its retention period.
    tableName String
    The table where the data should be ingested. Optionally the table information can be added to each message.
    clusterName string
    The name of the Kusto cluster.
    consumerGroup string
    The event hub consumer group.
    databaseName string
    The name of the database in the Kusto cluster.
    eventHubResourceId string
    The resource ID of the event hub to be used to create a data connection.
    resourceGroupName string
    The name of the resource group containing the Kusto cluster.
    compression string | Compression
    The event hub messages compression type
    dataConnectionName string
    The name of the data connection.
    dataFormat string | EventHubDataFormat
    The data format of the message. Optionally the data format can be added to each message.
    databaseRouting string | DatabaseRouting
    Indication for database routing information from the data connection, by default only database routing information is allowed
    eventSystemProperties string[]
    System properties of the event hub
    location string
    Resource location.
    managedIdentityResourceId string
    The resource ID of a managed identity (system or user assigned) to be used to authenticate with event hub.
    mappingRuleName string
    The mapping rule to be used to ingest the data. Optionally the mapping information can be added to each message.
    retrievalStartDate string
    When defined, the data connection retrieves existing Event hub events created since the Retrieval start date. It can only retrieve events retained by the Event hub, based on its retention period.
    tableName string
    The table where the data should be ingested. Optionally the table information can be added to each message.
    cluster_name str
    The name of the Kusto cluster.
    consumer_group str
    The event hub consumer group.
    database_name str
    The name of the database in the Kusto cluster.
    event_hub_resource_id str
    The resource ID of the event hub to be used to create a data connection.
    resource_group_name str
    The name of the resource group containing the Kusto cluster.
    compression str | Compression
    The event hub messages compression type
    data_connection_name str
    The name of the data connection.
    data_format str | EventHubDataFormat
    The data format of the message. Optionally the data format can be added to each message.
    database_routing str | DatabaseRouting
    Indication for database routing information from the data connection, by default only database routing information is allowed
    event_system_properties Sequence[str]
    System properties of the event hub
    location str
    Resource location.
    managed_identity_resource_id str
    The resource ID of a managed identity (system or user assigned) to be used to authenticate with event hub.
    mapping_rule_name str
    The mapping rule to be used to ingest the data. Optionally the mapping information can be added to each message.
    retrieval_start_date str
    When defined, the data connection retrieves existing Event hub events created since the Retrieval start date. It can only retrieve events retained by the Event hub, based on its retention period.
    table_name str
    The table where the data should be ingested. Optionally the table information can be added to each message.
    clusterName String
    The name of the Kusto cluster.
    consumerGroup String
    The event hub consumer group.
    databaseName String
    The name of the database in the Kusto cluster.
    eventHubResourceId String
    The resource ID of the event hub to be used to create a data connection.
    resourceGroupName String
    The name of the resource group containing the Kusto cluster.
    compression String | "None" | "GZip"
    The event hub messages compression type
    dataConnectionName String
    The name of the data connection.
    dataFormat String | "MULTIJSON" | "JSON" | "CSV" | "TSV" | "SCSV" | "SOHSV" | "PSV" | "TXT" | "RAW" | "SINGLEJSON" | "AVRO" | "TSVE" | "PARQUET" | "ORC" | "APACHEAVRO" | "W3CLOGFILE"
    The data format of the message. Optionally the data format can be added to each message.
    databaseRouting String | "Single" | "Multi"
    Indication for database routing information from the data connection, by default only database routing information is allowed
    eventSystemProperties List<String>
    System properties of the event hub
    location String
    Resource location.
    managedIdentityResourceId String
    The resource ID of a managed identity (system or user assigned) to be used to authenticate with event hub.
    mappingRuleName String
    The mapping rule to be used to ingest the data. Optionally the mapping information can be added to each message.
    retrievalStartDate String
    When defined, the data connection retrieves existing Event hub events created since the Retrieval start date. It can only retrieve events retained by the Event hub, based on its retention period.
    tableName String
    The table where the data should be ingested. Optionally the table information can be added to each message.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the EventHubDataConnection resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    ManagedIdentityObjectId string
    The object ID of the managedIdentityResourceId
    Name string
    The name of the resource
    ProvisioningState string
    The provisioned state of the resource.
    Type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    Id string
    The provider-assigned unique ID for this managed resource.
    ManagedIdentityObjectId string
    The object ID of the managedIdentityResourceId
    Name string
    The name of the resource
    ProvisioningState string
    The provisioned state of the resource.
    Type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    id String
    The provider-assigned unique ID for this managed resource.
    managedIdentityObjectId String
    The object ID of the managedIdentityResourceId
    name String
    The name of the resource
    provisioningState String
    The provisioned state of the resource.
    type String
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    id string
    The provider-assigned unique ID for this managed resource.
    managedIdentityObjectId string
    The object ID of the managedIdentityResourceId
    name string
    The name of the resource
    provisioningState string
    The provisioned state of the resource.
    type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    id str
    The provider-assigned unique ID for this managed resource.
    managed_identity_object_id str
    The object ID of the managedIdentityResourceId
    name str
    The name of the resource
    provisioning_state str
    The provisioned state of the resource.
    type str
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    id String
    The provider-assigned unique ID for this managed resource.
    managedIdentityObjectId String
    The object ID of the managedIdentityResourceId
    name String
    The name of the resource
    provisioningState String
    The provisioned state of the resource.
    type String
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

    Supporting Types

    Compression, CompressionArgs

    None
    None
    GZip
    GZip
    CompressionNone
    None
    CompressionGZip
    GZip
    None
    None
    GZip
    GZip
    None
    None
    GZip
    GZip
    NONE
    None
    G_ZIP
    GZip
    "None"
    None
    "GZip"
    GZip

    DatabaseRouting, DatabaseRoutingArgs

    Single
    Single
    Multi
    Multi
    DatabaseRoutingSingle
    Single
    DatabaseRoutingMulti
    Multi
    Single
    Single
    Multi
    Multi
    Single
    Single
    Multi
    Multi
    SINGLE
    Single
    MULTI
    Multi
    "Single"
    Single
    "Multi"
    Multi

    EventHubDataFormat, EventHubDataFormatArgs

    MULTIJSON
    MULTIJSON
    JSON
    JSON
    CSV
    CSV
    TSV
    TSV
    SCSV
    SCSV
    SOHSV
    SOHSV
    PSV
    PSV
    TXT
    TXT
    RAW
    RAW
    SINGLEJSON
    SINGLEJSON
    AVRO
    AVRO
    TSVE
    TSVE
    PARQUET
    PARQUET
    ORC
    ORC
    APACHEAVRO
    APACHEAVRO
    W3CLOGFILE
    W3CLOGFILE
    EventHubDataFormatMULTIJSON
    MULTIJSON
    EventHubDataFormatJSON
    JSON
    EventHubDataFormatCSV
    CSV
    EventHubDataFormatTSV
    TSV
    EventHubDataFormatSCSV
    SCSV
    EventHubDataFormatSOHSV
    SOHSV
    EventHubDataFormatPSV
    PSV
    EventHubDataFormatTXT
    TXT
    EventHubDataFormatRAW
    RAW
    EventHubDataFormatSINGLEJSON
    SINGLEJSON
    EventHubDataFormatAVRO
    AVRO
    EventHubDataFormatTSVE
    TSVE
    EventHubDataFormatPARQUET
    PARQUET
    EventHubDataFormatORC
    ORC
    EventHubDataFormatAPACHEAVRO
    APACHEAVRO
    EventHubDataFormatW3CLOGFILE
    W3CLOGFILE
    MULTIJSON
    MULTIJSON
    JSON
    JSON
    CSV
    CSV
    TSV
    TSV
    SCSV
    SCSV
    SOHSV
    SOHSV
    PSV
    PSV
    TXT
    TXT
    RAW
    RAW
    SINGLEJSON
    SINGLEJSON
    AVRO
    AVRO
    TSVE
    TSVE
    PARQUET
    PARQUET
    ORC
    ORC
    APACHEAVRO
    APACHEAVRO
    W3CLOGFILE
    W3CLOGFILE
    MULTIJSON
    MULTIJSON
    JSON
    JSON
    CSV
    CSV
    TSV
    TSV
    SCSV
    SCSV
    SOHSV
    SOHSV
    PSV
    PSV
    TXT
    TXT
    RAW
    RAW
    SINGLEJSON
    SINGLEJSON
    AVRO
    AVRO
    TSVE
    TSVE
    PARQUET
    PARQUET
    ORC
    ORC
    APACHEAVRO
    APACHEAVRO
    W3CLOGFILE
    W3CLOGFILE
    MULTIJSON
    MULTIJSON
    JSON
    JSON
    CSV
    CSV
    TSV
    TSV
    SCSV
    SCSV
    SOHSV
    SOHSV
    PSV
    PSV
    TXT
    TXT
    RAW
    RAW
    SINGLEJSON
    SINGLEJSON
    AVRO
    AVRO
    TSVE
    TSVE
    PARQUET
    PARQUET
    ORC
    ORC
    APACHEAVRO
    APACHEAVRO
    W3_CLOGFILE
    W3CLOGFILE
    "MULTIJSON"
    MULTIJSON
    "JSON"
    JSON
    "CSV"
    CSV
    "TSV"
    TSV
    "SCSV"
    SCSV
    "SOHSV"
    SOHSV
    "PSV"
    PSV
    "TXT"
    TXT
    "RAW"
    RAW
    "SINGLEJSON"
    SINGLEJSON
    "AVRO"
    AVRO
    "TSVE"
    TSVE
    "PARQUET"
    PARQUET
    "ORC"
    ORC
    "APACHEAVRO"
    APACHEAVRO
    "W3CLOGFILE"
    W3CLOGFILE

    Import

    An existing resource can be imported using its type token, name, and identifier, e.g.

    $ pulumi import azure-native:kusto:EventHubDataConnection kustoCluster/KustoDatabase8/dataConnectionTest /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/databases/{databaseName}/dataConnections/{dataConnectionName} 
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    Azure Native pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native logo
    This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
    Azure Native v2.72.0 published on Wednesday, Nov 13, 2024 by Pulumi