com.pulumi.gcp.container.kotlin.inputs.ClusterNodePoolDefaultsNodeConfigDefaultsArgs.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.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.container.inputs.ClusterNodePoolDefaultsNodeConfigDefaultsArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName
/**
*
* @property gcfsConfig The default Google Container Filesystem (GCFS) configuration at the cluster level. e.g. enable [image streaming](https://cloud.google.com/kubernetes-engine/docs/how-to/image-streaming) across all the node pools within the cluster. Structure is documented below.
* @property loggingVariant The type of logging agent that is deployed by default for newly created node pools in the cluster. Valid values include DEFAULT and MAX_THROUGHPUT. See [Increasing logging agent throughput](https://cloud.google.com/stackdriver/docs/solutions/gke/managing-logs#throughput) for more information.
*/
public data class ClusterNodePoolDefaultsNodeConfigDefaultsArgs(
public val gcfsConfig: Output? = null,
public val loggingVariant: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.container.inputs.ClusterNodePoolDefaultsNodeConfigDefaultsArgs =
com.pulumi.gcp.container.inputs.ClusterNodePoolDefaultsNodeConfigDefaultsArgs.builder()
.gcfsConfig(gcfsConfig?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.loggingVariant(loggingVariant?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ClusterNodePoolDefaultsNodeConfigDefaultsArgs].
*/
@PulumiTagMarker
public class ClusterNodePoolDefaultsNodeConfigDefaultsArgsBuilder internal constructor() {
private var gcfsConfig: Output? = null
private var loggingVariant: Output? = null
/**
* @param value The default Google Container Filesystem (GCFS) configuration at the cluster level. e.g. enable [image streaming](https://cloud.google.com/kubernetes-engine/docs/how-to/image-streaming) across all the node pools within the cluster. Structure is documented below.
*/
@JvmName("atdduayodsacaeed")
public suspend fun gcfsConfig(`value`: Output) {
this.gcfsConfig = value
}
/**
* @param value The type of logging agent that is deployed by default for newly created node pools in the cluster. Valid values include DEFAULT and MAX_THROUGHPUT. See [Increasing logging agent throughput](https://cloud.google.com/stackdriver/docs/solutions/gke/managing-logs#throughput) for more information.
*/
@JvmName("oaxjpawsietnvicu")
public suspend fun loggingVariant(`value`: Output) {
this.loggingVariant = value
}
/**
* @param value The default Google Container Filesystem (GCFS) configuration at the cluster level. e.g. enable [image streaming](https://cloud.google.com/kubernetes-engine/docs/how-to/image-streaming) across all the node pools within the cluster. Structure is documented below.
*/
@JvmName("qcscmqxhbmxeqyqo")
public suspend fun gcfsConfig(`value`: ClusterNodePoolDefaultsNodeConfigDefaultsGcfsConfigArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.gcfsConfig = mapped
}
/**
* @param argument The default Google Container Filesystem (GCFS) configuration at the cluster level. e.g. enable [image streaming](https://cloud.google.com/kubernetes-engine/docs/how-to/image-streaming) across all the node pools within the cluster. Structure is documented below.
*/
@JvmName("pbqqwlusopefpogk")
public suspend fun gcfsConfig(argument: suspend ClusterNodePoolDefaultsNodeConfigDefaultsGcfsConfigArgsBuilder.() -> Unit) {
val toBeMapped = ClusterNodePoolDefaultsNodeConfigDefaultsGcfsConfigArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.gcfsConfig = mapped
}
/**
* @param value The type of logging agent that is deployed by default for newly created node pools in the cluster. Valid values include DEFAULT and MAX_THROUGHPUT. See [Increasing logging agent throughput](https://cloud.google.com/stackdriver/docs/solutions/gke/managing-logs#throughput) for more information.
*/
@JvmName("qnabbbkwkfewswak")
public suspend fun loggingVariant(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.loggingVariant = mapped
}
internal fun build(): ClusterNodePoolDefaultsNodeConfigDefaultsArgs =
ClusterNodePoolDefaultsNodeConfigDefaultsArgs(
gcfsConfig = gcfsConfig,
loggingVariant = loggingVariant,
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy