com.pulumi.gcp.container.kotlin.inputs.ClusterLoggingConfigArgs.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.ClusterLoggingConfigArgs.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 enableComponents The GKE components exposing logs. Supported values include:
* `SYSTEM_COMPONENTS`, `APISERVER`, `CONTROLLER_MANAGER`, `SCHEDULER`, and `WORKLOADS`.
*/
public data class ClusterLoggingConfigArgs(
public val enableComponents: Output>,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.container.inputs.ClusterLoggingConfigArgs =
com.pulumi.gcp.container.inputs.ClusterLoggingConfigArgs.builder()
.enableComponents(enableComponents.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}
/**
* Builder for [ClusterLoggingConfigArgs].
*/
@PulumiTagMarker
public class ClusterLoggingConfigArgsBuilder internal constructor() {
private var enableComponents: Output>? = null
/**
* @param value The GKE components exposing logs. Supported values include:
* `SYSTEM_COMPONENTS`, `APISERVER`, `CONTROLLER_MANAGER`, `SCHEDULER`, and `WORKLOADS`.
*/
@JvmName("smvaxanmuusnafbh")
public suspend fun enableComponents(`value`: Output>) {
this.enableComponents = value
}
@JvmName("fpuxldkchublnlmf")
public suspend fun enableComponents(vararg values: Output) {
this.enableComponents = Output.all(values.asList())
}
/**
* @param values The GKE components exposing logs. Supported values include:
* `SYSTEM_COMPONENTS`, `APISERVER`, `CONTROLLER_MANAGER`, `SCHEDULER`, and `WORKLOADS`.
*/
@JvmName("tbvgbswdkeokudts")
public suspend fun enableComponents(values: List
© 2015 - 2024 Weber Informatics LLC | Privacy Policy