![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.web.kotlin.inputs.HandlerMappingArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-native-kotlin Show documentation
Show all versions of pulumi-azure-native-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.azurenative.web.kotlin.inputs
import com.pulumi.azurenative.web.inputs.HandlerMappingArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
* The IIS handler mappings used to define which handler processes HTTP requests with certain extension.
* For example, it is used to configure php-cgi.exe process to handle all HTTP requests with *.php extension.
* @property arguments Command-line arguments to be passed to the script processor.
* @property extension Requests with this extension will be handled using the specified FastCGI application.
* @property scriptProcessor The absolute path to the FastCGI application.
*/
public data class HandlerMappingArgs(
public val arguments: Output? = null,
public val extension: Output? = null,
public val scriptProcessor: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.web.inputs.HandlerMappingArgs =
com.pulumi.azurenative.web.inputs.HandlerMappingArgs.builder()
.arguments(arguments?.applyValue({ args0 -> args0 }))
.extension(extension?.applyValue({ args0 -> args0 }))
.scriptProcessor(scriptProcessor?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [HandlerMappingArgs].
*/
@PulumiTagMarker
public class HandlerMappingArgsBuilder internal constructor() {
private var arguments: Output? = null
private var extension: Output? = null
private var scriptProcessor: Output? = null
/**
* @param value Command-line arguments to be passed to the script processor.
*/
@JvmName("uuwquxwnxexmiirt")
public suspend fun arguments(`value`: Output) {
this.arguments = value
}
/**
* @param value Requests with this extension will be handled using the specified FastCGI application.
*/
@JvmName("cmvbvejkkydwkjvm")
public suspend fun extension(`value`: Output) {
this.extension = value
}
/**
* @param value The absolute path to the FastCGI application.
*/
@JvmName("rbvnhcugtsqwttbt")
public suspend fun scriptProcessor(`value`: Output) {
this.scriptProcessor = value
}
/**
* @param value Command-line arguments to be passed to the script processor.
*/
@JvmName("pnxwvvbimuxdespx")
public suspend fun arguments(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.arguments = mapped
}
/**
* @param value Requests with this extension will be handled using the specified FastCGI application.
*/
@JvmName("qqdgjpudinsyyjiv")
public suspend fun extension(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.extension = mapped
}
/**
* @param value The absolute path to the FastCGI application.
*/
@JvmName("bqwbasawhmfctlxu")
public suspend fun scriptProcessor(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.scriptProcessor = mapped
}
internal fun build(): HandlerMappingArgs = HandlerMappingArgs(
arguments = arguments,
extension = extension,
scriptProcessor = scriptProcessor,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy