![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.containerservice.kotlin.inputs.ManagedClusterLoadBalancerProfileArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-native-kotlin Show documentation
Show all versions of pulumi-azure-native-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.containerservice.kotlin.inputs
import com.pulumi.azurenative.containerservice.inputs.ManagedClusterLoadBalancerProfileArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Boolean
import kotlin.Int
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* Profile of the managed cluster load balancer.
* @property allocatedOutboundPorts The desired number of allocated SNAT ports per VM. Allowed values are in the range of 0 to 64000 (inclusive). The default value is 0 which results in Azure dynamically allocating ports.
* @property effectiveOutboundIPs The effective outbound IP resources of the cluster load balancer.
* @property enableMultipleStandardLoadBalancers Enable multiple standard load balancers per AKS cluster or not.
* @property idleTimeoutInMinutes Desired outbound flow idle timeout in minutes. Allowed values are in the range of 4 to 120 (inclusive). The default value is 30 minutes.
* @property managedOutboundIPs Desired managed outbound IPs for the cluster load balancer.
* @property outboundIPPrefixes Desired outbound IP Prefix resources for the cluster load balancer.
* @property outboundIPs Desired outbound IP resources for the cluster load balancer.
*/
public data class ManagedClusterLoadBalancerProfileArgs(
public val allocatedOutboundPorts: Output? = null,
public val effectiveOutboundIPs: Output>? = null,
public val enableMultipleStandardLoadBalancers: Output? = null,
public val idleTimeoutInMinutes: Output? = null,
public val managedOutboundIPs: Output? =
null,
public val outboundIPPrefixes: Output? =
null,
public val outboundIPs: Output? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.containerservice.inputs.ManagedClusterLoadBalancerProfileArgs =
com.pulumi.azurenative.containerservice.inputs.ManagedClusterLoadBalancerProfileArgs.builder()
.allocatedOutboundPorts(allocatedOutboundPorts?.applyValue({ args0 -> args0 }))
.effectiveOutboundIPs(
effectiveOutboundIPs?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 -> args0.toJava() })
})
}),
)
.enableMultipleStandardLoadBalancers(
enableMultipleStandardLoadBalancers?.applyValue({ args0 ->
args0
}),
)
.idleTimeoutInMinutes(idleTimeoutInMinutes?.applyValue({ args0 -> args0 }))
.managedOutboundIPs(
managedOutboundIPs?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
)
.outboundIPPrefixes(
outboundIPPrefixes?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
)
.outboundIPs(outboundIPs?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}
/**
* Builder for [ManagedClusterLoadBalancerProfileArgs].
*/
@PulumiTagMarker
public class ManagedClusterLoadBalancerProfileArgsBuilder internal constructor() {
private var allocatedOutboundPorts: Output? = null
private var effectiveOutboundIPs: Output>? = null
private var enableMultipleStandardLoadBalancers: Output? = null
private var idleTimeoutInMinutes: Output? = null
private var managedOutboundIPs: Output? =
null
private var outboundIPPrefixes: Output? =
null
private var outboundIPs: Output? = null
/**
* @param value The desired number of allocated SNAT ports per VM. Allowed values are in the range of 0 to 64000 (inclusive). The default value is 0 which results in Azure dynamically allocating ports.
*/
@JvmName("lqqndjxjadumxnbj")
public suspend fun allocatedOutboundPorts(`value`: Output) {
this.allocatedOutboundPorts = value
}
/**
* @param value The effective outbound IP resources of the cluster load balancer.
*/
@JvmName("bybmsmampanpptyd")
public suspend fun effectiveOutboundIPs(`value`: Output>) {
this.effectiveOutboundIPs = value
}
@JvmName("abssmmvcconysdss")
public suspend fun effectiveOutboundIPs(vararg values: Output) {
this.effectiveOutboundIPs = Output.all(values.asList())
}
/**
* @param values The effective outbound IP resources of the cluster load balancer.
*/
@JvmName("paclxywhgnruhpqh")
public suspend fun effectiveOutboundIPs(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy