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

com.pulumi.azure.containerservice.kotlin.inputs.KubernetesClusterNetworkProfileNatGatewayProfileArgs.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.containerservice.kotlin.inputs

import com.pulumi.azure.containerservice.inputs.KubernetesClusterNetworkProfileNatGatewayProfileArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName

/**
 *
 * @property effectiveOutboundIps The outcome (resource IDs) of the specified arguments.
 * @property idleTimeoutInMinutes Desired outbound flow idle timeout in minutes for the cluster load balancer. Must be between `4` and `120` inclusive. Defaults to `4`.
 * @property managedOutboundIpCount Count of desired managed outbound IPs for the cluster load balancer. Must be between `1` and `100` inclusive.
 */
public data class KubernetesClusterNetworkProfileNatGatewayProfileArgs(
    public val effectiveOutboundIps: Output>? = null,
    public val idleTimeoutInMinutes: Output? = null,
    public val managedOutboundIpCount: Output? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.azure.containerservice.inputs.KubernetesClusterNetworkProfileNatGatewayProfileArgs =
        com.pulumi.azure.containerservice.inputs.KubernetesClusterNetworkProfileNatGatewayProfileArgs.builder()
            .effectiveOutboundIps(effectiveOutboundIps?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
            .idleTimeoutInMinutes(idleTimeoutInMinutes?.applyValue({ args0 -> args0 }))
            .managedOutboundIpCount(managedOutboundIpCount?.applyValue({ args0 -> args0 })).build()
}

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

    private var idleTimeoutInMinutes: Output? = null

    private var managedOutboundIpCount: Output? = null

    /**
     * @param value The outcome (resource IDs) of the specified arguments.
     */
    @JvmName("xcoetcnyqrdycqdh")
    public suspend fun effectiveOutboundIps(`value`: Output>) {
        this.effectiveOutboundIps = value
    }

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

    /**
     * @param values The outcome (resource IDs) of the specified arguments.
     */
    @JvmName("ydtggmmvlbaotnqm")
    public suspend fun effectiveOutboundIps(values: List>) {
        this.effectiveOutboundIps = Output.all(values)
    }

    /**
     * @param value Desired outbound flow idle timeout in minutes for the cluster load balancer. Must be between `4` and `120` inclusive. Defaults to `4`.
     */
    @JvmName("bcklurrbeakkmoxb")
    public suspend fun idleTimeoutInMinutes(`value`: Output) {
        this.idleTimeoutInMinutes = value
    }

    /**
     * @param value Count of desired managed outbound IPs for the cluster load balancer. Must be between `1` and `100` inclusive.
     */
    @JvmName("ndroppajkwhanlcd")
    public suspend fun managedOutboundIpCount(`value`: Output) {
        this.managedOutboundIpCount = value
    }

    /**
     * @param value The outcome (resource IDs) of the specified arguments.
     */
    @JvmName("fwlkqsbnykmajttr")
    public suspend fun effectiveOutboundIps(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.effectiveOutboundIps = mapped
    }

    /**
     * @param values The outcome (resource IDs) of the specified arguments.
     */
    @JvmName("ertajtyijpbccbyy")
    public suspend fun effectiveOutboundIps(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.effectiveOutboundIps = mapped
    }

    /**
     * @param value Desired outbound flow idle timeout in minutes for the cluster load balancer. Must be between `4` and `120` inclusive. Defaults to `4`.
     */
    @JvmName("kgwbmidtpvsllbwg")
    public suspend fun idleTimeoutInMinutes(`value`: Int?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.idleTimeoutInMinutes = mapped
    }

    /**
     * @param value Count of desired managed outbound IPs for the cluster load balancer. Must be between `1` and `100` inclusive.
     */
    @JvmName("vmblmkicwixivvca")
    public suspend fun managedOutboundIpCount(`value`: Int?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.managedOutboundIpCount = mapped
    }

    internal fun build(): KubernetesClusterNetworkProfileNatGatewayProfileArgs =
        KubernetesClusterNetworkProfileNatGatewayProfileArgs(
            effectiveOutboundIps = effectiveOutboundIps,
            idleTimeoutInMinutes = idleTimeoutInMinutes,
            managedOutboundIpCount = managedOutboundIpCount,
        )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy