![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azure.cognitive.kotlin.outputs.AccountNetworkAcls.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.cognitive.kotlin.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property defaultAction The Default Action to use when no rules match from `ip_rules` / `virtual_network_rules`. Possible values are `Allow` and `Deny`.
* @property ipRules One or more IP Addresses, or CIDR Blocks which should be able to access the Cognitive Account.
* @property virtualNetworkRules A `virtual_network_rules` block as defined below.
*/
public data class AccountNetworkAcls(
public val defaultAction: String,
public val ipRules: List? = null,
public val virtualNetworkRules: List? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azure.cognitive.outputs.AccountNetworkAcls): AccountNetworkAcls = AccountNetworkAcls(
defaultAction = javaType.defaultAction(),
ipRules = javaType.ipRules().map({ args0 -> args0 }),
virtualNetworkRules = javaType.virtualNetworkRules().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azure.cognitive.kotlin.outputs.AccountNetworkAclsVirtualNetworkRule.Companion.toKotlin(args0)
})
}),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy