com.pulumi.gcp.container.kotlin.outputs.ClusterNodePoolAutoConfig.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-gcp-kotlin Show documentation
Show all versions of pulumi-gcp-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.gcp.container.kotlin.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.Map
/**
*
* @property linuxNodeConfig Linux system configuration for the cluster's automatically provisioned node pools. Only `cgroup_mode` field is supported in `node_pool_auto_config`. Structure is documented below.
* @property networkTags The network tag config for the cluster's automatically provisioned node pools. Structure is documented below.
* @property nodeKubeletConfig Kubelet configuration for Autopilot clusters. Currently, only `insecure_kubelet_readonly_port_enabled` is supported here.
* Structure is documented below.
* @property resourceManagerTags A map of resource manager tag keys and values to be attached to the nodes for managing Compute Engine firewalls using Network Firewall Policies. Tags must be according to specifications found [here](https://cloud.google.com/vpc/docs/tags-firewalls-overview#specifications). A maximum of 5 tag key-value pairs can be specified. Existing tags will be replaced with new values. Tags must be in one of the following formats ([KEY]=[VALUE]) 1. `tagKeys/{tag_key_id}=tagValues/{tag_value_id}` 2. `{org_id}/{tag_key_name}={tag_value_name}` 3. `{project_id}/{tag_key_name}={tag_value_name}`.
*/
public data class ClusterNodePoolAutoConfig(
public val linuxNodeConfig: ClusterNodePoolAutoConfigLinuxNodeConfig? = null,
public val networkTags: ClusterNodePoolAutoConfigNetworkTags? = null,
public val nodeKubeletConfig: ClusterNodePoolAutoConfigNodeKubeletConfig? = null,
public val resourceManagerTags: Map? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.container.outputs.ClusterNodePoolAutoConfig): ClusterNodePoolAutoConfig = ClusterNodePoolAutoConfig(
linuxNodeConfig = javaType.linuxNodeConfig().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.container.kotlin.outputs.ClusterNodePoolAutoConfigLinuxNodeConfig.Companion.toKotlin(args0)
})
}).orElse(null),
networkTags = javaType.networkTags().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.container.kotlin.outputs.ClusterNodePoolAutoConfigNetworkTags.Companion.toKotlin(args0)
})
}).orElse(null),
nodeKubeletConfig = javaType.nodeKubeletConfig().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.container.kotlin.outputs.ClusterNodePoolAutoConfigNodeKubeletConfig.Companion.toKotlin(args0)
})
}).orElse(null),
resourceManagerTags = javaType.resourceManagerTags().map({ args0 ->
args0.key.to(args0.value)
}).toMap(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy