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

com.pulumi.azurenative.migrate.kotlin.inputs.IISWebApplicationArgs.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: 2.82.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azurenative.migrate.kotlin.inputs

import com.pulumi.azurenative.migrate.inputs.IISWebApplicationArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName

/**
 * IISWeb application.
 * @property applicationId Gets or sets the web application id.
 * @property applicationName Gets or sets the web application name.
 * @property applicationScratchPath Gets or sets application scratch path.
 * @property applications Gets or sets the list of applications for the IIS web site.
 * @property bindings Gets or sets the bindings for the application.
 * @property configurations Gets or sets application configuration.
 * @property directories Gets or sets application directories.
 * @property discoveredFrameworks Gets or sets the discovered frameworks of application.
 * @property displayName Gets or sets the display name.
 * @property iisWebServer IISWeb server.
 * @property limits Resource Requirements.
 * @property path Second level entity for virtual directories.
 * @property primaryFramework Framework specific data for a web application.
 * @property requests Resource Requirements.
 * @property virtualApplications Gets or sets the list of application units for the web site.
 * @property webServerId Gets or sets the web server id.
 * @property webServerName Gets or sets the web server name.
 */
public data class IISWebApplicationArgs(
    public val applicationId: Output? = null,
    public val applicationName: Output? = null,
    public val applicationScratchPath: Output? = null,
    public val applications: Output>? = null,
    public val bindings: Output>? = null,
    public val configurations: Output>? = null,
    public val directories: Output>? = null,
    public val discoveredFrameworks: Output>? = null,
    public val displayName: Output? = null,
    public val iisWebServer: Output? = null,
    public val limits: Output? = null,
    public val path: Output? = null,
    public val primaryFramework: Output? = null,
    public val requests: Output? = null,
    public val virtualApplications: Output>? = null,
    public val webServerId: Output? = null,
    public val webServerName: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azurenative.migrate.inputs.IISWebApplicationArgs =
        com.pulumi.azurenative.migrate.inputs.IISWebApplicationArgs.builder()
            .applicationId(applicationId?.applyValue({ args0 -> args0 }))
            .applicationName(applicationName?.applyValue({ args0 -> args0 }))
            .applicationScratchPath(applicationScratchPath?.applyValue({ args0 -> args0 }))
            .applications(
                applications?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0.let({ args0 ->
                            args0.toJava()
                        })
                    })
                }),
            )
            .bindings(
                bindings?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0.let({ args0 ->
                            args0.toJava()
                        })
                    })
                }),
            )
            .configurations(
                configurations?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0.let({ args0 ->
                            args0.toJava()
                        })
                    })
                }),
            )
            .directories(
                directories?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0.let({ args0 ->
                            args0.toJava()
                        })
                    })
                }),
            )
            .discoveredFrameworks(
                discoveredFrameworks?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0.let({ args0 -> args0.toJava() })
                    })
                }),
            )
            .displayName(displayName?.applyValue({ args0 -> args0 }))
            .iisWebServer(iisWebServer?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .limits(limits?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .path(path?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .primaryFramework(primaryFramework?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .requests(requests?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .virtualApplications(
                virtualApplications?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0.let({ args0 -> args0.toJava() })
                    })
                }),
            )
            .webServerId(webServerId?.applyValue({ args0 -> args0 }))
            .webServerName(webServerName?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [IISWebApplicationArgs].
 */
@PulumiTagMarker
public class IISWebApplicationArgsBuilder internal constructor() {
    private var applicationId: Output? = null

    private var applicationName: Output? = null

    private var applicationScratchPath: Output? = null

    private var applications: Output>? = null

    private var bindings: Output>? = null

    private var configurations: Output>? = null

    private var directories: Output>? = null

    private var discoveredFrameworks: Output>? = null

    private var displayName: Output? = null

    private var iisWebServer: Output? = null

    private var limits: Output? = null

    private var path: Output? = null

    private var primaryFramework: Output? = null

    private var requests: Output? = null

    private var virtualApplications: Output>? = null

    private var webServerId: Output? = null

    private var webServerName: Output? = null

    /**
     * @param value Gets or sets the web application id.
     */
    @JvmName("qpexjbebydqbkdbo")
    public suspend fun applicationId(`value`: Output) {
        this.applicationId = value
    }

    /**
     * @param value Gets or sets the web application name.
     */
    @JvmName("jtavtuuyoouylcuv")
    public suspend fun applicationName(`value`: Output) {
        this.applicationName = value
    }

    /**
     * @param value Gets or sets application scratch path.
     */
    @JvmName("jotglupkclecaame")
    public suspend fun applicationScratchPath(`value`: Output) {
        this.applicationScratchPath = value
    }

    /**
     * @param value Gets or sets the list of applications for the IIS web site.
     */
    @JvmName("kuepncohdoxbgwbx")
    public suspend fun applications(`value`: Output>) {
        this.applications = value
    }

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

    /**
     * @param values Gets or sets the list of applications for the IIS web site.
     */
    @JvmName("qvqxpgntlhsppclr")
    public suspend fun applications(values: List>) {
        this.applications = Output.all(values)
    }

    /**
     * @param value Gets or sets the bindings for the application.
     */
    @JvmName("aetlftolrwqdeasx")
    public suspend fun bindings(`value`: Output>) {
        this.bindings = value
    }

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

    /**
     * @param values Gets or sets the bindings for the application.
     */
    @JvmName("jvakeosgiopcbybr")
    public suspend fun bindings(values: List>) {
        this.bindings = Output.all(values)
    }

    /**
     * @param value Gets or sets application configuration.
     */
    @JvmName("unmewvlwmqoisase")
    public suspend fun configurations(`value`: Output>) {
        this.configurations = value
    }

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

    /**
     * @param values Gets or sets application configuration.
     */
    @JvmName("mhgeetjojgnfopms")
    public suspend fun configurations(values: List>) {
        this.configurations = Output.all(values)
    }

    /**
     * @param value Gets or sets application directories.
     */
    @JvmName("yptrhlarcalpoxig")
    public suspend fun directories(`value`: Output>) {
        this.directories = value
    }

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

    /**
     * @param values Gets or sets application directories.
     */
    @JvmName("pcbvtfregvxdbhyd")
    public suspend fun directories(values: List>) {
        this.directories = Output.all(values)
    }

    /**
     * @param value Gets or sets the discovered frameworks of application.
     */
    @JvmName("nkrfgebnctxcapck")
    public suspend fun discoveredFrameworks(`value`: Output>) {
        this.discoveredFrameworks = value
    }

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

    /**
     * @param values Gets or sets the discovered frameworks of application.
     */
    @JvmName("lrvgyieesgkubxoq")
    public suspend fun discoveredFrameworks(values: List>) {
        this.discoveredFrameworks = Output.all(values)
    }

    /**
     * @param value Gets or sets the display name.
     */
    @JvmName("qwoyanpvfrtkiydj")
    public suspend fun displayName(`value`: Output) {
        this.displayName = value
    }

    /**
     * @param value IISWeb server.
     */
    @JvmName("cwgpkhaiesjbmfdc")
    public suspend fun iisWebServer(`value`: Output) {
        this.iisWebServer = value
    }

    /**
     * @param value Resource Requirements.
     */
    @JvmName("chkkxobxrktmdhrb")
    public suspend fun limits(`value`: Output) {
        this.limits = value
    }

    /**
     * @param value Second level entity for virtual directories.
     */
    @JvmName("qfinyfviymknxhwh")
    public suspend fun path(`value`: Output) {
        this.path = value
    }

    /**
     * @param value Framework specific data for a web application.
     */
    @JvmName("dmmqrjcyxrcbkyqk")
    public suspend fun primaryFramework(`value`: Output) {
        this.primaryFramework = value
    }

    /**
     * @param value Resource Requirements.
     */
    @JvmName("rmavulluyaiwamhj")
    public suspend fun requests(`value`: Output) {
        this.requests = value
    }

    /**
     * @param value Gets or sets the list of application units for the web site.
     */
    @JvmName("epnhekhvwqbbomqc")
    public suspend fun virtualApplications(`value`: Output>) {
        this.virtualApplications = value
    }

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

    /**
     * @param values Gets or sets the list of application units for the web site.
     */
    @JvmName("lcdvnlvxkefneoag")
    public suspend fun virtualApplications(values: List>) {
        this.virtualApplications = Output.all(values)
    }

    /**
     * @param value Gets or sets the web server id.
     */
    @JvmName("iobbponokpqtmsdu")
    public suspend fun webServerId(`value`: Output) {
        this.webServerId = value
    }

    /**
     * @param value Gets or sets the web server name.
     */
    @JvmName("nicmfodbxgxfqdyd")
    public suspend fun webServerName(`value`: Output) {
        this.webServerName = value
    }

    /**
     * @param value Gets or sets the web application id.
     */
    @JvmName("wfrpdtfjahdglhwq")
    public suspend fun applicationId(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.applicationId = mapped
    }

    /**
     * @param value Gets or sets the web application name.
     */
    @JvmName("lvhtseubvreaxutk")
    public suspend fun applicationName(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.applicationName = mapped
    }

    /**
     * @param value Gets or sets application scratch path.
     */
    @JvmName("xmxqjrgnsrdkcafo")
    public suspend fun applicationScratchPath(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.applicationScratchPath = mapped
    }

    /**
     * @param value Gets or sets the list of applications for the IIS web site.
     */
    @JvmName("tahcgjtdryslbkrx")
    public suspend fun applications(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.applications = mapped
    }

    /**
     * @param argument Gets or sets the list of applications for the IIS web site.
     */
    @JvmName("fqysiaarvddyjcga")
    public suspend fun applications(argument: List Unit>) {
        val toBeMapped = argument.toList().map {
            IISApplicationDetailsArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.applications = mapped
    }

    /**
     * @param argument Gets or sets the list of applications for the IIS web site.
     */
    @JvmName("jbfsxetbcersxeqe")
    public suspend fun applications(vararg argument: suspend IISApplicationDetailsArgsBuilder.() -> Unit) {
        val toBeMapped = argument.toList().map {
            IISApplicationDetailsArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.applications = mapped
    }

    /**
     * @param argument Gets or sets the list of applications for the IIS web site.
     */
    @JvmName("ebgkssrffnaetjwc")
    public suspend fun applications(argument: suspend IISApplicationDetailsArgsBuilder.() -> Unit) {
        val toBeMapped = listOf(IISApplicationDetailsArgsBuilder().applySuspend { argument() }.build())
        val mapped = of(toBeMapped)
        this.applications = mapped
    }

    /**
     * @param values Gets or sets the list of applications for the IIS web site.
     */
    @JvmName("rwdopumdkbqyqvbm")
    public suspend fun applications(vararg values: IISApplicationDetailsArgs) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.applications = mapped
    }

    /**
     * @param value Gets or sets the bindings for the application.
     */
    @JvmName("mukikorwofmvoylx")
    public suspend fun bindings(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.bindings = mapped
    }

    /**
     * @param argument Gets or sets the bindings for the application.
     */
    @JvmName("uyacvrsyvwknijrp")
    public suspend fun bindings(argument: List Unit>) {
        val toBeMapped = argument.toList().map { BindingArgsBuilder().applySuspend { it() }.build() }
        val mapped = of(toBeMapped)
        this.bindings = mapped
    }

    /**
     * @param argument Gets or sets the bindings for the application.
     */
    @JvmName("fxwfamxfhhangnow")
    public suspend fun bindings(vararg argument: suspend BindingArgsBuilder.() -> Unit) {
        val toBeMapped = argument.toList().map { BindingArgsBuilder().applySuspend { it() }.build() }
        val mapped = of(toBeMapped)
        this.bindings = mapped
    }

    /**
     * @param argument Gets or sets the bindings for the application.
     */
    @JvmName("xskogcaqjlofwiha")
    public suspend fun bindings(argument: suspend BindingArgsBuilder.() -> Unit) {
        val toBeMapped = listOf(BindingArgsBuilder().applySuspend { argument() }.build())
        val mapped = of(toBeMapped)
        this.bindings = mapped
    }

    /**
     * @param values Gets or sets the bindings for the application.
     */
    @JvmName("kywrhkiwobowgdef")
    public suspend fun bindings(vararg values: BindingArgs) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.bindings = mapped
    }

    /**
     * @param value Gets or sets application configuration.
     */
    @JvmName("kjisnkuwgkfqbqoe")
    public suspend fun configurations(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.configurations = mapped
    }

    /**
     * @param argument Gets or sets application configuration.
     */
    @JvmName("brrejjkuplobfvkf")
    public suspend fun configurations(argument: List Unit>) {
        val toBeMapped = argument.toList().map {
            WebApplicationConfigurationArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.configurations = mapped
    }

    /**
     * @param argument Gets or sets application configuration.
     */
    @JvmName("uewwqdoxnlnqpmbw")
    public suspend fun configurations(vararg argument: suspend WebApplicationConfigurationArgsBuilder.() -> Unit) {
        val toBeMapped = argument.toList().map {
            WebApplicationConfigurationArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.configurations = mapped
    }

    /**
     * @param argument Gets or sets application configuration.
     */
    @JvmName("cnmjroxnqtytgfsk")
    public suspend fun configurations(argument: suspend WebApplicationConfigurationArgsBuilder.() -> Unit) {
        val toBeMapped = listOf(
            WebApplicationConfigurationArgsBuilder().applySuspend {
                argument()
            }.build(),
        )
        val mapped = of(toBeMapped)
        this.configurations = mapped
    }

    /**
     * @param values Gets or sets application configuration.
     */
    @JvmName("twfpcteihpvlkgqi")
    public suspend fun configurations(vararg values: WebApplicationConfigurationArgs) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.configurations = mapped
    }

    /**
     * @param value Gets or sets application directories.
     */
    @JvmName("wsmnodplxfskepnu")
    public suspend fun directories(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.directories = mapped
    }

    /**
     * @param argument Gets or sets application directories.
     */
    @JvmName("eogkbyqscbegypqm")
    public suspend fun directories(argument: List Unit>) {
        val toBeMapped = argument.toList().map {
            WebApplicationDirectoryArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.directories = mapped
    }

    /**
     * @param argument Gets or sets application directories.
     */
    @JvmName("tieopcwmdkyofhcj")
    public suspend fun directories(vararg argument: suspend WebApplicationDirectoryArgsBuilder.() -> Unit) {
        val toBeMapped = argument.toList().map {
            WebApplicationDirectoryArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.directories = mapped
    }

    /**
     * @param argument Gets or sets application directories.
     */
    @JvmName("leoqlrpkwseifpmr")
    public suspend fun directories(argument: suspend WebApplicationDirectoryArgsBuilder.() -> Unit) {
        val toBeMapped = listOf(
            WebApplicationDirectoryArgsBuilder().applySuspend {
                argument()
            }.build(),
        )
        val mapped = of(toBeMapped)
        this.directories = mapped
    }

    /**
     * @param values Gets or sets application directories.
     */
    @JvmName("kekukpfyxqefluhn")
    public suspend fun directories(vararg values: WebApplicationDirectoryArgs) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.directories = mapped
    }

    /**
     * @param value Gets or sets the discovered frameworks of application.
     */
    @JvmName("ehvbplvhxqfvtnkr")
    public suspend fun discoveredFrameworks(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.discoveredFrameworks = mapped
    }

    /**
     * @param argument Gets or sets the discovered frameworks of application.
     */
    @JvmName("iygavtgpapxjuwct")
    public suspend fun discoveredFrameworks(argument: List Unit>) {
        val toBeMapped = argument.toList().map {
            WebApplicationFrameworkArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.discoveredFrameworks = mapped
    }

    /**
     * @param argument Gets or sets the discovered frameworks of application.
     */
    @JvmName("uyxodmakrsdrqmdu")
    public suspend fun discoveredFrameworks(vararg argument: suspend WebApplicationFrameworkArgsBuilder.() -> Unit) {
        val toBeMapped = argument.toList().map {
            WebApplicationFrameworkArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.discoveredFrameworks = mapped
    }

    /**
     * @param argument Gets or sets the discovered frameworks of application.
     */
    @JvmName("ossswllbvvoqgbri")
    public suspend fun discoveredFrameworks(argument: suspend WebApplicationFrameworkArgsBuilder.() -> Unit) {
        val toBeMapped = listOf(
            WebApplicationFrameworkArgsBuilder().applySuspend {
                argument()
            }.build(),
        )
        val mapped = of(toBeMapped)
        this.discoveredFrameworks = mapped
    }

    /**
     * @param values Gets or sets the discovered frameworks of application.
     */
    @JvmName("dahorjxketoliudm")
    public suspend fun discoveredFrameworks(vararg values: WebApplicationFrameworkArgs) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.discoveredFrameworks = mapped
    }

    /**
     * @param value Gets or sets the display name.
     */
    @JvmName("fjxlfstovwunttnh")
    public suspend fun displayName(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.displayName = mapped
    }

    /**
     * @param value IISWeb server.
     */
    @JvmName("qjfuknahfeulhmxo")
    public suspend fun iisWebServer(`value`: IISWebServerArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.iisWebServer = mapped
    }

    /**
     * @param argument IISWeb server.
     */
    @JvmName("myispeuiulfdquxx")
    public suspend fun iisWebServer(argument: suspend IISWebServerArgsBuilder.() -> Unit) {
        val toBeMapped = IISWebServerArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.iisWebServer = mapped
    }

    /**
     * @param value Resource Requirements.
     */
    @JvmName("unvdpmskiwhdpmyj")
    public suspend fun limits(`value`: ResourceRequirementsArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.limits = mapped
    }

    /**
     * @param argument Resource Requirements.
     */
    @JvmName("antktfcghdeytqmb")
    public suspend fun limits(argument: suspend ResourceRequirementsArgsBuilder.() -> Unit) {
        val toBeMapped = ResourceRequirementsArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.limits = mapped
    }

    /**
     * @param value Second level entity for virtual directories.
     */
    @JvmName("anksgfsayqluxvqh")
    public suspend fun path(`value`: DirectoryPathArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.path = mapped
    }

    /**
     * @param argument Second level entity for virtual directories.
     */
    @JvmName("jfmvfuadhlfosflq")
    public suspend fun path(argument: suspend DirectoryPathArgsBuilder.() -> Unit) {
        val toBeMapped = DirectoryPathArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.path = mapped
    }

    /**
     * @param value Framework specific data for a web application.
     */
    @JvmName("nnawjauungtofmdk")
    public suspend fun primaryFramework(`value`: WebApplicationFrameworkArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.primaryFramework = mapped
    }

    /**
     * @param argument Framework specific data for a web application.
     */
    @JvmName("brkxrmlbqnsiyebg")
    public suspend fun primaryFramework(argument: suspend WebApplicationFrameworkArgsBuilder.() -> Unit) {
        val toBeMapped = WebApplicationFrameworkArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.primaryFramework = mapped
    }

    /**
     * @param value Resource Requirements.
     */
    @JvmName("poqtcxajgxmmatvg")
    public suspend fun requests(`value`: ResourceRequirementsArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.requests = mapped
    }

    /**
     * @param argument Resource Requirements.
     */
    @JvmName("frtxiyoowoqbbeyf")
    public suspend fun requests(argument: suspend ResourceRequirementsArgsBuilder.() -> Unit) {
        val toBeMapped = ResourceRequirementsArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.requests = mapped
    }

    /**
     * @param value Gets or sets the list of application units for the web site.
     */
    @JvmName("trbkqwsvyfqacwnr")
    public suspend fun virtualApplications(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.virtualApplications = mapped
    }

    /**
     * @param argument Gets or sets the list of application units for the web site.
     */
    @JvmName("lkmbjtgytakfceug")
    public suspend fun virtualApplications(argument: List Unit>) {
        val toBeMapped = argument.toList().map {
            IISVirtualApplicationDetailsArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.virtualApplications = mapped
    }

    /**
     * @param argument Gets or sets the list of application units for the web site.
     */
    @JvmName("dujpyblsinocjbfp")
    public suspend fun virtualApplications(vararg argument: suspend IISVirtualApplicationDetailsArgsBuilder.() -> Unit) {
        val toBeMapped = argument.toList().map {
            IISVirtualApplicationDetailsArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.virtualApplications = mapped
    }

    /**
     * @param argument Gets or sets the list of application units for the web site.
     */
    @JvmName("hilneeetvnvoercc")
    public suspend fun virtualApplications(argument: suspend IISVirtualApplicationDetailsArgsBuilder.() -> Unit) {
        val toBeMapped = listOf(
            IISVirtualApplicationDetailsArgsBuilder().applySuspend {
                argument()
            }.build(),
        )
        val mapped = of(toBeMapped)
        this.virtualApplications = mapped
    }

    /**
     * @param values Gets or sets the list of application units for the web site.
     */
    @JvmName("ebdbqbwbwpesfmws")
    public suspend fun virtualApplications(vararg values: IISVirtualApplicationDetailsArgs) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.virtualApplications = mapped
    }

    /**
     * @param value Gets or sets the web server id.
     */
    @JvmName("rrwqyuypbaphbwrf")
    public suspend fun webServerId(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.webServerId = mapped
    }

    /**
     * @param value Gets or sets the web server name.
     */
    @JvmName("leumlysnhwoxdwfr")
    public suspend fun webServerName(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.webServerName = mapped
    }

    internal fun build(): IISWebApplicationArgs = IISWebApplicationArgs(
        applicationId = applicationId,
        applicationName = applicationName,
        applicationScratchPath = applicationScratchPath,
        applications = applications,
        bindings = bindings,
        configurations = configurations,
        directories = directories,
        discoveredFrameworks = discoveredFrameworks,
        displayName = displayName,
        iisWebServer = iisWebServer,
        limits = limits,
        path = path,
        primaryFramework = primaryFramework,
        requests = requests,
        virtualApplications = virtualApplications,
        webServerId = webServerId,
        webServerName = webServerName,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy