Event Grid Data Connection Args
Class representing an Event Grid data connection. API Version: 2021-04-01-preview.
Example Usage
KustoPoolDataConnectionsCreateOrUpdate.json
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var eventGridDataConnection = new AzureNative.Synapse.EventGridDataConnection("eventGridDataConnection", new()
{
DataConnectionName = "DataConnections8",
DatabaseName = "KustoDatabase8",
KustoPoolName = "kustoclusterrptest4",
ResourceGroupName = "kustorptest",
WorkspaceName = "synapseWorkspaceName",
});
});
package main
import (
synapse "github.com/pulumi/pulumi-azure-native-sdk/synapse"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := synapse.NewEventGridDataConnection(ctx, "eventGridDataConnection", &synapse.EventGridDataConnectionArgs{
DataConnectionName: pulumi.String("DataConnections8"),
DatabaseName: pulumi.String("KustoDatabase8"),
KustoPoolName: pulumi.String("kustoclusterrptest4"),
ResourceGroupName: pulumi.String("kustorptest"),
WorkspaceName: pulumi.String("synapseWorkspaceName"),
})
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.synapse.EventGridDataConnection;
import com.pulumi.azurenative.synapse.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()
.dataConnectionName("DataConnections8")
.databaseName("KustoDatabase8")
.kustoPoolName("kustoclusterrptest4")
.resourceGroupName("kustorptest")
.workspaceName("synapseWorkspaceName")
.build());
}
}
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:synapse:EventGridDataConnection KustoClusterRPTest4/KustoDatabase8/DataConnections8 /subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Synapse/workspaces/synapseWorkspaceName/kustopools/KustoClusterRPTest4/Databases/KustoDatabase8/DataConnections/DataConnections8
Constructors
Properties
The name of blob storage event type to process.
The event hub consumer group.
The name of the database in the Kusto pool.
The name of the data connection.
The data format of the message. Optionally the data format can be added to each message.
The resource ID where the event grid is configured to send events.
A Boolean value that, if set to true, indicates that ingestion should ignore the first record of every file
The name of the Kusto pool.
The mapping rule to be used to ingest the data. Optionally the mapping information can be added to each message.
The name of the resource group. The name is case insensitive.
The resource ID of the storage account where the data resides.
The name of the workspace