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

com.pulumi.azurenative.migrate.kotlin.inputs.IISWebServerArgs.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

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

import com.pulumi.azurenative.migrate.inputs.IISWebServerArgs.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 server.
 * @property displayName Gets or sets the display name.
 * @property ipAddresses Gets or sets list of ip addresses.
 * @property machines Gets or sets the list of machines.
 * @property operatingSystemDetails
 * @property rootConfigurationLocation Gets or sets the server root configuration location.
 * @property runAsAccountId Gets or sets the run as account id.
 * @property serverFqdn Gets or sets the server FQDN.
 * @property serverId Gets or sets the web server id.
 * @property serverName Gets or sets the web server name.
 * @property version Gets or sets the server version.
 * @property webApplications Gets or sets the list of web applications.
 */
public data class IISWebServerArgs(
    public val displayName: Output? = null,
    public val ipAddresses: Output>? = null,
    public val machines: Output>? = null,
    public val operatingSystemDetails: Output? = null,
    public val rootConfigurationLocation: Output? = null,
    public val runAsAccountId: Output? = null,
    public val serverFqdn: Output? = null,
    public val serverId: Output? = null,
    public val serverName: Output? = null,
    public val version: Output? = null,
    public val webApplications: Output>? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azurenative.migrate.inputs.IISWebServerArgs =
        com.pulumi.azurenative.migrate.inputs.IISWebServerArgs.builder()
            .displayName(displayName?.applyValue({ args0 -> args0 }))
            .ipAddresses(ipAddresses?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
            .machines(machines?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
            .operatingSystemDetails(
                operatingSystemDetails?.applyValue({ args0 ->
                    args0.let({ args0 ->
                        args0.toJava()
                    })
                }),
            )
            .rootConfigurationLocation(rootConfigurationLocation?.applyValue({ args0 -> args0 }))
            .runAsAccountId(runAsAccountId?.applyValue({ args0 -> args0 }))
            .serverFqdn(serverFqdn?.applyValue({ args0 -> args0 }))
            .serverId(serverId?.applyValue({ args0 -> args0 }))
            .serverName(serverName?.applyValue({ args0 -> args0 }))
            .version(version?.applyValue({ args0 -> args0 }))
            .webApplications(webApplications?.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}

/**
 * Builder for [IISWebServerArgs].
 */
@PulumiTagMarker
public class IISWebServerArgsBuilder internal constructor() {
    private var displayName: Output? = null

    private var ipAddresses: Output>? = null

    private var machines: Output>? = null

    private var operatingSystemDetails: Output? = null

    private var rootConfigurationLocation: Output? = null

    private var runAsAccountId: Output? = null

    private var serverFqdn: Output? = null

    private var serverId: Output? = null

    private var serverName: Output? = null

    private var version: Output? = null

    private var webApplications: Output>? = null

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

    /**
     * @param value Gets or sets list of ip addresses.
     */
    @JvmName("nmjkcjpdmajhswwu")
    public suspend fun ipAddresses(`value`: Output>) {
        this.ipAddresses = value
    }

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

    /**
     * @param values Gets or sets list of ip addresses.
     */
    @JvmName("rgvppxqfcxcijjxi")
    public suspend fun ipAddresses(values: List>) {
        this.ipAddresses = Output.all(values)
    }

    /**
     * @param value Gets or sets the list of machines.
     */
    @JvmName("qsibnekkkcpcgndh")
    public suspend fun machines(`value`: Output>) {
        this.machines = value
    }

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

    /**
     * @param values Gets or sets the list of machines.
     */
    @JvmName("dvpkkpbvkkhntpgc")
    public suspend fun machines(values: List>) {
        this.machines = Output.all(values)
    }

    /**
     * @param value
     */
    @JvmName("hmaigxprwgljhywk")
    public suspend fun operatingSystemDetails(`value`: Output) {
        this.operatingSystemDetails = value
    }

    /**
     * @param value Gets or sets the server root configuration location.
     */
    @JvmName("dvvqydhmcnhgeqob")
    public suspend fun rootConfigurationLocation(`value`: Output) {
        this.rootConfigurationLocation = value
    }

    /**
     * @param value Gets or sets the run as account id.
     */
    @JvmName("onmdcqvrbwuruujo")
    public suspend fun runAsAccountId(`value`: Output) {
        this.runAsAccountId = value
    }

    /**
     * @param value Gets or sets the server FQDN.
     */
    @JvmName("ffgjxnyyogynxftn")
    public suspend fun serverFqdn(`value`: Output) {
        this.serverFqdn = value
    }

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

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

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

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

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

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

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

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

    /**
     * @param values Gets or sets list of ip addresses.
     */
    @JvmName("gjltjlreicjiafln")
    public suspend fun ipAddresses(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.ipAddresses = mapped
    }

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

    /**
     * @param values Gets or sets the list of machines.
     */
    @JvmName("hutqltbbxmojxwvt")
    public suspend fun machines(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.machines = mapped
    }

    /**
     * @param value
     */
    @JvmName("qqefpswrgtljuuwj")
    public suspend fun operatingSystemDetails(`value`: OperatingSystemDetailsArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.operatingSystemDetails = mapped
    }

    /**
     * @param argument
     */
    @JvmName("ivgiylrxufggvkqa")
    public suspend fun operatingSystemDetails(argument: suspend OperatingSystemDetailsArgsBuilder.() -> Unit) {
        val toBeMapped = OperatingSystemDetailsArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.operatingSystemDetails = mapped
    }

    /**
     * @param value Gets or sets the server root configuration location.
     */
    @JvmName("robcgjmunianyplx")
    public suspend fun rootConfigurationLocation(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.rootConfigurationLocation = mapped
    }

    /**
     * @param value Gets or sets the run as account id.
     */
    @JvmName("fpwnuurhktgfnmrt")
    public suspend fun runAsAccountId(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.runAsAccountId = mapped
    }

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

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

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

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

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

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

    internal fun build(): IISWebServerArgs = IISWebServerArgs(
        displayName = displayName,
        ipAddresses = ipAddresses,
        machines = machines,
        operatingSystemDetails = operatingSystemDetails,
        rootConfigurationLocation = rootConfigurationLocation,
        runAsAccountId = runAsAccountId,
        serverFqdn = serverFqdn,
        serverId = serverId,
        serverName = serverName,
        version = version,
        webApplications = webApplications,
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy