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

com.pulumi.azure.eventgrid.kotlin.outputs.DomainInboundIpRule.kt Maven / Gradle / Ivy

@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 DomainInboundIpRule(
    public val action: String? = null,
    public val ipMask: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.eventgrid.outputs.DomainInboundIpRule): DomainInboundIpRule = DomainInboundIpRule(
            action = javaType.action().map({ args0 -> args0 }).orElse(null),
            ipMask = javaType.ipMask(),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy