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

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

package com.pulumi.azure.storage.kotlin.inputs

import com.pulumi.azure.storage.inputs.AccountSharePropertiesSmbArgs.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.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName

/**
 *
 * @property authenticationTypes A set of SMB authentication methods. Possible values are `NTLMv2`, and `Kerberos`.
 * @property channelEncryptionTypes A set of SMB channel encryption. Possible values are `AES-128-CCM`, `AES-128-GCM`, and `AES-256-GCM`.
 * @property kerberosTicketEncryptionTypes A set of Kerberos ticket encryption. Possible values are `RC4-HMAC`, and `AES-256`.
 * @property multichannelEnabled Indicates whether multichannel is enabled. Defaults to `false`. This is only supported on Premium storage accounts.
 * @property versions A set of SMB protocol versions. Possible values are `SMB2.1`, `SMB3.0`, and `SMB3.1.1`.
 */
public data class AccountSharePropertiesSmbArgs(
    public val authenticationTypes: Output>? = null,
    public val channelEncryptionTypes: Output>? = null,
    public val kerberosTicketEncryptionTypes: Output>? = null,
    public val multichannelEnabled: Output? = null,
    public val versions: Output>? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azure.storage.inputs.AccountSharePropertiesSmbArgs =
        com.pulumi.azure.storage.inputs.AccountSharePropertiesSmbArgs.builder()
            .authenticationTypes(authenticationTypes?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
            .channelEncryptionTypes(
                channelEncryptionTypes?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0
                    })
                }),
            )
            .kerberosTicketEncryptionTypes(
                kerberosTicketEncryptionTypes?.applyValue({ args0 ->
                    args0.map({ args0 -> args0 })
                }),
            )
            .multichannelEnabled(multichannelEnabled?.applyValue({ args0 -> args0 }))
            .versions(versions?.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}

/**
 * Builder for [AccountSharePropertiesSmbArgs].
 */
@PulumiTagMarker
public class AccountSharePropertiesSmbArgsBuilder internal constructor() {
    private var authenticationTypes: Output>? = null

    private var channelEncryptionTypes: Output>? = null

    private var kerberosTicketEncryptionTypes: Output>? = null

    private var multichannelEnabled: Output? = null

    private var versions: Output>? = null

    /**
     * @param value A set of SMB authentication methods. Possible values are `NTLMv2`, and `Kerberos`.
     */
    @JvmName("giqyhqpjyyxfvyph")
    public suspend fun authenticationTypes(`value`: Output>) {
        this.authenticationTypes = value
    }

    @JvmName("ohjfuhouiwnegish")
    public suspend fun authenticationTypes(vararg values: Output) {
        this.authenticationTypes = Output.all(values.asList())
    }

    /**
     * @param values A set of SMB authentication methods. Possible values are `NTLMv2`, and `Kerberos`.
     */
    @JvmName("oexxknbkajolhtlk")
    public suspend fun authenticationTypes(values: List>) {
        this.authenticationTypes = Output.all(values)
    }

    /**
     * @param value A set of SMB channel encryption. Possible values are `AES-128-CCM`, `AES-128-GCM`, and `AES-256-GCM`.
     */
    @JvmName("hxqkwhhlsukuewwa")
    public suspend fun channelEncryptionTypes(`value`: Output>) {
        this.channelEncryptionTypes = value
    }

    @JvmName("vwaatluqnuxlogdt")
    public suspend fun channelEncryptionTypes(vararg values: Output) {
        this.channelEncryptionTypes = Output.all(values.asList())
    }

    /**
     * @param values A set of SMB channel encryption. Possible values are `AES-128-CCM`, `AES-128-GCM`, and `AES-256-GCM`.
     */
    @JvmName("kcnqykwudfwyypwv")
    public suspend fun channelEncryptionTypes(values: List>) {
        this.channelEncryptionTypes = Output.all(values)
    }

    /**
     * @param value A set of Kerberos ticket encryption. Possible values are `RC4-HMAC`, and `AES-256`.
     */
    @JvmName("cfguggnbvempjlca")
    public suspend fun kerberosTicketEncryptionTypes(`value`: Output>) {
        this.kerberosTicketEncryptionTypes = value
    }

    @JvmName("nbrosuskbppvfmqj")
    public suspend fun kerberosTicketEncryptionTypes(vararg values: Output) {
        this.kerberosTicketEncryptionTypes = Output.all(values.asList())
    }

    /**
     * @param values A set of Kerberos ticket encryption. Possible values are `RC4-HMAC`, and `AES-256`.
     */
    @JvmName("xhjbfjsopaneqldd")
    public suspend fun kerberosTicketEncryptionTypes(values: List>) {
        this.kerberosTicketEncryptionTypes = Output.all(values)
    }

    /**
     * @param value Indicates whether multichannel is enabled. Defaults to `false`. This is only supported on Premium storage accounts.
     */
    @JvmName("jlbnaghcxdsuamfe")
    public suspend fun multichannelEnabled(`value`: Output) {
        this.multichannelEnabled = value
    }

    /**
     * @param value A set of SMB protocol versions. Possible values are `SMB2.1`, `SMB3.0`, and `SMB3.1.1`.
     */
    @JvmName("edjjfugxyqjilajf")
    public suspend fun versions(`value`: Output>) {
        this.versions = value
    }

    @JvmName("guyhewrkkkhytnhb")
    public suspend fun versions(vararg values: Output) {
        this.versions = Output.all(values.asList())
    }

    /**
     * @param values A set of SMB protocol versions. Possible values are `SMB2.1`, `SMB3.0`, and `SMB3.1.1`.
     */
    @JvmName("becnprjfeesmbuts")
    public suspend fun versions(values: List>) {
        this.versions = Output.all(values)
    }

    /**
     * @param value A set of SMB authentication methods. Possible values are `NTLMv2`, and `Kerberos`.
     */
    @JvmName("pfowcvfnyihlmgkd")
    public suspend fun authenticationTypes(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.authenticationTypes = mapped
    }

    /**
     * @param values A set of SMB authentication methods. Possible values are `NTLMv2`, and `Kerberos`.
     */
    @JvmName("slwwmkmnovceulfu")
    public suspend fun authenticationTypes(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.authenticationTypes = mapped
    }

    /**
     * @param value A set of SMB channel encryption. Possible values are `AES-128-CCM`, `AES-128-GCM`, and `AES-256-GCM`.
     */
    @JvmName("eorwvjlupnnqmaci")
    public suspend fun channelEncryptionTypes(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.channelEncryptionTypes = mapped
    }

    /**
     * @param values A set of SMB channel encryption. Possible values are `AES-128-CCM`, `AES-128-GCM`, and `AES-256-GCM`.
     */
    @JvmName("uokgusaefrknhjkc")
    public suspend fun channelEncryptionTypes(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.channelEncryptionTypes = mapped
    }

    /**
     * @param value A set of Kerberos ticket encryption. Possible values are `RC4-HMAC`, and `AES-256`.
     */
    @JvmName("uljowxefuagmkfft")
    public suspend fun kerberosTicketEncryptionTypes(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.kerberosTicketEncryptionTypes = mapped
    }

    /**
     * @param values A set of Kerberos ticket encryption. Possible values are `RC4-HMAC`, and `AES-256`.
     */
    @JvmName("qoomllsymadmsqin")
    public suspend fun kerberosTicketEncryptionTypes(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.kerberosTicketEncryptionTypes = mapped
    }

    /**
     * @param value Indicates whether multichannel is enabled. Defaults to `false`. This is only supported on Premium storage accounts.
     */
    @JvmName("innxradrxkaelfmr")
    public suspend fun multichannelEnabled(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.multichannelEnabled = mapped
    }

    /**
     * @param value A set of SMB protocol versions. Possible values are `SMB2.1`, `SMB3.0`, and `SMB3.1.1`.
     */
    @JvmName("kflsvwexkcbdxwsy")
    public suspend fun versions(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.versions = mapped
    }

    /**
     * @param values A set of SMB protocol versions. Possible values are `SMB2.1`, `SMB3.0`, and `SMB3.1.1`.
     */
    @JvmName("uyrjfwlmqliyirmu")
    public suspend fun versions(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.versions = mapped
    }

    internal fun build(): AccountSharePropertiesSmbArgs = AccountSharePropertiesSmbArgs(
        authenticationTypes = authenticationTypes,
        channelEncryptionTypes = channelEncryptionTypes,
        kerberosTicketEncryptionTypes = kerberosTicketEncryptionTypes,
        multichannelEnabled = multichannelEnabled,
        versions = versions,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy