com.pulumi.azure.containerservice.kotlin.outputs.RegistryTaskSourceTrigger.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.containerservice.kotlin.outputs
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property authentication A `authentication` block as defined above.
* @property branch The branch name of the source code.
* @property enabled Should the trigger be enabled? Defaults to `true`.
* @property events Specifies a list of source events corresponding to the trigger. Possible values are `commit` and `pullrequest`.
* @property name The name which should be used for this trigger.
* @property repositoryUrl The full URL to the source code repository.
* @property sourceType The type of the source control service. Possible values are `Github` and `VisualStudioTeamService`.
*/
public data class RegistryTaskSourceTrigger(
public val authentication: RegistryTaskSourceTriggerAuthentication? = null,
public val branch: String? = null,
public val enabled: Boolean? = null,
public val events: List,
public val name: String,
public val repositoryUrl: String,
public val sourceType: String,
) {
public companion object {
public
fun toKotlin(javaType: com.pulumi.azure.containerservice.outputs.RegistryTaskSourceTrigger):
RegistryTaskSourceTrigger = RegistryTaskSourceTrigger(
authentication = javaType.authentication().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azure.containerservice.kotlin.outputs.RegistryTaskSourceTriggerAuthentication.Companion.toKotlin(args0)
})
}).orElse(null),
branch = javaType.branch().map({ args0 -> args0 }).orElse(null),
enabled = javaType.enabled().map({ args0 -> args0 }).orElse(null),
events = javaType.events().map({ args0 -> args0 }),
name = javaType.name(),
repositoryUrl = javaType.repositoryUrl(),
sourceType = javaType.sourceType(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy