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

com.pulumi.azurenative.web.kotlin.inputs.AutoHealCustomActionArgs.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: 2.82.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azurenative.web.kotlin.inputs

import com.pulumi.azurenative.web.inputs.AutoHealCustomActionArgs.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

/**
 * Custom action to be executed
 * when an auto heal rule is triggered.
 * @property exe Executable to be run.
 * @property parameters Parameters for the executable.
 */
public data class AutoHealCustomActionArgs(
    public val exe: Output? = null,
    public val parameters: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azurenative.web.inputs.AutoHealCustomActionArgs =
        com.pulumi.azurenative.web.inputs.AutoHealCustomActionArgs.builder()
            .exe(exe?.applyValue({ args0 -> args0 }))
            .parameters(parameters?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [AutoHealCustomActionArgs].
 */
@PulumiTagMarker
public class AutoHealCustomActionArgsBuilder internal constructor() {
    private var exe: Output? = null

    private var parameters: Output? = null

    /**
     * @param value Executable to be run.
     */
    @JvmName("xqicnbnpmucnjvut")
    public suspend fun exe(`value`: Output) {
        this.exe = value
    }

    /**
     * @param value Parameters for the executable.
     */
    @JvmName("kwusygpfhtotuywy")
    public suspend fun parameters(`value`: Output) {
        this.parameters = value
    }

    /**
     * @param value Executable to be run.
     */
    @JvmName("aeqegksnhydaugnm")
    public suspend fun exe(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.exe = mapped
    }

    /**
     * @param value Parameters for the executable.
     */
    @JvmName("urrhjppquudlolop")
    public suspend fun parameters(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.parameters = mapped
    }

    internal fun build(): AutoHealCustomActionArgs = AutoHealCustomActionArgs(
        exe = exe,
        parameters = parameters,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy