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

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

import com.pulumi.azure.lab.inputs.ServicePlanDefaultConnectionArgs.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 values are `Private` and `Public`.
 * > **NOTE:** This property is `None` when it isn't specified.
 * @property clientSshAccess The enabled access level for Client Access over SSH. Possible values are `Private` and `Public`.
 * > **NOTE:** This property is `None` when it isn't specified.
 * @property webRdpAccess The enabled access level for Web Access over RDP. Possible values are `Private` and `Public`.
 * > **NOTE:** This property is `None` when it isn't specified.
 * @property webSshAccess The enabled access level for Web Access over SSH. Possible values are `Private` and `Public`.
 * > **NOTE:** This property is `None` when it isn't specified.
 */
public data class ServicePlanDefaultConnectionArgs(
    public val clientRdpAccess: Output? = null,
    public val clientSshAccess: Output? = null,
    public val webRdpAccess: Output? = null,
    public val webSshAccess: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azure.lab.inputs.ServicePlanDefaultConnectionArgs =
        com.pulumi.azure.lab.inputs.ServicePlanDefaultConnectionArgs.builder()
            .clientRdpAccess(clientRdpAccess?.applyValue({ args0 -> args0 }))
            .clientSshAccess(clientSshAccess?.applyValue({ args0 -> args0 }))
            .webRdpAccess(webRdpAccess?.applyValue({ args0 -> args0 }))
            .webSshAccess(webSshAccess?.applyValue({ args0 -> args0 })).build()
}

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

    private var clientSshAccess: Output? = null

    private var webRdpAccess: Output? = null

    private var webSshAccess: Output? = null

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

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

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

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

    /**
     * @param value The enabled access level for Client Access over RDP. Possible values are `Private` and `Public`.
     * > **NOTE:** This property is `None` when it isn't specified.
     */
    @JvmName("ickdyhehxsqkcatf")
    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 values are `Private` and `Public`.
     * > **NOTE:** This property is `None` when it isn't specified.
     */
    @JvmName("lejpuejbetqhcsbx")
    public suspend fun clientSshAccess(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.clientSshAccess = mapped
    }

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

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

    internal fun build(): ServicePlanDefaultConnectionArgs = ServicePlanDefaultConnectionArgs(
        clientRdpAccess = clientRdpAccess,
        clientSshAccess = clientSshAccess,
        webRdpAccess = webRdpAccess,
        webSshAccess = webSshAccess,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy