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

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>) {
        this.dnsServers = Output.all(values)
    }

    /**
     * @param value Gateway addresses assigned to nic
     */
    @JvmName("nownlkwchjntsams")
    public suspend fun gateway(`value`: Output>) {
        this.gateway = value
    }

    @JvmName("histmybxjitjcpwd")
    public suspend fun gateway(vararg values: Output) {
        this.gateway = Output.all(values.asList())
    }

    /**
     * @param values Gateway addresses assigned to nic
     */
    @JvmName("oqmlcjnfwtlycksi")
    public suspend fun gateway(values: List>) {
        this.gateway = Output.all(values)
    }

    /**
     * @param value Static ip address for nic
     */
    @JvmName("wshvmoqtistwnunn")
    public suspend fun ipAddress(`value`: Output) {
        this.ipAddress = value
    }

    /**
     * @param value Network mask for nic
     */
    @JvmName("eqrhkwpemnbgkajt")
    public suspend fun mask(`value`: Output) {
        this.mask = value
    }

    /**
     * @param value primary WINS server for Windows
     */
    @JvmName("rgtefbkdvxjrsvlu")
    public suspend fun primaryWinsServer(`value`: Output) {
        this.primaryWinsServer = value
    }

    /**
     * @param value secondary WINS server for Windows
     */
    @JvmName("xlrxyvmypcrhbino")
    public suspend fun secondaryWinsServer(`value`: Output) {
        this.secondaryWinsServer = value
    }

    /**
     * @param value IP address allocation method
     */
    @JvmName("fdigsdikpnoahlrg")
    public suspend fun allocation(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.allocation = mapped
    }

    /**
     * @param value List of dns servers to use
     */
    @JvmName("rvmmltqvndkdfoxg")
    public suspend fun dnsServers(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.dnsServers = mapped
    }

    /**
     * @param values List of dns servers to use
     */
    @JvmName("jpudvkgicnahhhlg")
    public suspend fun dnsServers(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.dnsServers = mapped
    }

    /**
     * @param value Gateway addresses assigned to nic
     */
    @JvmName("ttjfbsktbpjjntbf")
    public suspend fun gateway(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.gateway = mapped
    }

    /**
     * @param values Gateway addresses assigned to nic
     */
    @JvmName("jrkgehiviptibjrw")
    public suspend fun gateway(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.gateway = mapped
    }

    /**
     * @param value Static ip address for nic
     */
    @JvmName("hwjvujuerqwvmiyl")
    public suspend fun ipAddress(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.ipAddress = mapped
    }

    /**
     * @param value Network mask for nic
     */
    @JvmName("hajumfkrwycgwuat")
    public suspend fun mask(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.mask = mapped
    }

    /**
     * @param value primary WINS server for Windows
     */
    @JvmName("wdocouvdusxjuvef")
    public suspend fun primaryWinsServer(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.primaryWinsServer = mapped
    }

    /**
     * @param value secondary WINS server for Windows
     */
    @JvmName("hlcippdtnxwpghyp")
    public suspend fun secondaryWinsServer(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.secondaryWinsServer = mapped
    }

    internal fun build(): GuestOSNICCustomizationArgs = GuestOSNICCustomizationArgs(
        allocation = allocation,
        dnsServers = dnsServers,
        gateway = gateway,
        ipAddress = ipAddress,
        mask = mask,
        primaryWinsServer = primaryWinsServer,
        secondaryWinsServer = secondaryWinsServer,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy