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

com.pulumi.azure.mssql.kotlin.outputs.VirtualMachineGroupWsfcDomainProfile.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.outputs

import kotlin.String
import kotlin.Suppress

/**
 *
 * @property clusterBootstrapAccountName The account name used for creating cluster. Changing this forces a new resource to be created.
 * @property clusterOperatorAccountName The account name used for operating cluster. Changing this forces a new resource to be created.
 * @property clusterSubnetType The subnet type of the SQL Virtual Machine cluster. Possible values are `MultiSubnet` and `SingleSubnet`. Changing this forces a new resource to be created.
 * @property fqdn The fully qualified name of the domain. Changing this forces a new resource to be created.
 * @property organizationalUnitPath The organizational Unit path in which the nodes and cluster will be present. Changing this forces a new resource to be created.
 * @property sqlServiceAccountName The account name under which SQL service will run on all participating SQL virtual machines in the cluster. Changing this forces a new resource to be created.
 * @property storageAccountPrimaryKey The primary key of the Storage Account.
 * @property storageAccountUrl The SAS URL to the Storage Container of the witness storage account. Changing this forces a new resource to be created.
 */
public data class VirtualMachineGroupWsfcDomainProfile(
    public val clusterBootstrapAccountName: String? = null,
    public val clusterOperatorAccountName: String? = null,
    public val clusterSubnetType: String,
    public val fqdn: String,
    public val organizationalUnitPath: String? = null,
    public val sqlServiceAccountName: String? = null,
    public val storageAccountPrimaryKey: String? = null,
    public val storageAccountUrl: String? = null,
) {
    public companion object {
        public
        fun toKotlin(javaType: com.pulumi.azure.mssql.outputs.VirtualMachineGroupWsfcDomainProfile):
            VirtualMachineGroupWsfcDomainProfile = VirtualMachineGroupWsfcDomainProfile(
            clusterBootstrapAccountName = javaType.clusterBootstrapAccountName().map({ args0 ->
                args0
            }).orElse(null),
            clusterOperatorAccountName = javaType.clusterOperatorAccountName().map({ args0 ->
                args0
            }).orElse(null),
            clusterSubnetType = javaType.clusterSubnetType(),
            fqdn = javaType.fqdn(),
            organizationalUnitPath = javaType.organizationalUnitPath().map({ args0 -> args0 }).orElse(null),
            sqlServiceAccountName = javaType.sqlServiceAccountName().map({ args0 -> args0 }).orElse(null),
            storageAccountPrimaryKey = javaType.storageAccountPrimaryKey().map({ args0 -> args0 }).orElse(null),
            storageAccountUrl = javaType.storageAccountUrl().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy