azure-native.kusto.EventGridDataConnection
Explore with Pulumi AI
Class representing an Event Grid data connection.
Uses Azure REST API version 2022-12-29. In version 1.x of the Azure Native provider, it used API version 2021-01-01.
Example Usage
KustoDataConnectionsCosmosDbCreateOrUpdate
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() => 
{
    var eventGridDataConnection = new AzureNative.Kusto.EventGridDataConnection("eventGridDataConnection", 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.NewEventGridDataConnection(ctx, "eventGridDataConnection", &kusto.EventGridDataConnectionArgs{
			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.EventGridDataConnection;
import com.pulumi.azurenative.kusto.EventGridDataConnectionArgs;
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 eventGridDataConnection = new EventGridDataConnection("eventGridDataConnection", EventGridDataConnectionArgs.builder()
            .clusterName("kustoCluster")
            .dataConnectionName("dataConnectionTest")
            .databaseName("KustoDatabase1")
            .resourceGroupName("kustorptest")
            .build());
    }
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const eventGridDataConnection = new azure_native.kusto.EventGridDataConnection("eventGridDataConnection", {
    clusterName: "kustoCluster",
    dataConnectionName: "dataConnectionTest",
    databaseName: "KustoDatabase1",
    resourceGroupName: "kustorptest",
});
import pulumi
import pulumi_azure_native as azure_native
event_grid_data_connection = azure_native.kusto.EventGridDataConnection("eventGridDataConnection",
    cluster_name="kustoCluster",
    data_connection_name="dataConnectionTest",
    database_name="KustoDatabase1",
    resource_group_name="kustorptest")
resources:
  eventGridDataConnection:
    type: azure-native:kusto:EventGridDataConnection
    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 eventGridDataConnection = new AzureNative.Kusto.EventGridDataConnection("eventGridDataConnection", 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.NewEventGridDataConnection(ctx, "eventGridDataConnection", &kusto.EventGridDataConnectionArgs{
			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.EventGridDataConnection;
import com.pulumi.azurenative.kusto.EventGridDataConnectionArgs;
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 eventGridDataConnection = new EventGridDataConnection("eventGridDataConnection", EventGridDataConnectionArgs.builder()
            .clusterName("kustoCluster")
            .dataConnectionName("dataConnectionTest")
            .databaseName("KustoDatabase8")
            .resourceGroupName("kustorptest")
            .build());
    }
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const eventGridDataConnection = new azure_native.kusto.EventGridDataConnection("eventGridDataConnection", {
    clusterName: "kustoCluster",
    dataConnectionName: "dataConnectionTest",
    databaseName: "KustoDatabase8",
    resourceGroupName: "kustorptest",
});
import pulumi
import pulumi_azure_native as azure_native
event_grid_data_connection = azure_native.kusto.EventGridDataConnection("eventGridDataConnection",
    cluster_name="kustoCluster",
    data_connection_name="dataConnectionTest",
    database_name="KustoDatabase8",
    resource_group_name="kustorptest")
resources:
  eventGridDataConnection:
    type: azure-native:kusto:EventGridDataConnection
    properties:
      clusterName: kustoCluster
      dataConnectionName: dataConnectionTest
      databaseName: KustoDatabase8
      resourceGroupName: kustorptest
KustoDataConnectionsEventGridCreateOrUpdate
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() => 
{
    var eventGridDataConnection = new AzureNative.Kusto.EventGridDataConnection("eventGridDataConnection", new()
    {
        BlobStorageEventType = AzureNative.Kusto.BlobStorageEventType.Microsoft_Storage_BlobCreated,
        ClusterName = "kustoCluster",
        ConsumerGroup = "$Default",
        DataConnectionName = "dataConnectionTest",
        DataFormat = AzureNative.Kusto.EventGridDataFormat.JSON,
        DatabaseName = "KustoDatabase8",
        DatabaseRouting = AzureNative.Kusto.DatabaseRouting.Single,
        EventGridResourceId = "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Storage/storageAccounts/teststorageaccount/providers/Microsoft.EventGrid/eventSubscriptions/eventSubscriptionTest",
        EventHubResourceId = "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.EventHub/namespaces/eventhubTestns1/eventhubs/eventhubTest2",
        IgnoreFirstRecord = false,
        Kind = "EventGrid",
        Location = "westus",
        ManagedIdentityResourceId = "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.ManagedIdentity/userAssignedIdentities/managedidentityTest1",
        MappingRuleName = "TestMapping",
        ResourceGroupName = "kustorptest",
        StorageAccountResourceId = "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Storage/storageAccounts/teststorageaccount",
        TableName = "TestTable",
    });
});
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.NewEventGridDataConnection(ctx, "eventGridDataConnection", &kusto.EventGridDataConnectionArgs{
			BlobStorageEventType:      pulumi.String(kusto.BlobStorageEventType_Microsoft_Storage_BlobCreated),
			ClusterName:               pulumi.String("kustoCluster"),
			ConsumerGroup:             pulumi.String("$Default"),
			DataConnectionName:        pulumi.String("dataConnectionTest"),
			DataFormat:                pulumi.String(kusto.EventGridDataFormatJSON),
			DatabaseName:              pulumi.String("KustoDatabase8"),
			DatabaseRouting:           pulumi.String(kusto.DatabaseRoutingSingle),
			EventGridResourceId:       pulumi.String("/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Storage/storageAccounts/teststorageaccount/providers/Microsoft.EventGrid/eventSubscriptions/eventSubscriptionTest"),
			EventHubResourceId:        pulumi.String("/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.EventHub/namespaces/eventhubTestns1/eventhubs/eventhubTest2"),
			IgnoreFirstRecord:         pulumi.Bool(false),
			Kind:                      pulumi.String("EventGrid"),
			Location:                  pulumi.String("westus"),
			ManagedIdentityResourceId: pulumi.String("/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.ManagedIdentity/userAssignedIdentities/managedidentityTest1"),
			MappingRuleName:           pulumi.String("TestMapping"),
			ResourceGroupName:         pulumi.String("kustorptest"),
			StorageAccountResourceId:  pulumi.String("/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Storage/storageAccounts/teststorageaccount"),
			TableName:                 pulumi.String("TestTable"),
		})
		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.EventGridDataConnection;
import com.pulumi.azurenative.kusto.EventGridDataConnectionArgs;
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 eventGridDataConnection = new EventGridDataConnection("eventGridDataConnection", EventGridDataConnectionArgs.builder()
            .blobStorageEventType("Microsoft.Storage.BlobCreated")
            .clusterName("kustoCluster")
            .consumerGroup("$Default")
            .dataConnectionName("dataConnectionTest")
            .dataFormat("JSON")
            .databaseName("KustoDatabase8")
            .databaseRouting("Single")
            .eventGridResourceId("/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Storage/storageAccounts/teststorageaccount/providers/Microsoft.EventGrid/eventSubscriptions/eventSubscriptionTest")
            .eventHubResourceId("/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.EventHub/namespaces/eventhubTestns1/eventhubs/eventhubTest2")
            .ignoreFirstRecord(false)
            .kind("EventGrid")
            .location("westus")
            .managedIdentityResourceId("/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.ManagedIdentity/userAssignedIdentities/managedidentityTest1")
            .mappingRuleName("TestMapping")
            .resourceGroupName("kustorptest")
            .storageAccountResourceId("/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Storage/storageAccounts/teststorageaccount")
            .tableName("TestTable")
            .build());
    }
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const eventGridDataConnection = new azure_native.kusto.EventGridDataConnection("eventGridDataConnection", {
    blobStorageEventType: azure_native.kusto.BlobStorageEventType.Microsoft_Storage_BlobCreated,
    clusterName: "kustoCluster",
    consumerGroup: "$Default",
    dataConnectionName: "dataConnectionTest",
    dataFormat: azure_native.kusto.EventGridDataFormat.JSON,
    databaseName: "KustoDatabase8",
    databaseRouting: azure_native.kusto.DatabaseRouting.Single,
    eventGridResourceId: "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Storage/storageAccounts/teststorageaccount/providers/Microsoft.EventGrid/eventSubscriptions/eventSubscriptionTest",
    eventHubResourceId: "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.EventHub/namespaces/eventhubTestns1/eventhubs/eventhubTest2",
    ignoreFirstRecord: false,
    kind: "EventGrid",
    location: "westus",
    managedIdentityResourceId: "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.ManagedIdentity/userAssignedIdentities/managedidentityTest1",
    mappingRuleName: "TestMapping",
    resourceGroupName: "kustorptest",
    storageAccountResourceId: "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Storage/storageAccounts/teststorageaccount",
    tableName: "TestTable",
});
import pulumi
import pulumi_azure_native as azure_native
event_grid_data_connection = azure_native.kusto.EventGridDataConnection("eventGridDataConnection",
    blob_storage_event_type=azure_native.kusto.BlobStorageEventType.MICROSOFT_STORAGE_BLOB_CREATED,
    cluster_name="kustoCluster",
    consumer_group="$Default",
    data_connection_name="dataConnectionTest",
    data_format=azure_native.kusto.EventGridDataFormat.JSON,
    database_name="KustoDatabase8",
    database_routing=azure_native.kusto.DatabaseRouting.SINGLE,
    event_grid_resource_id="/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Storage/storageAccounts/teststorageaccount/providers/Microsoft.EventGrid/eventSubscriptions/eventSubscriptionTest",
    event_hub_resource_id="/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.EventHub/namespaces/eventhubTestns1/eventhubs/eventhubTest2",
    ignore_first_record=False,
    kind="EventGrid",
    location="westus",
    managed_identity_resource_id="/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.ManagedIdentity/userAssignedIdentities/managedidentityTest1",
    mapping_rule_name="TestMapping",
    resource_group_name="kustorptest",
    storage_account_resource_id="/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Storage/storageAccounts/teststorageaccount",
    table_name="TestTable")
resources:
  eventGridDataConnection:
    type: azure-native:kusto:EventGridDataConnection
    properties:
      blobStorageEventType: Microsoft.Storage.BlobCreated
      clusterName: kustoCluster
      consumerGroup: $Default
      dataConnectionName: dataConnectionTest
      dataFormat: JSON
      databaseName: KustoDatabase8
      databaseRouting: Single
      eventGridResourceId: /subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Storage/storageAccounts/teststorageaccount/providers/Microsoft.EventGrid/eventSubscriptions/eventSubscriptionTest
      eventHubResourceId: /subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.EventHub/namespaces/eventhubTestns1/eventhubs/eventhubTest2
      ignoreFirstRecord: false
      kind: EventGrid
      location: westus
      managedIdentityResourceId: /subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.ManagedIdentity/userAssignedIdentities/managedidentityTest1
      mappingRuleName: TestMapping
      resourceGroupName: kustorptest
      storageAccountResourceId: /subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Storage/storageAccounts/teststorageaccount
      tableName: TestTable
Create EventGridDataConnection Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new EventGridDataConnection(name: string, args: EventGridDataConnectionArgs, opts?: CustomResourceOptions);@overload
def EventGridDataConnection(resource_name: str,
                            args: EventGridDataConnectionArgs,
                            opts: Optional[ResourceOptions] = None)
@overload
def EventGridDataConnection(resource_name: str,
                            opts: Optional[ResourceOptions] = None,
                            event_hub_resource_id: Optional[str] = None,
                            cluster_name: Optional[str] = None,
                            consumer_group: Optional[str] = None,
                            storage_account_resource_id: Optional[str] = None,
                            resource_group_name: Optional[str] = None,
                            database_name: Optional[str] = None,
                            data_format: Optional[Union[str, EventGridDataFormat]] = None,
                            event_grid_resource_id: Optional[str] = None,
                            ignore_first_record: Optional[bool] = None,
                            database_routing: Optional[Union[str, DatabaseRouting]] = None,
                            location: Optional[str] = None,
                            managed_identity_resource_id: Optional[str] = None,
                            mapping_rule_name: Optional[str] = None,
                            blob_storage_event_type: Optional[Union[str, BlobStorageEventType]] = None,
                            data_connection_name: Optional[str] = None,
                            table_name: Optional[str] = None)func NewEventGridDataConnection(ctx *Context, name string, args EventGridDataConnectionArgs, opts ...ResourceOption) (*EventGridDataConnection, error)public EventGridDataConnection(string name, EventGridDataConnectionArgs args, CustomResourceOptions? opts = null)
public EventGridDataConnection(String name, EventGridDataConnectionArgs args)
public EventGridDataConnection(String name, EventGridDataConnectionArgs args, CustomResourceOptions options)
type: azure-native:kusto:EventGridDataConnection
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 EventGridDataConnectionArgs
- 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 EventGridDataConnectionArgs
- 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 EventGridDataConnectionArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args EventGridDataConnectionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args EventGridDataConnectionArgs
- 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 eventGridDataConnectionResource = new AzureNative.Kusto.EventGridDataConnection("eventGridDataConnectionResource", new()
{
    EventHubResourceId = "string",
    ClusterName = "string",
    ConsumerGroup = "string",
    StorageAccountResourceId = "string",
    ResourceGroupName = "string",
    DatabaseName = "string",
    Kind = "string",
    DataFormat = "string",
    EventGridResourceId = "string",
    IgnoreFirstRecord = false,
    DatabaseRouting = "string",
    Location = "string",
    ManagedIdentityResourceId = "string",
    MappingRuleName = "string",
    BlobStorageEventType = "string",
    DataConnectionName = "string",
    TableName = "string",
});
example, err := kusto.NewEventGridDataConnection(ctx, "eventGridDataConnectionResource", &kusto.EventGridDataConnectionArgs{
	EventHubResourceId:        pulumi.String("string"),
	ClusterName:               pulumi.String("string"),
	ConsumerGroup:             pulumi.String("string"),
	StorageAccountResourceId:  pulumi.String("string"),
	ResourceGroupName:         pulumi.String("string"),
	DatabaseName:              pulumi.String("string"),
	Kind:                      pulumi.String("string"),
	DataFormat:                pulumi.String("string"),
	EventGridResourceId:       pulumi.String("string"),
	IgnoreFirstRecord:         pulumi.Bool(false),
	DatabaseRouting:           pulumi.String("string"),
	Location:                  pulumi.String("string"),
	ManagedIdentityResourceId: pulumi.String("string"),
	MappingRuleName:           pulumi.String("string"),
	BlobStorageEventType:      pulumi.String("string"),
	DataConnectionName:        pulumi.String("string"),
	TableName:                 pulumi.String("string"),
})
var eventGridDataConnectionResource = new EventGridDataConnection("eventGridDataConnectionResource", EventGridDataConnectionArgs.builder()
    .eventHubResourceId("string")
    .clusterName("string")
    .consumerGroup("string")
    .storageAccountResourceId("string")
    .resourceGroupName("string")
    .databaseName("string")
    .kind("string")
    .dataFormat("string")
    .eventGridResourceId("string")
    .ignoreFirstRecord(false)
    .databaseRouting("string")
    .location("string")
    .managedIdentityResourceId("string")
    .mappingRuleName("string")
    .blobStorageEventType("string")
    .dataConnectionName("string")
    .tableName("string")
    .build());
event_grid_data_connection_resource = azure_native.kusto.EventGridDataConnection("eventGridDataConnectionResource",
    event_hub_resource_id="string",
    cluster_name="string",
    consumer_group="string",
    storage_account_resource_id="string",
    resource_group_name="string",
    database_name="string",
    kind="string",
    data_format="string",
    event_grid_resource_id="string",
    ignore_first_record=False,
    database_routing="string",
    location="string",
    managed_identity_resource_id="string",
    mapping_rule_name="string",
    blob_storage_event_type="string",
    data_connection_name="string",
    table_name="string")
const eventGridDataConnectionResource = new azure_native.kusto.EventGridDataConnection("eventGridDataConnectionResource", {
    eventHubResourceId: "string",
    clusterName: "string",
    consumerGroup: "string",
    storageAccountResourceId: "string",
    resourceGroupName: "string",
    databaseName: "string",
    kind: "string",
    dataFormat: "string",
    eventGridResourceId: "string",
    ignoreFirstRecord: false,
    databaseRouting: "string",
    location: "string",
    managedIdentityResourceId: "string",
    mappingRuleName: "string",
    blobStorageEventType: "string",
    dataConnectionName: "string",
    tableName: "string",
});
type: azure-native:kusto:EventGridDataConnection
properties:
    blobStorageEventType: string
    clusterName: string
    consumerGroup: string
    dataConnectionName: string
    dataFormat: string
    databaseName: string
    databaseRouting: string
    eventGridResourceId: string
    eventHubResourceId: string
    ignoreFirstRecord: false
    kind: string
    location: string
    managedIdentityResourceId: string
    mappingRuleName: string
    resourceGroupName: string
    storageAccountResourceId: string
    tableName: string
EventGridDataConnection 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 EventGridDataConnection 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.
- EventHub stringResource Id 
- The resource ID where the event grid is configured to send events.
- ResourceGroup stringName 
- The name of the resource group containing the Kusto cluster.
- StorageAccount stringResource Id 
- The resource ID of the storage account where the data resides.
- BlobStorage string | Pulumi.Event Type Azure Native. Kusto. Blob Storage Event Type 
- The name of blob storage event type to process.
- DataConnection stringName 
- The name of the data connection.
- DataFormat string | Pulumi.Azure Native. Kusto. Event Grid Data Format 
- The data format of the message. Optionally the data format can be added to each message.
- DatabaseRouting string | Pulumi.Azure Native. Kusto. Database Routing 
- Indication for database routing information from the data connection, by default only database routing information is allowed
- EventGrid stringResource Id 
- The resource ID of the event grid that is subscribed to the storage account events.
- IgnoreFirst boolRecord 
- A Boolean value that, if set to true, indicates that ingestion should ignore the first record of every file
- Location string
- Resource location.
- ManagedIdentity stringResource Id 
- The resource ID of a managed identity (system or user assigned) to be used to authenticate with event hub and storage account.
- MappingRule stringName 
- The mapping rule to be used to ingest the data. Optionally the mapping information can be added to each message.
- 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.
- EventHub stringResource Id 
- The resource ID where the event grid is configured to send events.
- ResourceGroup stringName 
- The name of the resource group containing the Kusto cluster.
- StorageAccount stringResource Id 
- The resource ID of the storage account where the data resides.
- BlobStorage string | BlobEvent Type Storage Event Type 
- The name of blob storage event type to process.
- DataConnection stringName 
- The name of the data connection.
- DataFormat string | EventGrid Data Format 
- 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
- EventGrid stringResource Id 
- The resource ID of the event grid that is subscribed to the storage account events.
- IgnoreFirst boolRecord 
- A Boolean value that, if set to true, indicates that ingestion should ignore the first record of every file
- Location string
- Resource location.
- ManagedIdentity stringResource Id 
- The resource ID of a managed identity (system or user assigned) to be used to authenticate with event hub and storage account.
- MappingRule stringName 
- The mapping rule to be used to ingest the data. Optionally the mapping information can be added to each message.
- 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.
- eventHub StringResource Id 
- The resource ID where the event grid is configured to send events.
- resourceGroup StringName 
- The name of the resource group containing the Kusto cluster.
- storageAccount StringResource Id 
- The resource ID of the storage account where the data resides.
- blobStorage String | BlobEvent Type Storage Event Type 
- The name of blob storage event type to process.
- dataConnection StringName 
- The name of the data connection.
- dataFormat String | EventGrid Data Format 
- 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
- eventGrid StringResource Id 
- The resource ID of the event grid that is subscribed to the storage account events.
- ignoreFirst BooleanRecord 
- A Boolean value that, if set to true, indicates that ingestion should ignore the first record of every file
- location String
- Resource location.
- managedIdentity StringResource Id 
- The resource ID of a managed identity (system or user assigned) to be used to authenticate with event hub and storage account.
- mappingRule StringName 
- The mapping rule to be used to ingest the data. Optionally the mapping information can be added to each message.
- 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.
- eventHub stringResource Id 
- The resource ID where the event grid is configured to send events.
- resourceGroup stringName 
- The name of the resource group containing the Kusto cluster.
- storageAccount stringResource Id 
- The resource ID of the storage account where the data resides.
- blobStorage string | BlobEvent Type Storage Event Type 
- The name of blob storage event type to process.
- dataConnection stringName 
- The name of the data connection.
- dataFormat string | EventGrid Data Format 
- 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
- eventGrid stringResource Id 
- The resource ID of the event grid that is subscribed to the storage account events.
- ignoreFirst booleanRecord 
- A Boolean value that, if set to true, indicates that ingestion should ignore the first record of every file
- location string
- Resource location.
- managedIdentity stringResource Id 
- The resource ID of a managed identity (system or user assigned) to be used to authenticate with event hub and storage account.
- mappingRule stringName 
- The mapping rule to be used to ingest the data. Optionally the mapping information can be added to each message.
- 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_ strresource_ id 
- The resource ID where the event grid is configured to send events.
- resource_group_ strname 
- The name of the resource group containing the Kusto cluster.
- storage_account_ strresource_ id 
- The resource ID of the storage account where the data resides.
- blob_storage_ str | Blobevent_ type Storage Event Type 
- The name of blob storage event type to process.
- data_connection_ strname 
- The name of the data connection.
- data_format str | EventGrid Data Format 
- 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_grid_ strresource_ id 
- The resource ID of the event grid that is subscribed to the storage account events.
- ignore_first_ boolrecord 
- A Boolean value that, if set to true, indicates that ingestion should ignore the first record of every file
- location str
- Resource location.
- managed_identity_ strresource_ id 
- The resource ID of a managed identity (system or user assigned) to be used to authenticate with event hub and storage account.
- mapping_rule_ strname 
- The mapping rule to be used to ingest the data. Optionally the mapping information can be added to each message.
- 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.
- eventHub StringResource Id 
- The resource ID where the event grid is configured to send events.
- resourceGroup StringName 
- The name of the resource group containing the Kusto cluster.
- storageAccount StringResource Id 
- The resource ID of the storage account where the data resides.
- blobStorage String | "Microsoft.Event Type Storage. Blob Created" | "Microsoft. Storage. Blob Renamed" 
- The name of blob storage event type to process.
- dataConnection StringName 
- 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
- eventGrid StringResource Id 
- The resource ID of the event grid that is subscribed to the storage account events.
- ignoreFirst BooleanRecord 
- A Boolean value that, if set to true, indicates that ingestion should ignore the first record of every file
- location String
- Resource location.
- managedIdentity StringResource Id 
- The resource ID of a managed identity (system or user assigned) to be used to authenticate with event hub and storage account.
- mappingRule StringName 
- The mapping rule to be used to ingest the data. Optionally the mapping information can be added to each message.
- 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 EventGridDataConnection resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- ManagedIdentity stringObject Id 
- The object ID of 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.
- ManagedIdentity stringObject Id 
- The object ID of 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.
- managedIdentity StringObject Id 
- The object ID of 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.
- managedIdentity stringObject Id 
- The object ID of 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_ strobject_ id 
- The object ID of 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.
- managedIdentity StringObject Id 
- The object ID of 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
BlobStorageEventType, BlobStorageEventTypeArgs        
- Microsoft_Storage_BlobCreated 
- Microsoft.Storage.BlobCreated
- Microsoft_Storage_BlobRenamed 
- Microsoft.Storage.BlobRenamed
- BlobStorage Event Type_Microsoft_Storage_Blob Created 
- Microsoft.Storage.BlobCreated
- BlobStorage Event Type_Microsoft_Storage_Blob Renamed 
- Microsoft.Storage.BlobRenamed
- Microsoft_Storage_BlobCreated 
- Microsoft.Storage.BlobCreated
- Microsoft_Storage_BlobRenamed 
- Microsoft.Storage.BlobRenamed
- Microsoft_Storage_BlobCreated 
- Microsoft.Storage.BlobCreated
- Microsoft_Storage_BlobRenamed 
- Microsoft.Storage.BlobRenamed
- MICROSOFT_STORAGE_BLOB_CREATED
- Microsoft.Storage.BlobCreated
- MICROSOFT_STORAGE_BLOB_RENAMED
- Microsoft.Storage.BlobRenamed
- "Microsoft.Storage. Blob Created" 
- Microsoft.Storage.BlobCreated
- "Microsoft.Storage. Blob Renamed" 
- Microsoft.Storage.BlobRenamed
DatabaseRouting, DatabaseRoutingArgs    
- Single
- Single
- Multi
- Multi
- DatabaseRouting Single 
- Single
- DatabaseRouting Multi 
- Multi
- Single
- Single
- Multi
- Multi
- Single
- Single
- Multi
- Multi
- SINGLE
- Single
- MULTI
- Multi
- "Single"
- Single
- "Multi"
- Multi
EventGridDataFormat, EventGridDataFormatArgs        
- 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
- EventGrid Data Format MULTIJSON 
- MULTIJSON
- EventGrid Data Format JSON 
- JSON
- EventGrid Data Format CSV 
- CSV
- EventGrid Data Format TSV 
- TSV
- EventGrid Data Format SCSV 
- SCSV
- EventGrid Data Format SOHSV 
- SOHSV
- EventGrid Data Format PSV 
- PSV
- EventGrid Data Format TXT 
- TXT
- EventGrid Data Format RAW 
- RAW
- EventGrid Data Format SINGLEJSON 
- SINGLEJSON
- EventGrid Data Format AVRO 
- AVRO
- EventGrid Data Format TSVE 
- TSVE
- EventGrid Data Format PARQUET 
- PARQUET
- EventGrid Data Format ORC 
- ORC
- EventGrid Data Format APACHEAVRO 
- APACHEAVRO
- EventGrid Data Format 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
- 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:EventGridDataConnection 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