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

com.pulumi.azure.batch.kotlin.outputs.AccountNetworkProfileAccountAccess.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.14.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.batch.kotlin.outputs

import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @property defaultAction Specifies the default action for the account access. Possible values are `Allow` and `Deny`. Defaults to `Deny`.
 * @property ipRules One or more `ip_rule` blocks as defined below.
 */
public data class AccountNetworkProfileAccountAccess(
    public val defaultAction: String? = null,
    public val ipRules: List? = null,
) {
    public companion object {
        public
        fun toKotlin(javaType: com.pulumi.azure.batch.outputs.AccountNetworkProfileAccountAccess):
            AccountNetworkProfileAccountAccess = AccountNetworkProfileAccountAccess(
            defaultAction = javaType.defaultAction().map({ args0 -> args0 }).orElse(null),
            ipRules = javaType.ipRules().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azure.batch.kotlin.outputs.AccountNetworkProfileAccountAccessIpRule.Companion.toKotlin(args0)
                })
            }),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy