![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.cognitiveservices.kotlin.outputs.NetworkRuleSetResponse.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.cognitiveservices.kotlin.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
* A set of rules governing the network accessibility.
* @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 NetworkRuleSetResponse(
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.cognitiveservices.outputs.NetworkRuleSetResponse): NetworkRuleSetResponse = NetworkRuleSetResponse(
defaultAction = javaType.defaultAction().map({ args0 -> args0 }).orElse(null),
ipRules = javaType.ipRules().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azurenative.cognitiveservices.kotlin.outputs.IpRuleResponse.Companion.toKotlin(args0)
})
}),
virtualNetworkRules = javaType.virtualNetworkRules().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azurenative.cognitiveservices.kotlin.outputs.VirtualNetworkRuleResponse.Companion.toKotlin(args0)
})
}),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy