
com.pulumi.azure.containerservice.kotlin.outputs.KubernetesClusterNetworkProfileLoadBalancerProfile.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azure.containerservice.kotlin.outputs
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @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 `100` inclusive. Defaults to `30`.
* @property managedOutboundIpCount Count of desired managed outbound IPs for the cluster load balancer. Must be between `1` and `100` inclusive.
* @property managedOutboundIpv6Count The desired number of IPv6 outbound IPs created and managed by Azure for the cluster load balancer. Must be in the range of 1 to 100 (inclusive). The default value is 0 for single-stack and 1 for dual-stack.
* > **Note:** `managed_outbound_ipv6_count` requires dual-stack networking. To enable dual-stack networking the Preview Feature `Microsoft.ContainerService/AKS-EnableDualStack` needs to be enabled and the Resource Provider re-registered, see [the documentation](https://docs.microsoft.com/azure/aks/configure-kubenet-dual-stack?tabs=azure-cli%2Ckubectl#register-the-aks-enabledualstack-preview-feature) for more information.
* @property outboundIpAddressIds The ID of the Public IP Addresses which should be used for outbound communication for the cluster load balancer.
* > **Note:** Set `outbound_ip_address_ids` to an empty slice `[]` in order to unlink it from the cluster. Unlinking a `outbound_ip_address_ids` will revert the load balancing for the cluster back to a managed one.
* @property outboundIpPrefixIds The ID of the outbound Public IP Address Prefixes which should be used for the cluster load balancer.
* > **Note:** Set `outbound_ip_prefix_ids` to an empty slice `[]` in order to unlink it from the cluster. Unlinking a `outbound_ip_prefix_ids` will revert the load balancing for the cluster back to a managed one.
* @property outboundPortsAllocated Number of desired SNAT port for each VM in the clusters load balancer. Must be between `0` and `64000` inclusive. Defaults to `0`.
*/
public data class KubernetesClusterNetworkProfileLoadBalancerProfile(
public val effectiveOutboundIps: List? = null,
public val idleTimeoutInMinutes: Int? = null,
public val managedOutboundIpCount: Int? = null,
public val managedOutboundIpv6Count: Int? = null,
public val outboundIpAddressIds: List? = null,
public val outboundIpPrefixIds: List? = null,
public val outboundPortsAllocated: Int? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azure.containerservice.outputs.KubernetesClusterNetworkProfileLoadBalancerProfile): KubernetesClusterNetworkProfileLoadBalancerProfile =
KubernetesClusterNetworkProfileLoadBalancerProfile(
effectiveOutboundIps = javaType.effectiveOutboundIps().map({ args0 -> args0 }),
idleTimeoutInMinutes = javaType.idleTimeoutInMinutes().map({ args0 -> args0 }).orElse(null),
managedOutboundIpCount = javaType.managedOutboundIpCount().map({ args0 -> args0 }).orElse(null),
managedOutboundIpv6Count = javaType.managedOutboundIpv6Count().map({ args0 -> args0 }).orElse(null),
outboundIpAddressIds = javaType.outboundIpAddressIds().map({ args0 -> args0 }),
outboundIpPrefixIds = javaType.outboundIpPrefixIds().map({ args0 -> args0 }),
outboundPortsAllocated = javaType.outboundPortsAllocated().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy