![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.dbforpostgresql.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.dbforpostgresql.kotlin.inputs
import com.pulumi.azurenative.dbforpostgresql.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
/**
* Describes a single user-assigned identity associated with the application.
* @property clientId the client identifier of the Service Principal which this identity represents.
* @property principalId the object identifier of the Service Principal which this identity represents.
*/
public data class UserIdentityArgs(
public val clientId: Output? = null,
public val principalId: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.dbforpostgresql.inputs.UserIdentityArgs =
com.pulumi.azurenative.dbforpostgresql.inputs.UserIdentityArgs.builder()
.clientId(clientId?.applyValue({ args0 -> args0 }))
.principalId(principalId?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [UserIdentityArgs].
*/
@PulumiTagMarker
public class UserIdentityArgsBuilder internal constructor() {
private var clientId: Output? = null
private var principalId: Output? = null
/**
* @param value the client identifier of the Service Principal which this identity represents.
*/
@JvmName("xgvjhgheguwytyuk")
public suspend fun clientId(`value`: Output) {
this.clientId = value
}
/**
* @param value the object identifier of the Service Principal which this identity represents.
*/
@JvmName("lsxqcqjusihekjyq")
public suspend fun principalId(`value`: Output) {
this.principalId = value
}
/**
* @param value the client identifier of the Service Principal which this identity represents.
*/
@JvmName("qurvatanaxvchflf")
public suspend fun clientId(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.clientId = mapped
}
/**
* @param value the object identifier of the Service Principal which this identity represents.
*/
@JvmName("ytgssntogqikbtgt")
public suspend fun principalId(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.principalId = mapped
}
internal fun build(): UserIdentityArgs = UserIdentityArgs(
clientId = clientId,
principalId = principalId,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy