com.pulumi.gcp.composer.kotlin.inputs.EnvironmentConfigWebServerNetworkAccessControlArgs.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.composer.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.composer.inputs.EnvironmentConfigWebServerNetworkAccessControlArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property allowedIpRanges A collection of allowed IP ranges with descriptions.
*/
public data class EnvironmentConfigWebServerNetworkAccessControlArgs(
public val allowedIpRanges: Output>? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.composer.inputs.EnvironmentConfigWebServerNetworkAccessControlArgs =
com.pulumi.gcp.composer.inputs.EnvironmentConfigWebServerNetworkAccessControlArgs.builder()
.allowedIpRanges(
allowedIpRanges?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [EnvironmentConfigWebServerNetworkAccessControlArgs].
*/
@PulumiTagMarker
public class EnvironmentConfigWebServerNetworkAccessControlArgsBuilder internal constructor() {
private var allowedIpRanges:
Output>? = null
/**
* @param value A collection of allowed IP ranges with descriptions.
*/
@JvmName("oercmlwcanihkqln")
public suspend fun allowedIpRanges(`value`: Output>) {
this.allowedIpRanges = value
}
@JvmName("lvsnimpfcqllllyp")
public suspend fun allowedIpRanges(vararg values: Output) {
this.allowedIpRanges = Output.all(values.asList())
}
/**
* @param values A collection of allowed IP ranges with descriptions.
*/
@JvmName("rmytgyjffedplmyy")
public suspend fun allowedIpRanges(values: List
© 2015 - 2024 Weber Informatics LLC | Privacy Policy