com.pulumi.azure.eventgrid.kotlin.outputs.TopicInboundIpRule.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.eventgrid.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
*
* @property action The action to take when the rule is matched. Possible values are `Allow`. Defaults to `Allow`.
* @property ipMask The IP mask (CIDR) to match on.
*/
public data class TopicInboundIpRule(
public val action: String? = null,
public val ipMask: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azure.eventgrid.outputs.TopicInboundIpRule):
TopicInboundIpRule = TopicInboundIpRule(
action = javaType.action().map({ args0 -> args0 }).orElse(null),
ipMask = javaType.ipMask(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy