![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.devtestlab.kotlin.inputs.UserIdentityArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-native-kotlin Show documentation
Show all versions of pulumi-azure-native-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.azurenative.devtestlab.kotlin.inputs
import com.pulumi.azurenative.devtestlab.inputs.UserIdentityArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
* Identity attributes of a lab user.
* @property appId Set to the app Id of the client JWT making the request.
* @property objectId Set to the object Id of the client JWT making the request. Not all users have object Id. For CSP (reseller) scenarios for example, object Id is not available.
* @property principalId Set to the principal Id of the client JWT making the request. Service principal will not have the principal Id.
* @property principalName Set to the principal name / UPN of the client JWT making the request.
* @property tenantId Set to the tenant ID of the client JWT making the request.
*/
public data class UserIdentityArgs(
public val appId: Output? = null,
public val objectId: Output? = null,
public val principalId: Output? = null,
public val principalName: Output? = null,
public val tenantId: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.devtestlab.inputs.UserIdentityArgs =
com.pulumi.azurenative.devtestlab.inputs.UserIdentityArgs.builder()
.appId(appId?.applyValue({ args0 -> args0 }))
.objectId(objectId?.applyValue({ args0 -> args0 }))
.principalId(principalId?.applyValue({ args0 -> args0 }))
.principalName(principalName?.applyValue({ args0 -> args0 }))
.tenantId(tenantId?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [UserIdentityArgs].
*/
@PulumiTagMarker
public class UserIdentityArgsBuilder internal constructor() {
private var appId: Output? = null
private var objectId: Output? = null
private var principalId: Output? = null
private var principalName: Output? = null
private var tenantId: Output? = null
/**
* @param value Set to the app Id of the client JWT making the request.
*/
@JvmName("evbcxkqtillebcwn")
public suspend fun appId(`value`: Output) {
this.appId = value
}
/**
* @param value Set to the object Id of the client JWT making the request. Not all users have object Id. For CSP (reseller) scenarios for example, object Id is not available.
*/
@JvmName("nstthqimgclvtyrh")
public suspend fun objectId(`value`: Output) {
this.objectId = value
}
/**
* @param value Set to the principal Id of the client JWT making the request. Service principal will not have the principal Id.
*/
@JvmName("usivujnvuqxbiaka")
public suspend fun principalId(`value`: Output) {
this.principalId = value
}
/**
* @param value Set to the principal name / UPN of the client JWT making the request.
*/
@JvmName("fdpdrbkaasysimst")
public suspend fun principalName(`value`: Output) {
this.principalName = value
}
/**
* @param value Set to the tenant ID of the client JWT making the request.
*/
@JvmName("aysapfrecaegnlux")
public suspend fun tenantId(`value`: Output) {
this.tenantId = value
}
/**
* @param value Set to the app Id of the client JWT making the request.
*/
@JvmName("vqcfqoyrnthnvqax")
public suspend fun appId(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.appId = mapped
}
/**
* @param value Set to the object Id of the client JWT making the request. Not all users have object Id. For CSP (reseller) scenarios for example, object Id is not available.
*/
@JvmName("faniwuarpsxcxnlf")
public suspend fun objectId(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.objectId = mapped
}
/**
* @param value Set to the principal Id of the client JWT making the request. Service principal will not have the principal Id.
*/
@JvmName("ixsidjjyqfujrmwt")
public suspend fun principalId(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.principalId = mapped
}
/**
* @param value Set to the principal name / UPN of the client JWT making the request.
*/
@JvmName("qivyptcqqgxqgshi")
public suspend fun principalName(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.principalName = mapped
}
/**
* @param value Set to the tenant ID of the client JWT making the request.
*/
@JvmName("blkjngbexblrgqgs")
public suspend fun tenantId(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.tenantId = mapped
}
internal fun build(): UserIdentityArgs = UserIdentityArgs(
appId = appId,
objectId = objectId,
principalId = principalId,
principalName = principalName,
tenantId = tenantId,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy