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

com.pulumi.azure.batch.kotlin.outputs.AccountNetworkProfileNodeManagementAccessIpRule.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.batch.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 *
 * @property action Specifies the action of the ip rule. The only possible value is `Allow`. Defaults to `Allow`.
 * @property ipRange The CIDR block from which requests will match the rule.
 */
public data class AccountNetworkProfileNodeManagementAccessIpRule(
    public val action: String? = null,
    public val ipRange: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.batch.outputs.AccountNetworkProfileNodeManagementAccessIpRule): AccountNetworkProfileNodeManagementAccessIpRule =
            AccountNetworkProfileNodeManagementAccessIpRule(
                action = javaType.action().map({ args0 -> args0 }).orElse(null),
                ipRange = javaType.ipRange(),
            )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy