com.pulumi.gcp.gkeonprem.kotlin.inputs.VMwareClusterDataplaneV2Args.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-gcp-kotlin Show documentation
Show all versions of pulumi-gcp-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.gcp.gkeonprem.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.gkeonprem.inputs.VMwareClusterDataplaneV2Args.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Boolean
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property advancedNetworking Enable advanced networking which requires dataplane_v2_enabled to be set true.
* @property dataplaneV2Enabled Enables Dataplane V2.
* @property windowsDataplaneV2Enabled Enable Dataplane V2 for clusters with Windows nodes.
*/
public data class VMwareClusterDataplaneV2Args(
public val advancedNetworking: Output? = null,
public val dataplaneV2Enabled: Output? = null,
public val windowsDataplaneV2Enabled: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.gkeonprem.inputs.VMwareClusterDataplaneV2Args =
com.pulumi.gcp.gkeonprem.inputs.VMwareClusterDataplaneV2Args.builder()
.advancedNetworking(advancedNetworking?.applyValue({ args0 -> args0 }))
.dataplaneV2Enabled(dataplaneV2Enabled?.applyValue({ args0 -> args0 }))
.windowsDataplaneV2Enabled(windowsDataplaneV2Enabled?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [VMwareClusterDataplaneV2Args].
*/
@PulumiTagMarker
public class VMwareClusterDataplaneV2ArgsBuilder internal constructor() {
private var advancedNetworking: Output? = null
private var dataplaneV2Enabled: Output? = null
private var windowsDataplaneV2Enabled: Output? = null
/**
* @param value Enable advanced networking which requires dataplane_v2_enabled to be set true.
*/
@JvmName("gcxnyauhstfrncvb")
public suspend fun advancedNetworking(`value`: Output) {
this.advancedNetworking = value
}
/**
* @param value Enables Dataplane V2.
*/
@JvmName("suqtgburaqrncply")
public suspend fun dataplaneV2Enabled(`value`: Output) {
this.dataplaneV2Enabled = value
}
/**
* @param value Enable Dataplane V2 for clusters with Windows nodes.
*/
@JvmName("urgaioticfqgwfqs")
public suspend fun windowsDataplaneV2Enabled(`value`: Output) {
this.windowsDataplaneV2Enabled = value
}
/**
* @param value Enable advanced networking which requires dataplane_v2_enabled to be set true.
*/
@JvmName("sfgxnejangwvxxhm")
public suspend fun advancedNetworking(`value`: Boolean?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.advancedNetworking = mapped
}
/**
* @param value Enables Dataplane V2.
*/
@JvmName("oprftmfbxyqlgnru")
public suspend fun dataplaneV2Enabled(`value`: Boolean?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.dataplaneV2Enabled = mapped
}
/**
* @param value Enable Dataplane V2 for clusters with Windows nodes.
*/
@JvmName("yeffvtkkvikonubs")
public suspend fun windowsDataplaneV2Enabled(`value`: Boolean?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.windowsDataplaneV2Enabled = mapped
}
internal fun build(): VMwareClusterDataplaneV2Args = VMwareClusterDataplaneV2Args(
advancedNetworking = advancedNetworking,
dataplaneV2Enabled = dataplaneV2Enabled,
windowsDataplaneV2Enabled = windowsDataplaneV2Enabled,
)
}