All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.azure.containerservice.kotlin.inputs.KubernetesClusterWindowsProfileGmsaArgs.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 6.15.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.containerservice.kotlin.inputs

import com.pulumi.azure.containerservice.inputs.KubernetesClusterWindowsProfileGmsaArgs.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.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property dnsServer Specifies the DNS server for Windows gMSA. Set this to an empty string if you have configured the DNS server in the VNet which was used to create the managed cluster.
 * @property rootDomain Specifies the root domain name for Windows gMSA. Set this to an empty string if you have configured the DNS server in the VNet which was used to create the managed cluster.
 * > **Note:** The properties `dns_server` and `root_domain` must both either be set or unset, i.e. empty.
 */
public data class KubernetesClusterWindowsProfileGmsaArgs(
    public val dnsServer: Output,
    public val rootDomain: Output,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.azure.containerservice.inputs.KubernetesClusterWindowsProfileGmsaArgs =
        com.pulumi.azure.containerservice.inputs.KubernetesClusterWindowsProfileGmsaArgs.builder()
            .dnsServer(dnsServer.applyValue({ args0 -> args0 }))
            .rootDomain(rootDomain.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [KubernetesClusterWindowsProfileGmsaArgs].
 */
@PulumiTagMarker
public class KubernetesClusterWindowsProfileGmsaArgsBuilder internal constructor() {
    private var dnsServer: Output? = null

    private var rootDomain: Output? = null

    /**
     * @param value Specifies the DNS server for Windows gMSA. Set this to an empty string if you have configured the DNS server in the VNet which was used to create the managed cluster.
     */
    @JvmName("qlwdbbgjfltkoluc")
    public suspend fun dnsServer(`value`: Output) {
        this.dnsServer = value
    }

    /**
     * @param value Specifies the root domain name for Windows gMSA. Set this to an empty string if you have configured the DNS server in the VNet which was used to create the managed cluster.
     * > **Note:** The properties `dns_server` and `root_domain` must both either be set or unset, i.e. empty.
     */
    @JvmName("thcvukpbjxwvwlsr")
    public suspend fun rootDomain(`value`: Output) {
        this.rootDomain = value
    }

    /**
     * @param value Specifies the DNS server for Windows gMSA. Set this to an empty string if you have configured the DNS server in the VNet which was used to create the managed cluster.
     */
    @JvmName("grthsmsqlqtvulho")
    public suspend fun dnsServer(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.dnsServer = mapped
    }

    /**
     * @param value Specifies the root domain name for Windows gMSA. Set this to an empty string if you have configured the DNS server in the VNet which was used to create the managed cluster.
     * > **Note:** The properties `dns_server` and `root_domain` must both either be set or unset, i.e. empty.
     */
    @JvmName("knkllivyxpgondtf")
    public suspend fun rootDomain(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.rootDomain = mapped
    }

    internal fun build(): KubernetesClusterWindowsProfileGmsaArgs =
        KubernetesClusterWindowsProfileGmsaArgs(
            dnsServer = dnsServer ?: throw PulumiNullFieldException("dnsServer"),
            rootDomain = rootDomain ?: throw PulumiNullFieldException("rootDomain"),
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy