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

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

/**
 *
 * @property controlPlaneNodePort NodePort for control plane service. The Kubernetes API server in the admin
 * cluster is implemented as a Service of type NodePort (ex. 30968).
 * @property ingressHttpNodePort NodePort for ingress service's http. The ingress service in the admin
 * cluster is implemented as a Service of type NodePort (ex. 32527).
 * @property ingressHttpsNodePort NodePort for ingress service's https. The ingress service in the admin
 * cluster is implemented as a Service of type NodePort (ex. 30139).
 * @property konnectivityServerNodePort NodePort for konnectivity server service running as a sidecar in each
 * kube-apiserver pod (ex. 30564).
 */
public data class VMwareClusterLoadBalancerManualLbConfigArgs(
    public val controlPlaneNodePort: Output? = null,
    public val ingressHttpNodePort: Output? = null,
    public val ingressHttpsNodePort: Output? = null,
    public val konnectivityServerNodePort: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.gkeonprem.inputs.VMwareClusterLoadBalancerManualLbConfigArgs = com.pulumi.gcp.gkeonprem.inputs.VMwareClusterLoadBalancerManualLbConfigArgs.builder()
        .controlPlaneNodePort(controlPlaneNodePort?.applyValue({ args0 -> args0 }))
        .ingressHttpNodePort(ingressHttpNodePort?.applyValue({ args0 -> args0 }))
        .ingressHttpsNodePort(ingressHttpsNodePort?.applyValue({ args0 -> args0 }))
        .konnectivityServerNodePort(konnectivityServerNodePort?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [VMwareClusterLoadBalancerManualLbConfigArgs].
 */
@PulumiTagMarker
public class VMwareClusterLoadBalancerManualLbConfigArgsBuilder internal constructor() {
    private var controlPlaneNodePort: Output? = null

    private var ingressHttpNodePort: Output? = null

    private var ingressHttpsNodePort: Output? = null

    private var konnectivityServerNodePort: Output? = null

    /**
     * @param value NodePort for control plane service. The Kubernetes API server in the admin
     * cluster is implemented as a Service of type NodePort (ex. 30968).
     */
    @JvmName("ycvcojkkmwpsdjvs")
    public suspend fun controlPlaneNodePort(`value`: Output) {
        this.controlPlaneNodePort = value
    }

    /**
     * @param value NodePort for ingress service's http. The ingress service in the admin
     * cluster is implemented as a Service of type NodePort (ex. 32527).
     */
    @JvmName("mmjwlchhwsmqfwjh")
    public suspend fun ingressHttpNodePort(`value`: Output) {
        this.ingressHttpNodePort = value
    }

    /**
     * @param value NodePort for ingress service's https. The ingress service in the admin
     * cluster is implemented as a Service of type NodePort (ex. 30139).
     */
    @JvmName("escqbwkhjiwhjdug")
    public suspend fun ingressHttpsNodePort(`value`: Output) {
        this.ingressHttpsNodePort = value
    }

    /**
     * @param value NodePort for konnectivity server service running as a sidecar in each
     * kube-apiserver pod (ex. 30564).
     */
    @JvmName("uxnqanqkstdgesgi")
    public suspend fun konnectivityServerNodePort(`value`: Output) {
        this.konnectivityServerNodePort = value
    }

    /**
     * @param value NodePort for control plane service. The Kubernetes API server in the admin
     * cluster is implemented as a Service of type NodePort (ex. 30968).
     */
    @JvmName("najxybcaqfwblvxy")
    public suspend fun controlPlaneNodePort(`value`: Int?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.controlPlaneNodePort = mapped
    }

    /**
     * @param value NodePort for ingress service's http. The ingress service in the admin
     * cluster is implemented as a Service of type NodePort (ex. 32527).
     */
    @JvmName("shxjfwjekthwvuob")
    public suspend fun ingressHttpNodePort(`value`: Int?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.ingressHttpNodePort = mapped
    }

    /**
     * @param value NodePort for ingress service's https. The ingress service in the admin
     * cluster is implemented as a Service of type NodePort (ex. 30139).
     */
    @JvmName("libbatupfiuyphns")
    public suspend fun ingressHttpsNodePort(`value`: Int?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.ingressHttpsNodePort = mapped
    }

    /**
     * @param value NodePort for konnectivity server service running as a sidecar in each
     * kube-apiserver pod (ex. 30564).
     */
    @JvmName("lhtunekojirujtmd")
    public suspend fun konnectivityServerNodePort(`value`: Int?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.konnectivityServerNodePort = mapped
    }

    internal fun build(): VMwareClusterLoadBalancerManualLbConfigArgs =
        VMwareClusterLoadBalancerManualLbConfigArgs(
            controlPlaneNodePort = controlPlaneNodePort,
            ingressHttpNodePort = ingressHttpNodePort,
            ingressHttpsNodePort = ingressHttpsNodePort,
            konnectivityServerNodePort = konnectivityServerNodePort,
        )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy