![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azure.keyvault.kotlin.inputs.ManagedHardwareSecurityModuleNetworkAclsArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-kotlin Show documentation
Show all versions of pulumi-azure-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.azure.keyvault.kotlin.inputs
import com.pulumi.azure.keyvault.inputs.ManagedHardwareSecurityModuleNetworkAclsArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property bypass Specifies which traffic can bypass the network rules. Possible values are `AzureServices` and `None`.
* @property defaultAction The Default Action to use. Possible values are `Allow` and `Deny`.
*/
public data class ManagedHardwareSecurityModuleNetworkAclsArgs(
public val bypass: Output,
public val defaultAction: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.keyvault.inputs.ManagedHardwareSecurityModuleNetworkAclsArgs =
com.pulumi.azure.keyvault.inputs.ManagedHardwareSecurityModuleNetworkAclsArgs.builder()
.bypass(bypass.applyValue({ args0 -> args0 }))
.defaultAction(defaultAction.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ManagedHardwareSecurityModuleNetworkAclsArgs].
*/
@PulumiTagMarker
public class ManagedHardwareSecurityModuleNetworkAclsArgsBuilder internal constructor() {
private var bypass: Output? = null
private var defaultAction: Output? = null
/**
* @param value Specifies which traffic can bypass the network rules. Possible values are `AzureServices` and `None`.
*/
@JvmName("itgyinreovgasioq")
public suspend fun bypass(`value`: Output) {
this.bypass = value
}
/**
* @param value The Default Action to use. Possible values are `Allow` and `Deny`.
*/
@JvmName("gktfdcngoebomjkq")
public suspend fun defaultAction(`value`: Output) {
this.defaultAction = value
}
/**
* @param value Specifies which traffic can bypass the network rules. Possible values are `AzureServices` and `None`.
*/
@JvmName("nncndpeuybmiybud")
public suspend fun bypass(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.bypass = mapped
}
/**
* @param value The Default Action to use. Possible values are `Allow` and `Deny`.
*/
@JvmName("kjeemdqgtcjcaeat")
public suspend fun defaultAction(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.defaultAction = mapped
}
internal fun build(): ManagedHardwareSecurityModuleNetworkAclsArgs =
ManagedHardwareSecurityModuleNetworkAclsArgs(
bypass = bypass ?: throw PulumiNullFieldException("bypass"),
defaultAction = defaultAction ?: throw PulumiNullFieldException("defaultAction"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy