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