Data Flow Endpoint Args
data class DataFlowEndpointArgs(val dataflowEndpointName: Output<String>? = null, val extendedLocation: Output<ExtendedLocationArgs>? = null, val instanceName: Output<String>? = null, val properties: Output<DataFlowEndpointPropertiesArgs>? = null, val resourceGroupName: Output<String>? = null) : ConvertibleToJava<DataFlowEndpointArgs>
Instance dataflowEndpoint resource Uses Azure REST API version 2024-07-01-preview.
Example Usage
DataFlowEndpoint_CreateOrUpdate
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var dataFlowEndpoint = new AzureNative.IoTOperations.DataFlowEndpoint("dataFlowEndpoint", new()
{
DataflowEndpointName = "aio-dataflowendpoint",
ExtendedLocation = new AzureNative.IoTOperations.Inputs.ExtendedLocationArgs
{
Name = "ycsyubcxttlusbhfdqaynmkaatnbyv",
Type = AzureNative.IoTOperations.ExtendedLocationType.CustomLocation,
},
InstanceName = "aio-instance",
Properties = new AzureNative.IoTOperations.Inputs.DataFlowEndpointPropertiesArgs
{
Authentication = new AzureNative.IoTOperations.Inputs.DataFlowEndpointAuthenticationArgs
{
AccessTokenSecretRef = "tnwgineiasofrjwmpvrpxrvgxesxge",
Method = AzureNative.IoTOperations.AuthenticationMethod.SystemAssignedManagedIdentity,
SaslSettings = new AzureNative.IoTOperations.Inputs.DataFlowEndpointAuthenticationSaslArgs
{
SaslType = AzureNative.IoTOperations.DataFlowEndpointAuthenticationSaslType.Plain,
TokenSecretRef = "yveihxxdxfczlnsp",
},
ServiceAccountTokenSettings = new AzureNative.IoTOperations.Inputs.DataFlowEndpointAuthenticationServiceAccountTokenArgs
{
Audience = "jwqprkifp",
},
SystemAssignedManagedIdentitySettings = new AzureNative.IoTOperations.Inputs.DataFlowEndpointAuthenticationSystemAssignedManagedIdentityArgs
{
Audience = "imuwrt",
},
UserAssignedManagedIdentitySettings = new AzureNative.IoTOperations.Inputs.DataFlowEndpointAuthenticationUserAssignedManagedIdentityArgs
{
Audience = "lwqpynroxkgvk",
ClientId = "qjwbqdunldmwiknaifmjtdzc",
TenantId = "xuhbmockgsjanbccm",
},
X509CredentialsSettings = new AzureNative.IoTOperations.Inputs.DataFlowEndpointAuthenticationX509Args
{
SecretRef = "ginzjdbcaebellwqjwiy",
},
},
DataExplorerSettings = new AzureNative.IoTOperations.Inputs.DataFlowEndpointDataExplorerArgs
{
Batching = new AzureNative.IoTOperations.Inputs.BatchingConfigurationArgs
{
LatencySeconds = 9312,
MaxMessages = 9028,
},
Database = "vlzldgzfnjrenepi",
Host = "<cluster>.<region>.kusto.windows.net",
},
DataLakeStorageSettings = new AzureNative.IoTOperations.Inputs.DataFlowEndpointDataLakeStorageArgs
{
Batching = new AzureNative.IoTOperations.Inputs.BatchingConfigurationArgs
{
LatencySeconds = 9312,
MaxMessages = 9028,
},
Host = "<account>.blob.core.windows.net",
},
EndpointType = AzureNative.IoTOperations.EndpointType.DataExplorer,
FabricOneLakeSettings = new AzureNative.IoTOperations.Inputs.DataFlowEndpointFabricOneLakeArgs
{
Batching = new AzureNative.IoTOperations.Inputs.BatchingConfigurationArgs
{
LatencySeconds = 9312,
MaxMessages = 9028,
},
Host = "https://<host>.fabric.microsoft.com",
Names = new AzureNative.IoTOperations.Inputs.DataFlowEndpointFabricOneLakeNamesArgs
{
LakehouseName = "wlkswgqkputd",
WorkspaceName = "jpixitkilnnznphuv",
},
OneLakePathType = AzureNative.IoTOperations.DataFlowEndpointFabricPathType.Files,
},
KafkaSettings = new AzureNative.IoTOperations.Inputs.DataFlowEndpointKafkaArgs
{
Batching = new AzureNative.IoTOperations.Inputs.DataFlowEndpointKafkaBatchingArgs
{
LatencyMs = 5560,
MaxBytes = 2289,
MaxMessages = 7908,
Mode = AzureNative.IoTOperations.OperationalMode.Enabled,
},
Compression = AzureNative.IoTOperations.DataFlowEndpointKafkaCompression.None,
ConsumerGroupId = "bpihkcqsi",
CopyMqttProperties = AzureNative.IoTOperations.OperationalMode.Enabled,
Host = "duqkazfangmbwtfnivqmhpxfqigi",
KafkaAcks = AzureNative.IoTOperations.DataFlowEndpointKafkaAcks.Zero,
PartitionStrategy = AzureNative.IoTOperations.DataFlowEndpointKafkaPartitionStrategy.Default,
Tls = new AzureNative.IoTOperations.Inputs.TlsPropertiesArgs
{
Mode = AzureNative.IoTOperations.OperationalMode.Enabled,
TrustedCaCertificateConfigMapRef = "p",
},
},
LocalStorageSettings = new AzureNative.IoTOperations.Inputs.DataFlowEndpointLocalStorageArgs
{
PersistentVolumeClaimRef = "fnswdfocruvmkzqbtfvzhzremdohtv",
},
MqttSettings = new AzureNative.IoTOperations.Inputs.DataFlowEndpointMqttArgs
{
ClientIdPrefix = "vhfupaialczfkrcmo",
Host = "lenprkulhttcpqop",
KeepAliveSeconds = 0,
MaxInflightMessages = 0,
Protocol = AzureNative.IoTOperations.BrokerProtocolType.Mqtt,
Qos = 1,
Retain = AzureNative.IoTOperations.MqttRetainType.Keep,
SessionExpirySeconds = 0,
Tls = new AzureNative.IoTOperations.Inputs.TlsPropertiesArgs
{
Mode = AzureNative.IoTOperations.OperationalMode.Enabled,
TrustedCaCertificateConfigMapRef = "p",
},
},
},
ResourceGroupName = "rgiotoperations",
});
});
Content copied to clipboard
package main
import (
iotoperations "github.com/pulumi/pulumi-azure-native-sdk/iotoperations/v2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := iotoperations.NewDataFlowEndpoint(ctx, "dataFlowEndpoint", &iotoperations.DataFlowEndpointArgs{
DataflowEndpointName: pulumi.String("aio-dataflowendpoint"),
ExtendedLocation: &iotoperations.ExtendedLocationArgs{
Name: pulumi.String("ycsyubcxttlusbhfdqaynmkaatnbyv"),
Type: pulumi.String(iotoperations.ExtendedLocationTypeCustomLocation),
},
InstanceName: pulumi.String("aio-instance"),
Properties: &iotoperations.DataFlowEndpointPropertiesArgs{
Authentication: &iotoperations.DataFlowEndpointAuthenticationArgs{
AccessTokenSecretRef: pulumi.String("tnwgineiasofrjwmpvrpxrvgxesxge"),
Method: pulumi.String(iotoperations.AuthenticationMethodSystemAssignedManagedIdentity),
SaslSettings: &iotoperations.DataFlowEndpointAuthenticationSaslArgs{
SaslType: pulumi.String(iotoperations.DataFlowEndpointAuthenticationSaslTypePlain),
TokenSecretRef: pulumi.String("yveihxxdxfczlnsp"),
},
ServiceAccountTokenSettings: &iotoperations.DataFlowEndpointAuthenticationServiceAccountTokenArgs{
Audience: pulumi.String("jwqprkifp"),
},
SystemAssignedManagedIdentitySettings: &iotoperations.DataFlowEndpointAuthenticationSystemAssignedManagedIdentityArgs{
Audience: pulumi.String("imuwrt"),
},
UserAssignedManagedIdentitySettings: &iotoperations.DataFlowEndpointAuthenticationUserAssignedManagedIdentityArgs{
Audience: pulumi.String("lwqpynroxkgvk"),
ClientId: pulumi.String("qjwbqdunldmwiknaifmjtdzc"),
TenantId: pulumi.String("xuhbmockgsjanbccm"),
},
X509CredentialsSettings: &iotoperations.DataFlowEndpointAuthenticationX509Args{
SecretRef: pulumi.String("ginzjdbcaebellwqjwiy"),
},
},
DataExplorerSettings: &iotoperations.DataFlowEndpointDataExplorerArgs{
Batching: &iotoperations.BatchingConfigurationArgs{
LatencySeconds: pulumi.Int(9312),
MaxMessages: pulumi.Int(9028),
},
Database: pulumi.String("vlzldgzfnjrenepi"),
Host: pulumi.String("<cluster>.<region>.kusto.windows.net"),
},
DataLakeStorageSettings: &iotoperations.DataFlowEndpointDataLakeStorageArgs{
Batching: &iotoperations.BatchingConfigurationArgs{
LatencySeconds: pulumi.Int(9312),
MaxMessages: pulumi.Int(9028),
},
Host: pulumi.String("<account>.blob.core.windows.net"),
},
EndpointType: pulumi.String(iotoperations.EndpointTypeDataExplorer),
FabricOneLakeSettings: &iotoperations.DataFlowEndpointFabricOneLakeArgs{
Batching: &iotoperations.BatchingConfigurationArgs{
LatencySeconds: pulumi.Int(9312),
MaxMessages: pulumi.Int(9028),
},
Host: pulumi.String("https://<host>.fabric.microsoft.com"),
Names: &iotoperations.DataFlowEndpointFabricOneLakeNamesArgs{
LakehouseName: pulumi.String("wlkswgqkputd"),
WorkspaceName: pulumi.String("jpixitkilnnznphuv"),
},
OneLakePathType: pulumi.String(iotoperations.DataFlowEndpointFabricPathTypeFiles),
},
KafkaSettings: &iotoperations.DataFlowEndpointKafkaArgs{
Batching: &iotoperations.DataFlowEndpointKafkaBatchingArgs{
LatencyMs: pulumi.Int(5560),
MaxBytes: pulumi.Int(2289),
MaxMessages: pulumi.Int(7908),
Mode: pulumi.String(iotoperations.OperationalModeEnabled),
},
Compression: pulumi.String(iotoperations.DataFlowEndpointKafkaCompressionNone),
ConsumerGroupId: pulumi.String("bpihkcqsi"),
CopyMqttProperties: pulumi.String(iotoperations.OperationalModeEnabled),
Host: pulumi.String("duqkazfangmbwtfnivqmhpxfqigi"),
KafkaAcks: pulumi.String(iotoperations.DataFlowEndpointKafkaAcksZero),
PartitionStrategy: pulumi.String(iotoperations.DataFlowEndpointKafkaPartitionStrategyDefault),
Tls: &iotoperations.TlsPropertiesArgs{
Mode: pulumi.String(iotoperations.OperationalModeEnabled),
TrustedCaCertificateConfigMapRef: pulumi.String("p"),
},
},
LocalStorageSettings: &iotoperations.DataFlowEndpointLocalStorageArgs{
PersistentVolumeClaimRef: pulumi.String("fnswdfocruvmkzqbtfvzhzremdohtv"),
},
MqttSettings: &iotoperations.DataFlowEndpointMqttArgs{
ClientIdPrefix: pulumi.String("vhfupaialczfkrcmo"),
Host: pulumi.String("lenprkulhttcpqop"),
KeepAliveSeconds: pulumi.Int(0),
MaxInflightMessages: pulumi.Int(0),
Protocol: pulumi.String(iotoperations.BrokerProtocolTypeMqtt),
Qos: pulumi.Int(1),
Retain: pulumi.String(iotoperations.MqttRetainTypeKeep),
SessionExpirySeconds: pulumi.Int(0),
Tls: &iotoperations.TlsPropertiesArgs{
Mode: pulumi.String(iotoperations.OperationalModeEnabled),
TrustedCaCertificateConfigMapRef: pulumi.String("p"),
},
},
},
ResourceGroupName: pulumi.String("rgiotoperations"),
})
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.iotoperations.DataFlowEndpoint;
import com.pulumi.azurenative.iotoperations.DataFlowEndpointArgs;
import com.pulumi.azurenative.iotoperations.inputs.ExtendedLocationArgs;
import com.pulumi.azurenative.iotoperations.inputs.DataFlowEndpointPropertiesArgs;
import com.pulumi.azurenative.iotoperations.inputs.DataFlowEndpointAuthenticationArgs;
import com.pulumi.azurenative.iotoperations.inputs.DataFlowEndpointAuthenticationSaslArgs;
import com.pulumi.azurenative.iotoperations.inputs.DataFlowEndpointAuthenticationServiceAccountTokenArgs;
import com.pulumi.azurenative.iotoperations.inputs.DataFlowEndpointAuthenticationSystemAssignedManagedIdentityArgs;
import com.pulumi.azurenative.iotoperations.inputs.DataFlowEndpointAuthenticationUserAssignedManagedIdentityArgs;
import com.pulumi.azurenative.iotoperations.inputs.DataFlowEndpointAuthenticationX509Args;
import com.pulumi.azurenative.iotoperations.inputs.DataFlowEndpointDataExplorerArgs;
import com.pulumi.azurenative.iotoperations.inputs.BatchingConfigurationArgs;
import com.pulumi.azurenative.iotoperations.inputs.DataFlowEndpointDataLakeStorageArgs;
import com.pulumi.azurenative.iotoperations.inputs.DataFlowEndpointFabricOneLakeArgs;
import com.pulumi.azurenative.iotoperations.inputs.DataFlowEndpointFabricOneLakeNamesArgs;
import com.pulumi.azurenative.iotoperations.inputs.DataFlowEndpointKafkaArgs;
import com.pulumi.azurenative.iotoperations.inputs.DataFlowEndpointKafkaBatchingArgs;
import com.pulumi.azurenative.iotoperations.inputs.TlsPropertiesArgs;
import com.pulumi.azurenative.iotoperations.inputs.DataFlowEndpointLocalStorageArgs;
import com.pulumi.azurenative.iotoperations.inputs.DataFlowEndpointMqttArgs;
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 dataFlowEndpoint = new DataFlowEndpoint("dataFlowEndpoint", DataFlowEndpointArgs.builder()
.dataflowEndpointName("aio-dataflowendpoint")
.extendedLocation(ExtendedLocationArgs.builder()
.name("ycsyubcxttlusbhfdqaynmkaatnbyv")
.type("CustomLocation")
.build())
.instanceName("aio-instance")
.properties(DataFlowEndpointPropertiesArgs.builder()
.authentication(DataFlowEndpointAuthenticationArgs.builder()
.accessTokenSecretRef("tnwgineiasofrjwmpvrpxrvgxesxge")
.method("SystemAssignedManagedIdentity")
.saslSettings(DataFlowEndpointAuthenticationSaslArgs.builder()
.saslType("Plain")
.tokenSecretRef("yveihxxdxfczlnsp")
.build())
.serviceAccountTokenSettings(DataFlowEndpointAuthenticationServiceAccountTokenArgs.builder()
.audience("jwqprkifp")
.build())
.systemAssignedManagedIdentitySettings(DataFlowEndpointAuthenticationSystemAssignedManagedIdentityArgs.builder()
.audience("imuwrt")
.build())
.userAssignedManagedIdentitySettings(DataFlowEndpointAuthenticationUserAssignedManagedIdentityArgs.builder()
.audience("lwqpynroxkgvk")
.clientId("qjwbqdunldmwiknaifmjtdzc")
.tenantId("xuhbmockgsjanbccm")
.build())
.x509CredentialsSettings(DataFlowEndpointAuthenticationX509Args.builder()
.secretRef("ginzjdbcaebellwqjwiy")
.build())
.build())
.dataExplorerSettings(DataFlowEndpointDataExplorerArgs.builder()
.batching(BatchingConfigurationArgs.builder()
.latencySeconds(9312)
.maxMessages(9028)
.build())
.database("vlzldgzfnjrenepi")
.host("<cluster>.<region>.kusto.windows.net")
.build())
.dataLakeStorageSettings(DataFlowEndpointDataLakeStorageArgs.builder()
.batching(BatchingConfigurationArgs.builder()
.latencySeconds(9312)
.maxMessages(9028)
.build())
.host("<account>.blob.core.windows.net")
.build())
.endpointType("DataExplorer")
.fabricOneLakeSettings(DataFlowEndpointFabricOneLakeArgs.builder()
.batching(BatchingConfigurationArgs.builder()
.latencySeconds(9312)
.maxMessages(9028)
.build())
.host("https://<host>.fabric.microsoft.com")
.names(DataFlowEndpointFabricOneLakeNamesArgs.builder()
.lakehouseName("wlkswgqkputd")
.workspaceName("jpixitkilnnznphuv")
.build())
.oneLakePathType("Files")
.build())
.kafkaSettings(DataFlowEndpointKafkaArgs.builder()
.batching(DataFlowEndpointKafkaBatchingArgs.builder()
.latencyMs(5560)
.maxBytes(2289)
.maxMessages(7908)
.mode("Enabled")
.build())
.compression("None")
.consumerGroupId("bpihkcqsi")
.copyMqttProperties("Enabled")
.host("duqkazfangmbwtfnivqmhpxfqigi")
.kafkaAcks("Zero")
.partitionStrategy("Default")
.tls(TlsPropertiesArgs.builder()
.mode("Enabled")
.trustedCaCertificateConfigMapRef("p")
.build())
.build())
.localStorageSettings(DataFlowEndpointLocalStorageArgs.builder()
.persistentVolumeClaimRef("fnswdfocruvmkzqbtfvzhzremdohtv")
.build())
.mqttSettings(DataFlowEndpointMqttArgs.builder()
.clientIdPrefix("vhfupaialczfkrcmo")
.host("lenprkulhttcpqop")
.keepAliveSeconds(0)
.maxInflightMessages(0)
.protocol("Mqtt")
.qos(1)
.retain("Keep")
.sessionExpirySeconds(0)
.tls(TlsPropertiesArgs.builder()
.mode("Enabled")
.trustedCaCertificateConfigMapRef("p")
.build())
.build())
.build())
.resourceGroupName("rgiotoperations")
.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:iotoperations:DataFlowEndpoint kvyqxmrwwvxxvrlwyxfkxoebrapxbj /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTOperations/instances/{instanceName}/dataflowEndpoints/{dataflowEndpointName}
Content copied to clipboard
Constructors
Link copied to clipboard
constructor(dataflowEndpointName: Output<String>? = null, extendedLocation: Output<ExtendedLocationArgs>? = null, instanceName: Output<String>? = null, properties: Output<DataFlowEndpointPropertiesArgs>? = null, resourceGroupName: Output<String>? = null)
Properties
Link copied to clipboard
Name of Instance dataflowEndpoint resource
Link copied to clipboard
Edge location of the resource.
Link copied to clipboard
Name of instance.
Link copied to clipboard
The resource-specific properties for this resource.
Link copied to clipboard
The name of the resource group. The name is case insensitive.