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

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

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

import kotlin.Suppress

/**
 *
 * @property accountAccess An `account_access` block as defined below.
 * @property nodeManagementAccess A `node_management_access` block as defined below.
 * > **NOTE:** At least one of `account_access` or `node_management_access` must be specified.
 */
public data class AccountNetworkProfile(
    public val accountAccess: AccountNetworkProfileAccountAccess? = null,
    public val nodeManagementAccess: AccountNetworkProfileNodeManagementAccess? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.batch.outputs.AccountNetworkProfile):
            AccountNetworkProfile = AccountNetworkProfile(
            accountAccess = javaType.accountAccess().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azure.batch.kotlin.outputs.AccountNetworkProfileAccountAccess.Companion.toKotlin(args0)
                })
            }).orElse(null),
            nodeManagementAccess = javaType.nodeManagementAccess().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azure.batch.kotlin.outputs.AccountNetworkProfileNodeManagementAccess.Companion.toKotlin(args0)
                })
            }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy