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

com.pulumi.azurenative.scom.kotlin.inputs.DomainUserCredentialsArgs.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.scom.kotlin.inputs

import com.pulumi.azurenative.scom.inputs.DomainUserCredentialsArgs.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

/**
 * Get Domain user name and password from key vault
 * @property keyVaultUrl Key vault url to get the domain username and password
 * @property passwordSecret Domain Password secret
 * @property userNameSecret Domain user name secret
 */
public data class DomainUserCredentialsArgs(
    public val keyVaultUrl: Output? = null,
    public val passwordSecret: Output? = null,
    public val userNameSecret: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azurenative.scom.inputs.DomainUserCredentialsArgs =
        com.pulumi.azurenative.scom.inputs.DomainUserCredentialsArgs.builder()
            .keyVaultUrl(keyVaultUrl?.applyValue({ args0 -> args0 }))
            .passwordSecret(passwordSecret?.applyValue({ args0 -> args0 }))
            .userNameSecret(userNameSecret?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [DomainUserCredentialsArgs].
 */
@PulumiTagMarker
public class DomainUserCredentialsArgsBuilder internal constructor() {
    private var keyVaultUrl: Output? = null

    private var passwordSecret: Output? = null

    private var userNameSecret: Output? = null

    /**
     * @param value Key vault url to get the domain username and password
     */
    @JvmName("npsyfsoqfyiukkic")
    public suspend fun keyVaultUrl(`value`: Output) {
        this.keyVaultUrl = value
    }

    /**
     * @param value Domain Password secret
     */
    @JvmName("rdpkdvxtxacalwer")
    public suspend fun passwordSecret(`value`: Output) {
        this.passwordSecret = value
    }

    /**
     * @param value Domain user name secret
     */
    @JvmName("ajqmgektuamktwcj")
    public suspend fun userNameSecret(`value`: Output) {
        this.userNameSecret = value
    }

    /**
     * @param value Key vault url to get the domain username and password
     */
    @JvmName("qhjfirmembycuqgv")
    public suspend fun keyVaultUrl(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.keyVaultUrl = mapped
    }

    /**
     * @param value Domain Password secret
     */
    @JvmName("rxrjwpcaxasrhcxg")
    public suspend fun passwordSecret(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.passwordSecret = mapped
    }

    /**
     * @param value Domain user name secret
     */
    @JvmName("yywesirvidrkwups")
    public suspend fun userNameSecret(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.userNameSecret = mapped
    }

    internal fun build(): DomainUserCredentialsArgs = DomainUserCredentialsArgs(
        keyVaultUrl = keyVaultUrl,
        passwordSecret = passwordSecret,
        userNameSecret = userNameSecret,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy