Iot Hub Data Connection Args
data class IotHubDataConnectionArgs(val consumerGroup: Output<String>? = null, val dataConnectionName: Output<String>? = null, val dataFormat: Output<Either<String, IotHubDataFormat>>? = null, val databaseName: Output<String>? = null, val eventSystemProperties: Output<List<String>>? = null, val iotHubResourceId: Output<String>? = null, val kind: Output<String>? = null, val kustoPoolName: Output<String>? = null, val location: Output<String>? = null, val mappingRuleName: Output<String>? = null, val resourceGroupName: Output<String>? = null, val sharedAccessPolicyName: Output<String>? = null, val tableName: Output<String>? = null, val workspaceName: Output<String>? = null) : ConvertibleToJava<IotHubDataConnectionArgs>
Class representing an iot hub 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 iotHubDataConnection = new AzureNative.Synapse.IotHubDataConnection("iotHubDataConnection", new()
{
DataConnectionName = "DataConnections8",
DatabaseName = "KustoDatabase8",
KustoPoolName = "kustoclusterrptest4",
ResourceGroupName = "kustorptest",
WorkspaceName = "synapseWorkspaceName",
});
});
Content copied to clipboard
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.NewIotHubDataConnection(ctx, "iotHubDataConnection", &synapse.IotHubDataConnectionArgs{
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
})
}
Content copied to clipboard
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.synapse.IotHubDataConnection;
import com.pulumi.azurenative.synapse.IotHubDataConnectionArgs;
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 iotHubDataConnection = new IotHubDataConnection("iotHubDataConnection", IotHubDataConnectionArgs.builder()
.dataConnectionName("DataConnections8")
.databaseName("KustoDatabase8")
.kustoPoolName("kustoclusterrptest4")
.resourceGroupName("kustorptest")
.workspaceName("synapseWorkspaceName")
.build());
}
}
Content copied to clipboard
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:synapse:IotHubDataConnection KustoClusterRPTest4/KustoDatabase8/DataConnections8 /subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Synapse/workspaces/synapseWorkspaceName/kustopools/KustoClusterRPTest4/Databases/KustoDatabase8/DataConnections/DataConnections8
Content copied to clipboard
Constructors
Link copied to clipboard
constructor(consumerGroup: Output<String>? = null, dataConnectionName: Output<String>? = null, dataFormat: Output<Either<String, IotHubDataFormat>>? = null, databaseName: Output<String>? = null, eventSystemProperties: Output<List<String>>? = null, iotHubResourceId: Output<String>? = null, kind: Output<String>? = null, kustoPoolName: Output<String>? = null, location: Output<String>? = null, mappingRuleName: Output<String>? = null, resourceGroupName: Output<String>? = null, sharedAccessPolicyName: Output<String>? = null, tableName: Output<String>? = null, workspaceName: Output<String>? = null)
Properties
Link copied to clipboard
The iot hub consumer group.
Link copied to clipboard
The name of the database in the Kusto pool.
Link copied to clipboard
The name of the data connection.
Link copied to clipboard
The data format of the message. Optionally the data format can be added to each message.
Link copied to clipboard
System properties of the iot hub
Link copied to clipboard
The resource ID of the Iot hub to be used to create a data connection.
Link copied to clipboard
The name of the Kusto pool.
Link copied to clipboard
The mapping rule to be used to ingest the data. Optionally the mapping information can be added to each message.
Link copied to clipboard
The name of the resource group. The name is case insensitive.
Link copied to clipboard
The name of the share access policy
Link copied to clipboard
The name of the workspace