com.pulumi.gcp.container.kotlin.inputs.AzureClusterFleetArgs.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.AzureClusterFleetArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property membership The name of the managed Hub Membership resource associated to this cluster. Membership names are formatted as projects//locations/global/membership/.
* @property project The number of the Fleet host project where this cluster will be registered.
*/
public data class AzureClusterFleetArgs(
public val membership: Output? = null,
public val project: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.container.inputs.AzureClusterFleetArgs =
com.pulumi.gcp.container.inputs.AzureClusterFleetArgs.builder()
.membership(membership?.applyValue({ args0 -> args0 }))
.project(project?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [AzureClusterFleetArgs].
*/
@PulumiTagMarker
public class AzureClusterFleetArgsBuilder internal constructor() {
private var membership: Output? = null
private var project: Output? = null
/**
* @param value The name of the managed Hub Membership resource associated to this cluster. Membership names are formatted as projects//locations/global/membership/.
*/
@JvmName("dcsdtekuoqcgilms")
public suspend fun membership(`value`: Output) {
this.membership = value
}
/**
* @param value The number of the Fleet host project where this cluster will be registered.
*/
@JvmName("qgyoqfwhfisayebj")
public suspend fun project(`value`: Output) {
this.project = value
}
/**
* @param value The name of the managed Hub Membership resource associated to this cluster. Membership names are formatted as projects//locations/global/membership/.
*/
@JvmName("lxbscwixjenmqhhx")
public suspend fun membership(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.membership = mapped
}
/**
* @param value The number of the Fleet host project where this cluster will be registered.
*/
@JvmName("yhbuxjadbihjrsam")
public suspend fun project(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.project = mapped
}
internal fun build(): AzureClusterFleetArgs = AzureClusterFleetArgs(
membership = membership,
project = project,
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy