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

com.pulumi.azure.datafactory.kotlin.CredentialUserManagedIdentityArgs.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.15.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.datafactory.kotlin

import com.pulumi.azure.datafactory.CredentialUserManagedIdentityArgs.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.collections.List
import kotlin.jvm.JvmName

/**
 *
 * @property annotations (Optional) List of string annotations.
 * @property dataFactoryId The resource ID of the parent Data Factory
 * @property description (Optional) Short text description
 * @property identityId The resource ID of the User Assigned Managed Identity
 * @property name The desired name of the credential resource
 */
public data class CredentialUserManagedIdentityArgs(
    public val annotations: Output>? = null,
    public val dataFactoryId: Output? = null,
    public val description: Output? = null,
    public val identityId: Output? = null,
    public val name: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azure.datafactory.CredentialUserManagedIdentityArgs =
        com.pulumi.azure.datafactory.CredentialUserManagedIdentityArgs.builder()
            .annotations(annotations?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
            .dataFactoryId(dataFactoryId?.applyValue({ args0 -> args0 }))
            .description(description?.applyValue({ args0 -> args0 }))
            .identityId(identityId?.applyValue({ args0 -> args0 }))
            .name(name?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [CredentialUserManagedIdentityArgs].
 */
@PulumiTagMarker
public class CredentialUserManagedIdentityArgsBuilder internal constructor() {
    private var annotations: Output>? = null

    private var dataFactoryId: Output? = null

    private var description: Output? = null

    private var identityId: Output? = null

    private var name: Output? = null

    /**
     * @param value (Optional) List of string annotations.
     */
    @JvmName("ttchwwadhanoonad")
    public suspend fun annotations(`value`: Output>) {
        this.annotations = value
    }

    @JvmName("vynbwmnlwchiruav")
    public suspend fun annotations(vararg values: Output) {
        this.annotations = Output.all(values.asList())
    }

    /**
     * @param values (Optional) List of string annotations.
     */
    @JvmName("spoampieymiwfwqp")
    public suspend fun annotations(values: List>) {
        this.annotations = Output.all(values)
    }

    /**
     * @param value The resource ID of the parent Data Factory
     */
    @JvmName("tqkpouqbaknnonkm")
    public suspend fun dataFactoryId(`value`: Output) {
        this.dataFactoryId = value
    }

    /**
     * @param value (Optional) Short text description
     */
    @JvmName("gmfvollgrpqtjknq")
    public suspend fun description(`value`: Output) {
        this.description = value
    }

    /**
     * @param value The resource ID of the User Assigned Managed Identity
     */
    @JvmName("ipbkwwyuwrncsoqy")
    public suspend fun identityId(`value`: Output) {
        this.identityId = value
    }

    /**
     * @param value The desired name of the credential resource
     */
    @JvmName("xkgejfdoghmcgfov")
    public suspend fun name(`value`: Output) {
        this.name = value
    }

    /**
     * @param value (Optional) List of string annotations.
     */
    @JvmName("iqtdgrqcyrxitonh")
    public suspend fun annotations(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.annotations = mapped
    }

    /**
     * @param values (Optional) List of string annotations.
     */
    @JvmName("jgcjqjhtndvkigsj")
    public suspend fun annotations(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.annotations = mapped
    }

    /**
     * @param value The resource ID of the parent Data Factory
     */
    @JvmName("hddyyrooytqfmslt")
    public suspend fun dataFactoryId(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.dataFactoryId = mapped
    }

    /**
     * @param value (Optional) Short text description
     */
    @JvmName("eethbmsnfwuvptdd")
    public suspend fun description(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.description = mapped
    }

    /**
     * @param value The resource ID of the User Assigned Managed Identity
     */
    @JvmName("yyxwsiykfhucmlcm")
    public suspend fun identityId(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.identityId = mapped
    }

    /**
     * @param value The desired name of the credential resource
     */
    @JvmName("qkwhqbvecymofatm")
    public suspend fun name(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.name = mapped
    }

    internal fun build(): CredentialUserManagedIdentityArgs = CredentialUserManagedIdentityArgs(
        annotations = annotations,
        dataFactoryId = dataFactoryId,
        description = description,
        identityId = identityId,
        name = name,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy