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

com.pulumi.gcp.gkehub.kotlin.inputs.FeatureMembershipMeshArgs.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.10.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.FeatureMembershipMeshArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Deprecated
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property controlPlane **DEPRECATED** Whether to automatically manage Service Mesh control planes. Possible values: CONTROL_PLANE_MANAGEMENT_UNSPECIFIED, AUTOMATIC, MANUAL
 * @property management Whether to automatically manage Service Mesh. Can either be `MANAGEMENT_AUTOMATIC` or `MANAGEMENT_MANUAL`.
 */
public data class FeatureMembershipMeshArgs(
    @Deprecated(
        message = """
  Deprecated in favor of the `management` field
  """,
    )
    public val controlPlane: Output? = null,
    public val management: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.gkehub.inputs.FeatureMembershipMeshArgs =
        com.pulumi.gcp.gkehub.inputs.FeatureMembershipMeshArgs.builder()
            .controlPlane(controlPlane?.applyValue({ args0 -> args0 }))
            .management(management?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [FeatureMembershipMeshArgs].
 */
@PulumiTagMarker
public class FeatureMembershipMeshArgsBuilder internal constructor() {
    private var controlPlane: Output? = null

    private var management: Output? = null

    /**
     * @param value **DEPRECATED** Whether to automatically manage Service Mesh control planes. Possible values: CONTROL_PLANE_MANAGEMENT_UNSPECIFIED, AUTOMATIC, MANUAL
     */
    @Deprecated(
        message = """
  Deprecated in favor of the `management` field
  """,
    )
    @JvmName("rygsqqvkkrfoatte")
    public suspend fun controlPlane(`value`: Output) {
        this.controlPlane = value
    }

    /**
     * @param value Whether to automatically manage Service Mesh. Can either be `MANAGEMENT_AUTOMATIC` or `MANAGEMENT_MANUAL`.
     */
    @JvmName("warlvofwjtjvpdkc")
    public suspend fun management(`value`: Output) {
        this.management = value
    }

    /**
     * @param value **DEPRECATED** Whether to automatically manage Service Mesh control planes. Possible values: CONTROL_PLANE_MANAGEMENT_UNSPECIFIED, AUTOMATIC, MANUAL
     */
    @Deprecated(
        message = """
  Deprecated in favor of the `management` field
  """,
    )
    @JvmName("bmgphyppuohyemaj")
    public suspend fun controlPlane(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.controlPlane = mapped
    }

    /**
     * @param value Whether to automatically manage Service Mesh. Can either be `MANAGEMENT_AUTOMATIC` or `MANAGEMENT_MANUAL`.
     */
    @JvmName("xmpnrjtjallqavbt")
    public suspend fun management(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.management = mapped
    }

    internal fun build(): FeatureMembershipMeshArgs = FeatureMembershipMeshArgs(
        controlPlane = controlPlane,
        management = management,
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy