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

com.pulumi.gcp.gkeonprem.kotlin.inputs.BareMetalClusterLoadBalancerVipConfigArgs.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.BareMetalClusterLoadBalancerVipConfigArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property controlPlaneVip The VIP which you previously set aside for the Kubernetes API of this Bare Metal User Cluster.
 * @property ingressVip The VIP which you previously set aside for ingress traffic into this Bare Metal User Cluster.
 */
public data class BareMetalClusterLoadBalancerVipConfigArgs(
    public val controlPlaneVip: Output,
    public val ingressVip: Output,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.gkeonprem.inputs.BareMetalClusterLoadBalancerVipConfigArgs =
        com.pulumi.gcp.gkeonprem.inputs.BareMetalClusterLoadBalancerVipConfigArgs.builder()
            .controlPlaneVip(controlPlaneVip.applyValue({ args0 -> args0 }))
            .ingressVip(ingressVip.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [BareMetalClusterLoadBalancerVipConfigArgs].
 */
@PulumiTagMarker
public class BareMetalClusterLoadBalancerVipConfigArgsBuilder internal constructor() {
    private var controlPlaneVip: Output? = null

    private var ingressVip: Output? = null

    /**
     * @param value The VIP which you previously set aside for the Kubernetes API of this Bare Metal User Cluster.
     */
    @JvmName("piexqcupmonjjnvq")
    public suspend fun controlPlaneVip(`value`: Output) {
        this.controlPlaneVip = value
    }

    /**
     * @param value The VIP which you previously set aside for ingress traffic into this Bare Metal User Cluster.
     */
    @JvmName("lgksrcpgnvlisbml")
    public suspend fun ingressVip(`value`: Output) {
        this.ingressVip = value
    }

    /**
     * @param value The VIP which you previously set aside for the Kubernetes API of this Bare Metal User Cluster.
     */
    @JvmName("njhtdbbndcqocvho")
    public suspend fun controlPlaneVip(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.controlPlaneVip = mapped
    }

    /**
     * @param value The VIP which you previously set aside for ingress traffic into this Bare Metal User Cluster.
     */
    @JvmName("eunmlkjwkmrckkkn")
    public suspend fun ingressVip(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.ingressVip = mapped
    }

    internal fun build(): BareMetalClusterLoadBalancerVipConfigArgs =
        BareMetalClusterLoadBalancerVipConfigArgs(
            controlPlaneVip = controlPlaneVip ?: throw PulumiNullFieldException("controlPlaneVip"),
            ingressVip = ingressVip ?: throw PulumiNullFieldException("ingressVip"),
        )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy