IotHubDataConnection

class IotHubDataConnection : KotlinCustomResource

Class representing an iot hub data connection. Uses Azure REST API version 2021-06-01-preview. In version 2.x of the Azure Native provider, it used API version 2021-06-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",
});
});
package main
import (
synapse "github.com/pulumi/pulumi-azure-native-sdk/synapse/v2"
"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
})
}
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());
}
}

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/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/kustoPools/{kustoPoolName}/databases/{databaseName}/dataConnections/{dataConnectionName}

Properties

Link copied to clipboard
val azureApiVersion: Output<String>

The Azure API version of the resource.

Link copied to clipboard
val consumerGroup: Output<String>

The iot hub consumer group.

Link copied to clipboard
val dataFormat: Output<String>?

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
val id: Output<String>
Link copied to clipboard

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

Link copied to clipboard
val kind: Output<String>

Kind of the endpoint for the data connection Expected value is 'IotHub'.

Link copied to clipboard
val location: Output<String>?

Resource location.

Link copied to clipboard
val mappingRuleName: Output<String>?

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

Link copied to clipboard
val name: Output<String>

The name of the resource

Link copied to clipboard

The provisioned state of the resource.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

The name of the share access policy

Link copied to clipboard

Azure Resource Manager metadata containing createdBy and modifiedBy information.

Link copied to clipboard
val tableName: Output<String>?

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

Link copied to clipboard
val type: Output<String>

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

Link copied to clipboard
val urn: Output<String>