![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.keyvault.kotlin.outputs.MHSMNetworkRuleSetResponse.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.keyvault.kotlin.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
* A set of rules governing the network accessibility of a managed hsm pool.
* @property bypass Tells what traffic can bypass network rules. This can be 'AzureServices' or 'None'. If not specified the default is 'AzureServices'.
* @property defaultAction The default action when no rule from ipRules and from virtualNetworkRules match. This is only used after the bypass property has been evaluated.
* @property ipRules The list of IP address rules.
* @property virtualNetworkRules The list of virtual network rules.
*/
public data class MHSMNetworkRuleSetResponse(
public val bypass: String? = null,
public val defaultAction: String? = null,
public val ipRules: List? = null,
public val virtualNetworkRules: List? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azurenative.keyvault.outputs.MHSMNetworkRuleSetResponse): MHSMNetworkRuleSetResponse = MHSMNetworkRuleSetResponse(
bypass = javaType.bypass().map({ args0 -> args0 }).orElse(null),
defaultAction = javaType.defaultAction().map({ args0 -> args0 }).orElse(null),
ipRules = javaType.ipRules().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azurenative.keyvault.kotlin.outputs.MHSMIPRuleResponse.Companion.toKotlin(args0)
})
}),
virtualNetworkRules = javaType.virtualNetworkRules().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azurenative.keyvault.kotlin.outputs.MHSMVirtualNetworkRuleResponse.Companion.toKotlin(args0)
})
}),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy