com.pulumi.azure.appservice.kotlin.inputs.WindowsWebAppSlotSiteConfigVirtualApplicationArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-kotlin Show documentation
Show all versions of pulumi-azure-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azure.appservice.kotlin.inputs
import com.pulumi.azure.appservice.inputs.WindowsWebAppSlotSiteConfigVirtualApplicationArgs.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 WindowsWebAppSlotSiteConfigVirtualApplicationArgs(
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.WindowsWebAppSlotSiteConfigVirtualApplicationArgs =
com.pulumi.azure.appservice.inputs.WindowsWebAppSlotSiteConfigVirtualApplicationArgs.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 [WindowsWebAppSlotSiteConfigVirtualApplicationArgs].
*/
@PulumiTagMarker
public class WindowsWebAppSlotSiteConfigVirtualApplicationArgsBuilder 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("nxryaajuxucjspjo")
public suspend fun physicalPath(`value`: Output) {
this.physicalPath = value
}
/**
* @param value Should pre-loading be enabled.
*/
@JvmName("dnhdarumjyonhedl")
public suspend fun preload(`value`: Output) {
this.preload = value
}
/**
* @param value One or more `virtual_directory` blocks as defined below.
*/
@JvmName("drdwbrddealtbjcx")
public suspend
fun virtualDirectories(`value`: Output>) {
this.virtualDirectories = value
}
@JvmName("sxvmgyhkpngawcmw")
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("ckllkaipgasmpayh")
public suspend
fun virtualDirectories(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy