![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.network.kotlin.inputs.DhcpOptionsArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-native-kotlin Show documentation
Show all versions of pulumi-azure-native-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.azurenative.network.kotlin.inputs
import com.pulumi.azurenative.network.inputs.DhcpOptionsArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* DhcpOptions contains an array of DNS servers available to VMs deployed in the virtual network. Standard DHCP option for a subnet overrides VNET DHCP options.
* @property dnsServers The list of DNS servers IP addresses.
*/
public data class DhcpOptionsArgs(
public val dnsServers: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.network.inputs.DhcpOptionsArgs =
com.pulumi.azurenative.network.inputs.DhcpOptionsArgs.builder()
.dnsServers(dnsServers?.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}
/**
* Builder for [DhcpOptionsArgs].
*/
@PulumiTagMarker
public class DhcpOptionsArgsBuilder internal constructor() {
private var dnsServers: Output>? = null
/**
* @param value The list of DNS servers IP addresses.
*/
@JvmName("wuhgrpijoobbphug")
public suspend fun dnsServers(`value`: Output>) {
this.dnsServers = value
}
@JvmName("dynpiixhodgfnews")
public suspend fun dnsServers(vararg values: Output) {
this.dnsServers = Output.all(values.asList())
}
/**
* @param values The list of DNS servers IP addresses.
*/
@JvmName("uerqmijgbwixlwje")
public suspend fun dnsServers(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy