![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azure.containerservice.kotlin.inputs.KubernetesClusterWindowsProfileArgs.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.KubernetesClusterWindowsProfileArgs.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 com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName
/**
*
* @property adminPassword The Admin Password for Windows VMs. Length must be between 14 and 123 characters.
* @property adminUsername The Admin Username for Windows VMs. Changing this forces a new resource to be created.
* @property gmsa A `gmsa` block as defined below.
* @property license Specifies the type of on-premise license which should be used for Node Pool Windows Virtual Machine. At this time the only possible value is `Windows_Server`.
*/
public data class KubernetesClusterWindowsProfileArgs(
public val adminPassword: Output? = null,
public val adminUsername: Output,
public val gmsa: Output? = null,
public val license: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.containerservice.inputs.KubernetesClusterWindowsProfileArgs =
com.pulumi.azure.containerservice.inputs.KubernetesClusterWindowsProfileArgs.builder()
.adminPassword(adminPassword?.applyValue({ args0 -> args0 }))
.adminUsername(adminUsername.applyValue({ args0 -> args0 }))
.gmsa(gmsa?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.license(license?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [KubernetesClusterWindowsProfileArgs].
*/
@PulumiTagMarker
public class KubernetesClusterWindowsProfileArgsBuilder internal constructor() {
private var adminPassword: Output? = null
private var adminUsername: Output? = null
private var gmsa: Output? = null
private var license: Output? = null
/**
* @param value The Admin Password for Windows VMs. Length must be between 14 and 123 characters.
*/
@JvmName("wsriamngnslsffom")
public suspend fun adminPassword(`value`: Output) {
this.adminPassword = value
}
/**
* @param value The Admin Username for Windows VMs. Changing this forces a new resource to be created.
*/
@JvmName("becfmdxyywhwxyxb")
public suspend fun adminUsername(`value`: Output) {
this.adminUsername = value
}
/**
* @param value A `gmsa` block as defined below.
*/
@JvmName("vxyudxhadrtkljdn")
public suspend fun gmsa(`value`: Output) {
this.gmsa = value
}
/**
* @param value Specifies the type of on-premise license which should be used for Node Pool Windows Virtual Machine. At this time the only possible value is `Windows_Server`.
*/
@JvmName("frwuflpvjjgcfjko")
public suspend fun license(`value`: Output) {
this.license = value
}
/**
* @param value The Admin Password for Windows VMs. Length must be between 14 and 123 characters.
*/
@JvmName("nbepcebpmdlobwxc")
public suspend fun adminPassword(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.adminPassword = mapped
}
/**
* @param value The Admin Username for Windows VMs. Changing this forces a new resource to be created.
*/
@JvmName("ynrejoklnhkmbfjm")
public suspend fun adminUsername(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.adminUsername = mapped
}
/**
* @param value A `gmsa` block as defined below.
*/
@JvmName("lnunqgdqlbjqliaq")
public suspend fun gmsa(`value`: KubernetesClusterWindowsProfileGmsaArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.gmsa = mapped
}
/**
* @param argument A `gmsa` block as defined below.
*/
@JvmName("ihqpsmfdgohkewfk")
public suspend fun gmsa(argument: suspend KubernetesClusterWindowsProfileGmsaArgsBuilder.() -> Unit) {
val toBeMapped = KubernetesClusterWindowsProfileGmsaArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.gmsa = mapped
}
/**
* @param value Specifies the type of on-premise license which should be used for Node Pool Windows Virtual Machine. At this time the only possible value is `Windows_Server`.
*/
@JvmName("gjtygfojnntgpynd")
public suspend fun license(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.license = mapped
}
internal fun build(): KubernetesClusterWindowsProfileArgs = KubernetesClusterWindowsProfileArgs(
adminPassword = adminPassword,
adminUsername = adminUsername ?: throw PulumiNullFieldException("adminUsername"),
gmsa = gmsa,
license = license,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy