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

com.pulumi.azure.appservice.kotlin.outputs.AppServiceSourceControl.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.String
import kotlin.Suppress

/**
 *
 * @property branch The branch of the remote repository to use. Defaults to 'master'.
 * @property manualIntegration Limits to manual integration. Defaults to `false` if not specified.
 * @property repoUrl The URL of the source code repository.
 * @property rollbackEnabled Enable roll-back for the repository. Defaults to `false` if not specified.
 * @property useMercurial Use Mercurial if `true`, otherwise uses Git.
 */
public data class AppServiceSourceControl(
    public val branch: String? = null,
    public val manualIntegration: Boolean? = null,
    public val repoUrl: String? = null,
    public val rollbackEnabled: Boolean? = null,
    public val useMercurial: Boolean? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.appservice.outputs.AppServiceSourceControl):
            AppServiceSourceControl = AppServiceSourceControl(
            branch = javaType.branch().map({ args0 -> args0 }).orElse(null),
            manualIntegration = javaType.manualIntegration().map({ args0 -> args0 }).orElse(null),
            repoUrl = javaType.repoUrl().map({ args0 -> args0 }).orElse(null),
            rollbackEnabled = javaType.rollbackEnabled().map({ args0 -> args0 }).orElse(null),
            useMercurial = javaType.useMercurial().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy