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

com.pulumi.gcp.gkeonprem.kotlin.inputs.VMwareClusterNetworkConfigHostConfigArgs.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: 8.10.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gcp.gkeonprem.kotlin.inputs

import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.gkeonprem.inputs.VMwareClusterNetworkConfigHostConfigArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName

/**
 *
 * @property dnsSearchDomains DNS search domains.
 * The `control_plane_v2_config` block supports:
 * @property dnsServers DNS servers.
 * @property ntpServers NTP servers.
 */
public data class VMwareClusterNetworkConfigHostConfigArgs(
    public val dnsSearchDomains: Output>? = null,
    public val dnsServers: Output>? = null,
    public val ntpServers: Output>? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.gkeonprem.inputs.VMwareClusterNetworkConfigHostConfigArgs =
        com.pulumi.gcp.gkeonprem.inputs.VMwareClusterNetworkConfigHostConfigArgs.builder()
            .dnsSearchDomains(dnsSearchDomains?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
            .dnsServers(dnsServers?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
            .ntpServers(ntpServers?.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}

/**
 * Builder for [VMwareClusterNetworkConfigHostConfigArgs].
 */
@PulumiTagMarker
public class VMwareClusterNetworkConfigHostConfigArgsBuilder internal constructor() {
    private var dnsSearchDomains: Output>? = null

    private var dnsServers: Output>? = null

    private var ntpServers: Output>? = null

    /**
     * @param value DNS search domains.
     * The `control_plane_v2_config` block supports:
     */
    @JvmName("xsdxptsxsvrjvmmt")
    public suspend fun dnsSearchDomains(`value`: Output>) {
        this.dnsSearchDomains = value
    }

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

    /**
     * @param values DNS search domains.
     * The `control_plane_v2_config` block supports:
     */
    @JvmName("rtqeiihvogavaotg")
    public suspend fun dnsSearchDomains(values: List>) {
        this.dnsSearchDomains = Output.all(values)
    }

    /**
     * @param value DNS servers.
     */
    @JvmName("afoqnikuceinoqao")
    public suspend fun dnsServers(`value`: Output>) {
        this.dnsServers = value
    }

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

    /**
     * @param values DNS servers.
     */
    @JvmName("rpsflwxdmelucrjg")
    public suspend fun dnsServers(values: List>) {
        this.dnsServers = Output.all(values)
    }

    /**
     * @param value NTP servers.
     */
    @JvmName("atuxllxnrtkwekwq")
    public suspend fun ntpServers(`value`: Output>) {
        this.ntpServers = value
    }

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

    /**
     * @param values NTP servers.
     */
    @JvmName("anmycoinvnblaase")
    public suspend fun ntpServers(values: List>) {
        this.ntpServers = Output.all(values)
    }

    /**
     * @param value DNS search domains.
     * The `control_plane_v2_config` block supports:
     */
    @JvmName("jlsstodaldsbcsnl")
    public suspend fun dnsSearchDomains(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.dnsSearchDomains = mapped
    }

    /**
     * @param values DNS search domains.
     * The `control_plane_v2_config` block supports:
     */
    @JvmName("qtprmidnobtqlvyt")
    public suspend fun dnsSearchDomains(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.dnsSearchDomains = mapped
    }

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

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

    /**
     * @param value NTP servers.
     */
    @JvmName("eokiaqnwkpdjpwcg")
    public suspend fun ntpServers(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.ntpServers = mapped
    }

    /**
     * @param values NTP servers.
     */
    @JvmName("ldxgcmwucokwqcxa")
    public suspend fun ntpServers(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.ntpServers = mapped
    }

    internal fun build(): VMwareClusterNetworkConfigHostConfigArgs =
        VMwareClusterNetworkConfigHostConfigArgs(
            dnsSearchDomains = dnsSearchDomains,
            dnsServers = dnsServers,
            ntpServers = ntpServers,
        )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy