![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azure.containerservice.kotlin.inputs.KubernetesClusterNodePoolWindowsProfileArgs.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.containerservice.kotlin.inputs
import com.pulumi.azure.containerservice.inputs.KubernetesClusterNodePoolWindowsProfileArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Boolean
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property outboundNatEnabled Should the Windows nodes in this Node Pool have outbound NAT enabled? Defaults to `true`. Changing this forces a new resource to be created.
* > **Note:** If a percentage is provided, the number of surge nodes is calculated from the current node count on the cluster. Node surge can allow a cluster to have more nodes than `max_count` during an upgrade. Ensure that your cluster has enough [IP space](https://docs.microsoft.com/azure/aks/upgrade-cluster#customize-node-surge-upgrade) during an upgrade.
*/
public data class KubernetesClusterNodePoolWindowsProfileArgs(
public val outboundNatEnabled: Output? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.azure.containerservice.inputs.KubernetesClusterNodePoolWindowsProfileArgs =
com.pulumi.azure.containerservice.inputs.KubernetesClusterNodePoolWindowsProfileArgs.builder()
.outboundNatEnabled(outboundNatEnabled?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [KubernetesClusterNodePoolWindowsProfileArgs].
*/
@PulumiTagMarker
public class KubernetesClusterNodePoolWindowsProfileArgsBuilder internal constructor() {
private var outboundNatEnabled: Output? = null
/**
* @param value Should the Windows nodes in this Node Pool have outbound NAT enabled? Defaults to `true`. Changing this forces a new resource to be created.
* > **Note:** If a percentage is provided, the number of surge nodes is calculated from the current node count on the cluster. Node surge can allow a cluster to have more nodes than `max_count` during an upgrade. Ensure that your cluster has enough [IP space](https://docs.microsoft.com/azure/aks/upgrade-cluster#customize-node-surge-upgrade) during an upgrade.
*/
@JvmName("teasbhopiewndiod")
public suspend fun outboundNatEnabled(`value`: Output) {
this.outboundNatEnabled = value
}
/**
* @param value Should the Windows nodes in this Node Pool have outbound NAT enabled? Defaults to `true`. Changing this forces a new resource to be created.
* > **Note:** If a percentage is provided, the number of surge nodes is calculated from the current node count on the cluster. Node surge can allow a cluster to have more nodes than `max_count` during an upgrade. Ensure that your cluster has enough [IP space](https://docs.microsoft.com/azure/aks/upgrade-cluster#customize-node-surge-upgrade) during an upgrade.
*/
@JvmName("nihtpmurbyrovdem")
public suspend fun outboundNatEnabled(`value`: Boolean?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.outboundNatEnabled = mapped
}
internal fun build(): KubernetesClusterNodePoolWindowsProfileArgs =
KubernetesClusterNodePoolWindowsProfileArgs(
outboundNatEnabled = outboundNatEnabled,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy