![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.notificationhubs.kotlin.inputs.NetworkAclsArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-native-kotlin Show documentation
Show all versions of pulumi-azure-native-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.azurenative.notificationhubs.kotlin.inputs
import com.pulumi.azurenative.notificationhubs.inputs.NetworkAclsArgs.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
/**
* A collection of network authorization rules.
* @property ipRules List of IP rules.
* @property publicNetworkRule A default (public Internet) network authorization rule, which contains rights if no other network rule matches.
*/
public data class NetworkAclsArgs(
public val ipRules: Output>? = null,
public val publicNetworkRule: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.notificationhubs.inputs.NetworkAclsArgs =
com.pulumi.azurenative.notificationhubs.inputs.NetworkAclsArgs.builder()
.ipRules(
ipRules?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.publicNetworkRule(
publicNetworkRule?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
).build()
}
/**
* Builder for [NetworkAclsArgs].
*/
@PulumiTagMarker
public class NetworkAclsArgsBuilder internal constructor() {
private var ipRules: Output>? = null
private var publicNetworkRule: Output? = null
/**
* @param value List of IP rules.
*/
@JvmName("caxjcmumoqddcqib")
public suspend fun ipRules(`value`: Output>) {
this.ipRules = value
}
@JvmName("xpxaiurcqqexukco")
public suspend fun ipRules(vararg values: Output) {
this.ipRules = Output.all(values.asList())
}
/**
* @param values List of IP rules.
*/
@JvmName("vnupemsmqexslklb")
public suspend fun ipRules(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy