com.pulumi.azure.iot.kotlin.outputs.IoTHubNetworkRuleSetIpRule.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.iot.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
*
* @property action The desired action for requests captured by this rule. Possible values are `Allow`. Defaults to `Allow`.
* @property ipMask The IP address range in CIDR notation for the ip rule.
* @property name The name of the ip rule.
*/
public data class IoTHubNetworkRuleSetIpRule(
public val action: String? = null,
public val ipMask: String,
public val name: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azure.iot.outputs.IoTHubNetworkRuleSetIpRule):
IoTHubNetworkRuleSetIpRule = IoTHubNetworkRuleSetIpRule(
action = javaType.action().map({ args0 -> args0 }).orElse(null),
ipMask = javaType.ipMask(),
name = javaType.name(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy