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

com.pulumi.gcp.gkehub.kotlin.inputs.FeatureMembershipPolicycontrollerPolicyControllerHubConfigMonitoringArgs.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.gkehub.kotlin.inputs

import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.gkehub.inputs.FeatureMembershipPolicycontrollerPolicyControllerHubConfigMonitoringArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName

/**
 *
 * @property backends Specifies the list of backends Policy Controller will export to. Must be one of `CLOUD_MONITORING` or `PROMETHEUS`. Defaults to [`CLOUD_MONITORING`, `PROMETHEUS`]. Specifying an empty value `[]` disables metrics export.
 */
public data class FeatureMembershipPolicycontrollerPolicyControllerHubConfigMonitoringArgs(
    public val backends: Output>? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.gkehub.inputs.FeatureMembershipPolicycontrollerPolicyControllerHubConfigMonitoringArgs =
        com.pulumi.gcp.gkehub.inputs.FeatureMembershipPolicycontrollerPolicyControllerHubConfigMonitoringArgs.builder()
            .backends(backends?.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}

/**
 * Builder for [FeatureMembershipPolicycontrollerPolicyControllerHubConfigMonitoringArgs].
 */
@PulumiTagMarker
public class FeatureMembershipPolicycontrollerPolicyControllerHubConfigMonitoringArgsBuilder
internal constructor() {
    private var backends: Output>? = null

    /**
     * @param value Specifies the list of backends Policy Controller will export to. Must be one of `CLOUD_MONITORING` or `PROMETHEUS`. Defaults to [`CLOUD_MONITORING`, `PROMETHEUS`]. Specifying an empty value `[]` disables metrics export.
     */
    @JvmName("dcsjwbcareqjamel")
    public suspend fun backends(`value`: Output>) {
        this.backends = value
    }

    @JvmName("ajmpnwgrjewqvyrb")
    public suspend fun backends(vararg values: Output) {
        this.backends = Output.all(values.asList())
    }

    /**
     * @param values Specifies the list of backends Policy Controller will export to. Must be one of `CLOUD_MONITORING` or `PROMETHEUS`. Defaults to [`CLOUD_MONITORING`, `PROMETHEUS`]. Specifying an empty value `[]` disables metrics export.
     */
    @JvmName("yydjutvtblulxkjm")
    public suspend fun backends(values: List>) {
        this.backends = Output.all(values)
    }

    /**
     * @param value Specifies the list of backends Policy Controller will export to. Must be one of `CLOUD_MONITORING` or `PROMETHEUS`. Defaults to [`CLOUD_MONITORING`, `PROMETHEUS`]. Specifying an empty value `[]` disables metrics export.
     */
    @JvmName("wotjahpxelmolkmq")
    public suspend fun backends(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.backends = mapped
    }

    /**
     * @param values Specifies the list of backends Policy Controller will export to. Must be one of `CLOUD_MONITORING` or `PROMETHEUS`. Defaults to [`CLOUD_MONITORING`, `PROMETHEUS`]. Specifying an empty value `[]` disables metrics export.
     */
    @JvmName("cjgkcaaiegdrtbly")
    public suspend fun backends(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.backends = mapped
    }

    internal fun build(): FeatureMembershipPolicycontrollerPolicyControllerHubConfigMonitoringArgs =
        FeatureMembershipPolicycontrollerPolicyControllerHubConfigMonitoringArgs(
            backends = backends,
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy