com.pulumi.gcp.container.kotlin.inputs.ClusterAddonsConfigCloudrunConfigArgs.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.ClusterAddonsConfigCloudrunConfigArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property disabled The status of the CloudRun addon. It is disabled by default. Set `disabled=false` to enable.
* @property loadBalancerType The load balancer type of CloudRun ingress service. It is external load balancer by default.
* Set `load_balancer_type=LOAD_BALANCER_TYPE_INTERNAL` to configure it as internal load balancer.
*/
public data class ClusterAddonsConfigCloudrunConfigArgs(
public val disabled: Output,
public val loadBalancerType: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.container.inputs.ClusterAddonsConfigCloudrunConfigArgs =
com.pulumi.gcp.container.inputs.ClusterAddonsConfigCloudrunConfigArgs.builder()
.disabled(disabled.applyValue({ args0 -> args0 }))
.loadBalancerType(loadBalancerType?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ClusterAddonsConfigCloudrunConfigArgs].
*/
@PulumiTagMarker
public class ClusterAddonsConfigCloudrunConfigArgsBuilder internal constructor() {
private var disabled: Output? = null
private var loadBalancerType: Output? = null
/**
* @param value The status of the CloudRun addon. It is disabled by default. Set `disabled=false` to enable.
*/
@JvmName("padtgvnkknntpxli")
public suspend fun disabled(`value`: Output) {
this.disabled = value
}
/**
* @param value The load balancer type of CloudRun ingress service. It is external load balancer by default.
* Set `load_balancer_type=LOAD_BALANCER_TYPE_INTERNAL` to configure it as internal load balancer.
*/
@JvmName("tybalqajwhtdqddo")
public suspend fun loadBalancerType(`value`: Output) {
this.loadBalancerType = value
}
/**
* @param value The status of the CloudRun addon. It is disabled by default. Set `disabled=false` to enable.
*/
@JvmName("ldoqqtrqimnbkung")
public suspend fun disabled(`value`: Boolean) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.disabled = mapped
}
/**
* @param value The load balancer type of CloudRun ingress service. It is external load balancer by default.
* Set `load_balancer_type=LOAD_BALANCER_TYPE_INTERNAL` to configure it as internal load balancer.
*/
@JvmName("vpiaqupjwjalvtms")
public suspend fun loadBalancerType(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.loadBalancerType = mapped
}
internal fun build(): ClusterAddonsConfigCloudrunConfigArgs =
ClusterAddonsConfigCloudrunConfigArgs(
disabled = disabled ?: throw PulumiNullFieldException("disabled"),
loadBalancerType = loadBalancerType,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy