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

com.pulumi.azure.domainservices.kotlin.inputs.ServiceSecurityArgs.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.21.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.domainservices.kotlin.inputs

import com.pulumi.azure.domainservices.inputs.ServiceSecurityArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Boolean
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property kerberosArmoringEnabled Whether to enable Kerberos Armoring. Defaults to `false`.
 * @property kerberosRc4EncryptionEnabled Whether to enable Kerberos RC4 Encryption. Defaults to `false`.
 * @property ntlmV1Enabled Whether to enable legacy NTLM v1 support. Defaults to `false`.
 * @property syncKerberosPasswords Whether to synchronize Kerberos password hashes to the managed domain. Defaults to `false`.
 * @property syncNtlmPasswords Whether to synchronize NTLM password hashes to the managed domain. Defaults to `false`.
 * @property syncOnPremPasswords Whether to synchronize on-premises password hashes to the managed domain. Defaults to `false`.
 * @property tlsV1Enabled Whether to enable legacy TLS v1 support. Defaults to `false`.
 */
public data class ServiceSecurityArgs(
    public val kerberosArmoringEnabled: Output? = null,
    public val kerberosRc4EncryptionEnabled: Output? = null,
    public val ntlmV1Enabled: Output? = null,
    public val syncKerberosPasswords: Output? = null,
    public val syncNtlmPasswords: Output? = null,
    public val syncOnPremPasswords: Output? = null,
    public val tlsV1Enabled: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azure.domainservices.inputs.ServiceSecurityArgs =
        com.pulumi.azure.domainservices.inputs.ServiceSecurityArgs.builder()
            .kerberosArmoringEnabled(kerberosArmoringEnabled?.applyValue({ args0 -> args0 }))
            .kerberosRc4EncryptionEnabled(kerberosRc4EncryptionEnabled?.applyValue({ args0 -> args0 }))
            .ntlmV1Enabled(ntlmV1Enabled?.applyValue({ args0 -> args0 }))
            .syncKerberosPasswords(syncKerberosPasswords?.applyValue({ args0 -> args0 }))
            .syncNtlmPasswords(syncNtlmPasswords?.applyValue({ args0 -> args0 }))
            .syncOnPremPasswords(syncOnPremPasswords?.applyValue({ args0 -> args0 }))
            .tlsV1Enabled(tlsV1Enabled?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [ServiceSecurityArgs].
 */
@PulumiTagMarker
public class ServiceSecurityArgsBuilder internal constructor() {
    private var kerberosArmoringEnabled: Output? = null

    private var kerberosRc4EncryptionEnabled: Output? = null

    private var ntlmV1Enabled: Output? = null

    private var syncKerberosPasswords: Output? = null

    private var syncNtlmPasswords: Output? = null

    private var syncOnPremPasswords: Output? = null

    private var tlsV1Enabled: Output? = null

    /**
     * @param value Whether to enable Kerberos Armoring. Defaults to `false`.
     */
    @JvmName("lynnpnvixihbjknl")
    public suspend fun kerberosArmoringEnabled(`value`: Output) {
        this.kerberosArmoringEnabled = value
    }

    /**
     * @param value Whether to enable Kerberos RC4 Encryption. Defaults to `false`.
     */
    @JvmName("tjlsvfrkwubjpikc")
    public suspend fun kerberosRc4EncryptionEnabled(`value`: Output) {
        this.kerberosRc4EncryptionEnabled = value
    }

    /**
     * @param value Whether to enable legacy NTLM v1 support. Defaults to `false`.
     */
    @JvmName("aphusapgxogdicys")
    public suspend fun ntlmV1Enabled(`value`: Output) {
        this.ntlmV1Enabled = value
    }

    /**
     * @param value Whether to synchronize Kerberos password hashes to the managed domain. Defaults to `false`.
     */
    @JvmName("qcqedhmqfrmbopxs")
    public suspend fun syncKerberosPasswords(`value`: Output) {
        this.syncKerberosPasswords = value
    }

    /**
     * @param value Whether to synchronize NTLM password hashes to the managed domain. Defaults to `false`.
     */
    @JvmName("jysrosalasjmwsxq")
    public suspend fun syncNtlmPasswords(`value`: Output) {
        this.syncNtlmPasswords = value
    }

    /**
     * @param value Whether to synchronize on-premises password hashes to the managed domain. Defaults to `false`.
     */
    @JvmName("aidyigwjtrubegsr")
    public suspend fun syncOnPremPasswords(`value`: Output) {
        this.syncOnPremPasswords = value
    }

    /**
     * @param value Whether to enable legacy TLS v1 support. Defaults to `false`.
     */
    @JvmName("yhbbijygsadvyntk")
    public suspend fun tlsV1Enabled(`value`: Output) {
        this.tlsV1Enabled = value
    }

    /**
     * @param value Whether to enable Kerberos Armoring. Defaults to `false`.
     */
    @JvmName("hqscbthtnmqeumob")
    public suspend fun kerberosArmoringEnabled(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.kerberosArmoringEnabled = mapped
    }

    /**
     * @param value Whether to enable Kerberos RC4 Encryption. Defaults to `false`.
     */
    @JvmName("fwrjvdickyssbgyw")
    public suspend fun kerberosRc4EncryptionEnabled(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.kerberosRc4EncryptionEnabled = mapped
    }

    /**
     * @param value Whether to enable legacy NTLM v1 support. Defaults to `false`.
     */
    @JvmName("joxwrncaegryhfvb")
    public suspend fun ntlmV1Enabled(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.ntlmV1Enabled = mapped
    }

    /**
     * @param value Whether to synchronize Kerberos password hashes to the managed domain. Defaults to `false`.
     */
    @JvmName("bkmswymdwvpnovsy")
    public suspend fun syncKerberosPasswords(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.syncKerberosPasswords = mapped
    }

    /**
     * @param value Whether to synchronize NTLM password hashes to the managed domain. Defaults to `false`.
     */
    @JvmName("vyvxquneguskwlfc")
    public suspend fun syncNtlmPasswords(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.syncNtlmPasswords = mapped
    }

    /**
     * @param value Whether to synchronize on-premises password hashes to the managed domain. Defaults to `false`.
     */
    @JvmName("ebuekcfudclmflut")
    public suspend fun syncOnPremPasswords(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.syncOnPremPasswords = mapped
    }

    /**
     * @param value Whether to enable legacy TLS v1 support. Defaults to `false`.
     */
    @JvmName("xhhdwntlywkendul")
    public suspend fun tlsV1Enabled(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.tlsV1Enabled = mapped
    }

    internal fun build(): ServiceSecurityArgs = ServiceSecurityArgs(
        kerberosArmoringEnabled = kerberosArmoringEnabled,
        kerberosRc4EncryptionEnabled = kerberosRc4EncryptionEnabled,
        ntlmV1Enabled = ntlmV1Enabled,
        syncKerberosPasswords = syncKerberosPasswords,
        syncNtlmPasswords = syncNtlmPasswords,
        syncOnPremPasswords = syncOnPremPasswords,
        tlsV1Enabled = tlsV1Enabled,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy