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

com.pulumi.azure.mssql.kotlin.inputs.VirtualMachineWsfcDomainCredentialArgs.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.mssql.kotlin.inputs

import com.pulumi.azure.mssql.inputs.VirtualMachineWsfcDomainCredentialArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property clusterBootstrapAccountPassword The account password used for creating cluster.
 * @property clusterOperatorAccountPassword The account password used for operating cluster.
 * @property sqlServiceAccountPassword The account password under which SQL service will run on all participating SQL virtual machines in the cluster.
 */
public data class VirtualMachineWsfcDomainCredentialArgs(
    public val clusterBootstrapAccountPassword: Output,
    public val clusterOperatorAccountPassword: Output,
    public val sqlServiceAccountPassword: Output,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azure.mssql.inputs.VirtualMachineWsfcDomainCredentialArgs =
        com.pulumi.azure.mssql.inputs.VirtualMachineWsfcDomainCredentialArgs.builder()
            .clusterBootstrapAccountPassword(clusterBootstrapAccountPassword.applyValue({ args0 -> args0 }))
            .clusterOperatorAccountPassword(clusterOperatorAccountPassword.applyValue({ args0 -> args0 }))
            .sqlServiceAccountPassword(sqlServiceAccountPassword.applyValue({ args0 -> args0 })).build()
}

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

    private var clusterOperatorAccountPassword: Output? = null

    private var sqlServiceAccountPassword: Output? = null

    /**
     * @param value The account password used for creating cluster.
     */
    @JvmName("kicetmcetkffmhwk")
    public suspend fun clusterBootstrapAccountPassword(`value`: Output) {
        this.clusterBootstrapAccountPassword = value
    }

    /**
     * @param value The account password used for operating cluster.
     */
    @JvmName("pwoqksayfkreuexc")
    public suspend fun clusterOperatorAccountPassword(`value`: Output) {
        this.clusterOperatorAccountPassword = value
    }

    /**
     * @param value The account password under which SQL service will run on all participating SQL virtual machines in the cluster.
     */
    @JvmName("nuyenypcpljekkdb")
    public suspend fun sqlServiceAccountPassword(`value`: Output) {
        this.sqlServiceAccountPassword = value
    }

    /**
     * @param value The account password used for creating cluster.
     */
    @JvmName("mumniaucvutehgeb")
    public suspend fun clusterBootstrapAccountPassword(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.clusterBootstrapAccountPassword = mapped
    }

    /**
     * @param value The account password used for operating cluster.
     */
    @JvmName("vdwysbhxaabkfuib")
    public suspend fun clusterOperatorAccountPassword(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.clusterOperatorAccountPassword = mapped
    }

    /**
     * @param value The account password under which SQL service will run on all participating SQL virtual machines in the cluster.
     */
    @JvmName("nmvobikmdnkticxd")
    public suspend fun sqlServiceAccountPassword(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.sqlServiceAccountPassword = mapped
    }

    internal fun build(): VirtualMachineWsfcDomainCredentialArgs =
        VirtualMachineWsfcDomainCredentialArgs(
            clusterBootstrapAccountPassword = clusterBootstrapAccountPassword ?: throw
                PulumiNullFieldException("clusterBootstrapAccountPassword"),
            clusterOperatorAccountPassword = clusterOperatorAccountPassword ?: throw
                PulumiNullFieldException("clusterOperatorAccountPassword"),
            sqlServiceAccountPassword = sqlServiceAccountPassword ?: throw
                PulumiNullFieldException("sqlServiceAccountPassword"),
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy