![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azure.containerservice.kotlin.inputs.GroupDnsConfigArgs.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.GroupDnsConfigArgs.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.collections.List
import kotlin.jvm.JvmName
/**
*
* @property nameservers A list of nameservers the containers will search out to resolve requests. Changing this forces a new resource to be created.
* @property options A list of [resolver configuration options](https://man7.org/linux/man-pages/man5/resolv.conf.5.html). Changing this forces a new resource to be created.
* @property searchDomains A list of search domains that DNS requests will search along. Changing this forces a new resource to be created.
*/
public data class GroupDnsConfigArgs(
public val nameservers: Output>,
public val options: Output>? = null,
public val searchDomains: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.containerservice.inputs.GroupDnsConfigArgs =
com.pulumi.azure.containerservice.inputs.GroupDnsConfigArgs.builder()
.nameservers(nameservers.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.options(options?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.searchDomains(searchDomains?.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}
/**
* Builder for [GroupDnsConfigArgs].
*/
@PulumiTagMarker
public class GroupDnsConfigArgsBuilder internal constructor() {
private var nameservers: Output>? = null
private var options: Output>? = null
private var searchDomains: Output>? = null
/**
* @param value A list of nameservers the containers will search out to resolve requests. Changing this forces a new resource to be created.
*/
@JvmName("sknscnupvuurggff")
public suspend fun nameservers(`value`: Output>) {
this.nameservers = value
}
@JvmName("jmvtimuebtwthmra")
public suspend fun nameservers(vararg values: Output) {
this.nameservers = Output.all(values.asList())
}
/**
* @param values A list of nameservers the containers will search out to resolve requests. Changing this forces a new resource to be created.
*/
@JvmName("wgysyttwytgjkwvh")
public suspend fun nameservers(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy