com.pulumi.gcp.gkeonprem.kotlin.outputs.BareMetalAdminClusterMaintenanceConfig.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.List
/**
*
* @property maintenanceAddressCidrBlocks All IPv4 address from these ranges will be placed into maintenance mode.
* Nodes in maintenance mode will be cordoned and drained. When both of these
* are true, the "baremetal.cluster.gke.io/maintenance" annotation will be set
* on the node resource.
*/
public data class BareMetalAdminClusterMaintenanceConfig(
public val maintenanceAddressCidrBlocks: List,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.gkeonprem.outputs.BareMetalAdminClusterMaintenanceConfig): BareMetalAdminClusterMaintenanceConfig = BareMetalAdminClusterMaintenanceConfig(
maintenanceAddressCidrBlocks = javaType.maintenanceAddressCidrBlocks().map({ args0 -> args0 }),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy