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

com.pulumi.azure.lab.kotlin.inputs.LabConnectionSettingArgs.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.lab.kotlin.inputs

import com.pulumi.azure.lab.inputs.LabConnectionSettingArgs.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

/**
 *
 * @property clientRdpAccess The enabled access level for Client Access over RDP. Possible value is `Public`.
 * > **NOTE:** This property is `None` when it isn't specified.
 * @property clientSshAccess The enabled access level for Client Access over SSH. Possible value is `Public`.
 * > **NOTE:** This property is `None` when it isn't specified.
 */
public data class LabConnectionSettingArgs(
    public val clientRdpAccess: Output? = null,
    public val clientSshAccess: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azure.lab.inputs.LabConnectionSettingArgs =
        com.pulumi.azure.lab.inputs.LabConnectionSettingArgs.builder()
            .clientRdpAccess(clientRdpAccess?.applyValue({ args0 -> args0 }))
            .clientSshAccess(clientSshAccess?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [LabConnectionSettingArgs].
 */
@PulumiTagMarker
public class LabConnectionSettingArgsBuilder internal constructor() {
    private var clientRdpAccess: Output? = null

    private var clientSshAccess: Output? = null

    /**
     * @param value The enabled access level for Client Access over RDP. Possible value is `Public`.
     * > **NOTE:** This property is `None` when it isn't specified.
     */
    @JvmName("pnvghuyeowsjtyul")
    public suspend fun clientRdpAccess(`value`: Output) {
        this.clientRdpAccess = value
    }

    /**
     * @param value The enabled access level for Client Access over SSH. Possible value is `Public`.
     * > **NOTE:** This property is `None` when it isn't specified.
     */
    @JvmName("ofwqeknowwkxeqsr")
    public suspend fun clientSshAccess(`value`: Output) {
        this.clientSshAccess = value
    }

    /**
     * @param value The enabled access level for Client Access over RDP. Possible value is `Public`.
     * > **NOTE:** This property is `None` when it isn't specified.
     */
    @JvmName("hpwyxavvjttunqeq")
    public suspend fun clientRdpAccess(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.clientRdpAccess = mapped
    }

    /**
     * @param value The enabled access level for Client Access over SSH. Possible value is `Public`.
     * > **NOTE:** This property is `None` when it isn't specified.
     */
    @JvmName("jdrnthaivfnbirdc")
    public suspend fun clientSshAccess(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.clientSshAccess = mapped
    }

    internal fun build(): LabConnectionSettingArgs = LabConnectionSettingArgs(
        clientRdpAccess = clientRdpAccess,
        clientSshAccess = clientSshAccess,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy