![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azure.appservice.kotlin.inputs.SourceControlSlotGithubActionConfigurationCodeConfigurationArgs.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.SourceControlSlotGithubActionConfigurationCodeConfigurationArgs.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 runtimeStack The value to use for the Runtime Stack in the workflow file content for code base apps. Changing this forces a new resource to be created. Possible values are `dotnetcore`, `spring`, `tomcat`, `node` and `python`.
* @property runtimeVersion The value to use for the Runtime Version in the workflow file content for code base apps. Changing this forces a new resource to be created.
*/
public data class SourceControlSlotGithubActionConfigurationCodeConfigurationArgs(
public val runtimeStack: Output,
public val runtimeVersion: Output,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.azure.appservice.inputs.SourceControlSlotGithubActionConfigurationCodeConfigurationArgs =
com.pulumi.azure.appservice.inputs.SourceControlSlotGithubActionConfigurationCodeConfigurationArgs.builder()
.runtimeStack(runtimeStack.applyValue({ args0 -> args0 }))
.runtimeVersion(runtimeVersion.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [SourceControlSlotGithubActionConfigurationCodeConfigurationArgs].
*/
@PulumiTagMarker
public class SourceControlSlotGithubActionConfigurationCodeConfigurationArgsBuilder internal constructor() {
private var runtimeStack: Output? = null
private var runtimeVersion: Output? = null
/**
* @param value The value to use for the Runtime Stack in the workflow file content for code base apps. Changing this forces a new resource to be created. Possible values are `dotnetcore`, `spring`, `tomcat`, `node` and `python`.
*/
@JvmName("wnruprhlsqgabiyw")
public suspend fun runtimeStack(`value`: Output) {
this.runtimeStack = value
}
/**
* @param value The value to use for the Runtime Version in the workflow file content for code base apps. Changing this forces a new resource to be created.
*/
@JvmName("ngjrnxvbhccmqrqu")
public suspend fun runtimeVersion(`value`: Output) {
this.runtimeVersion = value
}
/**
* @param value The value to use for the Runtime Stack in the workflow file content for code base apps. Changing this forces a new resource to be created. Possible values are `dotnetcore`, `spring`, `tomcat`, `node` and `python`.
*/
@JvmName("sajgosrryljifmcx")
public suspend fun runtimeStack(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.runtimeStack = mapped
}
/**
* @param value The value to use for the Runtime Version in the workflow file content for code base apps. Changing this forces a new resource to be created.
*/
@JvmName("uvcefcmdmlksrmbw")
public suspend fun runtimeVersion(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.runtimeVersion = mapped
}
internal fun build(): SourceControlSlotGithubActionConfigurationCodeConfigurationArgs =
SourceControlSlotGithubActionConfigurationCodeConfigurationArgs(
runtimeStack = runtimeStack ?: throw PulumiNullFieldException("runtimeStack"),
runtimeVersion = runtimeVersion ?: throw PulumiNullFieldException("runtimeVersion"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy