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

com.pulumi.azure.appservice.kotlin.inputs.WindowsWebAppSiteConfigHandlerMappingArgs.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 6.14.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.appservice.kotlin.inputs

import com.pulumi.azure.appservice.inputs.WindowsWebAppSiteConfigHandlerMappingArgs.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 kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property arguments Specifies the command-line arguments to be passed to the script processor.
 * @property extension Specifies which extension to be handled by the specified FastCGI application.
 * @property scriptProcessorPath Specifies the absolute path to the FastCGI application.
 */
public data class WindowsWebAppSiteConfigHandlerMappingArgs(
    public val arguments: Output? = null,
    public val extension: Output,
    public val scriptProcessorPath: Output,
) : ConvertibleToJava {
    override fun toJava():
        com.pulumi.azure.appservice.inputs.WindowsWebAppSiteConfigHandlerMappingArgs =
        com.pulumi.azure.appservice.inputs.WindowsWebAppSiteConfigHandlerMappingArgs.builder()
            .arguments(arguments?.applyValue({ args0 -> args0 }))
            .extension(extension.applyValue({ args0 -> args0 }))
            .scriptProcessorPath(scriptProcessorPath.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [WindowsWebAppSiteConfigHandlerMappingArgs].
 */
@PulumiTagMarker
public class WindowsWebAppSiteConfigHandlerMappingArgsBuilder internal constructor() {
    private var arguments: Output? = null

    private var extension: Output? = null

    private var scriptProcessorPath: Output? = null

    /**
     * @param value Specifies the command-line arguments to be passed to the script processor.
     */
    @JvmName("pqcxgvdjbuynlfqn")
    public suspend fun arguments(`value`: Output) {
        this.arguments = value
    }

    /**
     * @param value Specifies which extension to be handled by the specified FastCGI application.
     */
    @JvmName("opdyjcwdnrmroukv")
    public suspend fun extension(`value`: Output) {
        this.extension = value
    }

    /**
     * @param value Specifies the absolute path to the FastCGI application.
     */
    @JvmName("xhavyrxbtxsuympt")
    public suspend fun scriptProcessorPath(`value`: Output) {
        this.scriptProcessorPath = value
    }

    /**
     * @param value Specifies the command-line arguments to be passed to the script processor.
     */
    @JvmName("tsthwnxjmsuaboly")
    public suspend fun arguments(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.arguments = mapped
    }

    /**
     * @param value Specifies which extension to be handled by the specified FastCGI application.
     */
    @JvmName("uqjpmrxgscchplbs")
    public suspend fun extension(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.extension = mapped
    }

    /**
     * @param value Specifies the absolute path to the FastCGI application.
     */
    @JvmName("erlfolbxawqagbwr")
    public suspend fun scriptProcessorPath(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.scriptProcessorPath = mapped
    }

    internal fun build(): WindowsWebAppSiteConfigHandlerMappingArgs =
        WindowsWebAppSiteConfigHandlerMappingArgs(
            arguments = arguments,
            extension = extension ?: throw PulumiNullFieldException("extension"),
            scriptProcessorPath = scriptProcessorPath ?: throw PulumiNullFieldException("scriptProcessorPath"),
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy