All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.azurenative.iotoperations.kotlin.DataFlowEndpointArgs.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 2.82.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azurenative.iotoperations.kotlin

import com.pulumi.azurenative.iotoperations.DataFlowEndpointArgs.builder
import com.pulumi.azurenative.iotoperations.kotlin.inputs.DataFlowEndpointPropertiesArgs
import com.pulumi.azurenative.iotoperations.kotlin.inputs.DataFlowEndpointPropertiesArgsBuilder
import com.pulumi.azurenative.iotoperations.kotlin.inputs.ExtendedLocationArgs
import com.pulumi.azurenative.iotoperations.kotlin.inputs.ExtendedLocationArgsBuilder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName

/**
 * Instance dataflowEndpoint resource
 * Azure REST API version: 2024-07-01-preview.
 * ## Example Usage
 * ### DataFlowEndpoint_CreateOrUpdate
 * ```csharp
 * 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 = "..kusto.windows.net",
 *             },
 *             DataLakeStorageSettings = new AzureNative.IoTOperations.Inputs.DataFlowEndpointDataLakeStorageArgs
 *             {
 *                 Batching = new AzureNative.IoTOperations.Inputs.BatchingConfigurationArgs
 *                 {
 *                     LatencySeconds = 9312,
 *                     MaxMessages = 9028,
 *                 },
 *                 Host = ".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://.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",
 *     });
 * });
 * ```
 * ```go
 * 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("..kusto.windows.net"),
 * 				},
 * 				DataLakeStorageSettings: &iotoperations.DataFlowEndpointDataLakeStorageArgs{
 * 					Batching: &iotoperations.BatchingConfigurationArgs{
 * 						LatencySeconds: pulumi.Int(9312),
 * 						MaxMessages:    pulumi.Int(9028),
 * 					},
 * 					Host: pulumi.String(".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://.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
 * 	})
 * }
 * ```
 * ```java
 * 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("..kusto.windows.net")
 *                     .build())
 *                 .dataLakeStorageSettings(DataFlowEndpointDataLakeStorageArgs.builder()
 *                     .batching(BatchingConfigurationArgs.builder()
 *                         .latencySeconds(9312)
 *                         .maxMessages(9028)
 *                         .build())
 *                     .host(".blob.core.windows.net")
 *                     .build())
 *                 .endpointType("DataExplorer")
 *                 .fabricOneLakeSettings(DataFlowEndpointFabricOneLakeArgs.builder()
 *                     .batching(BatchingConfigurationArgs.builder()
 *                         .latencySeconds(9312)
 *                         .maxMessages(9028)
 *                         .build())
 *                     .host("https://.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());
 *     }
 * }
 * ```
 * ## Import
 * An existing resource can be imported using its type token, name, and identifier, e.g.
 * ```sh
 * $ pulumi import azure-native:iotoperations:DataFlowEndpoint kvyqxmrwwvxxvrlwyxfkxoebrapxbj /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTOperations/instances/{instanceName}/dataflowEndpoints/{dataflowEndpointName}
 * ```
 * @property dataflowEndpointName Name of Instance dataflowEndpoint resource
 * @property extendedLocation Edge location of the resource.
 * @property instanceName Name of instance.
 * @property properties The resource-specific properties for this resource.
 * @property resourceGroupName The name of the resource group. The name is case insensitive.
 */
public data class DataFlowEndpointArgs(
    public val dataflowEndpointName: Output? = null,
    public val extendedLocation: Output? = null,
    public val instanceName: Output? = null,
    public val properties: Output? = null,
    public val resourceGroupName: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azurenative.iotoperations.DataFlowEndpointArgs =
        com.pulumi.azurenative.iotoperations.DataFlowEndpointArgs.builder()
            .dataflowEndpointName(dataflowEndpointName?.applyValue({ args0 -> args0 }))
            .extendedLocation(extendedLocation?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .instanceName(instanceName?.applyValue({ args0 -> args0 }))
            .properties(properties?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .resourceGroupName(resourceGroupName?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [DataFlowEndpointArgs].
 */
@PulumiTagMarker
public class DataFlowEndpointArgsBuilder internal constructor() {
    private var dataflowEndpointName: Output? = null

    private var extendedLocation: Output? = null

    private var instanceName: Output? = null

    private var properties: Output? = null

    private var resourceGroupName: Output? = null

    /**
     * @param value Name of Instance dataflowEndpoint resource
     */
    @JvmName("pephtvinyarytvaa")
    public suspend fun dataflowEndpointName(`value`: Output) {
        this.dataflowEndpointName = value
    }

    /**
     * @param value Edge location of the resource.
     */
    @JvmName("qneqiliviobhqtpk")
    public suspend fun extendedLocation(`value`: Output) {
        this.extendedLocation = value
    }

    /**
     * @param value Name of instance.
     */
    @JvmName("iqrmccevdbcrpaku")
    public suspend fun instanceName(`value`: Output) {
        this.instanceName = value
    }

    /**
     * @param value The resource-specific properties for this resource.
     */
    @JvmName("ybryrvvbskohbixs")
    public suspend fun properties(`value`: Output) {
        this.properties = value
    }

    /**
     * @param value The name of the resource group. The name is case insensitive.
     */
    @JvmName("pkdfglsmcsemnvsg")
    public suspend fun resourceGroupName(`value`: Output) {
        this.resourceGroupName = value
    }

    /**
     * @param value Name of Instance dataflowEndpoint resource
     */
    @JvmName("xgdapvqgskfjgosh")
    public suspend fun dataflowEndpointName(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.dataflowEndpointName = mapped
    }

    /**
     * @param value Edge location of the resource.
     */
    @JvmName("ussijwkjnfkbaorq")
    public suspend fun extendedLocation(`value`: ExtendedLocationArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.extendedLocation = mapped
    }

    /**
     * @param argument Edge location of the resource.
     */
    @JvmName("gudgmxkmcevkkiyg")
    public suspend fun extendedLocation(argument: suspend ExtendedLocationArgsBuilder.() -> Unit) {
        val toBeMapped = ExtendedLocationArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.extendedLocation = mapped
    }

    /**
     * @param value Name of instance.
     */
    @JvmName("oavtitvrvuxrpina")
    public suspend fun instanceName(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.instanceName = mapped
    }

    /**
     * @param value The resource-specific properties for this resource.
     */
    @JvmName("gnkveaapojujxebn")
    public suspend fun properties(`value`: DataFlowEndpointPropertiesArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.properties = mapped
    }

    /**
     * @param argument The resource-specific properties for this resource.
     */
    @JvmName("bqgksdgsaejbvxsn")
    public suspend fun properties(argument: suspend DataFlowEndpointPropertiesArgsBuilder.() -> Unit) {
        val toBeMapped = DataFlowEndpointPropertiesArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.properties = mapped
    }

    /**
     * @param value The name of the resource group. The name is case insensitive.
     */
    @JvmName("ponmhugtpjidmucy")
    public suspend fun resourceGroupName(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.resourceGroupName = mapped
    }

    internal fun build(): DataFlowEndpointArgs = DataFlowEndpointArgs(
        dataflowEndpointName = dataflowEndpointName,
        extendedLocation = extendedLocation,
        instanceName = instanceName,
        properties = properties,
        resourceGroupName = resourceGroupName,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy