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

com.pulumi.azurenative.blueprint.kotlin.inputs.UserAssignedIdentityArgs.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: 2.82.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azurenative.blueprint.kotlin.inputs

import com.pulumi.azurenative.blueprint.inputs.UserAssignedIdentityArgs.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

/**
 * User-assigned managed identity.
 * @property clientId Client App Id associated with this identity.
 * @property principalId Azure Active Directory principal ID associated with this Identity.
 */
public data class UserAssignedIdentityArgs(
    public val clientId: Output? = null,
    public val principalId: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azurenative.blueprint.inputs.UserAssignedIdentityArgs =
        com.pulumi.azurenative.blueprint.inputs.UserAssignedIdentityArgs.builder()
            .clientId(clientId?.applyValue({ args0 -> args0 }))
            .principalId(principalId?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [UserAssignedIdentityArgs].
 */
@PulumiTagMarker
public class UserAssignedIdentityArgsBuilder internal constructor() {
    private var clientId: Output? = null

    private var principalId: Output? = null

    /**
     * @param value Client App Id associated with this identity.
     */
    @JvmName("dwbooesqtmcivhfe")
    public suspend fun clientId(`value`: Output) {
        this.clientId = value
    }

    /**
     * @param value Azure Active Directory principal ID associated with this Identity.
     */
    @JvmName("clxtkwdqjdwcuecf")
    public suspend fun principalId(`value`: Output) {
        this.principalId = value
    }

    /**
     * @param value Client App Id associated with this identity.
     */
    @JvmName("lgphohialjpqtyxx")
    public suspend fun clientId(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.clientId = mapped
    }

    /**
     * @param value Azure Active Directory principal ID associated with this Identity.
     */
    @JvmName("yvfdkblcxxwifaqs")
    public suspend fun principalId(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.principalId = mapped
    }

    internal fun build(): UserAssignedIdentityArgs = UserAssignedIdentityArgs(
        clientId = clientId,
        principalId = principalId,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy