com.pulumi.azure.appservice.kotlin.inputs.WindowsWebAppSiteConfigVirtualApplicationArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azure.appservice.kotlin.inputs
import com.pulumi.azure.appservice.inputs.WindowsWebAppSiteConfigVirtualApplicationArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property physicalPath The physical path for the Virtual Application.
* @property preload Should pre-loading be enabled.
* @property virtualDirectories One or more `virtual_directory` blocks as defined below.
* @property virtualPath The Virtual Path for the Virtual Application.
*/
public data class WindowsWebAppSiteConfigVirtualApplicationArgs(
public val physicalPath: Output,
public val preload: Output,
public val virtualDirectories: Output>? = null,
public val virtualPath: Output,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.azure.appservice.inputs.WindowsWebAppSiteConfigVirtualApplicationArgs =
com.pulumi.azure.appservice.inputs.WindowsWebAppSiteConfigVirtualApplicationArgs.builder()
.physicalPath(physicalPath.applyValue({ args0 -> args0 }))
.preload(preload.applyValue({ args0 -> args0 }))
.virtualDirectories(
virtualDirectories?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 -> args0.toJava() })
})
}),
)
.virtualPath(virtualPath.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [WindowsWebAppSiteConfigVirtualApplicationArgs].
*/
@PulumiTagMarker
public class WindowsWebAppSiteConfigVirtualApplicationArgsBuilder internal constructor() {
private var physicalPath: Output? = null
private var preload: Output? = null
private var virtualDirectories:
Output>? = null
private var virtualPath: Output? = null
/**
* @param value The physical path for the Virtual Application.
*/
@JvmName("iamtmsxibeoykvbu")
public suspend fun physicalPath(`value`: Output) {
this.physicalPath = value
}
/**
* @param value Should pre-loading be enabled.
*/
@JvmName("yxvdebjefdxbgsvb")
public suspend fun preload(`value`: Output) {
this.preload = value
}
/**
* @param value One or more `virtual_directory` blocks as defined below.
*/
@JvmName("jfglfomdfuewgmxw")
public suspend fun virtualDirectories(`value`: Output>) {
this.virtualDirectories = value
}
@JvmName("futdvqdpwdgmyqdx")
public suspend fun virtualDirectories(vararg values: Output) {
this.virtualDirectories = Output.all(values.asList())
}
/**
* @param values One or more `virtual_directory` blocks as defined below.
*/
@JvmName("awldgankxdhynkxb")
public suspend fun virtualDirectories(values: List