![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.streamanalytics.kotlin.inputs.EventHubV2OutputDataSourceArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-native-kotlin Show documentation
Show all versions of pulumi-azure-native-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.streamanalytics.kotlin.inputs
import com.pulumi.azurenative.streamanalytics.inputs.EventHubV2OutputDataSourceArgs.builder
import com.pulumi.azurenative.streamanalytics.kotlin.enums.AuthenticationMode
import com.pulumi.core.Either
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* Describes an Event Hub output data source.
* @property authenticationMode Authentication Mode.
* @property eventHubName The name of the Event Hub. Required on PUT (CreateOrReplace) requests.
* @property partitionKey The key/column that is used to determine to which partition to send event data.
* @property propertyColumns The properties associated with this Event Hub output.
* @property serviceBusNamespace The namespace that is associated with the desired Event Hub, Service Bus Queue, Service Bus Topic, etc. Required on PUT (CreateOrReplace) requests.
* @property sharedAccessPolicyKey The shared access policy key for the specified shared access policy. Required on PUT (CreateOrReplace) requests.
* @property sharedAccessPolicyName The shared access policy name for the Event Hub, Service Bus Queue, Service Bus Topic, etc. Required on PUT (CreateOrReplace) requests.
* @property type Indicates the type of data source output will be written to. Required on PUT (CreateOrReplace) requests.
* Expected value is 'Microsoft.EventHub/EventHub'.
*/
public data class EventHubV2OutputDataSourceArgs(
public val authenticationMode: Output>? = null,
public val eventHubName: Output? = null,
public val partitionKey: Output? = null,
public val propertyColumns: Output>? = null,
public val serviceBusNamespace: Output? = null,
public val sharedAccessPolicyKey: Output? = null,
public val sharedAccessPolicyName: Output? = null,
public val type: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.streamanalytics.inputs.EventHubV2OutputDataSourceArgs =
com.pulumi.azurenative.streamanalytics.inputs.EventHubV2OutputDataSourceArgs.builder()
.authenticationMode(
authenticationMode?.applyValue({ args0 ->
args0.transform(
{ args0 -> args0 },
{ args0 -> args0.let({ args0 -> args0.toJava() }) },
)
}),
)
.eventHubName(eventHubName?.applyValue({ args0 -> args0 }))
.partitionKey(partitionKey?.applyValue({ args0 -> args0 }))
.propertyColumns(propertyColumns?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.serviceBusNamespace(serviceBusNamespace?.applyValue({ args0 -> args0 }))
.sharedAccessPolicyKey(sharedAccessPolicyKey?.applyValue({ args0 -> args0 }))
.sharedAccessPolicyName(sharedAccessPolicyName?.applyValue({ args0 -> args0 }))
.type(type.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [EventHubV2OutputDataSourceArgs].
*/
@PulumiTagMarker
public class EventHubV2OutputDataSourceArgsBuilder internal constructor() {
private var authenticationMode: Output>? = null
private var eventHubName: Output? = null
private var partitionKey: Output? = null
private var propertyColumns: Output>? = null
private var serviceBusNamespace: Output? = null
private var sharedAccessPolicyKey: Output? = null
private var sharedAccessPolicyName: Output? = null
private var type: Output? = null
/**
* @param value Authentication Mode.
*/
@JvmName("gekdipcnejgxitof")
public suspend fun authenticationMode(`value`: Output>) {
this.authenticationMode = value
}
/**
* @param value The name of the Event Hub. Required on PUT (CreateOrReplace) requests.
*/
@JvmName("ktahxnvaiwpipwgy")
public suspend fun eventHubName(`value`: Output) {
this.eventHubName = value
}
/**
* @param value The key/column that is used to determine to which partition to send event data.
*/
@JvmName("dmixmwbnxuvnkpnj")
public suspend fun partitionKey(`value`: Output) {
this.partitionKey = value
}
/**
* @param value The properties associated with this Event Hub output.
*/
@JvmName("hgxdfexiosooqdmq")
public suspend fun propertyColumns(`value`: Output>) {
this.propertyColumns = value
}
@JvmName("eyllbubdiibhwaiq")
public suspend fun propertyColumns(vararg values: Output) {
this.propertyColumns = Output.all(values.asList())
}
/**
* @param values The properties associated with this Event Hub output.
*/
@JvmName("udjjfbbkgyfylbkb")
public suspend fun propertyColumns(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy