All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.gcp.gkeonprem.kotlin.outputs.BareMetalClusterMaintenanceConfig.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 8.12.0.0
Show newest version
@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 BareMetalClusterMaintenanceConfig(
    public val maintenanceAddressCidrBlocks: List,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.gkeonprem.outputs.BareMetalClusterMaintenanceConfig): BareMetalClusterMaintenanceConfig = BareMetalClusterMaintenanceConfig(
            maintenanceAddressCidrBlocks = javaType.maintenanceAddressCidrBlocks().map({ args0 -> args0 }),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy