![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.compute.kotlin.inputs.GalleryApplicationCustomActionArgs.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.compute.kotlin.inputs
import com.pulumi.azurenative.compute.inputs.GalleryApplicationCustomActionArgs.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.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* A custom action that can be performed with a Gallery Application Version.
* @property description Description to help the users understand what this custom action does.
* @property name The name of the custom action. Must be unique within the Gallery Application Version.
* @property parameters The parameters that this custom action uses
* @property script The script to run when executing this custom action.
*/
public data class GalleryApplicationCustomActionArgs(
public val description: Output? = null,
public val name: Output,
public val parameters: Output>? = null,
public val script: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.compute.inputs.GalleryApplicationCustomActionArgs =
com.pulumi.azurenative.compute.inputs.GalleryApplicationCustomActionArgs.builder()
.description(description?.applyValue({ args0 -> args0 }))
.name(name.applyValue({ args0 -> args0 }))
.parameters(
parameters?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.script(script.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [GalleryApplicationCustomActionArgs].
*/
@PulumiTagMarker
public class GalleryApplicationCustomActionArgsBuilder internal constructor() {
private var description: Output? = null
private var name: Output? = null
private var parameters: Output>? = null
private var script: Output? = null
/**
* @param value Description to help the users understand what this custom action does.
*/
@JvmName("jcsiqonengbkqoqy")
public suspend fun description(`value`: Output) {
this.description = value
}
/**
* @param value The name of the custom action. Must be unique within the Gallery Application Version.
*/
@JvmName("uuaupmeystxjihrn")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value The parameters that this custom action uses
*/
@JvmName("hytlebexfsscgsxs")
public suspend fun parameters(`value`: Output>) {
this.parameters = value
}
@JvmName("mrbdpjlkyvmxggip")
public suspend fun parameters(vararg values: Output) {
this.parameters = Output.all(values.asList())
}
/**
* @param values The parameters that this custom action uses
*/
@JvmName("hlfyjrwouevsknui")
public suspend fun parameters(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy