
com.pulumi.azure.containerservice.kotlin.outputs.KubernetesClusterDefaultNodePoolNodeNetworkProfile.kt Maven / Gradle / Ivy
@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/en-us/azure/aks/use-node-public-ips#use-public-ip-tags-on-node-public-ips-preview) for more information.
*/
public data class KubernetesClusterDefaultNodePoolNodeNetworkProfile(
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.KubernetesClusterDefaultNodePoolNodeNetworkProfile): KubernetesClusterDefaultNodePoolNodeNetworkProfile =
KubernetesClusterDefaultNodePoolNodeNetworkProfile(
allowedHostPorts = javaType.allowedHostPorts().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azure.containerservice.kotlin.outputs.KubernetesClusterDefaultNodePoolNodeNetworkProfileAllowedHostPort.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