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

com.pulumi.gcp.gkehub.kotlin.inputs.FeatureMembershipConfigmanagementPolicyControllerMonitoringArgs.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.FeatureMembershipConfigmanagementPolicyControllerMonitoringArgs.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 FeatureMembershipConfigmanagementPolicyControllerMonitoringArgs(
    public val backends: Output>? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.gkehub.inputs.FeatureMembershipConfigmanagementPolicyControllerMonitoringArgs =
        com.pulumi.gcp.gkehub.inputs.FeatureMembershipConfigmanagementPolicyControllerMonitoringArgs.builder()
            .backends(backends?.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}

/**
 * Builder for [FeatureMembershipConfigmanagementPolicyControllerMonitoringArgs].
 */
@PulumiTagMarker
public class FeatureMembershipConfigmanagementPolicyControllerMonitoringArgsBuilder 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("wslpfyjcxtrliils")
    public suspend fun backends(`value`: Output>) {
        this.backends = value
    }

    @JvmName("mfudmwbncekspoqo")
    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("oblnsweqiypcukyd")
    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("qtklbgqfghgsxmdh")
    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("kyyoswkqutwqwqgx")
    public suspend fun backends(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.backends = mapped
    }

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy