All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.azure.iot.kotlin.outputs.IoTHubNetworkRuleSetIpRule.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 6.15.0.0
Show newest version
@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