com.pulumi.gcp.gkeonprem.kotlin.outputs.BareMetalAdminClusterControlPlaneControlPlaneNodePoolConfigNodePoolConfigNodeConfig.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.gkeonprem.kotlin.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.Map
/**
*
* @property labels The map of Kubernetes labels (key/value pairs) to be applied to
* each node. These will added in addition to any default label(s)
* that Kubernetes may apply to the node. In case of conflict in
* label keys, the applied set may differ depending on the Kubernetes
* version -- it's best to assume the behavior is undefined and
* conflicts should be avoided. For more information, including usage
* and the valid values, see:
* http://kubernetes.io/v1.1/docs/user-guide/labels.html
* An object containing a list of "key": value pairs.
* Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.
* @property nodeIp The default IPv4 address for SSH access and Kubernetes node.
* Example: 192.168.0.1
*/
public data class
BareMetalAdminClusterControlPlaneControlPlaneNodePoolConfigNodePoolConfigNodeConfig(
public val labels: Map? = null,
public val nodeIp: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.gkeonprem.outputs.BareMetalAdminClusterControlPlaneControlPlaneNodePoolConfigNodePoolConfigNodeConfig): BareMetalAdminClusterControlPlaneControlPlaneNodePoolConfigNodePoolConfigNodeConfig =
BareMetalAdminClusterControlPlaneControlPlaneNodePoolConfigNodePoolConfigNodeConfig(
labels = javaType.labels().map({ args0 -> args0.key.to(args0.value) }).toMap(),
nodeIp = javaType.nodeIp().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy