com.pulumi.gcp.gkeonprem.kotlin.inputs.BareMetalAdminClusterMaintenanceConfigArgs.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.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.gkeonprem.inputs.BareMetalAdminClusterMaintenanceConfigArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @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 BareMetalAdminClusterMaintenanceConfigArgs(
public val maintenanceAddressCidrBlocks: Output>,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.gkeonprem.inputs.BareMetalAdminClusterMaintenanceConfigArgs = com.pulumi.gcp.gkeonprem.inputs.BareMetalAdminClusterMaintenanceConfigArgs.builder()
.maintenanceAddressCidrBlocks(
maintenanceAddressCidrBlocks.applyValue({ args0 ->
args0.map({ args0 -> args0 })
}),
).build()
}
/**
* Builder for [BareMetalAdminClusterMaintenanceConfigArgs].
*/
@PulumiTagMarker
public class BareMetalAdminClusterMaintenanceConfigArgsBuilder internal constructor() {
private var maintenanceAddressCidrBlocks: Output>? = null
/**
* @param value 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.
*/
@JvmName("aahdogrhgagouwsn")
public suspend fun maintenanceAddressCidrBlocks(`value`: Output>) {
this.maintenanceAddressCidrBlocks = value
}
@JvmName("ansabhoajbqcxdeg")
public suspend fun maintenanceAddressCidrBlocks(vararg values: Output) {
this.maintenanceAddressCidrBlocks = Output.all(values.asList())
}
/**
* @param values 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.
*/
@JvmName("twuohjhylahjvgoc")
public suspend fun maintenanceAddressCidrBlocks(values: List
© 2015 - 2024 Weber Informatics LLC | Privacy Policy