![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azure.hdinsight.kotlin.inputs.KafkaClusterPrivateLinkConfigurationIpConfigurationArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-kotlin Show documentation
Show all versions of pulumi-azure-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.azure.hdinsight.kotlin.inputs
import com.pulumi.azure.hdinsight.inputs.KafkaClusterPrivateLinkConfigurationIpConfigurationArgs.builder
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.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property name Specifies the name for this HDInsight Kafka Cluster. Changing this forces a new resource to be created.
* @property primary Indicates whether this IP configuration is primary.
* @property privateIpAddress The private IP address of the IP configuration.
* @property privateIpAllocationMethod The private IP allocation method. The only possible value now is `Dynamic`.
* @property subnetId
*/
public data class KafkaClusterPrivateLinkConfigurationIpConfigurationArgs(
public val name: Output,
public val primary: Output? = null,
public val privateIpAddress: Output? = null,
public val privateIpAllocationMethod: Output? = null,
public val subnetId: Output? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.azure.hdinsight.inputs.KafkaClusterPrivateLinkConfigurationIpConfigurationArgs =
com.pulumi.azure.hdinsight.inputs.KafkaClusterPrivateLinkConfigurationIpConfigurationArgs.builder()
.name(name.applyValue({ args0 -> args0 }))
.primary(primary?.applyValue({ args0 -> args0 }))
.privateIpAddress(privateIpAddress?.applyValue({ args0 -> args0 }))
.privateIpAllocationMethod(privateIpAllocationMethod?.applyValue({ args0 -> args0 }))
.subnetId(subnetId?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [KafkaClusterPrivateLinkConfigurationIpConfigurationArgs].
*/
@PulumiTagMarker
public class KafkaClusterPrivateLinkConfigurationIpConfigurationArgsBuilder internal constructor() {
private var name: Output? = null
private var primary: Output? = null
private var privateIpAddress: Output? = null
private var privateIpAllocationMethod: Output? = null
private var subnetId: Output? = null
/**
* @param value Specifies the name for this HDInsight Kafka Cluster. Changing this forces a new resource to be created.
*/
@JvmName("nlmqxwvcqxhvmxba")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value Indicates whether this IP configuration is primary.
*/
@JvmName("rtqvuefelurfmduy")
public suspend fun primary(`value`: Output) {
this.primary = value
}
/**
* @param value The private IP address of the IP configuration.
*/
@JvmName("ayokqjlvaxjhdcch")
public suspend fun privateIpAddress(`value`: Output) {
this.privateIpAddress = value
}
/**
* @param value The private IP allocation method. The only possible value now is `Dynamic`.
*/
@JvmName("bvraayrasajwqxpv")
public suspend fun privateIpAllocationMethod(`value`: Output) {
this.privateIpAllocationMethod = value
}
/**
* @param value
*/
@JvmName("xtkoeaanslfsuxty")
public suspend fun subnetId(`value`: Output) {
this.subnetId = value
}
/**
* @param value Specifies the name for this HDInsight Kafka Cluster. Changing this forces a new resource to be created.
*/
@JvmName("ptbghmemebxyqcoh")
public suspend fun name(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.name = mapped
}
/**
* @param value Indicates whether this IP configuration is primary.
*/
@JvmName("xirwlyveyarqglfv")
public suspend fun primary(`value`: Boolean?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.primary = mapped
}
/**
* @param value The private IP address of the IP configuration.
*/
@JvmName("nhkvqlgnarvsxtfa")
public suspend fun privateIpAddress(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.privateIpAddress = mapped
}
/**
* @param value The private IP allocation method. The only possible value now is `Dynamic`.
*/
@JvmName("qqlooblyyxjhvueo")
public suspend fun privateIpAllocationMethod(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.privateIpAllocationMethod = mapped
}
/**
* @param value
*/
@JvmName("jgywbjklalamathf")
public suspend fun subnetId(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.subnetId = mapped
}
internal fun build(): KafkaClusterPrivateLinkConfigurationIpConfigurationArgs =
KafkaClusterPrivateLinkConfigurationIpConfigurationArgs(
name = name ?: throw PulumiNullFieldException("name"),
primary = primary,
privateIpAddress = privateIpAddress,
privateIpAllocationMethod = privateIpAllocationMethod,
subnetId = subnetId,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy