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

com.pulumi.azure.appservice.kotlin.outputs.SourceControlGithubActionConfiguration.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.15.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.appservice.kotlin.outputs

import kotlin.Boolean
import kotlin.Suppress

/**
 *
 * @property codeConfiguration A `code_configuration` block as defined above. Changing this forces a new resource to be created.
 * @property containerConfiguration A `container_configuration` block as defined above.
 * @property generateWorkflowFile Whether to generate the GitHub work flow 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 SourceControlGithubActionConfiguration(
    public val codeConfiguration: SourceControlGithubActionConfigurationCodeConfiguration? = null,
    public val containerConfiguration: SourceControlGithubActionConfigurationContainerConfiguration? =
        null,
    public val generateWorkflowFile: Boolean? = null,
    public val linuxAction: Boolean? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.appservice.outputs.SourceControlGithubActionConfiguration): SourceControlGithubActionConfiguration = SourceControlGithubActionConfiguration(
            codeConfiguration = javaType.codeConfiguration().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azure.appservice.kotlin.outputs.SourceControlGithubActionConfigurationCodeConfiguration.Companion.toKotlin(args0)
                })
            }).orElse(null),
            containerConfiguration = javaType.containerConfiguration().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azure.appservice.kotlin.outputs.SourceControlGithubActionConfigurationContainerConfiguration.Companion.toKotlin(args0)
                })
            }).orElse(null),
            generateWorkflowFile = javaType.generateWorkflowFile().map({ args0 -> args0 }).orElse(null),
            linuxAction = javaType.linuxAction().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy