
com.pulumi.googlenative.gkeonprem.v1.kotlin.inputs.BareMetalVipConfigArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-google-native-kotlin Show documentation
Show all versions of pulumi-google-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.
The newest version!
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.googlenative.gkeonprem.v1.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.googlenative.gkeonprem.v1.inputs.BareMetalVipConfigArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
* Specifies the VIP config for the bare metal load balancer.
* @property controlPlaneVip The VIP which you previously set aside for the Kubernetes API of this bare metal user cluster.
* @property ingressVip The VIP which you previously set aside for ingress traffic into this bare metal user cluster.
*/
public data class BareMetalVipConfigArgs(
public val controlPlaneVip: Output? = null,
public val ingressVip: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.googlenative.gkeonprem.v1.inputs.BareMetalVipConfigArgs =
com.pulumi.googlenative.gkeonprem.v1.inputs.BareMetalVipConfigArgs.builder()
.controlPlaneVip(controlPlaneVip?.applyValue({ args0 -> args0 }))
.ingressVip(ingressVip?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [BareMetalVipConfigArgs].
*/
@PulumiTagMarker
public class BareMetalVipConfigArgsBuilder internal constructor() {
private var controlPlaneVip: Output? = null
private var ingressVip: Output? = null
/**
* @param value The VIP which you previously set aside for the Kubernetes API of this bare metal user cluster.
*/
@JvmName("kottddyhrccjlkgm")
public suspend fun controlPlaneVip(`value`: Output) {
this.controlPlaneVip = value
}
/**
* @param value The VIP which you previously set aside for ingress traffic into this bare metal user cluster.
*/
@JvmName("fyuohfppuhqqcllu")
public suspend fun ingressVip(`value`: Output) {
this.ingressVip = value
}
/**
* @param value The VIP which you previously set aside for the Kubernetes API of this bare metal user cluster.
*/
@JvmName("kixcthbsfytpfqeg")
public suspend fun controlPlaneVip(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.controlPlaneVip = mapped
}
/**
* @param value The VIP which you previously set aside for ingress traffic into this bare metal user cluster.
*/
@JvmName("fmkmclfdmaepobnp")
public suspend fun ingressVip(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.ingressVip = mapped
}
internal fun build(): BareMetalVipConfigArgs = BareMetalVipConfigArgs(
controlPlaneVip = controlPlaneVip,
ingressVip = ingressVip,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy