com.pulumi.azure.containerservice.kotlin.outputs.KubernetesClusterNodePoolNodeNetworkProfile.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-kotlin Show documentation
Show all versions of pulumi-azure-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.azure.containerservice.kotlin.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.collections.Map
/**
*
* @property allowedHostPorts One or more `allowed_host_ports` blocks as defined below.
* @property applicationSecurityGroupIds A list of Application Security Group IDs which should be associated with this Node Pool.
* @property nodePublicIpTags Specifies a mapping of tags to the instance-level public IPs. Changing this forces a new resource to be created.
* > **Note:** This requires that the Preview Feature `Microsoft.ContainerService/NodePublicIPTagsPreview` is enabled and the Resource Provider is re-registered, see [the documentation](https://learn.microsoft.com/azure/aks/use-node-public-ips#use-public-ip-tags-on-node-public-ips-preview) for more information.
*/
public data class KubernetesClusterNodePoolNodeNetworkProfile(
public val allowedHostPorts: List? =
null,
public val applicationSecurityGroupIds: List? = null,
public val nodePublicIpTags: Map? = null,
) {
public companion object {
public
fun toKotlin(javaType: com.pulumi.azure.containerservice.outputs.KubernetesClusterNodePoolNodeNetworkProfile):
KubernetesClusterNodePoolNodeNetworkProfile = KubernetesClusterNodePoolNodeNetworkProfile(
allowedHostPorts = javaType.allowedHostPorts().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azure.containerservice.kotlin.outputs.KubernetesClusterNodePoolNodeNetworkProfileAllowedHostPort.Companion.toKotlin(args0)
})
}),
applicationSecurityGroupIds = javaType.applicationSecurityGroupIds().map({ args0 -> args0 }),
nodePublicIpTags = javaType.nodePublicIpTags().map({ args0 -> args0.key.to(args0.value) }).toMap(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy