com.pulumi.azurenative.media.kotlin.inputs.IPAccessControlArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.media.kotlin.inputs
import com.pulumi.azurenative.media.inputs.IPAccessControlArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
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
/**
* The IP access control.
* @property allow The IP allow list.
*/
public data class IPAccessControlArgs(
public val allow: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.media.inputs.IPAccessControlArgs =
com.pulumi.azurenative.media.inputs.IPAccessControlArgs.builder()
.allow(
allow?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [IPAccessControlArgs].
*/
@PulumiTagMarker
public class IPAccessControlArgsBuilder internal constructor() {
private var allow: Output>? = null
/**
* @param value The IP allow list.
*/
@JvmName("guyuyseposysckof")
public suspend fun allow(`value`: Output>) {
this.allow = value
}
@JvmName("bhkvsapbkkjfiyxp")
public suspend fun allow(vararg values: Output) {
this.allow = Output.all(values.asList())
}
/**
* @param values The IP allow list.
*/
@JvmName("sxlldmrryvxpnklm")
public suspend fun allow(values: List