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

com.pulumi.azurenative.sqlvirtualmachine.kotlin.inputs.WsfcDomainCredentialsArgs.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azurenative.sqlvirtualmachine.kotlin.inputs

import com.pulumi.azurenative.sqlvirtualmachine.inputs.WsfcDomainCredentialsArgs.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

/**
 * Domain credentials for setting up Windows Server Failover Cluster for SQL availability group.
 * @property clusterBootstrapAccountPassword Cluster bootstrap account password.
 * @property clusterOperatorAccountPassword Cluster operator account password.
 * @property sqlServiceAccountPassword SQL service account password.
 */
public data class WsfcDomainCredentialsArgs(
    public val clusterBootstrapAccountPassword: Output? = null,
    public val clusterOperatorAccountPassword: Output? = null,
    public val sqlServiceAccountPassword: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azurenative.sqlvirtualmachine.inputs.WsfcDomainCredentialsArgs =
        com.pulumi.azurenative.sqlvirtualmachine.inputs.WsfcDomainCredentialsArgs.builder()
            .clusterBootstrapAccountPassword(clusterBootstrapAccountPassword?.applyValue({ args0 -> args0 }))
            .clusterOperatorAccountPassword(clusterOperatorAccountPassword?.applyValue({ args0 -> args0 }))
            .sqlServiceAccountPassword(sqlServiceAccountPassword?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [WsfcDomainCredentialsArgs].
 */
@PulumiTagMarker
public class WsfcDomainCredentialsArgsBuilder internal constructor() {
    private var clusterBootstrapAccountPassword: Output? = null

    private var clusterOperatorAccountPassword: Output? = null

    private var sqlServiceAccountPassword: Output? = null

    /**
     * @param value Cluster bootstrap account password.
     */
    @JvmName("onxvtcdcypeuklde")
    public suspend fun clusterBootstrapAccountPassword(`value`: Output) {
        this.clusterBootstrapAccountPassword = value
    }

    /**
     * @param value Cluster operator account password.
     */
    @JvmName("pxrtisjjccaqsoyk")
    public suspend fun clusterOperatorAccountPassword(`value`: Output) {
        this.clusterOperatorAccountPassword = value
    }

    /**
     * @param value SQL service account password.
     */
    @JvmName("xeboxwlnkfvyehbn")
    public suspend fun sqlServiceAccountPassword(`value`: Output) {
        this.sqlServiceAccountPassword = value
    }

    /**
     * @param value Cluster bootstrap account password.
     */
    @JvmName("dppoyyjnyaggvdcr")
    public suspend fun clusterBootstrapAccountPassword(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.clusterBootstrapAccountPassword = mapped
    }

    /**
     * @param value Cluster operator account password.
     */
    @JvmName("knvawkipdhnsfpfg")
    public suspend fun clusterOperatorAccountPassword(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.clusterOperatorAccountPassword = mapped
    }

    /**
     * @param value SQL service account password.
     */
    @JvmName("qmcfqqmyljycifsg")
    public suspend fun sqlServiceAccountPassword(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.sqlServiceAccountPassword = mapped
    }

    internal fun build(): WsfcDomainCredentialsArgs = WsfcDomainCredentialsArgs(
        clusterBootstrapAccountPassword = clusterBootstrapAccountPassword,
        clusterOperatorAccountPassword = clusterOperatorAccountPassword,
        sqlServiceAccountPassword = sqlServiceAccountPassword,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy