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

com.pulumi.azure.batch.kotlin.outputs.AccountNetworkProfileNodeManagementAccess.kt Maven / Gradle / Ivy

@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 node management access. Possible values are `Allow` and `Deny`. Defaults to `Deny`.
 * @property ipRules One or more `ip_rule` blocks as defined below.
 */
public data class AccountNetworkProfileNodeManagementAccess(
    public val defaultAction: String? = null,
    public val ipRules: List? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.batch.outputs.AccountNetworkProfileNodeManagementAccess): AccountNetworkProfileNodeManagementAccess = AccountNetworkProfileNodeManagementAccess(
            defaultAction = javaType.defaultAction().map({ args0 -> args0 }).orElse(null),
            ipRules = javaType.ipRules().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azure.batch.kotlin.outputs.AccountNetworkProfileNodeManagementAccessIpRule.Companion.toKotlin(args0)
                })
            }),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy