
com.pulumi.azurenative.vmwarecloudsimple.kotlin.inputs.GuestOSNICCustomizationArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.vmwarecloudsimple.kotlin.inputs
import com.pulumi.azurenative.vmwarecloudsimple.inputs.GuestOSNICCustomizationArgs.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
/**
* Guest OS nic customization
* @property allocation IP address allocation method
* @property dnsServers List of dns servers to use
* @property gateway Gateway addresses assigned to nic
* @property ipAddress Static ip address for nic
* @property mask Network mask for nic
* @property primaryWinsServer primary WINS server for Windows
* @property secondaryWinsServer secondary WINS server for Windows
*/
public data class GuestOSNICCustomizationArgs(
public val allocation: Output? = null,
public val dnsServers: Output>? = null,
public val gateway: Output>? = null,
public val ipAddress: Output? = null,
public val mask: Output? = null,
public val primaryWinsServer: Output? = null,
public val secondaryWinsServer: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.vmwarecloudsimple.inputs.GuestOSNICCustomizationArgs = com.pulumi.azurenative.vmwarecloudsimple.inputs.GuestOSNICCustomizationArgs.builder()
.allocation(allocation?.applyValue({ args0 -> args0 }))
.dnsServers(dnsServers?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.gateway(gateway?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.ipAddress(ipAddress?.applyValue({ args0 -> args0 }))
.mask(mask?.applyValue({ args0 -> args0 }))
.primaryWinsServer(primaryWinsServer?.applyValue({ args0 -> args0 }))
.secondaryWinsServer(secondaryWinsServer?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [GuestOSNICCustomizationArgs].
*/
@PulumiTagMarker
public class GuestOSNICCustomizationArgsBuilder internal constructor() {
private var allocation: Output? = null
private var dnsServers: Output>? = null
private var gateway: Output>? = null
private var ipAddress: Output? = null
private var mask: Output? = null
private var primaryWinsServer: Output? = null
private var secondaryWinsServer: Output? = null
/**
* @param value IP address allocation method
*/
@JvmName("upxgmopqaasjpijy")
public suspend fun allocation(`value`: Output) {
this.allocation = value
}
/**
* @param value List of dns servers to use
*/
@JvmName("lkxlhpslbfbdmnio")
public suspend fun dnsServers(`value`: Output>) {
this.dnsServers = value
}
@JvmName("wodaipdsdjssqbfw")
public suspend fun dnsServers(vararg values: Output) {
this.dnsServers = Output.all(values.asList())
}
/**
* @param values List of dns servers to use
*/
@JvmName("ajdmmiwcdyxyxplj")
public suspend fun dnsServers(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy