com.pulumi.azure.appservice.kotlin.inputs.SourceControlSlotGithubActionConfigurationArgs.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.SourceControlSlotGithubActionConfigurationArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Boolean
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName
/**
*
* @property codeConfiguration A `code_configuration` block as detailed below. Changing this forces a new resource to be created.
* @property containerConfiguration A `container_configuration` block as detailed below.
* @property generateWorkflowFile Should the service generate the GitHub Action Workflow file. Defaults to `true` Changing this forces a new resource to be created.
* @property linuxAction Denotes this action uses a Linux base image.
*/
public data class SourceControlSlotGithubActionConfigurationArgs(
public val codeConfiguration:
Output? = null,
public val containerConfiguration:
Output? = null,
public val generateWorkflowFile: Output? = null,
public val linuxAction: Output? = null,
) :
ConvertibleToJava {
override fun toJava():
com.pulumi.azure.appservice.inputs.SourceControlSlotGithubActionConfigurationArgs =
com.pulumi.azure.appservice.inputs.SourceControlSlotGithubActionConfigurationArgs.builder()
.codeConfiguration(codeConfiguration?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.containerConfiguration(
containerConfiguration?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
)
.generateWorkflowFile(generateWorkflowFile?.applyValue({ args0 -> args0 }))
.linuxAction(linuxAction?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [SourceControlSlotGithubActionConfigurationArgs].
*/
@PulumiTagMarker
public class SourceControlSlotGithubActionConfigurationArgsBuilder internal constructor() {
private var codeConfiguration:
Output? = null
private var containerConfiguration:
Output? = null
private var generateWorkflowFile: Output? = null
private var linuxAction: Output? = null
/**
* @param value A `code_configuration` block as detailed below. Changing this forces a new resource to be created.
*/
@JvmName("pjiuswbpwjinpcpw")
public suspend
fun codeConfiguration(`value`: Output) {
this.codeConfiguration = value
}
/**
* @param value A `container_configuration` block as detailed below.
*/
@JvmName("wesfqfporvqosfyp")
public suspend
fun containerConfiguration(`value`: Output) {
this.containerConfiguration = value
}
/**
* @param value Should the service generate the GitHub Action Workflow file. Defaults to `true` Changing this forces a new resource to be created.
*/
@JvmName("lcalhdhrxbtqcaac")
public suspend fun generateWorkflowFile(`value`: Output) {
this.generateWorkflowFile = value
}
/**
* @param value Denotes this action uses a Linux base image.
*/
@JvmName("hefksljtqhxjalrt")
public suspend fun linuxAction(`value`: Output) {
this.linuxAction = value
}
/**
* @param value A `code_configuration` block as detailed below. Changing this forces a new resource to be created.
*/
@JvmName("vptxfulslfjeyina")
public suspend
fun codeConfiguration(`value`: SourceControlSlotGithubActionConfigurationCodeConfigurationArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.codeConfiguration = mapped
}
/**
* @param argument A `code_configuration` block as detailed below. Changing this forces a new resource to be created.
*/
@JvmName("emgmulkyhbvipxil")
public suspend
fun codeConfiguration(argument: suspend SourceControlSlotGithubActionConfigurationCodeConfigurationArgsBuilder.() -> Unit) {
val toBeMapped =
SourceControlSlotGithubActionConfigurationCodeConfigurationArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.codeConfiguration = mapped
}
/**
* @param value A `container_configuration` block as detailed below.
*/
@JvmName("fyornqsterynlwbl")
public suspend
fun containerConfiguration(`value`: SourceControlSlotGithubActionConfigurationContainerConfigurationArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.containerConfiguration = mapped
}
/**
* @param argument A `container_configuration` block as detailed below.
*/
@JvmName("srfvdsdawuoobeoe")
public suspend
fun containerConfiguration(argument: suspend SourceControlSlotGithubActionConfigurationContainerConfigurationArgsBuilder.() -> Unit) {
val toBeMapped =
SourceControlSlotGithubActionConfigurationContainerConfigurationArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.containerConfiguration = mapped
}
/**
* @param value Should the service generate the GitHub Action Workflow file. Defaults to `true` Changing this forces a new resource to be created.
*/
@JvmName("dvbgclmharchxpyn")
public suspend fun generateWorkflowFile(`value`: Boolean?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.generateWorkflowFile = mapped
}
/**
* @param value Denotes this action uses a Linux base image.
*/
@JvmName("tvihkrxotpfnfgku")
public suspend fun linuxAction(`value`: Boolean?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.linuxAction = mapped
}
internal fun build(): SourceControlSlotGithubActionConfigurationArgs =
SourceControlSlotGithubActionConfigurationArgs(
codeConfiguration = codeConfiguration,
containerConfiguration = containerConfiguration,
generateWorkflowFile = generateWorkflowFile,
linuxAction = linuxAction,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy