![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azure.batch.kotlin.outputs.PoolStartTaskUserIdentity.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-kotlin Show documentation
Show all versions of pulumi-azure-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azure.batch.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
*
* @property autoUser A `auto_user` block that describes the user identity under which the start task runs as defined below.
* > **Please Note:** `user_name` and `auto_user` blocks cannot be used both at the same time, but you need to define one or the other.
* @property userName The username to be used by the Batch pool start task.
*/
public data class PoolStartTaskUserIdentity(
public val autoUser: PoolStartTaskUserIdentityAutoUser? = null,
public val userName: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azure.batch.outputs.PoolStartTaskUserIdentity): PoolStartTaskUserIdentity = PoolStartTaskUserIdentity(
autoUser = javaType.autoUser().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azure.batch.kotlin.outputs.PoolStartTaskUserIdentityAutoUser.Companion.toKotlin(args0)
})
}).orElse(null),
userName = javaType.userName().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy